/* ============================================================
   SKINANCE — Feuille de style v2
   Palette officielle : Encre #123840 · Accent #2F7D75
   Voile #E4EDEB · Papier #F7F5F2 · Or #C9A15E (signature "waouh")
   ============================================================ */

:root {
  --encre: #123840;
  --encre-2: #0C282E;
  --encre-3: #0A2126;
  --accent: #2F7D75;
  --accent-2: #3FA896;
  --accent-3: #6FC4B4;
  --voile: #E4EDEB;
  --papier: #F7F5F2;
  --papier-2: #EFEBE4;
  --or: #C9A15E;
  --or-2: #E4C892;
  --or-soft: #F0E2C6;
  --ink-soft: #4B5A57;
  --line: #DDE6E3;
  --line-dark: rgba(255,255,255,.12);
  --white: #ffffff;

  --shadow-sm: 0 2px 12px rgba(18,56,64,.06);
  --shadow-md: 0 20px 50px rgba(18,56,64,.12);
  --shadow-lg: 0 44px 100px rgba(10,33,38,.22);
  --glow: 0 0 60px rgba(63,168,150,.35);

  --spectrum: linear-gradient(90deg,#123840,#2F7D75,#3FA896,#6FC4B4,#E4C892,#C9A15E,#B9765C,#7A4E86);
  --r: 18px; --r-lg: 26px; --r-xl: 34px;
  --maxw: 1180px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--encre); background: var(--papier);
  line-height: 1.6; font-size: 17px;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1,h2,h3,h4 { font-family: "Fraunces", Georgia, serif; font-weight: 500; line-height: 1.08; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 3.15rem); }
h3 { font-size: 1.28rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px,9vw,124px) 0; }
.section--tint { background: var(--papier-2); }
.section--dark { background: var(--encre); color: var(--voile); position: relative; }

.eyebrow { display: inline-block; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--accent); margin-bottom: 18px; }
.eyebrow--gold { color: var(--or); }

.section__head { max-width: 730px; margin: 0 auto clamp(40px,6vw,66px); text-align: center; }
.section__head--left { text-align: left; margin-left: 0; }
.section__sub { margin-top: 16px; color: var(--ink-soft); font-size: 1.05rem; }
.section__sub--light { color: rgba(228,237,235,.72); }
.h2-light { color: var(--white); }
.grad-text { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.link { color: var(--accent); border-bottom: 1px solid var(--line); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 15px 28px; border-radius: 100px; font-weight: 600; font-size: .96rem; cursor: pointer; border: 1.5px solid transparent; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s; white-space: nowrap; }
.btn--gold { background: linear-gradient(135deg,var(--or-2),var(--or)); color: var(--encre); box-shadow: 0 10px 30px rgba(201,161,94,.35); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(201,161,94,.5); }
.btn--outline { background: rgba(255,255,255,.04); color: var(--white); border-color: rgba(255,255,255,.35); }
.btn--outline:hover { border-color: var(--white); transform: translateY(-2px); background: rgba(255,255,255,.09); }
.btn--full { width: 100%; }
.play-ico { font-size: .7rem; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(247,245,242,.8); backdrop-filter: blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s; }
.nav.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 74px; }
.brand { display: flex; align-items: center; }
.brand__logo { height: 42px; width: auto; }
.brand__logo--light { display: none; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { font-size: .93rem; color: var(--ink-soft); position: relative; font-weight: 500; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--accent); transition: width .3s; }
.nav__links a:hover { color: var(--encre); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { padding: 11px 22px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav__burger span { width: 24px; height: 2px; background: var(--encre); border-radius: 2px; transition: .3s; }
.nav__burger.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2){ opacity: 0; }
.nav__burger.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (dark, premium) ---------- */
.hero { position: relative; background: radial-gradient(120% 100% at 70% 0%, var(--encre) 0%, var(--encre-2) 55%, var(--encre-3) 100%); color: var(--voile); overflow: hidden; padding-top: clamp(48px,6vw,84px); }
.hero__aurora { position: absolute; inset: -30% -10% auto 30%; height: 760px; z-index: 0; pointer-events: none;
  background: radial-gradient(42% 44% at 60% 30%, rgba(63,168,150,.35), transparent 70%),
              radial-gradient(38% 40% at 85% 12%, rgba(201,161,94,.28), transparent 72%),
              radial-gradient(40% 40% at 40% 40%, rgba(122,78,134,.18), transparent 70%);
  filter: blur(6px); animation: drift 16s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-30px,20px) scale(1.06); } }
