/* ==========================================================================
   Le Festin Mentonnais · v2 « Riviera éditorial »
   Base blanche et crème, bleu nuit pour le texte et les actions,
   citron réservé aux accents (pastilles, soulignés, bouton secondaire).
   ========================================================================== */

:root {
  /* Palette de marque */
  --creme: #FFF8E8;
  --citron: #F6C833;
  --nuit: #123A63;
  --mer: #2C7DA0;
  --feuille: #4C7F3B;

  /* Rôles */
  --bg: #FFFFFF;
  --bg-soft: #FFFCF5;
  --surface: #FFFFFF;
  --ink: #142A42;
  --ink-2: #44515F;
  --ink-3: #66717D;
  --line: #ECE5D5;
  --line-strong: #D9D0BC;
  --accent: var(--nuit);
  --accent-hover: #0C2C4D;
  --link: #24698A;           /* mer assombri : contraste 5,6:1 sur blanc */
  --highlight: var(--citron);
  --highlight-soft: #FDF1C7;
  --ok: var(--feuille);
  --danger: #A6362A;

  /* Espacements (échelle 4 px) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-pill: 999px;
  --shadow-sm: 0 2px 6px -2px rgba(20, 42, 66, .12);
  --shadow-md: 0 20px 44px -24px rgba(20, 42, 66, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 150ms; --t-med: 260ms; --t-slow: 600ms;

  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --text: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink-2); font: 400 1.0625rem/1.65 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); font-weight: 560; line-height: 1.05; letter-spacing: -.015em; margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); font-variation-settings: 'opsz' 144; font-weight: 520; }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); font-variation-settings: 'opsz' 120; }
h3 { font-size: 1.3rem; font-variation-settings: 'opsz' 30; letter-spacing: -.005em; line-height: 1.2; }
h1 em, h2 em { font-style: italic; font-weight: 420; color: var(--mer); }
p { margin: 0 0 1em; text-wrap: pretty; }
address { font-style: normal; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.narrow { max-width: 760px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--nuit); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--mer); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.icon { flex: none; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 36em; }
.prose p { max-width: 40em; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }

/* Titre de section numéroté */
.kicker { display: flex; align-items: center; gap: var(--s3); margin: 0 0 var(--s4); font: 700 .78rem/1 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--mer); }
.kicker-num { font: italic 500 1rem/1 var(--display); letter-spacing: 0; color: var(--ink); }
.kicker-rule { width: 36px; height: 1px; background: currentColor; opacity: .6; }

