/* Arteluxia : l'art de vivre le quotidien avec intention.
   Direction : luxe éditorial. Crème, espresso, or ; grandes capitales à empattements ;
   mouvements lents et lourds, jamais brusques. */
:root {
  --cream: #F8F3EA;
  --cream-2: #F1E8DA;
  --paper: #EDE3D3;
  --ink: #1B1612;
  --ink-soft: #3B3129;
  --muted: #7C6C5F;
  --hair: rgba(27, 22, 18, .1);
  --gold: #B8843A;
  --gold-2: #D9B26E;
  --night: #120D0A;
  --night-2: #1C1511;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", sans-serif;
  --ease: cubic-bezier(.22, .9, .1, 1);
  --ease-soft: cubic-bezier(.32, .72, 0, 1);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.7; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: #fff; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
@media (max-width: 767px) { .wrap { padding: 0 18px; } }

/* Grain de papier, fixe, au-dessus de tout et sans capter les clics */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) } 40% { transform: translate(2%,-3%) } 60% { transform: translate(-2%,-1%) } 80% { transform: translate(3%,2%) } }

/* ── Typographie ─────────────────────────────────────────────────────── */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.plain::before { display: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.02; margin: 0; }
.display { font-size: clamp(54px, 9.4vw, 158px); line-height: .92; letter-spacing: -.025em; }
h2 { font-size: clamp(40px, 6vw, 92px); }
h3 { font-size: clamp(30px, 3vw, 44px); }
em, .it { font-style: italic; }
.lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-soft); max-width: 600px; font-weight: 300; }
.small { font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.gold { color: var(--gold); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Révélation des lignes de titre (masque) */
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: inline-block; will-change: transform; }

/* ── Navigation : îlot flottant ──────────────────────────────────────── */
.nav-island {
  position: fixed; z-index: 60; top: 18px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px; padding: 7px 7px 7px 22px;
  border-radius: 999px; background: rgba(248, 243, 234, .72);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 0 0 1px rgba(27,22,18,.06), 0 18px 40px -18px rgba(27,22,18,.25);
  transition: transform .8s var(--ease), opacity .6s var(--ease);
}
.nav-island.hide { transform: translate(-50%, -140%); }
.nav-island .brand { display: flex; align-items: center; margin-right: 18px; }
.nav-island .brand img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 10px 14px; border-radius: 999px; color: var(--ink-soft); transition: background .5s var(--ease), color .5s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: rgba(27,22,18,.06); color: var(--ink); }
.nav-links .lang { box-shadow: inset 0 0 0 1px var(--hair); margin-left: 6px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--ink); position: relative; cursor: pointer; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--cream); transition: transform .6s var(--ease), top .6s var(--ease); }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 25px; }
body.menu-open .burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }
@media (max-width: 860px) {
  .nav-island { left: 18px; right: 18px; transform: none; justify-content: space-between; padding-left: 18px; }
  .nav-island.hide { transform: translateY(-140%); }
  .nav-links { display: none; }
  .burger { display: block; }
}
.menu { position: fixed; inset: 0; z-index: 55; background: rgba(18,13,10,.94); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  display: flex; flex-direction: column; justify-content: center; padding: 0 28px; gap: 6px;
  clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease); }
body.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu a { font-family: var(--serif); font-size: 48px; color: var(--cream); transform: translateY(40px); opacity: 0; transition: transform .9s var(--ease), opacity .9s var(--ease); }
body.menu-open .menu a { transform: none; opacity: 1; }
body.menu-open .menu a:nth-child(2) { transition-delay: .06s } body.menu-open .menu a:nth-child(3) { transition-delay: .12s }
body.menu-open .menu a:nth-child(4) { transition-delay: .18s } body.menu-open .menu a:nth-child(5) { transition-delay: .24s }
.menu .small { color: rgba(248,243,234,.5); margin-top: 30px; font-family: var(--sans); font-size: 13px; }

