/*
 * ============================================================
 *  80/20 — FEUILLE DE STYLE PRINCIPALE
 *  styles.css — partagée par index.html, concept.html, adresse.html
 * ============================================================
 *
 *  TABLE DES MATIÈRES
 *  ------------------
 *  1.  VARIABLES & RESET
 *  2.  TYPOGRAPHIE DE BASE
 *  3.  TRANSITIONS DE PAGE
 *  4.  NAVIGATION (desktop pill + mobile drawer)
 *  5.  HERO (section plein écran, accueil)
 *  6.  BOUTONS
 *  7.  SECTIONS (structure commune)
 *  8.  CARDS — Philosophie
 *  9.  CARDS — Produits (à la carte)
 *  10. BLOC ABOUT (2 colonnes texte / images)
 *  11. TÉMOIGNAGES
 *  12. BLOC LOCALISATION (carte + infos)
 *  13. CTA BANNER
 *  14. FOOTER
 *  15. ANIMATIONS & SCROLL REVEAL
 *  16. RESPONSIVE (1280 → 480px)
 * ============================================================
 */


/* ============================================================
   1. VARIABLES & RESET
   ============================================================
   On définit ici toutes les couleurs et polices comme des
   "variables CSS" (custom properties). L'avantage : si on
   veut changer le vert partout, on ne touche qu'une ligne.
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box; /* padding/border inclus dans la largeur déclarée */
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: only light; /* empêche le dark mode automatique du navigateur */

  /* Palette */
  --cream:        #fcf3d9; /* fond général du site */
  --cream-alt:    #f5eed3; /* variante légèrement plus sombre (hover, alternate bg) */
  --beige:        #ffecb8; /* textes sur fond vert, logo circle */
  --green:        #1d482e; /* couleur principale : nav, hero bg, footer */
  --green-dark:   #193e27; /* bas du dégradé hero/footer */
  --green-text:   #1d4e1a; /* texte principal sur fond clair */
  --green-muted:  rgba(29, 78, 26, 0.7);  /* texte secondaire (paragraphes) */
  --green-card:   rgba(29, 78, 26, 0.03); /* fond très léger pour les cards */
  --green-border: rgba(29, 78, 26, 0.12); /* bordure discrète des cards */
  --orange:       #ea7131; /* accent / CTA */
  --price-red:    #b24a5a; /* prix des plats */
  --white-soft:   rgba(252, 243, 217, 0.07); /* fond très transparent sur vert (contact cards) */

  /* Polices */
  --ff-serif: 'Source Serif 4', Georgia, serif; /* titres : élégant, littéraire */
  --ff-sans:  'Inter', system-ui, sans-serif;   /* corps : lisible, neutre */
}

html {
  scroll-behavior: smooth;
  color-scheme: only light;
  /* scroll-padding-top : quand on navigue vers une ancre #section,
     le navigateur laisse 120px d'espace en haut pour que la nav ne cache pas le titre */
  scroll-padding-top: 120px;
}

body {
  font-family: var(--ff-sans);
  background-color: var(--cream) !important;
  color: var(--green-text) !important;
  overflow-x: hidden; /* empêche le scroll horizontal accidentel */
}

/* Images et liens — comportement de base propre */
img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }


/* ============================================================
   2. TYPOGRAPHIE DE BASE
   Styles réutilisés sur toutes les pages.
   ============================================================ */

/* Titre de section — deux variantes : centré et clair (sur fond vert) */
.section-h2 {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4.4vw, 4rem); /* fluide : min 2rem, idéal 4.4vw, max 4rem */
  font-weight: 600;
  color: var(--green);
  line-height: 1.16;
}
.section-h2.center { text-align: center; }
.section-h2.light  { color: var(--beige); }

/* Sous-titre de section */
.section-sub {
  font-family: var(--ff-sans);
  font-size: 18px;
  color: var(--green-muted);
  line-height: 1.28;
  letter-spacing: 0.36px;
}


/* ============================================================
   3. TRANSITIONS DE PAGE
   ============================================================
   Trois mécanismes combinés pour un résultat ultra-fluide :

   A) View Transitions API (Chrome 111+, Safari 18+, FF 130+)
      La nav-pill et le logo ont un `view-transition-name` propre :
      ils restent IMMOBILES pendant la transition (effet de continuité).
      Le reste du contenu fait un slide vertical subtil + fade.

   B) Fallback JS (navigateurs sans VT API)
      Fade-out simple avant navigation, fade-in via CSS.

   C) Animation d'entrée de page
      Chaque page entre avec un heroFadeIn global.
   ============================================================ */