.hero__grid-lines { position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(120% 80% at 50% 0%, #000, transparent 75%); }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; padding-bottom: clamp(56px,7vw,96px); }
.hero__title { font-size: clamp(2.7rem, 6.2vw, 5rem); font-weight: 500; color: var(--white); margin-bottom: 24px; letter-spacing: -.02em; }
.hero__lead { font-size: 1.13rem; color: rgba(228,237,235,.82); max-width: 520px; }
.hero__lead strong { color: var(--white); font-weight: 600; }
.hero__actions { display: flex; gap: 14px; margin: 32px 0 38px; flex-wrap: wrap; }
.hero__meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero__meta strong { font-family: "Fraunces", serif; font-size: 1.7rem; color: var(--white); display: block; }
.hero__meta strong i { font-size: .8rem; font-style: normal; color: var(--or-2); }
.hero__meta span { font-size: .8rem; color: rgba(228,237,235,.6); }
.hero__meta .sep { width: 1px; height: 36px; background: rgba(255,255,255,.14); }

/* Scanner visual */
.scanner { position: relative; max-width: 430px; margin-left: auto; }
.scanner__halo { position: absolute; inset: -8% -8% -8% -8%; border-radius: 40px; background: radial-gradient(circle at 50% 40%, rgba(63,168,150,.35), transparent 65%); filter: blur(18px); }
.scanner__screen { position: relative; aspect-ratio: 4/4.5; border-radius: 30px; overflow: hidden;
  background: linear-gradient(165deg, rgba(20,60,68,.9), rgba(8,30,35,.95)); border: 1px solid rgba(111,196,180,.25); box-shadow: var(--shadow-lg), inset 0 0 40px rgba(63,168,150,.12); }
.scanner__scanline { position: absolute; left: 0; right: 0; height: 34%; z-index: 3; background: linear-gradient(180deg, transparent, rgba(63,168,150,.22), transparent); border-top: 1.5px solid rgba(111,196,180,.7); animation: scan 3.6s var(--ease) infinite; }
@keyframes scan { 0%{ transform: translateY(-34%);} 50%{ transform: translateY(180%);} 100%{ transform: translateY(-34%);} }
.scanner__face { position: absolute; inset: 9% 22% 24%; display: grid; place-items: center; border-radius: 16px; overflow: hidden; }
.scanner__face svg { width: 100%; }
.scanner__photo { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; }
.scanner__dot { position: absolute; left: var(--x); top: var(--y); width: 9px; height: 9px; border-radius: 50%; background: var(--c); z-index: 4; box-shadow: 0 0 0 0 var(--c); animation: ping 2.6s infinite; }
.scanner__dot:nth-child(3){ animation-delay:.5s; } .scanner__dot:nth-child(4){ animation-delay:1s; } .scanner__dot:nth-child(5){ animation-delay:1.5s; } .scanner__dot:nth-child(6){ animation-delay:2s; }
@keyframes ping { 0%{ box-shadow: 0 0 0 0 rgba(63,168,150,.5);} 70%{ box-shadow: 0 0 0 13px rgba(63,168,150,0);} 100%{ box-shadow: 0 0 0 0 rgba(63,168,150,0);} }
.scanner__hud { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 5; background: rgba(8,30,35,.78); backdrop-filter: blur(8px); border: 1px solid rgba(111,196,180,.2); border-radius: 16px; padding: 14px 16px; display: grid; gap: 9px; }
.hud-row { display: grid; grid-template-columns: 78px 1fr 38px; align-items: center; gap: 10px; font-size: .72rem; color: rgba(228,237,235,.75); }
.hud-row i { display: block; height: 6px; border-radius: 6px; background: var(--c); width: var(--v); transform-origin: left; animation: grow 1.6s var(--ease); }
.hud-row b { color: var(--white); font-weight: 600; text-align: right; font-size: .72rem; }
@keyframes grow { from{ transform: scaleX(0);} to{ transform: scaleX(1);} }
.scanner__badge { position: absolute; top: 16px; left: 16px; z-index: 6; display: inline-flex; align-items: center; gap: 7px; font-size: .72rem; font-weight: 600; color: var(--white); background: rgba(8,30,35,.7); border: 1px solid rgba(111,196,180,.25); padding: 6px 12px; border-radius: 100px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); animation: blink 1.4s infinite; }
@keyframes blink { 50%{ opacity: .3; } }

.spectrum-bar { height: 5px; background: var(--spectrum); }

/* ---------- Contexts ---------- */
.contexts { background: var(--encre-2); color: var(--voile); }
.contexts__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 34px; padding: 26px 24px; }
.contexts__label { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--or-2); }
.contexts ul { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; margin-left: auto; }
.contexts li { font-family: "Fraunces", serif; font-size: 1.02rem; opacity: .92; }

