/* =====================================================================
   PAGES PUBLIQUES « LUXE » — marque Cerveau d'acier (v2, 02/12/2026).
   Mécanique des grandes pages premium (titres serrés en 2 temps, accent serif italique, bouton brillant,
   scènes 3D en alternance, apparitions au défilement), habillée de NOTRE identité : palette « Énergie bleue »,
   voix « coach de forge ». Règles complètes : CHARTE-VISUELLE.html (racine du projet).
   ===================================================================== */
@font-face { font-family: "Manrope"; font-weight: 400 800; font-style: normal; font-display: swap;
  src: url(../assets/fonts/manrope-latin-var.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400 700; font-style: italic; font-display: swap;
  src: url(../assets/fonts/cormorant-garamond-latin-italic-var.woff2) format("woff2"); }

body.lux {
  --ink: #070b18;                         /* fond (nuit, un cran plus profond) */
  --ink-2: #0b1226;                       /* surfaces */
  --paper: #eef1f7;                       /* texte principal : blanc froid, jamais #fff pur */
  --paper-2: rgba(238, 241, 247, .68);    /* texte secondaire */
  --paper-3: rgba(238, 241, 247, .46);    /* mentions */
  --rule: rgba(143, 203, 255, .14);       /* filets */
  --glace-accent: #8fcbff;                /* 2e ligne des titres (serif italique) */
  --display: "Manrope", "Open Sans", system-ui, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  margin: 0; background: var(--ink); color: var(--paper); font-family: var(--display); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; }
body.lux a { color: var(--glace-accent); }
body.lux ::selection { background: var(--orange); color: #fff; }
body.lux :focus-visible { outline: 2px solid var(--bleu-neon); outline-offset: 3px; }
.reveal-on [data-reveal]:not(.revealed) { opacity: 0; }

/* fond : lueurs du studio (bleu électrique / corail) + grain */
.lux-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55vw 45vw at 88% -5%, rgba(29, 111, 232, .30), transparent 62%),
    radial-gradient(40vw 40vw at -5% 28%, rgba(255, 79, 109, .10), transparent 60%),
    radial-gradient(60vw 40vw at 50% 110%, rgba(29, 111, 232, .14), transparent 60%),
    var(--ink); }
.lux-bg::after { content: ""; position: absolute; inset: 0; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- navigation ---------- */
.lux-nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px clamp(18px, 4vw, 56px); background: rgba(7, 11, 24, .7); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule); }
.lux-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.lux-brand svg { width: 34px; height: 34px; }
.lux-brand .wm { display: grid; line-height: 1.05; }
.lux-brand .wm b { color: var(--paper); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; font-size: .88rem; }
.lux-brand .wm i { color: var(--paper-3); font-family: var(--serif); font-size: .92rem; letter-spacing: .02em; }
.lux-nav .nav-links { display: flex; align-items: center; gap: 26px; }
.lux-nav .nav-links a { color: var(--paper-2); text-decoration: none; font-weight: 600; font-size: .88rem; }
.lux-nav .nav-links a:hover { color: var(--paper); }
.lux-nav .nav-links a.pill { white-space: nowrap; border: 1px solid rgba(238, 241, 247, .22); border-radius: 12px; padding: 9px 16px; color: var(--paper); }
.lux-nav .nav-links a.pill:hover { border-color: var(--bleu-neon); }
@media (max-width: 720px) { .lux-nav .nav-links a:not(.pill) { display: none; } .lux-brand .wm i { display: none; } }

/* ---------- boutons : brillants, orange = l'action ---------- */
.lux-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 18px;
  font: inherit; font-weight: 700; font-size: 1rem; letter-spacing: -.01em; text-decoration: none; cursor: pointer; border: 0;
  transition: transform .18s ease, filter .18s ease, box-shadow .25s ease; }
