/* =========================================================
   Le Grand Comptoir de Boulogne — « brasserie lumineuse »
   Palette tirée de la salle : lin, cuir cognac, bleu faïence, doré du logo.
   Les couleurs se changent uniquement dans :root.
   ========================================================= */

/* Polices hébergées sur le site (licence SIL OFL, voir polices/) */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("polices/playfair-v1.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400 900; font-display: swap; src: url("polices/playfair-italique-v1.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("polices/figtree-v2.woff2") format("woff2"); }

:root {
  --blanc: #fdfcfa;        /* fond principal */
  --carte-fond: #f8f3eb;   /* cartes, formulaires : blanc cassé chaud, moins éclatant que le blanc pur */
  --lin: #f1ebe2;          /* sections alternées */
  --filet: #e3dbcf;
  --encre: #231c16;        /* texte */
  --gris: #6e655c;         /* texte secondaire */
  --cognac: #8b5431;       /* boutons principaux (cuir des chaises) */
  --cognac-fonce: #6f4126;
  --cognac-pale: #f5ebe1;
  --faience: #4a687d;      /* bleu du papier peint : liens, détails */
  --faience-pale: #e9eff3;
  --laiton: #d9b27a;       /* doré du logo */
  --laiton-fonce: #9c7a45;
  --nuit: #1e1814;         /* pied de page, voiles sur photo */
  --spritz: #b84a1a;       /* happy hour (assez foncé pour un texte lisible : contraste ≥ 4,5:1) */
  --vege: #4c7a3c;
  --erreur: #b5432a;

  --display: "Playfair Display", Georgia, serif;
  --texte: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mesure: 68ch;
  --gouttiere: clamp(16px, 4vw, 40px);
  --rayon: 14px;
  --h-entete: 64px;
  --ombre: 0 18px 40px -26px rgba(35, 28, 22, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
/* Les ancres (#reserver, #acces…) s'arrêtent sous l'en-tête collant au lieu de passer dessous */
html { scroll-padding-top: calc(var(--h-entete) + 16px); }
html:has(.page-carte) { scroll-padding-top: calc(var(--colle, 114px) + 4.2rem); scroll-padding-bottom: 90px; }
body { margin: 0; background: var(--blanc); color: var(--encre); font-family: var(--texte); font-size: 1.0625rem; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cognac); outline-offset: 3px; }
/* zones sombres : on garde le doré */
.pied :focus-visible, .heros :focus-visible, .tete-page :focus-visible, .bandeau-cookies :focus-visible,
.entete.transparente:not(.defile) :focus-visible { outline-color: var(--laiton); }
.annonce :focus-visible { outline-color: #fff; }
p { margin: 0 0 1rem; max-width: var(--mesure); }
h2 { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; margin: 0 0 1.1rem; color: var(--encre); }
h3 { font-family: var(--display); font-weight: 500; font-size: 1.45rem; line-height: 1.2; margin: 2rem 0 .8rem; color: var(--encre); }
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.conteneur { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gouttiere); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saut { position: absolute; left: -999px; top: 0; background: var(--laiton); color: var(--encre); padding: .6rem 1rem; z-index: 100; }
.saut:focus { left: 1rem; top: 1rem; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--cognac); color: #fff; border: 1px solid var(--cognac);
  padding: .72rem 1.35rem; border-radius: 999px;
  font: 600 .98rem/1.2 var(--texte); text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.bouton:hover { background: var(--cognac-fonce); border-color: var(--cognac-fonce); }
.bouton:active { transform: translateY(1px); }
.bouton.secondaire { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); backdrop-filter: blur(4px); }
.bouton.secondaire:hover { background: rgba(255,255,255,.22); }
.bouton.secondaire-clair, .bouton.retour { background: transparent; color: var(--encre); border-color: #cfc5b7; }
.bouton.secondaire-clair:hover, .bouton.retour:hover { border-color: var(--encre); background: transparent; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(236,226,212,.48); backdrop-filter: saturate(1.2) blur(16px); -webkit-backdrop-filter: saturate(1.2) blur(16px);
  color: var(--encre); border-bottom: 1px solid rgba(35,28,22,.1);   /* filet sombre et léger : pas de ligne claire sur la photo */
  transition: background .25s, color .25s, border-color .25s;
}
/* Pages intérieures : la photo sombre passe derrière l'en-tête ; fond plus couvrant pour garder le texte lisible (≥ 7:1) */
.interieur .entete { background: rgba(236,226,212,.72); }
.entete .conteneur { display: flex; align-items: center; gap: 1rem; min-height: var(--h-entete); }
.marque { font-family: var(--display); font-weight: 500; font-size: 1.2rem; text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.marque { display: inline-flex; align-items: center; gap: .55rem; }
.logo-entete { height: 48px; width: auto; display: block; flex-shrink: 0; }
@media (max-width: 420px) { .logo-entete { height: 36px; } .marque { gap: .35rem; font-size: 1rem; } .entete .conteneur { gap: .6rem; } }
@media (max-width: 369px) { .marque span { display: none; } .logo-entete { height: 42px; } }
.nav { display: flex; align-items: center; gap: clamp(.9rem, 2.4vw, 1.8rem); margin-left: auto; }
.nav a { text-decoration: none; font-size: .95rem; }
.nav a:not(.bouton):hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--cognac); text-decoration-thickness: 2px; text-underline-offset: .45em; }
.nav .bouton { padding: .5rem 1.1rem; font-size: .92rem; }
/* Accueil : en-tête transparent sur la photo, puis clair au défilement */
.entete.transparente:not(.defile) { background: transparent; backdrop-filter: none; border-color: transparent; color: #fff; }
.entete.transparente:not(.defile) .nav a:not(.bouton):hover { color: var(--laiton); }
.entete.transparente:not(.defile) .langues > button, .entete.transparente:not(.defile) .menu-mobile { color: #fff; border-color: rgba(255,255,255,.55); }

.menu-mobile { display: none; background: none; border: 1px solid #cfc5b7; color: inherit; font: 600 .92rem var(--texte); padding: .42rem .9rem; border-radius: 999px; cursor: pointer; }
.nav-mobile { background: var(--blanc); border-top: 1px solid var(--filet); color: var(--encre); }
.nav-mobile .conteneur { display: flex; flex-direction: column; align-items: stretch; padding-top: .4rem; padding-bottom: .8rem; min-height: 0; }
.nav-mobile a { text-decoration: none; padding: .85rem 0; border-bottom: 1px solid var(--filet); font-size: 1.05rem; }
.nav-mobile a:last-child { border-bottom: 0; }
.nav-mobile a[aria-current="page"] { color: var(--cognac); }

/* Sélecteur de langue */
.langues { position: relative; }
.langues > button { display: flex; align-items: center; gap: .45rem; cursor: pointer; background: none; color: inherit; border: 1px solid #cfc5b7; padding: .38rem .6rem; border-radius: 999px; font: 600 .82rem var(--texte); }
.drapeau { width: 20px; height: auto; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.15); flex-shrink: 0; display: block; }
#liste-langues { position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; list-style: none; margin: 0; padding: .35rem; min-width: 200px; background: #fff; color: var(--encre); border-radius: 12px; box-shadow: 0 18px 40px -14px rgba(0,0,0,.4); }
#liste-langues a { display: flex; align-items: center; gap: .7rem; padding: .6rem .75rem; border-radius: 8px; text-decoration: none; font-size: .98rem; }
#liste-langues a:hover, #liste-langues a:focus-visible { background: var(--lin); }
#liste-langues a[aria-current] { font-weight: 600; background: var(--cognac-pale); }

@media (max-width: 720px) {
  .nav { display: none; }
  .menu-mobile { display: inline-block; }
  .langues { margin-left: auto; }
  .langues > button span { display: none; }
}
@media (min-width: 721px) { .nav-mobile { display: none !important; } }

/* Barre d'actions sur téléphone : légère, seul « Réserver » est mis en avant */
.barre-actions { display: none; }
@media (max-width: 720px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .barre-actions {
    display: flex; align-items: center; gap: .4rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: .55rem .7rem calc(.55rem + env(safe-area-inset-bottom));
    background: rgba(253,252,250,.94); backdrop-filter: saturate(1.4) blur(12px);
    border-top: 1px solid var(--filet);
  }
  .barre-actions a { flex: 1; display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 46px; border-radius: 999px; text-decoration: none; color: var(--encre); font-size: .86rem; font-weight: 600; }
  .barre-actions a:first-child { flex: 1.5; background: var(--cognac); color: #fff; }
  .barre-actions svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
}

/* Bandeau d'annonce */
.annonce { background: var(--spritz); color: #fff; display: flex; align-items: center; justify-content: center; gap: 1rem; padding: .6rem var(--gouttiere); text-align: center; position: relative; z-index: 55; }
.annonce p { margin: 0; font-weight: 600; max-width: none; }
.annonce button { background: none; border: 0; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0; min-width: 44px; min-height: 44px; margin: -.6rem 0; display: inline-grid; place-items: center; flex-shrink: 0; border-radius: 50%; }
.annonce button:hover { background: rgba(255,255,255,.15); }

/* Filet doré (remplace l'ancienne frise) */
.mosaique { height: 7px; border-top: 1px solid var(--laiton); border-bottom: 1px solid var(--laiton); background: var(--blanc); }

/* =========================================================
   Accueil
   ========================================================= */
.entete.transparente ~ main .heros { margin-top: calc(-1 * var(--h-entete)); }
.heros { position: relative; color: #fff; text-align: center; min-height: min(92svh, 860px); display: grid; align-items: end; overflow: hidden; background: var(--nuit); }
.heros-photo, .heros-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.heros-photo img { object-fit: cover; object-position: 50% 45%; }
.heros::after { content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 48% at 50% 66%, rgba(30,24,20,.62), rgba(30,24,20,0) 100%),
    linear-gradient(180deg, rgba(30,24,20,.55) 0%, rgba(30,24,20,.12) 30%, rgba(30,24,20,.3) 55%, rgba(30,24,20,.88) 100%); }
@media (max-width: 720px) { .heros::after { background: radial-gradient(ellipse 95% 50% at 50% 66%, rgba(30,24,20,.6), rgba(30,24,20,0) 100%), linear-gradient(180deg, rgba(30,24,20,.55) 0%, rgba(30,24,20,.2) 28%, rgba(30,24,20,.45) 55%, rgba(30,24,20,.9) 100%); } }
.heros .conteneur { position: relative; z-index: 1; padding-top: calc(var(--h-entete) + 2rem); padding-bottom: clamp(2.5rem, 7vw, 4.5rem); }
.heros h1 { margin: 0; }
.logo-heros { display: block; width: min(330px, 72vw); height: auto; margin: 0 auto 1rem; filter: drop-shadow(0 2px 12px rgba(0,0,0,.35)); }
.heros p { margin-left: auto; margin-right: auto; }
.heros .sous-titre { margin: 0 auto .5rem; font-size: 1.12rem; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.heros .statut { margin: 0 auto 1rem; font-size: .95rem; color: rgba(255,255,255,.9); min-height: 1.6em; }
.heros .statut .point { display: inline-block; width: .55em; height: .55em; border-radius: 50%; background: #8fd1a6; margin-right: .45em; vertical-align: .1em; }
.heros .statut.ferme .point { background: #e3a189; }
.happy-heros { margin: -.4rem auto 1.4rem; color: rgba(255,255,255,.9); font-size: .95rem; }
.happy-heros.en-cours { display: inline-block; background: var(--spritz); color: #fff; font-weight: 600; padding: .35rem .95rem; border-radius: 99px; }
.heros .actions { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin-top: .4rem; }
.heros .actions .bouton { padding: .85rem 1.5rem; font-size: 1rem; }
.pastille { display: inline-block; width: .5em; height: .5em; border-radius: 50%; background: #fff; margin-right: .5em; vertical-align: .1em; animation: pouls 1.8s ease-in-out infinite; }
@keyframes pouls { 50% { opacity: .35; } }

/* Plat du jour */
.midi { padding: clamp(2.5rem, 6vw, 3.5rem) 0 0; }
.pdj { max-width: 720px; margin: 0 auto; text-align: center; background: var(--carte-fond); border-radius: var(--rayon); box-shadow: var(--ombre); border-top: 3px solid var(--laiton); padding: clamp(1.4rem, 4vw, 2.1rem) clamp(1.1rem, 4vw, 2.5rem); }
.pdj p { margin-left: auto; margin-right: auto; }
.pdj-quand { font-weight: 600; color: var(--cognac); margin-bottom: .3rem; }
.pdj-plat { font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.2; color: var(--encre); margin-bottom: .5rem; }
.pdj-formule { color: var(--gris); margin-bottom: .8rem; }
.pdj-details { text-align: left; max-width: 520px; margin: 0 auto; }
.pdj-details summary { text-align: center; cursor: pointer; color: var(--faience); font-weight: 600; }
.semaine { list-style: none; margin: .8rem 0 0; padding: 0; }
.semaine li { display: grid; grid-template-columns: 7.6rem 1fr; gap: 1rem; padding: .55rem 0; border-bottom: 1px dotted #cfc5b7; }
.semaine .jour { font-weight: 600; }
.semaine li.cible { color: var(--cognac); }
.semaine li.cible .jour::after { content: ""; display: inline-block; width: .45em; height: .45em; border-radius: 50%; background: var(--laiton); margin-left: .45em; vertical-align: .15em; }
.pdj-piece { margin: .8rem 0 0; font-size: .97rem; }
.pdj-piece .prix, .prix-titre { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }

/* Présentation, horaires */
.intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 820px) { .intro { grid-template-columns: 1fr; } }
.accroche { font-family: var(--texte); font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.6; }
.horaires { background: var(--carte-fond); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 1.4rem 1.6rem; }
.horaires h3 { margin-top: 0; }
.horaires dl { margin: 0; }
.horaires .ligne { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--filet); }
.horaires .ligne:last-child { border-bottom: 0; }
.horaires dt { font-weight: 600; }
.horaires dd { margin: 0; font-variant-numeric: tabular-nums; }
.horaires .ligne.aujourdhui { color: var(--cognac); }
.horaires .note { margin: .8rem 0 0; font-size: .93rem; color: var(--gris); }

/* Aperçu de la carte */
.carte { background: var(--lin); }
.apercu-carte { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 820px) { .apercu-carte { grid-template-columns: 1fr; } }
.liens-cartes { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.liens-cartes a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.2rem; border-radius: 12px; background: var(--carte-fond); box-shadow: 0 10px 24px -20px rgba(35,28,22,.5);
  font-family: var(--display); font-weight: 500; font-size: 1.3rem; text-decoration: none; transition: transform .15s, box-shadow .15s;
}
.liens-cartes a::after { content: ""; width: .5em; height: .5em; border-top: 2px solid var(--cognac); border-right: 2px solid var(--cognac); transform: rotate(45deg); margin-right: .3em; }
.liens-cartes a:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -20px rgba(35,28,22,.6); }

/* Photos */

/* Réservation */
.reservation { background: var(--faience-pale); }
.reservation .module { background: var(--carte-fond); border-radius: var(--rayon); box-shadow: var(--ombre); margin-top: 1.6rem; min-height: 120px; padding: clamp(.5rem, 2vw, 1rem); }
.reservation .module .attente { padding: 1.5rem; text-align: center; color: var(--gris); }
.reservation .module .attente a, .reservation .groupes a { color: var(--cognac); font-weight: 600; }
.reservation .groupes { margin-top: 1.4rem; }

/* Réservation en ligne (module maison, site/reserver.js) : mêmes champs et boutons que le formulaire de privatisation */
.reservation .resa-accroche { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; padding: clamp(1.2rem, 3vw, 2rem); }
.resa-atouts { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.resa-atouts li { display: flex; gap: .6rem; align-items: baseline; }
.resa-atouts li::before { content: ""; flex-shrink: 0; width: .55rem; height: .9rem; border: solid var(--cognac); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-.15rem); }
.resa-accroche-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.resa-accroche-actions .bouton { padding: .95rem 1.7rem; font-size: 1.05rem; }
.resa-accroche-actions p { margin: 0; font-size: .92rem; color: var(--gris); }
.resa-accroche-actions p a { color: var(--cognac); font-weight: 600; }

/* Fenêtre de réservation (toutes les pages) */
.resa-fenetre { width: min(820px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 0; border-radius: 18px; background: var(--carte-fond); color: var(--encre); box-shadow: 0 40px 90px -30px rgba(20,14,10,.7); overflow: hidden; }
.resa-fenetre[open] { display: flex; flex-direction: column; animation: apparait .22s ease-out; }
.resa-fenetre::backdrop { background: rgba(30,24,20,.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
html.resa-ouverte { overflow: hidden; }
/* En-tête de la fenêtre, clair et léger : logo doré sur lin (comme Knife et les e-mails) */
.resa-fenetre-tete { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem clamp(1rem, 3vw, 1.6rem); background: var(--lin); color: var(--encre); border-bottom: 1px solid var(--filet); flex-shrink: 0; }
.resa-marque { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.resa-marque img { height: 46px; width: auto; flex-shrink: 0; }
.resa-nom { margin: 0 0 .1rem; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cognac); }
.resa-fenetre-tete h2 { margin: 0; font-size: clamp(1.3rem, 3.3vw, 1.6rem); color: var(--encre); }
.resa-propulse { margin: .1rem 0 0; font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); line-height: 1.2; }
.resa-propulse span { font-weight: 400; text-transform: none; letter-spacing: .04em; }
.resa-fermer { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #8c7f72; background: transparent; color: var(--encre); display: grid; place-items: center; cursor: pointer; }
.resa-fermer:hover { border-color: var(--encre); background: rgba(35,28,22,.05); }
@media (max-width: 520px) { .resa-nom span { display: none; } .resa-marque { gap: .65rem; } .resa-marque img { height: 40px; } }
@media (max-width: 360px) { .resa-marque img { height: 36px; } }
.resa-fermer svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.resa-fenetre .resa { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-bottom: max(clamp(.9rem, 3vw, 1.6rem), env(safe-area-inset-bottom)); scroll-padding: 1rem 0 5.5rem; }
/* Moins de défilement : questions plus serrées, boutons d'action toujours visibles en bas de la fenêtre,
   pas de zoom au double appui sur téléphone (le zoom à deux doigts reste possible) */
.resa-fenetre, .resa-fenetre * { touch-action: manipulation; }
.resa-fenetre .progression { margin-bottom: 1.1rem; }
.resa-fenetre .question { margin-bottom: 1.15rem; }
.resa-fenetre .question legend { margin-bottom: .5rem; }
.resa-fenetre #resa-suite { position: sticky; bottom: .2rem; z-index: 2; box-shadow: 0 12px 28px -12px rgba(35,28,22,.55); }
.resa-fenetre .actions-form { position: sticky; bottom: 0; z-index: 2; background: var(--carte-fond); border-top: 1px solid var(--filet); margin: 0 calc(-1 * clamp(.9rem, 3vw, 1.6rem)); padding: .75rem clamp(.9rem, 3vw, 1.6rem) .15rem; }
@media (max-width: 600px) {
  /* Plein écran ; quand le clavier du téléphone s'ouvre, reserver.js cale la fenêtre sur la partie visible (--resa-h, --resa-y) */
  .resa-fenetre { width: 100%; height: var(--resa-h, 100%); max-height: var(--resa-h, 100dvh); margin: 0; inset: 0 0 auto 0; border-radius: 0; transform: translateY(var(--resa-y, 0px)); }
  .resa-fenetre .resa { flex: 1; }
  /* Clavier ouvert : en-tête réduit au titre, étapes masquées, boutons dans le cours du formulaire (toute la place pour la saisie) */
  .resa-fenetre.clavier .resa-marque img, .resa-fenetre.clavier .resa-nom, .resa-fenetre.clavier .resa-propulse, .resa-fenetre.clavier .progression { display: none; }
  .resa-fenetre.clavier .resa-fenetre-tete { padding-block: .25rem; }
  .resa-fenetre.clavier .resa-fenetre-tete h2 { font-size: 1.15rem; }
  .resa-fenetre.clavier .actions-form, .resa-fenetre.clavier #resa-suite { position: static; box-shadow: none; }
}
.resa { padding: clamp(.9rem, 3vw, 1.6rem); }
.resa [hidden], .resa .progression[hidden] { display: none !important; }
.resa-choix { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-areas: "jour heure" "espace heure"; grid-template-rows: auto 1fr; gap: 0 clamp(1.5rem, 4vw, 2.5rem); align-items: start; }
.resa-choix > :first-child { grid-area: jour; }
#resa-q-heure { grid-area: heure; }
#resa-q-espace { grid-area: espace; }
@media (max-width: 760px) { .resa-choix { grid-template-columns: minmax(0, 1fr); grid-template-areas: "jour" "heure" "espace"; grid-template-rows: none; } }
.resa-pax .resa-pax-groupe span { min-width: 0; padding-inline: 1rem; }
.resa-espace .indice { margin: .55rem 0 0; }
.resa-renvoi { background: var(--lin); border-radius: 12px; padding: 1.1rem 1.2rem; margin: 0 0 1.4rem; }
.resa-renvoi p { margin: 0 0 .9rem; }
.resa-renvoi .bouton { padding: .85rem 1.4rem; }
/* Service en cours : bandeau compact (texte et bouton d'appel côte à côte quand la place le permet) */
.resa-renvoi.resa-encours { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; padding: .75rem 1rem; margin-bottom: 1.15rem; }
.resa-encours p { flex: 1 1 17rem; margin: 0; font-size: .95rem; line-height: 1.45; }
.resa-encours .bouton { padding: .6rem 1.1rem; font-size: .95rem; }
.resa-vide { color: var(--gris); font-size: .95rem; margin: 0; }
.resa p { max-width: none; }
.resa .bouton { padding: .95rem 1.4rem; font-size: 1.02rem; }
.resa-etape { display: none; }
.resa-etape.visible { display: block; animation: apparait .25s ease-out; }
.resa-pax { gap: .45rem; }
.resa-pax span { min-width: 2.9rem; text-align: center; padding: .6rem .55rem; }
.resa-groupe { font-size: .9rem; color: var(--gris); margin: .75rem 0 0; }
.resa-groupe a { color: var(--cognac); font-weight: 600; }
.resa-chargement { color: var(--gris); margin: .4rem 0; }
.resa-cal { max-width: 440px; }
.resa-cal-tete { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .6rem; }
.resa-cal-tete strong { font-family: var(--display); font-weight: 500; font-size: 1.2rem; }
.resa-cal-tete button { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; border: 1px solid #cfc5b7; background: #fff; color: var(--cognac); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.resa-cal-tete button:hover:not(:disabled) { border-color: var(--cognac); }
.resa-cal-tete button:disabled { opacity: .3; cursor: default; }
.resa-grille { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.resa-js { font-size: .75rem; font-weight: 600; color: var(--gris); text-align: center; padding: .15rem 0 .3rem; text-transform: capitalize; }
.resa-grille button { min-height: 44px; aspect-ratio: 1; border-radius: 10px; border: 1px solid transparent; background: var(--cognac-pale); color: var(--encre); font: 600 .98rem var(--texte); cursor: pointer; padding: 0; transition: background .15s, border-color .15s, color .15s; }
.resa-grille button:hover:not(:disabled) { border-color: var(--cognac); }
.resa-grille button:disabled { background: transparent; color: #a99d90; font-weight: 400; cursor: default; }
.resa-grille button.auj { border-color: var(--laiton); }
.resa-grille button[aria-pressed="true"] { background: var(--cognac); border-color: var(--cognac); color: #fff; }
.resa-service { margin-bottom: 1rem; }
.resa-service:last-child { margin-bottom: 0; }
.resa-service-titre { font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gris); margin: 0 0 .45rem; }
.resa-heures .puces { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.6rem, 1fr)); gap: .45rem; }
.resa-heures .puces span { display: block; text-align: center; padding: .6rem .3rem; }
.resa-optins { margin: .2rem 0 .4rem; }
.resa-optins .consentement { margin-bottom: .55rem; }
.resa-optins .indice { margin: 0 0 1rem; }
.resa-info { font-size: .88rem; color: var(--gris); }
.resa-info a { color: var(--faience); }
.resa-captcha:not(:empty) { margin: 0 0 1rem; }
.resa-fin { text-align: center; padding: .6rem 0 .4rem; }
.resa-fin h3 { margin: 0 0 1.1rem; }
.resa-fin h3:focus, #resa-titre:focus { outline: none; }
.resa-fin > p { margin: 0 auto 1.2rem; max-width: 46ch; }
.resa-coche { width: 58px; height: 58px; border-radius: 50%; background: var(--vege); display: grid; place-items: center; margin: 0 auto 1rem; animation: apparait .35s ease-out; }
.resa-coche svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.resa-carte { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.3fr; gap: .8rem 1rem; max-width: 640px; margin: 0 auto 1.2rem; padding: 1rem 1.1rem; background: var(--lin); border-radius: 12px; text-align: left; }
@media (max-width: 560px) { .resa-carte { grid-template-columns: 1fr 1fr; } }
.resa-carte dt { font-size: .8rem; color: var(--gris); }
.resa-carte dd { margin: .1rem 0 0; font-weight: 600; }
.resa-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.resa-question { font-weight: 600; }
.resa-confirmer .erreur { margin: 1rem auto 0; max-width: 46ch; }
.bouton.danger { background: var(--erreur); border-color: var(--erreur); }
.bouton.danger:hover { background: #8c2f1a; border-color: #8c2f1a; }

/* Instagram (publications copiées par le serveur, servies par le site) */
.insta-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.6rem; }
.insta-tete h2 { margin: 0; }
.insta-grille { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(.5rem, 1.2vw, .9rem); }
@media (max-width: 900px) { .insta-grille { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 559px) { .insta-grille { grid-template-columns: repeat(2, 1fr); } .insta-grille li:nth-child(n+5) { display: none; } }
.insta-grille a { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--lin); }
.insta-grille img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.insta-grille a:hover img { transform: scale(1.04); }
.insta-grille a:focus-visible { outline: 3px solid var(--cognac); outline-offset: 3px; }
.insta-video { position: absolute; top: .5rem; right: .5rem; padding: .15rem .55rem; border-radius: 999px; background: rgba(30,24,20,.72); color: #fff; font-size: .78rem; font-weight: 600; }

/* Accès */
.acces .grille { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 6vw, 4rem); align-items: start; }
@media (max-width: 820px) { .acces .grille { grid-template-columns: 1fr; } }
.acces address { font-style: normal; font-size: 1.1rem; line-height: 1.7; margin-bottom: 1.2rem; }
.acces .contact a { display: block; width: fit-content; margin: .35rem 0; font-weight: 600; color: var(--faience); }
.carte-geo { position: relative; aspect-ratio: 4 / 3; background: var(--lin); border-radius: var(--rayon); overflow: hidden; display: grid; place-items: center; text-align: center; padding: 1.5rem; }
.carte-geo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.carte-geo p { margin: 0 auto 1rem; font-size: .95rem; color: var(--gris); }
.memo-plan { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .9rem; font-size: .92rem; color: var(--gris); cursor: pointer; }
.memo-plan input { width: 1.1rem; height: 1.1rem; accent-color: var(--cognac); }

/* Pied de page */
.pied { background: var(--nuit); color: rgba(255,255,255,.78); padding: 2.6rem 0; font-size: .92rem; }
.pied .conteneur { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; justify-content: space-between; align-items: center; }
.pied .conteneur > div { display: flex; align-items: center; gap: 1.2rem; }
.pied .signature { font-family: var(--display); font-style: italic; color: var(--laiton); font-size: 1rem; white-space: nowrap; }
.pied .logo-pied { width: 104px; height: auto; display: block; }
.pied nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--laiton); }

/* =========================================================
   Pages intérieures : bandeau photo
   ========================================================= */
.tete-page {
  position: relative; color: #fff; text-align: center;
  padding: calc(clamp(2.8rem, 8vw, 5rem)) 0 clamp(2.4rem, 7vw, 4rem);
  background: linear-gradient(rgba(30,24,20,.62), rgba(30,24,20,.72)), var(--nuit) image-set(url("images/salle-1024.webp") 1x, url("images/salle-1600.webp") 2x) center 40% / cover no-repeat;
}
.tete-page h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.6rem, 8vw, 4.4rem); line-height: 1.05; color: #fff; margin: 0 0 .7rem; }
.tete-page p { margin: 0 auto; color: rgba(255,255,255,.9); }

.page-texte { padding: clamp(3rem, 7vw, 5rem) 0; }
.page-texte h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.2rem); margin: 0 0 1.4rem; line-height: 1.1; }
.page-texte h2 { font-size: 1.5rem; margin-top: 2.4rem; }
.page-texte h3 { margin-top: 1.6rem; }
.page-texte .maj { color: var(--gris); font-size: .92rem; }
.page-texte a { color: var(--faience); }
.a-remplir { background: #fff2bf; padding: 0 .25em; }

/* Tableau des informations mémorisées */
.tableau-cookies { overflow-x: auto; margin: 1rem 0 1.5rem; }
.tableau-cookies table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: .93rem; }
.tableau-cookies th, .tableau-cookies td { text-align: left; vertical-align: top; padding: .7rem .8rem .7rem 0; border-bottom: 1px solid var(--filet); }
.tableau-cookies thead th { border-bottom: 2px solid var(--encre); }
@media (max-width: 600px) {
  .tableau-cookies table { min-width: 0; }
  .tableau-cookies thead { position: absolute; left: -9999px; }
  .tableau-cookies tr { display: block; border-bottom: 1px solid var(--filet); padding: .6rem 0; }
  .tableau-cookies td { display: grid; grid-template-columns: 7.5rem 1fr; gap: .8rem; border: 0; padding: .25rem 0; }
  .tableau-cookies td::before { content: attr(data-label); font-weight: 600; color: var(--cognac); font-size: .85rem; }
  .tableau-cookies td:first-child { font-weight: 600; }
}
.prefs { border-radius: var(--rayon); background: var(--carte-fond); box-shadow: var(--ombre); padding: .4rem 1.2rem; margin: 1rem 0; max-width: 760px; }
.pref { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; padding: 1rem 0; border-bottom: 1px solid var(--filet); }
.pref:last-of-type { border-bottom: 0; }
.pref p { margin: .2rem 0 0; color: var(--gris); font-size: .92rem; }
.pref .bouton { flex-shrink: 0; }
.interrupteur { flex-shrink: 0; width: 52px; height: 30px; border-radius: 99px; border: 0; background: #cfc5b7; position: relative; cursor: pointer; transition: background .15s; }
.interrupteur::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.interrupteur[aria-checked="true"] { background: var(--cognac); }
.interrupteur[aria-checked="true"]::after { transform: translateX(22px); }
.pref-ok { color: var(--cognac); font-weight: 600; margin: .4rem 0 .8rem; min-height: 1.2em; }

/* =========================================================
   La carte
   ========================================================= */
.page-carte { padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.page-carte > .conteneur { max-width: 820px; }
.onglets { display: flex; gap: .3rem; margin: 0; border-bottom: 1px solid var(--filet); position: sticky; top: var(--entete, 65px); background: var(--lin); z-index: 10; }
.onglets button { font: 600 1rem var(--texte); background: none; border: 0; border-bottom: 3px solid transparent; padding: .8rem 1rem; color: var(--gris); cursor: pointer; margin-bottom: -1px; white-space: nowrap; }
.onglets button[aria-selected="true"] { color: var(--encre); border-bottom-color: var(--cognac); }
@media (max-width: 560px) {
  .onglets { overflow-x: auto; scrollbar-width: none; }
  .onglets::-webkit-scrollbar { display: none; }
  .onglets button { padding: .75rem .7rem; }
}
.dot-hh { display: none; width: 7px; height: 7px; border-radius: 50%; background: var(--spritz); margin-left: .35em; vertical-align: .35em; }
.dot-hh.happy-on { display: inline-block; }
.panneau { padding-top: .6rem; }
.panneau[hidden] { display: none; }
.rubrique { padding-bottom: .6rem; }
.rubrique.masquee { display: none; }
.titre-rub {
  position: sticky; top: var(--colle, 114px); z-index: 5; background: var(--lin);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  margin-top: 1.6rem; padding: .9rem 0 .45rem; border-bottom: 2px solid var(--encre);
}
.titre-rub h2 { font-family: var(--display); font-weight: 500; font-size: 1.45rem; line-height: 1.2; margin: 0; color: var(--encre); }
.rubrique.encadre { background: var(--carte-fond); border-radius: var(--rayon); padding: 0 1.2rem .6rem; margin: 1.5rem 0; box-shadow: var(--ombre); }
.rubrique.encadre .titre-rub { background: var(--carte-fond); }
.rubrique.encadre .plats li:last-child { border-bottom: 0; }
.plats { list-style: none; margin: 0; padding: 0; }
.plats li { display: grid; grid-template-columns: 1fr auto; gap: .15rem 1rem; padding: .75rem 0; border-bottom: 1px dotted #cfc5b7; }
.plats li[hidden] { display: none; }
.plats .nom { font-weight: 600; }
.plats .prix { font-variant-numeric: tabular-nums; white-space: nowrap; }
.plats .desc { grid-column: 1 / -1; color: var(--gris); font-size: .95rem; }
.plats .nom-fr { grid-column: 1 / -1; font-size: .8rem; font-style: italic; color: var(--gris); margin-top: -.1rem; }
.note-rubrique { font-style: italic; color: var(--gris); margin: .5rem 0 .2rem; font-size: .95rem; }
/* Rubrique hors de ses horaires : plats en gris (contraste suffisant, pas d'opacité qui rendrait le texte illisible) */
.rubrique.indispo .plats .nom, .rubrique.indispo .plats .prix, .rubrique.indispo .plats .desc { color: var(--gris); }
.badge { font-size: .78rem; font-weight: 600; color: #fff; background: var(--gris); padding: .2rem .6rem; border-radius: 99px; white-space: nowrap; align-self: center; }
.ico { width: .85em; height: .85em; margin-left: .35em; vertical-align: -.05em; }
.ico-v { fill: var(--vege); }
.ico-h { fill: var(--spritz); }
.ico-c { fill: #a3243b; }   /* sélection de notre caviste (rouge vin, comme sur la carte papier) */
.legende { font-size: .9rem; color: var(--gris); margin: 1rem 0 0; }
.legende .ico { margin: 0 .3em 0 0; }
.outils-carte { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin: 1.2rem 0 0; }
.outils-carte .legende { margin: 0; }
.filtre { display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; font: 600 .92rem var(--texte); color: var(--encre); background: var(--carte-fond); border: 1px solid #cfc5b7; border-radius: 99px; padding: .45rem .95rem; }
.filtre .ico { margin: 0; fill: var(--vege); }
.filtre[aria-pressed="true"] { background: var(--vege); border-color: var(--vege); color: #fff; }
.filtre[aria-pressed="true"] .ico { fill: #fff; }
.rubrique.semainier .semaine { margin-top: .2rem; }

.tableau { width: 100%; border-collapse: collapse; font-size: .97rem; }
.tableau th[scope="row"] { text-align: left; font-weight: 400; padding: .65rem .6rem .65rem 0; }
.tableau td { text-align: right; padding: .65rem 0 .65rem .6rem; white-space: nowrap; font-variant-numeric: tabular-nums; width: 4.6rem; min-width: 4.6rem; }
.tableau .colle { white-space: nowrap; }
.tableau tr.sous-titre th { text-align: left; font-style: italic; font-weight: 400; color: var(--gris); padding: 1.1rem 0 .3rem; }
.tableau tbody tr { border-bottom: 1px dotted #cfc5b7; }
.tableau .appel { display: block; font-size: .85rem; color: var(--gris); }
.entetes { display: flex; flex-shrink: 0; }
.entetes span { width: 4.6rem; text-align: right; font-size: .82rem; font-weight: 600; line-height: 1.2; }
.entetes small { display: block; font-size: .78rem; font-weight: 400; color: var(--gris); }
@media (max-width: 560px) { .entetes span, .tableau td { width: 4.1rem; min-width: 4.1rem; } .tableau td { font-size: .92rem; } }

.happy { border-radius: var(--rayon); background: var(--carte-fond); box-shadow: var(--ombre); border-left: 4px solid var(--spritz); padding: 1rem 1.2rem; margin: 1.6rem 0 .5rem; }
.happy-titre { margin: 0; }
.happy-titre strong { color: var(--spritz); }
.happy-live { margin: 0 0 .6rem; font-weight: 600; color: var(--spritz); }
.happy-live .pastille { background: var(--spritz); }
.happy ul { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .2rem 2rem; }
.happy li { display: flex; justify-content: space-between; border-bottom: 1px dotted #cfc5b7; padding: .35rem 0; }
.happy .legende { margin-top: .6rem; }
.mention { font-size: .9rem; color: var(--gris); margin-top: 2rem; }
.infos-carte { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid #cfc5b7; font-size: .92rem; color: var(--gris); }
.infos-carte p { margin: 0 0 .3rem; }

/* =========================================================
   Privatisation : formulaire en deux étapes
   ========================================================= */
.grille-privat { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .grille-privat { grid-template-columns: 1fr; } .formats { order: 2; } }
.format { border-top: 1px solid var(--filet); padding: 1rem 0 .4rem; }
.format h3 { margin: 0 0 .4rem; }
.appel-direct { margin-top: 1.2rem; }
.appel-direct a { font-weight: 600; color: var(--cognac); font-size: 1.15rem; }
.formulaire { background: var(--carte-fond); border: 1px solid var(--filet); border-radius: 16px; padding: clamp(1.2rem, 4vw, 2.2rem); box-shadow: var(--ombre); }
.formulaire p { max-width: none; }
.cache { position: absolute; left: -9999px; }
.note-brouillon { background: var(--cognac-pale); border-radius: 10px; padding: .7rem 1rem; font-size: .93rem; margin: 0 0 1.2rem; }
.progression { list-style: none; display: flex; gap: .5rem; margin: 0 0 1.6rem; padding: 0; }
.progression li { flex: 1; display: flex; align-items: center; gap: .55rem; font-size: .88rem; font-weight: 600; color: var(--gris); padding-bottom: .7rem; border-bottom: 3px solid var(--filet); }
.progression li span { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--filet); color: var(--gris); font-size: .8rem; }
.progression li.actif { color: var(--encre); border-bottom-color: var(--cognac); }
.progression li.actif span { background: var(--cognac); color: #fff; }
.formulaire:not(.js-etapes) .progression, .formulaire:not(.js-etapes) [data-aller] { display: none; }
.js-etapes .etape { display: none; }
.js-etapes .etape.visible { display: block; animation: apparait .25s ease-out; }
@keyframes apparait { from { opacity: 0; transform: translateY(6px); } }
.question { border: 0; padding: 0; margin: 0 0 1.6rem; min-width: 0; }
.question legend { font-family: var(--display); font-weight: 500; font-size: 1.35rem; padding: 0; margin-bottom: .7rem; }
.question .facultatif { font-family: var(--texte); font-size: .85rem; color: var(--gris); }
.puces { display: flex; flex-wrap: wrap; gap: .5rem; }
.puces label, .cartes-choix label { position: relative; cursor: pointer; }
.puces input, .cartes-choix input, .consentement input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.puces span { display: inline-block; padding: .6rem 1.05rem; border: 1px solid #8c7f72; border-radius: 99px; font-weight: 600; font-size: .95rem; background: #fff; transition: background .15s, border-color .15s, color .15s; }
.puces label:hover span { border-color: var(--cognac); }
.puces input:checked + span { background: var(--cognac); border-color: var(--cognac); color: #fff; }
.puces input:focus-visible + span, .cartes-choix input:focus-visible + span { outline: 3px solid var(--cognac); outline-offset: 2px; }
.puces.petites span { padding: .45rem .85rem; font-size: .88rem; }
.cartes-choix { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
@media (max-width: 560px) { .cartes-choix { grid-template-columns: 1fr; } }
.cartes-choix span { display: block; height: 100%; padding: .9rem 1rem; border: 1px solid #8c7f72; border-radius: 12px; background: #fff; font-size: .9rem; color: var(--gris); transition: border-color .15s, box-shadow .15s; }
.cartes-choix strong { display: block; color: var(--encre); font-size: 1rem; margin-bottom: .15rem; }
.cartes-choix label:hover span { border-color: var(--cognac); }
.cartes-choix input:checked + span { border-color: var(--cognac); box-shadow: inset 0 0 0 1px var(--cognac); background: var(--cognac-pale); }
.cartes-choix input:checked + span strong::after { content: ""; float: right; width: .55rem; height: .9rem; border: solid var(--cognac); border-width: 0 2px 2px 0; transform: rotate(45deg); margin: .05rem .2rem 0 0; }
.quand { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.quand .champ { flex: 0 1 220px; margin: 0; }
.quand .champ-heure { flex: 0 1 240px; }
.compteur, .budget { display: flex; align-items: center; gap: .5rem; }
.budget { margin-bottom: .7rem; }
.compteur button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid #8c7f72; background: #fff; font-size: 1.4rem; line-height: 1; color: var(--cognac); cursor: pointer; }
.compteur button:hover { border-color: var(--cognac); }
.compteur input, .budget input { height: 46px; text-align: center; font: 600 1.2rem var(--texte); border: 1px solid #8c7f72; border-radius: 12px; -moz-appearance: textfield; background: #fff; }
.compteur input { width: 4.5rem; }
.budget input { width: 6.5rem; }
.compteur input::-webkit-outer-spin-button, .compteur input::-webkit-inner-spin-button, .budget input::-webkit-outer-spin-button, .budget input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.compteur .unite, .budget .unite { color: var(--gris); margin-left: .2rem; }
.champ { position: relative; margin: 0 0 .9rem; }
.champ input, .champ textarea { width: 100%; font: 1rem var(--texte); color: var(--encre); background: #fff; border: 1px solid #8c7f72; border-radius: 12px; padding: 1.35rem .9rem .5rem; min-height: 56px; }
.champ textarea { resize: vertical; min-height: 110px; }
.champ select {
  width: 100%; font: 1rem var(--texte); color: var(--encre); border: 1px solid #8c7f72; border-radius: 12px;
  padding: 1.35rem 2.4rem .5rem .9rem; min-height: 56px; cursor: pointer; -webkit-appearance: none; appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%238b5431' stroke-width='1.8'/%3E%3C/svg%3E") right .9rem center / 16px no-repeat;
}
.champ select:focus { outline: none; border-color: var(--cognac); box-shadow: 0 0 0 3px rgba(139,84,49,.14); }
.champ label { position: absolute; left: .95rem; top: 1rem; color: var(--gris); pointer-events: none; transition: top .15s ease, font-size .15s ease, color .15s ease; font-size: 1rem; }
.champ input:focus + label, .champ input:not(:placeholder-shown) + label, .champ textarea:focus + label, .champ textarea:not(:placeholder-shown) + label,
.champ input[type="date"] + label, .champ select + label { top: .45rem; font-size: .75rem; font-weight: 600; color: var(--cognac); }
.champ input:focus, .champ textarea:focus, .compteur input:focus, .budget input:focus { outline: none; border-color: var(--cognac); box-shadow: 0 0 0 3px rgba(139,84,49,.14); }
.champ.a-corriger input, .champ.a-corriger textarea { border-color: var(--erreur); }
.champs-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .8rem; }
@media (max-width: 560px) { .champs-2 { grid-template-columns: 1fr; } }
.indice { font-size: .85rem; color: var(--gris); margin: -.5rem 0 1.2rem; }
.consentement { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; cursor: pointer; margin-bottom: 1.2rem; position: relative; }
.consentement::before { content: ""; flex-shrink: 0; width: 1.3rem; height: 1.3rem; border: 1px solid #8c7f72; border-radius: 6px; background: #fff; margin-top: .05rem; }
.consentement:has(input:checked)::before { background: var(--cognac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center/80% no-repeat; border-color: var(--cognac); }
.consentement:has(input:focus-visible)::before { outline: 3px solid var(--cognac); outline-offset: 2px; }
.consentement.a-corriger::before { border-color: var(--erreur); }
.consentement a { color: var(--faience); }
.recap { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; background: var(--lin); border-radius: 12px; padding: .85rem 1rem; margin-bottom: 1.2rem; font-size: .95rem; }
.recap p { margin: 0; }
.lien { background: none; border: 0; padding: 0; font: 600 .92rem var(--texte); color: var(--faience); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; white-space: nowrap; }
.erreur { background: #fbeae5; color: #8c2f1a; border-radius: 10px; padding: .6rem .9rem; font-size: .92rem; }
.formulaire .bouton { padding: .95rem 1.4rem; font-size: 1.02rem; }
.suivant { width: 100%; }
.actions-form { display: flex; gap: .7rem; }
.actions-form .bouton[type="submit"] { flex: 1; }
.merci p { max-width: none; }
.merci .bouton { margin: .4rem .4rem 0 0; }

/* =========================================================
   Langues asiatiques
   ========================================================= */
html:lang(ja) { --texte: "Figtree", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif; --display: "Playfair Display", "Hiragino Mincho ProN", "Noto Serif JP", "Yu Mincho", serif; }
html:lang(zh-Hans) { --texte: "Figtree", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif; --display: "Playfair Display", "Songti SC", "Noto Serif SC", "SimSun", serif; }
html:lang(ja) body, html:lang(zh-Hans) body { line-height: 1.75; }

/* Impression de la carte : toutes les rubriques, sans habillage */
@media print {
  .entete, .pied, .mosaique, .tete-page, .onglets, .saut, .barre-actions, .outils-carte { display: none !important; }
  .panneau[hidden] { display: block !important; }
  .carte, .titre-rub { background: none; position: static; }
  body { font-size: 11pt; padding: 0; }
}
a[href^="tel:"] { white-space: nowrap; }

/* =========================================================
   Pages intérieures : photo du mur de la salle en fond fixe,
   assombrie, et contenu posé dessus comme une carte imprimée.
   (La page d'accueil garde son propre habillage.)
   ========================================================= */
body.interieur { background: var(--nuit); }
body.interieur::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(rgba(30,24,20,.52), rgba(30,24,20,.62)),
    var(--nuit) image-set(url("images/salle-1600.webp") 1x, url("images/salle-2400.webp") 2x) center 35% / cover no-repeat;
}
@media (max-width: 900px) {
  body.interieur::before { background:
    linear-gradient(rgba(30,24,20,.56), rgba(30,24,20,.66)),
    var(--nuit) image-set(url("images/salle-1024.webp") 1x, url("images/salle-1600.webp") 2x) 30% 35% / cover no-repeat; }
}
.interieur .tete-page { background: none; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.interieur .mosaique { display: none; }
.interieur main > section, .page-carte, .privatisation { background: none; }

:root { --carte-ombre: 0 30px 60px -28px rgba(0,0,0,.6); }
.page-carte { padding: 0 0 clamp(2.5rem, 6vw, 4.5rem); }
.page-carte > .conteneur {
  background: var(--carte-fond); border-radius: 18px; box-shadow: var(--carte-ombre);
  padding: .4rem clamp(16px, 4vw, 44px) 2rem;
}
.page-carte .onglets { background: var(--carte-fond); }
.page-carte .titre-rub { background: var(--carte-fond); border-bottom: 3px double var(--laiton); }
.page-carte .rubrique.encadre { background: var(--cognac-pale); box-shadow: none; }
.page-carte .rubrique.encadre .titre-rub { background: var(--cognac-pale); }
.page-carte .happy { box-shadow: none; background: #fff6f0; }
.page-carte .titre-rub h2 { color: var(--encre); }
.page-carte .titre-rub h2::before {
  content: ""; display: inline-block; width: .7em; height: .7em; margin-right: .45em; vertical-align: .05em;
  background: var(--laiton); -webkit-mask: var(--motif-soleil) center / contain no-repeat; mask: var(--motif-soleil) center / contain no-repeat;
}
:root { --motif-soleil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2 5 4-3-1 5 5-1-3 4 5 2-5 2 3 4-5-1 1 5-4-3-2 5-2-5-4 3 1-5-5 1 3-4-5-2 5-2-3-4 5 1-1-5 4 3z'/%3E%3C/svg%3E"); }
@media (max-width: 600px) {
  .page-carte { padding: 0 0 2rem; }
  .page-carte > .conteneur { width: auto; margin: 0 8px; border-radius: 14px; padding: .2rem 14px 1.6rem; }
}

.privatisation { padding-top: 0; }
.privatisation .formats { background: var(--carte-fond); border-radius: 18px; box-shadow: var(--carte-ombre); padding: 1.4rem 1.6rem; }
.privatisation .formats h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.privatisation .format:first-of-type { border-top: 3px double var(--laiton); }
.privatisation .formulaire { box-shadow: var(--carte-ombre); }

/* Remerciement et pages légales : même principe de feuille blanche */
.interieur .merci, .page-texte > .conteneur {
  background: var(--carte-fond); border-radius: 18px; box-shadow: var(--carte-ombre);
  padding: clamp(1.4rem, 4vw, 2.6rem) clamp(1.2rem, 4vw, 3rem);
}
.interieur main > section:has(.merci) { padding-top: 0; }
.page-texte { padding: clamp(1.2rem, 4vw, 3rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
@media (max-width: 600px) {
  .interieur .merci, .page-texte > .conteneur { width: auto; margin: 0 8px; border-radius: 14px; }
}

/* =========================================================
   Allergènes : pictogrammes par plat et légende
   ========================================================= */
.als { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .3rem; }
.al { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: #f3e8da; color: var(--cognac); flex-shrink: 0; }
.al-ico { width: 1.15rem; height: 1.15rem; display: block; }
.titre-rub h2 .als { display: inline-flex; vertical-align: .1em; margin: 0 0 0 .6rem; grid-column: auto; }
.semaine .als, .pdj-piece .als { margin-top: .35rem; }
.carte:not(.voir-al) .als { display: none !important; }
.filtre-al .al-ico { width: 1.05rem; height: 1.05rem; color: var(--cognac); }
.filtre-al[aria-pressed="true"] { background: var(--cognac); border-color: var(--cognac); }
.filtre-al[aria-pressed="true"] .al-ico { color: #fff; }
.allergenes { margin-top: 2.6rem; padding-top: 1.2rem; border-top: 3px double var(--laiton); }
.allergenes h2 { font-family: var(--display); font-weight: 500; font-size: 1.45rem; line-height: 1.2; color: var(--encre); margin: 0 0 .9rem; }
.allergenes ul { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: .55rem 1rem; }
.allergenes li { display: flex; align-items: center; gap: .55rem; font-size: .95rem; }
.allergenes p { font-size: .9rem; color: var(--gris); margin: 0; max-width: 62ch; }
@media print { .al { background: none; border: 1px solid #999; } .filtre-al { display: none; } }
.al-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Bandeau d'information cookies (première visite uniquement) */
.bandeau-cookies {
  position: fixed; z-index: 70; left: 50%; transform: translateX(-50%); bottom: 16px;
  width: min(640px, calc(100% - 24px)); display: flex; align-items: center; gap: 1rem;
  background: var(--nuit); color: rgba(255,255,255,.9); border-radius: 16px; padding: .9rem 1rem .9rem 1.2rem;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); font-size: .88rem; line-height: 1.45;
}
.bandeau-cookies p { margin: 0; }
.bandeau-cookies a { color: var(--laiton); }
.bandeau-cookies .bouton { flex-shrink: 0; padding: .55rem 1.1rem; font-size: .88rem; }
@media (max-width: 720px) {
  .bandeau-cookies { bottom: calc(80px + env(safe-area-inset-bottom)); flex-direction: column; align-items: stretch; gap: .7rem; }
}
@media print { .bandeau-cookies { display: none; } }
.pied .adresse-pied { font-size: .85rem; color: rgba(255,255,255,.7); }
.pied .adresse-pied a { color: inherit; }

/* erreurs de formulaire et envoi */
.erreur-champ { color: var(--erreur); font-size: .88rem; font-weight: 600; margin: .4rem 0 0; flex-basis: 100%; width: 100%; display: flex; gap: .4em; align-items: baseline; }
.erreur-champ::before { content: "!"; display: inline-grid; place-items: center; width: 1.1em; height: 1.1em; border-radius: 50%; background: var(--erreur); color: #fff; font-size: .75rem; flex-shrink: 0; }
.champ.a-corriger select, .compteur.a-corriger input { border-color: var(--erreur); }
.bouton.en-envoi, .bouton[aria-busy="true"] { opacity: .75; cursor: progress; }
.bouton:disabled { cursor: not-allowed; }

/* =========================================================
   Accueil : la photo de la salle reste fixe derrière toute la page.
   Sous la photo d'ouverture, un voile clair (lin) garde la DA claire
   tout en laissant deviner la salle, au lieu de grands aplats unis.
   ========================================================= */
.accueil .heros { background: none; }
.accueil .heros-photo { position: fixed; inset: 0; z-index: -1; }
.accueil .mosaique { display: none; }
.accueil main > section { background: rgba(236,226,212,.72); }
.accueil .carte-geo { background: var(--carte-fond); box-shadow: var(--ombre); }

/* En-tête de l'accueil : clair et opaque dès le haut de page, boutons bien visibles */
.accueil .entete.transparente:not(.defile) {
  background: rgba(236,226,212,.48); backdrop-filter: saturate(1.2) blur(16px); -webkit-backdrop-filter: saturate(1.2) blur(16px);
  border-bottom: 1px solid rgba(35,28,22,.1); color: var(--encre);
}
.accueil .entete.transparente:not(.defile) .nav a:not(.bouton):hover { color: inherit; }   /* survol : souligné cuivre, texte foncé */
.accueil .entete.transparente:not(.defile) .langues > button, .accueil .entete.transparente:not(.defile) .menu-mobile { color: var(--encre); border-color: #cfc5b7; }
.accueil .entete.transparente:not(.defile) :focus-visible { outline-color: var(--cognac); }