/* ── Boutons : îlot avec pastille ────────────────────────────────────── */
.btn { --bg: var(--ink); --fg: var(--cream); --dot: rgba(248,243,234,.12);
  display: inline-flex; align-items: center; gap: 14px; padding: 8px 8px 8px 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  transition: transform .6s var(--ease), background .6s var(--ease); will-change: transform; }
.btn .dot { width: 40px; height: 40px; border-radius: 999px; background: var(--dot); display: grid; place-items: center; transition: transform .6s var(--ease); }
.btn .dot svg { width: 14px; height: 14px; }
.btn:hover .dot { transform: translate(3px, -2px) scale(1.06); }
.btn:active { transform: scale(.98); }
.btn.light { --bg: rgba(248,243,234,.95); --fg: var(--ink); --dot: rgba(27,22,18,.08); }
.btn.gold { --bg: var(--gold); --fg: #fff; --dot: rgba(255,255,255,.18); }
.btn.ghost { --bg: transparent; --fg: currentColor; --dot: rgba(127,127,127,.14); box-shadow: inset 0 0 0 1px currentColor; }
.btn.soon { opacity: .55; pointer-events: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Ouverture (une fois par visite) ─────────────────────────────────── */
.intro { position: fixed; inset: 0; z-index: 100; background: var(--cream); display: grid; place-items: center; }
.intro svg { width: min(340px, 64vw); height: auto; overflow: visible; }
.intro .tree { fill: transparent; stroke: #C88A33; stroke-width: 6; }
.intro .word { fill: #3B3129; opacity: 0; }
.intro .tagline { position: absolute; bottom: 12vh; left: 0; right: 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--muted); opacity: 0; }
.no-intro .intro { display: none; }

/* ── Héros ───────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--night); padding: 0; }
.hero .media { position: absolute; inset: -6% 0 0 0; }
.hero .media img { width: 100%; height: 106%; object-fit: cover; object-position: center 64%; transform-origin: center 70%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,13,10,.05) 25%, rgba(18,13,10,.35) 60%, rgba(18,13,10,.82) 100%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-bottom: 9vh; padding-top: 22vh; }
.hero .eyebrow { color: var(--gold-2); }
.hero .display { margin: 22px 0 28px; max-width: 1100px; }
.hero .lead { color: rgba(255,255,255,.86); }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-top: 40px; }
.scroll-cue { display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.scroll-cue i { width: 1px; height: 56px; background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.8)); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; right: 0; height: 40%; background: var(--gold-2); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { top: -40% } 100% { top: 100% } }

/* ── Sections ────────────────────────────────────────────────────────── */
section { position: relative; padding: clamp(110px, 14vw, 200px) 0; }
.dark { background: var(--night); color: var(--cream); }
.dark .lead { color: rgba(248,243,234,.72); }
.dark .small { color: rgba(248,243,234,.5); }

/* Phrase qui s'allume au défilement */
.statement p { font-family: var(--serif); font-size: clamp(32px, 4.6vw, 70px); line-height: 1.12; margin: 0; max-width: 1150px; letter-spacing: -.01em; }
.statement .w { opacity: .14; }
.statement .sig { margin-top: 50px; }

/* Les trois portes : galerie horizontale épinglée */
.doors-sec { padding: 0; background: var(--night); color: var(--cream); overflow: hidden; }
.doors-head { position: absolute; top: 12vh; left: 0; right: 0; z-index: 3; pointer-events: none; }
.doors-head .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.doors-count { font-family: var(--serif); font-size: 22px; color: rgba(248,243,234,.6); }
.doors-track { display: flex; gap: 3vw; height: 100dvh; align-items: center; padding: 14vh 8vw 0; width: max-content; will-change: transform; }
.door { position: relative; width: min(78vw, 1100px); height: 62vh; border-radius: 28px; padding: 8px; background: rgba(248,243,234,.06); box-shadow: inset 0 0 0 1px rgba(248,243,234,.08); flex: none; }
.door-core { position: relative; height: 100%; border-radius: 21px; overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr; background: var(--night-2); }
.door-media { position: relative; overflow: hidden; }
.door-media img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.door-media .mascot { position: absolute; z-index: 2; width: 34%; left: 33%; top: 28%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }
.door-media .cover { position: absolute; z-index: 2; width: 40%; left: 30%; top: 14%; border-radius: 3px; box-shadow: 0 50px 80px -20px rgba(0,0,0,.7); transform: rotate(-4deg); }
.door-body { padding: clamp(28px, 4vw, 64px); display: flex; flex-direction: column; justify-content: space-between; }
.door-body .num { font-family: var(--serif); font-size: 18px; color: var(--gold-2); }
.door-body h3 { font-size: clamp(48px, 6vw, 96px); margin: 18px 0 18px; }
.door-body p { color: rgba(248,243,234,.72); font-weight: 300; max-width: 420px; }
.badge { display: inline-flex; align-self: flex-start; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(217,178,110,.5); color: var(--gold-2); }
@media (max-width: 860px) {
  .doors-sec { padding: 120px 0 80px; }
  .doors-head { position: static; margin-bottom: 40px; }
  .doors-track { flex-direction: column; height: auto; width: auto; padding: 0 18px; gap: 18px; transform: none !important; }
  .door { width: 100%; height: auto; }
  .door-core { grid-template-columns: 1fr; }
  .door-media { height: 46vh; }
}

/* Luxia en vedette : conversation qui s'écrit */
.spot { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; }
@media (max-width: 900px) { .spot { grid-template-columns: 1fr; } }
.spot h2 { margin: 22px 0 26px; }
.phone-wrap { position: relative; }
.phone { position: relative; width: min(390px, 100%); margin: 0 auto; border-radius: 46px; padding: 10px; background: linear-gradient(145deg, #2A211B, #0F0B08); box-shadow: 0 60px 120px -40px rgba(27,22,18,.55), inset 0 1px 1px rgba(255,255,255,.12); }
.phone-core { border-radius: 37px; background: var(--cream); padding: 26px 18px 22px; min-height: 560px; display: flex; flex-direction: column; overflow: hidden; }
.phone-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--hair); }
.phone-head img { width: 34px; }
.phone-head b { font-family: var(--serif); font-size: 22px; font-weight: 500; display: block; line-height: 1; }
.phone-head span { font-size: 11px; color: var(--muted); font-style: italic; }
.chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding-top: 18px; }
.msg { max-width: 84%; padding: 12px 15px; border-radius: 18px; font-size: 14px; line-height: 1.5; opacity: 0; transform: translateY(14px); }
.msg.lux { background: #EFE5D7; border-bottom-left-radius: 6px; font-family: var(--serif); font-size: 16.5px; }
.msg.me { background: #4A3326; color: #F8F3EA; align-self: flex-end; border-bottom-right-radius: 6px; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; background: #EFE5D7; border-radius: 18px; border-bottom-left-radius: 6px; align-self: flex-start; opacity: 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s } .typing i:nth-child(3) { animation-delay: .3s }
@keyframes blink { 0%, 60%, 100% { opacity: .25 } 30% { opacity: 1 } }
.orbit { position: absolute; width: 110px; right: 4%; top: -50px; z-index: 2; filter: drop-shadow(0 20px 30px rgba(184,132,58,.35)); }

/* Maisons (B2B) */
.maisons-band .grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 6vw; align-items: end; }
@media (max-width: 900px) { .maisons-band .grid { grid-template-columns: 1fr; } }
.maisons-band h2 { margin: 24px 0 28px; }
.gold-rule { height: 1px; background: linear-gradient(90deg, var(--gold), rgba(184,132,58,0)); margin: 70px 0 0; transform-origin: left; }

/* Valeurs et bandeau défilant */
.marquee { overflow: hidden; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding: 26px 0; }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: marquee 40s linear infinite; font-family: var(--serif); font-size: clamp(34px, 4vw, 60px); font-style: italic; color: var(--ink-soft); }
.marquee-track span::after { content: "✦"; font-style: normal; color: var(--gold); font-size: .4em; margin-left: 60px; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5vw; margin-top: 90px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; gap: 50px; } }
.value .n { font-family: var(--serif); color: var(--gold); font-size: 18px; }
.value h3 { margin: 14px 0 14px; }
.value p { color: var(--ink-soft); margin: 0; font-weight: 300; }

/* Lettre */
.letter { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
@media (max-width: 860px) { .letter { grid-template-columns: 1fr; } }

/* ── Page Luxia ──────────────────────────────────────────────────────── */
.lux-hero { min-height: 100dvh; display: flex; align-items: center; padding: 130px 0 80px; overflow: hidden; }
.lux-hero .grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4vw; align-items: center; }
@media (max-width: 900px) { .lux-hero .grid { grid-template-columns: 1fr; } }
.lux-hero .display { font-size: clamp(56px, 8vw, 132px); margin: 26px 0 28px; }
.halo { position: relative; display: grid; place-items: center; }
.halo::before { content: ""; position: absolute; width: 120%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(217,178,110,.35), rgba(217,178,110,0) 62%); }
.halo img { position: relative; width: min(360px, 74%); filter: drop-shadow(0 40px 50px rgba(184,132,58,.35)); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(27,22,18,.05); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.pill b { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(184,132,58,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(184,132,58,0) } 100% { box-shadow: 0 0 0 0 rgba(184,132,58,0) } }

/* Récit épinglé : le téléphone reste, les écrans changent */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; }
.story-steps .step { min-height: 90vh; display: flex; flex-direction: column; justify-content: center; }
.story-steps h2 { margin: 18px 0 20px; font-size: clamp(38px, 4.6vw, 70px); }
.story-phone { position: sticky; top: 12vh; height: 76vh; display: grid; place-items: center; }
.screen-stack { position: relative; width: min(340px, 90%); aspect-ratio: 9 / 16; border-radius: 40px; padding: 9px; background: linear-gradient(145deg, #2A211B, #0F0B08); box-shadow: 0 60px 120px -40px rgba(27,22,18,.5); }
.screen-stack > img { position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px); object-fit: cover; border-radius: 31px; opacity: 0; transition: opacity 1s var(--ease), transform 1.2s var(--ease); transform: scale(1.04); }
.screen-stack > img.on { opacity: 1; transform: none; }
.story-steps .step img { display: none; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } .story-phone { display: none; } .story-steps .step { min-height: auto; padding: 50px 0; } .story-steps .step img { display: block; width: min(300px, 80%); margin-top: 30px; border-radius: 26px; } }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cell { grid-column: span 2; border-radius: 26px; padding: 7px; background: rgba(27,22,18,.035); box-shadow: inset 0 0 0 1px rgba(27,22,18,.06); }
.cell .core { height: 100%; border-radius: 20px; background: #FFFCF7; padding: 30px; box-shadow: inset 0 1px 1px rgba(255,255,255,.9); }
.cell.wide { grid-column: span 3; }
.cell b { font-family: var(--serif); font-size: 30px; font-weight: 500; display: block; margin-bottom: 8px; line-height: 1.1; }
.cell span { color: var(--muted); font-size: 15px; font-weight: 300; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .cell, .cell.wide { grid-column: span 1; } }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan { border-radius: 30px; padding: 8px; background: rgba(27,22,18,.035); box-shadow: inset 0 0 0 1px rgba(27,22,18,.06); }
.plan .core { border-radius: 23px; background: #FFFCF7; padding: 36px 32px; height: 100%; }
.plan.feat { background: rgba(184,132,58,.2); box-shadow: inset 0 0 0 1px rgba(184,132,58,.4); }
.plan.feat .core { background: var(--night); color: var(--cream); }
.plan .price { font-family: var(--serif); font-size: 64px; line-height: 1; margin: 18px 0 6px; }
.plan .price small { font-family: var(--sans); font-size: 14px; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 26px 0 0; }
.plan li { padding: 9px 0 9px 26px; position: relative; border-top: 1px solid var(--hair); font-weight: 300; font-size: 15px; }
.plan.feat li { border-color: rgba(248,243,234,.1); }
.plan li::before { content: "✦"; position: absolute; left: 0; top: 12px; color: var(--gold); font-size: 11px; }
.trial { color: var(--gold-2); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5vw; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; gap: 40px; } }
.trust b { font-family: var(--serif); font-size: 32px; font-weight: 400; display: block; margin: 16px 0 10px; line-height: 1.1; }
.trust p { margin: 0; color: rgba(248,243,234,.7); font-weight: 300; }

.faq details { border-top: 1px solid var(--hair); padding: 26px 0; }
.faq details:last-child { border-bottom: 1px solid var(--hair); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 36px; height: 36px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--hair); position: relative; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 11px; right: 11px; top: 17.5px; height: 1px; background: var(--ink); }
.faq summary i::after { transform: rotate(90deg); transition: transform .6s var(--ease); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq p { color: var(--ink-soft); font-weight: 300; max-width: 780px; margin: 14px 0 0; }

.video-shell { max-width: 420px; margin: 0 auto; border-radius: 40px; padding: 9px; background: linear-gradient(145deg, #2A211B, #0F0B08); box-shadow: 0 60px 120px -40px rgba(27,22,18,.5); }
.video-shell video { border-radius: 31px; width: 100%; }

/* ── Page Livres ─────────────────────────────────────────────────────── */
.book { display: grid; grid-template-columns: .9fr 1.1fr; gap: 7vw; align-items: center; }
.book + .book { margin-top: 18vh; }
.book.rev .book-3d { order: 2; }
@media (max-width: 900px) { .book { grid-template-columns: 1fr; gap: 50px; } .book.rev .book-3d { order: 0; } }
.book-3d { perspective: 1400px; display: grid; place-items: center; }
.book-3d .obj { position: relative; width: min(380px, 78%); transform-style: preserve-3d; transform: rotateY(-18deg) rotateX(4deg); transition: transform 1.2s var(--ease); }
.book-3d .obj img { border-radius: 2px 6px 6px 2px; box-shadow: 30px 50px 80px -20px rgba(27,22,18,.45); }
.book-3d .obj::before { content: ""; position: absolute; top: 1%; bottom: 1%; left: 100%; width: 22px; background: linear-gradient(90deg, #EDE3D3, #D6C8B2); transform-origin: left; transform: rotateY(90deg); }
.book .sub { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.8vw, 26px); color: var(--muted); margin: 14px 0 24px; line-height: 1.35; }
.book p { font-weight: 300; color: var(--ink-soft); }
.book ul { list-style: none; padding: 0; margin: 26px 0 34px; }
.book li { padding: 10px 0 10px 26px; position: relative; border-top: 1px solid var(--hair); font-weight: 300; }
.book li::before { content: "✦"; position: absolute; left: 0; top: 13px; color: var(--gold); font-size: 11px; }

/* ── Page Maisons ────────────────────────────────────────────────────── */
.m-hero { min-height: 100dvh; display: flex; align-items: center; background: var(--night); color: var(--cream); overflow: hidden; position: relative; padding: 0; }
.m-hero::before { content: ""; position: absolute; width: 90vw; aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(184,132,58,.18), rgba(184,132,58,0) 60%); }
.m-hero .wrap { position: relative; padding-top: 140px; padding-bottom: 100px; }
.m-hero .display { font-size: clamp(54px, 8.6vw, 140px); margin: 28px 0 30px; }
.m-hero .lead { color: rgba(248,243,234,.75); }
.m-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 860px) { .m-grid { grid-template-columns: 1fr; } }
.m-card { border-radius: 28px; padding: 8px; background: rgba(248,243,234,.04); box-shadow: inset 0 0 0 1px rgba(248,243,234,.08); }
.m-card .core { border-radius: 21px; background: var(--night-2); padding: 40px; height: 100%; box-shadow: inset 0 1px 1px rgba(255,255,255,.05); }
.m-card .n { font-family: var(--serif); color: var(--gold-2); font-size: 18px; }
.m-card h3 { margin: 16px 0 14px; }
.m-card p { color: rgba(248,243,234,.68); margin: 0; font-weight: 300; }
.m-step { display: grid; grid-template-columns: 120px 1fr; gap: 30px; padding: 40px 0; border-top: 1px solid var(--hair); }
.m-step:last-child { border-bottom: 1px solid var(--hair); }
.m-step .n { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--gold); }
.m-step h3 { margin-bottom: 10px; }
.m-step p { margin: 0; color: var(--ink-soft); font-weight: 300; max-width: 640px; }
@media (max-width: 700px) { .m-step { grid-template-columns: 1fr; gap: 10px; } }

/* ── Pied de page ────────────────────────────────────────────────────── */
footer { background: var(--night); color: rgba(248,243,234,.65); padding: 120px 0 40px; font-size: 14px; overflow: hidden; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { footer .cols { grid-template-columns: 1fr 1fr; } }
footer .cols img { height: 54px; width: auto; margin-bottom: 18px; }
footer b { color: var(--cream); display: block; margin-bottom: 14px; font-weight: 400; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }
footer a { display: block; padding: 5px 0; transition: color .4s var(--ease); }
footer a:hover { color: var(--gold-2); }
footer .mark { font-family: var(--serif); font-size: clamp(70px, 17vw, 290px); line-height: .8; letter-spacing: -.03em; color: rgba(248,243,234,.06); margin-top: 90px; white-space: nowrap; }
footer .legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; border-top: 1px solid rgba(248,243,234,.1); font-size: 12px; }

/* ── Curseur (ordinateur seulement) ──────────────────────────────────── */
.cursor, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 95; pointer-events: none; border-radius: 50%; }
.cursor { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold); }
.cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; box-shadow: inset 0 0 0 1px rgba(184,132,58,.55); transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .5s var(--ease); display: grid; place-items: center; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.cursor-ring.big { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: rgba(184,132,58,.9); }
@media (hover: none), (max-width: 860px) { .cursor, .cursor-ring { display: none; } }

