/* ════════════════════════════════════════════════════════════════════
   Accueil et pages de vente — direction « Nuit calme » (2026-10-06)
   Chargée après site.css par l'accueil et par les pages qui vendent
   (créer sa conciergerie, le Système, à propos) : elles partagent ses composants. Aucune couleur
   en dur : les 5 jetons et leurs nuances viennent de site.css.
   Aucune vidéo pilotée au défilement : les écrans sont de vraies captures de
   l'application, les notifications sont écrites en HTML. Seuls transform et
   opacity s'animent, une seule fois, et le mouvement réduit les fige.
   ════════════════════════════════════════════════════════════════════ */

.accueil, .page-vente { --section: clamp(72px, 9vw, 128px); }
.accueil main > section, .vente > section { position: relative; }
.accueil main > section + section, .vente > section + section { border-top: 1px solid var(--ligne); }

/* la pastille verte : « tout va bien » */
.pastille { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 5px var(--or-doux); flex: none; }

/* le téléphone : une capture réelle dans une coque sobre */
.tel { --w: 300px; position: relative; width: var(--w); aspect-ratio: 780 / 1640; padding: calc(var(--w) * .032); border-radius: calc(var(--w) * .15); background: var(--nuit); box-shadow: inset 0 0 0 1px var(--ligne-2), 0 50px 100px -40px var(--nuit), 0 0 0 1px var(--ligne); }
.tel img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: calc(var(--w) * .12); }

/* une notification, écrite en HTML */
.nf { position: absolute; width: 300px; padding: 13px 15px 14px; border-radius: 18px; background: color-mix(in oklab, var(--mer) 92%, var(--sable)); box-shadow: inset 0 0 0 1px var(--ligne-2), 0 24px 50px -24px var(--nuit); font-family: var(--phone-font); font-size: 13.5px; line-height: 1.38; color: var(--sable); }
.nf p { margin: 0; }
.nf__tete { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--sable-2); margin-bottom: 4px !important; font-variant-numeric: tabular-nums; }
.nf__titre { font-weight: 600; }
.nf__texte { color: var(--sable-2); }
.nf__qui { display: inline-block; margin-top: 9px !important; padding: 3px 10px; border-radius: var(--r-pill); font-family: var(--sans); font-size: 12px; font-weight: 560; color: var(--or); background: var(--or-doux); }
.nf__qui--calme { color: var(--sable-2); background: var(--voile-2); }

/* ─── ① Héros ─────────────────────────────────────────────────────────── */
.hx { padding: calc(var(--nav-h) + clamp(40px, 6vw, 88px)) 0 clamp(64px, 8vw, 120px); overflow: hidden; }
.hx__grille { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hx__surtitre { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 26px; font-size: var(--t-petit); font-weight: 540; font-stretch: 108%; color: var(--sable-2); }
.hx__titre { font-size: clamp(44px, 5.6vw, 84px); margin-bottom: 28px; }
.hx__chapo { font-size: var(--t-chapeau); line-height: 1.55; color: var(--sable-2); max-width: 36em; margin-bottom: 34px; }
.hx__chapo strong { color: var(--sable); font-weight: 580; }
.portes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.porte { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 14px; min-width: 240px; padding: 14px 18px 15px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--ligne); transition: box-shadow .25s, background-color .25s; }
.porte small { grid-column: 1 / -1; font-size: 12.5px; font-weight: 520; color: var(--sable-3); }
.porte span { font-weight: 600; font-size: 16px; }
.porte svg { width: 18px; height: 18px; color: var(--or); transition: transform .3s var(--ease); }
.porte:hover { box-shadow: inset 0 0 0 1px var(--or-ligne); }
.porte:hover svg { transform: translateX(3px); }
.hx__preuve { margin: 26px 0 0; font-size: var(--t-petit); color: var(--sable-3); }

