
/* Définition des couleurs basées sur votre logo */
:root {
    --color-brun-fonce: #4A2C1A; /* De "L'ATELIER" */
    --color-or: #C69230;         /* De "DE LA FRITE" */
    --color-creme-fond: #f5f1e5;  /* Fond du logo */
    --color-creme-clair: #FCFAF5; /* Une version plus claire pour le contenu */
    --color-texte: #333333;
}

/* Réglages généraux */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /*scroll-behavior: smooth;*/
}


.reveal {
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s ease-out;
        }

        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

body {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-texte);
    background-color: var(--color-creme-clair);
    overflow-x: hidden;
}

/* --- Polices --- */
h1, h2, h3 {
    font-family: 'Roboto Slab', serif;
    color: var(--color-brun-fonce);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

h2 {
    font-size: 3rem; /* 48px */
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-or);
    margin-bottom: 25px;
}

/* --- Structure & Utilitaires --- */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
    animation: fadeIn 1.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Section alternée */
section:nth-of-type(odd) {
    background-color: #FFFFFF;
}
section:nth-of-type(even) {
    background-color: var(--color-creme-clair);
}

p {
    margin-bottom: 20px;
}

/* --- Header (Logo) --- */
.hero-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 90vh;
    min-height: 600px;
    background-color: var(--color-creme-fond);
    text-align: center;
    padding: 20px;
}

.hero-header img {
    width: 100%;
    max-width: 350px;
    height: auto;
    margin-bottom: 20px;
    animation: scaleIn 1s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to   { opacity: 1; transform: scale(1); }
}

.hero-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--color-brun-fonce);
    font-weight: 400;
    max-width: 500px;
    animation: fadeIn 1.5s ease-out 0.5s both;
}

.hero-header .scale-wrap {
    animation: fadeIn 1.5s ease-out 1s both;
      position: absolute;
    bottom: 0px;
    /*left: 50%;*/
    /*transform: translateX(-50%);*/
}

/* --- Sections de contenu --- */

/* Styles pour les listes "roulette russe" */
.histoire-problemes {
    font-family: 'Roboto Slab', serif;
    font-size: 1.2rem;
    color: var(--color-brun-fonce);
    line-height: 1.8;
    border-left: 3px solid var(--color-or);
    padding-left: 20px;
    margin: 30px 0;
    font-weight: 700;
}

/* Styles pour les "checkmarks" de qualité */
.engagement-liste {
    list-style: none;
    padding-left: 0;
}
.engagement-liste li {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-brun-fonce);
    margin-bottom: 15px;
    position: relative;
    padding-left: 35px;
}
.engagement-liste li::before {
    content: '✔';
    color: var(--color-or);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2rem;
}

/* Séparateur horizontal */
.separateur {
    border: 0;
    height: 2px;
    background-color: var(--color-or);
    opacity: 0.5;
    width: 100px;
    margin: 40px auto;
}

/* Section "Notre Engagement" */
.section-engagement {
    background-color: #27150b!important;
    color: var(--color-creme-fond);
}

.section-engagement  .marquee_title{
     background-color: #27150b!important;
}
.section-engagement h2,
.section-engagement h3 {
    color: var(--color-creme-fond);
}
.section-engagement h3 {
    color: var(--color-or);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    text-align: center;
}

/* --- Footer --- */
.footer {
    background-color: var(--color-brun-fonce);
    color: var(--color-creme-fond);
    text-align: center;
    padding: 60px 20px;
}
.footer h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-style: italic;
    color: var(--color-creme-fond);
    margin-bottom: 10px;
}
.footer .logo-footer {
    max-width: 150px;
    margin-bottom: 20px;
}
.footer p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 30px;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    h2 {
        font-size: 2.0rem;
    }
    .container {
        padding: 60px 15px;
    }
    .hero-header {
        /*height: 100vh;*/
        min-height: 500px;
    }
    .hero-header img {
        max-width: 280px;
    }
    .hero-header h1 {
        font-size: 1.2rem;
    }
}

/* --- NAV FIXE --- */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(6px);
    z-index: 999;
    transition: 0.3s ease;
}

