/* Maison Rozenn — site de démonstration La Balise.
   Aucune règle inline dans la page : la CSP du domaine (style-src 'self') les bloquerait.
   Ambiance « table gastronomique » : sections nuit (brun-noir) et papier (crème) en alternance, laiton réservé aux accents. */

@font-face { font-family: "Cormorant Garamond"; src: url("/exemples/traiteur-reception/fonts/cormorant.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/exemples/traiteur-reception/fonts/cormorant-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("/exemples/traiteur-reception/fonts/jost.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
/* Repli métrique : limite le saut de mise en page pendant le chargement des polices */
@font-face { font-family: "Cormorant fallback"; src: local("Georgia"); size-adjust: 88%; ascent-override: 98%; }

/* Contrastes (WCAG, mesurés) : cream/night 16.0 · mist/night 9.0 · brass/night 8.0 · ink/paper 16.0 · muted/paper 5.9
   · brass-dark/paper 5.2 · night/brass 8.0 (boutons) · err/card 6.9 · ok/card 6.3 · option #7A5512/card 6.6
   · pastille « sous option » #A0731E/card 4.2 (objet graphique, seuil 3:1) */
:root {
  --night: #15110E;
  --night-2: #1F1A16;
  --night-3: #2B241F;
  --cream: #F3ECE0;
  --mist: #BDB2A3;
  --brass: #C9A46A;
  --brass-2: #D8B87F;
  --paper: #F6F1E8;
  --card: #FFFDF8;
  --ink: #1B1612;
  --muted: #665A4E;
  --brass-dark: #80602A;
  --err: #A3302A;
  --ok: #2F6B3F;
  --line: rgba(27, 22, 18, .14);
  --line-night: rgba(243, 236, 224, .14);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --serif: "Cormorant Garamond", "Cormorant fallback", Georgia, serif;
  --font: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 1px 0 rgba(27, 22, 18, .04), 0 30px 60px -40px rgba(27, 22, 18, .6);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--cream); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
main, .foot { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -.005em; text-wrap: balance; }
h1 em, h2 em { font-style: italic; color: var(--brass); }
.paper h2 em { color: var(--brass-dark); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
[hidden] { display: none !important; }

/* ---------- Bandeau démo ---------- */
.demo-bar { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: center; align-items: center; padding: 8px 16px; background: #000; color: var(--mist); font-size: 13.5px; text-align: center; }
.demo-bar strong { color: var(--cream); font-weight: 500; }
.demo-bar a { color: var(--brass-2); font-weight: 500; text-underline-offset: 3px; }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(21, 17, 14, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.top.is-scrolled { border-color: var(--line-night); background: rgba(21, 17, 14, .94); }
.top-inner { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--brass); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 25px; color: var(--cream); letter-spacing: .01em; }
.brand-sub { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mist); }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; letter-spacing: .04em; }
.nav a { text-decoration: none; color: var(--mist); padding: 6px 0; background: linear-gradient(var(--brass), var(--brass)) 0 100% / 0 1px no-repeat; transition: color .2s, background-size .3s var(--ease); }
.nav a:hover { color: var(--cream); background-size: 100% 1px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 26px; border: 1px solid transparent; border-radius: var(--radius); font: 500 15px/1.2 var(--font); letter-spacing: .06em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 14px; }
.btn-brass { background: var(--brass); color: var(--night); }
.btn-brass:hover { background: var(--brass-2); }
.btn-ghost { border-color: rgba(243, 236, 224, .45); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(243, 236, 224, .08); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--night-3); }
.btn-line { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn .ico { width: 20px; height: 20px; }
.btn-meta { font-size: 12.5px; opacity: .75; letter-spacing: .02em; }

/* ---------- Héros ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; isolation: isolate; }
/* Photo retournée : le maître d'hôtel passe à droite et laisse la colonne de texte sur les tables */
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scaleX(-1); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(21, 17, 14, .35) 0%, rgba(21, 17, 14, .2) 35%, rgba(21, 17, 14, .88) 78%, var(--night) 100%), linear-gradient(90deg, rgba(21, 17, 14, .86) 0%, rgba(21, 17, 14, .62) 42%, rgba(21, 17, 14, 0) 72%); }
.hero-inner { padding: 120px 0 56px; }
.eyebrow, .kicker { font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); font-weight: 500; }
.paper .kicker { color: var(--brass-dark); }
.hero h1 { margin-top: 18px; font-size: clamp(46px, 7.4vw, 96px); max-width: 13ch; }
.hero-lead { margin-top: 22px; max-width: 60ch; color: #E2D9CB; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 40px; margin: 52px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--line-night); color: var(--mist); font-size: 14.5px; }
.hero-proof strong { display: block; font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--cream); line-height: 1.1; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.night { background: var(--night); color: var(--cream); }
.paper { background: var(--paper); color: var(--ink); }
/* Rendu différé des sections hors écran : moins de travail au premier affichage.
   Pas sur la réservation : le confinement casserait la barre d'estimation fixe sur mobile. */
.section:not(#reserver) { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { margin-top: 14px; font-size: clamp(36px, 5vw, 60px); }
.section-lead { margin-top: 18px; color: var(--mist); max-width: 62ch; }
.paper .section-lead { color: var(--muted); }
.fine { margin-top: 14px; font-size: 13px; color: var(--muted); }
.night .fine { color: var(--mist); }
.fine-center { text-align: center; margin-top: 32px; }

/* ---------- Prestations ---------- */
.presta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0; padding: 0; list-style: none; }
.presta { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.presta:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.presta img { aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; transition: transform .8s var(--ease); }
.presta:hover img { transform: scale(1.03); }
.presta-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.presta h3 { font-size: 30px; }
.presta-body > p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.presta-body > .presta-price { margin-top: auto; padding-top: 18px; color: var(--ink); font-size: 14.5px; }
.presta-price strong { font-family: var(--serif); font-size: 26px; font-weight: 500; }
.presta-link { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--brass-dark); font-weight: 500; font-size: 14.5px; letter-spacing: .04em; text-decoration: none; }
.presta-link::after { content: ""; position: absolute; inset: 0; }
.presta-link span { display: inline-block; transition: transform .25s var(--ease); }
.presta:hover .presta-link span { transform: translateX(4px); }

/* ---------- Carte ---------- */
.menus { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 32px; border-bottom: 1px solid var(--line-night); }
.menus button { appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 12px 18px 14px; color: var(--mist); font: 500 26px/1.1 var(--serif); cursor: pointer; transition: color .2s, border-color .2s; }
.menus button span { font: 400 14px var(--font); letter-spacing: .04em; margin-left: 6px; color: var(--brass); }
.menus button:hover { color: var(--cream); }
.menus button[aria-selected="true"] { color: var(--cream); border-color: var(--brass); }
.carte-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.menu-panel { animation: fadeUp .45s var(--ease); }
.dishes { margin: 0; padding: 0; list-style: none; }
.dishes li { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line-night); }
.course { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); padding-top: 7px; }
.dish { font-family: var(--serif); font-size: 25px; line-height: 1.25; }
.menu-note { margin-top: 18px; color: var(--mist); font-size: 15px; }
.carte-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 34px 0 30px; padding: 22px 24px; background: var(--night-2); border: 1px solid var(--line-night); border-radius: var(--radius); }
.carte-extra h3 { font-size: 23px; }
.carte-extra p { margin-top: 6px; color: var(--mist); font-size: 14.5px; }
.carte-photos { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.carte-photos figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.carte-photos img { width: 100%; height: 100%; object-fit: cover; }
.cp-1 { grid-column: 1 / -1; aspect-ratio: 4 / 3.6; }
.cp-2, .cp-3 { aspect-ratio: 1; }

/* ---------- Réservation ---------- */
.resa { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.resa-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 0 0 34px; padding: 0; list-style: none; counter-reset: none; }
.steps button { appearance: none; width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 0 0; background: none; border: 0; border-top: 2px solid var(--line); color: var(--muted); font: 500 13px/1.2 var(--font); letter-spacing: .03em; text-align: left; cursor: pointer; transition: color .2s, border-color .3s; }
.steps button:disabled { cursor: default; opacity: .55; }
.steps button.is-done { border-color: var(--brass-dark); color: var(--ink); }
.steps button[aria-current="step"] { border-color: var(--ink); color: var(--ink); }
.steps .n { font-family: var(--serif); font-size: 20px; line-height: 1; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; animation: fadeUp .4s var(--ease); }
.step-title { padding: 0; margin-bottom: 22px; font-family: var(--serif); font-size: clamp(28px, 3.4vw, 36px); line-height: 1.1; outline: none; }

.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.type, .formule, .opt { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.type:hover, .formule:hover, .opt:hover { border-color: rgba(27, 22, 18, .4); }
.type input, .formule input, .opt input, .seg input { position: absolute; opacity: 0; pointer-events: none; }
.type:has(input:checked), .formule:has(input:checked), .opt:has(input:checked) { border-color: var(--ink); background: var(--card); box-shadow: inset 0 0 0 1px var(--ink); }
.type:has(input:focus-visible), .formule:has(input:focus-visible), .opt:has(input:focus-visible), .seg label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.type-name { font-family: var(--serif); font-size: 23px; line-height: 1.1; }
.type-sub { font-size: 13.5px; color: var(--muted); }

.seg { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.seg-label { font-size: 14px; color: var(--muted); margin-right: 6px; }
.seg label { position: relative; }
.seg label span { display: inline-flex; align-items: baseline; gap: 6px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14.5px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.seg small { font-size: 12px; color: var(--muted); }
.seg input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.seg input:checked + span small { color: var(--mist); }
.seg-wide { margin-top: 16px; }

/* Calendrier */
.cal { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--paper); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-month { font-family: var(--serif); font-size: 24px; text-transform: capitalize; }
.cal-nav { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--card); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow span { text-align: center; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: 4px; }
.day { position: relative; aspect-ratio: 1 / .86; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 1px solid transparent; border-radius: var(--radius); background: var(--card); color: var(--ink); font: 500 15px/1 var(--font); cursor: pointer; transition: border-color .15s, background .15s; }
.day::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.day.is-option::after { background: #A0731E; }
.day.is-full { background: transparent; color: var(--muted); text-decoration: line-through; cursor: not-allowed; }
.day.is-full::after { background: var(--err); }
.day:disabled { background: transparent; color: rgba(27, 22, 18, .3); cursor: default; }
.day:disabled::after { display: none; }
.day.is-full:disabled { color: var(--muted); }
.day.is-full:disabled::after { display: block; }
.day:not(:disabled):hover { border-color: var(--ink); }
.day[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.day[aria-pressed="true"]::after { background: var(--brass); }
.day-empty { aspect-ratio: 1 / .86; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.cal-legend li { display: flex; align-items: center; gap: 7px; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-free { background: var(--ok); }
.dot-option { background: #A0731E; }
.dot-full { background: var(--err); }
.cal-rule { margin-top: 8px; font-size: 13px; color: var(--muted); }
.picked { margin: 16px 0 6px; font-family: var(--serif); font-size: 22px; }
.picked.is-option { color: #7A5512; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.field-wide { grid-column: 1 / -1; }
.field small { font-size: 12px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid rgba(27, 22, 18, .28); border-radius: var(--radius); background: var(--card); color: var(--ink); font: 400 16px/1.4 var(--font); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(27, 22, 18, .12); }
.field.is-invalid input { border-color: var(--err); }
.hint { margin-top: 10px; font-size: 14px; color: var(--muted); }

.guests label { font-size: 14px; color: var(--muted); }
.guests-row { display: flex; align-items: center; gap: 10px; margin: 8px 0 12px; }
.guests-row input { width: 120px; min-height: 56px; text-align: center; border: 1px solid rgba(27, 22, 18, .28); border-radius: var(--radius); background: var(--card); font: 500 30px/1 var(--serif); color: var(--ink); -moz-appearance: textfield; }
.guests-row input::-webkit-inner-spin-button, .guests-row input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.step-btn { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: var(--card); color: var(--ink); font-size: 22px; cursor: pointer; }
.step-btn:hover { border-color: var(--ink); }
input[type="range"] { width: 100%; accent-color: var(--ink); }

.formules { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 26px; }
.formule-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.formule-name { font-family: var(--serif); font-size: 23px; line-height: 1.1; }
.formule-price { font-size: 14px; color: var(--brass-dark); font-weight: 500; white-space: nowrap; }
.formule-desc { font-size: 13.5px; color: var(--muted); }
.extra { margin-top: 26px; }
.extra-title { font-size: 14px; color: var(--muted); }
.extra .seg { margin-top: 8px; }

.staff { padding: 14px 18px; border-left: 2px solid var(--brass-dark); background: var(--paper); font-size: 15px; }
.staff strong { font-weight: 600; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.opt { flex-direction: row; align-items: flex-start; gap: 14px; }
.opt-box { flex: none; width: 22px; height: 22px; margin-top: 2px; border: 1px solid rgba(27, 22, 18, .4); border-radius: 3px; display: grid; place-items: center; background: var(--card); transition: background .2s, border-color .2s; }
.opt-box svg { width: 14px; height: 14px; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s var(--ease); }
.opt:has(input:checked) .opt-box { background: var(--ink); border-color: var(--ink); }
.opt:has(input:checked) .opt-box svg { opacity: 1; transform: scale(1); }
.opt-text { display: flex; flex-direction: column; gap: 2px; }
.opt-name { font-weight: 500; font-size: 15.5px; }
.opt-desc { font-size: 13px; color: var(--muted); }
.opt-price { font-size: 13px; color: var(--brass-dark); font-weight: 500; }

.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.check.is-invalid { color: var(--err); }

.form-error { min-height: 1.6em; margin-top: 18px; color: var(--err); font-size: 14.5px; font-weight: 500; }
.resa-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.resa-nav [data-next], .resa-nav [data-submit] { margin-left: auto; }

/* Estimation (colonne collante) */
.quote { position: sticky; top: 92px; background: var(--night); color: var(--cream); border-radius: var(--radius); box-shadow: var(--shadow); }
.quote-inner { padding: 28px 28px 24px; }
.quote-kicker { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); }
.quote-event { margin-top: 8px; color: var(--mist); font-size: 14.5px; min-height: 1.6em; }
.quote-total { margin-top: 10px; font-family: var(--serif); font-size: 46px; line-height: 1; }
.quote-total small { font: 400 14px var(--font); color: var(--mist); }
.quote-total span { display: inline-block; }
.quote-total span.is-bump { animation: bump .45s var(--ease); }
.quote-per { margin-top: 8px; color: var(--mist); font-size: 14.5px; }
.quote-toggle { display: none; }
.lines { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: 14px; }
.lines td { padding: 8px 0; border-top: 1px solid var(--line-night); vertical-align: top; }
.lines td:last-child { text-align: right; white-space: nowrap; padding-left: 12px; }
.lines .l-sub { display: block; font-size: 12.5px; color: var(--mist); }
.totals { margin: 6px 0 0; padding-top: 10px; border-top: 1px solid rgba(243, 236, 224, .35); font-size: 14px; }
.totals div { display: flex; justify-content: space-between; padding: 3px 0; }
.totals dt { color: var(--mist); }
.totals dd { margin: 0; }
.totals .t-strong dt, .totals .t-strong dd { color: var(--cream); font-weight: 600; }
.deposit { margin-top: 14px; padding: 12px 14px; background: var(--night-3); border-radius: var(--radius); font-size: 14px; color: var(--mist); }
.deposit strong { color: var(--brass-2); font-weight: 500; }
.quote .fine { color: var(--mist); }
.quote.is-printed { display: none; }

/* Confirmation */
.done { grid-column: 1 / -1; max-width: 760px; margin-inline: auto; padding: clamp(28px, 5vw, 56px); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; box-shadow: var(--shadow); outline: none; animation: fadeUp .5s var(--ease); }
.done-mark { width: 64px; height: 64px; margin: 0 auto 18px; color: var(--brass-dark); }
.done-check { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .7s .2s var(--ease) forwards; }
.done h3 { margin-top: 10px; font-size: clamp(30px, 4vw, 42px); }
.done > p { margin-top: 12px; color: var(--muted); }
.next-steps { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; text-align: left; }
.next-steps li { padding: 14px 18px; background: var(--paper); border-radius: var(--radius); font-size: 15px; color: var(--muted); }
.next-steps strong { display: block; color: var(--ink); font-weight: 500; }
.done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* ---------- Déroulé ---------- */
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.process-list li { padding: 0 28px 0 0; margin-right: 28px; border-right: 1px solid var(--line-night); }
.process-list li:last-child { border: 0; margin: 0; }
.pn { font-family: var(--serif); font-style: italic; font-size: 44px; color: var(--brass); line-height: 1; }
.process-list h3 { margin-top: 14px; font-size: 26px; }
.process-list p { margin-top: 10px; color: var(--mist); font-size: 15.5px; }

/* ---------- La maison ---------- */
.maison-grid { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.maison-photo { margin: 0; position: sticky; top: 100px; }
.maison-photo img { width: 100%; border-radius: var(--radius); }
.maison-copy h2 { margin: 14px 0 22px; font-size: clamp(36px, 5vw, 60px); }
.maison-copy > p { color: var(--muted); max-width: 62ch; }
.maison-copy > p + p { margin-top: 14px; }
.quote-mark { margin: 32px 0; padding: 0 0 0 24px; border-left: 2px solid var(--brass-dark); }
.quote-mark p { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3vw, 34px); line-height: 1.2; color: var(--ink); }
.maison-kitchen { margin: 0; }
.maison-kitchen img { width: 100%; border-radius: var(--radius); }

/* ---------- Avis ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0; padding: 0; list-style: none; }
.review-grid li { padding: 30px; border: 1px solid var(--line-night); border-radius: var(--radius); background: var(--night-2); display: flex; flex-direction: column; }
.review-grid blockquote { margin: 0; flex: 1; }
.review-grid blockquote p { font-family: var(--serif); font-size: 23px; line-height: 1.3; }
.who { margin-top: 20px; font-size: 13.5px; letter-spacing: .04em; color: var(--brass); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 18px; padding: 20px 0; font-family: var(--serif); font-size: 24px; line-height: 1.2; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--font); font-size: 24px; color: var(--brass-dark); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 64ch; }

/* ---------- Pied de page ---------- */
.foot { padding: 64px 0 120px; background: var(--night); color: var(--mist); font-size: 14.5px; border-top: 1px solid var(--line-night); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.foot-brand { font-family: var(--serif); font-size: 30px; color: var(--cream); margin-bottom: 8px; }
.foot a { color: var(--cream); text-underline-offset: 3px; }
.foot p + p { margin-top: 8px; }
.foot-small { font-size: 12.5px; }
.foot-credit a { color: var(--brass-2); }

.sticky-cta { display: none; }

/* ---------- Animations ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.045); color: var(--brass-2); } 100% { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .done-check { stroke-dashoffset: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .presta-grid { grid-template-columns: 1fr 1fr; }
  .resa { grid-template-columns: minmax(0, 1fr) 310px; }
  .process-list { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .process-list li:nth-child(2) { border: 0; margin-right: 0; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .top-cta { margin-left: auto; }
  .carte-grid, .maison-grid, .faq-wrap { grid-template-columns: 1fr; }
  .carte-photos { order: -1; }
  .maison-photo { position: static; max-width: 480px; }
  .review-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }

  /* L'estimation devient une barre fixe en bas d'écran, dépliable */
  .resa { grid-template-columns: 1fr; }
  .quote { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 40; border-radius: 14px 14px 0 0; max-height: 82vh; overflow-y: auto; transform: translateY(110%); transition: transform .35s var(--ease); box-shadow: 0 -20px 40px -20px rgba(0, 0, 0, .6); }
  .quote.is-visible { transform: none; }
  .quote-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); }
  .quote-kicker, .quote-event, .quote .fine { grid-column: 1 / -1; }
  .quote-kicker { font-size: 10.5px; }
  .quote-event { margin-top: 2px; font-size: 13px; min-height: 0; }
  .quote-total { font-size: 32px; margin-top: 4px; }
  .quote-per { grid-column: 1; margin-top: 2px; font-size: 13px; }
  .quote-toggle { display: block; grid-column: 2; grid-row: 3 / 5; align-self: center; padding: 10px 14px; border: 1px solid rgba(243, 236, 224, .4); border-radius: 999px; background: none; color: var(--cream); font: 500 13.5px var(--font); cursor: pointer; }
  .quote-detail { grid-column: 1 / -1; display: none; }
  .quote.is-open .quote-detail { display: block; }
  .quote .fine { display: none; }
  .quote.is-open .fine { display: block; }
  .resa-form { margin-bottom: 120px; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .demo-long { display: none; }
  .brand-sub { display: none; }
  .top-inner { min-height: 60px; gap: 12px; }
  .brand-name { font-size: 22px; }
  .brand-mark { width: 32px; height: 32px; }
  .top-cta { padding: 8px 14px; min-height: 40px; font-size: 13px; }
  .hero { min-height: 88svh; }
  /* Sur mobile le texte couvre toute la photo : voile uniforme plus dense */
  .hero::after { background: linear-gradient(180deg, rgba(21, 17, 14, .55) 0%, rgba(21, 17, 14, .72) 40%, rgba(21, 17, 14, .9) 75%, var(--night) 100%); }
  .hero-inner { padding: 96px 0 36px; }
  .hero-lead { font-size: 16.5px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-proof { gap: 14px 24px; margin-top: 36px; font-size: 13px; }
  .hero-proof strong { font-size: 24px; }
  .presta-grid { grid-template-columns: 1fr; }
  .dishes li { grid-template-columns: 1fr; gap: 4px; }
  .dish { font-size: 22px; }
  .carte-extra { grid-template-columns: 1fr; }
  .carte-grid .btn { width: 100%; }
  .menus button { font-size: 21px; padding: 10px 10px 12px; }
  .resa-form { padding: 22px 18px; margin-inline: -4px; }
  .steps .t { display: none; }
  .type-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .type { padding: 12px 14px; }
  .type-name { font-size: 20px; }
  .type-sub { font-size: 12.5px; }
  .cal { padding: 10px; }
  .day { font-size: 14px; }
  .steps button { align-items: center; }
  .grid-2, .opts { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr; gap: 30px; }
  .process-list li { border: 0; padding: 0; margin: 0; }
  .resa-nav .btn { flex: 1; padding-inline: 14px; }
  .sticky-cta { display: block; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 35; transform: translateY(160%); transition: transform .35s var(--ease); }
  .sticky-cta .btn { width: 100%; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .7); }
  .sticky-cta.is-visible { transform: none; }
}

/* ---------- Impression : le récapitulatif de la demande seulement ---------- */
@media print {
  body { background: #fff; color: #000; }
  .demo-bar, .top, .hero, .section:not(#reserver), .foot, .sticky-cta, .resa-form, .done-actions, .quote-toggle, #reserver .section-head { display: none !important; }
  .section { padding: 0; content-visibility: visible; }
  .paper { background: #fff; }
  .resa { display: block; }
  .quote, .quote.is-printed { display: block; position: static; transform: none; box-shadow: none; background: #fff; color: #000; border: 1px solid #999; margin-top: 20px; }
  .quote-detail { display: block !important; }
  .quote *, .totals dt, .lines .l-sub, .deposit { color: #000 !important; background: none !important; }
  .done { box-shadow: none; border: 0; animation: none; }
}
