/* =============================================================================
   LA GUINGUETTE — Balaruc-les-Bains
   Feuille de style unique. Direction « L'heure et les nasses ».
   Les couleurs sont prélevées dans les photos du restaurant.
   ========================================================================== */

/* --- 1. TOKENS ------------------------------------------------------------ */
:root {
  /* couleurs nommées — la marque, valeurs fixes */
  --nasse:       #112437;  /* corde et armature des nasses. Le sombre du site */
  --nasse-2:     #1B3247;  /* surfaces surélevées sur fond sombre */
  --nasse-3:     #24405A;
  --encre:       #14202B;  /* texte sur fond clair */
  --chaux:       #F6F2EA;  /* le mur de chaux de la terrasse */
  --chaux-2:     #E9E1D4;  /* séparateurs, cartouches, étiquettes */
  --etang:       #A9CEE1;  /* l'eau de jour */
  --ciel:        #80C5FC;  /* le cyan de leur flyer */
  --cyan:        #1B9BD0;  /* cyan de marque — graphique uniquement */
  --cyan-clair:  #5CC8F0;  /* cyan lisible sur fond sombre */
  --cyan-fonce:  #0B6E92;  /* cyan lisible sur fond clair */
  --verre:       #22687E;  /* turquoise des verres — liens sur fond clair */
  --soleil:      #F4A83A;  /* le couchant — fond du bouton d'appel */
  --braise:      #C9601C;  /* le feu de bois — une seule section */
  --ampoule:     #FFD489;  /* verre des ampoules allumées */
  --gris:        #55606B;  /* texte secondaire sur fond clair */
  --gris-clair:  #9FB2BF;  /* texte secondaire sur fond sombre */
  --craie:       #FDF7EC;  /* blanc chaud sur fond sombre */
  --olive:       #6E7F4F;  /* pastille « ouvert » */

  /* tokens sémantiques — c'est eux qu'on écrit dans les règles */
  --fond:         var(--chaux);
  --fond-inverse: var(--nasse);
  --surface:      var(--chaux-2);
  --texte:        var(--encre);
  --texte-2:      var(--gris);
  --sur-inverse:  var(--craie);
  --sur-inverse-2:var(--gris-clair);
  --filet:        #DED5C6;
  --accent:       var(--cyan-fonce);
  --accent-clair: var(--cyan-clair);
  --lien:         var(--verre);
  --cta-fond:     var(--soleil);
  --cta-texte:    var(--nasse);
  --focus:        var(--cyan-fonce);

  /* fontes */
  --f-display: "Barlow Condensed", "Arial Narrow", Haettenschweiler, sans-serif;
  --f-ui:      "Barlow", "Helvetica Neue", Arial, sans-serif;

  /* mesures */
  --gouttiere: 20px;
  /* viewport-fit=cover : en paysage sur iPhone, l'encoche mange un côté */
  --marge-sure: max(20px, env(safe-area-inset-left), env(safe-area-inset-right));
  /* gouttière généreuse sur grand écran, sans jamais passer sous l'encoche */
  --gouttiere-large: max(clamp(20px, 5vw, 64px), env(safe-area-inset-left), env(safe-area-inset-right));
  /* abscisse où se termine la colonne de texte du héros */
  --fin-texte: calc(var(--gouttiere-large) + 52rem);
  --largeur:   1180px;
  --etroit:    720px;
  --rayon:       3px;
  --rayon-petit: 2px;  /* étiquettes, vignettes, petits aplats */
  --barre-h:   68px;   /* barre d'état collante mobile */
}

/* état soir : seuls les tokens sémantiques bougent */
:root[data-heure="soir"] {
  --fond:         var(--nasse);
  --fond-inverse: var(--nasse-2);
  --surface:      var(--nasse-2);
  --texte:        var(--craie);
  --texte-2:      var(--gris-clair);
  --filet:        #2A4356;
  --accent:       var(--cyan-clair);
  --lien:         var(--cyan-clair);
  --focus:        var(--cyan-clair);
  /* --cta-fond et --cta-texte ne bougent jamais */
}

/* repli si le JS ne tourne pas */
@media (prefers-color-scheme: dark) {
  :root:not([data-heure]) {
    --fond: var(--nasse); --fond-inverse: var(--nasse-2); --surface: var(--nasse-2);
    --texte: var(--craie); --texte-2: var(--gris-clair); --filet: #2A4356;
    --accent: var(--cyan-clair); --lien: var(--cyan-clair); --focus: var(--cyan-clair);
  }
}

/* --- 2. BASE -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .btn:hover { transform: none; }
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--f-ui);
  font-size: 1.0625rem;          /* 17px — plancher absolu, curistes obligent */
  line-height: 1.62;
  font-variant-numeric: tabular-nums lining-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .5s ease, color .5s ease;
}

img, svg, picture { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  line-height: .96;
  letter-spacing: -.005em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 7vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 4.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1875rem; font-weight: 600; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: var(--lien); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--rayon-petit);
}
/* sur les aplats sombres, le cyan foncé tomberait sous 3:1 : on éclaircit */
.section--sombre :focus-visible, .sur-sombre :focus-visible,
.entete :focus-visible, .heros :focus-visible,
.pied :focus-visible, .barre :focus-visible, .carte-fin :focus-visible,
.plateau--gourmand :focus-visible {
  outline-color: var(--cyan-clair);
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--nasse); color: var(--craie);
  padding: 14px 20px; font-weight: 600;
}
.skip:focus { left: 0; }

