/* ==========================================================================
   Alliance-Franco — Feuille de style du site public
   Design épuré : bleu nuit + or, typographie serif pour les titres.
   © 2025 Royal Technologies SARL
   ========================================================================== */

/* ---------- 1. Variables de design ---------- */
:root {
    --ink: #14213D;
    --ink-2: #1F2F52;
    --ink-3: #33466F;
    --gold: #C8A15A;
    --gold-dark: #A9843F;
    --gold-soft: #F4EAD7;
    --bg: #FAF8F4;
    --surface: #FFFFFF;
    --surface-2: #F5F1E9;
    --line: #E8E2D6;
    --text: #1B1F2A;
    --muted: #6B6F7A;
    --success: #1F7A52;  --success-bg: #E4F3EA;
    --danger: #B83A33;   --danger-bg: #FBE9E7;
    --warning: #975E14;  --warning-bg: #FDF0DC;
    --info: #2B63A0;     --info-bg: #E6EFF9;
    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(20, 33, 61, .06);
    --shadow: 0 18px 40px -20px rgba(20, 33, 61, .25);
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font: 16px/1.6 var(--font);
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--ink); text-decoration-color: rgba(200, 161, 90, .6); text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid rgba(200, 161, 90, .55); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.container-narrow { max-width: 840px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -.2em; }

/* ---------- 3. Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .72em 1.25em; border: 1.5px solid transparent; border-radius: 999px;
    font: 600 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer;
    transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); color: #fff; box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-sm { padding: .5em 1em; font-size: .88rem; }
.btn-lg { padding: .95em 1.6em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.link-btn { background: none; border: 0; padding: 0; font: 600 .8rem var(--font); color: var(--gold-dark); cursor: pointer; }
.link-btn:hover { text-decoration: underline; }

/* ---------- 4. En-tête ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(250, 248, 244, .88);
    backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .01em; }
.brand-text small { color: var(--muted); font-size: .75rem; }
.brand-light, .brand-light:hover { color: #fff; }
.brand-light small { color: rgba(255, 255, 255, .6); }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a:not(.btn) { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--text); font-weight: 500; font-size: .95rem; }
.main-nav a:not(.btn):hover { background: var(--surface-2); }
.main-nav .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 24px; height: 24px; display: block; }

/* ---------- 5. Sections génériques ---------- */
.section { padding-block: 88px; }
.section-tight { padding-block: 24px 88px; }
.section-muted { background: var(--surface-2); }
.section-dark { background: var(--ink); color: rgba(255, 255, 255, .85); }
.section-dark h2 { color: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.section-head p { color: var(--muted); }
.eyebrow {
    display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px;
    font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark);
}
.section-dark .eyebrow { color: var(--gold); }
.lead { font-size: 1.12rem; color: var(--muted); }

/* ---------- 6. Héros ---------- */
.hero { padding-block: 64px 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.01em; }
.hero h1 em { color: var(--gold-dark); font-style: italic; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 40px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 36px; list-style: none; padding: 0; margin: 0; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 2rem; color: var(--ink); line-height: 1; }
.hero-stats span { color: var(--muted); font-size: .88rem; margin-top: 6px; }
.illustration { display: block; width: 100%; height: auto; }
.hero-visual .illustration { filter: drop-shadow(0 30px 40px rgba(20, 33, 61, .12)); }

/* ---------- 7. Étapes, cartes, options, tarifs ---------- */
.steps-overview { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps-overview li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.steps-overview li > .icon { width: 30px; height: 30px; color: var(--gold-dark); margin-bottom: 16px; }
.steps-overview h3 { font-size: 1.15rem; }
.steps-overview p { color: var(--muted); font-size: .93rem; margin: 0; }
.step-num { position: absolute; top: 20px; right: 22px; font-family: var(--font-display); font-size: 2.2rem; color: var(--line); line-height: 1; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.feature-card {
    display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text);
    transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); color: var(--text); }
.feature-card h3 { font-size: 1.2rem; margin-top: 18px; }
.feature-card p { color: var(--muted); font-size: .93rem; flex: 1; }
.feature-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--gold-soft); color: var(--gold-dark); }
.feature-icon .icon { width: 26px; height: 26px; }
.feature-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.feature-card:hover .feature-link .icon { transform: translateX(3px); }
.feature-link .icon { transition: transform .2s var(--ease); }