/* Logo du menu (invisible au début) */
.nav-logo {
    height: 55px!important;
    opacity: 0;
    transform: translateY(-20px);
    transition: 0.4s ease;
}

/* Quand on scrolle le logo s'affiche */
.topbar {
    opacity: 0;
    transform: translateY(-20px);
    transition: 0.4s ease;
    opacity: 1;
   transform: translateY(0);
}

.topbar.scrolled  {
   opacity: 1;
   transform: translateY(0);
}

.topbar.scrolled .nav-logo {
    opacity: 1;
    transform: translateY(0);
}

.topbar .nav-logo {
    opacity: 1;
    transform: translateY(0);
}


/* --- MENU PRINCIPAL --- */
.nav-menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-brun-fonce);
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

/* CTA */
.nav-cta {
    padding: 8px 16px;
    background: var(--color-or);
    color: white !important;
    border-radius: 6px;
}

/* --- BURGER --- */
.burger {
    width: 32px;
    height: 26px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.burger span {
    width: 100%;
    height: 4px;
    background: var(--color-brun-fonce);
    border-radius: 4px;
    transition: 0.3s;
}

/* Animation du burger ouvert */
.burger.open span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}
.burger.open span:nth-child(2) {
    opacity: 0;
}
.burger.open span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* --- RESPONSIVE --- */
@media(max-width: 900px) {

    .burger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 75px;
        right: -100%;
        width: 70%;
        height: calc(100vh - 75px);
        background: var(--color-creme-fond);
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
        transition: 0.3s ease;
        z-index: 998;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu a {
        font-size: 1.3rem;
    }
}

/* --- Flèche Scroll Down --- */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    border: 2px solid var(--color-or);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    animation: pulse 2s infinite;
    transition: 0.3s;
}

.scroll-down:hover {
    background: var(--color-or);
}

.scroll-down:hover span {
    border-color: white;
}

/* Flèche */
.scroll-down span {
    width: 10px;
    height: 10px;
    border-left: 2px solid var(--color-or);
    border-bottom: 2px solid var(--color-or);
    transform: rotate(-45deg);
    margin-top: -4px;
    transition: 0.3s;
}

/* Animation pulse */
@keyframes pulse {
    0% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.15); }
    100% { transform: translateX(-50%) scale(1); }
}

/* Pour que le header puisse accueillir la flèche */
.hero-header {
    position: relative;
}
/* MODAL */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.modal-content {
    background: var(--color-creme-fond);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    animation: zoomIn 0.3s ease;
}

.modal-content hr{
    margin-top: 20px;
    margin-bottom: 20px;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-brun-fonce);
}

.menu-block h3 {
    color: var(--color-brun-fonce);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.menu-block ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.menu-block li {
    padding: 4px 0;
    border-bottom: 1px dotted #ccc;
    display: flex;
    justify-content: space-between;
}


@media(min-width:900px){
     .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        padding: 20px 20px;
        gap: 30px;
        transition: 0.3s ease;
        z-index: 999;
        display:flex;
        justify-content: center;
    }
}


.gallery img {
    max-width: 100%;
}


.gallery {
    display: flex;
    flex-wrap: wrap;
    gap:10px;
      margin-bottom:20px
}

.gallery img {
    width: calc(25% - 10px);
  
}

@media(max-width:800px){
    
.gallery img {
    width:  calc(50% - 10px);
    
}
}



/* ============================
   MARQUEE TITLE (Ultra fluide)
   ============================ */

.marquee_title {
    /* width: 100%; */
    /* overflow: hidden; */
    /* background: var(--color-brun-fonce); */
    /* margin: 60px 0; */
    /* height: 110px; */
    /* display: flex; */
    /* align-items: center; */
    /* padding-top: 85px; */
    /* padding-bottom: 85px; */
}

.marquee_inner {
    /* display: flex; */
    /* width: max-content; */
    /* animation: marqueeMove 10s linear infinite; */
    /* align-items: center; */
    /* justify-content: center; */
    
}

.marquee_inner:after{
    margin:auto;
    margin-top:10px;
    margin-bottom:-20px;
    content:"";
    display:block;
    height:5px;
    background: var(--color-or);
    width:100px;
}