@keyframes pageFadeIn    { from { opacity: 0; } to { opacity: 1; } }
@keyframes pageFadeOut   { from { opacity: 1; } to { opacity: 0; } }
@keyframes pageSlideOut  { to   { opacity: 0; transform: translateY(-8px) scale(0.99); } }
@keyframes pageSlideIn   { from { opacity: 0; transform: translateY(10px) scale(1.01); } }

/* Entrée à chaque chargement de page */
body { animation: pageFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both; }

/* Fallback JS — fade-out avant navigation */
body.is-leaving {
  animation: pageFadeOut 0.3s ease both !important;
  pointer-events: none;
}

/* View Transitions API — cross-document */
@view-transition { navigation: auto; }

/* Contenu principal : slide + fade */
::view-transition-old(root) {
  animation: 0.28s cubic-bezier(0.4, 0, 1, 1) both pageSlideOut;
  mix-blend-mode: normal;
}
::view-transition-new(root) {
  animation: 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.04s both pageSlideIn;
  mix-blend-mode: normal;
}

/* Nav pill : reste parfaitement immobile entre les pages */
::view-transition-old(nav-pill),
::view-transition-new(nav-pill) {
  animation: none;
  mix-blend-mode: normal;
}

/* Logo circle : idem */
::view-transition-old(nav-logo),
::view-transition-new(nav-logo) {
  animation: none;
  mix-blend-mode: normal;
}


/* ============================================================
   4. NAVIGATION
   ============================================================
   DESKTOP : une "pill" verte fixe en haut, centrée.
   Le logo circle dépasse en haut de la pill (position: absolute).
   Au scroll (> 40px), la pill descend légèrement et prend une ombre.

   MOBILE (≤ 768px) : la nav desktop est cachée (display:none).
   Une nav mobile compacte apparaît en haut : logo + hamburger.
   Le hamburger ouvre un drawer plein écran.
   ============================================================ */

/* ── Conteneur de la pill — fixe, centré horizontalement ── */
.nav-wrapper {
  position: fixed;
  top: 40px; /* position initiale (recalculée par JS au scroll) */
  left: 50%;
  transform: translateX(-50%); /* centrage horizontal parfait */
  width: min(571px, calc(100vw - 48px)); /* max 571px, sinon pleine largeur - 48px */
  z-index: 200; /* au-dessus de tout le contenu */
  transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* déplacement fluide au scroll */
}

/* Au scroll : ombre portée sur la pill, logo légèrement réduit */
.nav-wrapper.scrolled .nav-pill {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.28);
}
.nav-wrapper.scrolled .nav-logo-circle {
  /* Le scale(0.92) est ajouté à l'existing translate(-50%,-50%)
     pour ne pas casser le centrage */
  transform: translate(-50%, -50%) scale(0.92);
  opacity: 0.95;
}

/* ── La pill elle-même ── */
.nav-pill {
  position: relative; /* contexte pour le logo circle en absolute */
  height: 62px;
  background: var(--green);
  border-radius: 1000px; /* pill = border-radius très grand */
  display: flex;
  align-items: center;
  padding: 0 24px;
  transition: box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  view-transition-name: nav-pill; /* reste immobile entre les pages */
}
.nav-pill:hover {
  box-shadow: 0 12px 40px rgba(29, 72, 46, 0.28);
}

/* Liens gauche et droite : occupent chacun la moitié de l'espace disponible */
.nav-links-left,
.nav-links-right {
  flex: 1; /* chaque côté prend la même place */
  display: flex;
  align-items: center;
}
.nav-links-left  { justify-content: space-evenly; }
.nav-links-right { justify-content: space-evenly; }

/* Espace vide au centre pour laisser la place au logo circle
   (qui est en position absolute, donc ne prend pas de place dans le flux) */
.nav-circle-gap {
  width: 100px;
  flex-shrink: 0;
}