/* ---------- Boutons ---------- */
.btn { --bh: 52px; display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: var(--bh); padding: 0 var(--s5); border-radius: var(--r-pill); border: 1.5px solid transparent; font: 700 1rem/1 var(--text); letter-spacing: .005em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -14px rgba(18, 58, 99, .8); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-citron { background: var(--citron); color: var(--nuit); }
.btn-citron:hover { background: #F0BC12; }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { color: var(--ink); background: transparent; padding-inline: var(--s3); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-sm { --bh: 44px; padding: 0 var(--s4); font-size: .92rem; }
.btn-block { width: 100%; }
.btn .icon { transition: transform var(--t-fast) var(--ease); }
.btn:hover .icon-arrow, .link-arrow:hover .icon { transform: translateX(3px); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; font-weight: 700; color: var(--ink); text-decoration: none; }
.link-arrow .icon { transition: transform var(--t-fast) var(--ease); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); }

/* Pastilles */
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 var(--s3); border-radius: var(--r-pill); font: 700 .85rem/1 var(--text); white-space: nowrap; }
.chip-soft { background: var(--creme); color: var(--ink); }
.chip-full { background: #FBE6E3; color: var(--danger); }
.badge { display: inline-block; vertical-align: 1px; font: 800 .66rem/1 var(--text); letter-spacing: .1em; text-transform: uppercase; padding: 4px 7px; border-radius: 6px; background: var(--highlight-soft); color: #6E5200; }
.status-pill { display: inline-flex; align-items: center; gap: var(--s2); font: 700 .82rem/1 var(--text); color: var(--ink); white-space: nowrap; }
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #B9B2A2; box-shadow: 0 0 0 3px rgba(185, 178, 162, .25); }
.status-pill.is-open .dot { background: var(--ok); box-shadow: 0 0 0 3px rgba(76, 127, 59, .2); }

/* ---------- Barre du haut & en-tête ---------- */
.topbar { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: .85rem; }
.topbar-inner { display: flex; align-items: center; gap: var(--s6); min-height: 40px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); text-decoration: none; }
a.topbar-item:hover { color: var(--ink); }
.topbar-item:last-child { margin-left: auto; font-weight: 700; color: var(--ink); }
.topbar .icon { color: var(--mer); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.5) blur(12px); border-bottom: 1px solid transparent; transition: border-color var(--t-med), box-shadow var(--t-med); }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -20px rgba(20, 42, 66, .5); }
.header-inner { display: flex; align-items: center; gap: var(--s6); height: var(--header-h); }
.brand { display: flex; align-items: center; gap: var(--s3); text-decoration: none; margin-right: auto; }
.brand img { width: 56px; height: 56px; border-radius: 50%; box-shadow: var(--shadow-sm); }
.brand-name { display: block; font: 600 1.3rem/1 var(--display); color: var(--ink); letter-spacing: -.01em; }
.brand-name em { font-style: italic; font-weight: 450; color: var(--mer); }
.brand-sub { display: block; margin-top: 6px; font: 700 .66rem/1 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.main-nav ul { display: flex; gap: var(--s1); list-style: none; margin: 0; padding: 0; }
.main-nav ul a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s3); text-decoration: none; font-weight: 600; color: var(--ink); border-radius: var(--r-sm); }
.main-nav ul a::after { content: ''; position: absolute; left: var(--s3); right: var(--s3); bottom: 6px; height: 2px; border-radius: 2px; background: var(--citron); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease); }
.main-nav ul a:hover::after, .main-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav-mobile-extra { display: none; }
.header-cta { --bh: 48px; }
.burger { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); cursor: pointer; padding: 0; align-items: center; justify-content: center; }
.burger-lines { display: grid; gap: 4px; }
.burger-lines span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--t-med) var(--ease), opacity var(--t-fast); }
.burger[aria-expanded="true"] .burger-lines span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-lines span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger-lines span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Accueil : hero ---------- */
.hero { position: relative; padding: var(--s8) 0 var(--s9); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: auto 0 0 0; height: 46%; background: var(--bg-soft); border-top: 1px solid var(--line); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--s8); align-items: center; }
.hero h1 { margin-bottom: var(--s5); }
.hero h1 em { background: linear-gradient(transparent 80%, var(--highlight-soft) 80%); padding-inline: 2px; }
.hero .lead { margin-bottom: var(--s6); }
.hero-visual { position: relative; justify-self: end; width: min(100%, 480px); }
.arch { position: relative; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--creme); }
.arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-visual .arch { border: 10px solid #fff; }
.hero-seal { position: absolute; left: -44px; bottom: 64px; width: 128px; height: 128px; display: grid; place-items: center; text-align: center; padding: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-md); font: italic 560 1.05rem/1.1 var(--display); color: var(--ink); transform: rotate(-8deg); }
.hero-seal::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; border: 1.5px dashed var(--citron); }
.hero-lemon { position: absolute; right: -30px; top: 28px; width: 92px; }
@media (prefers-reduced-motion: no-preference) { .hero-lemon { animation: spin 60s linear infinite; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Widget de réservation */
.booker { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: var(--s5); max-width: 640px; }
.booker-title { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s4); }
.booker-title h2 { font-size: 1.35rem; margin: 0; font-variation-settings: 'opsz' 30; }
.booker-row { display: grid; grid-template-columns: 1fr auto; gap: var(--s4); align-items: end; }
.field-label { display: block; margin-bottom: var(--s2); font: 800 .72rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.day-chips { display: flex; gap: var(--s2); overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.day-chips::-webkit-scrollbar { display: none; }
.day-chip { position: relative; flex: none; }
.day-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.day-chip span { display: grid; place-items: center; min-width: 64px; min-height: 56px; padding: 6px 10px; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); font: 700 .8rem/1.15 var(--text); color: var(--ink); text-align: center; transition: all var(--t-fast) var(--ease); }
.day-chip span b { display: block; font: 600 1.15rem/1 var(--display); }
.day-chip input:checked + span { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.day-chip input:focus-visible + span { outline: 3px solid var(--mer); outline-offset: 2px; }
.day-chip input:disabled + span { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.day-chip.is-other span { color: var(--link); }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); height: 56px; }
.stepper button { width: 48px; height: 100%; display: grid; place-items: center; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: var(--r-pill); }
.stepper button:hover { background: var(--bg-soft); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output, .stepper input { min-width: 56px; width: 56px; text-align: center; font: 700 1.05rem var(--text); color: var(--ink); border: 0; background: none; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.booker .btn { margin-top: var(--s4); }
.booker-other { margin-top: var(--s3); }
.booker-other[hidden] { display: none; }

/* ---------- Sections ---------- */
.section { padding: var(--s10) 0; }
.section-soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: var(--s5); flex-wrap: wrap; margin-bottom: var(--s7); }
.section-head h2 { margin: 0; }

/* Piliers */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillar { padding: var(--s6) var(--s5); display: grid; gap: var(--s3); align-content: start; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--creme); color: var(--feuille); }
.pillar:nth-child(2) .pillar-icon { color: var(--mer); }
.pillar:nth-child(3) .pillar-icon { color: #B88700; }
.pillar h3 { margin: 0; }
.pillar p { margin: 0; font-size: 1rem; }

.story { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s9); align-items: center; margin-bottom: var(--s8); }
.story-art { position: relative; padding: var(--s6) 0 0; }
.story-art .facades { width: 100%; }
.story-quote { font: italic 450 clamp(1.4rem, 2.4vw, 1.9rem)/1.3 var(--display); color: var(--ink); margin: 0 0 var(--s5); }

/* Menu : lignes avec points de conduite */
.menu-teaser { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: var(--s8); align-items: start; }
.dish-list { display: grid; gap: 0; }
.dish-list.cols-2 { grid-template-columns: 1fr 1fr; column-gap: var(--s8); }
.dish { display: flex; gap: var(--s4); padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.dish:first-child { padding-top: var(--s2); }
.dish-img { width: 88px; height: 88px; object-fit: cover; border-radius: var(--r-md); flex: none; }
.dish-body { flex: 1; min-width: 0; }
.dish-line { display: flex; align-items: baseline; gap: var(--s3); }
.dish-name { margin: 0; font-size: 1.28rem; }
.dish-dots { flex: 1; min-width: 24px; border-bottom: 2px dotted var(--line-strong); transform: translateY(-5px); }
.dish-price { font: 600 1.2rem/1 var(--display); color: var(--ink); white-space: nowrap; font-variant-numeric: lining-nums; }
.dish-desc { margin: 6px 0 0; font-size: .97rem; color: var(--ink-3); }
.teaser-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: var(--s5); }
.teaser-card { background: var(--nuit); color: #DCE6F0; border-radius: var(--r-lg); padding: var(--s6); position: relative; overflow: hidden; }
.teaser-card h3 { color: #fff; font-size: 1.6rem; }
.teaser-card .lemon-slice { position: absolute; right: -40px; bottom: -40px; width: 150px; opacity: .95; }
.teaser-card .btn { position: relative; }
.cat-links { display: flex; flex-wrap: wrap; gap: var(--s2); }
.cat-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--s4); border: 1px solid var(--line-strong); border-radius: var(--r-pill); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.cat-links a:hover { border-color: var(--ink); }

/* Agenda des soirées */
.agenda { display: grid; border-top: 1px solid var(--line-strong); }
.agenda-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: var(--s6); align-items: center; padding: var(--s6) 0; border-bottom: 1px solid var(--line); }
.agenda-row.has-img { grid-template-columns: 96px 280px minmax(0, 1fr) auto; }
.agenda-date { display: grid; justify-items: center; align-content: center; width: 96px; height: 104px; border-radius: 999px 999px var(--r-md) var(--r-md); background: var(--creme); color: var(--ink); text-align: center; }
.agenda-dow, .agenda-month { font: 700 .72rem/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--mer); }
.agenda-day { font: 560 2.4rem/1.05 var(--display); }
.agenda-img { width: 280px; height: 190px; object-fit: cover; border-radius: var(--r-md); }
.agenda-meta { margin: 0 0 6px; font: 700 .82rem/1.3 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.agenda-body h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 6px; }
.agenda-body p { margin: 0; }
.agenda-body .prose p { margin-bottom: .7em; }
.agenda-side { display: flex; align-items: center; gap: var(--s3); justify-content: flex-end; flex-wrap: wrap; }

/* Galerie */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 24%); gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s3); scrollbar-width: thin; }
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); }
.gallery figure:nth-child(even) img { border-radius: 999px 999px var(--r-md) var(--r-md); }
.gallery figcaption { margin-top: var(--s2); font-size: .9rem; color: var(--ink-3); }