/* ---------- Génération (cards) ---------- */
.gen__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.gen__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 26px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.gen__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.gen__ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; color: var(--accent); background: var(--voile); }
.gen__ico svg { width: 26px; height: 26px; }
.gen__card h3 { margin-bottom: 10px; }
.gen__card p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Video ---------- */
.video__frame { position: relative; max-width: 960px; margin: 0 auto; aspect-ratio: 16/9; border-radius: var(--r-xl); overflow: hidden; border: 1px solid rgba(111,196,180,.25); box-shadow: var(--shadow-lg); background: var(--encre-3); }
.video__el { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--encre-3); }
.video__frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video__poster { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(120% 120% at 50% 30%, var(--encre) 0%, var(--encre-3) 100%); cursor: pointer; }
.video__poster.is-hidden { display: none; }
.video__poster-anim { position: absolute; inset: 0; overflow: hidden; opacity: .6; }
.vscan { position: absolute; left: 0; right: 0; top: 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(63,168,150,.18), transparent); animation: scan 4s var(--ease) infinite; }
.video__logo { position: relative; width: 200px; max-width: 55%; opacity: .9; margin-bottom: 90px; }
.video__play { position: absolute; width: 78px; height: 78px; border-radius: 50%; border: none; cursor: pointer; background: linear-gradient(135deg,var(--or-2),var(--or)); color: var(--encre); display: grid; place-items: center; box-shadow: 0 12px 40px rgba(201,161,94,.5); transition: transform .3s; }
.video__play svg { width: 30px; height: 30px; margin-left: 3px; }
.video__play:hover { transform: scale(1.08); }
.video__play::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(228,200,146,.5); animation: ping 2.4s infinite; }
.video__hint { position: absolute; bottom: 26px; font-size: .82rem; color: rgba(228,237,235,.65); letter-spacing: .04em; }
.video__note { text-align: center; margin-top: 20px; font-size: .84rem; color: rgba(228,237,235,.5); }
.video__note code { background: rgba(255,255,255,.08); padding: 2px 8px; border-radius: 6px; font-size: .82em; color: var(--or-2); }

