/* ==========================================================
   AMANA'CREATOR · SYSTÈME DE DESIGN
   3 couleurs : marine, or, ivoire. Titres en Coolvetica.
   ========================================================== */
@font-face {
  font-family: "Coolvetica";
  src: url("fonts/Coolvetica-Rg.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #0A1424;          /* fond : marine nuit */
  --navy: #1B365D;         /* marine de marque */
  --navy-2: #12233C;
  --gold: #D4A64A;         /* or laiton */
  --gold-hi: #EBC877;
  --ivory: #F4EEE2;        /* ivoire */
  --on-gold: #0A1424;
  --fg-2: rgba(244, 238, 226, .74);
  --fg-3: rgba(244, 238, 226, .52);
  --line: rgba(244, 238, 226, .12);
  --glass: rgba(244, 238, 226, .045);
  --glass-hi: rgba(244, 238, 226, .12);
  --glass-edge: rgba(244, 238, 226, .18);
  --f-head: "Coolvetica", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
  --r: 22px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
.hero { overflow-x: clip; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--on-gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, .h-display {
  font-family: var(--f-head);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: .005em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 4.9rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.15; }
p { margin: 0; }
.gold { color: var(--gold); }
.muted { color: var(--fg-2); }
.micro { font-size: .86rem; color: var(--fg-3); }
.ph { /* contenu à compléter : très visible exprès */
  display: inline-block; padding: 1px 8px; border-radius: 6px;
  background: rgba(212, 166, 74, .16); border: 1px dashed var(--gold);
  color: var(--gold-hi); font-size: .78em; font-family: var(--f-body); font-weight: 600;
  letter-spacing: 0; line-height: 1.5; vertical-align: middle;
}

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 112px); position: relative; }
.eyebrow {
  font-family: var(--f-body); font-weight: 700; font-size: .76rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.sec-head { max-width: 760px; display: grid; gap: 18px; margin-bottom: 48px; }
.sec-head p { color: var(--fg-2); font-size: 1.08rem; }
.center { text-align: center; margin-inline: auto; justify-items: center; }

/* ---------- fond : halos marine et or qui dérivent ---------- */
.aura { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aura i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; }
.aura i:nth-child(1) { width: 52vmax; height: 52vmax; left: -16vmax; top: -18vmax; background: var(--navy); opacity: .8; animation: drift1 28s ease-in-out infinite alternate; }
.aura i:nth-child(2) { width: 30vmax; height: 30vmax; right: -10vmax; top: 28vh; background: var(--gold); opacity: .13; animation: drift2 34s ease-in-out infinite alternate; }
.aura i:nth-child(3) { width: 36vmax; height: 36vmax; left: 25vw; bottom: -22vmax; background: #24497a; opacity: .45; animation: drift3 40s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(16vmax, 20vmax) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-20vmax, -8vmax) scale(.9); } }
@keyframes drift3 { to { transform: translate(-12vmax, -18vmax) scale(1.12); } }
.grain { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .05;
  background-image: radial-gradient(rgba(244,238,226,.9) .6px, transparent .6px); background-size: 4px 4px; }

/* ---------- verre ---------- */
.glass {
  position: relative; isolation: isolate; border-radius: var(--r);
  background: linear-gradient(145deg, var(--glass-hi), var(--glass) 45%, rgba(244,238,226,.02));
  border: 1px solid var(--glass-edge);
  backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(244,238,226,.18), 0 24px 60px -30px rgba(0,0,0,.7);
}
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 30%) var(--my, 0%), rgba(212,166,74,.14), transparent 60%);
}

/* ---------- boutons ---------- */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-head); font-size: 1.05rem; letter-spacing: .02em; text-decoration: none;
  padding: 16px 28px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s, box-shadow .25s, background .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--on-gold); box-shadow: 0 12px 34px -12px rgba(212,166,74,.7), inset 0 1px 0 rgba(255,255,255,.45); }
.btn-gold::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 38%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.6), transparent);
  transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 72% { left: -60%; } 100% { left: 130%; } }