/* Liens nav */
.nav-pill a {
  font-family: var(--ff-sans);
  font-size: 16px;
  color: var(--beige);
  padding: 2px 8px 4px;
  letter-spacing: 0.32px;
  opacity: 0.9;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.nav-pill a:hover  { opacity: 1; }
.nav-pill a.active { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

/* ── Logo circle ──
   Position absolute par rapport à .nav-pill (son parent relatif).
   left:50% + translate(-50%) = centré exactement.
   top:50% + translate(-50%) = centré verticalement → dépasse de la pill.
   La transition très lente (1.6s) donne l'effet de zoom ultra-smooth au scroll.
   ── */
.nav-logo-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: var(--beige);
  border-radius: 50%;
  overflow: hidden;
  z-index: 2;
  transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1),
              opacity  1.6s cubic-bezier(0.16, 1, 0.3, 1);
  view-transition-name: nav-logo; /* reste immobile entre les pages */
}
.nav-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Nav mobile ── */
.nav-mobile {
  display: none; /* caché sur desktop, activé en @media ≤768px */
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 20px 16px 0;
}
.nav-mobile-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--green);
  border-radius: 1000px;
  padding: 6px 8px;
}
.nav-mobile-logo-circle {
  width: 56px;
  height: 56px;
  background: var(--beige);
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-mobile-logo-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Bouton hamburger (3 barres → croix au clic) */
.hamburger {
  width: 40px;
  height: 40px;
  background: var(--beige);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--green);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity   0.25s ease,
              width     0.3s ease;
}
/* Transformation hamburger → X */
.hamburger.is-open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Drawer menu — animé avec visibility/opacity (pas display:none pour pouvoir animer) */
.mobile-menu {
  display: flex; /* toujours flex, contrôlé par visibility */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--green);
  z-index: 199;
  flex-direction: column;
  padding: 100px 32px 40px;
  gap: 8px;
  transform: translateY(-12px);
  transition:
    opacity    0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform  0.4s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 0.4s;
}
.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
  transition:
    opacity    0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform  0.4s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 0s;
}
/* Entrée en cascade des liens du menu */
.mobile-menu a {
  color: var(--beige);
  font-family: var(--ff-serif);
  font-size: 2rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 236, 184, 0.12);
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity   0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu.open a:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.06s; }
.mobile-menu.open a:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.12s; }
.mobile-menu.open a:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.18s; }
.mobile-menu.open a:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.24s; }
.mobile-menu a:last-child { border-bottom: none; }


/* ============================================================
   5. HERO (accueil uniquement)
   ============================================================
   Le hero occupe toute la hauteur de l'écran (100svh).
   "svh" = small viewport height : tient compte des barres mobiles.

   Structure :
   ┌─ .hero (100svh, overflow:hidden, flex column centré) ─────┐
   │  .nav-wrapper (fixed, hors flux)                          │
   │  .hero-content (texte : h1 + boutons)                     │
   │  .hero-images  (absolute bottom:0 — les 3 bols)           │
   │  ::after       (dégradé fondu en bas)                     │
   └───────────────────────────────────────────────────────────┘

   Les bols sont tronqués par overflow:hidden du .hero lui-même
   (pas par les wrappers individuels, qui n'ont PAS d'overflow:hidden).
   ============================================================ */

.hero {
  background: #1d3a28;
  min-height: 900px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* Contenu texte du hero */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 280px;
  padding-bottom: 140px;
  width: 100%;
  position: relative;
  z-index: 2;
}
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  width: 100%;
  padding: 100px 40px 0;
}

/* H1 — taille fluide entre 2.5rem (petit écran) et 80px (grand écran) */
.hero-h1 {
  font-family: var(--ff-serif);
  font-size: clamp(2.5rem, 4.86vw, 70px);
  font-weight: 600;
  color: var(--beige);
  text-align: center;
  line-height: 1;
}

.hero-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Image de fond hero ──
   Couvre toute la section en position absolute.
   Le PNG transparent laisse voir le vert du hero au centre.
   will-change:transform → GPU compositing pour le parallax JS.
   ── */
.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}


/* ============================================================
   6. BOUTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 1000px;
  font-family: var(--ff-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.32px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  /* Transitions : couleur rapide (0.35s), mouvement lent élégant (0.6s) */
  transition: background 0.35s ease, color 0.35s ease,
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Variantes de couleur */
.btn-cream  { background: var(--cream);  color: var(--green); }
.btn-cream:hover { background: var(--beige); }

.btn-orange { background: var(--orange); color: var(--cream); }
.btn-orange:hover { background: #d4622a; }

.btn-green  { background: var(--green); color: var(--cream); border: 1px solid var(--green-text); }
.btn-green:hover { background: #152e1e; }

/* Taille réduite (ex : boutons dans les cards) */
.btn-sm { padding: 10px 16px; font-size: 16px; }

/* Hover : léger lift */
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
}
/* Active : press effect — transition ultra-rapide pour paraître réactif */
.btn:active {
  transform: scale(0.97);
  box-shadow: none;
  transition-duration: 0.08s;
}


/* ============================================================
   7. SECTIONS
   ============================================================
   Structure répétée sur toutes les pages :
   .section          → padding, alignement vertical
   .section-inner    → max-width 1200px, centré
   Variantes de fond : cream, cream-alt, tinted, green
   ============================================================ */

.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 40px;
  scroll-margin-top: 120px; /* pour les ancres : laisse de l'air sous la nav */
}
.section-inner { width: 100%; max-width: 1200px; }