/* ---------- Player (explainer animé) ---------- */
.player { position: absolute; inset: 0; background: radial-gradient(120% 120% at 30% 10%, #123f48 0%, #0a1c20 70%); overflow: hidden; }
.player__stage { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3%; padding: 7% 6% 9%; }

/* Appareil */
.player__device { position: relative; height: 84%; align-self: center; display: grid; place-items: center; border-radius: 20px; background: linear-gradient(165deg, rgba(20,63,72,.7), rgba(8,28,32,.9)); border: 1px solid rgba(111,196,180,.22); box-shadow: inset 0 0 50px rgba(63,168,150,.1); }
.player__face { position: relative; width: 62%; max-width: 200px; }
.player__face svg { width: 100%; }
.player__filter { position: absolute; inset: -6% -12%; border-radius: 50%; mix-blend-mode: screen; opacity: 0; transition: background .5s, opacity .5s; }
.player[data-stage="2"] .player__filter { opacity: .9; }
.player__pt { position: absolute; left: var(--x); top: var(--y); width: 8px; height: 8px; border-radius: 50%; background: var(--or-2); opacity: 0; box-shadow: 0 0 0 0 rgba(228,200,146,.6); }
.player[data-stage="1"] .player__pt, .player[data-stage="2"] .player__pt { opacity: 1; animation: ping 2s infinite; }
.player__pt:nth-child(4){ animation-delay:.4s } .player__pt:nth-child(5){ animation-delay:.8s } .player__pt:nth-child(6){ animation-delay:1.2s }
.player__scan { position: absolute; left: 8%; right: 8%; top: 8%; height: 26%; z-index: 3; border-radius: 30px; background: linear-gradient(180deg, transparent, rgba(63,168,150,.28), transparent); border-top: 1.5px solid rgba(111,196,180,.85); opacity: 0; }
.player[data-stage="1"] .player__scan, .player[data-stage="2"] .player__scan { opacity: 1; animation: pscan 2.4s var(--ease) infinite; }
@keyframes pscan { 0%{ transform: translateY(-30%);} 50%{ transform: translateY(230%);} 100%{ transform: translateY(-30%);} }
.player__angles { position: absolute; bottom: 12px; display: flex; gap: 6px; }
.player__angles span { font-size: .62rem; font-weight: 600; color: rgba(228,237,235,.55); border: 1px solid rgba(111,196,180,.25); border-radius: 100px; padding: 3px 9px; transition: all .35s; }
.player[data-stage="1"] .player__angles span, .player[data-stage="2"] .player__angles span { color: var(--encre); background: var(--accent-2); border-color: var(--accent-2); }
.player[data-stage="1"] .player__angles span:nth-child(2){ transition-delay:.35s } .player[data-stage="1"] .player__angles span:nth-child(3){ transition-delay:.7s }
.player__spectrum { position: absolute; top: 12px; font-size: .68rem; font-weight: 600; color: var(--white); background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.2); padding: 4px 12px; border-radius: 100px; opacity: 0; transition: opacity .4s; }
.player[data-stage="2"] .player__spectrum { opacity: 1; }

/* Machine SKINANCE (illustration originale d'après les specs) */
.player__device.machine { background: none; border: none; box-shadow: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; }
.machine__shell { position: relative; width: 88%; max-width: 250px; padding: 9% 0 6%; display: flex; flex-direction: column; align-items: center;
  border-radius: 44% 44% 38% 38% / 40% 40% 46% 46%;
  background: linear-gradient(158deg,#fdfefe 0%,#e6efec 62%,#cdd9d5 100%);
  box-shadow: 0 34px 64px rgba(0,0,0,.42), inset 0 5px 14px rgba(255,255,255,.85), inset 0 -12px 26px rgba(80,105,100,.28); }
.machine__logo { height: 15px; width: auto; margin-bottom: 8%; opacity: .92; }
.machine__aperture { position: relative; width: 66%; aspect-ratio: 1/1.16; border-radius: 50%; overflow: hidden; background: #0b1f22;
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.65), inset 0 0 44px rgba(0,0,0,.75), 0 6px 16px rgba(0,0,0,.3); }
.machine__photo { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.machine__ring { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; box-shadow: inset 0 0 0 3px rgba(111,196,180,0); transition: box-shadow .4s; }
.player[data-stage="1"] .machine__ring, .player[data-stage="2"] .machine__ring { box-shadow: inset 0 0 26px rgba(63,168,150,.55), inset 0 0 0 3px rgba(111,196,180,.7); }
.machine__aperture .player__filter { inset: -10%; mix-blend-mode: screen; }
.machine__aperture .player__scan { left: 0; right: 0; top: 0; height: 30%; border-radius: 0; }
.machine__chin { width: 30%; height: 14px; margin-top: -6px; border-radius: 0 0 46% 46%; background: linear-gradient(#eef3f1,#c5d2cd); box-shadow: 0 6px 10px rgba(0,0,0,.22); z-index: 4; }
.machine__base { width: 42%; max-width: 120px; height: 11px; margin-top: 9px; border-radius: 3px 3px 6px 6px; background: linear-gradient(#cdd9d5,#a7b5b0); box-shadow: 0 18px 26px rgba(0,0,0,.38); position: relative; }
.machine__base::before { content: ""; position: absolute; left: 50%; top: -16px; width: 15%; height: 16px; transform: translateX(-50%); background: linear-gradient(#c2cec9,#b2beb9); }

/* Données */
.player__data { position: relative; height: 84%; align-self: center; }
.player__bars { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.player[data-stage="3"] .player__bars { opacity: 1; transform: none; }
.pbar { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 10px; font-size: .72rem; color: rgba(228,237,235,.8); }
.pbar i { display: block; height: 7px; border-radius: 7px; background: var(--c); width: 0; }
.player[data-stage="3"] .pbar i { width: var(--v); transition: width 1s var(--ease); }
.player[data-stage="3"] .pbar:nth-child(2) i { transition-delay:.15s } .player[data-stage="3"] .pbar:nth-child(3) i { transition-delay:.3s } .player[data-stage="3"] .pbar:nth-child(4) i { transition-delay:.45s } .player[data-stage="3"] .pbar:nth-child(5) i { transition-delay:.6s }

.player__report { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; opacity: 0; transform: scale(.96); transition: opacity .5s, transform .5s; }
.player[data-stage="4"] .player__report { opacity: 1; transform: none; }
.player__report-top { display: flex; align-items: center; justify-content: space-between; }
.player__report-top img { height: 26px; }
.player__report-top span { font-size: .72rem; color: rgba(228,237,235,.7); }
.player__report-top b { font-family: "Fraunces", serif; font-size: 1.5rem; color: var(--or-2); margin-left: 4px; }
.player__report-rings { display: flex; gap: 12px; }
.pring { flex: 1; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: end center; padding-bottom: 12%; text-align: center; background: radial-gradient(farthest-side, transparent 68%, transparent 69%), conic-gradient(var(--c) calc(var(--p)*1%), rgba(255,255,255,.1) 0); position: relative; }
.pring::before { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: #0c2429; }
.pring small { position: relative; font-size: .58rem; color: rgba(228,237,235,.75); }
.player__report-qr { display: flex; align-items: center; gap: 10px; font-size: .68rem; color: rgba(228,237,235,.7); }
.player__report-qr .qr { width: 34px; height: 34px; border: 2px solid #fff; }

/* Habillage */
.player__brand { position: absolute; top: 18px; left: 20px; height: 26px; opacity: .85; z-index: 4; }
.player__caption { position: absolute; bottom: 40px; left: 20px; right: 70px; z-index: 4; display: flex; align-items: center; gap: 12px; }
.player__caption b { font-family: "Fraunces", serif; font-size: 1.1rem; color: var(--or-2); }
.player__caption span { font-size: .9rem; color: var(--white); font-weight: 500; }
.player__progress { position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: rgba(255,255,255,.12); z-index: 4; }
.player__progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent-2), var(--or)); }
.player__toggle { position: absolute; bottom: 30px; right: 20px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(8,28,32,.6); color: var(--white); cursor: pointer; display: grid; place-items: center; transition: background .25s; }
.player__toggle:hover { background: var(--accent); border-color: var(--accent); }
.player__toggle svg { width: 20px; height: 20px; }
.player__toggle .ico-play { display: none; }
.player.is-paused .ico-pause { display: none; }
.player.is-paused .ico-play { display: block; }

.player__poster { position: absolute; inset: 0; z-index: 8; display: grid; place-items: center; background: radial-gradient(120% 120% at 50% 30%, #123f48 0%, #0a1c20 100%); cursor: pointer; }
.player__poster.is-hidden { opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.player__poster-anim { position: absolute; inset: 0; overflow: hidden; opacity: .5; }

/* ---------- Spectres (interactif) ---------- */
.spectres__wrap { max-width: 1000px; margin: 0 auto; }
.spectres__tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 34px; }
.sp-tab { border: 1px solid var(--line); background: var(--white); color: var(--ink-soft); padding: 9px 16px; border-radius: 100px; font: inherit; font-size: .82rem; font-weight: 500; cursor: pointer; transition: all .25s; }
.sp-tab:hover { border-color: var(--accent); color: var(--encre); }
.sp-tab.is-active { background: var(--encre); color: var(--white); border-color: var(--encre); }
.spectres__panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 34px; box-shadow: var(--shadow-md); }
.sp-visual { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: #0b1f22; display: grid; place-items: center; }
.sp-visual__face { position: absolute; inset: 0; background:
  radial-gradient(circle at 50% 42%, #3a2f28 0%, #211a15 60%, #0e0c0a 100%); }
.sp-filter { position: absolute; inset: 0; mix-blend-mode: screen; transition: background .5s, opacity .5s; opacity: .9; }
.sp-chip { position: absolute; bottom: 14px; left: 14px; z-index: 3; font-size: .74rem; font-weight: 600; color: var(--white); background: rgba(0,0,0,.4); padding: 5px 12px; border-radius: 100px; border: 1px solid rgba(255,255,255,.2); }
.sp-content h3 { font-size: 1.7rem; margin-bottom: 14px; }
.sp-content p { color: var(--ink-soft); min-height: 4.5em; }
.sp-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.sp-tags li { font-size: .78rem; font-weight: 500; color: var(--accent); background: var(--voile); padding: 5px 13px; border-radius: 100px; }

/* ---------- Paramètres ---------- */
.params__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.param { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.param h4 { font-family: "Inter", sans-serif; font-weight: 600; font-size: .9rem; margin-bottom: 13px; }
.bar { height: 8px; border-radius: 8px; background: var(--voile); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--accent), var(--or)); transition: width 1.1s var(--ease); }
.param__val { display: inline-block; margin-top: 10px; font-size: .78rem; color: var(--accent); font-weight: 600; }
.params__extra { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.params__extra span { font-size: .82rem; color: var(--ink-soft); background: var(--white); border: 1px solid var(--line); padding: 7px 15px; border-radius: 100px; }

/* ---------- Micro ---------- */
.micro__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.micro__copy h2 { margin-bottom: 18px; } .micro__copy > p { color: var(--ink-soft); }
.micro__viz { display: grid; place-items: center; }
.micro-lens { position: relative; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #3a2f28, #1a1410); box-shadow: var(--shadow-lg); overflow: hidden; }
.micro-lens__ring { position: absolute; inset: 0; border-radius: 50%; border: 10px solid rgba(255,255,255,.06); box-shadow: inset 0 0 40px rgba(0,0,0,.6); }
.micro-lens__zoom { position: absolute; inset: 18%; border-radius: 50%; border: 2px solid rgba(63,168,150,.5); background: radial-gradient(circle, rgba(63,168,150,.12), transparent 70%); animation: pulse-lens 3s ease infinite; }
@keyframes pulse-lens { 50%{ transform: scale(1.08); border-color: rgba(228,200,146,.6);} }
.micro-lens__label { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-family: "Fraunces", serif; font-size: 1.6rem; color: var(--or-2); }

/* ---------- Before / After ---------- */
.ba { max-width: 900px; margin: 0 auto; }
.ba__frame { position: relative; aspect-ratio: 16/9; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); user-select: none; }
.ba__after { position: absolute; inset: 0; background: radial-gradient(120% 120% at 50% 0%, #16323a, #0a1c20); color: var(--voile); }
.ba__before { position: absolute; inset: 0; width: 50%; overflow: hidden; background: radial-gradient(120% 120% at 50% 0%, #f4ece0, #e6d8c6); color: var(--encre); border-right: 2px solid rgba(255,255,255,.7); }
.ba__label { position: absolute; top: 18px; left: 20px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--or-2); }
.ba__label--dark { color: var(--accent); }
.ba__caption { position: absolute; bottom: 20px; left: 20px; right: 20px; font-size: .82rem; opacity: .9; }
.ba__caption--dark { color: var(--ink-soft); }
.ba__spots span { position: absolute; left: var(--x); top: var(--y); width: 26px; height: 26px; margin: -13px; border-radius: 50%; border: 1.5px solid var(--c); box-shadow: 0 0 18px color-mix(in srgb, var(--c) 40%, transparent); animation: ping 3s infinite; }
.ba__spots span:nth-child(2){ animation-delay:.5s; } .ba__spots span:nth-child(3){ animation-delay:1s; } .ba__spots span:nth-child(4){ animation-delay:1.5s; } .ba__spots span:nth-child(5){ animation-delay:2s; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 5; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 44px; margin-left: -22px; display: grid; place-items: center; z-index: 4; pointer-events: none; }
.ba__handle span { width: 44px; height: 44px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-md); display: grid; place-items: center; font-size: 1rem; color: var(--encre); }

/* ---------- Bilan ---------- */
.bilan__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.bilan__copy h2 { margin-bottom: 18px; } .bilan__copy > p { color: var(--ink-soft); }
.levels { margin: 26px 0; }
.levels__title { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--encre); margin-bottom: 12px; }
.levels__row { display: flex; gap: 10px; }
.levels__row span { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: "Fraunces", serif; font-size: 1.1rem; color: #fff; background: var(--c); box-shadow: var(--shadow-sm); }
.levels__legend { font-size: .78rem; color: var(--ink-soft); margin-top: 10px; }

.report { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px; box-shadow: var(--shadow-lg); max-width: 420px; margin: 0 auto; }
.report__top { display: flex; justify-content: space-between; align-items: center; }
.report__logo { height: 34px; width: auto; }
.report__score { font-size: .74rem; color: var(--ink-soft); text-align: right; line-height: 1.1; }
.report__score strong { display: block; font-family: "Fraunces", serif; font-size: 1.9rem; color: var(--accent); }
.report__date { display: block; color: var(--ink-soft); font-size: .76rem; margin: 6px 0 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.report__rings { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 20px; }
.ring { --p:60; --c: var(--accent); flex: 1; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(farthest-side, #fff 78%, transparent 79%), conic-gradient(var(--c) calc(var(--p)*1%), var(--voile) 0); }
.ring span { font-family: "Fraunces", serif; font-size: 1.05rem; } .ring small { font-size: .62rem; color: var(--ink-soft); }
.report__reco { padding: 18px 0; border-top: 1px solid var(--line); }
.report__reco p { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.report__reco ul { list-style: none; display: grid; gap: 7px; }
.report__reco li { font-size: .88rem; color: var(--ink-soft); padding-left: 18px; position: relative; }
.report__reco li::before { content: "→"; position: absolute; left: 0; color: var(--or); }
.report__qr { display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.report__qr span { font-size: .78rem; color: var(--ink-soft); }
.qr { width: 52px; height: 52px; border-radius: 8px; background:
  conic-gradient(#123840 0 25%, #fff 0 50%, #fff 0 75%, #123840 0) 0 0/16px 16px,
  linear-gradient(#123840,#123840) center/60% 60% no-repeat; background-color:#fff; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }

.check { list-style: none; margin-top: 22px; display: grid; gap: 11px; }
.check li { padding-left: 30px; position: relative; color: var(--ink-soft); }
.check li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--voile); color: var(--accent); font-size: .72rem; display: grid; place-items: center; font-weight: 700; }
.check--light li { color: rgba(228,237,235,.8); }
.check--light li::before { background: rgba(255,255,255,.1); color: var(--or-2); }

/* ---------- Features (dark) ---------- */
.features__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feat { border: 1px solid var(--line-dark); border-radius: var(--r); padding: 28px 24px; background: rgba(255,255,255,.02); transition: background .35s, transform .35s; }
.feat:hover { background: rgba(255,255,255,.05); transform: translateY(-5px); }
.feat h3 { color: var(--white); margin-bottom: 10px; font-size: 1.1rem; }
.feat p { color: rgba(228,237,235,.68); font-size: .93rem; }

/* ---------- Officine ---------- */
.officine__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.biz-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 24px; box-shadow: var(--shadow-sm); transition: transform .35s, box-shadow .35s; }
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.biz-card__n { font-family: "Fraunces", serif; font-size: 1rem; color: var(--or); display: block; margin-bottom: 14px; }
.biz-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.biz-card p { color: var(--ink-soft); font-size: .93rem; }
.officine__stats { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 50px; padding-top: 44px; border-top: 1px solid var(--line); }
.officine__stats div { text-align: center; padding: 0 24px; }
.officine__stats strong { font-family: "Fraunces", serif; font-size: 2.6rem; color: var(--accent); display: block; }
.officine__stats span { font-size: .86rem; color: var(--ink-soft); }

/* ---------- Specs ---------- */
.specs__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.specs__head h2 { margin-bottom: 16px; } .specs__head > p { color: var(--ink-soft); }
.specs__services { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.specs__services div { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.specs__services strong { display: block; color: var(--accent); font-size: .9rem; margin-bottom: 4px; }
.specs__services span { font-size: .82rem; color: var(--ink-soft); }
.specs__table { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px 26px; box-shadow: var(--shadow-md); }
.specs__table dl { margin: 0; }
.specs__table div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.specs__table div:last-child { border-bottom: 0; }
.specs__table dt { font-weight: 600; font-size: .88rem; color: var(--encre); }
.specs__table dd { margin: 0; color: var(--ink-soft); font-size: .9rem; }

/* ---------- Quote ---------- */
.quote .container { max-width: 840px; text-align: center; }
.quote__mark { width: 42px; margin: 0 auto 22px; opacity: .5; }
.quote blockquote { font-family: "Fraunces", serif; font-size: clamp(1.4rem,3vw,2.1rem); font-style: italic; line-height: 1.35; }
.quote cite { display: block; margin-top: 22px; font-style: normal; color: var(--accent); font-weight: 600; font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 24px; box-shadow: var(--shadow-sm); }
.faq__item summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 500; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.4rem; color: var(--accent); transition: transform .3s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 0 20px; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Demo (dark) ---------- */
.demo { background: radial-gradient(120% 100% at 20% 0%, var(--encre) 0%, var(--encre-2) 60%, var(--encre-3) 100%); color: var(--voile); }
.demo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.demo__copy h2 { margin-bottom: 18px; } .demo__copy > p { color: rgba(228,237,235,.8); }
.demo__direct { margin-top: 30px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.demo__mail { display: inline-flex; align-items: center; gap: 10px; color: var(--or-2); font-weight: 600; }
.demo__mail svg { width: 20px; height: 20px; }
.demo__mail:hover { color: var(--white); }
.demo__social { display: flex; gap: 10px; }
.demo__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; color: var(--voile); transition: all .25s; }
.demo__social a svg { width: 19px; height: 19px; }
.demo__social a:hover { background: var(--or); color: var(--encre); border-color: var(--or); transform: translateY(-3px); }
.demo__form { background: var(--white); color: var(--encre); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--shadow-lg); }
.field { margin-bottom: 16px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 7px; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: .95rem; background: var(--papier); transition: border-color .25s, box-shadow .25s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--voile); background: #fff; }
.field textarea { resize: vertical; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
#formSubmit[disabled] { opacity: .65; cursor: progress; }
#formSubmit.is-sending .btn__label::after { content: "…"; }
.form__note { margin-top: 14px; font-size: .9rem; font-weight: 600; min-height: 1.2em; }
.form__note.ok { color: var(--accent); } .form__note.err { color: #C9534A; }
.form__legal { margin-top: 12px; font-size: .76rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.footer { background: var(--encre-3); color: var(--voile); padding: 66px 0 26px; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 2fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer__logo { height: 40px; width: auto; margin-bottom: 16px; }
.footer__brand p { color: rgba(228,237,235,.6); max-width: 320px; font-size: .92rem; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; transition: all .25s; }
.footer__social a svg { width: 18px; height: 18px; }
.footer__social a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.footer__nav { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.footer__nav h5 { font-family: "Inter", sans-serif; text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; color: var(--or-2); margin-bottom: 14px; }
.footer__nav a { display: block; color: rgba(228,237,235,.72); font-size: .92rem; margin-bottom: 9px; }
.footer__nav a:hover { color: var(--white); }
.footer__base { display: flex; justify-content: space-between; padding-top: 22px; font-size: .82rem; color: rgba(228,237,235,.5); flex-wrap: wrap; gap: 8px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner, .micro__grid, .bilan__grid, .specs__grid, .demo__grid, .faq__inner, .spectres__panel { grid-template-columns: 1fr; }
  .hero__visual { order: -1; } .scanner { margin: 0 auto; }
  .gen__grid, .officine__grid { grid-template-columns: repeat(2,1fr); }
  .features__grid, .params__grid { grid-template-columns: repeat(2,1fr); }
  .footer__inner { grid-template-columns: 1fr; }
  .bilan__mock, .micro__viz { display: flex; justify-content: center; }
  .specs__table { order: 2; }
}
@media (max-width: 720px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav.is-open .nav__links { display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; background: var(--papier); padding: 18px 24px; gap: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); }
  .contexts ul { margin-left: 0; }
  .gen__grid, .officine__grid, .features__grid, .params__grid, .field--row, .specs__services { grid-template-columns: 1fr; }
  .hero__meta { gap: 14px; } .hero__meta .sep { display: none; }
  .officine__stats strong { font-size: 2rem; }
  .demo__direct { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