.btn-glass { color: var(--ivory); background: rgba(244,238,226,.06); border-color: var(--glass-edge); backdrop-filter: blur(12px); box-shadow: inset 0 1px 0 rgba(244,238,226,.25); }
.btn-glass:hover { background: rgba(244,238,226,.11); }
.btn-ink { background: var(--ink); color: var(--ivory); }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { margin-top: 14px; font-size: .88rem; color: var(--fg-3); }

/* ---------- menu ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding-inline: 12px; }
.nav-in {
  width: min(var(--wrap), 100%); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 18px; border-radius: 999px;
}
.nav-in.glass { background-color: rgba(10, 20, 36, .72); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo b { font-family: var(--f-head); font-weight: 400; font-size: 1.22rem; letter-spacing: .01em; }
.logo small { display: block; font-size: .58rem; letter-spacing: .24em; text-transform: uppercase; color: var(--fg-3); margin-top: -2px; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.nav ul a { text-decoration: none; color: var(--fg-2); transition: color .2s; }
.nav ul a:hover { color: var(--gold); }
.nav .btn { padding: 11px 20px; font-size: .95rem; white-space: nowrap; }
@media (max-width: 900px) { .nav ul { display: none; } }
@media (max-width: 420px) { .logo small { display: none; } .nav .btn { padding: 10px 14px; font-size: .86rem; } }

/* ---------- hero ---------- */
.hero { padding-top: clamp(130px, 16vw, 170px); padding-bottom: clamp(60px, 8vw, 90px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; animation: lineUp 1s cubic-bezier(.2,.8,.2,1) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
.intro-done .hero h1 .line > span { animation: none; } /* filet de sécurité si l'animation ne tourne pas */
.lead { font-size: clamp(1.05rem, 1.6vw, 1.18rem); color: var(--fg-2); max-width: 600px; margin-bottom: 32px; }
.lead b { color: var(--ivory); font-weight: 600; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.pill { font-size: .82rem; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(244,238,226,.04); color: var(--fg-2); }
.pill b { color: var(--gold); font-weight: 600; }
.stats-inline { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 30px; }
.stats-inline div { display: grid; }
.stats-inline b { font-family: var(--f-head); font-weight: 400; font-size: 2rem; color: var(--gold); line-height: 1; }
.stats-inline span { font-size: .82rem; color: var(--fg-3); text-transform: uppercase; letter-spacing: .12em; margin-top: 6px; }

.portrait { position: relative; aspect-ratio: 1 / 1.06; max-width: 500px; justify-self: end; width: 100%; }
.portrait .rose { position: absolute; inset: -9%; opacity: .55; animation: spin 90s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.portrait .frame { position: absolute; inset: 0; border-radius: 28px; overflow: hidden; padding: 8px; }
.portrait .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; border-radius: 22px; }
.portrait .frame::after { content: ""; position: absolute; inset: 8px; border-radius: 22px; background: linear-gradient(180deg, transparent 50%, rgba(10,20,36,.85)); pointer-events: none; }
.portrait .caption { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.portrait .caption b { font-family: var(--f-head); font-weight: 400; font-size: 1.35rem; display: block; }
.portrait .caption small { color: var(--fg-2); font-size: .82rem; }
.portrait .caption em { font-style: normal; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); text-align: right; max-width: 120px; line-height: 1.4; }
.badge { position: absolute; z-index: 3; padding: 11px 15px; border-radius: 16px; display: grid; gap: 1px; animation: float 8s ease-in-out infinite; }
.badge b { font-family: var(--f-head); font-weight: 400; font-size: 1.3rem; color: var(--gold); line-height: 1.1; }
.badge small { font-size: .74rem; color: var(--fg-2); }
.badge.b1 { top: 7%; left: -7%; animation-delay: -2s; }
.badge.b2 { top: 40%; right: -6%; animation-delay: -5s; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portrait { justify-self: center; max-width: 420px; margin-top: 18px; }
  .badge.b1 { left: 0; } .badge.b2 { right: 0; }
}

/* ---------- bandeau défilant ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 18px; background: rgba(10,20,36,.5); }
.marquee .track { display: flex; width: max-content; animation: marq 42s linear infinite; }
.marquee span { font-family: var(--f-head); font-size: clamp(1.1rem, 2.2vw, 1.55rem); white-space: nowrap; padding-inline: 26px; display: inline-flex; align-items: center; gap: 26px; }
.marquee span::after { content: ""; width: 9px; height: 9px; transform: rotate(45deg); background: var(--gold); }
.marquee span:nth-child(2n) { color: var(--gold-hi); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- grilles & cartes ---------- */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { padding: 28px; display: grid; gap: 12px; align-content: start; }
.card .k { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.card p { color: var(--fg-2); }
.card h3 { margin-bottom: 2px; }

/* douleur */
.pains { list-style: none; padding: 0; margin: 0 0 40px; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 820px) { .pains { grid-template-columns: 1fr; } }
.pains li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 16px 18px; border-radius: 16px; background: rgba(244,238,226,.035); border: 1px solid var(--line); color: var(--fg-2); transition: border-color .3s, background .3s; }
.pains li:hover { border-color: rgba(212,166,74,.5); background: rgba(212,166,74,.06); }
.pains li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; border: 1.5px solid var(--gold); background: radial-gradient(circle, var(--gold) 0 3px, transparent 3.5px); }
.punch { font-family: var(--f-head); font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.12; max-width: 820px; }
.draw { background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 92% / 0% 4px; transition: background-size 1.2s .3s cubic-bezier(.2,.8,.2,1); padding-bottom: 2px; }
.in .draw, .draw.in { background-size: 100% 4px; }

/* ennemi : rupture or */
.enemy { background: var(--gold); color: var(--on-gold); overflow: hidden; }
.enemy .eyebrow { color: var(--on-gold); }
.enemy .sec-head p { color: rgba(10,20,36,.78); }
.enemy .rose-bg { position: absolute; right: -8%; top: -10%; width: 520px; opacity: .08; pointer-events: none; }
.face { padding: 28px; border-radius: 22px; display: grid; gap: 10px; align-content: start; background: rgba(10,20,36,.92); color: var(--ivory); box-shadow: 0 20px 40px -20px rgba(10,20,36,.6); }
.face .k { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.face p { color: var(--fg-2); }

/* comparatif */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 820px) { .compare { grid-template-columns: 1fr; } }
.compare .col { padding: 30px; border-radius: 24px; display: grid; gap: 16px; align-content: start; }
.compare .col.old { border: 1px solid var(--line); background: rgba(244,238,226,.025); }
.compare .col.new { border: 1px solid rgba(212,166,74,.55); background: linear-gradient(160deg, rgba(212,166,74,.14), rgba(27,54,93,.35)); }
.compare h3 small { display: block; font-family: var(--f-body); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 8px; }
.compare ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.compare li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--fg-2); }
.compare .old li::before { content: "✕"; color: var(--fg-3); font-weight: 700; }
.compare .new li::before { content: "✓"; color: var(--gold); font-weight: 700; }
.compare .new li { color: var(--ivory); }