.visuellement-cache {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --- 3. TYPOGRAPHIE UTILITAIRE -------------------------------------------- */
.surtitre {
  font-family: var(--f-ui);
  font-size: .8125rem;           /* 13px — plancher */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  line-height: 1.5;
  color: var(--accent);
  margin: 0 0 1rem;
}
.sur-sombre .surtitre { color: var(--cyan-clair); }

.chapo {
  font-size: 1.125rem;
  color: var(--texte-2);
  max-width: 62ch;
  margin: 0 0 2rem;
}
.sur-sombre .chapo { color: var(--sur-inverse-2); }

.sep { color: var(--filet); padding: 0 .35em; }
.sup { font-size: .875rem; color: var(--texte-2); font-weight: 400; font-style: normal; text-transform: none; letter-spacing: 0; }

/* --- 4. LAYOUT ------------------------------------------------------------ */
.section {
  padding: clamp(3.5rem, 9vw, 6.5rem) var(--marge-sure);
  background: var(--fond);
}
.section--sombre {
  background: var(--nasse);
  color: var(--craie);
}
.section--sombre h1, .section--sombre h2, .section--sombre h3 { color: var(--craie); }

.dedans { max-width: var(--largeur); margin: 0 auto; }
.dedans--etroit { max-width: var(--etroit); }

.tete-section { margin-bottom: clamp(2rem, 5vw, 3rem); }

/* --- 5. COMPOSANTS -------------------------------------------------------- */

/* 5.1 Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 56px; padding: 0 1.4rem;
  font-family: var(--f-ui); font-size: 1.0625rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  text-decoration: none; border-radius: var(--rayon); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--appel { background: var(--cta-fond); color: var(--cta-texte); border-color: var(--cta-fond); }
.btn--appel:hover { background: #FFB84D; border-color: #FFB84D; }

.btn--fantome {
  background: rgba(17, 36, 55, .22); color: var(--craie); border-color: var(--craie);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.btn--fantome:hover { background: rgba(253, 247, 236, .16); }

.btn--trait { background: transparent; color: var(--texte); border-color: currentColor; }
.btn--trait:hover { background: var(--surface); }

/* 5.2 Étiquette à ficelle — le composant de prix unique, repris de leur flyer */
.etiquette {
  position: relative;
  display: inline-flex; flex-direction: column; align-items: flex-start;
  padding: .55rem 1rem .6rem 1.5rem;
  background: var(--chaux-2); color: var(--encre);
  border-radius: var(--rayon-petit);
  clip-path: polygon(9px 0, 100% 0, 100% 100%, 0 100%, 0 9px);
  font-variant-numeric: tabular-nums lining-nums;
  line-height: 1.15;
}
.etiquette::before {           /* l'œillet */
  content: ""; position: absolute; left: 7px; top: 9px;
  width: 6px; height: 6px; border-radius: 50%;
  border: 1.5px solid var(--cyan); background: transparent;
}
.etiquette::after {            /* la ficelle */
  content: ""; position: absolute; left: -7px; top: -6px;
  width: 20px; height: 20px;
  border-left: 1.5px solid var(--cyan);
  transform: rotate(38deg); transform-origin: bottom right;
}
.etiquette__prix { font-size: 1.375rem; font-weight: 600; }
.etiquette__nom {
  font-size: .8125rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; color: var(--gris);
}
.sur-sombre .etiquette, .section--sombre .etiquette {
  background: var(--nasse-2); color: var(--ampoule);
}
.sur-sombre .etiquette__nom, .section--sombre .etiquette__nom { color: var(--etang); }

/* 5.3 Cartouche de provenance */
.cartouche {
  font-size: .8125rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; line-height: 1.45;
  color: var(--accent); margin: 0 0 .35rem;
}
.section--sombre .cartouche, .sur-sombre .cartouche { color: var(--cyan-clair); }

/* 5.5 Pastille d'état */
.pastille {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: var(--olive); margin-right: .5em; flex: none;
}
.pastille--ferme { background: var(--gris); }
@media (prefers-reduced-motion: no-preference) {
  .pastille--ouvert { animation: battement 2.6s ease-in-out infinite; }
}
@keyframes battement {
  0%, 100% { box-shadow: 0 0 0 0 rgba(110, 127, 79, .6); }
  60%      { box-shadow: 0 0 0 7px rgba(110, 127, 79, 0); }
}

/* 5.6 Cibles tactiles — WCAG 2.2 (2.5.8) demande 24x24 px minimum.
   Les liens isolés (hors fil du texte) sont agrandis par un pseudo-élément :
   la zone cliquable grandit, la mise en page ne bouge pas d'un pixel. */
.info__corps a, .avis__lien a, .reseaux a, .venir dd a, .pied__legal a,
.feu__grille a, .encart a, .sur-commande a, .carte-bloc__pied a,
.heros__itineraire, .sommaire a, .figure a {
  position: relative;
}
.info__corps a::after, .avis__lien a::after, .reseaux a::after, .venir dd a::after,
.pied__legal a::after, .feu__grille a::after, .encart a::after, .sur-commande a::after,
.carte-bloc__pied a::after, .heros__itineraire::after, .figure a::after {
  content: ""; position: absolute; left: 0; right: 0;
  top: 50%; transform: translateY(-50%); height: 26px;
}
.sommaire a { min-height: 40px; display: inline-flex; align-items: center; }
.entete__nav a, .entete__marque { min-height: 40px; display: inline-flex; align-items: center; }

/* --- 6. EN-TÊTE COLLANT (desktop) ----------------------------------------- */
.entete {
  display: none;
  position: fixed; inset: 0 0 auto; z-index: 60;
  height: 60px; align-items: center; gap: 1.5rem;
  padding: 0 clamp(20px, 3vw, 40px);
  color: var(--craie);
  transition: background-color .3s ease, backdrop-filter .3s ease;
}
.entete--posee .entete__marque { visibility: visible; opacity: 1; }
.entete--posee {
  background: rgba(17, 36, 55, .94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.entete__marque {
  display: flex; align-items: center; gap: .6rem;
  /* tant que le héros est à l'écran, son grand logo suffit : la marque de
     l'en-tête n'apparaît qu'une fois la barre posée. Sur la page carte,
     l'en-tête est posé d'emblée, la marque y est donc toujours visible. */
  visibility: hidden; opacity: 0;
  transition: opacity .3s ease, visibility .3s ease;
  color: var(--craie); text-decoration: none;
  font-family: var(--f-display); font-style: italic; font-weight: 700;
  text-transform: uppercase; font-size: 1.25rem; letter-spacing: .01em;
}
.entete__medaillon { width: 28px; height: 28px; color: var(--craie); flex: none; }
.entete__nav { margin-left: auto; display: flex; align-items: center; gap: 1.75rem; }
.entete__nav a {
  color: var(--craie); text-decoration: none;
  font-size: .9375rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
}
.entete__nav a:hover, .entete__nav a[aria-current="page"] { color: var(--cyan-clair); }
/* Le bouton de réservation de l'en-tête : ambre, comme tout ce qui appelle. */
.entete__tel {
  display: inline-flex; align-items: center; gap: .6rem;
  min-height: 44px; padding: .6rem 1.2rem;
  background: var(--soleil); color: var(--nasse);
  border: 1.5px solid var(--soleil); border-radius: var(--rayon);
  font-size: 1rem; font-weight: 600; letter-spacing: .03em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease;
}
/* `.entete__nav a` est plus spécifique : on repasse devant, sinon le texte
   reste crème sur l'ambre et tombe à 1,9:1. */
.entete__nav a.entete__tel { color: var(--nasse); }
.entete__nav a.entete__tel:hover { background: #FFB84D; border-color: #FFB84D; color: var(--nasse); }
.entete__menu { display: none; }
@media (min-width: 900px) { .entete { display: flex; } }

/* --- Menu de navigation sur téléphone, page d'accueil ---------------------
   Sous 900 px, l'en-tête reste à l'écran mais se réduit au strict nécessaire :
   la marque (une fois la barre posée) et un bouton Menu qui déplie la
   navigation. Sans lui, le visiteur mobile n'avait aucun accès aux sections.
   La carte a déjà le sien, défini dans carte-ambiance.css : ces règles
   l'excluent pour ne pas se superposer au sien. */
@media (max-width: 899px) {
  body:not(.page-carte) .entete {
    display: flex; height: 58px; gap: 1rem;
    justify-content: space-between; align-items: center;
    padding-inline: var(--marge-sure);
  }
  body:not(.page-carte) .entete__marque { font-size: 1.05rem; }
  body:not(.page-carte) .entete__medaillon { width: 24px; height: 24px; }

  body:not(.page-carte) .entete__menu:not([hidden]) {
    display: inline-flex; align-items: center; gap: .55rem;
    min-height: 44px; padding: .5rem .9rem;
    border: 1.5px solid rgba(253, 247, 236, .55); border-radius: var(--rayon);
    background: rgba(17, 36, 55, .55);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    color: var(--craie); font: 600 .9375rem/1 var(--f-ui);
    text-transform: uppercase; letter-spacing: .1em; cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
  }
  body:not(.page-carte) .entete--posee .entete__menu:not([hidden]) {
    background: transparent; border-color: rgba(253, 247, 236, .4);
  }
  body:not(.page-carte) .entete__menu:hover,
  body:not(.page-carte) .entete--ouverte .entete__menu {
    background: rgba(92, 200, 240, .18); border-color: var(--cyan-clair);
  }

  /* le panneau : replié par défaut, déplié par le bouton */
  body:not(.page-carte).navigation-active .entete__nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .25rem var(--marge-sure) 1.25rem;
    background: rgba(17, 36, 55, .98);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--cyan);
  }
  body:not(.page-carte).navigation-active .entete--ouverte .entete__nav { display: flex; }
  body:not(.page-carte) .entete__nav a {
    width: 100%; min-height: 52px; display: flex; align-items: center;
    border-bottom: 1px solid rgba(169, 206, 225, .18);
    font-size: 1.0625rem; letter-spacing: .08em;
  }
  body:not(.page-carte) .entete__nav a:last-child { border-bottom: 0; }
  /* dans le panneau, appeler est une action, pas une ligne de menu */
  body:not(.page-carte) .entete__tel {
    margin-top: .9rem; min-height: 52px; justify-content: center;
    background: var(--soleil); color: var(--nasse); border-radius: var(--rayon);
    font-weight: 600; letter-spacing: .06em; border-bottom: 0;
  }

  /* sans JavaScript, la navigation reste lisible en ligne sous la marque */
  body:not(.navigation-active):not(.page-carte) .entete {
    position: relative; height: auto; flex-wrap: wrap; padding-block: 12px;
  }
  body:not(.navigation-active):not(.page-carte) .entete__nav {
    position: static; flex-direction: row; flex-wrap: wrap; gap: 1.25rem;
    padding: 0; background: none; border: 0; margin-left: 0;
  }
  body:not(.navigation-active):not(.page-carte) .entete__nav a {
    width: auto; min-height: 40px; border: 0;
  }
}

/* --- 7. HÉROS ------------------------------------------------------------- */
.heros {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: clamp(2rem, 6vh, 4rem);
  padding: clamp(28px, 5vh, 56px) var(--gouttiere-large)
           calc(var(--barre-h) + env(safe-area-inset-bottom) + 2.5rem);
  overflow: hidden; isolation: isolate;
  background: var(--nasse);
}
@media (min-width: 900px) { .heros { padding-bottom: 3.5rem; } }

.heros__fond { position: absolute; inset: 0; z-index: -2; }
.heros__fond picture { display: block; width: 100%; height: 100%; }
.heros__fond img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 48%; }
@media (min-width: 768px) { .heros__fond img { object-position: 42% 50%; } }

.heros::before {                  /* scrim bas, couleur réelle des nasses */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top,
    rgba(17,36,55,.95) 0%, rgba(17,36,55,.92) 40%, rgba(17,36,55,.88) 78%,
    rgba(17,36,55,.35) 88%, rgba(17,36,55,0) 97%);
}
@media (min-width: 768px) {
  /* En paysage le texte occupe la colonne de gauche : on assombrit cette colonne
     et on rend au soleil, à l'eau et à la table dressée toute leur lumière. */
  .heros::before {
    background:
      /* Le voile s'arrête là où finit vraiment le texte : marge de page + 34rem.
         En pourcentage, le texte sortait de la zone sombre sur écran large. */
      linear-gradient(to right,
        rgba(17,36,55,.93) 0,
        rgba(17,36,55,.90) calc(var(--fin-texte) - 14rem),
        rgba(17,36,55,.84) var(--fin-texte),
        rgba(17,36,55,.44) calc(var(--fin-texte) + 9rem),
        rgba(17,36,55,.10) calc(var(--fin-texte) + 18rem),
        rgba(17,36,55,0)   calc(var(--fin-texte) + 26rem)),
      linear-gradient(to top,
        rgba(17,36,55,.80) 0%, rgba(17,36,55,.45) 22%, rgba(17,36,55,0) 46%);
  }
}
.heros::after {                   /* voile haut, derrière le logo seulement */
  content: ""; position: absolute; inset: 0 0 auto; height: 240px; z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(17,36,55,.72) 0%, rgba(17,36,55,.52) 50%, rgba(17,36,55,0) 100%);
}
@media (min-width: 768px) {
  .heros::after {
    height: 200px;
    background: linear-gradient(to bottom,
      rgba(17,36,55,.66) 0%, rgba(17,36,55,.44) 50%, rgba(17,36,55,0) 100%);
  }
}