.hx__scene { position: relative; margin: 0; height: 660px; }
.tel--hx { --w: 310px; position: absolute; right: 2%; top: 0; }
.nf--1 { left: -6%; top: 64px; }
.nf--2 { left: 2%; top: 404px; }
.hx__mention { position: absolute; right: 2%; bottom: 0; font-size: 12.5px; color: var(--sable-3); }
@keyframes nf-entre { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.nf--1 { animation: nf-entre .8s var(--ease) .5s both; }
.nf--2 { animation: nf-entre .8s var(--ease) 1.5s both; }

/* ─── ② La journée quand tout passe par toi ───────────────────────────── */
.nuit { padding: var(--section) 0; }
.nuit__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.nuit__texte .lead { margin-top: 24px; }
.journee { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.journee li { display: grid; grid-template-columns: 76px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--ligne); }
.journee li:first-child { padding-top: 6px; }
.journee time { position: relative; font-family: var(--display); font-weight: 640; font-size: 22px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--sable); padding-left: 18px; }
.journee time::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px var(--signal-doux); }
.journee p { margin: 0; color: var(--sable-2); }
.journee q { color: var(--sable); quotes: "« " " »"; }
/* à l'entrée à l'écran, les points rouges s'allument l'un après l'autre : le texte, lui, reste lisible en permanence */
.js .journee time::before { transition: transform .5s var(--ease), opacity .5s var(--ease); }
.js .journee:not(.is-live) time::before { transform: scale(.2); opacity: 0; }
.js .journee.is-live li:nth-child(2) time::before { transition-delay: .3s; }
.js .journee.is-live li:nth-child(3) time::before { transition-delay: .6s; }
.js .journee.is-live li:nth-child(4) time::before { transition-delay: .9s; }

/* ─── ③ Mon histoire ──────────────────────────────────────────────────── */
.histoire { padding: var(--section) 0; }
.histoire__grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.histoire__portrait { position: sticky; top: calc(var(--nav-h) + 24px); margin: 0; }
.histoire__portrait img { width: 100%; border-radius: var(--r-img); }
.histoire__portrait figcaption { margin-top: 14px; font-size: var(--t-petit); color: var(--sable-3); }
.histoire__portrait figcaption strong { color: var(--sable); font-weight: 600; }
.frise { list-style: none; margin: 36px 0 0; padding: 0; }
.frise li { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--ligne); }
.frise b { font-family: var(--display); font-weight: 680; font-size: 20px; letter-spacing: -.02em; color: var(--sable); }
.frise li:last-child b { color: var(--or); }
.frise p { margin: 0; color: var(--sable-2); }
.histoire__citation { margin: 34px 0 0; padding: 26px 0 0; border-top: 1px solid var(--ligne-2); }
.histoire__citation p { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; letter-spacing: -.02em; color: var(--sable); text-wrap: balance; }
.histoire__chiffre { display: flex; align-items: baseline; gap: 16px; margin: 30px 0 0; color: var(--sable-2); }
.histoire__chiffre b { font-family: var(--display); font-weight: 700; font-size: clamp(56px, 6vw, 84px); line-height: .9; letter-spacing: -.045em; color: var(--or); }

/* ─── ④ Les 3 pièces ──────────────────────────────────────────────────── */
.pieces3 { padding: var(--section) 0; }
.pieces3__tete { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.pieces3__tete .lead { margin: 0; }
.piece3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(28px, 4vw, 48px) 0; }
.piece3 + .piece3 { border-top: 1px solid var(--ligne); }
.piece3--inverse .piece3__texte { order: 2; }
.piece3__num { margin: 0 0 14px; font-size: var(--t-petit); font-weight: 600; font-stretch: 108%; letter-spacing: .02em; color: var(--or); }
.piece3 .h3 { margin-bottom: 16px; max-width: 18ch; }
.piece3__texte > p:not(.piece3__num) { color: var(--sable-2); max-width: 40em; }
.piece3__visuel { position: relative; height: 440px; border-radius: var(--r-xl); background: var(--surface); box-shadow: inset 0 0 0 1px var(--ligne); overflow: hidden; display: flex; justify-content: center; }
.piece3__visuel .tel { --w: 280px; margin-top: 44px; }