.section-cream     { background: var(--cream); }
.section-cream-alt { background: var(--cream-alt); }
.section-tinted    { background: var(--green-card); }
.section-green     { background: linear-gradient(to bottom, var(--green), var(--green-dark)); }


/* ============================================================
   8. CARDS — Philosophie
   ============================================================ */

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.philo-card {
  background: var(--green-card);
  border: 1px solid var(--green-border);
  border-radius: 24px;
  padding: 100px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  /* Hover — lift doux, longue transition */
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.philo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(29, 72, 46, 0.08);
}

.philo-card img { width: 32px; height: 32px; object-fit: contain; }
.philo-card h3 {
  font-family: var(--ff-serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.3px;
  line-height: 1.24;
  margin-bottom: 10px;
}
.philo-card p {
  font-size: 16px;
  color: var(--green-muted);
  line-height: 1.28;
  letter-spacing: 0.32px;
}


/* ============================================================
   9. CARDS — Produits
   ============================================================ */

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover { transform: translateY(-5px); }

/* .product-img a overflow:hidden pour clipper le zoom de l'image au hover */
.product-img {
  background: var(--green-text);
  border-radius: 24px;
  overflow: hidden;
  height: 545px;
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Synchronisé avec product-card (même durée 0.8s) : carte et image bougent ensemble */
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-img img { transform: scale(1.04); }

.product-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8px;
  gap: 20px;
}
.product-name {
  font-family: var(--ff-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--green);
  line-height: 1.24;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; /* "..." si le nom est trop long */
}
.product-price {
  font-family: var(--ff-sans);
  font-size: 20px;
  font-weight: 600;
  color: var(--price-red);
  white-space: nowrap;
}


/* ============================================================
   10. BLOC ABOUT (texte gauche, images droite)
   ============================================================
   Grille 2 colonnes :
   - Gauche : texte + CTA
   - Droite : collage de 3 photos (2 petites empilées + 1 grande)
   ============================================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.about-text {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.about-text h2 {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4.4vw, 4rem);
  font-weight: 600;
  color: var(--green);
  line-height: 1.16;
}
.about-text p {
  font-size: 18px;
  color: var(--green-muted);
  line-height: 1.28;
  letter-spacing: 0.36px;
}

/* Collage photos :
   - about-img-sm (×2) : colonne 1, une en haut une en bas
   - about-img-tall    : colonne 2, s'étend sur les 2 lignes */
.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
  height: 583px;
}
.about-img-tall {
  grid-column: 2;
  grid-row: 1 / 3; /* couvre les 2 lignes */
  border-radius: 20px;
  overflow: hidden;
}
.about-img-tall img { width: 100%; height: 100%; object-fit: cover; }
.about-img-sm {
  grid-column: 1;
  border-radius: 20px;
  overflow: hidden;
}
.about-img-sm img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }


/* ============================================================
   11. TÉMOIGNAGES
   ============================================================ */

.testimonials-heading {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4.4vw, 4rem);
  font-weight: 600;
  color: var(--green);
  text-align: center;
  line-height: 1.16;
  margin-bottom: 50px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.testi-col { display: flex; flex-direction: column; gap: 24px; }