.heros__marque {
  position: relative; z-index: 3;
  display: flex; align-items: flex-start; gap: .9rem;
}
.heros__medaillon { width: 30px; height: 30px; color: var(--craie); flex: none; margin-top: 4px; }
.heros__logo { width: 200px; }
@media (min-width: 768px) { .heros__logo { width: 300px; } }
.heros__signature {
  display: block; margin-top: .55rem;
  font-size: .8125rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .22em; color: var(--etang);
}

.heros__contenu { position: relative; z-index: 3; color: var(--craie); max-width: 54rem; }
.heros__contenu > :not(h1) { max-width: 36rem; }
.heros__surtitre { color: var(--cyan-clair); margin-bottom: 1.4rem; }
.heros h1 {
  font-size: clamp(2.6rem, 10.5vw, 5.75rem);
  line-height: .98; letter-spacing: -.015em;
  color: var(--craie); margin: 0 0 1.75rem;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(17, 36, 55, .55);
}
.heros__surtitre { text-shadow: 0 1px 10px rgba(17, 36, 55, .8); }
.heros__heure {
  font-size: 1.125rem; line-height: 1.6; color: var(--craie); margin: 0 0 2.25rem;
  text-shadow: 0 1px 12px rgba(17, 36, 55, .8);
}
.heros__actions { display: flex; flex-direction: column; gap: .9rem; }
@media (min-width: 430px) { .heros__actions { flex-direction: row; flex-wrap: wrap; } }
.heros__micro {
  font-size: .875rem; color: var(--etang); margin: 1.15rem 0 0;
  letter-spacing: .02em;
}
.heros__itineraire {
  display: inline-block; margin-top: 1.9rem;
  color: var(--cyan-clair); font-size: 1.0625rem;
}