.option-showcase { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.option-pill {
    display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center;
    padding: 16px 18px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
}
.option-pill .icon { grid-row: span 2; width: 26px; height: 26px; color: var(--gold); }
.option-pill span { color: #fff; font-weight: 600; }
.option-pill small { color: rgba(255, 255, 255, .6); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 36px 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.price-card.is-featured { background: var(--ink); border-color: var(--ink); color: rgba(255, 255, 255, .85); box-shadow: var(--shadow); }
.price-card.is-featured h3, .price-card.is-featured .price-amount { color: #fff; }
.price-tag { position: absolute; top: -13px; left: 30px; background: var(--gold); color: var(--ink); font-size: .75rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.price-hours { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; }
.is-featured .price-hours { color: rgba(255, 255, 255, .65); }
.price-amount { font-family: var(--font-display); font-size: 2.1rem; color: var(--ink); margin: 8px 0 20px; }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.check-list li { display: flex; gap: 10px; padding: 6px 0; font-size: .95rem; }
.check-list .icon { color: var(--gold); }
.is-featured .btn-primary { background: var(--gold); color: var(--ink); }

.cta-banner {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    padding: 48px; border-radius: var(--radius-lg);
    background: linear-gradient(120deg, var(--ink) 0%, var(--ink-3) 100%); color: rgba(255, 255, 255, .8);
}
.cta-banner h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-banner p { margin: 0; }

/* ---------- 8. Pied de page ---------- */
.site-footer { background: #0E182D; color: rgba(255, 255, 255, .7); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin-top: 18px; max-width: 360px; font-size: .95rem; }
.site-footer h3 { color: #fff; font-family: var(--font); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .95rem; }
.footer-list .icon { color: var(--gold); }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 20px; font-size: .88rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer-bottom p { margin: 0; }
.footer-bottom strong { color: var(--gold); font-weight: 600; }

/* ---------- 9. Alertes et badges ---------- */
.alert { display: flex; align-items: flex-start; gap: 10px; padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: .95rem; border: 1px solid transparent; }
.alert .icon { margin-top: 2px; }
.alert-success { background: var(--success-bg); color: var(--success); border-color: rgba(31, 122, 82, .2); }
.alert-error { background: var(--danger-bg); color: var(--danger); border-color: rgba(184, 58, 51, .2); }
.alert-info { background: var(--info-bg); color: var(--info); }

.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-muted { background: var(--surface-2); color: var(--muted); }

/* ---------- 10. Réservation : en-tête et progression ---------- */
.booking { padding-block: 48px 88px; }
.booking-head { text-align: center; margin-bottom: 32px; }
.booking-head h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }

.stepper { display: flex; list-style: none; padding: 0; margin: 0 auto 36px; max-width: 760px; }
.stepper li { flex: 1; position: relative; text-align: center; }
.stepper li::before { content: ""; position: absolute; top: 19px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.stepper li:first-child::before { display: none; }
.stepper li.is-done::before, .stepper li.is-current::before { background: var(--gold); }
.stepper a { text-decoration: none; color: inherit; display: block; }
.stepper-dot {
    position: relative; z-index: 1; display: inline-grid; place-items: center; width: 40px; height: 40px;
    border-radius: 50%; background: var(--surface); border: 2px solid var(--line); color: var(--muted); font-weight: 700;
    transition: all .25s var(--ease);
}
.stepper-dot .icon { width: 18px; height: 18px; }
.stepper-label { display: block; margin-top: 8px; font-size: .85rem; color: var(--muted); font-weight: 500; }
.stepper .is-done .stepper-dot { background: var(--gold); border-color: var(--gold); color: #fff; }
.stepper .is-current .stepper-dot { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 0 0 5px rgba(20, 33, 61, .1); }
.stepper .is-current .stepper-label { color: var(--ink); font-weight: 700; }
.stepper a:hover .stepper-dot { transform: scale(1.06); }

/* ---------- 11. Formulaires ---------- */
.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.form-section { border: 0; padding: 0; margin: 0 0 36px; min-width: 0; }
.form-section legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 18px; font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); font-weight: 600; }
.legend-num { font-family: var(--font); font-size: .75rem; font-weight: 700; color: var(--gold-dark); background: var(--gold-soft); padding: 4px 8px; border-radius: 6px; }
.section-hint { color: var(--muted); margin: -10px 0 18px; font-size: .92rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; min-width: 0; }
.field label, .field .label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); font-size: .8rem; margin-left: 4px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], input[type="password"], input[type="search"], select, textarea {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    font: inherit; font-size: 1rem; color: var(--text); background: var(--surface);
    transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200, 161, 90, .18); }
textarea { resize: vertical; min-height: 110px; }
.input-icon { position: relative; }
.input-icon > .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon input { padding-left: 44px; }
.field-hint { font-size: .83rem; color: var(--muted); margin: 6px 0 0; }
.field-error { font-size: .85rem; color: var(--danger); margin: 6px 0 0; font-weight: 500; }
.field-error::before { content: "⚠ "; }

/* Cartes à choix (type d'événement) */
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.choice-card { position: relative; cursor: pointer; }
.choice-card input, .slot-card input, .segmented input { position: absolute; opacity: 0; pointer-events: none; }
.choice-body {
    display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; height: 100%;
    padding: 20px 12px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface);
    transition: all .2s var(--ease);
}
.choice-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--surface-2); color: var(--ink-3); transition: all .2s; }
.choice-icon .icon { width: 24px; height: 24px; }
.choice-name { font-weight: 600; font-size: .9rem; line-height: 1.3; }
.choice-card:hover .choice-body { border-color: var(--gold); }
.choice-card input:checked + .choice-body { border-color: var(--ink); background: #FBFAF7; box-shadow: 0 0 0 3px rgba(20, 33, 61, .08); }
.choice-card input:checked + .choice-body .choice-icon { background: var(--ink); color: var(--gold); }
.choice-card input:focus-visible + .choice-body { outline: 3px solid rgba(200, 161, 90, .55); outline-offset: 2px; }

/* Créneaux */
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.slot-card { cursor: pointer; }
.slot-body { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px; border: 1.5px solid var(--line); border-radius: var(--radius); transition: all .2s var(--ease); }
.slot-name { font-weight: 700; color: var(--ink); }
.slot-hours { display: flex; align-items: center; gap: 6px; font-size: .83rem; color: var(--muted); }
.slot-price { font-family: var(--font-display); font-size: 1.15rem; color: var(--gold-dark); margin-top: 6px; }
.slot-status { font-size: .78rem; font-weight: 600; min-height: 1.1em; }
.slot-card:hover .slot-body { border-color: var(--gold); }
.slot-card input:checked + .slot-body { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20, 33, 61, .08); background: #FBFAF7; }
.slot-card input:focus-visible + .slot-body { outline: 3px solid rgba(200, 161, 90, .55); }
.slot-card.is-available .slot-status { color: var(--success); }
.slot-card.is-unavailable { cursor: not-allowed; }
.slot-card.is-unavailable .slot-body { opacity: .55; background: var(--surface-2); border-style: dashed; }
.slot-card.is-unavailable .slot-status { color: var(--danger); }

/* Options de salle */
.chairs-meter { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; margin-bottom: 14px; border-radius: 999px; background: var(--surface-2); font-size: .88rem; color: var(--muted); }
.chairs-meter [data-chairs-count] { font-weight: 700; color: var(--ink); }
.chairs-meter.is-ok { background: var(--success-bg); color: var(--success); }
.chairs-meter.is-low { background: var(--warning-bg); color: var(--warning); }
.option-list { display: grid; gap: 10px; }
.option-row {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px;
    padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius); transition: border-color .2s, background .2s;
}
.option-row.is-selected { border-color: var(--gold); background: #FFFCF6; }
.option-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--surface-2); color: var(--ink-3); }
.option-row.is-selected .option-icon { background: var(--gold-soft); color: var(--gold-dark); }
.option-icon .icon { width: 22px; height: 22px; }
.option-info { display: flex; flex-direction: column; min-width: 0; }
.option-info strong { color: var(--ink); }
.option-info span { font-size: .85rem; color: var(--muted); }
.option-info em { font-style: normal; font-size: .85rem; font-weight: 600; color: var(--gold-dark); }
.option-qty { display: flex; flex-direction: column; align-items: center; gap: 4px; }