/* Visite */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.visit-info { padding: var(--s7); }
.visit-hours { padding: var(--s7); background: var(--bg-soft); border-left: 1px solid var(--line); }
.visit-hours h3 { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.info-list { list-style: none; padding: 0; margin: var(--s5) 0 var(--s6); display: grid; gap: var(--s4); }
.info-list li { display: flex; gap: var(--s3); align-items: flex-start; }
.info-list .icon { color: var(--mer); margin-top: 3px; }
.info-list a { font-weight: 700; color: var(--ink); text-decoration: none; }
.info-list a:hover { text-decoration: underline; }
.hours { width: 100%; border-collapse: collapse; font-size: .98rem; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.hours th { font-weight: 600; color: var(--ink); width: 44%; }
.hours td { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 800; color: var(--ink); }
.hours tr.is-today th::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--citron); margin: 0 8px 2px -14px; }

/* ---------- Pages intérieures ---------- */
.page-hero { position: relative; overflow: hidden; padding: var(--s8) 0 var(--s7); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: var(--s3); }
.page-hero .lead { margin: 0; }
.page-hero .lemon-slice { position: absolute; right: 6%; top: 50%; width: 120px; transform: translateY(-50%); }
.page-body { padding: var(--s8) 0 var(--s9); }

/* Page menu */
.menu-toolbar { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.menu-toolbar-inner { display: flex; gap: var(--s5); align-items: center; justify-content: space-between; min-height: 68px; }
.tabs { display: flex; gap: var(--s1); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s4); border-radius: var(--r-pill); text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--ink-2); transition: background-color var(--t-fast), color var(--t-fast); }
.tab:hover { background: var(--bg-soft); color: var(--ink); }
.tab.is-active { background: var(--nuit); color: #fff; }
.filters { display: flex; gap: var(--s2); flex: none; }
.filter { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 var(--s3); border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); background: #fff; font: 700 .85rem var(--text); color: var(--ink); cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--highlight-soft); border-color: var(--citron); }
.menu-cat { padding-top: var(--s8); }
.menu-cat-head { display: grid; grid-template-columns: auto 1fr; gap: var(--s2) var(--s5); align-items: baseline; padding-bottom: var(--s4); border-bottom: 2px solid var(--ink); }
.menu-cat-head h2 { margin: 0; font-size: clamp(1.9rem, 3vw, 2.5rem); }
.menu-cat-head p { margin: 0; color: var(--ink-3); }
.menu-cat-num { font: italic 450 1.1rem var(--display); color: var(--mer); }
.menu-empty-filter { padding: var(--s6) 0; color: var(--ink-3); }
.menu-note { margin-top: var(--s7); padding: var(--s4) var(--s5); border-radius: var(--r-md); background: var(--bg-soft); font-size: .95rem; color: var(--ink-2); }
.dish.is-filtered { display: none; }

/* CTA bandeau */
.cta-band { display: grid; grid-template-columns: 1fr auto; gap: var(--s5); align-items: center; padding: var(--s7); border-radius: var(--r-lg); background: var(--creme); position: relative; overflow: hidden; }
.cta-band h2 { margin-bottom: var(--s2); font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-band p { margin: 0; }

/* ---------- Réservation ---------- */
.booking { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: var(--s8); align-items: start; }
.booking-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: var(--s5); }
.aside-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s5); background: var(--surface); }
.aside-card h2 { font-size: 1.3rem; margin-bottom: var(--s3); font-variation-settings: 'opsz' 30; }
.aside-card p:last-child { margin-bottom: 0; }
.phone-big { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; font: 560 1.5rem var(--display); color: var(--ink); text-decoration: none; }
.form-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-md); overflow: hidden; }
.step { padding: var(--s6) var(--s6) var(--s5); border-bottom: 1px solid var(--line); }
.step:last-of-type { border-bottom: 0; }
.step-head { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s5); }
.step-num { width: 32px; height: 32px; display: grid; place-items: center; flex: none; border-radius: 50%; background: var(--nuit); color: #fff; font: 600 1rem var(--display); }
.step-head h2 { margin: 0; font-size: 1.35rem; font-variation-settings: 'opsz' 30; }
.step-head .step-hint { margin-left: auto; font-size: .9rem; color: var(--ink-3); }
.form-foot { padding: var(--s5) var(--s6) var(--s6); background: var(--bg-soft); border-top: 1px solid var(--line); display: grid; gap: var(--s4); }
.fields { display: grid; gap: var(--s5); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.field { display: grid; gap: var(--s2); }
.field > label, .field > .field-label { font: 700 .92rem/1.3 var(--text); color: var(--ink); letter-spacing: 0; text-transform: none; margin: 0; }
.field .opt { font-weight: 500; color: var(--ink-3); }
.field-help { font-size: .86rem; color: var(--ink-3); margin: 0; }
.input, .field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); background: #fff; font: 500 1rem/1.4 var(--text); color: var(--ink); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.field textarea { min-height: 112px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #BFB49C; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mer); box-shadow: 0 0 0 4px rgba(44, 125, 160, .16); }
.field.has-error input, .field.has-error select, .field.has-error textarea, .field.has-error .stepper { border-color: var(--danger); }
.field-error { display: flex; gap: 6px; align-items: flex-start; margin: 0; font-size: .88rem; font-weight: 700; color: var(--danger); }
.field-error .icon { margin-top: 1px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: var(--s2); border: 0; padding: 0; margin: 0; min-width: 0; }
.slots legend { padding: 0; margin-bottom: var(--s2); }
.slot-group-label { grid-column: 1 / -1; margin: var(--s2) 0 0; font: 800 .72rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.slot { position: relative; }
.slot input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.slot span { display: grid; place-items: center; min-height: 48px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); font: 700 .98rem var(--text); color: var(--ink); font-variant-numeric: tabular-nums; transition: all var(--t-fast) var(--ease); }
.slot input:hover + span { border-color: var(--ink); }
.slot input:checked + span { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.slot input:focus-visible + span { outline: 3px solid var(--mer); outline-offset: 2px; }
.slot input:disabled + span { opacity: .35; text-decoration: line-through; }
.slot[hidden] { display: none; }
.slots-empty { grid-column: 1 / -1; margin: 0; padding: var(--s4); border-radius: var(--r-md); background: #FBEFEC; color: var(--danger); font-weight: 600; }
.check { display: flex; gap: var(--s3); align-items: flex-start; font-size: .95rem; color: var(--ink-2); cursor: pointer; }
.check input { margin-top: 3px; width: 20px; height: 20px; flex: none; accent-color: var(--nuit); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error-summary { margin: var(--s5) var(--s6) 0; padding: var(--s4) var(--s5); border-radius: var(--r-md); background: #FCEDEA; border: 1px solid #F1C9C2; color: #7E2318; }
.error-summary h2 { display: flex; align-items: center; gap: var(--s2); font: 800 1rem var(--text); color: inherit; margin: 0 0 var(--s2); }
.error-summary ul { margin: 0; padding-left: 20px; }
.error-summary a { color: inherit; font-weight: 600; }
.recap { display: grid; grid-template-columns: auto 1fr; gap: var(--s4); padding: var(--s6); border-radius: var(--r-lg); border: 1px solid #CFE3C7; background: #F1F8EE; margin-bottom: var(--s6); }
.recap-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--feuille); color: #fff; }
.recap h2 { font-size: 1.5rem; margin: 0 0 var(--s2); }
.recap p { margin: 0; }
.recap dl { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin: var(--s3) 0 0; }
.recap dl div { display: flex; gap: 6px; }
.recap dt { color: var(--ink-3); }
.recap dd { margin: 0; font-weight: 700; color: var(--ink); }
.notice { padding: var(--s4) var(--s5); border-radius: var(--r-md); margin: var(--s5) 0; font-weight: 600; }
.notice-ok { background: #F1F8EE; color: #2E5A20; border: 1px solid #CFE3C7; }
.notice-error { background: #FCEDEA; color: #7E2318; border: 1px solid #F1C9C2; }

/* ---------- Pied de page ---------- */
.site-footer { margin-top: var(--s9); }
.footer-art { width: min(1200px, 100% - 48px); margin: 0 auto -2px; }
.facades-footer { width: 100%; max-height: 120px; }
.footer-main { background: var(--nuit); color: #C7D4E2; padding: var(--s8) 0 var(--s5); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--citron); text-decoration-thickness: 2px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.1fr .8fr; gap: var(--s7); }
.footer-brand img { border-radius: 50%; margin-bottom: var(--s4); }
.footer-tag { font: italic 450 1.3rem/1.3 var(--display); color: #fff; max-width: 14em; margin-bottom: var(--s5); }
.footer-title { font: 800 .74rem/1 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--citron); margin: 0 0 var(--s4); }
.site-footer .btn-citron { color: var(--nuit); }
.site-footer .btn-citron:hover { text-decoration: none; }
.footer-link { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s3); min-height: 44px; }
.footer-hours { margin: 0; display: grid; gap: var(--s2); }
.footer-hours div { display: grid; gap: 2px; }
.footer-hours dt { color: #fff; font-weight: 700; }
.footer-hours dd { margin: 0; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; }
.footer-bottom { display: flex; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .14); margin-top: var(--s7); padding-top: var(--s4); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.action-bar { display: none; }

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49; background: #fff; padding: var(--s4) 24px var(--s6); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(20, 42, 66, .35); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform var(--t-med) var(--ease), opacity var(--t-med), visibility var(--t-med); }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; }
  .main-nav ul a { font: 560 1.6rem var(--display); min-height: 56px; padding: 0; }
  .main-nav ul a::after { left: 0; right: auto; width: 40px; bottom: 8px; }
  .nav-mobile-extra { display: grid; gap: var(--s2); margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line); font-size: .95rem; }
  .nav-mobile-extra p { margin: 0; }
  .burger { display: inline-flex; }
  .header-inner { gap: var(--s3); }
  .hero-grid, .story, .menu-teaser, .booking, .visit { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; order: -1; width: min(100%, 420px); }
  .hero::before { height: 30%; }
  .teaser-side, .booking-aside { position: static; }
  .visit-hours { border-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .agenda-row.has-img { grid-template-columns: 96px minmax(0, 1fr) auto; }
  .agenda-row.has-img .agenda-img { display: none; }
  .gallery { grid-auto-columns: minmax(220px, 40%); }
}
@media (max-width: 720px) {
  :root { --header-h: 68px; }
  body { padding-bottom: 76px; font-size: 1rem; }
  .wrap { width: calc(100% - 32px); }
  .topbar { display: none; }
  .brand img { width: 44px; height: 44px; }
  .brand-name { font-size: 1.1rem; }
  .brand-sub { display: none; }
  .header-cta { --bh: 44px; padding: 0 var(--s4); font-size: .92rem; }
  .hide-sm { display: none; }
  .hero { padding: var(--s5) 0 var(--s8); }
  .hero-visual { width: min(100%, 300px); }
  .hero-visual .arch { border-width: 6px; }
  .hero-seal { left: -20px; bottom: 24px; width: 100px; height: 100px; font-size: .88rem; padding: 14px; }
  .hero-lemon { right: -14px; top: 10px; width: 64px; }
  .booker { padding: var(--s4); margin-inline: -4px; }
  .booker-row { grid-template-columns: 1fr; }
  .section { padding: var(--s9) 0; }
  .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); }
  .pillar { padding: var(--s5) 0; grid-template-columns: 48px 1fr; column-gap: var(--s4); }
  .pillar-icon { grid-row: span 2; }
  .story { gap: var(--s6); }
  .dish-list.cols-2 { grid-template-columns: 1fr; }
  .dish-img { width: 68px; height: 68px; }
  .dish-name { font-size: 1.14rem; }
  .agenda-row, .agenda-row.has-img { grid-template-columns: 72px minmax(0, 1fr); gap: var(--s4); align-items: start; }
  .agenda-date { width: 72px; height: 84px; }
  .agenda-day { font-size: 1.9rem; }
  .agenda-side { grid-column: 2; justify-content: flex-start; }
  .visit-info, .visit-hours { padding: var(--s5); }
  .page-hero { padding: var(--s7) 0 var(--s6); }
  .page-hero .lemon-slice { width: 72px; right: -16px; top: 24px; transform: none; }
  .menu-toolbar-inner { flex-direction: column; align-items: stretch; gap: 0; padding: var(--s2) 0; }
  .filters { overflow-x: auto; padding-bottom: 4px; }
  .menu-cat-head { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: var(--s5); }
  .grid-2 { grid-template-columns: 1fr; }
  .step { padding: var(--s5) var(--s4) var(--s4); }
  .step-head .step-hint { display: none; }
  .form-foot { padding: var(--s4); }
  .error-summary { margin: var(--s4) var(--s4) 0; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .action-bar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: var(--s2); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: var(--s2) var(--s3) calc(var(--s2) + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: var(--r-md); font: 700 .78rem var(--text); color: var(--ink); text-decoration: none; }
  .action-bar a:active { background: var(--bg-soft); }
  .action-bar .action-main { flex-direction: row; gap: var(--s2); background: var(--nuit); color: #fff; font-size: .95rem; }
}

/* Le champ du sélecteur de couverts ne doit pas hériter du style des champs */
.stepper input, .field .stepper input { min-height: 0; height: 100%; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; }
.stepper:focus-within { border-color: var(--mer); box-shadow: 0 0 0 4px rgba(44, 125, 160, .16); }
@media (max-width: 720px) {
  .hero-visual { order: 0; width: min(100%, 280px); margin-top: var(--s4); }
  .header-cta { display: none; }
}

/* ==========================================================================
   v3 · finitions (ombres, détails dorés, transitions)
   Pour revenir à la v2 : supprimer tout ce qui suit.
   ========================================================================== */
:root {
  --bg: #FFFDF8;
  --bg-soft: #FFF8E8;
  --surface: #FFFFFF;
  --line: #EEE4CF;
  --line-strong: #DCCFB3;
  --gold: #C99A12;              /* citron assombri, filets et ornements uniquement */
  --shadow-sm: 0 1px 2px rgba(18, 58, 99, .06), 0 4px 12px -6px rgba(18, 58, 99, .14);
  --shadow-md: 0 2px 6px rgba(18, 58, 99, .05), 0 28px 56px -30px rgba(18, 58, 99, .42);
  --shadow-lg: 0 40px 80px -40px rgba(18, 58, 99, .55);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-slow: 900ms;
}

/* Transitions entre les pages */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; animation-timing-function: var(--ease-out); }

body { background: var(--bg); }
::selection { background: var(--highlight-soft); color: var(--nuit); }
h1, h2 { letter-spacing: -.022em; }
h1 { font-weight: 480; line-height: 1.02; }
h2 { font-weight: 500; }
h1 em, h2 em { font-weight: 380; }
:focus-visible { outline: 3px solid var(--mer); outline-offset: 3px; box-shadow: 0 0 0 6px rgba(255, 255, 255, .9); }
.footer-main :focus-visible, .teaser-card :focus-visible { outline-color: var(--citron); box-shadow: none; }

/* Kicker : filet doré */
.kicker { color: var(--link); letter-spacing: .22em; }
.kicker-rule { width: 48px; height: 1px; opacity: 1; background: linear-gradient(90deg, var(--gold), rgba(201, 154, 18, 0)); }
.kicker-num { color: var(--gold); font-size: 1.1rem; }

/* Ornement : petit losange citron sous les titres de section */
.section-head h2::after, .story h2::after, .esprit-intro h2::after {
  content: ''; display: block; width: 56px; height: 2px; margin-top: .45em;
  background: linear-gradient(90deg, var(--citron), rgba(246, 200, 51, 0));
  border-radius: 2px;
}

/* ---------- Boutons : reflet doux au survol ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: background-color var(--t-med) var(--ease), color var(--t-med) var(--ease), border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .38) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease-out); pointer-events: none; }
.btn:hover::before { transform: translateX(120%); }
.btn-primary:hover, .btn-citron:hover { transform: translateY(-2px); }
.btn-primary:hover { box-shadow: 0 16px 30px -16px rgba(18, 58, 99, .9); }
.btn-citron { box-shadow: 0 10px 24px -16px rgba(184, 135, 0, .9); }
.btn-citron:hover { box-shadow: 0 16px 30px -16px rgba(184, 135, 0, .95); }
.btn-outline { background: transparent; }
.btn-outline:hover { background: var(--surface); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0) scale(.98); }
.link-arrow { position: relative; }
.link-arrow::after { content: ''; position: absolute; left: 0; right: 26px; bottom: 8px; height: 1.5px; background: var(--citron); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease-out); }
.link-arrow:hover::after, .link-arrow:focus-visible::after { transform: scaleX(1); }
.link-arrow-soft { color: var(--link); }
.story-links { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6); margin: var(--s4) 0 0; }

/* ---------- En-tête ---------- */
.topbar { background: var(--nuit); border-bottom: 0; color: #DCE6F0; }
.topbar-item, a.topbar-item:hover, .topbar-item:last-child { color: #fff; }
.topbar .icon { color: var(--citron); }
.site-header { background: rgba(255, 253, 248, .86); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); }
.header-inner { transition: height var(--t-med) var(--ease-out); }
.brand img { transition: transform var(--t-med) var(--ease-out), width var(--t-med) var(--ease-out), height var(--t-med) var(--ease-out); }
.brand:hover img { transform: rotate(-6deg) scale(1.04); }
@media (min-width: 1101px) {
  .site-header.is-scrolled .header-inner { height: 70px; }
  .site-header.is-scrolled .brand img { width: 46px; height: 46px; }
}
.main-nav ul a { letter-spacing: .01em; transition: color var(--t-fast); }
.main-nav ul a:hover { color: var(--nuit); }
.main-nav ul a::after { height: 2px; background: linear-gradient(90deg, var(--citron), var(--gold)); }

/* Barre de progression de lecture */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 70; pointer-events: none; background: linear-gradient(90deg, var(--citron), var(--gold)); transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); }

/* ---------- Hero ---------- */
.hero { padding: var(--s8) 0 var(--s10); }
.hero::before { background: linear-gradient(180deg, var(--bg-soft), #FFF4DA); border-top: 0; }
.hero::after { content: ''; position: absolute; z-index: -1; width: 620px; aspect-ratio: 1; right: -160px; top: -180px; border-radius: 50%; background: radial-gradient(closest-side, rgba(246, 200, 51, .22), rgba(246, 200, 51, 0)); pointer-events: none; }
.hero h1 em { background: linear-gradient(transparent 78%, var(--highlight-soft) 78%); }
.hero-visual .arch { border: 0; padding: 10px; background: #fff; box-shadow: var(--shadow-lg); }
.hero-visual .arch picture, .hero-visual .arch img { border-radius: 999px 999px 16px 16px; overflow: hidden; }
.hero-visual .arch::after { content: ''; position: absolute; inset: 22px; border-radius: 999px 999px 10px 10px; border: 1px solid rgba(255, 255, 255, .55); pointer-events: none; }
.hero-seal { background: var(--nuit); color: #fff; box-shadow: var(--shadow-lg); }
.hero-seal::before { border-color: var(--citron); }
.booker { border-color: var(--line); box-shadow: var(--shadow-lg); border-radius: 28px; }
.booker-title h2 { font-weight: 520; }
.day-chip span { background: #fff; }
.day-chip span:hover { border-color: var(--ink); }
.day-chip input:checked + span { box-shadow: 0 10px 20px -12px rgba(18, 58, 99, .9); transform: translateY(-1px); }

@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { animation: rise .9s var(--ease-out) both; }
  .hero-text > :nth-child(2) { animation-delay: .1s; }
  .hero-text > :nth-child(3) { animation-delay: .2s; }
  .hero-visual .arch { animation: rise 1.1s var(--ease-out) .1s both; }
  .hero-visual .arch img { animation: settle 2.4s var(--ease-out) both; }
  .hero-seal { animation: pop .8s var(--ease-out) .6s both; }
  .page-hero h1, .page-hero .lead, .page-hero .kicker { animation: rise .8s var(--ease-out) both; }
  .page-hero .lead { animation-delay: .1s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes pop { from { opacity: 0; transform: rotate(-20deg) scale(.6); } to { opacity: 1; transform: rotate(-8deg) scale(1); } }

/* ---------- Sections ---------- */
.section-soft { background: var(--bg-soft); border-block: 0; position: relative; }
.section-soft::before, .section-soft::after { content: ''; position: absolute; left: 50%; width: min(1200px, 100% - 48px); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.section-soft::before { top: 0; } .section-soft::after { bottom: 0; }

.pillars { border-color: var(--line); gap: 0; }
.pillar { transition: background-color var(--t-med) var(--ease); }
.pillar:hover { background: var(--surface); }
.pillar-icon { width: 56px; height: 56px; background: #fff; box-shadow: var(--shadow-sm); transition: transform var(--t-med) var(--ease-out); }
.pillar:hover .pillar-icon { transform: translateY(-3px) rotate(-6deg); }
.pillar h3 { font-size: 1.45rem; font-weight: 520; }

/* Plats */
.dish { transition: background-color var(--t-med) var(--ease), padding var(--t-med) var(--ease-out); border-radius: 14px; }
@media (hover: hover) {
  .dish:hover { background: rgba(255, 255, 255, .8); padding-inline: var(--s3); }
  .section-soft .dish:hover { background: #fff; }
}
.dish-img { box-shadow: var(--shadow-sm); }
.dish-dots { border-bottom-color: var(--line-strong); }
.dish-price { color: var(--nuit); font-weight: 560; }
.teaser-card { background: radial-gradient(120% 90% at 100% 0%, #1B4B7A 0%, var(--nuit) 55%, #0D2C4C 100%); box-shadow: var(--shadow-lg); }
.teaser-card h3 { font-weight: 500; }
.cat-links a { background: rgba(255, 255, 255, .6); transition: border-color var(--t-fast), background-color var(--t-fast), transform var(--t-fast) var(--ease-out); }
.cat-links a:hover { background: #fff; transform: translateY(-1px); }

/* Agenda */
.agenda-row { transition: background-color var(--t-med) var(--ease); border-radius: 18px; }
@media (hover: hover) { .agenda-row:hover { background: var(--surface); } }
.agenda-date { background: linear-gradient(180deg, #FFF3CC, var(--creme)); box-shadow: inset 0 0 0 1px rgba(201, 154, 18, .25); }
.agenda-img { box-shadow: var(--shadow-sm); }

/* Visite */
.visit { border-color: var(--line); border-radius: 28px; box-shadow: var(--shadow-md); }
.visit-hours { background: linear-gradient(180deg, var(--bg-soft), #FFF4DA); }

/* ---------- Pages intérieures ---------- */
.page-hero { background: linear-gradient(180deg, var(--bg-soft) 0%, #FFF4DA 100%); border-bottom: 0; padding: var(--s9) 0 var(--s8); }
.page-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.page-hero::before { content: ''; position: absolute; width: 520px; aspect-ratio: 1; left: -200px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(44, 125, 160, .1), rgba(44, 125, 160, 0)); pointer-events: none; }
.menu-toolbar { background: rgba(255, 253, 248, .9); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); }
.tab { transition: background-color var(--t-med) var(--ease), color var(--t-med) var(--ease), box-shadow var(--t-med); }
.tab.is-active { box-shadow: 0 8px 18px -12px rgba(18, 58, 99, .9); }
.filter { transition: background-color var(--t-fast), border-color var(--t-fast); }
.filter:hover { border-color: var(--ink); }
.menu-cat-head { border-bottom: 1px solid var(--ink); position: relative; }
.menu-cat-head::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 72px; height: 3px; background: var(--citron); border-radius: 2px; }
.menu-cat-num { color: var(--gold); }
.menu-note { background: #fff; border: 1px solid var(--line); }
.cta-band { background: radial-gradient(120% 140% at 0% 0%, #FFF3CC 0%, var(--creme) 60%); border: 1px solid rgba(201, 154, 18, .22); box-shadow: var(--shadow-md); border-radius: 28px; }

/* Réservation & contact */
.form-card { border-radius: 28px; box-shadow: var(--shadow-lg); }
.step-num { background: #fff; color: var(--nuit); box-shadow: inset 0 0 0 1.5px var(--citron), var(--shadow-sm); }
.slot span { background: #fff; }
.slot input:checked + span { box-shadow: 0 10px 20px -12px rgba(18, 58, 99, .9); }
.aside-card { border-radius: 24px; background: linear-gradient(180deg, #fff, var(--bg)); box-shadow: var(--shadow-sm); }
.input, .field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea { border-color: var(--line-strong); }

/* ---------- Pied de page ---------- */
.footer-main { background: radial-gradient(90% 120% at 100% 0%, #1A4A78 0%, var(--nuit) 45%, #0B2742 100%); }
.footer-tag { font-weight: 400; }
.footer-bottom { border-top-color: rgba(246, 200, 51, .22); }

/* ---------- Apparition au défilement ---------- */
.reveal { transform: translateY(28px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-visible { transform: none; }

/* ---------- Mobile ---------- */
@media (max-width: 1100px) {
  .main-nav { background: var(--bg); }
  .main-nav ul a { font-weight: 480; }
  .main-nav.is-open ul li { animation: rise .5s var(--ease-out) both; }
  .main-nav.is-open ul li:nth-child(2) { animation-delay: .04s; }
  .main-nav.is-open ul li:nth-child(3) { animation-delay: .08s; }
  .main-nav.is-open ul li:nth-child(4) { animation-delay: .12s; }
  .main-nav.is-open ul li:nth-child(5) { animation-delay: .16s; }
  .main-nav.is-open ul li:nth-child(6) { animation-delay: .2s; }
}
@media (max-width: 720px) {
  .hero { padding: var(--s5) 0 var(--s8); }
  .hero::after { width: 360px; right: -160px; top: -120px; }
  .page-hero { padding: var(--s7) 0 var(--s6); }
  .booker { border-radius: 22px; }
  .visit, .cta-band, .form-card { border-radius: 22px; }
  .section-soft::before, .section-soft::after { width: calc(100% - 32px); }
  .action-bar { background: rgba(255, 253, 248, .9); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 -10px 30px -20px rgba(18, 58, 99, .45); }
  .action-bar .action-main { box-shadow: 0 10px 22px -14px rgba(18, 58, 99, .9); }
  .dish:hover { padding-inline: 0; }
}

/* ---------- Page « L'esprit du Festin » ---------- */
.esprit-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s9); align-items: center; }
.esprit-photo { margin: 0; position: relative; }
.esprit-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 24px 24px; box-shadow: var(--shadow-lg); }
.esprit-photo .lemon-slice { position: absolute; width: 96px; right: -24px; top: 24px; }
@media (prefers-reduced-motion: no-preference) { .esprit-photo .lemon-slice { animation: spin 60s linear infinite; } }
.esprit-quote { margin: var(--s8) auto 0; max-width: 860px; text-align: center; font: italic 400 clamp(1.7rem, 3.4vw, 2.8rem)/1.25 var(--display); color: var(--ink); }
.esprit-quote::before, .esprit-quote::after { content: ''; display: block; width: 1px; height: 56px; margin: 0 auto var(--s5); background: linear-gradient(180deg, transparent, var(--gold)); }
.esprit-quote::after { margin: var(--s5) auto 0; background: linear-gradient(180deg, var(--gold), transparent); }
.esprit-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); }
.esprit-card { position: relative; overflow: hidden; padding: var(--s7); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); display: grid; gap: var(--s3); align-content: start; }
.esprit-card h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; margin: 0; }
.esprit-card p { margin: 0; }
.esprit-card .actions { margin-top: var(--s3); }
.esprit-card-dark { background: radial-gradient(120% 90% at 100% 0%, #1B4B7A 0%, var(--nuit) 55%, #0D2C4C 100%); color: #DCE6F0; border-color: transparent; }
.esprit-card-dark h3 { color: #fff; }
.esprit-card-dark .lemon-slice { position: absolute; right: -36px; bottom: -36px; width: 140px; opacity: .9; }
.esprit-card-dark .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .4); }
.esprit-card-dark .btn-outline:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.esprit-card .icon-wrap { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--creme); color: var(--mer); }
.esprit-card-dark .icon-wrap { background: rgba(255, 255, 255, .1); color: var(--citron); }
@media (max-width: 1100px) { .esprit-intro { grid-template-columns: 1fr; gap: var(--s7); } .esprit-photo { max-width: 460px; } }
@media (max-width: 720px) {
  .esprit-groups { grid-template-columns: 1fr; }
  .esprit-card { padding: var(--s5); border-radius: 22px; }
  .esprit-photo { max-width: 300px; margin-inline: auto; }
  .esprit-photo .lemon-slice { width: 64px; right: -12px; }
}

/* ---------- Page 404 ---------- */
.notfound { text-align: center; padding: var(--s10) 0; }
.notfound-num { font: italic 300 clamp(6rem, 18vw, 12rem)/1 var(--display); color: var(--citron); text-shadow: 0 2px 0 var(--gold); margin: 0 0 var(--s4); }
.notfound .lead { margin: 0 auto var(--s6); }
.notfound .actions { justify-content: center; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .btn::before { display: none; }
  .btn:hover, .cat-links a:hover, .pillar:hover .pillar-icon, .brand:hover img { transform: none; }
  .reveal { transition: none; transform: none; }
  .scroll-progress { display: none; }
}
.esprit-pillars { margin-top: var(--s9); }
.cta-band-spaced { margin-top: var(--s8); }
/* Champ du sélecteur de couverts */
.field .stepper input:not([type=checkbox]):not([type=radio]) { width: 56px; min-width: 56px; min-height: 0; height: 100%; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; }
.field .stepper input:not([type=checkbox]):not([type=radio]):focus { box-shadow: none; }
.topbar .status-pill { color: #fff; }
.topbar .status-pill .dot { box-shadow: 0 0 0 3px rgba(255, 255, 255, .18); }

/* Bandeau cookies */
.consent { position: fixed; inset: auto 0 0 0; z-index: 200; display: flex; justify-content: center; padding: var(--s4); pointer-events: none; }
.consent[hidden] { display: none; }
.consent-backdrop { position: fixed; inset: 0; z-index: 199; background: rgba(18, 58, 99, .28); }
.consent-backdrop[hidden] { display: none; }
.consent-box { pointer-events: auto; width: min(100%, 640px); max-height: calc(100vh - 2 * var(--s4)); overflow-y: auto; padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg, var(--shadow-md)); }
.consent-box h2 { font-size: 1.35rem; margin: 0 0 var(--s2); }
.consent-box p { margin: 0 0 var(--s3); font-size: .95rem; color: var(--ink-2, var(--ink)); }
.consent-box a { color: var(--link); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin-top: var(--s4); }
.consent-actions .btn { width: 100%; }
.consent-actions .consent-more { grid-column: 1 / -1; justify-self: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.consent-choice { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s3) 0; border-top: 1px solid var(--line); }
.consent-choice input { margin-top: 4px; width: 20px; height: 20px; flex: none; accent-color: var(--nuit); }
.consent-choice strong { display: block; }
.consent-choice span { font-size: .9rem; color: var(--ink-2, var(--ink)); }
.consent-box :focus-visible { outline: 3px solid var(--mer); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .consent-box { animation: consent-in var(--t-med) var(--ease-out, var(--ease)); }
  @keyframes consent-in { from { opacity: 0; transform: translateY(16px); } }
}
@media (max-width: 480px) { .consent-actions { grid-template-columns: 1fr; } }
.consent-note { margin-top: var(--s3); font-size: .9rem; }

/* Pages légales */
.a-completer { padding: 0 .3em; border-radius: 4px; background: var(--highlight-soft); color: var(--ink); font-style: italic; }
.legal-table { width: 100%; border-collapse: collapse; margin: var(--s4) 0; font-size: .95rem; }
.legal-table th, .legal-table td { padding: var(--s3); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { font-weight: 700; background: var(--bg-soft); }
.legal-updated { margin-top: var(--s6); font-size: .9rem; color: var(--ink-2, var(--ink)); }
.form-note { margin: var(--s2) 0 0; font-size: .88rem; color: var(--ink-2, var(--ink)); }
.form-note a { color: var(--link); }
.consent [hidden] { display: none !important; }


/* Bandeau cookies · version mobile compacte (carte en bas d'écran) */
@media (max-width: 600px) {
  .consent { padding: 0 12px calc(12px + env(safe-area-inset-bottom, 0px)); }
  .consent-backdrop { background: rgba(18, 58, 99, .14); }
  .consent-box { position: relative; width: 100%; max-height: min(78vh, 560px); padding: 18px 18px 14px; border-radius: 20px; border-color: rgba(18, 58, 99, .08); box-shadow: 0 -2px 0 var(--citron, #F6C833) inset, 0 18px 48px rgba(18, 58, 99, .22); }
  .consent-box h2 { margin: 0 0 6px; font-size: 1.08rem; line-height: 1.25; }
  .consent-box p { margin: 0 0 4px; font-size: .84rem; line-height: 1.5; }
  .consent-actions { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
  .consent-actions .btn { min-height: 44px; padding: 0 12px; font-size: .92rem; }
  .consent-actions .consent-save { grid-column: 1 / -1; }
  .consent-actions .consent-more { min-height: 36px; padding: 0 8px; font-size: .84rem; }
  .consent-choice { padding: 10px 0; }
  .consent-choice span { font-size: .82rem; }
  .consent-note { font-size: .82rem; }
}
.consent-box:focus { outline: none; }
@media (max-width: 340px) {
  .consent-box { padding: 16px 14px 12px; }
  .consent-actions .btn { font-size: .86rem; padding: 0 8px; }
}

/* Mobile : tableaux des pages légales défilables dans leur cadre, rien ne dépasse de l'écran */
@media (max-width: 700px) {
  .legal-table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .day-chips, .tabs { max-width: 100%; }
  body { overflow-x: clip; }
}

/* Formulaires mobiles : compteur de personnes centré dès l'affichage, champs à 16 px (pas de zoom sur iPhone) */
.stepper { justify-content: space-between; max-width: 100%; }
.stepper input, .field .stepper input:not([type=checkbox]):not([type=radio]) { flex: 1 1 56px; width: auto; min-width: 48px; text-align: center; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fields, .field, .step { min-width: 0; }
@media (max-width: 767px) {
  input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea { font-size: max(16px, 1em); }
}
/* Grilles de contenu : une colonne ne peut plus s'élargir au-delà de l'écran */
.booking > *, .wrap > *, .form-card, .form-card > * { min-width: 0; }
@media (max-width: 767px) { .wrap.booking { grid-template-columns: minmax(0, 1fr); } }

/* Page Carte : recherche, bandeaux photo des rubriques, titres de sections */
.page-hero-menu { padding-bottom: var(--s6); }
.page-hero-menu .lead { max-width: 34em; }
.menu-search { position: relative; display: flex; align-items: center; max-width: 520px; margin-top: var(--s5); }
.menu-search > .icon { position: absolute; left: 18px; color: var(--ink-3); pointer-events: none; }
.menu-search input { width: 100%; height: 56px; padding: 0 52px 0 50px; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); background: #fff; font: 500 1rem var(--text); color: var(--ink); transition: border-color var(--t-fast), box-shadow var(--t-med) var(--ease); -webkit-appearance: none; }
.menu-search input::placeholder { color: #8A929B; }
.menu-search input:focus { outline: none; border-color: var(--nuit); box-shadow: 0 0 0 5px rgba(18, 58, 99, .08); }
.menu-search input::-webkit-search-cancel-button { display: none; }
.menu-search-clear { position: absolute; right: 8px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--bg-soft); color: var(--ink); cursor: pointer; }
.menu-results { margin: 0; font-weight: 700; color: var(--ink); }
.menu-section-title { display: none; }
.menu-js.is-searching .menu-section-title { display: block; font-size: .78rem; font-family: var(--text); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin: var(--s7) 0 0; }
.no-js .menu-section-title, body:not(.menu-js) .menu-section-title { display: block; margin-top: var(--s8); }
.menu-body { padding-top: 0; }
.menu-body .cta-band { margin-top: var(--s8); }
.menu-cat-cover { margin: 0 0 var(--s5); border-radius: var(--r-lg); overflow: hidden; background: var(--creme); }
.menu-cat-cover img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; }
@media (max-width: 720px) {
  .menu-search { margin-top: var(--s4); }
  .menu-search input { height: 52px; }
  .menu-results { padding: var(--s2) 0 var(--s3); }
  .menu-cat-cover { border-radius: var(--r-md, 14px); margin-bottom: var(--s4); }
  .menu-cat-cover img { aspect-ratio: 16 / 9; }
}
.menu-search-clear[hidden] { display: none; }

/* Audit du 29/10 : confort mobile, accessibilité, titre affiché plus vite */
@media (max-width: 720px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}
@keyframes rise-titre { from { transform: translateY(14px); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-text > h1, .page-hero h1 { animation-name: rise-titre; }
}
.field, .menu-search { --line-strong: #9C8F72; }
.tab, .cat-links a, .consent-actions .consent-more { min-height: 44px; }
.language-switch a { min-width: 44px; min-height: 44px; }
.kicker-num { margin-right: .3em; }

/* Questions fréquentes (page Contact) */
.faq .faq-list { display: grid; gap: var(--s3, 12px); max-width: 760px; margin-top: var(--s5, 24px); }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md, 14px); background: var(--surface, #fff); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 18px; font-weight: 700; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font-size: 1.3rem; line-height: 1; color: var(--mer, #2C7DA0); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 18px 16px; color: var(--ink-2, var(--ink)); }