/* La Brace — pizzeria napolitaine & bar, Rouen (site de démonstration WytsWeb). Mobile d'abord. */

:root {
    --ink: #1f1410;
    --text: #2a1c16;
    --muted: #6b5547;
    --accent: #a8472a;
    --accent-dark: #8c3920;
    --ember: #e0662f;
    --bg: #f6eee1;
    --surface: #fbf7ef;
    --soft: #ede2cf;
    --line: #e4d5be;
    --field-border: #8f7a63;
    --on-accent: #ffffff;
    --on-dark: #f6eee1;
    --on-dark-muted: #cdbba5;
    --ok: #2f6b4f;
    --ok-soft: #e4efe4;
    --warn: #6b4a12;
    --warn-soft: #f8e9c8;
    --error: #9e2a22;
    --error-soft: #f8e3de;
    --serif: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
    --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --radius: 6px;
    --radius-lg: 10px;
    --shadow: 0 18px 50px rgba(31, 20, 16, .10);
    --max: 1180px;
    --header-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.7 var(--sans); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.08; margin: 0 0 1rem; letter-spacing: -.015em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.75rem, 9vw, 5.5rem); }
h2 { font-size: clamp(2.125rem, 5.5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.875rem); }
h4 { font-size: 1.25rem; }
h1 em, h2 em { font-style: italic; font-weight: 300; color: var(--accent); }
p { margin: 0 0 1.125rem; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.on-dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .site-header.is-overlay :focus-visible { outline-color: var(--ember); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--on-dark); padding: .75rem 1rem; border-radius: var(--radius); }
.skip:focus { top: 1rem; color: var(--on-dark); }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.narrow { max-width: 46rem; }
.kicker { display: block; font: 600 .78rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--accent-dark); margin: 0 0 1rem; }
.lead { font-size: 1.1875rem; line-height: 1.65; max-width: 40rem; color: var(--text); }
.muted { color: var(--muted); }
.section { padding: 4.5rem 0; }
.section-soft { background: var(--soft); }
.section-surface { background: var(--surface); }
.section-head { max-width: 42rem; margin-bottom: 2.75rem; }
.on-dark { background: var(--ink); color: var(--on-dark); }
.on-dark h2, .on-dark h3, .on-dark h4 { color: var(--on-dark); }
.on-dark .kicker { color: var(--ember); }
.on-dark h2 em { color: var(--ember); }
.on-dark a { color: var(--on-dark); }
.on-dark .muted { color: var(--on-dark-muted); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .8rem 1.6rem; border-radius: var(--radius); border: 1.5px solid var(--accent); background: var(--accent); color: var(--on-accent); font: 600 .875rem/1.2 var(--sans); letter-spacing: .09em; text-transform: uppercase; text-decoration: none; text-align: center; cursor: pointer; transition: background .25s, border-color .25s, color .25s, transform .25s; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--on-accent); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--field-border); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.btn-light { background: transparent; color: var(--on-dark); border-color: rgba(246, 238, 225, .7); }
.btn-light:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.btn-danger { background: var(--error); border-color: var(--error); }
.btn-danger:hover { background: #7f1f19; border-color: #7f1f19; }
.btn-small { min-height: 44px; padding: .55rem 1.1rem; font-size: .8125rem; }
.btn-link { background: none; border: 0; padding: 0; min-height: 44px; color: var(--accent-dark); font: 600 1rem var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; }
.btn-link:hover { color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.arrow-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 600; color: var(--accent-dark); text-decoration: none; border-bottom: 1px solid currentColor; }
.arrow-link::after { content: '→'; transition: transform .25s; }
.arrow-link:hover::after { transform: translateX(4px); }
.on-dark .arrow-link { color: var(--on-dark); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(246, 238, 225, .96); border-bottom: 1px solid var(--line); transition: background .3s, border-color .3s; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; padding: .5rem 0; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-name { font: 500 1.75rem/1 var(--serif); letter-spacing: -.01em; }
.brand-tag { font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: .35rem; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--radius); border: 1px solid var(--field-border); background: transparent; color: var(--ink); cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 1.5px; background: currentColor; position: relative; content: ''; transition: transform .25s; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded='true'] span { background: transparent; }
.nav-toggle[aria-expanded='true'] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] span::after { top: 0; transform: rotate(-45deg); }
.site-nav { display: none; position: absolute; inset: 100% 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem 1rem 1.5rem; box-shadow: var(--shadow); }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) { display: flex; align-items: center; min-height: 52px; color: var(--ink); text-decoration: none; font: 400 1.375rem var(--serif); border-bottom: 1px solid var(--line); }
.site-nav a[aria-current='page'] { color: var(--accent-dark); font-style: italic; }
.site-nav .btn { margin-top: 1.25rem; width: 100%; }