/* repère de fin de héros : c'est sa sortie de l'écran qui fait monter la barre.
   Un span inline vide n'a pas toujours de boîte observable : on lui en donne une. */
[data-fin-heros] { display: block; width: 100%; height: 1px; }

/* --- 8. BARRE D'ÉTAT COLLANTE (mobile) ------------------------------------ */
.barre {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: flex; align-items: center; gap: .75rem;
  min-height: var(--barre-h);
  padding: .5rem var(--marge-sure) calc(.5rem + env(safe-area-inset-bottom));
  background: rgba(27, 50, 71, .97);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--cyan);
  color: var(--craie);
  transform: translateY(105%); transition: transform .35s ease;
}
.barre--visible { transform: translateY(0); }
.barre__etat { display: flex; align-items: center; font-size: .9375rem; line-height: 1.25; min-width: 0; }
.barre__etat span { overflow: hidden; text-overflow: ellipsis; }
.barre__soleil {
  font-size: .9375rem; color: var(--ampoule); white-space: nowrap;
  margin-left: auto; display: none;
}
.barre__appel {
  margin-left: auto; min-height: 48px; padding: 0 1.1rem; flex: none;
  font-size: .9375rem;
}
@media (min-width: 420px) { .barre__soleil { display: inline; } }
@media (min-width: 900px) { .barre { display: none; } }

/* la place réservée à la barre collante est déclarée avec .pied, plus bas */

/* --- 9. FICHES D'INFORMATIONS PRATIQUES ----------------------------------- */
.tete-section--centre { text-align: center; }
.tete-section--centre .chapo { margin-inline: auto; }

.fiches {
  display: grid; gap: clamp(1.25rem, 3vw, 1.75rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.fiche {
  background: var(--surface); border-radius: var(--rayon);
  padding: clamp(1.5rem, 4vw, 2rem);
  display: flex; flex-direction: column; gap: .75rem;
  border-top: 3px solid var(--accent);
}
.fiche__icone { width: 30px; height: 30px; color: var(--accent); }
.fiche__titre { margin: 0; font-size: clamp(1.25rem, 3.6vw, 1.5rem); }
.fiche__liste { display: grid; gap: .1rem; }
.fiche__liste li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .5rem 0; border-bottom: 1px solid var(--filet);
}
.fiche__liste li:last-child { border-bottom: 0; }
.fiche__liste b { white-space: nowrap; font-weight: 600; }
.fiche__adresse {
  font-family: var(--f-display); font-style: italic; font-weight: 600;
  text-transform: uppercase; font-size: 1.375rem; line-height: 1.15; margin: 0;
}
.fiche__texte { font-size: .9375rem; color: var(--texte-2); margin: 0; }
.fiche__lien { margin-top: auto; padding-top: .5rem; font-weight: 600; }

.horaires { display: grid; gap: .1rem; }
.horaire {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .4rem .5rem; border-radius: var(--rayon-petit); font-size: 1rem;
}
.horaire--aujourdhui { background: var(--fond); font-weight: 600; }
.horaire__jour { text-transform: capitalize; }
.horaire__h { white-space: nowrap; color: var(--texte-2); }
.horaire--aujourdhui .horaire__h { color: var(--texte); }
.horaire--ferme .horaire__h { font-style: italic; }

.adresse {
  font-family: var(--f-display); font-style: italic; font-weight: 600;
  text-transform: uppercase; font-size: clamp(1.25rem, 4vw, 1.75rem);
  line-height: 1.1; margin: 0;
}

/* --- 10. LE LIEU : bandeau immersif + mosaique ---------------------------- */
.lieu { background: var(--nasse); color: var(--craie); }
.lieu h2, .lieu h3 { color: var(--craie); }

.lieu__bandeau {
  position: relative; isolation: isolate;
  min-height: min(78vh, 720px);
  display: flex; align-items: flex-end;
  padding: clamp(2.5rem, 8vw, 6rem) var(--marge-sure);
  overflow: hidden;
}
.lieu__bandeau img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%;
}
.lieu__bandeau::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top,
    rgba(17,36,55,.94) 0%, rgba(17,36,55,.80) 30%, rgba(17,36,55,.30) 60%, rgba(17,36,55,.08) 100%);
}
.lieu__titre { max-width: var(--largeur); margin: 0 auto; width: 100%; }
.lieu__titre .surtitre { color: var(--cyan-clair); }
.lieu__titre h2 {
  font-size: clamp(2.25rem, 7.5vw, 4rem); margin-bottom: .6rem;
  text-shadow: 0 2px 20px rgba(17, 36, 55, .5);
}
.lieu__titre p { color: var(--craie); max-width: 46ch; margin: 0; }