.stepper-input { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface); }
.stepper-input button { display: grid; place-items: center; width: 36px; height: 38px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.stepper-input button:hover { background: var(--surface-2); }
.stepper-input input { width: 64px; border: 0; padding: 8px 0; text-align: center; font-weight: 700; border-radius: 0; -moz-appearance: textfield; }
.stepper-input input:focus { box-shadow: none; }
.stepper-input input::-webkit-outer-spin-button, .stepper-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.switch { position: relative; display: inline-flex; cursor: pointer; }
.switch input[type="checkbox"] { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch-track { width: 50px; height: 28px; border-radius: 999px; background: var(--line); position: relative; transition: background .2s; }
.switch-thumb { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .25s var(--ease); }
.switch input:checked + .switch-track { background: var(--ink); }
.switch input:checked + .switch-track .switch-thumb { transform: translateX(22px); }
.switch input:focus-visible + .switch-track { outline: 3px solid rgba(200, 161, 90, .55); outline-offset: 2px; }

/* Civilité et case à cocher */
.segmented { display: inline-flex; padding: 4px; background: var(--surface-2); border-radius: 999px; }
.segmented label { position: relative; margin: 0; cursor: pointer; }
.segmented span { display: block; padding: 8px 20px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--muted); transition: all .2s; }
.segmented input:checked + span { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.segmented input:focus-visible + span { outline: 3px solid rgba(200, 161, 90, .55); }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); cursor: pointer; }
.checkbox input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex-shrink: 0; }

