/* Le Gabier — site de démonstration La Balise.
   Aucune règle inline dans la page : la CSP du domaine (style-src 'self') les bloquerait. */

@font-face { font-family: "Young Serif"; src: url("/exemples/le-gabier/fonts/young-serif.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken"; src: url("/exemples/le-gabier/fonts/hanken.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("/exemples/le-gabier/fonts/caveat-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* Contrastes mesurés (WCAG) : ink/linen 12.6 · muted/linen 5.3 · muted/card 6.1 · brass-ink/linen 5.4 ·
   alert/card 6.5 · slate/brass 6.5 · foam/slate 12.7 · muted-night/slate 7.4 · brass/slate 6.5 ·
   chalk/board 11.8 · chalk-gold/board 8.4 · tide/linen 5.5 · tide/card 6.2 (anneau de focus sur fond clair) */
:root {
  --linen: #F3EEE4;
  --card: #FFFDF8;
  --ink: #1E2B2F;
  --muted: #5A6366;
  --slate: #1E2B2F;
  --slate-2: #27383D;
  --foam: #EEF0EA;
  --muted-night: #AEBBBB;
  --brass: #D9A54A;
  --brass-hover: #E6B55C;
  --brass-ink: #855714;
  --tide: #2C6964;
  --sea: #A9C7C3;
  --alert: #A23B1E;
  --board: #26302E;
  --chalk: #F1EFE8;
  --chalk-gold: #E9C77B;
  --line: rgba(30, 43, 47, 0.14);
  --line-night: rgba(238, 240, 234, 0.14);
  --radius: 16px;
  --shadow: 0 1px 0 rgba(30, 43, 47, 0.05), 0 18px 40px -24px rgba(30, 43, 47, 0.4);
  /* Lift au survol : une seule valeur pour les formules, les dates et les créneaux */
  --lift: translateY(-3px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Young Serif", Georgia, serif;
  --body: "Hanken", system-ui, sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
main, .foot { overflow-x: clip; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; line-height: 1.08; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: normal; color: var(--brass-ink); }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

:focus-visible { outline: 3px solid var(--tide); outline-offset: 3px; border-radius: 6px; }
.top :focus-visible, .hero :focus-visible, .groups :focus-visible, .foot :focus-visible { outline-color: var(--brass); }
.groups .panel :focus-visible { outline-color: var(--tide); }

/* ---------- Bandeau démo ---------- */
.demo-bar {
  position: relative;
  z-index: 60;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 8px 16px;
  background: #121A1D;
  color: var(--muted-night);
  font-size: 13px;
  text-align: center;
}
.demo-bar strong { color: var(--foam); font-weight: 600; }
.demo-bar a { color: var(--brass); font-weight: 600; text-decoration: none; }
.demo-bar a:hover { text-decoration: underline; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  font: 600 16px/1 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s ease;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-brass { background: var(--brass); color: var(--slate); box-shadow: 0 10px 24px -14px rgba(217, 165, 74, .9), inset 0 -3px 0 rgba(0, 0, 0, .12); }
.btn-brass:hover { background: var(--brass-hover); transform: translateY(-2px); }
.btn-ghost { color: var(--foam); box-shadow: inset 0 0 0 1.5px rgba(238, 240, 234, .4); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--foam); transform: translateY(-2px); }
.btn-ghost-dark { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost-dark:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-icon { padding: 14px; }
.btn-block { width: 100%; }

/* ---------- En-tête ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(30, 43, 47, .86);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  backdrop-filter: blur(12px) saturate(1.3);
  border-bottom: 1px solid var(--line-night);
  color: var(--foam);
}
.top-inner { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--brass); }
.brand-mark { width: 42px; height: 42px; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-12deg); }
.brand-name { display: flex; flex-direction: column; font: 400 23px/1 var(--display); color: var(--foam); }
.brand-name small { margin-top: 5px; font: 500 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-night); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { position: relative; color: var(--muted-night); text-decoration: none; font-weight: 500; font-size: 15px; transition: color .2s ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--brass); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { color: var(--foam); }
.nav a:hover::after { transform: scaleX(1); }
.top-cta { padding: 11px 20px; }

.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(238, 240, 234, .08); font-size: 13px; font-weight: 600; color: var(--foam); white-space: nowrap; }
.status-dot { position: relative; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--muted-night); }
.is-open .status-dot { background: #6FD08C; }
.is-soon .status-dot { background: var(--brass); }
/* Un seul élément qui respire : le point « ouvert » de l'en-tête */
.status-pill.is-open .status-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #6FD08C; opacity: 0; animation: breathe 2.4s ease-out infinite; }
@keyframes breathe { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 120px;
  color: var(--foam);
  background:
    linear-gradient(90deg, rgba(25, 38, 42, .94) 0%, rgba(25, 38, 42, .82) 42%, rgba(25, 38, 42, .45) 100%),
    radial-gradient(900px 500px at 85% 20%, rgba(217, 165, 74, .14), transparent 60%),
    url("/exemples/le-gabier/img/quai-full.webp") center 60% / cover no-repeat,
    var(--slate);
}
@media (max-width: 760px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(25, 38, 42, .9) 0%, rgba(25, 38, 42, .78) 100%),
      url("/exemples/le-gabier/img/quai-mobile.webp") center / cover no-repeat,
      var(--slate);
  }
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-ink); }
.kicker-light { color: var(--brass); }
.hero h1 { margin-top: 18px; font-size: clamp(42px, 5.6vw, 72px); }
.hero h1 em { color: var(--brass); }
.hero-lead { margin-top: 22px; max-width: 34em; font-size: 19px; color: var(--muted-night); }
.hero-lead, .hero h1 { text-wrap: balance; }

.now {
  display: inline-grid;
  gap: 4px;
  margin-top: 28px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(238, 240, 234, .06);
  border: 1px solid var(--line-night);
}
.now-state { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.now-detail { padding-left: 19px; font-size: 15px; color: var(--muted-night); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; }
.hero-waves path { fill: var(--linen); }

/* ---------- L'ardoise ---------- */
.board-wrap { position: relative; justify-self: center; width: min(470px, 100%); }
.board {
  position: relative;
  margin: 0;
  padding: 40px 36px 30px;
  border-radius: 10px;
  color: var(--chalk);
  font-family: var(--hand);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(120% 90% at 30% 20%, #34403D, var(--board) 70%);
  box-shadow:
    0 0 0 12px #7A5234,
    0 0 0 14px #5C3C24,
    inset 0 0 40px rgba(0, 0, 0, .45),
    0 40px 60px -30px rgba(0, 0, 0, .8);
  transform: rotate(1.2deg);
}
.board-pin { position: absolute; top: -26px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #F4D394, #A06F22); box-shadow: 0 2px 3px rgba(0, 0, 0, .5); }
.board-title { font: 700 34px/1.05 var(--hand); color: var(--chalk-gold); text-align: center; text-wrap: balance; }
.board-title::after { content: ""; display: block; width: 60%; height: 2px; margin: 12px auto 0; background: rgba(241, 239, 232, .35); border-radius: 2px; }
.board-list { margin: 22px 0 18px; display: grid; gap: 14px; }
.board-line { display: grid; gap: 0; }
.board-line dt { font-size: 19px; color: var(--chalk-gold); }
.board-line dd { margin: 0; font-size: 27px; line-height: 1.1; }
.board-price { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 6px; border-top: 1px dashed rgba(241, 239, 232, .25); font-size: 21px; }
.board-price strong { font-size: 27px; color: var(--chalk-gold); white-space: nowrap; }
.board-foot { margin-top: 14px; font-size: 19px; text-align: center; color: rgba(241, 239, 232, .75); }
.hand-note { position: absolute; right: -10px; bottom: -48px; font: 700 23px/1 var(--hand); color: var(--brass); transform: rotate(-4deg); }

/* Écriture à la craie : posée seulement quand le JS est là, pour ne rien cacher sans lui */
.board.is-writing .board-title,
.board.is-writing .board-line,
.board.is-writing .board-price,
.board.is-writing .board-foot { clip-path: inset(0 100% 0 0); animation: chalk .9s steps(18) forwards; }
.board.is-writing .board-title { animation-delay: .15s; }
.board.is-writing .board-line:nth-child(1) { animation-delay: .7s; }
.board.is-writing .board-line:nth-child(2) { animation-delay: 1.25s; }
.board.is-writing .board-line:nth-child(3) { animation-delay: 1.8s; }
.board.is-writing .board-price { animation-delay: 2.3s; }
.board.is-writing .board-price + .board-price { animation-delay: 2.65s; }
.board.is-writing .board-foot { animation-delay: 3s; }
@keyframes chalk { to { clip-path: inset(0 0 0 0); } }

/* ---------- Sections ---------- */
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head h2 { margin-top: 12px; font-size: clamp(32px, 4vw, 48px); text-wrap: balance; }
.section-lead { margin-top: 16px; font-size: 18px; color: var(--muted); }
.groups .section-lead { color: var(--muted-night); }

/* ---------- La carte ---------- */
.menu { padding: 64px 0 96px; }
/* Trois assiettes de la carte, en photo */
.plates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: -8px 0 40px; }
.plates figure { margin: 0; }
.plates img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.plates figcaption { margin-top: 8px; font-size: 14px; font-weight: 600; }
.group-photo { display: block; width: 100%; height: auto; margin-top: 28px; border-radius: 14px; }
@media (max-width: 560px) { .plates { gap: 8px; } .plates figcaption { font-size: 12px; } }
.allergy {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  align-items: start;
  margin-bottom: 40px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.allergy-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.allergy-title { font-weight: 700; }
.allergy-count { font-size: 15px; color: var(--muted); }
.allergy-count strong { color: var(--ink); }
.allergy-chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.allergy-reset { grid-column: 2; grid-row: 1; padding: 4px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--tide); font: 600 14px var(--body); text-decoration: underline; cursor: pointer; }

.chip {
  padding: 7px 13px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font: 500 14px/1.2 var(--body);
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--slate); border-color: var(--slate); color: var(--foam); }
.allergy .chip[aria-pressed="true"]::before { content: "✕ "; color: var(--brass); }

.menu-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.course h3 { padding-bottom: 12px; margin-bottom: 8px; font-size: 28px; border-bottom: 2px solid var(--ink); }
.dishes { list-style: none; margin: 0; padding: 0; }
.dish { position: relative; padding: 14px 0 14px; border-bottom: 1px solid var(--line); transition: opacity .3s ease; }
.dish-head { display: flex; align-items: baseline; gap: 8px; font-weight: 700; font-size: 17px; line-height: 1.3; }
.dish-head::after { content: ""; order: 1; flex: 1 1 16px; min-width: 16px; border-bottom: 2px dotted rgba(30, 43, 47, .3); transform: translateY(-4px); }
.dish-price { order: 2; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dish-desc { margin-top: 3px; font-size: 15px; color: var(--muted); }
.dish[data-veg] .dish-name::after { content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 7px; vertical-align: -1px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 10C2 4 6 2 11 1C10 7 7 10 2 10Z' fill='%233F7A4A'/%3E%3Cpath d='M2 10L7 5' stroke='%23FFFDF8' stroke-width='1'/%3E%3C/svg%3E") no-repeat center / contain; }
.dish-alg { margin-top: 6px; font-size: 13px; color: var(--muted); }
.dish-alg b { font-weight: 600; }
.dish-alg .is-hit { color: var(--alert); font-weight: 700; }
.dish-star .dish-name::before { content: "★ "; color: var(--brass-ink); }
.dish.is-out { opacity: .5; }
.dish.is-out .dish-name { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.dish.is-ok .dish-head .dish-name { color: var(--tide); }
.ok-mark { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: rgba(44, 105, 100, .12); color: var(--tide); font-size: 12px; font-weight: 700; vertical-align: 2px; }

.formulas { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 48px 0 0; padding: 0; }
.formula { padding: 22px 22px 20px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .25s var(--ease); }
.formula:hover { transform: var(--lift); }
.formula-main { background: var(--slate); color: var(--foam); border-color: var(--slate); }
.formula-name { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); }
.formula-main .formula-name { color: var(--brass); }
.formula-price { margin-top: 6px; font: 400 34px/1.1 var(--display); }
.formula-price small { font-size: 20px; color: var(--muted); }
.formula-desc { margin-top: 8px; font-size: 15px; color: var(--muted); }
.formula-main .formula-desc { color: var(--muted-night); }
.menu-note { margin-top: 24px; max-width: 760px; font-size: 14px; color: var(--muted); }
.leaf-mark { display: inline-block; width: 12px; height: 12px; margin-right: 4px; vertical-align: -1px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 10C2 4 6 2 11 1C10 7 7 10 2 10Z' fill='%233F7A4A'/%3E%3Cpath d='M2 10L7 5' stroke='%23FFFDF8' stroke-width='1'/%3E%3C/svg%3E") no-repeat center / contain; }

/* ---------- Réserver ---------- */
.book { padding: 96px 0; background: linear-gradient(var(--card), var(--linen)); border-top: 1px solid var(--line); }
/* minmax(0, …) : sans ça, la bande des 21 dates impose sa largeur et écrase le formulaire */
.book-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr); gap: 24px; align-items: start; }
.panel { padding: 28px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--line); }
.panel h3 { font-size: 26px; margin-bottom: 18px; }
.step { margin: 0; padding: 0 0 24px; border: 0; min-width: 0; }
.step + .step { padding-top: 22px; border-top: 1px solid var(--line); }
.step legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 14px; font-weight: 700; font-size: 18px; }
.step-no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--slate); color: var(--brass); font-size: 14px; }
.step-hint { margin-top: 10px; font-size: 14px; color: var(--muted); }
.step-hint.is-warn { color: var(--alert); font-weight: 600; }
.step-hint a { color: var(--tide); font-weight: 600; }

.guests { display: flex; align-items: center; gap: 14px; }
.round { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 50%; background: var(--card); color: var(--ink); font: 500 22px/1 var(--body); cursor: pointer; transition: border-color .2s ease; }
.round:hover:not(:disabled) { border-color: var(--ink); }
.round:disabled { opacity: .35; cursor: not-allowed; }
.guests-val { min-width: 1.4ch; font: 400 38px/1 var(--display); text-align: center; }
.guests-unit { min-width: 7ch; color: var(--muted); }

/* Sur grand écran, les trois semaines s'affichent en entier ; sur mobile, elles défilent */
.dates { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 2px 10px; margin: -4px -2px 0; }
.date {
  flex: none;
  display: grid;
  justify-items: center;
  gap: 2px;
  width: 66px;
  padding: 9px 4px 8px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  font: 500 13px/1.1 var(--body);
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform .2s var(--ease), border-color .2s ease, background-color .2s ease;
}
.date strong { font: 400 24px/1 var(--display); }
.date:hover:not(:disabled) { transform: var(--lift); border-color: var(--ink); }
.date[aria-pressed="true"] { background: var(--slate); border-color: var(--slate); color: var(--foam); }
.date[aria-pressed="true"] .date-m { color: var(--brass); }
.date:disabled { cursor: not-allowed; background: transparent; color: var(--muted); border-style: dashed; }
.date:disabled strong { opacity: .5; }
.date-m { font-size: 12px; color: var(--muted); }
.date:disabled .date-m { font-style: italic; }

.service + .service { margin-top: 16px; }
.service-name { margin-bottom: 8px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot {
  position: relative;
  min-width: 74px;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  font: 600 15px/1 var(--body);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: transform .2s var(--ease), border-color .2s ease, background-color .2s ease;
}
.slot:hover:not(:disabled) { transform: var(--lift); border-color: var(--ink); }
.slot[aria-pressed="true"] { background: var(--slate); border-color: var(--slate); color: var(--foam); }
.slot:disabled { color: var(--muted); background: transparent; text-decoration: line-through; cursor: not-allowed; opacity: .7; }
.slot.is-last::after { content: ""; position: absolute; top: -4px; right: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--brass); border: 2px solid var(--card); }
.slots-legend { margin-top: 10px; font-size: 13px; color: var(--muted); }
.slots-legend i { display: inline-block; width: 9px; height: 9px; margin: 0 4px 0 2px; border-radius: 50%; background: var(--brass); }
.slots-empty { padding: 12px 14px; border-radius: 10px; background: var(--linen); color: var(--muted); font-size: 15px; }

.check, .radio { display: flex; align-items: center; gap: 10px; margin-top: 16px; cursor: pointer; }
.check input, .radio input { width: 20px; height: 20px; margin: 0; accent-color: var(--tide); }
.field { display: grid; gap: 6px; margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.field > span, .field > label, .field legend { font-weight: 600; font-size: 15px; padding: 0; }
.field small { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="tel"], .field input[type="date"], .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: 400 16px/1.3 var(--body);
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--tide); outline-offset: 0; }
.field .is-invalid { border-color: var(--alert); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.recap { margin-bottom: 20px; padding: 14px 16px; border-radius: 12px; background: var(--linen); font-weight: 600; }
.recap.is-ready { background: rgba(44, 105, 100, .1); color: var(--tide); }
.form-error { min-height: 0; margin-bottom: 10px; color: var(--alert); font-weight: 600; font-size: 15px; }
.form-error:empty { display: none; }
.demo-note { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }

/* Le carnet de réservations */
.ledger-wrap { grid-column: 1 / -1; display: grid; justify-items: center; }
.ledger {
  width: min(620px, 100%);
  padding: 28px 32px 30px 64px;
  border-radius: 6px;
  color: #23303A;
  background:
    linear-gradient(90deg, transparent 46px, rgba(196, 72, 48, .45) 46px, rgba(196, 72, 48, .45) 48px, transparent 48px),
    repeating-linear-gradient(transparent 0 37px, rgba(64, 110, 160, .22) 37px 38px),
    #FBF8EF;
  box-shadow: 0 30px 60px -30px rgba(30, 43, 47, .55), 0 2px 0 #E8E1D0, 0 4px 0 #F4EFE2, 0 6px 0 #E3DBC8;
  outline: none;
}
.ledger-wrap:not([hidden]) .ledger { animation: ledger-in .55s var(--ease); }
@keyframes ledger-in { from { opacity: 0; transform: translateY(16px) rotate(-.6deg); } }
.ledger-top { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ledger-day { margin-top: 10px; font: 700 34px/38px var(--hand); color: #1F3D66; }
.ledger-lines { list-style: none; margin: 0; padding: 0; }
.ledger-lines li { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; font: 700 24px/38px var(--hand); color: rgba(31, 61, 102, .55); }
.ledger-lines li.is-new { position: relative; color: #1F3D66; }
.ledger-lines li.is-new span { position: relative; }
.ledger-lines li.is-new .ink { clip-path: inset(0 100% 0 0); animation: chalk 1.1s steps(20) .45s forwards; }
.ledger-lines li.is-new::before { content: ""; position: absolute; left: -38px; top: 12px; width: 18px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 14'%3E%3Cpath d='M2 7l5 5L16 2' fill='none' stroke='%232C6964' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat; }
.ledger-msg { margin: 18px 0 20px; font-size: 16px; line-height: 1.5; color: var(--ink); }

/* ---------- Groupes ---------- */
.groups {
  padding: 96px 0;
  color: var(--foam);
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(217, 165, 74, .12), transparent 60%),
    var(--slate);
}
.groups h2 { margin-top: 12px; font-size: clamp(32px, 4vw, 48px); text-wrap: balance; }
.groups h2 em { color: var(--brass); }
.groups-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.group-menus { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 10px; }
.group-menus li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line-night); background: rgba(238, 240, 234, .04); transition: border-color .25s ease, background-color .25s ease; }
.group-menus li.is-on { border-color: var(--brass); background: rgba(217, 165, 74, .1); }
.group-menus strong { font: 400 20px/1.2 var(--display); }
.group-menus span { font-weight: 700; color: var(--brass); }
.group-menus small { grid-column: 1 / -1; font-size: 14px; color: var(--muted-night); }
.panel-group { color: var(--ink); }
.panel-group input[type="range"] { width: 100%; accent-color: var(--tide); }
.menu-pick { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.menu-pick .radio { margin-top: 4px; }
.estimate { margin-bottom: 16px; padding: 14px 16px; border-radius: 12px; background: var(--linen); font-size: 15px; }
.estimate strong { display: block; font: 400 28px/1.2 var(--display); color: var(--ink); }
.panel-group .is-sent { color: var(--tide); font-weight: 600; }

/* ---------- Horaires & accès ---------- */
.info { padding: 96px 0; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.season { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th { padding: 8px 12px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; text-align: left; color: var(--muted); border-bottom: 2px solid var(--ink); }
.hours td, .hours tbody th { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; font-size: 16px; }
.hours tbody th { font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink); border-bottom: 1px solid var(--line); font-weight: 600; }
.hours .is-closed { color: var(--muted); font-style: italic; }
.hours tr.is-today { background: rgba(217, 165, 74, .14); }
.hours tr.is-today th { box-shadow: inset 4px 0 0 var(--brass); }
.today-tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--slate); color: var(--foam); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px; }
.hours td.is-now { color: var(--tide); font-weight: 700; }
.closing { margin-top: 14px; font-size: 14px; color: var(--muted); }
.facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.facts li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; font-size: 15px; color: var(--muted); }
.facts strong { color: var(--ink); }

.map { margin: 0; }
.map svg { width: 100%; height: auto; border-radius: 18px; box-shadow: var(--shadow); }
.map-river { font: 700 italic 15px var(--body); fill: #4D7C77; letter-spacing: .1em; }
.map-label { font: 600 12px var(--body); fill: #6A6555; }
.map-label-strong { font: 400 17px var(--display); fill: var(--ink); }
.map-park rect { fill: #2C5F9E; }
.map-park text { font: 700 16px var(--body); fill: #fff; }
.walk { stroke: #2C5F9E; stroke-width: 2.5; stroke-dasharray: 2 6; stroke-linecap: round; }
.map-pin circle { fill: var(--slate); }
.map-pin .pin-core { fill: var(--brass); }
.map-pin .pin-pulse { fill: rgba(217, 165, 74, .35); }
.river-flow { animation: flow 6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -64; } }
.map-caption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.map-caption a { color: var(--tide); font-weight: 600; }

/* ---------- Pied de page ---------- */
.foot { padding: 48px 0 40px; background: #121A1D; color: var(--muted-night); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 32px; }
.brand-name-foot { margin-bottom: 8px; color: var(--foam); }
.foot a { color: var(--foam); }
.foot-small { margin-top: 4px; font-size: 13px; }
.foot-credit a { color: var(--brass); font-weight: 600; text-decoration: none; }
.foot-credit a:hover { text-decoration: underline; }

/* ---------- Bouton fixe mobile ---------- */
.sticky-book { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav { display: none; }
  .status-pill { margin-left: auto; }
  .hero-grid, .groups-grid, .info-grid { grid-template-columns: 1fr; gap: 48px; }
  .board-wrap { margin-bottom: 40px; }
  .menu-cols { grid-template-columns: 1fr; gap: 32px; }
  .book-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .demo-long { display: none; }
  .top-inner { gap: 12px; min-height: 62px; }
  .brand-name small { display: none; }
  .brand-mark { width: 36px; height: 36px; }
  .top-cta { display: none; }
  .hero { padding: 48px 0 100px; }
  .hero-lead { font-size: 17px; }
  .board { padding: 32px 22px 24px; }
  .board-line dd { font-size: 24px; }
  .hand-note { right: 0; }
  .allergy { padding: 12px 14px; margin-bottom: 28px; }
  .allergy-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -14px; padding: 0 14px 4px; scrollbar-width: none; }
  .chip { flex: none; }
  .formulas { grid-template-columns: 1fr; }
  .book, .groups, .info { padding: 72px 0; }
  .book-grid { grid-template-columns: minmax(0, 1fr); }
  .dates { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .panel { padding: 22px 18px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .ledger { padding: 24px 18px 24px 56px; }
  .ledger-lines li { grid-template-columns: 58px 1fr auto; font-size: 21px; }
  .foot-grid { grid-template-columns: 1fr; gap: 20px; }
  .foot { padding-bottom: 100px; }
  .sticky-book:not([hidden]) {
    display: block;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 40;
    animation: rise .35s var(--ease);
  }
  .sticky-book .btn { box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .5); }
}
@keyframes rise { from { transform: translateY(120%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .status-pill.is-open .status-dot::after { display: none; }
}