.lux-btn.primary { color: #fff; background: linear-gradient(180deg, #ff7a45 0%, #f0561c 48%, var(--orange-fonce) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 236, 225, .55), inset 0 -2px 0 rgba(80, 20, 0, .28), 0 14px 34px -10px rgba(255, 90, 31, .6); }
.lux-btn.primary:hover { transform: translateY(-2px); filter: brightness(1.06); }
.lux-btn.primary:active { transform: translateY(0); }
.lux-btn.ghost { color: var(--paper); background: rgba(238, 241, 247, .04); box-shadow: inset 0 0 0 1px rgba(238, 241, 247, .22); }
.lux-btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--bleu-neon); background: rgba(67, 176, 255, .06); }
.lux-btn.paypal { background: #ffc439; color: #111; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -2px 0 rgba(0, 0, 0, .15); }
.lux-btn.paypal:hover { filter: brightness(1.04); }
.lux-btn.block { display: flex; width: 100%; }
.lux-btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.lux-btn .arrow { transition: transform .18s; }
.lux-btn:hover .arrow { transform: translateX(3px); }

/* ---------- typographie de marque ---------- */
.kicker { display: inline-block; color: var(--bleu-neon); font-size: .74rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 99px; font-size: .86rem; font-weight: 600; color: var(--paper);
  border: 1px solid rgba(143, 203, 255, .28); background: rgba(29, 111, 232, .10); }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.display { margin: 0; color: var(--paper); font-weight: 700; letter-spacing: -.055em; line-height: 1.02; }
.display .l2 { display: block; font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; color: var(--glace-accent); line-height: 1.05; }
.lead { color: var(--paper-2); font-size: clamp(1.05rem, 2.1vw, 1.22rem); line-height: 1.6; }

/* ---------- héros ---------- */
.lux-hero { max-width: 1180px; margin: 0 auto; padding: clamp(56px, 11vh, 128px) clamp(20px, 4vw, 48px) 40px; text-align: center; }
.lux-hero .display { margin: 26px auto 24px; max-width: 980px; font-size: clamp(2.7rem, 8vw, 5.6rem); }
.lux-hero .display .l2 { font-size: 1.08em; }
.lux-hero .lead { margin: 0 auto 34px; max-width: 640px; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 760px; margin: 56px auto 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.pillars div { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 20px 12px; text-align: left; color: var(--paper-2); font-size: .92rem; line-height: 1.35; }
.pillars div + div { border-left: 1px solid var(--rule); }
.pillars svg { width: 26px; height: 26px; flex: none; stroke: var(--bleu-neon); fill: none; stroke-width: 1.6; }
@media (max-width: 640px) { .pillars { grid-template-columns: 1fr; } .pillars div + div { border-left: 0; border-top: 1px solid var(--rule); } .pillars div { justify-content: flex-start; padding-left: 8px; } }

/* ---------- sections ---------- */
.lux-section { max-width: 1160px; margin: 0 auto; padding: clamp(72px, 12vh, 128px) clamp(20px, 4vw, 48px) 0; }
.section-intro { text-align: center; max-width: 820px; margin: 0 auto 56px; }
.section-intro .display { margin-top: 16px; font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
.section-intro .lead { margin: 20px auto 0; max-width: 620px; }

/* scènes en alternance (image / texte) */
.story { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: center; margin-bottom: clamp(56px, 10vh, 110px); }
.story.reverse .scene { order: 2; }
.scene { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 5 / 4; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px var(--rule); }
.scene img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); }
.scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7, 11, 24, .75)); }
.scene .tags { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 1; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.scene .tags span { font-size: .78rem; font-weight: 600; color: var(--paper); padding: 6px 12px; border-radius: 10px; background: rgba(7, 11, 24, .6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(238, 241, 247, .16); }
.story-text .kicker { margin-bottom: 14px; }
.story-text .display { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 20px; }
.story-text p { color: var(--paper-2); font-size: 1.05rem; line-height: 1.7; margin: 0 0 16px; max-width: 470px; }
.story-text .note { border-left: 2px solid var(--orange); padding-left: 16px; color: var(--paper-3); font-size: .95rem; }
@media (max-width: 820px) { .story { grid-template-columns: 1fr; } .story.reverse .scene { order: 0; } }

/* inclus : lignes avec filet qui se trace */
.inclusions { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; border-top: 1px solid var(--rule); }
.inclusions li { position: relative; display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 12px; padding: 24px 6px; border-bottom: 1px solid var(--rule);
  color: var(--paper); font-size: clamp(1.05rem, 2.2vw, 1.3rem); font-weight: 600; letter-spacing: -.02em; }
.inclusions li b { color: var(--orange); font-size: .82rem; font-weight: 700; letter-spacing: .16em; }
.reveal-line { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--orange); transform-origin: left center; pointer-events: none; }

/* programme (accordéon) */
body.lux .curr { max-width: 900px; margin: 0 auto; }
body.lux .curr .module { margin-bottom: 10px; border-radius: 16px; overflow: hidden; border: 1px solid var(--rule); background: rgba(11, 18, 38, .6); }
body.lux .curr .module-bar { background: transparent; color: var(--paper); padding: 20px 24px; min-height: 64px; letter-spacing: .06em; font-weight: 700; font-family: var(--display); border: 0; border-radius: 0; box-shadow: none; }
body.lux .curr .module-bar:hover { background: rgba(29, 111, 232, .08); }
body.lux .curr .m-count { background: rgba(143, 203, 255, .12); color: var(--glace-accent); }
body.lux .curr .m-chevron { color: var(--orange); width: auto; height: auto; border: 0; font-size: 1.2rem; }
body.lux .curr .lessons { background: transparent; box-shadow: none; border-radius: 0; }
body.lux .curr .lesson { color: var(--paper-2); border-top: 1px solid rgba(143, 203, 255, .07); padding: 14px 24px 14px 50px; position: relative; min-height: 0; font-size: .98rem; }
body.lux .curr .lesson::before { content: ""; position: absolute; left: 26px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--bleu-neon); opacity: .7; }