.form-actions { display: flex; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.form-actions-center { justify-content: center; border-top: 0; }

/* ---------- 12. Encart d'estimation ---------- */
.summary-card { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.summary-title { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; }
.summary-title .icon { color: var(--gold-dark); }
.summary-list { margin: 0 0 18px; }
.summary-list div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.summary-list dt { color: var(--muted); }
.summary-list dd { margin: 0; font-weight: 600; text-align: right; color: var(--ink); }
.summary-amounts p { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 6px 0; font-size: .93rem; }
.summary-amounts span { color: var(--muted); }
.summary-total { margin-top: 8px !important; padding: 14px 16px !important; background: var(--ink); border-radius: var(--radius-sm); }
.summary-total span { color: rgba(255, 255, 255, .75) !important; }
.summary-total strong { color: #fff; font-family: var(--font-display); font-size: 1.25rem; }
.summary-deposit strong { color: var(--gold-dark); }
.summary-note { display: flex; gap: 8px; margin: 16px 0 0; font-size: .8rem; color: var(--muted); }
.summary-note .icon { margin-top: 2px; }
.summary-final form { margin: 20px 0 8px; }

/* ---------- 13. Récapitulatif ---------- */
.recap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.recap-main { display: grid; gap: 20px; }
.recap-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.recap-card > header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.recap-card h2 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin: 0; }
.recap-card h2 .icon { color: var(--gold-dark); }
.link-edit { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; text-decoration: none; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); }
.recap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 24px; margin: 0; }
.recap-grid dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 2px; }
.recap-grid dd { margin: 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.recap-grid small { color: var(--muted); font-weight: 400; }
.recap-message { margin: 18px 0 0; padding: 14px 18px; border-left: 3px solid var(--gold); background: var(--surface-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--muted); font-style: italic; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 8px; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.table thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.table tfoot th { font-size: 1rem; color: var(--ink); border-bottom: 0; }
.table tfoot td { color: var(--muted); border-bottom: 0; }
.table .num { text-align: right; white-space: nowrap; }
.cell-icon { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 10px; border-radius: 8px; background: var(--surface-2); color: var(--gold-dark); vertical-align: middle; }
.cell-icon .icon { width: 16px; height: 16px; }

/* ---------- 14. Confirmation ---------- */
.success-card { text-align: center; padding: 20px 0 36px; }
.success-card h1 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.illustration-sm { max-width: 220px; margin: 0 auto 12px; }
.illustration-xs { max-width: 140px; margin: 0 auto; }
.reference { display: inline-block; padding: 10px 22px; border: 1.5px dashed var(--gold); border-radius: 999px; background: var(--gold-soft); color: var(--ink); }
.reference strong { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .05em; }

/* ---------- 15. Responsive ---------- */
@media (max-width: 1024px) {
    .booking-layout, .recap { grid-template-columns: 1fr; }
    .summary-card { position: static; }
    .steps-overview { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}

@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
        padding: 12px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
        display: none;
    }
    .main-nav.is-open { display: flex; }
    .main-nav a:not(.btn) { padding: 12px 14px; }
    .main-nav .btn { margin: 8px 0 0; }
    .hero { padding-top: 32px; }
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-visual { order: -1; max-width: 460px; margin-inline: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .section { padding-block: 64px; }
}

@media (max-width: 640px) {
    .container { padding-inline: 16px; }
    .form-card { padding: 22px 18px; border-radius: var(--radius); }
    .form-row, .recap-grid { grid-template-columns: 1fr; }
    .slot-grid { grid-template-columns: 1fr; }
    .choice-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-overview { grid-template-columns: 1fr; }
    .option-row { grid-template-columns: auto minmax(0, 1fr); }
    .option-row > .switch, .option-row > .option-qty { grid-column: 1 / -1; justify-self: end; flex-direction: row; gap: 12px; }
    .stepper-label { font-size: .72rem; }
    .stepper-dot { width: 34px; height: 34px; }
    .stepper li::before { top: 16px; }
    .form-actions .btn { flex: 1; }
    .cta-banner { padding: 32px 24px; }
    .footer-grid { grid-template-columns: 1fr; }
    .recap-card { padding: 20px; }
    .brand-text small { display: none; }
}

/* ---------- 16. Impression ---------- */
@media print {
    .site-header, .site-footer, .no-print, .stepper { display: none !important; }
    body { background: #fff; }
    .recap-card, .success-card { border: 0; box-shadow: none; }
    .illustration { display: none; }
}