.lieu__corps { padding: clamp(3rem, 7vw, 5rem) var(--marge-sure); }

.atouts {
  display: grid; gap: 1.25rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
  padding-bottom: clamp(2rem, 5vw, 2.5rem);
  border-bottom: 1px solid rgba(169, 206, 225, .22);
}
.atout { display: flex; flex-direction: column; gap: .2rem; }
.atout b {
  font-family: var(--f-display); font-style: italic; font-weight: 600;
  text-transform: uppercase; font-size: 1.25rem; color: var(--cyan-clair);
}
.atout span { font-size: .9375rem; color: var(--gris-clair); line-height: 1.45; }

.galerie { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) {
  /* damier equilibre : 6 photos, 4 colonnes, 3 rangees pleines */
  .galerie { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; }
  .galerie__item--grand { grid-column: span 2; grid-row: span 2; }
  .galerie__item:nth-child(2),
  .galerie__item:nth-child(5),
  .galerie__item:nth-child(6) { grid-column: span 2; }
}
@media (min-width: 1100px) { .galerie { grid-auto-rows: 210px; } }

.galerie__item {
  position: relative; overflow: hidden; isolation: isolate;
  border: 0; padding: 0; margin: 0; cursor: zoom-in;
  background: var(--nasse-2); border-radius: var(--rayon);
  aspect-ratio: 4 / 3;
}
@media (min-width: 760px) { .galerie__item { aspect-ratio: auto; height: 100%; } }
.galerie__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}
.galerie__item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(17,36,55,.85) 0%, rgba(17,36,55,.25) 38%, rgba(17,36,55,0) 62%);
  opacity: .85; transition: opacity .4s ease;
}
.galerie__item:hover img, .galerie__item:focus-visible img { transform: scale(1.07); }
.galerie__item:hover::after { opacity: 1; }
.galerie__legende {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: .85rem 1rem; text-align: left;
  font-family: var(--f-ui); font-size: .8125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; color: var(--craie);
}
.galerie__aide {
  margin-top: 1rem; font-size: .8125rem; letter-spacing: .06em;
  color: var(--gris-clair); text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .galerie__item, .atout, .fiche {
    opacity: 0; transform: translateY(18px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1),
                box-shadow .3s ease;
  }
  .galerie__item.vu, .atout.vu, .fiche.vu { opacity: 1; transform: none; }
}

.visionneuse {
  border: 0; padding: 0; max-width: min(96vw, 1100px); max-height: 94vh;
  background: transparent; color: var(--craie); overflow: visible;
}
.visionneuse::backdrop { background: rgba(10, 22, 34, .93); }
.visionneuse img {
  width: 100%; max-height: 82vh; object-fit: contain;
  border-radius: var(--rayon); background: var(--nasse);
}
.visionneuse__legende {
  margin: .9rem 0 0; text-align: center; font-size: .9375rem; color: var(--etang);
}
.visionneuse__fermer {
  position: absolute; top: -48px; right: -4px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(253, 247, 236, .5); background: rgba(17, 36, 55, .8);
  color: var(--craie); font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.visionneuse__fermer:hover { background: var(--nasse-2); }

/* --- 11. APÉRITIF : bandeau pleine largeur + trois colonnes ---------------- */

/* une photo qui sort des marges : elle respire, et elle coupe le rythme */
.bandeau { margin: clamp(2rem, 5vw, 3rem) 0 clamp(2.5rem, 6vw, 4rem); }
.bandeau img {
  width: 100%; height: clamp(220px, 34vw, 460px); object-fit: cover;
  object-position: 50% 45%;
}
.bandeau figcaption {
  max-width: var(--largeur); margin: .9rem auto 0; padding: 0 var(--marge-sure);
  font-size: .9375rem; color: var(--texte-2);
}

.trio {
  display: grid; gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.colonne { display: flex; flex-direction: column; gap: .35rem; }
.colonne h3 { margin: 0 0 1rem; }
.colonne > p { color: var(--texte-2); }

/* listes prix : nom à gauche, prix à droite, filet de séparation */
.liste-prix { display: grid; }
.liste-prix li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .6rem 0; border-bottom: 1px solid var(--filet);
}
.liste-prix li:last-child { border-bottom: 0; }
.liste-prix b { font-weight: 600; white-space: nowrap; }
.liste-prix em {
  font-style: normal; font-size: .8125rem; color: var(--texte-2);
  text-transform: uppercase; letter-spacing: .08em; margin-left: .4em;
}

.vignettes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 1.25rem; }
.vignettes img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--rayon-petit);
}
.colonne__photo {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--rayon); margin-top: auto; padding-top: 1.25rem;
}

/* --- 12. CRIÉE (coquillages) ---------------------------------------------- */
.criee { border-top: 1px solid var(--filet); }
.criee__ligne {
  display: grid; gap: 1rem;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  padding: 1.25rem 0; border-bottom: 1px solid var(--filet);
}
@media (min-width: 680px) {
  .criee__ligne { grid-template-columns: 116px minmax(0, 1fr) auto; gap: 1.75rem; }
}
.criee__photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--rayon-petit); }
.criee__nom { margin: 0 0 .2rem; font-size: clamp(1.15rem, 3.6vw, 1.45rem); }
.criee__desc { font-size: .9375rem; color: var(--texte-2); margin: .3rem 0 0; }
.criee__prix { grid-column: 1 / -1; }
@media (min-width: 680px) { .criee__prix { grid-column: auto; justify-self: end; } }