/* offre */
.offer { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.offer-visual { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 0 0 1px var(--rule), 0 40px 80px -30px rgba(0, 0, 0, .8); }
.offer-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.offer-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7, 11, 24, .9)); }
.offer-visual .seal { z-index: 1; position: absolute; left: 24px; bottom: 24px; right: 24px; color: var(--paper); }
.offer-visual .seal b { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.04em; }
.offer-visual .seal i { font-family: var(--serif); color: var(--glace-accent); font-size: 1.3rem; }
@media (max-width: 820px) { .offer { grid-template-columns: 1fr; } .offer-visual { aspect-ratio: 16 / 10; } }
body.lux .buybox { position: relative; padding: 36px 32px 30px; border-radius: 24px; text-align: left; color: var(--paper); max-width: none; margin: 0;
  background: linear-gradient(180deg, rgba(15, 29, 74, .85), rgba(11, 18, 38, .92)); border: 0; box-shadow: 0 0 0 1px rgba(143, 203, 255, .2), 0 30px 80px -20px rgba(0, 0, 0, .7), 0 0 90px -20px rgba(29, 111, 232, .45); }
.buy-label { color: var(--bleu-neon); font-size: .74rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; }
body.lux .price { margin: 12px 0 2px; color: var(--paper); font-size: clamp(3.2rem, 8vw, 4.4rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.price-sub { color: var(--paper-3); font-size: .92rem; margin-bottom: 22px; }
body.lux .buybox ul { list-style: none; margin: 0 0 26px; padding: 22px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 12px; }
body.lux .buybox li { position: relative; padding-left: 32px; color: var(--paper-2); }
body.lux .buybox li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 14px; height: 8px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
body.lux .buybox .lux-btn + .lux-btn { margin-top: 10px; }
.secure { margin: 16px 0 0; color: var(--paper-3); font-size: .84rem; }
body.lux .alert.info { background: rgba(29, 111, 232, .12); border: 1px solid rgba(143, 203, 255, .3); color: var(--paper); max-width: 900px; margin: 24px auto 0; }
body.lux .alert.err { background: rgba(255, 79, 109, .12); border: 1px solid rgba(255, 79, 109, .45); color: #ffd6dd; }
body.lux .alert.ok { background: rgba(47, 160, 110, .14); border: 1px solid rgba(80, 200, 140, .4); color: #d4f5e4; }

/* appel final */
.final { text-align: center; padding: clamp(80px, 14vh, 150px) 20px; }
.final .display { font-size: clamp(2.2rem, 6vw, 4rem); margin: 18px auto 30px; max-width: 860px; }

/* pied de page */
.lux-foot { border-top: 1px solid var(--rule); }
.lux-foot .in { max-width: 1160px; margin: 0 auto; padding: 36px clamp(20px, 4vw, 48px) 48px; display: grid; gap: 18px; color: var(--paper-3); font-size: .82rem; line-height: 1.6; }
.lux-foot .sig { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--paper-2); }

/* ---------- pages de compte ---------- */
.auth-wrap { min-height: calc(100vh - 70px); display: grid; place-items: center; padding: 40px 18px 64px; }
body.lux .card-form { width: 100%; max-width: 440px; margin: 0; padding: 40px 32px 30px; border-radius: 24px; color: var(--paper); font-family: var(--display);
  background: linear-gradient(180deg, rgba(15, 29, 74, .78), rgba(11, 18, 38, .9)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 0; box-shadow: 0 0 0 1px rgba(143, 203, 255, .2), 0 30px 80px -20px rgba(0, 0, 0, .7), 0 0 90px -30px rgba(29, 111, 232, .5); }
body.lux .card-form .eyebrow { display: block; text-align: center; color: var(--bleu-neon); font-size: .74rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; margin-bottom: 12px; }
body.lux .card-form h1 { margin: 0 0 10px; text-align: center; color: var(--paper); font-size: 2rem; font-weight: 700; letter-spacing: -.05em; line-height: 1.05; }
body.lux .card-form h1 .l2 { display: block; font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: 0; color: var(--glace-accent); font-size: 1.05em; }
body.lux .card-form .muted, body.lux .card-form p { color: var(--paper-2); }
body.lux .card-form label { color: var(--paper-2); font-weight: 600; font-size: .86rem; margin-top: 16px; }
body.lux .card-form input { background: rgba(7, 11, 24, .65); color: var(--paper); border: 1px solid rgba(143, 203, 255, .2); border-radius: 14px; min-height: 54px; padding: 12px 16px; font: inherit; transition: border-color .2s, box-shadow .2s; }
body.lux .card-form input:focus { outline: none; border-color: var(--bleu-neon); box-shadow: 0 0 0 4px rgba(67, 176, 255, .15); }
body.lux .card-form .btn { width: 100%; min-height: 56px; border-radius: 18px; margin-top: 24px; font-weight: 700; font-family: var(--display); color: #fff;
  background: linear-gradient(180deg, #ff7a45 0%, #f0561c 48%, var(--orange-fonce) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 236, 225, .55), inset 0 -2px 0 rgba(80, 20, 0, .28), 0 14px 34px -10px rgba(255, 90, 31, .6); }
body.lux .card-form .btn:hover { filter: brightness(1.06); }
body.lux .card-form .alt { color: var(--paper-2); }
body.lux .card-form .alt a { color: var(--glace-accent); font-weight: 600; text-decoration: none; }
body.lux .card-form .alt a:hover { text-decoration: underline; }
body.lux .spinner { border-color: rgba(143, 203, 255, .2); border-top-color: var(--orange); }

@media (prefers-reduced-motion: reduce) { body.lux * { transition: none !important; } }
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .lux-btn { padding: 0 20px; }
  .chip { font-size: .8rem; padding: 7px 14px; }
}

/* « Tu te reconnais ? » + deux portes (veille 02/12 : douleurs à la 1re personne, tri par objectif) */
.pains { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; display: grid; gap: 12px; }
.pains li { position: relative; padding: 20px 24px; border-radius: 16px; background: rgba(11, 18, 38, .6); border: 1px solid var(--rule);
  color: var(--paper); font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.6vw, 1.5rem); line-height: 1.35; }
.pains-answer { max-width: 680px; margin: 36px auto 0; text-align: center; color: var(--paper); font-size: clamp(1.1rem, 2.4vw, 1.35rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.5; }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 820px; margin: 40px auto 0; }
.door { display: grid; gap: 6px; padding: 24px; border-radius: 18px; text-decoration: none; background: linear-gradient(180deg, rgba(15, 29, 74, .7), rgba(11, 18, 38, .8));
  border: 1px solid rgba(143, 203, 255, .2); transition: border-color .2s, transform .2s; }
.door:hover { border-color: var(--orange); transform: translateY(-2px); }
.door b { color: var(--paper); font-size: clamp(1.3rem, 3vw, 1.7rem); letter-spacing: -.04em; }
.door i { color: var(--glace-accent); font-family: var(--serif); font-size: 1.1rem; }
@media (max-width: 560px) { .doors { grid-template-columns: 1fr; } }
.mid-cta { text-align: center; margin: -20px 0 0; }

/* garantie 14 jours — remboursement total (dit par le propriétaire le 02/12) */
.guarantee { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; max-width: 900px; margin: 48px auto 0; padding: 28px 32px;
  border-radius: 22px; background: rgba(11, 18, 38, .6); border: 1px solid var(--rule); }
.seal-14 { width: 112px; height: 112px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, #ff8a55, var(--orange-fonce) 70%); box-shadow: inset 0 2px 0 rgba(255, 236, 225, .5), 0 0 0 6px rgba(255, 90, 31, .15), 0 16px 40px -12px rgba(255, 90, 31, .6); }
.seal-14 b { color: #fff; font-size: 2.6rem; font-weight: 800; letter-spacing: -.06em; line-height: .9; }
.seal-14 span { color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.guarantee h3 { margin: 8px 0 10px; color: var(--paper); font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.1; }
.guarantee h3 span { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: 0; color: var(--glace-accent); }
.guarantee p { margin: 0; color: var(--paper-2); line-height: 1.65; }
@media (max-width: 560px) { .guarantee { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 26px 20px; } }