.marquee_inner h2 {
    /* font-size: 7rem; */
    font-weight: 900;
    font-family: "Roboto Slab", serif;
    /* white-space: nowrap; */
    /* text-transform: initial; */
    color: var(--color-or, #d1a544);
    /* padding-right: 4rem; */ /* espace entre les 2 */
    margin: auto;
    padding-top: 28px;
    text-align: center;
    font-size: 1.4rem;
}

/* Animation continue */
@keyframes marqueeMove {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .marquee_inner h2 {/* font-size: 5rem; */}
}
@media (max-width: 800px) {
    .marquee_inner h2 {/* font-size: 3.2rem; */}
}
@media (max-width: 500px) {
    .marquee_inner h2 {/* font-size: 2.4rem; *//* margin: 0; */}
}


.team-photo{
    max-width: 100%;
}

/* ============================================
   BLOB ANIMÉ POUR LES PHOTOS D'ÉQUIPE
   ============================================ */
.team-photo {
    width: 180px;
    height: 180px;
    object-fit: cover;
object-position: top;
    /* Forme blob dynamique */
    border-radius: 60% 40% 65% 35% / 55% 35% 65% 45%;
    animation: blobMorph 8s ease-in-out infinite;

    /* Style */
    border: 4px solid var(--color-or);
    margin-bottom: 20px;
    transition: 0.3s ease;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Animation changera la forme régulièrement */
@keyframes blobMorph {
    0% {
        border-radius: 60% 40% 65% 35% / 55% 35% 65% 45%;
        transform: rotate(0deg);
    }
    33% {
        border-radius: 40% 60% 40% 60% / 40% 60% 40% 60%;
        transform: rotate(2deg) scale(1.03);
    }
    66% {
        border-radius: 55% 45% 35% 65% / 50% 70% 30% 50%;
        transform: rotate(-2deg) scale(1.02);
    }
    100% {
        border-radius: 60% 40% 65% 35% / 55% 35% 65% 45%;
        transform: rotate(0deg);
    }
}

/* Effet hover pour rendre vivant */
.team-photo:hover {
    transform: scale(1.05) rotate(1deg);
}


.white-hand-dropping{
    max-width: 100%;
    right: -15px;
    position: relative;
    width: 100%;
}


/* ============================
   LANG SWITCHER (FIXE)
   ============================ */
.lang-switcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 3000;
}

.lang-btn {
    /*width: 60px;*/
    /*height: 60px;*/
    /*background: var(--color-brun-fonce);*/
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    transition: 0.3s ease;
}

.lang-btn:hover {
    transform: scale(1.1);
}

.lang-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.35s ease;
}

.lang-options.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.lang-options img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.25);
    border: 2px solid white;
    cursor: pointer;
    transition: 0.25s ease;
}

.lang-options img:hover {
    transform: scale(1.15);
}

.lang-btn img{
    max-width: 100%;
     width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.25);
    border: 2px solid white;
    cursor: pointer;
    transition: 0.25s ease;
}

header.hero-header.hero-page {
    min-height: 80px;
    height: 0;
}

/* CHECK vert sur chaque item validé */
.temp-cart-item.done {
    transform:scale(0.92);
    position: relative;
    border-color: #2ecc71;
    /* opacity: 0.6; */
}
.temp-cart-item.done .temp-cart-remove{
    display: none;
}

.temp-cart-item.done::after {
    content: "✔";
    color: #2ecc71;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    left: 1px;
    top: 13px;
}

/* Barre de chargement */
#temp-progress-bar {
    width: 0%;
    height: 6px;
    background: #2ecc71;
    border-radius: 6px;
    transition: width 0.3s ease;
}

#temp-progress-wrap {
    width: 100%;
    background: #ddd;
    border-radius: 6px;
    margin-top: 15px;
    overflow: hidden;
}


.temp-cart-total {
    font-size: 20px;
    font-weight: 700;
    margin-top: 15px;
    text-align: right;
    padding: 10px;
    border-top: 1px solid #ddd;
}