/* une coche verte, dessinée en CSS (la police n'a pas le glyphe) */
.coches { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.coches li { position: relative; padding-left: 30px; color: var(--sable); }
.coches li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--or-doux); }
.coches li::after { content: ""; position: absolute; left: 6px; top: calc(.2em + 4px); width: 5px; height: 9px; border: solid var(--or); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* les documents : du papier sur la nuit */
.piece3__visuel--docs { align-items: center; }
.doc { position: absolute; width: 56%; max-width: 300px; padding: 22px 22px 26px; border-radius: 8px; background: var(--sable); color: var(--nuit); box-shadow: 0 30px 60px -30px var(--nuit); font-size: 12px; }
.doc p { margin: 0; }
.doc__titre { font-family: var(--display); font-weight: 680; font-size: 16px; letter-spacing: -.01em; margin-bottom: 4px !important; }
.doc__sous { font-size: 11px; color: color-mix(in oklab, var(--nuit) 60%, var(--sable)); margin-bottom: 12px !important; }
.doc i { display: block; height: 6px; border-radius: 3px; background: color-mix(in oklab, var(--nuit) 12%, var(--sable)); margin: 8px 0; }
.doc i:nth-of-type(3n) { width: 64%; }
.doc__sig { margin-top: 18px !important; padding-top: 8px; border-top: 1px solid color-mix(in oklab, var(--nuit) 18%, var(--sable)); font-weight: 600; color: color-mix(in oklab, var(--nuit) 70%, var(--sable)); }
.doc__case { position: relative; padding: 6px 0 6px 22px; border-bottom: 1px solid color-mix(in oklab, var(--nuit) 10%, var(--sable)); }
.doc__case::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 3px; background: var(--nuit); }
.doc--1 { transform: translate(-8%, 6%) rotate(-3deg); z-index: 3; }
.doc--2 { transform: translate(14%, -6%) rotate(4deg); z-index: 2; opacity: .96; }
.doc--3 { transform: translate(30%, -16%) rotate(9deg); z-index: 1; opacity: .9; }

.pieces3__suite { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: clamp(32px, 4vw, 56px); }

/* ─── ⑤ Deux chemins ──────────────────────────────────────────────────── */
.chemins { padding: var(--section) 0; }
.chemins__tete { margin-bottom: clamp(36px, 4vw, 56px); }
.chemins__tete .h2 { max-width: 24ch; }
.chemins__grille { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.chemin { display: flex; flex-direction: column; padding: clamp(26px, 3vw, 40px); border-radius: var(--r-xl); background: var(--surface); box-shadow: inset 0 0 0 1px var(--ligne); }
.chemin__pour { margin: 0 0 10px; font-size: var(--t-petit); font-weight: 600; font-stretch: 108%; color: var(--or); }
.chemin .h3 { margin-bottom: 12px; }
.chemin__accroche { color: var(--sable-2); }
.chemin .coches { margin: 8px 0 30px; }
.chemin .btn { margin-top: auto; align-self: flex-start; }
.chemins__prix { margin: 26px 0 0; max-width: 62ch; font-size: var(--t-petit); color: var(--sable-3); }

/* ─── ⑥ L'accompagnement en 3 temps ───────────────────────────────────── */
.temps { padding: var(--section) 0; }
.temps .h2 { max-width: 22ch; }
.temps__liste { list-style: none; margin: clamp(36px, 4vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: none; }
.temps__liste li { padding: 28px 0 0; border-top: 1px solid var(--ligne-2); }
.temps__n { display: block; font-family: var(--display); font-weight: 700; font-size: 56px; line-height: 1; letter-spacing: -.04em; color: var(--sable-3); margin-bottom: 18px; }
.temps__liste li:first-child .temps__n { color: var(--or); }
.temps__liste h3 { font-family: var(--display); font-weight: 660; font-size: 24px; letter-spacing: -.02em; margin-bottom: 10px; }
.temps__liste p { margin: 0; color: var(--sable-2); }
.temps__capacite { display: inline-flex; align-items: center; gap: 12px; margin: 40px 0 0; font-size: var(--t-petit); font-weight: 540; color: var(--sable-2); }

/* ─── ⑦ Les 4 cadeaux ─────────────────────────────────────────────────── */
.cadeaux4 { padding: var(--section) 0; }
.cadeaux4__tete { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.cadeaux4__tete .lead { margin: 0; }
.cadeaux4__grille { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kdo { display: flex; flex-direction: column; height: 100%; padding: 26px 24px 24px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--ligne); transition: box-shadow .25s; }
.kdo:hover { box-shadow: inset 0 0 0 1px var(--or-ligne); }
.kdo__type { font-size: 12.5px; font-weight: 560; color: var(--sable-3); }
.kdo h3 { font-family: var(--display); font-weight: 660; font-size: 22px; line-height: 1.15; letter-spacing: -.02em; margin: 12px 0 10px; }
.kdo p { color: var(--sable-2); font-size: 15px; margin-bottom: 22px; }
.kdo__go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--or); }
.kdo__go svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.kdo:hover .kdo__go svg { transform: translateX(3px); }

/* ─── ⑧ Les questions ─────────────────────────────────────────────────── */
.questions2 { padding: var(--section) 0; }
.faq2 { margin-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--ligne); }
.faq2 details { border-bottom: 1px solid var(--ligne); }
.faq2 summary { position: relative; display: block; padding: 22px 48px 22px 0; min-height: 44px; cursor: pointer; list-style: none; font-family: var(--display); font-weight: 620; font-size: clamp(18px, 1.6vw, 21px); letter-spacing: -.012em; color: var(--sable); }
.faq2 summary::-webkit-details-marker { display: none; }
.faq2 summary::before, .faq2 summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 2px; background: var(--or); transition: transform .3s var(--ease); }
.faq2 summary::after { transform: rotate(90deg); }
.faq2 details[open] summary::after { transform: rotate(0); }
.faq2 details p { margin: 0 0 24px; max-width: 64ch; color: var(--sable-2); }
.faq2 details a { color: var(--sable); text-decoration: underline; text-decoration-color: var(--or-ligne); text-underline-offset: 3px; }