.testi-photo {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.testi-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.testi-card {
  background: var(--green-card);
  border: 1px solid var(--green-border);
  border-radius: 24px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(29, 72, 46, 0.08);
}
.testi-card img.quote-icon { width: 24px; height: 24px; object-fit: contain; }
.testi-card blockquote {
  font-family: var(--ff-serif);
  font-size: 20px;
  color: var(--green-text);
  line-height: 1.32;
  letter-spacing: 0.4px;
  max-width: 312px;
}
.testi-card cite {
  font-size: 14px;
  color: var(--green-muted);
  letter-spacing: 0.42px;
  font-style: normal;
}


/* ============================================================
   12. BLOC LOCALISATION (section "À emporter ou en livraison")
   ============================================================ */

.locations-section {
  background: linear-gradient(to bottom, var(--green), var(--green-dark));
  padding: 100px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.locations-inner {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.locations-h2 {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4.4vw, 4rem);
  font-weight: 600;
  color: var(--beige);
  text-align: center;
  line-height: 1.16;
}

/* Grille carte / infos */
.location-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 0 50px;
}
.location-map {
  height: 544px;
  border-radius: 20px;
  overflow: hidden;
}
.location-map img { width: 100%; height: 100%; object-fit: cover; }

.location-right { display: flex; flex-direction: column; gap: 40px; }
.location-card {
  background: var(--cream);
  border: 1px solid var(--green-border);
  border-radius: 24px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.location-card-text { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.location-card-name {
  font-family: var(--ff-serif);
  font-size: 20px;
  color: var(--green-text);
  line-height: 1.32;
  letter-spacing: 0.4px;
}
.location-card-sub  { font-size: 14px; color: var(--green-muted); letter-spacing: 0.42px; }
.location-card-addr { font-size: 14px; font-weight: 500; color: var(--green-muted); letter-spacing: 0.42px; }

/* Contact cards (sur fond vert) */
.contact-block-wrap { display: flex; flex-direction: column; gap: 24px; }
.contact-title {
  font-family: var(--ff-serif);
  font-size: 40px;
  font-weight: 600;
  color: var(--beige);
  line-height: 1.16;
}
.contact-card {
  background: var(--white-soft); /* blanc très transparent sur fond vert */
  border-radius: 20px;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-card-label {
  font-size: 14px;
  color: var(--beige);
  opacity: 0.7;
  letter-spacing: 0.42px;
}
.contact-card-value {
  font-family: var(--ff-serif);
  font-size: 20px;
  color: var(--beige);
  line-height: 1.24;
  letter-spacing: 0.2px;
}


/* ============================================================
   13. CTA BANNER
   ============================================================ */

.cta-banner {
  background: var(--green-card);
  padding: 80px 40px 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  max-width: 1200px;
}
.cta-logo { width: 100px; height: 100px; object-fit: contain; }
.cta-h2 {
  font-family: var(--ff-serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--green-text);
  letter-spacing: 0.32px;
  line-height: 1.16;
}
.cta-sub {
  font-size: 18px;
  color: var(--green-muted);
  line-height: 1.28;
  letter-spacing: 0.36px;
  max-width: 440px;
}


/* ============================================================
   14. FOOTER
   ============================================================ */

footer {
  background: var(--green);
  color: var(--beige);
}
.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

/* Bloc contact (email, téléphone) */
.footer-contact { display: flex; flex-direction: column; gap: 4px; max-width: 282px; }
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}
.footer-contact-row img {
  width: 20px; height: 20px;
  object-fit: contain;
  filter: brightness(10); /* rend l'icône blanche sur fond vert */
  opacity: 0.8;
}
.footer-contact-row a {
  font-family: var(--ff-serif);
  font-size: 16px;
  color: var(--beige);
  letter-spacing: 0.32px;
  white-space: nowrap;
}

/* Colonnes de liens */
.footer-menus { display: flex; gap: 24px; max-width: 690px; flex: 1; justify-content: flex-end; }
.footer-menu-col { display: flex; flex-direction: column; gap: 20px; min-width: 100px; }
.footer-menu-label { font-size: 14px; color: var(--beige); opacity: 0.6; letter-spacing: 0.42px; }
.footer-menu-col ul { display: flex; flex-direction: column; gap: 6px; list-style: none; }
.footer-menu-col li a {
  font-family: var(--ff-serif);
  font-size: 16px;
  color: var(--beige);
  letter-spacing: 0.32px;
  display: block;
  padding: 2px 0 4px;
  transition: opacity 0.2s;
}
.footer-menu-col li a:hover { opacity: 0.7; }

/* Réseaux sociaux */
.social-row { display: flex; gap: 8px; }
.social-btn {
  width: 40px; height: 40px;
  background: var(--beige);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.social-btn:hover { opacity: 0.8; }
.social-btn img { width: 20px; height: 20px; object-fit: contain; }

/* Barre légale */
.footer-legal {
  background: var(--white-soft);
  padding: 12px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-legal p {
  font-size: 14px;
  color: var(--beige);
  letter-spacing: 0.42px;
  max-width: 1200px;
  width: 100%;
}


/* ============================================================
   15. ANIMATIONS & SCROLL REVEAL
   ============================================================

   EASING UTILISÉ PARTOUT : cubic-bezier(0.16, 1, 0.3, 1)
   C'est un "expo out" : départ rapide, longue décélération douce.
   Résultat : les éléments semblent se "poser" naturellement.

   ── A) LOAD-IN HERO ──────────────────────────────────────────

   heroFadeUp  → h1 et boutons (opacité + légère montée de 10px)
   heroFadeIn  → bols (opacité UNIQUEMENT)

   POURQUOI deux keyframes différents pour les bols ?
   Le bol centre a transform: translateX(-50%) pour son centrage.
   Si on utilisait heroFadeUp (qui contient un translateY),
   le navigateur fusionnerait les deux transforms et le translateX
   serait écrasé → bol perdu. Avec heroFadeIn (opacité seule),
   le translateX reste intact.

   ── B) SCROLL REVEAL ──────────────────────────────────────────

   .reveal     → textes : opacité 0→1 + translateY 10px→0
   .reveal-img → images : opacité sur le conteneur + scale sur l'img

   Pattern .reveal-img :
   - Le conteneur a overflow:hidden + opacity 0→1
   - L'img intérieure fait scale(1.05→1)
   → L'effet : l'image semble "s'ouvrir" et se poser, sans déborder
     du cadre (le overflow:hidden clippe le zoom).

   La classe .visible est ajoutée par l'IntersectionObserver (JS).
   Double requestAnimationFrame dans le JS : garantit que le navigateur
   a peint opacity:0 AVANT d'ajouter .visible, sinon la transition
   serait sautée (l'état initial et final seraient identiques au
   moment où le navigateur peint pour la première fois).

   ── C) STAGGER ────────────────────────────────────────────────

   Les grilles (philosophie, produits, témoignages…) utilisent
   des transition-delay en cascade (0s, 0.2s, 0.4s) gérés en CSS
   via nth-child. Rien à faire en JS.
   ============================================================ */

/* ── Load-in hero ── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero-h1 {
  animation: heroFadeUp 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.3s;
}
.hero-buttons {
  animation: heroFadeUp 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.8s;
}

/* Image de fond hero : fade-in */
.hero-bg-wrap { animation: heroFadeIn 1.8s ease both; animation-delay: 0.2s; }

/* ── Scroll reveal — texte ── */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity  1.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
/* Variante sans translateY (pour les blocs larges où le mouvement serait trop fort) */
.reveal.reveal-fade {
  transform: none;
  transition: opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Scroll reveal — image (zoom + fondu) ── */
.reveal-img {
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}
.reveal-img img {
  transform: scale(1.05);
  transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1); /* plus long que l'opacité : effect de "pose" */
  will-change: transform;
}
.reveal-img.visible     { opacity: 1; }
.reveal-img.visible img { transform: scale(1); }

/* ── Stagger en cascade sur les grilles ── */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.4s; }

/* Stagger appliqué aux grilles spécifiques de chaque page */
.philosophy-grid  > .philo-card:nth-child(1),
.products-grid    > .product-card:nth-child(1),
.testi-concept-col:nth-child(1),
.testi-col-adresse:nth-child(1),
.pourquoi-card:nth-child(1),
.horaire-card:nth-child(1) { transition-delay: 0s; }

.philosophy-grid  > .philo-card:nth-child(2),
.products-grid    > .product-card:nth-child(2),
.testi-concept-col:nth-child(2),
.testi-col-adresse:nth-child(2),
.pourquoi-card:nth-child(2),
.horaire-card:nth-child(2) { transition-delay: 0.2s; }

.philosophy-grid  > .philo-card:nth-child(3),
.products-grid    > .product-card:nth-child(3),
.testi-concept-col:nth-child(3),
.testi-col-adresse:nth-child(3),
.pourquoi-card:nth-child(3),
.horaire-card:nth-child(3) { transition-delay: 0.4s; }

/* ── Blog cards (même comportement que product-card) ── */
.blog-card {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-card:hover { transform: translateY(-5px); }
.blog-img img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-card:hover .blog-img img { transform: scale(1.04); }


/* ============================================================
   DÉSACTIVATION DES HOVERS SUR TOUCH
   ============================================================
   Sur mobile/tablette (hover:none), les états :hover sont déclenchés
   au tap et restent actifs — effet bizarre. On les désactive tous.
   ============================================================ */

@media (hover: none) {
  .philo-card,
  .product-card,
  .blog-card,
  .testi-card,
  .btn,
  .nav-pill,
  .product-img img,
  .blog-img img { transition: none !important; }
  /* Note : .hamburger span et .mobile-menu gardent leurs transitions (UX tactile) */

  .philo-card:hover   { transform: none !important; box-shadow: none !important; }
  .product-card:hover { transform: none !important; }
  .blog-card:hover    { transform: none !important; }
  .testi-card:hover   { transform: none !important; box-shadow: none !important; }
  .btn:hover          { transform: none !important; box-shadow: none !important; }
  .nav-pill:hover     { box-shadow: none !important; }
  .nav-pill a:hover   { opacity: 0.9 !important; }
  .footer-menu-col li a:hover { opacity: 1 !important; }
  .social-btn:hover   { opacity: 1 !important; }
}

/* ============================================================
   RESPECT DE PREFERS-REDUCED-MOTION
   ============================================================
   Certains utilisateurs activent "Réduire les animations" dans
   leur système (épilepsie, vertiges…). On supprime TOUTES
   les transitions et animations pour eux.
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  /* Load-in et scroll reveals */
  .reveal, .reveal-img,
  .hero-h1, .hero-buttons, .hero-bg-wrap {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .reveal-img img { transform: none !important; transition: none !important; }

  /* Hovers */
  .philo-card, .product-card, .blog-card, .testi-card, .btn,
  .product-img img, .blog-img img, .nav-logo-circle {
    transition: none !important;
  }
  .philo-card:hover, .product-card:hover,
  .blog-card:hover,  .testi-card:hover,
  .btn:hover { transform: none !important; box-shadow: none !important; }
}


/* ============================================================
   16. RESPONSIVE
   ============================================================
   Breakpoints issus des maquettes Figma :
   1280px → Laptop standard
   1024px → Laptop petit / Tablette paysage
    768px → Tablette portrait (bascule nav mobile)
    480px → Mobile (maquette 360px)
   ============================================================ */

/* ── Laptop (≤ 1280px) ── */
@media (max-width: 1280px) {
  .about-grid { gap: 60px; }
}

/* ── Tablette paysage / Laptop petit (≤ 1024px) ── */
@media (max-width: 1024px) {
  /* Nav : réduite */
  .nav-wrapper     { width: min(520px, calc(100vw - 40px)); }
  .nav-pill a      { font-size: 14px; padding: 2px 6px 4px; }
  .nav-logo-circle { width: 86px; height: 86px; }
  .nav-circle-gap  { width: 86px; }

  /* Hero tablet: H1 imposant, bol centre pleine largeur intégré dans la hero */
  .hero                     { overflow: hidden; } /* bol entièrement contenu dans la section verte */
  .hero-h1              { font-size: clamp(3.5rem, 9.5vw, 100px); line-height: 0.95; }
  .hero-text            { gap: 60px; }
  .hero-buttons .btn    { padding: 20px 44px; font-size: 18px; }
  .hero-content         { padding-top: 260px; padding-bottom: 120px; }
  .hero-bg-wrap img     { object-position: center center; }

  /* Approche : grille 2 colonnes (la 3e card est gérée dans la range query ci-dessous) */
  .philosophy-grid { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 0; }
  .philo-card { align-items: center; text-align: center; padding: 60px 32px; }

  /* Grilles */
  .product-img              { height: 380px; }
  .about-grid               { grid-template-columns: 1fr; gap: 40px; }
  .about-images             { height: 360px; }
  .location-info-grid       { grid-template-columns: 1fr; padding: 0; gap: 28px; }
  .location-map             { height: 280px; }
}

/* ── Tablette portrait intermédiaire (≤ 860px) ── */
@media (max-width: 860px) {
  /* Témoignages → 2 colonnes (le 3e passe en pleine largeur) */
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid .testi-col:last-child { grid-column: 1 / -1; flex-direction: row; gap: 24px; }
  .testimonials-grid .testi-col:last-child .testi-photo { flex: 1; min-width: 0; }
  .testimonials-grid .testi-col:last-child .testi-card  { flex: 1; min-width: 0; }

  /* Produits → 2 colonnes + 1 pleine largeur */
  .products-grid { grid-template-columns: 1fr 1fr; margin-top: 0; }
  .products-grid .product-card:last-child { grid-column: 1 / -1; max-width: none; margin: 0; }
  .product-img   { height: 320px; }

  /* Philosophie → 2 colonnes + 1 pleine largeur */
  .philosophy-grid { grid-template-columns: 1fr 1fr; }
  .philosophy-grid .philo-card:last-child { grid-column: 1 / -1; max-width: none; margin: 0; }
}

/* ── Tablette 861–1024px : 3e card approche pleine largeur (override du bloc 860px) ── */
@media (min-width: 861px) and (max-width: 1024px) {
  .philosophy-grid .philo-card:last-child { grid-column: 1 / -1; max-width: none; margin: 0; }
}

/* ── Tablette portrait (≤ 768px) — bascule nav mobile ── */
@media (max-width: 768px) {
  /* Swap nav */
  .nav-wrapper { display: none; }
  .nav-mobile  { display: block; }

  /* Hero mobile */
  .hero            { min-height: 620px; }
  .hero-content    { padding-top: 130px; padding-bottom: 80px; }
  .hero-text       { padding: 40px 24px 0; gap: 28px; }
  .hero-h1         { font-size: clamp(2rem, 7vw, 2.8rem); line-height: 1.1; }
  .hero-buttons    { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .hero-buttons .btn { min-width: 150px; text-align: center; padding: 16px 28px; font-size: 16px; }
  .hero-bg-wrap img  { object-position: center 70%; }

  /* Sections — padding 60px vertical, 24px horizontal */
  .section     { padding: 60px 24px; }
  .section-h2  { font-size: clamp(2rem, 9.6vw, 2.8rem); }
  .section-sub { font-size: 16px; }

  /* Philosophie : cards 1 colonne, centrées */
  .philosophy-grid { grid-template-columns: 1fr; gap: 16px; }
  .philo-card      { flex-direction: column; align-items: center; text-align: center; padding: 40px 24px; gap: 20px; }

  /* Produits : 2 colonnes sur 768px */
  .products-grid { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 0; }
  .product-img   { height: 220px; }
  .product-name  { white-space: normal; font-size: 16px; }
  .product-price { font-size: 16px; }
  .product-info  { flex-wrap: wrap; gap: 4px; padding: 0 4px; }

  /* About : image en premier sur mobile, texte dessous */
  .about-grid     { grid-template-columns: 1fr; gap: 30px; }
  .about-images   { order: 1; }
  .about-text     { order: 2; }
  .about-images   { display: block; height: 380px; border-radius: 20px; overflow: hidden; }
  .about-img-sm   { display: none; }
  .about-img-tall { display: block; grid-column: unset; grid-row: unset;
                    width: 100%; height: 100%; border-radius: 20px; overflow: hidden; }
  .about-img-tall img { width: 100%; height: 100%; object-fit: cover; }
  .about-text     { gap: 40px; }
  .about-text h2  { font-size: clamp(2rem, 9.6vw, 2.8rem); }

  /* Témoignages : centré + scroll horizontal */
  .testimonials-heading { text-align: center; margin-bottom: 30px; font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .testimonials-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    margin: 0 -24px;
    padding: 0 24px 8px;
  }
  .testimonials-grid::-webkit-scrollbar { display: none; }
  .testimonials-grid .testi-col.reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .testi-col  { min-width: calc(85% - 12px); flex-shrink: 0; }
  .testi-card { height: 100%; min-height: 200px; }
  .testi-photo { display: none; }

  /* Blog */
  .blog-grid   { grid-template-columns: 1fr; gap: 24px; }
  .blog-img    { height: 340px; }
  .blog-header { flex-direction: column; gap: 0; align-items: flex-start; }
  .blog-header .btn { display: none; }

  /* Localisation */
  .locations-section  { padding: 60px 24px; }
  .locations-h2       { font-size: clamp(1.8rem, 8.5vw, 2.8rem); text-align: left; line-height: 1.16; }
  .locations-inner    { gap: 40px; }
  .location-info-grid { grid-template-columns: 1fr; padding: 0; gap: 20px; }
  .location-map       { height: 240px; }
  .location-card      { flex-direction: column; align-items: flex-start; gap: 20px; }
  .btn-sm             { width: 100%; justify-content: center; }
  .contact-title      { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .contact-block-wrap { flex-direction: column; gap: 16px; }
  .contact-card       { padding: 32px 24px; align-items: flex-start; }

  /* CTA : centré */
  .cta-banner { padding: 60px 24px; align-items: center; }
  .cta-inner  { align-items: center; text-align: center; gap: 16px; }
  .cta-h2     { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .cta-sub    { max-width: 100%; }

  /* Footer : empilé */
  .footer-main  { flex-direction: column; gap: 40px; padding: 50px 24px 30px; }
  .footer-menus { flex-direction: column; gap: 24px; }
  .footer-menu-col { min-width: unset; width: 100%; }
  .footer-legal    { padding: 12px 20px; }
}

/* ── Mobile (≤ 480px) — maquette 375px ── */
@media (max-width: 480px) {
  .hero            { min-height: 560px; }
  .hero-content    { padding-top: 120px; padding-bottom: 60px; }
  .hero-h1         { font-size: clamp(1.8rem, 8vw, 2.4rem); line-height: 1.1; }
  .hero-text       { gap: 24px; padding: 40px 20px 0; }
  .hero-buttons    { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .hero-buttons .btn { min-width: 140px; font-size: 15px; padding: 14px 24px; }
  .hero-bg-wrap img  { object-position: center 72%; }

  /* Sections */
  .section    { padding: 60px 20px; }
  .section-h2 { font-size: clamp(1.8rem, 9vw, 2.4rem); }

  /* Philosophie */
  .philo-card  { padding: 32px 20px; }

  /* Produits : 1 colonne */
  .products-grid { grid-template-columns: 1fr; gap: 20px; }
  .product-img   { height: 280px; }

  /* Témoignages */
  .testi-col  { min-width: calc(85% - 10px); }

  /* Localisation */
  .locations-section { padding: 60px 20px; }
  .contact-card      { padding: 28px 20px; }

  /* CTA */
  .cta-banner { padding: 60px 20px; }

  /* Footer */
  .footer-main { padding: 50px 20px 30px; }
}