/* méthode */
.phase { padding: 30px 26px; border-radius: 26px; display: grid; gap: 14px; align-content: start; transition: transform .25s, border-color .3s; }
.phase:hover { transform: translateY(-4px); border-color: rgba(212,166,74,.5); }
.phase .num { font-family: var(--f-head); font-size: 5rem; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--gold); transition: color .4s; }
.phase:hover .num { color: var(--gold); }
.phase .mods { display: grid; gap: 6px; padding: 12px 0; border-block: 1px solid var(--line); font-size: .9rem; color: var(--fg-2); }
.phase .mods span::before { content: "Module "; color: var(--fg-3); }
.phase ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .94rem; }
.phase li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; }
.phase li::before { content: ""; width: 8px; height: 8px; margin-top: 8px; transform: rotate(45deg); background: var(--gold); }

/* pourquoi moi */
.why { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } }
.why .story { display: grid; gap: 18px; color: var(--fg-2); font-size: 1.06rem; }
.why .story b { color: var(--ivory); font-weight: 600; }
.proof { display: grid; gap: 14px; }
.proof .glass { padding: 22px 24px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.proof b { font-family: var(--f-head); font-weight: 400; font-size: 2.3rem; color: var(--gold); line-height: 1; min-width: 92px; }
.proof span { color: var(--fg-2); font-size: .95rem; }
.link-arrow { color: var(--gold); text-decoration: none; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow:hover { text-decoration: underline; }

/* parcours : rupture ivoire */
.program { background: var(--ivory); color: var(--ink); }
.program .eyebrow { color: var(--navy); }
.program .sec-head p { color: rgba(10,20,36,.72); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr; } }
.timeline .bar { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: rgba(10,20,36,.12); overflow: hidden; position: relative; margin-bottom: 8px; }
.timeline .bar i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy), var(--gold)); transform-origin: left; transform: scaleX(0); transition: transform 1.8s cubic-bezier(.2,.8,.2,1); }
.timeline.in .bar i { transform: scaleX(1); }
.step { padding: 24px; border-radius: 20px; background: #fff; border: 1px solid rgba(10,20,36,.08); display: grid; gap: 8px; align-content: start; box-shadow: 0 18px 40px -28px rgba(10,20,36,.5); }
.step .when { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }
.step h3 { color: var(--ink); }
.step p { color: rgba(10,20,36,.72); font-size: .95rem; }
.step:last-of-type { background: var(--navy); color: var(--ivory); }
.step:last-of-type h3 { color: var(--gold); }
.step:last-of-type .when { color: var(--gold-hi); }
.step:last-of-type p { color: rgba(244,238,226,.8); }
.program .note { margin-top: 30px; padding: 18px 22px; border-radius: 16px; background: rgba(27,54,93,.08); color: rgba(10,20,36,.8); }
.program .ph { color: #7a5a12; background: rgba(212,166,74,.22); border-color: #a77f25; }

/* garantie */
.guar { padding: 34px; border-radius: 26px; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
@media (max-width: 600px) { .guar { grid-template-columns: 1fr; } }
.guar .big { font-family: var(--f-head); font-size: 4.6rem; line-height: .85; color: var(--gold); }
.legal { max-width: 860px; display: grid; gap: 14px; color: var(--fg-2); }
.legal h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); color: var(--ivory); margin-top: 22px; }
.legal ul { display: grid; gap: 8px; padding-left: 20px; }
.legal b { color: var(--ivory); }
.legal a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .9rem; display: block; overflow-x: auto; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); min-width: 140px; }
.legal-table th { color: var(--gold); font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.cond { margin-top: 18px; padding: 30px 34px; border-radius: 26px; display: grid; gap: 14px; }
.cond ol { display: grid; gap: 10px; padding-left: 22px; color: var(--fg-2); }
.cond ol li::marker { color: var(--gold); font-family: var(--f-head); }
.cond ol b { color: var(--ivory); }
@media (max-width: 600px) { .cond { padding: 24px 22px; } }
.guar .big small { display: block; font-size: .9rem; letter-spacing: .2em; color: var(--fg-3); font-family: var(--f-body); margin-top: 10px; }

/* pour qui */
.profiles { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.profiles span { padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(212,166,74,.45); color: var(--ivory); font-size: .92rem; background: rgba(212,166,74,.07); }
.fit { padding: 30px; border-radius: 24px; display: grid; gap: 14px; align-content: start; }
.fit ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.fit li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; color: var(--fg-2); }
.fit.yes li::before { content: "✓"; color: var(--gold); font-weight: 700; }
.fit.no li::before { content: "✕"; color: var(--fg-3); font-weight: 700; }

/* appel */
.book { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
@media (max-width: 980px) { .book { grid-template-columns: 1fr; } }
.book-steps { display: grid; gap: 14px; }
.book-steps .glass { padding: 22px 24px; display: grid; grid-template-columns: 52px 1fr; gap: 14px; }
.book-steps .n { font-family: var(--f-head); font-size: 2.2rem; color: var(--gold); line-height: 1; }
.book-steps p { color: var(--fg-2); font-size: .95rem; }
.cal { border-radius: 26px; overflow: hidden; }
.cal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: .88rem; color: var(--fg-2); }
.cal-head .live { display: inline-flex; align-items: center; gap: 10px; color: var(--ivory); font-weight: 600; }
.cal-head .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(212,166,74,.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(212,166,74,0); } }
.cal-body iframe { width: 100%; height: 690px; border: 0; display: block; background: var(--ink); }
.cal-inline { width: 100%; min-height: 640px; overflow: auto; }
.cal-alt { padding: 12px 22px 16px; border-top: 1px solid var(--line); color: var(--fg-3); }
.cal-alt a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
.cal-empty { padding: 40px 28px; display: grid; gap: 16px; justify-items: start; min-height: 420px; align-content: center; }
.cal-empty .slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; margin: 6px 0 10px; }
.cal-empty .slots span { padding: 12px; border-radius: 12px; border: 1px dashed var(--line); color: var(--fg-3); text-align: center; font-size: .85rem; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border-radius: 18px; border: 1px solid var(--line); background: rgba(244,238,226,.03); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(212,166,74,.45); background: rgba(212,166,74,.05); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; gap: 16px; font-family: var(--f-head); font-size: 1.18rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; line-height: 1; transition: transform .3s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 24px 22px; color: var(--fg-2); display: grid; gap: 10px; }
.faq-list { display: grid; gap: 8px; padding-left: 20px; }
.faq-list b, .faq details a { color: var(--ivory); }
.faq details a { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* ressources (cartes) */
.res { padding: 28px; border-radius: 26px; display: grid; gap: 16px; align-content: start; }
.res .ill { aspect-ratio: 16 / 9; border-radius: 18px; border: 1px solid var(--line); background: radial-gradient(120% 90% at 50% 0%, rgba(27,54,93,.85), rgba(10,20,36,.9)); display: grid; place-items: center; overflow: hidden; }
.res .ill svg { width: 86%; height: auto; }
.res .if { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.res h2, .res h3 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.res p { color: var(--fg-2); }
.res-row { grid-template-columns: 1fr auto; align-items: center; gap: 28px; }
@media (max-width: 760px) { .res-row { grid-template-columns: 1fr; } }
.nums { display: flex; gap: 10px; flex-wrap: wrap; }
.nums span { padding: 7px 12px; border-radius: 10px; background: rgba(244,238,226,.05); border: 1px solid var(--line); font-size: .84rem; color: var(--fg-2); }
.nums b { color: var(--ivory); font-weight: 600; }

/* chapitres */
.chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: ch; }
.chapters li { display: grid; grid-template-columns: 74px 1fr; gap: 16px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(244,238,226,.03); align-items: baseline; }
.chapters li.key { border-color: rgba(212,166,74,.45); background: rgba(212,166,74,.06); }
.chapters time { font-family: var(--f-head); color: var(--gold); font-size: 1.1rem; }
.chapters span { color: var(--fg-2); }
.chapters li.key span { color: var(--ivory); }

/* vidéo + pack */
.watch { display: grid; grid-template-columns: 1.35fr .65fr; gap: 22px; align-items: start; }
@media (max-width: 980px) { .watch { grid-template-columns: 1fr; } }
.video { border-radius: 24px; overflow: hidden; padding: 8px; }
.video .ratio { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--navy-2); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .poster { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; background: linear-gradient(180deg, rgba(10,20,36,.35), rgba(10,20,36,.85)), url("img/studio.webp") center / cover; }
.video .play { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--on-gold); margin: 0 auto 14px; box-shadow: 0 0 0 10px rgba(212,166,74,.2); }
.gate { padding: 26px; border-radius: 24px; display: grid; gap: 14px; }
.gate .list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; color: var(--fg-2); }
.gate .list li { position: relative; padding-left: 22px; }
.gate .list li::before { content: "◆"; color: var(--gold); font-size: .7rem; position: absolute; left: 0; top: 5px; }
.field-label { font-size: .84rem; font-weight: 600; color: var(--ivory); display: block; margin-bottom: 6px; }
.field-label span { font-weight: 400; color: var(--fg-3); }
.field { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--glass-edge); background: rgba(10,20,36,.55); color: var(--ivory); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field::placeholder { color: rgba(244,238,226,.35); }
.field:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,166,74,.2); }
textarea.field { min-height: 96px; resize: vertical; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .84rem; color: var(--fg-2); cursor: pointer; }
.check a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
.check input { width: 18px; height: 18px; accent-color: var(--gold); margin-top: 2px; }
.err { color: #ffb4a2; font-size: .86rem; min-height: 1.2em; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.unlocked { display: none; gap: 14px; }
.gate.done form { display: none; }
.gate.done .unlocked { display: grid; }
.unlocked .ok { width: 46px; height: 46px; border-radius: 50%; background: rgba(212,166,74,.15); border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold); font-size: 1.3rem; }