/* Accueil : en-tête posé sur la photo, puis plein au défilement. */
.home .site-header { position: absolute; inset: 0 0 auto 0; }
.js .home .site-header { position: fixed; }
.site-header.is-overlay { background: transparent; border-color: transparent; }
.site-header.is-overlay .brand, .site-header.is-overlay .nav-toggle { color: var(--on-dark); }
.site-header.is-overlay .brand-tag { color: rgba(246, 238, 225, .8); }
.site-header.is-overlay .nav-toggle { border-color: rgba(246, 238, 225, .6); }

/* ---------- Haut de page ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: var(--on-dark); background: var(--ink); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 20, 16, .62) 0%, rgba(31, 20, 16, .28) 34%, rgba(31, 20, 16, .9) 100%); }
.hero-inner { position: relative; z-index: 1; padding: calc(var(--header-h) + 3rem) 0 2.5rem; }
.hero .kicker { color: #f3b796; }
.hero h1 { color: var(--on-dark); max-width: 12ch; margin-bottom: 1.25rem; }
.hero h1 em { color: #f3a273; }
.hero-lead { font-size: 1.1875rem; max-width: 34rem; margin-bottom: 2rem; color: #f1e6d6; }
.hero-meta { position: relative; z-index: 1; border-top: 1px solid rgba(246, 238, 225, .28); padding: 1rem 0 1.25rem; display: flex; flex-wrap: wrap; gap: .25rem 2rem; font-size: .875rem; letter-spacing: .04em; color: #eadccb; }
.hero-meta span { display: inline-flex; align-items: center; gap: .6rem; }
.hero-meta span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); flex: none; }

.page-head { padding: 3.5rem 0 3rem; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); max-width: 16ch; }
.page-head .lead { margin-bottom: 0; }

/* ---------- Accueil ---------- */
.manifesto { text-align: center; }
.manifesto p { font: 300 clamp(1.5rem, 3.6vw, 2.25rem)/1.4 var(--serif); color: var(--ink); max-width: 26em; margin-inline: auto; letter-spacing: -.01em; }
.manifesto em { color: var(--accent); }
.ornament { display: block; width: 1px; height: 3.5rem; margin: 0 auto 2rem; background: linear-gradient(var(--ember), var(--accent)); }

.feature { display: grid; gap: 1.75rem; align-items: center; padding: 2.5rem 0; }
.feature-media { position: relative; }
.feature-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.figure { display: block; font: 300 clamp(3.25rem, 9vw, 5.5rem)/1 var(--serif); color: var(--accent); letter-spacing: -.03em; margin-bottom: .75rem; }
.figure small { font-size: .45em; letter-spacing: 0; }
.feature-body p { max-width: 32rem; }

.menu-teaser { display: grid; gap: 0 4rem; margin: 0 0 2.5rem; padding: 0; list-style: none; }
.menu-line { padding: 1.25rem 0; border-bottom: 1px solid rgba(246, 238, 225, .16); }
.menu-line-head { display: flex; align-items: baseline; gap: .75rem; }
.menu-line-head h3 { font-size: 1.375rem; margin: 0; }
.menu-line-head::after { content: ''; order: 1; flex: 1; border-bottom: 1px dotted rgba(246, 238, 225, .4); transform: translateY(-.3em); }
.menu-line-head .price { order: 2; font: 400 1.25rem var(--serif); color: #f3b796; white-space: nowrap; }
.menu-line p { margin: .35rem 0 0; font-size: .9375rem; color: var(--on-dark-muted); max-width: 30rem; }

.place { display: grid; gap: 2rem; align-items: center; }
.place-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.place-side img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); margin-top: 1.75rem; }