/* ─── ⑨ L'appel ───────────────────────────────────────────────────────── */
.appel2 { padding: var(--section) 0; background: radial-gradient(42% 46% at 50% 58%, var(--or-doux), transparent); }
.appel2 .eyebrow { justify-content: center; gap: 12px; }
.appel2__titre { font-size: clamp(40px, 5vw, 72px); margin: 4px auto 24px; max-width: 16ch; }
.appel2 .lead { margin: 0 auto 34px; }
.appel2 .cta-row { justify-content: center; }

/* ─── Tablette ────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .cadeaux4__grille { grid-template-columns: repeat(2, 1fr); }
  .hx__grille { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
  .tel--hx { --w: 270px; }
  .nf { width: 270px; }
}

/* ─── Téléphone : sa propre composition ───────────────────────────────── */
@media (max-width: 900px) {
  .hx { padding: calc(var(--nav-h) + 26px) 0 48px; }
  .hx__grille { grid-template-columns: 1fr; gap: 0; }
  .hx__surtitre { margin-bottom: 18px; }
  .hx__titre { font-size: clamp(42px, 12.2vw, 60px); margin-bottom: 20px; }
  .hx__chapo { font-size: 16.5px; margin-bottom: 24px; }
  .hx__actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hx__actions .btn { width: 100%; white-space: normal; text-align: center; }
  /* les deux portes en tuiles côte à côte, au pouce */
  .portes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
  .porte { min-width: 0; padding: 13px 13px 14px; column-gap: 6px; }
  .porte span { font-size: 14.5px; line-height: 1.25; }
  .porte svg { width: 16px; height: 16px; }
  .hx__preuve { margin-top: 18px; }
  /* le téléphone vient après la promesse, rogné en bas pour ne pas manger l'écran */
  .hx__scene { height: 440px; margin-top: 40px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, var(--nuit) 78%, transparent); mask-image: linear-gradient(180deg, var(--nuit) 78%, transparent); }
  .tel--hx { --w: 236px; left: 50%; right: auto; transform: translateX(-50%); }
  .nf { width: min(272px, 74vw); font-size: 12.5px; padding: 11px 13px 12px; }
  .nf--1 { left: 0; top: 54px; }
  .nf--2 { left: auto; right: 0; top: 248px; }
  .hx__mention { display: none; }

  .nuit__grille, .histoire__grille, .pieces3__tete, .cadeaux4__tete { grid-template-columns: 1fr; gap: 28px; }
  .journee li { grid-template-columns: 64px 1fr; gap: 12px; padding: 18px 0; }
  .journee time { font-size: 18px; padding-left: 16px; }

  /* le portrait en vignette à côté du titre, pas en pleine page */
  .histoire__grille { gap: 0; }
  .histoire__portrait { position: static; display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center; margin-bottom: 26px; }
  .histoire__portrait img { width: 88px; height: 88px; object-fit: cover; object-position: 50% 20%; border-radius: 50%; }
  .histoire__portrait figcaption { margin: 0; }
  .frise li { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }

  .piece3 { grid-template-columns: 1fr; gap: 24px; }
  .piece3--inverse .piece3__texte { order: 0; }
  .piece3__visuel { height: 300px; order: -1; }
  .piece3__visuel .tel { --w: 220px; margin-top: 30px; }
  .doc { width: 62%; padding: 16px 16px 18px; }

  .chemins__grille { grid-template-columns: 1fr; gap: 12px; }
  .chemin .btn { align-self: stretch; }
  .temps__liste { grid-template-columns: 1fr; gap: 0; }
  .temps__liste li { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; padding: 20px 0; }
  .temps__n { grid-row: span 2; font-size: 36px; margin: 0; }
  .temps__liste h3 { font-size: 20px; margin-bottom: 6px; }

  /* les cadeaux défilent au pouce, une carte et demie à l'écran */
  .cadeaux4__grille { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .cadeaux4__grille::-webkit-scrollbar { display: none; }
  .cadeaux4__grille li { flex: 0 0 76%; scroll-snap-align: start; }

  .appel2 .cta-row { flex-direction: column; align-items: stretch; }
  .appel2 .btn { width: 100%; }
}