/* citations */
.quote { padding: 28px; border-radius: 24px; display: grid; gap: 12px; align-content: start; }
.ar-i, .proof span.ar-i { font-family: "Amiri", "Traditional Arabic", "Segoe UI", serif; font-size: 1.25em; line-height: 1; unicode-bidi: isolate; color: var(--gold-hi); }
.quote .ar { font-family: "Amiri", "Traditional Arabic", "Scheherazade New", serif; font-size: 1.7rem; line-height: 1.7; direction: rtl; text-align: right; color: var(--gold-hi); }
.quote blockquote { margin: 0; font-family: var(--f-head); font-size: 1.25rem; line-height: 1.3; }
.quote cite { font-style: normal; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-3); }
.quote p { color: var(--fg-2); font-size: .95rem; }

/* défi : outil */
.tool { border-radius: 28px; padding: clamp(20px, 3vw, 34px); display: grid; gap: 22px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--glass-edge); background: transparent; color: var(--fg-2); font: inherit; font-weight: 600; cursor: pointer; transition: all .2s; }
.tab[aria-selected="true"] { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.progress { display: grid; gap: 8px; }
.progress .track { height: 6px; border-radius: 6px; background: rgba(244,238,226,.1); overflow: hidden; }
.progress .track i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--navy), var(--gold)); transition: width .5s cubic-bezier(.2,.8,.2,1); }
.progress small { color: var(--fg-3); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist label { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(244,238,226,.03); cursor: pointer; transition: border-color .25s, background .25s; }
.checklist input { position: absolute; opacity: 0; pointer-events: none; }
.checklist .box { width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--glass-edge); display: grid; place-items: center; color: transparent; transition: all .25s; font-weight: 700; }
.checklist input:checked + .box { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.checklist input:focus-visible + .box { outline: 2px solid var(--gold); outline-offset: 3px; }
.checklist label:has(input:checked) { border-color: rgba(212,166,74,.45); background: rgba(212,166,74,.06); }
.checklist b { display: block; font-weight: 600; }
.checklist small { color: var(--fg-3); }
.msg { white-space: pre-wrap; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .9rem; padding: 18px; border-radius: 16px; background: rgba(10,20,36,.7); border: 1px solid var(--line); color: var(--fg-2); }

/* histoire */
.chapter { display: grid; grid-template-columns: 120px 1fr; gap: 28px; padding-block: 34px; border-top: 1px solid var(--line); }
@media (max-width: 700px) { .chapter { grid-template-columns: 1fr; gap: 10px; } }
.chapter .yr { font-family: var(--f-head); color: var(--gold); font-size: 1.4rem; }
.chapter .txt { display: grid; gap: 14px; color: var(--fg-2); font-size: 1.06rem; }
.chapter h3 { color: var(--ivory); font-size: clamp(1.5rem, 2.6vw, 2rem); }
.chapter blockquote { margin: 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--gold); font-family: var(--f-head); font-size: 1.3rem; color: var(--ivory); }

/* final */
.final { text-align: center; }
.final .glass { padding: clamp(40px, 7vw, 80px) clamp(22px, 5vw, 60px); border-radius: 32px; display: grid; gap: 20px; justify-items: center; overflow: hidden; }
.final p { color: var(--fg-2); max-width: 600px; font-size: 1.1rem; }

/* pied de page */
footer { padding: 44px 0 120px; border-top: 1px solid var(--line); color: var(--fg-3); font-size: .88rem; }
footer .f { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 22px; align-items: start; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { text-decoration: none; color: var(--fg-2); }
footer a:hover { color: var(--gold); }
@media (min-width: 821px) { footer { padding-bottom: 48px; } }

/* barre fixe mobile */
.mobile-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; padding: 8px; border-radius: 999px; display: none; transform: translateY(140%); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.mobile-cta.show { transform: none; }
.mobile-cta .btn { width: 100%; }
@media (max-width: 820px) { .mobile-cta { display: block; } }

/* apparitions au défilement */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: .1s; } .js [data-reveal="3"] { transition-delay: .2s; } .js [data-reveal="4"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

@media print {
  .nav, .aura, .grain, .mobile-cta, footer { display: none !important; }
  body { background: #fff; color: #000; }
}