.info-cols { display: grid; gap: 2rem; }
.info-col { border-top: 1px solid var(--field-border); padding-top: 1.25rem; }
.info-col h3 { font-size: 1.375rem; margin-bottom: .75rem; }
.info-col p { margin-bottom: .5rem; }
.big-link { font: 400 1.625rem var(--serif); color: var(--ink); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; border-bottom: 1px solid var(--accent); }
.big-link:hover { color: var(--accent); }

.cta { text-align: center; padding: 5rem 0; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; left: 50%; bottom: -14rem; width: 34rem; height: 24rem; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(224, 102, 47, .38), rgba(224, 102, 47, 0)); pointer-events: none; }
.cta .container { position: relative; }
.cta h2 { max-width: 18ch; margin-inline: auto; }
.cta p { max-width: 34rem; margin-inline: auto; margin-bottom: 2rem; color: var(--on-dark-muted); }
.cta .actions { justify-content: center; }

/* ---------- Carte ---------- */
.menu-nav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(246, 238, 225, .97); border-bottom: 1px solid var(--line); }
.menu-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; overflow-x: auto; scrollbar-width: none; }
.menu-nav ul::-webkit-scrollbar { display: none; }
.menu-nav a { display: flex; align-items: center; justify-content: center; min-height: 52px; min-width: 44px; white-space: nowrap; color: var(--muted); text-decoration: none; font: 600 .8125rem var(--sans); letter-spacing: .14em; text-transform: uppercase; border-bottom: 2px solid transparent; }
.menu-nav a:hover, .menu-nav a.is-active { color: var(--accent-dark); border-color: var(--accent); }
.menu-section { padding: 4rem 0; border-bottom: 1px solid var(--line); }
.menu-section:last-of-type { border-bottom: 0; }
.menu-head { display: grid; gap: 1.5rem; margin-bottom: 2rem; align-items: end; }
.menu-head p { color: var(--muted); max-width: 34rem; margin: 0; }
.menu-head img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.dishes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 4rem; }
.dish { padding: 1.375rem 0; border-top: 1px solid var(--line); }
.dish-head { display: flex; align-items: baseline; gap: .75rem; }
.dish-head h3, .dish-head h4 { font-size: 1.375rem; margin: 0; }
.dish-head::after { content: ''; order: 1; flex: 1; min-width: 1rem; border-bottom: 1px dotted var(--field-border); transform: translateY(-.3em); }
.dish .price { order: 2; font: 400 1.25rem var(--serif); color: var(--accent-dark); white-space: nowrap; }
.dish p { margin: .35rem 0 0; font-size: .9688rem; color: var(--muted); max-width: 34rem; }
.dish .dish-meta { font-size: .8125rem; margin-top: .6rem; display: flex; flex-wrap: wrap; gap: .4rem .6rem; align-items: center; }
.tag { display: inline-block; padding: .1rem .55rem; border-radius: 999px; border: 1px solid currentColor; font-size: .75rem; font-weight: 600; letter-spacing: .04em; color: var(--ok); }
.tag-hot { color: var(--error); }
.tag-sig { color: var(--accent-dark); }
.sub-title { font: 600 .8125rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-dark); margin: 2.5rem 0 .5rem; }
.sub-title:first-of-type { margin-top: 0; }
.note-box { margin-top: 2rem; padding: 1.25rem 1.5rem; border-left: 2px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; font-size: .9688rem; }
.note-box p:last-child { margin: 0; }
.formula { display: grid; gap: 1rem; padding: 1.75rem; border: 1px solid var(--field-border); border-radius: var(--radius-lg); background: var(--surface); }
.formula h3 { margin: 0; }
.formula ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.formula strong { font: 400 1.375rem var(--serif); color: var(--accent-dark); }

