/* ==========================================================================
   Landings Bourg-la-Reine · mise en page commune aux trois axes.
   Structure reprise d'une landing promoteur éprouvée : hero court, blocs
   texte + image alternés, carte d'accès, prestations, 3D, tarifs, formulaire.
   L'identité (couleurs, polices, formes, logo) vient de <axe>/theme.css.
   ========================================================================== */

:root {
  --gut: clamp(20px, 3vw, 44px);
  --band: clamp(56px, 7vw, 104px);
  --edge: max(var(--gut), calc((100vw - 1400px) / 2 + var(--gut)));
  --ease: cubic-bezier(.2, .7, .2, 1);
  --head: var(--ink);
  --focus: var(--accent); --focus-ring: color-mix(in srgb, var(--accent) 22%, transparent); --error: #B3261E;
  --field-line: #D5D0C9;
  /* jetons attendus par les composants */
  --card-radius: var(--radius); --field-radius: var(--radius-s); --btn-radius: var(--radius-s);
  --chip-on-bg: var(--accent); --chip-on-ink: var(--accent-ink);
  --loader-bg: var(--bg); --loader-ink: var(--accent); --step-now: var(--accent);
  --cookie-bg: #fff; --cookie-ink: #1F1D1C;
  --nuit: var(--ink); --herm: var(--map-paper, #F4EFE6); --tilleul: var(--map-green, #C9D7A8); --brune: var(--accent); --line: var(--rule);
  --m3d-bg: var(--ink); --m3d-ink: #fff; --gal-accent: var(--accent);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--font-text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
sup { font-size: .6em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
:target { scroll-margin-top: 96px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: var(--head-weight, 600); color: var(--head); letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(30px, 3vw, 44px); line-height: 1.12; }
.h2--s { font-size: clamp(30px, 3vw, 44px); }
.label { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 12px; }
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.tbc { font-size: .78em; letter-spacing: .04em; text-transform: uppercase; font-weight: 400; opacity: .75; border-bottom: 1px dotted currentColor; white-space: nowrap; }
.cap { font-size: 13px; line-height: 1.4; color: var(--muted); margin-top: 8px; }
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 var(--gut); }
.center { display: grid; justify-items: start; margin-bottom: clamp(28px, 3.5vw, 44px); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 2px solid var(--accent); border-radius: var(--btn-radius); background: var(--accent); color: var(--accent-ink); font-size: 17px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .2s; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .3s var(--ease); }
a.btn:hover svg { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--accent); }
.btn--ghost:hover { background: var(--accent); color: var(--accent-ink); }
.btn--white { background: #fff; border-color: #fff; color: var(--accent); box-shadow: 0 6px 20px rgba(0, 0, 0, .14); }
.btn--white:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--block { width: 100%; }
.btn--lg { min-height: 58px; font-size: 17px; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.link { font-weight: 600; color: var(--accent-text); text-underline-offset: 4px; white-space: nowrap; }

/* ---------- Navigation ---------- */
.nav { position: fixed; z-index: 45; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 24px; height: 80px; padding: 0 var(--edge); background: var(--nav-bg, #fff); border-bottom: 1px solid var(--rule); transform: translateY(-105%); transition: transform .4s var(--ease); }
.nav.is-on { transform: none; }
.nav__logo img { height: var(--nav-logo-h, 52px); width: auto; }
.nav__links { display: none; gap: 30px; margin: 0 auto; }
.nav__links a { text-decoration: none; font-size: 17px; color: var(--ink); padding: 8px 0; border-bottom: 2px solid transparent; transition: border-color .2s; }
.nav__links a:hover, .nav__links a.is-active { border-color: var(--accent); }
.nav__cta { margin-left: auto; min-height: 46px; padding: 0 18px; }
@media (min-width: 1000px) { .nav__links { display: flex; } .nav__cta { margin-left: 0; } }
@media (max-width: 599px) { .nav { height: 64px; } .nav__logo img { height: calc(var(--nav-logo-h, 52px) * .8); } }

/* ---------- Hero ---------- */
.hero { display: grid; background: var(--bg); }
.hero__media { position: relative; margin: 0; }
.hero__shape { overflow: hidden; aspect-ratio: 4 / 3; border-radius: 0 0 0 var(--hero-corner-m, 0); }
.hero__shape picture, .hero__shape img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos, 50% 50%); }
.hero__top { position: absolute; top: 16px; right: 16px; }
.hero__badges { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 10px; }
.hero__badges li { width: 84px; height: 84px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-content: center; text-align: center; font-size: 13px; line-height: 1.25; }
.hero__badges b { display: block; font-size: 13px; font-weight: 600; }
.hero__delivery { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--accent-text); padding: 9px 14px; border-radius: var(--radius-s); font-size: 15px; font-weight: 600; box-shadow: 0 6px 20px rgba(0, 0, 0, .14); }
.hero__delivery svg { width: 18px; height: 18px; }
.hero__media .cap { position: absolute; left: 16px; top: 16px; margin: 0; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); max-width: 46%; }
.hero__col { padding: 24px var(--edge) 40px; display: grid; gap: 22px; justify-items: center; text-align: center; }
.brand__logo { height: var(--logo-h-m, 86px); width: auto; }
.hero__copy { display: grid; gap: 16px; justify-items: center; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
h1 { font-size: clamp(30px, 7.6vw, 46px); line-height: 1.14; }
.ln { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.ln > span { display: block; }
.pill { display: table; margin: 12px auto 0; padding: .1em .45em .16em; font-size: .8em; white-space: nowrap; background: var(--accent); color: var(--accent-ink); border-radius: var(--radius-s); }
.hero__meta { display: grid; gap: 10px; margin-top: 6px; }
.hero__meta li { display: flex; align-items: center; gap: 12px; font-size: clamp(17px, 1.25vw, 19px); line-height: 1.4; color: var(--text); text-align: left; }
.hero__meta svg { flex: none; width: 20px; height: 20px; color: var(--accent-text); }
.hero__cta { margin-top: 10px; }
@media (max-width: 899px) { .hero__col { order: 0; } .hero__media { order: 1; } .hero__top, .hero__badges { display: none; } }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(440px, 42%) 1fr; height: 100svh; min-height: 680px; }
  .hero__col { justify-items: start; text-align: left; align-content: space-between; padding: 28px var(--gut) 44px var(--edge); gap: 28px; }
  .hero__copy { justify-items: start; gap: clamp(18px, 2.2vh, 28px); }
  .brand__logo { height: var(--logo-h, 110px); }
  h1 { font-size: clamp(40px, 3.9vw, 66px); line-height: 1.05; letter-spacing: -.02em; }
  .pill { margin-left: 0; }
  .hero__shape { height: 100%; aspect-ratio: auto; border-radius: 0 0 0 var(--hero-corner, 0); }
  .hero__top { top: 22px; right: var(--edge); }
  .hero__badges { left: 26px; bottom: 26px; }
  .hero__delivery { right: var(--edge); bottom: 26px; }
  .hero__media .cap { left: auto; right: var(--edge); top: auto; bottom: 6px; max-width: none; font-size: 10.5px; }
}

/* ---------- Bandes et blocs alternés ---------- */
.band { padding: var(--band) 0; }
.band--tint { background: var(--tint); }
.band--tight { padding-top: 0; }
.split { display: grid; gap: 32px; align-items: center; }
.split__text { display: grid; gap: 18px; justify-items: start; }
.split__text h2 { margin-bottom: 6px; }
.split__text p:not(.label) { max-width: 52ch; }
.split__text .label { margin-bottom: -6px; }
.split__text .btn { margin-top: 10px; }
.split__media { margin: 0; }
.shape { overflow: hidden; border-radius: var(--shape); }
.split__media .shape { aspect-ratio: 5 / 4; }
.shape picture, .shape img { width: 100%; height: 100%; object-fit: cover; }
.split__media img { transition: transform 1.4s var(--ease); }
.split__media:hover img { transform: scale(1.03); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
  .split--rev .split__media { order: -1; }
  .split--top { align-items: start; }
  .split__media .shape { aspect-ratio: 5 / 4.4; max-height: 580px; width: 100%; }
}

/* ---------- Carte « adresse connectée » ---------- */
.card { position: relative; overflow: hidden; background: var(--card-bg, var(--accent)); color: var(--card-ink, var(--accent-ink)); padding: clamp(28px, 3vw, 44px); border-radius: var(--radius); display: grid; gap: 22px; align-content: start; }
.card > * { position: relative; }
.card h2 { color: inherit; }
.card__list { display: grid; gap: 0; }
.card__list li { padding: 14px 0; border-top: 1px solid color-mix(in srgb, currentColor 24%, transparent); font-size: 17px; }
.card__list li:last-child { border-bottom: 1px solid color-mix(in srgb, currentColor 24%, transparent); }
.card__list b { display: inline-block; min-width: 9.5em; font-weight: 600; }
.card__src { font-size: 13px; opacity: .75; }
.card__mark { position: absolute; right: -4%; top: -6%; width: 34%; height: auto; opacity: .14; pointer-events: none; }
.map__fig { min-width: 0; }
.map__n { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* ---------- Accordéon des prestations ---------- */
.accs { display: grid; gap: 10px; width: 100%; max-width: 560px; }
.acc { background: #fff; border: 1px solid var(--rule); border-radius: var(--acc-radius, var(--radius-s)); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.acc:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--rule)); }
.acc[open] { border-color: var(--accent); box-shadow: 0 14px 34px -22px rgba(0, 0, 0, .35); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 16px 16px 22px; font-weight: 600; font-size: 17px; color: var(--ink); cursor: pointer; list-style: none; user-select: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:focus-visible { outline-offset: -3px; }
.acc__ic { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--accent); transition: background-color .3s, color .3s, transform .45s var(--ease); }
.acc__ic svg { width: 18px; height: 18px; }
.acc:hover .acc__ic { background: color-mix(in srgb, var(--accent) 14%, var(--tint)); }
.acc.is-open .acc__ic, .acc[open]:not(.is-closing) .acc__ic { background: var(--accent); color: var(--accent-ink); transform: rotate(180deg); }
.acc__body { overflow: hidden; }
.acc ul { padding: 2px 22px 22px; display: grid; gap: 8px; }
.acc li { position: relative; padding-left: 20px; font-size: 17px; color: var(--text); opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.acc[open]:not(.is-closing) li { opacity: 1; transform: none; }
.acc[open] li:nth-child(2) { transition-delay: .05s; } .acc[open] li:nth-child(3) { transition-delay: .1s; } .acc[open] li:nth-child(4) { transition-delay: .15s; }
.acc li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (prefers-reduced-motion: reduce) { .acc li, .acc__ic { transition: none; } }

/* ---------- Tarifs ---------- */
.tarifs table { width: 100%; border-collapse: collapse; }
.tarifs th, .tarifs td { padding: 20px 24px; text-align: left; font-size: 17px; font-weight: 400; color: var(--ink); }
.tarifs thead th { background: var(--accent); color: var(--accent-ink); font-size: 15px; font-weight: 600; letter-spacing: .04em; padding-block: 16px; }
.tarifs tbody th { font-weight: 600; }
.tarifs tbody tr { border-bottom: 1px solid var(--rule); transition: background-color .25s; }
.tarifs tbody tr:hover { background: var(--tint); }
.tarifs__go { text-align: right !important; }
.tarifs__note { margin-top: 18px; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) {
  .tarifs th, .tarifs td { padding: 16px 10px; font-size: 15px; }
  .tarifs thead th:last-child, .tarifs__go { display: none; }
}

/* ---------- Trois points (selon la phase) ---------- */
.perks { display: grid; gap: 28px; counter-reset: pk; }
.perks li { counter-increment: pk; display: grid; gap: 8px; align-content: start; padding-top: 20px; border-top: 1px solid var(--rule); }
.perks li::before { content: "0" counter(pk); font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--accent-text); }
.perks b { font-size: 17px; font-weight: 600; color: var(--ink); }
.perks span { font-size: 17px; max-width: 34ch; }
@media (min-width: 800px) { .perks { grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 64px); } }

/* ---------- Formulaire ---------- */
.formcard { background: #fff; color: #1F1D1C; padding: clamp(24px, 3vw, 44px); border-radius: var(--radius); box-shadow: 0 2px 6px rgba(0, 0, 0, .06), 0 24px 60px -30px rgba(0, 0, 0, .28); }
.formcard__t { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; margin-bottom: 24px; color: var(--head); }
.formcard__t b { font-weight: inherit; }
.formcard__legal { margin-top: 12px; font-size: 13px; color: #6B6661; }
.form { display: grid; gap: 16px; color: #1F1D1C; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .legend { font-size: 15px; font-weight: 600; color: #1F1D1C; padding: 0; }
.field input, .select select { appearance: none; width: 100%; height: 54px; padding: 0 16px; border: 1px solid var(--field-line); border-radius: var(--field-radius); background: #fff; color: #1F1D1C; font-size: 17px; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder { color: #9A948E; }
.field input:hover, .select select:hover { border-color: #1F1D1C; }
.field input:focus, .select select:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 4px var(--focus-ring); }
.field.is-valid input { border-color: #3E7D32; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233E7D32' stroke-width='2.2'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat right 14px center / 20px; }
.field.is-invalid input { border-color: var(--error); box-shadow: 0 0 0 4px color-mix(in srgb, var(--error) 14%, transparent); }
.field__err { font-size: 13px; color: var(--error); margin: 0; }
.field__err:empty { display: none; }
.select { position: relative; }
.select svg { position: absolute; right: 14px; top: 50%; width: 20px; height: 20px; translate: 0 -50%; pointer-events: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.legend { display: block; margin-bottom: 6px; }
.legend .opt { font-weight: 400; color: #6B6661; margin-left: 6px; font-size: 13px; }
.seg { display: grid; border: 1px solid var(--field-line); border-radius: var(--field-radius); overflow: hidden; background: #fff; }
.seg--5 { grid-template-columns: repeat(5, 1fr); } .seg--2 { grid-template-columns: repeat(2, 1fr); }
.seg__opt { position: relative; }
.seg__opt + .seg__opt { border-left: 1px solid var(--field-line); }
.seg__opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg__opt span { display: grid; place-items: center; height: 50px; padding: 0 4px; font-size: 17px; cursor: pointer; transition: background-color .2s, color .2s; white-space: nowrap; }
.seg__opt:hover span { background: rgba(0, 0, 0, .04); }
.seg__opt input:checked + span { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.seg__opt input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: -3px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 15px; line-height: 1.45; }
.consent input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.consent .field__err { grid-column: 2; }
.consent.is-invalid { color: var(--error); }
.form__status { font-size: 15px; }
.form__status:empty { display: none; }
.form__status.is-error { color: var(--error); }

/* ---------- Espace de vente ---------- */
.office { display: grid; gap: 18px; justify-items: start; align-content: start; padding-top: clamp(0px, 3vw, 48px); }
.office h2 { max-width: 14ch; }
.office .label { margin-bottom: -8px; }
.steps { width: 100%; margin-top: 18px; }

/* ---------- Pied ---------- */
.foot { padding: 56px 0 96px; border-top: 1px solid var(--rule); }
.foot .wrap { display: grid; gap: 28px; justify-items: start; }
.promoters { display: flex; align-items: center; gap: 44px; flex-wrap: wrap; }
.promoters img { height: 40px; width: auto; filter: grayscale(1) brightness(0); opacity: .58; }
.promoters img.fpi { height: 46px; }
.legal { font-size: 13px; line-height: 1.6; color: var(--muted); max-width: 90ch; display: grid; gap: 8px; }

/* ---------- Toujours accessibles : bouton flottant, barre mobile ---------- */
.fab { opacity: 0; visibility: hidden; position: fixed; z-index: 44; right: var(--edge); bottom: 28px; width: 60px; height: 60px; border: 0; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 28px rgba(0, 0, 0, .28); transition: transform .25s var(--ease), background-color .2s, opacity .3s, visibility .3s; }
.nav.is-on ~ .fab, .fab.is-on { opacity: 1; visibility: visible; }
.fab:hover { transform: scale(1.06); background: var(--accent-hover); }
.fab svg { width: 26px; height: 26px; }
.mbar { display: none; position: fixed; z-index: 44; left: 0; right: 0; bottom: 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--rule); }
@media (max-width: 899px) { .fab { display: none; } .mbar { display: block; } .foot { padding-bottom: 130px; } .cookies { bottom: 86px; } .pv { bottom: 86px; } }

/* ---------- Rappel : bandeau qui prolonge la navigation ---------- */
.cbar { position: fixed; z-index: 44; top: 80px; left: 0; right: 0; background: var(--accent); color: var(--accent-ink); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .45); clip-path: inset(0 0 100% 0); transition: clip-path .5s cubic-bezier(.65, 0, .2, 1) .12s; }
.cbar[hidden] { display: none; }
/* ouverture : le bandeau se déroule sous la navigation, puis son contenu apparaît ;
   fermeture : l'inverse exact (le contenu s'efface, puis le bandeau se replie) */
.cbar.is-open { clip-path: inset(0 0 -60px 0); transition-delay: 0s; }
.cbar__in { opacity: 0; transform: translateY(-10px); transition: opacity .22s ease, transform .3s var(--ease); }
.cbar.is-open .cbar__in { opacity: 1; transform: none; transition: opacity .35s ease .22s, transform .5s var(--ease) .18s; }
.cbar__in { display: grid; align-items: center; gap: 14px 20px; padding: 24px var(--edge); grid-template-columns: 1fr; }
.cbar__t { font-family: var(--font-display); font-weight: var(--head-weight, 600); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; padding-right: 44px; }
.cbar__form { display: grid; gap: 12px; }
.cbar .field input, .cbar .select select { height: 56px; background: transparent; border: 1px solid color-mix(in srgb, currentColor 55%, transparent); color: inherit; font-size: 17px; font-weight: 400; }
.cbar .field input::placeholder { color: inherit; opacity: .8; }
.cbar .select select option { color: #1F1D1C; }
.cbar .field input:hover, .cbar .select select:hover { border-color: currentColor; }
.cbar .field input:focus, .cbar .select select:focus { border-color: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 28%, transparent); }
.cbar .field.is-valid input { border-color: currentColor; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); background-color: transparent; }
.cbar .field.is-invalid input { border-color: #FFD0C9; box-shadow: 0 0 0 4px rgba(255, 208, 201, .25); }
.cbar .field__err, .cbar .consent.is-invalid, .cbar .form__status.is-error { color: #FFD9D3; }
.cbar__ok { height: 56px; min-height: 56px; padding: 0 30px; box-shadow: none; }
.cbar__ok:hover { background: var(--tint); border-color: var(--tint); color: var(--accent); }
.cbar__consent { font-size: 13px; }
.cbar__consent input { accent-color: #fff; }
.cbar__consent a { color: inherit; }
.cbar__close { position: absolute; top: 14px; right: calc(var(--edge) - 8px); width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; display: grid; place-items: center; transition: background-color .2s, transform .3s; }
.cbar__close:hover { background: color-mix(in srgb, currentColor 16%, transparent); transform: rotate(90deg); }
.cbar__close svg { width: 26px; height: 26px; stroke-width: 2.2; }
.nav.is-forced { transform: none; }
.nav.is-forced { border-bottom-color: transparent; }
.nav [data-open-form] { transition: background-color .35s, color .35s, border-color .35s; }
.nav [data-open-form][aria-expanded="true"] { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 599px) { .cbar { top: 64px; } .cbar__t { text-align: center; padding: 0 40px; } }
@media (min-width: 900px) {
  /* une seule grille : titre, téléphone, plage horaire, Valider, fermer sur la même ligne de 56 px ;
     le consentement s'aligne sous le champ téléphone */
  .cbar__in { grid-template-columns: 1fr 240px 230px auto 56px; align-items: start; gap: 10px 12px; padding: 22px var(--edge) 18px; max-width: none; }
  .cbar__form { display: contents; }
  .cbar__t { grid-column: 1; grid-row: 1; padding: 0; min-height: 56px; display: flex; align-items: center; }
  .cbar__close { position: static; grid-column: 5; grid-row: 1; width: 56px; height: 56px; justify-self: end; margin-right: -16px; }
  .cbar__consent, .cbar .form__status { grid-column: 2 / 5; }
  .cbar__consent { align-items: center; }
}
@media (prefers-reduced-motion: reduce) { .cbar, .cbar__in, .cbar.is-open .cbar__in { transition: none; } }

/* ---------- Maquette 3D sur bande claire ---------- */
.m3d__stage { position: relative; }
.viewer { position: relative; height: clamp(360px, 58vh, 640px); border-radius: var(--radius); overflow: hidden; background: #E9E4DB; }
.viewer canvas { display: block; outline: none; }
.viewer.is-loading::after { content: "Chargement de la maquette…"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; color: var(--muted); }
.viewer__fallback { display: none; position: absolute; inset: 0; }
.viewer.is-fallback .viewer__fallback { display: grid; place-items: end start; }
.viewer__fallback img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.viewer__fallback p { position: relative; margin: 16px; font-size: 15px; background: #fff; padding: 8px 12px; border-radius: var(--radius-s); }
.m3d__ui { position: absolute; top: 14px; left: 14px; display: flex; gap: 8px; z-index: 2; }
.m3d__wait { position: absolute; z-index: 2; top: 14px; left: 50%; translate: -50% 0; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 28px); padding: 10px 18px; background: var(--ink); color: #fff; border-radius: 999px; font-size: 15px; line-height: 1.3; box-shadow: 0 8px 24px rgba(0, 0, 0, .22); }
.m3d__wait::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: #F2C14E; box-shadow: 0 0 0 4px rgba(242, 193, 78, .25); }
.m3d__wait b { font-weight: 600; white-space: nowrap; }
.m3d__wait span { opacity: .82; }
@media (max-width: 760px) { .m3d__wait { top: 64px; left: 14px; right: 14px; translate: none; border-radius: 14px; flex-wrap: wrap; gap: 2px 12px; } .m3d__wait span { width: 100%; padding-left: 21px; font-size: 13px; } }
.m3d__chip { border: 0; background: #fff; color: var(--ink); border-radius: 999px; padding: 10px 16px; font-size: 15px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .14); }
.m3d__chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
@media (pointer: fine) { [data-orbit-go] { display: none; } }
.m3d__panel { display: grid; gap: 12px; padding: 20px; margin-top: 14px; background: #fff; color: #1F1D1C; border-radius: var(--radius); box-shadow: 0 16px 40px -20px rgba(0, 0, 0, .3); }
.m3d__panel .legend { margin: 0; }
.m3d__floors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.m3d__fl { height: 46px; border: 1px solid var(--field-line); background: #fff; color: #1F1D1C; border-radius: var(--radius-s); font-size: 15px; font-weight: 400; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.m3d__fl:hover, .m3d__fl.is-hover { border-color: var(--accent); }
.m3d__fl[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.m3d__sel { font-size: 15px; min-height: 22px; }
.m3d__note { margin-top: 12px; font-size: 13px; color: var(--muted); }
@media (min-width: 1000px) { .m3d__panel { position: absolute; right: 20px; bottom: 20px; width: 320px; margin: 0; } }

/* ---------- Apparitions symétriques ----------
   Les blocs centrés montent ; dans les blocs en deux colonnes, chaque moitié entre par son côté
   (gauche depuis la gauche, droite depuis la droite), et l'ordre s'inverse avec les blocs inversés. */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (min-width: 900px) {
  .split > .reveal:first-child { transform: translateX(-40px); }
  .split > .reveal:last-child { transform: translateX(40px); }
  .split--rev > .reveal:first-child { transform: translateX(40px); }
  .split--rev > .reveal:last-child { transform: translateX(-40px); }
  .split > .reveal.is-in { transform: none; }
  .perks li { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .perks li:nth-child(1) { transform: translate(-28px, 0); } .perks li:nth-child(3) { transform: translate(28px, 0); }
  .perks.is-in li { opacity: 1; transform: none; }
  .perks.is-in li:nth-child(2) { transition-delay: .08s; }
  .perks.reveal { opacity: 1; transform: none; }
}
.no-js .reveal, .reduce .reveal, .no-js .perks li, .reduce .perks li { opacity: 1; transform: none; transition: none; }

/* ---------- Hero : image vivante ---------- */
.is-loaded .hero__shape picture { animation: drift 26s ease-in-out 2.6s infinite alternate; transform-origin: 60% 60%; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) { .is-loaded .hero__shape picture { animation: none; } }

/* écrans peu hauts : le premier écran garde tout son contenu, bouton compris */
@media (min-width: 900px) and (max-height: 800px) {
  .hero__col { padding-top: 20px; padding-bottom: 26px; gap: 14px; }
  .brand__logo { height: min(var(--logo-h, 110px), 13svh); }
  h1 { font-size: clamp(34px, 3.3vw, 52px); }
  .hero__copy { gap: 14px; }
  .hero__meta { gap: 6px; }
}