/* Transition entre les pages */
.veil { position: fixed; inset: 0; z-index: 98; background: var(--night); pointer-events: none; transform: translateY(100%); }

/* Apparition au défilement (pilotée par le script) */
.js [data-reveal] { opacity: 0; }
.reduced [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }

@media (prefers-reduced-motion: reduce) {
  .grain, .marquee-track, .scroll-cue i::after, .pill b { animation: none; }
}

/* ── Pages légales ───────────────────────────────────────────────────── */
.legal-page { padding: 170px 0 120px; }
.legal-page .wrap { max-width: 820px; }
.legal-page h1 { font-size: clamp(44px, 6vw, 84px); margin: 20px 0 40px; }
.legal-page h2 { font-size: clamp(26px, 2.6vw, 36px); margin: 54px 0 14px; }
.legal-page p, .legal-page li { font-weight: 300; color: var(--ink-soft); }
.legal-page a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.legal-page .meta { color: var(--muted); font-style: italic; }

/* ── Témoignages ─────────────────────────────────────────────────────── */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5vw; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; gap: 50px; } }
.quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.22; }
.quote blockquote::before { content: "“"; display: block; color: var(--gold); font-size: 70px; line-height: .6; margin-bottom: 14px; font-style: normal; }
.quote cite { display: block; margin-top: 22px; font-style: normal; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.quote .stars { color: var(--gold); letter-spacing: 3px; font-size: 12px; margin-top: 8px; }

/* ── Écrans de l'app, dessinés en HTML (toujours à jour) ─────────────── */
.scr { position: absolute; inset: 9px; border-radius: 31px; background: #FAF6EF; overflow: hidden; opacity: 0; transform: scale(1.04); transition: opacity 1s var(--ease), transform 1.2s var(--ease); display: flex; flex-direction: column; font-family: var(--sans); color: #1F1A17; }
.scr.on { opacity: 1; transform: none; }
.scr.dark { background: #16100D; color: #F5EDE3; }
.scr .sb { display: flex; justify-content: space-between; padding: 14px 22px 0; font-size: 11px; font-weight: 500; }
.scr .hd { display: flex; align-items: center; gap: 9px; padding: 12px 16px; border-bottom: 1px solid rgba(31,26,23,.08); }
.scr.dark .hd { border-color: rgba(245,237,227,.08); }
.scr .hd .av { width: 30px; height: 30px; border-radius: 50%; background: #F5EDE3; display: grid; place-items: center; }
.scr .hd .av img { width: 22px; }
.scr .hd b { font-size: 14px; display: block; line-height: 1.1; }
.scr .hd i { font-size: 10px; color: #9E8E80; }
.scr .body { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.scr .b-lux { align-self: flex-start; max-width: 86%; background: #EFE5D7; padding: 10px 12px; border-radius: 16px 16px 16px 5px; font-family: var(--serif); font-size: 13.5px; line-height: 1.35; }
.scr.dark .b-lux { background: #2A211B; }
.scr .b-me { align-self: flex-end; max-width: 80%; background: #4A3326; color: #FAF6EF; padding: 10px 12px; border-radius: 16px 16px 5px 16px; font-size: 12px; line-height: 1.4; }
.scr .lbl { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: #B8843A; font-weight: 600; margin-top: 4px; }
.scr .tab { display: flex; justify-content: space-around; align-items: center; padding: 8px 6px 14px; border-top: 1px solid rgba(31,26,23,.08); font-size: 8.5px; color: #9E8E80; text-align: center; }
.scr.dark .tab { border-color: rgba(245,237,227,.08); }
.scr .tab .ctr { width: 40px; height: 40px; border-radius: 50%; background: #F5EDE3; border: 1px solid #B8843A; display: grid; place-items: center; margin-top: -18px; box-shadow: 0 0 0 6px rgba(184,132,58,.1); }
.scr .tab .ctr img { width: 28px; }
.scr .card { background: #FFFDF9; border: 1px solid #E8DDD0; border-radius: 16px; padding: 12px; }
.scr.dark .card { background: #241C17; border-color: #3A2E27; }
.scr .card h6 { margin: 0 0 6px; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: #B8843A; }
.scr .card p { margin: 0; font-size: 11.5px; line-height: 1.45; }
.scr .stats { display: flex; text-align: center; }
.scr .stats div { flex: 1; }
.scr .stats b { display: block; font-size: 18px; color: #D4A55C; font-weight: 500; }
.scr .stats span { white-space: nowrap; font-size: 7px; letter-spacing: .1em; text-transform: uppercase; color: #9C8A7C; }
.scr .gauge { width: 36px; height: 2px; background: #3A2E27; margin: 3px auto; border-radius: 2px; }
.scr .gauge i { display: block; width: 65%; height: 2px; background: #D4A55C; }
.scr .instant { position: relative; border-radius: 16px; overflow: hidden; height: 150px; }
.scr .instant img { width: 100%; height: 100%; object-fit: cover; }
.scr .instant div { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px; background: rgba(20,16,14,.55); color: #FDFAF5; }
.scr .instant small { font-size: 8px; letter-spacing: .2em; text-transform: uppercase; color: #F1D9AE; }
.scr .instant b { display: block; font-family: var(--serif); font-size: 16px; font-weight: 500; }
.scr .logo { width: 110px; margin: 6px auto 0; }
.scr .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.scr .chip { font-size: 10.5px; padding: 6px 10px; border-radius: 999px; background: rgba(184,132,58,.12); color: #8A5F24; }
.scr .chip.on { background: #1F1A17; color: #FAF6EF; }
.scr .act { display: flex; gap: 9px; align-items: center; }
.scr .act .ic { width: 28px; height: 28px; border-radius: 9px; background: rgba(78,112,87,.15); display: grid; place-items: center; font-size: 13px; }
.step .step-screen { display: none; }
@media (max-width: 900px) { .step .step-screen { display: block; position: relative; width: min(300px, 82%); aspect-ratio: 9 / 16; margin-top: 30px; border-radius: 36px; padding: 8px; background: linear-gradient(145deg, #2A211B, #0F0B08); } .step .step-screen .scr { opacity: 1; transform: none; inset: 8px; border-radius: 28px; } }