/* ---------- La maison ---------- */
.split { display: grid; gap: 2.5rem; align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.quote { font: 300 italic clamp(1.375rem, 3vw, 1.75rem)/1.45 var(--serif); color: var(--ink); border-left: 2px solid var(--accent); padding-left: 1.25rem; margin: 0 0 1.5rem; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; gap: .25rem 2rem; padding: 1.75rem 0; border-top: 1px solid rgba(246, 238, 225, .18); }
.timeline .year { font: 300 2.25rem/1 var(--serif); color: var(--ember); }
.timeline h3 { font-size: 1.375rem; margin-bottom: .4rem; }
.timeline p { margin: 0; color: var(--on-dark-muted); max-width: 38rem; }
.team { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 3rem; }
.team li { padding: 1.5rem 0; border-top: 1px solid var(--field-border); }
.team h3 { font-size: 1.625rem; margin-bottom: .15rem; }
.team .role { font: 600 .75rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: .6rem; }
.team p:last-child { margin: 0; color: var(--muted); }
.values { display: grid; gap: 2rem; }
.values h3 { font-size: 1.5rem; }
.values p { color: var(--muted); margin: 0; }
.values > div { border-top: 1px solid var(--field-border); padding-top: 1.25rem; }

/* ---------- Infos ---------- */
.two-cols { display: grid; gap: 3rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .8rem 0; border-bottom: 1px solid var(--line); font-weight: 400; vertical-align: top; }
.hours th { color: var(--ink); font-weight: 600; white-space: nowrap; padding-right: 1rem; }
.hours td { text-align: right; }
.hours .closed td { color: var(--muted); font-style: italic; }
.hours tr.is-today th::after { content: 'Aujourd’hui'; display: inline-block; margin-left: .6rem; padding: .05rem .5rem; border-radius: 999px; background: var(--accent); color: #fff; font-size: .6875rem; font-weight: 600; letter-spacing: .06em; vertical-align: middle; }
.map { width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: var(--radius); display: block; background: var(--soft); }
.plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.plain-list strong { color: var(--ink); }
.facts { display: grid; gap: 0 3rem; margin: 0; }
.facts div { padding: 1.25rem 0; border-top: 1px solid var(--field-border); }
.facts dt { font: 400 1.375rem var(--serif); color: var(--ink); margin-bottom: .3rem; }
.facts dd { margin: 0; color: var(--muted); }
.faq { border-top: 1px solid var(--field-border); }
.faq:last-of-type { border-bottom: 1px solid var(--field-border); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 64px; padding: .75rem 0; font: 400 1.3125rem/1.3 var(--serif); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 300 1.75rem/1 var(--sans); color: var(--accent); flex: none; transition: transform .25s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { max-width: 44rem; color: var(--muted); padding-bottom: 1.25rem; margin: 0; }

/* ---------- Pages légales ---------- */
.legal { padding: 3rem 0 5rem; }
.legal h1 { font-size: clamp(2.25rem, 7vw, 3.5rem); }
.legal h2 { font-size: 1.625rem; margin-top: 2.5rem; }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: .4rem; }
.legal .note-box { margin: 1.5rem 0; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 4rem 0 2rem; font-size: .9688rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #f3b796; text-decoration: underline; }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-brand { font: 500 2.25rem/1 var(--serif); color: var(--on-dark); margin-bottom: .75rem; }
.site-footer h2 { font: 600 .75rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #f3b796; margin-bottom: .75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.footer-nav a, .footer-contact a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-hours li { padding: .3rem 0; }
.footer-hours span { display: block; font-size: .8125rem; color: var(--on-dark-muted); }
.footer-hours strong { font-weight: 400; color: var(--on-dark); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(246, 238, 225, .16); display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; justify-content: space-between; font-size: .8438rem; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-color: rgba(246, 238, 225, .4); }
.footer-bottom span { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 .4rem; min-height: 44px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }

/* ---------- Réservation ---------- */
.booking { display: grid; gap: 1.25rem; align-items: start; }
.booking-panel { min-height: 18rem; }
.booking-panel.is-full { grid-column: 1 / -1; }
.steps { list-style: none; display: flex; gap: .375rem; padding: 0; margin: 0 0 1.75rem; counter-reset: step; }
.steps li { flex: 1; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.steps li::before { content: ''; display: block; height: 2px; background: var(--line); margin-bottom: .6rem; transition: background .3s; }
.steps li.is-done::before, .steps li[aria-current='step']::before { background: var(--accent); }
.steps li[aria-current='step'] { color: var(--ink); }
.steps .step-label { display: none; }
.steps li[aria-current='step'] .step-label { display: block; }
.step-title { font-size: clamp(1.625rem, 4vw, 2rem); margin-bottom: .35rem; }
.step-title:focus { outline: none; }
.step-intro { color: var(--muted); margin-bottom: 1.5rem; }
.back { margin-bottom: .25rem; }

.party { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.party button { min-height: 60px; border-radius: var(--radius); border: 1.5px solid var(--field-border); background: var(--surface); font: 400 1.5rem var(--serif); color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.party button:hover { border-color: var(--accent); background: #fff; }
.party button[aria-pressed='true'] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.party-more-link { margin-top: 1rem; }
.party-more { display: flex; align-items: center; gap: .75rem; margin-top: 1.25rem; flex-wrap: wrap; }
.party-more label { font-weight: 600; color: var(--ink); }
.party-more input { width: 6rem; min-height: 50px; padding: .5rem .75rem; border-radius: var(--radius); border: 1.5px solid var(--field-border); background: var(--surface); font: inherit; color: var(--ink); }
.group-note { margin-top: 1.25rem; padding: 1rem 1.125rem; border-radius: var(--radius); background: var(--warn-soft); color: var(--warn); font-size: .9688rem; }
.group-note a { color: inherit; font-weight: 600; }

.week-nav { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .875rem; }
.week-nav button { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 1.5px solid var(--field-border); background: var(--surface); cursor: pointer; font-size: 1.375rem; line-height: 1; color: var(--ink); transition: border-color .2s, background .2s; }
.week-nav button:hover:not(:disabled) { border-color: var(--accent); background: #fff; }
.week-nav button:disabled { opacity: .35; cursor: default; }
.week-label { font: 400 1.1875rem var(--serif); color: var(--ink); text-align: center; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .25rem; }
.day { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 68px; padding: 0; border-radius: var(--radius); border: 1.5px solid var(--field-border); background: var(--surface); color: var(--ink); font: inherit; font-size: .75rem; cursor: pointer; text-transform: capitalize; transition: border-color .2s, background .2s, color .2s; }
.day strong { font: 400 1.375rem/1.2 var(--serif); }
.day:hover:not(:disabled) { border-color: var(--accent); background: #fff; }
.day[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.day:disabled { background: transparent; color: #8a7b6c; border: 1.5px dashed var(--line); cursor: default; }
.period-title { font: 600 .8125rem var(--sans); text-transform: uppercase; letter-spacing: .16em; color: var(--accent-dark); margin: 1.75rem 0 .75rem; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.25rem, 1fr)); gap: .5rem; }
.slot { min-height: 50px; border-radius: var(--radius); border: 1.5px solid var(--field-border); background: var(--surface); color: var(--ink); font: 500 1.0625rem var(--sans); font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.slot:hover { border-color: var(--accent); background: #fff; }
.slot[aria-pressed='true'] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.empty { padding: 1.5rem; border-radius: var(--radius); background: var(--soft); text-align: center; margin-top: 1rem; }

.form-grid { display: grid; gap: 1.125rem; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: .4rem; font-size: .9375rem; }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; min-height: 52px; padding: .8rem 1rem; border-radius: var(--radius); border: 1.5px solid var(--field-border); background: var(--surface); font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus, .party-more input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(168, 71, 42, .28); }
.field [aria-invalid='true'], .party-more [aria-invalid='true'] { border-color: var(--error); }
.field-hint { font-size: .8438rem; color: var(--muted); margin-top: .35rem; }
.field-error { color: var(--error); font-size: .9063rem; font-weight: 500; margin-top: .4rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.privacy-note { font-size: .875rem; color: var(--muted); margin: 0; }
.form-grid .btn { width: 100%; }
.powered { font-size: .8125rem; color: var(--muted); margin: 1.25rem 0 0; }

.alert { padding: 1rem 1.125rem; border-radius: var(--radius); margin-bottom: 1.25rem; }
.alert p { margin: 0; }
.alert-actions { display: flex; flex-wrap: wrap; gap: .625rem; margin-top: .875rem; }
.alert-error { background: var(--error-soft); color: var(--error); }
.alert-ok { background: var(--ok-soft); color: var(--ok); }
.alert-warn { background: var(--warn-soft); color: var(--warn); }
.alert a:not(.btn) { color: inherit; font-weight: 600; }
.loading { color: var(--muted); padding: 2.5rem 0; text-align: center; }
.loading::before { content: ''; display: block; width: 28px; height: 28px; margin: 0 auto .875rem; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Réservation indisponible ou en échec au chargement : le téléphone prend le relais. */
.booking-off { text-align: center; padding: 2.5rem 1.25rem; border: 1px solid var(--field-border); border-radius: var(--radius-lg); background: var(--surface); }
.booking-off h3, .booking-off h1 { font-size: clamp(1.625rem, 4vw, 2.125rem); margin-bottom: .5rem; }
.booking-off p { max-width: 30rem; margin-inline: auto; color: var(--muted); }
.booking-off .phone { display: inline-flex; align-items: center; min-height: 48px; font: 400 clamp(1.875rem, 6vw, 2.5rem)/1.1 var(--serif); color: var(--accent-dark); text-decoration: none; border-bottom: 1px solid currentColor; margin: .5rem 0 1rem; }
.booking-off .alert-actions { justify-content: center; }
.booking-off .hint { font-size: .875rem; margin: 0; }

.booking-aside { position: sticky; bottom: .75rem; z-index: 5; }
.summary { background: var(--ink); color: var(--on-dark); border-radius: var(--radius-lg); padding: .5rem 1.25rem; box-shadow: 0 10px 34px rgba(31, 20, 16, .3); }
.summary summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; min-height: 44px; align-items: center; }
.summary summary::-webkit-details-marker { display: none; }
.summary summary::after { content: '▾'; color: var(--on-dark-muted); }
.summary[open] summary::after { content: '▴'; }
.summary dl { margin: .5rem 0 .75rem; display: grid; gap: .875rem; }
.summary dt { font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #f3b796; }
.summary dd { margin: .1rem 0 0; font: 400 1.1875rem/1.35 var(--serif); }
.summary-empty { margin: .25rem 0 .75rem; color: var(--on-dark-muted); font-size: .9375rem; }
.summary-plain { background: var(--surface); color: var(--text); border: 1px solid var(--field-border); box-shadow: none; padding: 1.25rem; margin-top: 1.25rem; }
.summary-plain dl { margin: 0; }
.summary-plain dt { color: var(--accent-dark); }

.done { text-align: center; padding: 2.5rem 1.25rem; border: 1px solid var(--field-border); border-radius: var(--radius-lg); background: var(--surface); }
.done-icon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1.25rem; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); font-size: 1.875rem; }
.done-icon.is-pending { background: var(--warn-soft); color: var(--warn); }
.done-date { font: 400 1.375rem/1.4 var(--serif); color: var(--ink); }
.done-actions { display: grid; gap: .75rem; max-width: 24rem; margin: 1.75rem auto 0; }
.badge { display: inline-block; padding: .2rem .8rem; border-radius: 999px; font-size: .8125rem; font-weight: 600; background: var(--ok-soft); color: var(--ok); }
.badge-pending { background: var(--warn-soft); color: var(--warn); }
.badge-off { background: var(--error-soft); color: var(--error); }

.manage { padding: 3rem 0 5rem; min-height: 70vh; }
.manage-card { max-width: 42rem; margin-inline: auto; }
.manage h2 { font-size: 1.625rem; margin-top: 2rem; }
.manage-actions { display: grid; gap: .75rem; margin-top: 1.5rem; }
.manage-note { margin-top: 1rem; }
.manage-more { margin-top: 1.75rem; }
.confirm-box { margin-top: 1.5rem; padding: 1.25rem; border-radius: var(--radius); background: var(--soft); }
.confirm-box p { margin: 0; }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero-img { animation: settle 2.4s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes settle { from { transform: scale(1.07); } to { transform: scale(1); } }
.feature-media img, .place img, .split img, .menu-head img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }

@media (min-width: 560px) {
    .container { width: min(100% - 3rem, var(--max)); }
    .party { grid-template-columns: repeat(8, 1fr); }
    .steps .step-label { display: block; }
    .form-grid { grid-template-columns: 1fr 1fr; }
    .form-grid .full { grid-column: 1 / -1; }
    .booking-panel { background: var(--surface); border: 1px solid var(--field-border); border-radius: var(--radius-lg); padding: 2rem; }
    .booking-panel .booking-off, .booking-panel .done { border: 0; padding: 1.5rem 0; background: none; }
    .days { gap: .5rem; }
    .manage-actions { grid-template-columns: 1fr 1fr; }
    .done-actions { max-width: none; grid-template-columns: 1fr 1fr; }
    .facts, .team { grid-template-columns: 1fr 1fr; }
    .info-cols { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
    .section { padding: 7rem 0; }
    .nav-toggle { display: none; }
    .site-nav { display: block; position: static; padding: 0; background: none; border: 0; box-shadow: none; }
    .site-nav ul { display: flex; align-items: center; gap: 2.25rem; }
    .site-nav a:not(.btn) { border: 0; min-height: 44px; font: 500 .9375rem var(--sans); letter-spacing: .02em; position: relative; }
    .site-nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
    .site-nav a:not(.btn):hover::after, .site-nav a[aria-current='page']::after { transform: scaleX(1); }
    .site-nav a[aria-current='page'] { font-style: normal; }
    .site-nav .btn { margin: 0; width: auto; min-height: 44px; padding: .6rem 1.25rem; }
    .site-header.is-overlay .site-nav a:not(.btn) { color: var(--on-dark); }
    .hero-inner { padding-bottom: 4rem; }
    .page-head { padding: 6rem 0 4.5rem; }
    .feature { grid-template-columns: 5fr 6fr; gap: 6rem; padding: 3.5rem 0; }
    .feature:nth-of-type(even) .feature-media { order: 2; }
    .feature:nth-of-type(even) { grid-template-columns: 6fr 5fr; }
    .menu-teaser { grid-template-columns: 1fr 1fr; }
    .place { grid-template-columns: 7fr 5fr; gap: 5rem; }
    .dishes { grid-template-columns: 1fr 1fr; }
    .menu-head { grid-template-columns: 1fr 1fr; gap: 4rem; }
    .menu-section { padding: 6rem 0; }
    .formula { grid-template-columns: 1fr auto; align-items: center; padding: 2.25rem 2.5rem; }
    .split { grid-template-columns: 5fr 6fr; gap: 6rem; }
    .timeline li { grid-template-columns: 9rem 1fr; }
    .team { grid-template-columns: repeat(4, 1fr); gap: 0 2.5rem; }
    .values { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
    .two-cols { grid-template-columns: 1fr 1fr; gap: 6rem; }
    .facts { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1.2fr 1.4fr; gap: 3rem; }
    .booking { grid-template-columns: minmax(0, 1fr) 21rem; gap: 2rem; }
    .booking-panel { padding: 2.5rem; }
    .booking-aside { top: calc(var(--header-h) + 1.5rem); bottom: auto; }
    .summary { box-shadow: none; padding: 1.75rem; }
    .summary summary { pointer-events: none; min-height: 0; font: 400 1.5rem var(--serif); margin-bottom: 1rem; }
    .summary summary::after { display: none; }
    .feature-media:hover img, .place-main:hover img { transform: scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

.nowrap { white-space: nowrap; }