/* ─── Pages de vente : en-tête, blocs, listes ─────────────────────────── */
.vente__hero { padding-bottom: clamp(56px, 7vw, 100px); }
.vente__hero-grille { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.vente__hero .crumbs { margin-bottom: 26px; }
.vente__titre { font-size: clamp(42px, 5.4vw, 80px); margin-bottom: 26px; }
.vente__visuel { height: 460px; }
.vente__bloc { padding: var(--section) 0; }
.trois { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.trois li { padding: 26px 24px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--ligne); }
.trois h3, .recois h3 { font-family: var(--display); font-weight: 660; font-size: 21px; line-height: 1.2; letter-spacing: -.018em; margin-bottom: 10px; }
.trois p, .recois p { margin: 0; color: var(--sable-2); }
.recois { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 72px); }
.recois li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 26px 0; border-top: 1px solid var(--ligne); }
.recois__n { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; color: var(--or); padding-top: 2px; }
.vente__ordre .lead + .lead { margin-top: 16px; }
.vente__ordre .link-arrow { margin-top: 18px; }
.vente__ordre .histoire__portrait { max-width: 420px; }
.vente__loi { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 28px 56px; align-items: center; padding: clamp(26px, 3vw, 40px); border-radius: var(--r-xl); box-shadow: inset 0 0 0 1px var(--ligne-2); }
.vente__loi .h3 { margin-bottom: 10px; }
.vente__loi p { margin: 0; color: var(--sable-2); max-width: 62ch; }
.vente__scene { height: 600px; }
.vente__scene .nf--1 { top: 300px; left: -4%; }
.avant-apres { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.avant-apres li { padding: 24px 24px 26px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--ligne); }
.avant-apres p { margin: 0; }
.aa__avant { position: relative; padding-left: 22px; color: var(--sable-3); text-decoration: line-through; text-decoration-color: var(--signal-ligne); }
.aa__avant::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }
.aa__apres { position: relative; margin-top: 12px !important; padding-left: 22px; color: var(--sable); font-weight: 500; }
.aa__apres::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--or); }
.roles { list-style: none; margin: 20px 0 0; padding: 0; }
.roles li { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--ligne); }
.roles b { font-weight: 600; color: var(--sable); }
.roles span { color: var(--sable-2); }
.roles__note { margin-top: 18px; font-size: var(--t-petit); color: var(--sable-3); max-width: 60ch; }
.vente__prix { padding: 0 var(--gutter); }
.vente__prix .h2 { margin-bottom: 20px; }
.vente__prix .piece3__texte > p:not(.piece3__num):not(.roles__note) { color: var(--sable-2); }
.vente__prix .link-arrow { margin-top: 16px; }
.offres3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(32px, 4vw, 56px); }
.offre { padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r-xl); background: var(--surface); box-shadow: inset 0 0 0 1px var(--ligne); }
.offre--phare { box-shadow: inset 0 0 0 1.5px var(--or-ligne); }
.offre .h3 { margin-bottom: 14px; }
.offre__prix { display: flex; flex-direction: column; gap: 2px; margin: 0 0 16px; }
.offre__prix b { font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -.03em; color: var(--sable); }
.offre__prix span { font-size: var(--t-petit); color: var(--sable-3); }
.offre > p:last-child { margin: 0; color: var(--sable-2); }
.vente .temps { padding-top: 0; padding-bottom: 0; }
.vente__ordre .h2 { margin-bottom: 22px; }
@media (max-width: 900px) {
  .vente__hero-grille, .recois, .vente__loi { grid-template-columns: 1fr; }
  .vente__titre { font-size: clamp(40px, 11.4vw, 56px); }
  .vente__visuel { height: 300px; margin-top: 36px; }
  .trois { grid-template-columns: 1fr; gap: 10px; }
  .recois li { grid-template-columns: 40px 1fr; padding: 20px 0; }
  .vente__ordre .histoire__portrait { max-width: none; }
  .vente__scene { height: 420px; }
  .vente__scene .nf--1 { top: 200px; left: 0; }
  .avant-apres, .offres3 { grid-template-columns: 1fr; gap: 10px; }
  .roles li { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
  .vente__loi .cta-row { flex-direction: column; align-items: stretch; }
}


/* ─── Les scènes au défilement (defile.js) ───────────────────────────────
   La page défile librement : le fond de la scène reste collé à l'écran pendant
   que le texte passe devant, et la vidéo avance avec le défilement. */
[data-seq] { position: relative; overflow: hidden; background: var(--nuit); }
[data-seq] img, [data-seq] canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
[data-seq] canvas { opacity: 0; transition: opacity .4s linear; }
.defile [data-seq].is-pret canvas { opacity: 1; }
.defile-plat [data-seq] canvas { display: none; }

.hx--scene { padding: 0; height: 230svh; overflow: visible; }
.hx--scene .hx__media { position: sticky; top: 0; height: 100svh; margin-bottom: -100svh; z-index: 0; }
.hx__voile { position: absolute; inset: 0; z-index: 1; opacity: calc(1 - min(max(var(--p, 0) - .22, 0) * 1.9, .62)); background:
  linear-gradient(90deg, color-mix(in oklab, var(--nuit) 90%, transparent) 0%, color-mix(in oklab, var(--nuit) 74%, transparent) 38%, color-mix(in oklab, var(--nuit) 18%, transparent) 70%, transparent 100%),
  linear-gradient(0deg, var(--nuit) 0%, transparent 22%); }
.hx--scene .hx__grille { position: relative; z-index: 2; display: block; min-height: 100svh; padding-top: calc(var(--nav-h) + clamp(48px, 8vh, 110px)); padding-bottom: 48px; }
.hx--scene .hx__texte { max-width: 640px; }
.hx--scene .hx__chapo { color: color-mix(in oklab, var(--sable) 86%, var(--nuit)); }
.hx--scene .porte { background: color-mix(in oklab, var(--nuit) 70%, transparent); }
.hx__journee { position: relative; z-index: 2; min-height: 130svh; display: flex; flex-direction: column; align-items: flex-end; }
.hx__fil { position: sticky; top: calc(var(--nav-h) + 28px); align-self: flex-start; margin: 0; font-family: var(--display); font-weight: 660; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.025em; line-height: 1.1; max-width: 16ch; text-shadow: 0 2px 24px var(--nuit); }
.hx__fil em { font-style: normal; color: var(--sable-2); }
.moments { position: sticky; top: 26vh; list-style: none; margin: -40px 0 0; padding: 0; display: grid; gap: 12px; width: 330px; }
.moment { position: relative; width: 100%; }
.defile .moment { opacity: 0; transform: translateX(24px) scale(.97); transition: opacity .55s var(--ease), transform .7s var(--ease); }
.defile .moment.is-on { opacity: 1; transform: none; }
.hx--scene .hx__mention { position: sticky; top: calc(100svh - 40px); align-self: flex-end; margin-top: auto; padding-bottom: 14px; font-size: 12.5px; color: var(--sable-2); }

.nuit__media { position: relative; margin: 34px 0 0; aspect-ratio: 16 / 10; border-radius: var(--r-xl); box-shadow: inset 0 0 0 1px var(--ligne); }
.bande { position: relative; margin: 0 0 clamp(36px, 4vw, 64px); aspect-ratio: 21 / 9; border-radius: var(--r-xl); box-shadow: 0 50px 100px -50px var(--nuit); }

/* la profondeur : les visuels s'inclinent, les photos glissent plus lentement que la page */
[data-prof] { will-change: transform; transform-style: preserve-3d; }
[data-para] { will-change: transform; transform: scale(1.12); }
.piece3__visuel--photo { overflow: hidden; }
.piece3__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.piece3__visuel--photo::after { content: ""; position: absolute; inset: 0; background: color-mix(in oklab, var(--nuit) 35%, transparent); }
.docs { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; }
.chemin__photo { position: relative; margin: calc(clamp(26px, 3vw, 40px) * -1) calc(clamp(26px, 3vw, 40px) * -1) 26px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.chemin__photo img { width: 100%; height: 100%; object-fit: cover; }
.appel2--photo { position: relative; overflow: hidden; background: var(--nuit); min-height: 92svh; display: flex; align-items: center; }
.appel2__fond { position: absolute; inset: 0; z-index: 0; }
.appel2__fond img { width: 100%; height: 100%; object-fit: cover; }
.appel2__fond::after { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(46% 42% at 50% 50%, color-mix(in oklab, var(--nuit) 62%, transparent), transparent 100%), linear-gradient(180deg, var(--nuit) 0%, color-mix(in oklab, var(--nuit) 22%, transparent) 20%, color-mix(in oklab, var(--nuit) 22%, transparent) 78%, var(--nuit) 100%); }
.appel2--photo .appel2__titre, .appel2--photo .lead, .appel2--photo .eyebrow { text-shadow: 0 2px 22px var(--nuit), 0 0 2px var(--nuit); }
.appel2--photo .lead { color: var(--sable); }
.appel2--photo .container { position: relative; z-index: 1; }

@media (max-width: 900px) {
  .hx--scene { height: 210svh; }
  .hx__voile { background: linear-gradient(180deg, color-mix(in oklab, var(--nuit) 88%, transparent) 0%, color-mix(in oklab, var(--nuit) 78%, transparent) 50%, color-mix(in oklab, var(--nuit) 30%, transparent) 78%, var(--nuit) 100%); }
  .hx--scene .hx__grille { padding-top: calc(var(--nav-h) + 22px); padding-bottom: 28px; }
  .hx__journee { min-height: 110svh; align-items: stretch; }
  .hx__fil { top: calc(var(--nav-h) + 16px); font-size: 26px; }
  .moments { top: 42vh; width: 100%; margin-top: 18px; gap: 8px; }
  .moment { padding: 10px 12px; font-size: 12.5px; }
  .moment .nf__texte { display: none; }
  .moment .nf__qui { margin-top: 6px !important; }
  .defile .moment { transform: translateY(16px) scale(.98); }
  .hx--scene .hx__mention { display: none; }
  .nuit__media { aspect-ratio: 4 / 5; margin-top: 26px; }
  .bande { aspect-ratio: 4 / 5; }
  .chemin__photo { aspect-ratio: 16 / 10; }
}

@media (prefers-reduced-motion: reduce) {
  .nf--1, .nf--2 { animation: none; }
  .js .journee:not(.is-live) time::before { transform: none; opacity: 1; }
}