/* --- 13. FEU DE BOIS ------------------------------------------------------ */
.feu { position: relative; overflow: hidden; }
.feu::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(201, 96, 28, .22), transparent 60%);
}
.feu > * { position: relative; }

.feu__grille { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .feu__grille { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }

.feu__photo { margin: 0; }
.feu__photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--rayon);
}
.feu__texte h2 { padding-bottom: .4rem; border-bottom: 2px solid var(--braise); display: inline-block; }

/* les trois cuissons, en colonnes serrées */
.feu__plats {
  display: grid; gap: 1rem 2rem; margin: clamp(1.75rem, 4vw, 2.25rem) 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  padding-top: 1.5rem; border-top: 1px solid rgba(169, 206, 225, .22);
}
.feu__plats li { display: flex; flex-direction: column; gap: .15rem; }
.feu__plats b {
  font-family: var(--f-display); font-style: italic; font-weight: 600;
  text-transform: uppercase; font-size: 1.25rem; color: var(--craie);
}
.feu__plats span { font-size: .9375rem; color: var(--gris-clair); }
.feu__lien { margin: 0; }

/* la spécialité, en bloc vedette */
.vedette {
  display: grid; gap: 0; align-items: stretch;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  background: var(--nasse-2); border-radius: var(--rayon); overflow: hidden;
  border-left: 3px solid var(--braise);
}
@media (min-width: 760px) { .vedette { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.vedette__photo { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.vedette__texte {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: flex; flex-direction: column; gap: .5rem; justify-content: center;
}
.vedette__texte h3 { margin: 0; font-size: clamp(1.5rem, 4.5vw, 2.25rem); }
.vedette__texte p { color: var(--gris-clair); margin: 0; }
.vedette__prix {
  font-family: var(--f-display); font-style: italic; font-weight: 700;
  font-size: clamp(2rem, 6vw, 2.75rem); line-height: 1;
  color: var(--ampoule) !important; margin-top: .5rem !important;
}

/* --- 14. MIDI (bloc cyan) ------------------------------------------------- */
.midi { background: var(--ciel); color: var(--nasse); padding-block: clamp(3rem, 7vw, 4.5rem); }
.midi h2, .midi h3 { color: var(--nasse); }
.midi .chapo { color: #0D3448; margin-bottom: 1.5rem; }
.midi .surtitre { color: #0A4763; }

.midi__grille { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 820px) { .midi__grille { grid-template-columns: minmax(0, 1fr) auto; } }

.midi__mentions { font-size: .9375rem; color: #0D3448; display: grid; gap: .3rem; }
.midi__mentions li { padding-left: 1.1rem; position: relative; }
.midi__mentions li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: #0A4763;
}
.midi__bouton { margin-top: 1.75rem; color: var(--nasse); border-color: var(--nasse); }
.midi__bouton:hover { background: rgba(17, 36, 55, .1); }

.midi__etiquettes { display: grid; gap: 1.25rem; }
@media (min-width: 520px) and (max-width: 819px) { .midi__etiquettes { grid-template-columns: repeat(2, 1fr); } }
.midi .etiquette { background: var(--chaux); color: var(--encre); }
.etiquette--grande { padding: 1.1rem 2rem 1.2rem 2.2rem; min-width: 14rem; }
.etiquette--grande .etiquette__nom { font-size: .8125rem; line-height: 1.5; }
.etiquette--grande .etiquette__prix { font-size: clamp(2rem, 6vw, 2.75rem); margin-top: .3rem; }

/* --- 15. AVIS -------------------------------------------------------------- */
.avis { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: center; }
@media (min-width: 860px) { .avis { grid-template-columns: 280px minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem); } }

/* la carte de note, façon fiche Google */
.avis__note {
  background: var(--surface); border-radius: var(--rayon);
  padding: clamp(1.75rem, 4vw, 2.25rem) 1.5rem;
  text-align: center; display: grid; justify-items: center; gap: .4rem;
  border-top: 3px solid var(--accent);
}
.avis__google { width: 30px; height: 30px; }
.avis__source {
  margin: 0; font-size: .8125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; color: var(--texte-2);
}
.avis__chiffre {
  margin: .2rem 0 0; line-height: 1;
  font-family: var(--f-display); font-style: italic; font-weight: 700;
  font-size: clamp(3rem, 9vw, 4rem); color: var(--texte);
}
.avis__chiffre span { font-size: .4em; color: var(--texte-2); margin-left: .1em; }
.avis__nombre { margin: 0; font-size: .9375rem; color: var(--texte-2); }
.avis__bouton { margin-top: .9rem; min-height: 48px; font-size: .9375rem; }

/* cinq étoiles, remplies au prorata de la note */
.etoiles { position: relative; display: inline-block; line-height: 0; margin: .15rem 0 .35rem; }
.etoiles__vides, .etoiles__pleines { display: flex; gap: 3px; }
.etoiles svg { width: 20px; height: 20px; flex: none; }
.etoiles__vides { color: var(--filet); }
.etoiles__pleines {
  position: absolute; inset: 0; overflow: hidden; color: #F5A623;
}

/* les thèmes qui reviennent, sans chiffres : c'est un restaurant, pas un tableau de bord */
.avis__mots .chapo { margin-bottom: 1.75rem; }
.themes { display: flex; flex-wrap: wrap; gap: .6rem; }
.themes li {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .95rem; border-radius: 99px;
  border: 1px solid var(--filet); background: var(--surface);
  font-size: .9375rem; font-weight: 600; color: var(--texte);
}
.themes svg { width: 18px; height: 18px; flex: none; color: var(--accent); }

/* --- 16. VENIR ------------------------------------------------------------ */
.venir__tete { text-align: center; margin-bottom: clamp(2.5rem, 6vw, 3.5rem); }
.venir__medaillon { width: 72px; height: 72px; color: var(--etang); margin: 0 auto 1.25rem; }
.venir__tete .surtitre { color: var(--cyan-clair); }
.venir__tete .chapo { margin-inline: auto; }

.venir__grille { display: grid; gap: clamp(2rem, 5vw, 3rem); align-items: start; }
@media (min-width: 900px) { .venir__grille { grid-template-columns: 1.1fr .9fr; } }

.venir__carte { display: flex; flex-direction: column; gap: 1rem; }
.venir__carte iframe {
  width: 100%; aspect-ratio: 4 / 3; border: 0; display: block;
  border-radius: var(--rayon); background: var(--nasse-2);
}
@media (min-width: 900px) { .venir__carte iframe { aspect-ratio: 1 / 1; } }
.venir__itineraire { align-self: start; }

.venir__infos { display: grid; gap: 1.75rem; }
.venir__bloc { display: grid; gap: .35rem; }
.venir__label {
  font-size: .8125rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; color: var(--cyan-clair); margin: 0;
}
.venir__note { font-size: .9375rem; color: var(--gris-clair); margin: 0; line-height: 1.55; }
.venir__infos a { color: var(--cyan-clair); }
.venir__infos .tel-gros { color: var(--ampoule); }

/* la jauge et les étoiles restent visibles sur fond sombre */
:root[data-heure="soir"] .etoiles__vides { color: #35506A; }
:root[data-heure="soir"] .themes li { border-color: #35506A; }

.reseaux { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .35rem; }
.reseau {
  display: inline-flex; align-items: center; gap: .6rem;
  min-height: 44px; padding: 0 1rem;
  border: 1.5px solid rgba(169, 206, 225, .45); border-radius: var(--rayon);
  color: var(--craie); text-decoration: none;
  font-size: .9375rem; font-weight: 600;
  transition: border-color .2s ease, background-color .2s ease;
}
.reseau:hover { border-color: var(--cyan-clair); background: rgba(92, 200, 240, .12); }
.reseau__icone { width: 20px; height: 20px; flex: none; color: var(--cyan-clair); }

/* --- 17. PIED ------------------------------------------------------------- */
.pied {
  background: var(--nasse-2); color: var(--craie);
  padding: clamp(3rem, 7vw, 4.5rem) var(--gouttiere) 2.5rem;
  text-align: center;
}
/* la barre d'appel est fixée en bas : on lui réserve sa place, sinon elle
   recouvre la dernière ligne du pied de page. Écrit APRÈS .pied, sans quoi
   la règle serait annulée par le raccourci padding ci-dessus. */
@media (max-width: 899px) {
  .pied { padding-bottom: calc(var(--barre-h) + env(safe-area-inset-bottom) + 2rem); }
}
.pied__medaillon { width: 56px; height: 56px; color: var(--etang); margin: 1.5rem auto; }
.pied__logo { width: 190px; margin: 0 auto; }
.pied__legal {
  font-size: .8125rem; color: var(--gris-clair); line-height: 1.7;
  border-top: 1px solid rgba(169, 206, 225, .22); padding-top: 1.75rem; margin-top: 1.5rem;
}
.pied__legal a { color: var(--etang); }

/* =============================================================================
   PAGE CARTE — fond clair en permanence : une carte se lit en plein soleil
   ========================================================================== */
.page-carte { --fond: var(--chaux); --texte: var(--encre); --texte-2: var(--gris);
              --surface: var(--chaux-2); --filet: #DED5C6; --accent: var(--cyan-fonce);
              --lien: var(--verre); --focus: var(--cyan-fonce);
              background: var(--chaux); color: var(--encre); }

.carte-tete {
  text-align: center;
  padding: clamp(4.5rem, 10vw, 7rem) var(--gouttiere) clamp(2rem, 5vw, 3rem);
  max-width: var(--etroit); margin: 0 auto;
}
.carte-tete__medaillon { width: 120px; height: 120px; color: var(--encre); margin: 0 auto 1.5rem; }
.carte-tete h1 { font-size: clamp(2.5rem, 9vw, 4.5rem); margin-bottom: .6rem; }
.carte-tete .chapo { margin: 0 auto; }

.carte-formules {
  max-width: var(--largeur); margin: 0 auto clamp(2rem, 5vw, 3rem);
  padding: 1.5rem var(--gouttiere);
}
.carte-formules__bandeau {
  background: var(--ciel); color: var(--nasse); border-radius: var(--rayon);
  padding: clamp(1.5rem, 4vw, 2rem);
  display: grid; gap: 1.25rem;
}
@media (min-width: 760px) {
  .carte-formules__bandeau { grid-template-columns: auto 1fr; align-items: center; gap: 2.5rem; }
}
.carte-formules h2 { font-size: clamp(1.5rem, 4.5vw, 2rem); margin: 0; color: var(--nasse); }
.carte-formules .etiquette { background: var(--chaux); }
.carte-formules__prix { display: flex; flex-wrap: wrap; gap: 1rem; }
.carte-formules__note { font-size: .9375rem; color: #0D3448; margin: .75rem 0 0; }

/* sommaire collant */
.sommaire {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 242, 234, .96);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--filet);
}
@media (min-width: 900px) { .sommaire { top: 60px; } }
.sommaire { position: sticky; }
.sommaire__rail {
  display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none;
  max-width: var(--largeur); margin: 0 auto; padding: .5rem var(--marge-sure);
  /* un dégradé au bord droit dit qu'il reste des catégories à faire défiler */
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent);
          mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent);
}
@media (min-width: 900px) {
  .sommaire__rail { -webkit-mask-image: none; mask-image: none; }
}
.sommaire__rail::-webkit-scrollbar { display: none; }
.sommaire a {
  flex: none; padding: .55rem .85rem; border-radius: var(--rayon-petit);
  font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
  color: var(--gris); text-decoration: none; white-space: nowrap;
}
.sommaire a:hover { color: var(--encre); background: var(--surface); }
.sommaire a[aria-current="true"] { color: var(--cyan-fonce); background: var(--surface); }

.carte-bloc {
  max-width: var(--largeur); margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) var(--gouttiere);
  scroll-margin-top: 64px;
}
@media (min-width: 900px) { .carte-bloc { scroll-margin-top: 124px; } }
.carte-bloc + .carte-bloc { border-top: 1px solid var(--filet); }
.carte-bloc__tete { margin-bottom: clamp(1.5rem, 4vw, 2.25rem); }
.carte-bloc h2 { color: var(--cyan-fonce); }
.carte-bloc__note { font-size: .9375rem; color: var(--texte-2); margin: .5rem 0 0; max-width: 58ch; }
.carte-bloc__pied { font-size: .9375rem; color: var(--texte-2); margin-top: 1.75rem; font-style: italic; }

/* lignes de plats — prix alignés sur un filet droit, jamais de pointillés */
.plats { display: grid; }
@media (min-width: 900px) { .plats--deux { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3.5rem; } }
.plat {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: .5rem 1.5rem; align-items: baseline;
  padding: .85rem 0; border-bottom: 1px solid var(--filet);
}
.plat__nom { font-size: 1.0625rem; font-weight: 600; margin: 0; font-family: var(--f-ui);
             font-style: normal; text-transform: none; letter-spacing: 0; line-height: 1.35; }
.plat__desc { font-size: .9375rem; color: var(--texte-2); margin: .2rem 0 0; }
.plat__prix { font-weight: 600; white-space: nowrap; text-align: right; }
.plat__prix--duo { font-size: .9375rem; white-space: normal; text-align: right; }
@media (max-width: 420px) {
  /* à l'étroit, le prix passe sous le nom plutôt que de le comprimer */
  .plat { grid-template-columns: minmax(0, 1fr); }
  .plat__prix { text-align: left; }
}
.plat__prix--jour { font-weight: 400; font-size: .9375rem; color: var(--texte-2); font-style: italic; }
.plat__tag {
  display: inline-block; margin: .4rem 0 0;
  font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em;
  color: var(--accent);
}
.qte { font-size: .8125rem; font-weight: 600; text-transform: uppercase;
       letter-spacing: .1em; color: var(--texte-2); margin-right: .25em; }

/* menu 39 */
.menu39 {
  margin-top: clamp(2rem, 5vw, 3rem);
  background: var(--surface); border-radius: var(--rayon);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.menu39__tete { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1rem; margin-bottom: 1.5rem; }
.menu39__tete h3 { margin: 0; font-size: clamp(1.5rem, 5vw, 2rem); }
.menu39__prix {
  font-family: var(--f-display); font-style: italic; font-weight: 700;
  font-size: clamp(1.75rem, 6vw, 2.5rem); color: var(--cyan-fonce); margin: 0; line-height: 1;
}
.menu39__corps { display: grid; gap: 1.75rem; }
@media (min-width: 760px) { .menu39__corps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
.menu39 h4 {
  font-size: .8125rem; letter-spacing: .14em; color: var(--texte-2);
  margin-bottom: .75rem; font-family: var(--f-ui); font-style: normal; font-weight: 600;
}
.menu39 li { padding: .35rem 0; }
.menu39__fromage { font-size: .9375rem; color: var(--texte-2); margin-top: 1rem; }

/* plateaux */
.plateaux { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
@media (min-width: 680px) { .plateaux { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plateau {
  background: var(--surface); border-radius: var(--rayon);
  padding: clamp(1.5rem, 4vw, 2rem);
  display: flex; flex-direction: column; gap: .75rem;
}
.plateau--gourmand { background: var(--nasse); color: var(--craie); }
.plateau--gourmand h3 { color: var(--craie); }
.plateau__nom { margin: 0; }
.plateau__prix {
  font-family: var(--f-display); font-style: italic; font-weight: 700;
  font-size: clamp(2rem, 7vw, 2.75rem); line-height: 1; margin: 0; color: var(--cyan-fonce);
}
.plateau--gourmand .plateau__prix { color: var(--ampoule); }
.plateau__liste li { padding: .2rem 0; }
.plateau--gourmand .plateau__liste li { color: var(--craie); }

.sur-commande {
  display: flex; align-items: center; gap: .6rem;
  margin-top: 1.5rem; font-size: .9375rem; color: var(--texte-2);
}

/* glaces */
.glaces { margin-top: clamp(2rem, 5vw, 3rem); padding-top: 2rem; border-top: 1px solid var(--filet); }
.glaces__boules { font-weight: 600; margin-bottom: .5rem; }
.glaces__parfums { font-size: .9375rem; color: var(--texte-2); max-width: 58ch; }
.coupes { display: grid; gap: 2rem; margin-top: 2rem; }
@media (min-width: 760px) { .coupes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem; } }
.coupes h4 { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
             margin-bottom: .5rem; font-family: var(--f-display); font-style: italic;
             text-transform: uppercase; font-weight: 600; }
.coupes__prix { color: var(--cyan-fonce); }

/* fin de carte */
.carte-fin {
  background: var(--nasse); color: var(--craie); text-align: center;
  padding: clamp(3.5rem, 8vw, 5rem) var(--gouttiere);
}
.carte-fin h2 { color: var(--craie); }
.carte-fin p { color: var(--gris-clair); max-width: 44ch; margin: 0 auto 2rem; }
.carte-fin__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.carte-fin .btn--fantome { border-color: var(--craie); }

/* La barre de navigation flotte au-dessus de la photo du héros :
   on décale le logo pour qu'il ne passe pas dessous. Déclaré ici, après
   le raccourci `padding` du héros, sans quoi il serait écrasé. */
@media (max-width: 899px) {
  .heros { padding-top: 76px; }
}

/* --- 18. IMPRESSION ------------------------------------------------------- */
@media print {
  .entete, .barre, .sommaire, .heros, .carte-fin,
  .venir__carte, .galerie, .visionneuse, .lieu__bandeau { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  /* les aplats sombres n'existent pas sur papier : tout repasse en noir sur blanc */
  .section--sombre, .sur-sombre, .pied, .plateau--gourmand, .menu39, .encart,
  .midi, .etiquette, .horaire--aujourdhui, .carte-formules__bandeau {
    background: #fff !important; color: #000 !important;
  }
  .section--sombre *, .sur-sombre *, .pied *, .plateau--gourmand *,
  .midi *, .etiquette *, .carte-formules__bandeau * { color: #000 !important; }
  .figure, .criee__photo, .encart img { display: none; }
  .carte-bloc { padding: 0 0 1.5rem; break-inside: avoid; }
  .plat { break-inside: avoid; }
  a[href^="tel"]::after { content: " " attr(href); font-size: 9pt; }
}
