/* ============================================================
   BEOSIGNER — Premium refonte
   Direction: dark premium · bleu nuit profond · or champagne
   Type: Cormorant (display serif) + Roboto (UI/web, demandé)
   ============================================================ */

:root {
  /* Surfaces */
  /* Échelle alignée sur la charte du CRM. Les trois valeurs relevées y sont
     reprises à l'identique ; --night-800 et --night-500 les interpolent pour
     conserver une progression régulière (L* 5 · 12 · 20 · 24 · 30).
     L'ancienne échelle partait de #0D1117 — un jeton que son propre
     commentaire appelait « premium black », à L* 2,8 sur 100. */
  --night-900: #0D1117;   /* CRM · fond de page */
  --night-800: #17203A;   /* interpolé · panneau bas */
  --night-700: #22314F;   /* CRM · fond tertiaire — sections alternées */
  --night-600: #26385A;   /* CRM · fond de carte */
  --night-500: #2E4270;   /* interpolé · panneau souligné */

  /* Cuivre — 3e couleur de la charte. Valeur du thème sombre du CRM ;
     la LP n'a pas de thème clair, donc pas de variante #a8603a ici. */
  --copper-400: #DC9F72;
  --copper-line: rgba(220,159,114,0.30);
  --copper-glow: rgba(220,159,114,0.14);

  /* État « attribution confirmée / prix déverrouillé ».
     Adossé au cuivre : cet état doit se distinguer de l'or, qui porte
     déjà toute l'interface ordinaire. */
  --state-400: var(--copper-400);
  --state-500: #C4854F;
  --state-line: var(--copper-line);

  /* Erreur de saisie — transitoire, distincte du cuivre de marque.
     Éclaircie : sur fond sombre, c'est la clarté du texte qui porte le
     contraste. #E2574F échouait AA sur les trois fonds où elle s'affiche
     (4,38 · 3,52 · 3,18 pour 4,5 requis) ; #F08078 échouait encore de 0,01
     sur les champs. Valeur retenue, mesurée :
       sur --night-800 (sections)  6,75:1
       sur --night-700 (encarts)   5,43:1
       sur --night-600 (champs)    4,90:1
     Réserve : sa luminance est proche de celle du cuivre (rapport 1,05).
     L'état d'erreur ne doit donc jamais reposer sur la seule couleur —
     lead-validate.js rend un message écrit, c'est lui qui porte le signal. */
  --error-400: #F28B84;

  /* Gold / champagne */
  --gold-300: #EBD9AE;
  --gold-400: #D9BE82;
  --gold-500: #C9A961;    /* primary champagne */
  --gold-600: #A98744;
  --gold-line: rgba(201,169,97,0.30);
  --gold-glow: rgba(201,169,97,0.16);

  /* Warm whites / text */
  --warm-100: #F6F1E7;
  --warm-200: #E9E2D2;
  --warm-mut: rgba(238,231,214,0.62);
  --warm-faint: rgba(238,231,214,0.40);

  /* Type */
  --serif: "Cormorant", Georgia, serif;
  --sans: "Roboto", system-ui, -apple-system, sans-serif;

  /* Rhythm */
  --maxw: 1280px;
  --gut: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  /* Le héros n'a pas de fond propre : il laisse voir celui-ci. Aligner body
     suffit donc à l'aligner aussi. */
  background: var(--night-900);
  color: var(--warm-200);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--gold-500); color: var(--night-900); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.eyebrow {
  font-size: 12px; letter-spacing: .34em; text-transform: uppercase;
  font-weight: 500; color: var(--gold-500);
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold-line); }

.h-serif {
  font-family: var(--serif); font-weight: 500;
  line-height: 1.02; letter-spacing: -0.01em;
  color: var(--warm-100);
  text-wrap: balance;
}
.gold-text {
  background: linear-gradient(100deg, var(--gold-300), var(--gold-500) 55%, var(--gold-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--warm-mut); max-width: 56ch; font-weight: 300; }

.hr-gold { height: 1px; border: 0; background: linear-gradient(90deg, transparent, var(--gold-line), transparent); }

/* ---------- Discreet new-key announcement strip ---------- */
.newkey-strip {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 14px 22px; margin-top: 8px;
  border: 1px solid rgba(201,169,97,.16); border-radius: 40px;
  background: linear-gradient(100deg, rgba(131,176,124,.05), rgba(201,169,97,.03));
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.newkey-strip:hover { border-color: var(--gold-500); background: linear-gradient(100deg, rgba(131,176,124,.08), rgba(201,169,97,.05)); }
.newkey-strip .nk-pill {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  color: #0D1117; background: linear-gradient(100deg, #9cc196, #83b07c); padding: 5px 11px; border-radius: 40px; white-space: nowrap;
}
.newkey-strip .nk-text { font-size: 14px; color: var(--warm-200); flex: 1; min-width: 200px; }
.newkey-strip .nk-text b { color: var(--warm-100); font-weight: 500; }
.newkey-strip .nk-go { font-size: 13px; color: var(--gold-400); white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; transition: gap .3s; }
.newkey-strip:hover .nk-go { gap: 11px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; letter-spacing: .02em;
  padding: 15px 26px; border-radius: 2px;
  transition: all .4s var(--ease);
  position: relative; white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(100deg, var(--gold-400), var(--gold-500));
  color: var(--night-900);
  box-shadow: 0 10px 30px -12px var(--gold-glow);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -14px rgba(201,169,97,.45); }
.btn-ghost { border: 1px solid var(--gold-line); color: var(--warm-100); }
.btn-ghost:hover { border-color: var(--gold-500); background: rgba(201,169,97,.06); }
.btn-arrow { transition: transform .4s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- Reveal animation ----------
   Visible by default; only hide once JS has armed it (html.reveal-ready).
   Guarantees content paints if JS/transitions never run. */
[data-reveal] { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
html.reveal-ready [data-reveal]:not(.in) { opacity: 0; transform: translateY(26px); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  /* Même spécificité que la règle d'armement ci-dessus, sinon elle perd :
     « html.reveal-ready [data-reveal]:not(.in) » pèse plus que « [data-reveal] »
     et le contenu restait masqué pour qui demande moins d'animations. */
  html.reveal-ready [data-reveal]:not(.in) { opacity: 1; transform: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
/* Impression et export PDF : le navigateur ne fait pas défiler, donc aucun
   croisement n'est signalé et la page sortirait blanche sous l'entête. */
@media print {
  html.reveal-ready [data-reveal]:not(.in) { opacity: 1; transform: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   IMAGE PLACEHOLDERS
   ============================================================ */
.ph {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(201,169,97,.045) 0 2px, transparent 2px 11px),
    linear-gradient(160deg, var(--night-600), var(--night-800));
  border: 1px solid rgba(201,169,97,.12);
}
.ph::after {
  content: attr(data-label);
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--warm-faint); text-align: center; padding: 16px;
}
.slot-img { display: block; }

/* Custom, always-reachable slot controls (top-right, above any overlay).
   Mounted as a sibling of the slot inside its parent container. */
.cc-slot-ctl {
  position: absolute; top: 12px; right: 12px; z-index: 40;
  display: none; gap: 6px; pointer-events: none;
}
.cc-slot-ctl.show { display: flex; }
.cc-slot-ctl.cc-below-header { top: 122px; }
.cc-slot-ctl button {
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .02em;
  padding: 7px 11px; border-radius: 3px; cursor: pointer;
  background: rgba(13,17,23,.82); color: var(--warm-100);
  border: 1px solid var(--gold-line); backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(-4px);
  transition: opacity .25s, transform .25s, background .25s, color .25s;
  pointer-events: auto;
}
/* Reveal when hovering the slot's container (works even when text overlays
   the slot, because the control lives in the same parent). */
.hero:hover .cc-slot-ctl button,
.hero-orb:hover .cc-slot-ctl button,
.entry:hover .cc-slot-ctl button,
.app-card:hover .cc-slot-ctl button,
.partner:hover .cc-slot-ctl button,
.product:hover .cc-slot-ctl button,
.how-visual:hover .cc-slot-ctl button,
.bk-visual:hover .cc-slot-ctl button,
.mega-feature:hover .cc-slot-ctl button,
.cc-slot-ctl:hover button { opacity: 1; transform: none; }
.cc-slot-ctl button:hover { background: var(--gold-500); color: var(--night-900); border-color: var(--gold-500); }

/* --- Image fill: ensure .slot-img fills its box and that
   decorative overlays never intercept the drag/drop or the click-to-browse. --- */
.hero-bg .img, .entry .img, .app-card .img, .partner .img,
.how-visual .img, .mega-feature .img {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
}
.product .pimg .slot-img, .bk-visual .slot-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
/* overlays are purely decorative — let pointer/drag events pass through */
.hero-bg .veil, .hero-bg .vign, .entry .grad, .app-card .grad,
.partner .veil, .mega-feature .grad, .how-visual .ring2, .hero-ring {
  pointer-events: none;
}

/* ============================================================
   HEADER / MEGA-MENU  (Oura-style)
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s;
  border-bottom: 1px solid transparent;
}
.header.scrolled, .header.menu-open {
  background: rgba(13,17,23,.82);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--gold-line);
}
.topbar {
  font-size: 11px; letter-spacing: .12em; color: var(--warm-mut);
  background: var(--night-900); border-bottom: 1px solid rgba(201,169,97,.10);
  text-align: center; padding: 8px 16px; text-transform: uppercase;
}
.topbar b { color: var(--gold-400); font-weight: 500; }

.navbar { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 18px; }
.brand { font-family: var(--serif); font-size: 27px; font-weight: 600; letter-spacing: .02em; color: var(--warm-100); flex-shrink: 0; }
.brand span { color: var(--gold-500); }

.nav-links { display: flex; align-items: center; gap: 1px; height: 100%; }
.nav-item { height: 100%; display: flex; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 400; letter-spacing: .01em;
  padding: 10px 12px; color: var(--warm-200); position: relative;
  transition: color .3s; white-space: nowrap;
}
.nav-link:hover, .nav-item.active .nav-link { color: var(--gold-400); }
.nav-item.active-page .nav-link { color: var(--gold-400); }
.nav-item.active-page .nav-link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 1px; background: var(--gold-line);
}
.nav-link .chev { width: 8px; height: 8px; border-right: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg) translate(-1px,-1px); transition: transform .35s var(--ease); opacity: .7; }
.nav-item.active .nav-link .chev { transform: rotate(225deg); }

.nav-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.lang-switch { display: flex; align-items: center; gap: 2px; border: 1px solid var(--gold-line); border-radius: 2px; padding: 3px; }
.lang-btn { font-size: 11px; font-weight: 500; letter-spacing: .08em; padding: 5px 8px; border-radius: 1px; color: var(--warm-mut); transition: all .3s; }
.lang-btn.active { background: rgba(201,169,97,.14); color: var(--gold-400); }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; color: var(--warm-200); position: relative; transition: color .3s; }
.icon-btn:hover { color: var(--gold-400); }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 9px;
  background: var(--gold-500); color: var(--night-900); font-size: 10px; font-weight: 700; display: grid; place-items: center; }

/* Mega panel */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: rgba(8,11,22,.96); backdrop-filter: blur(22px);
  border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
}
.mega.open { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: grid; gap: 40px; padding: 44px var(--gut) 48px; max-width: var(--maxw); margin: 0 auto; }
.mega-cols { display: grid; grid-template-columns: var(--mega-cols, 1fr 1fr 1fr 1.1fr); gap: 40px; }
.mega-col h4 { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-500); font-weight: 600; margin-bottom: 18px; }
.mega-list { display: flex; flex-direction: column; gap: 2px; }
.mega-row { display: flex; gap: 14px; align-items: center; padding: 9px 10px; border-radius: 4px; transition: background .3s; }
.mega-row:hover { background: rgba(201,169,97,.06); }
.mega-thumb { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 4px; }
.mega-row .t { font-size: 14px; color: var(--warm-100); font-weight: 400; }
.mega-row .d { font-size: 12px; color: var(--warm-mut); margin-top: 1px; }
.mega-row:hover .t { color: var(--gold-300); }

/* Mega feature card (right) */
.mega-feature { border-radius: 6px; overflow: hidden; position: relative; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--gold-line); }
.mega-feature .img { position: absolute; inset: 0; }
.mega-feature .grad { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(13,17,23,.92)); }
.mega-feature .body { position: relative; padding: 22px; }
.mega-feature .k { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-400); }
.mega-feature .ti { font-family: var(--serif); font-size: 23px; color: var(--warm-100); margin: 6px 0 4px; line-height: 1.1; }
.mega-feature .ln { font-size: 13px; color: var(--warm-mut); }
.mega-feature .go { font-size: 13px; color: var(--gold-400); margin-top: 12px; display: inline-flex; gap: 8px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 120px; overflow: hidden; }
.hero-ambient { position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 78% 42%, rgba(201,169,97,.10), transparent 55%),
    radial-gradient(80% 70% at 100% 0%, rgba(27,37,66,.6), transparent 60%),
    var(--night-900);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(30px, 5vw, 80px); width: 100%; }
.hero-inner { max-width: 620px; }

/* Right-side circular visual framed by the gold ring */
.hero-orb { position: relative; width: min(42vw, 540px); aspect-ratio: 1/1; justify-self: end; }
.hero-orb-img { position: absolute; top: 4%; left: 4%; width: 92%; height: 92%; border-radius: 50%; z-index: 2;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.7); }
.hero-orb .hero-ring { position: absolute; inset: -4%; border: 1px solid var(--gold-line); border-radius: 50%; pointer-events: none; z-index: 1;
  box-shadow: 0 0 120px -30px var(--gold-glow), inset 0 0 90px -40px var(--gold-glow); animation: ringFloat 14s ease-in-out infinite; }
.hero-orb .hero-ring-2 { inset: -13%; border-color: rgba(201,169,97,.16); box-shadow: none; animation: ringFloat 18s ease-in-out infinite reverse; }
.hero-orb-glow { position: absolute; inset: 8%; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle at 50% 45%, var(--gold-glow), transparent 70%); filter: blur(20px); }
@keyframes ringFloat { 0%,100%{ transform: scale(1) } 50%{ transform: scale(1.018) } }

.hero-inner { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(48px, 8vw, 104px); margin: 26px 0 0; }
.hero h1 .l2 { display: block; }
.hero .spark { width: 200px; height: 1px; margin: 30px 0 26px; position: relative; background: linear-gradient(90deg, var(--gold-500), transparent); }
.hero .spark::before { content:""; position: absolute; left: 0; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-300); box-shadow: 0 0 12px 3px var(--gold-glow); }
.hero .lead { font-size: clamp(17px, 1.5vw, 21px); margin-bottom: 38px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero-meta .m .n { font-family: var(--serif); font-size: 34px; color: var(--gold-400); line-height: 1; }
.hero-meta .m .l { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--warm-mut); margin-top: 8px; }
.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--warm-faint); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-cue .bar { width: 1px; height: 38px; background: linear-gradient(180deg, var(--gold-500), transparent); animation: cue 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0%,100%{transform: scaleY(.4); opacity:.4} 50%{transform: scaleY(1); opacity:1} }

/* ============================================================
   SECTION shell
   ============================================================ */
section { position: relative; }
.sec { padding: clamp(80px, 11vw, 150px) 0; }
.sec-head { max-width: 760px; }
.sec-head .eyebrow { margin-bottom: 22px; }
.sec-head h2 { font-size: clamp(34px, 5vw, 60px); }
.sec-head p { margin-top: 22px; }

/* 3 entrées */
.entries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.entry { position: relative; border: 1px solid rgba(201,169,97,.14); border-radius: 6px; overflow: hidden; min-height: 460px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 34px; transition: transform .6s var(--ease), border-color .6s; }
.entry .img { position: absolute; inset: 0; z-index: 0; transition: transform 1.2s var(--ease); }
.entry .grad { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(13,17,23,.15) 0%, rgba(13,17,23,.55) 55%, rgba(13,17,23,.95) 100%); }
.entry:hover { transform: translateY(-6px); border-color: var(--gold-500); }
.entry:hover .img { transform: scale(1.06); }
.entry-body { position: relative; z-index: 2; }
.entry .num { font-family: var(--serif); font-size: 15px; color: var(--gold-500); letter-spacing: .1em; }
.entry h3 { font-family: var(--serif); font-size: 32px; color: var(--warm-100); margin: 14px 0 10px; line-height: 1.05; }
.entry p { font-size: 14px; color: var(--warm-mut); margin-bottom: 18px; }
.entry .go { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .04em; color: var(--gold-400); font-weight: 500; }

/* Applications grid */
.bg-night { background: var(--night-800); }  /* bande alternée : un cran,
   pas un saut. --night-700 (#22314F, fond tertiaire du CRM) reste pour les
   panneaux, --night-600 (#26385A) pour les cartes. */
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.app-card { position: relative; border: 1px solid rgba(201,169,97,.12); border-radius: 6px; overflow: hidden; aspect-ratio: 3/4;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; transition: border-color .5s, transform .5s var(--ease); }
.app-card .img { position: absolute; inset: 0; z-index: 0; transition: transform 1s var(--ease); }
.app-card .grad { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 35%, rgba(13,17,23,.92)); }
.app-card:hover { transform: translateY(-5px); border-color: var(--gold-500); }
.app-card:hover .img { transform: scale(1.07); }
.app-card .ic { position: absolute; top: 20px; left: 20px; z-index: 2; width: 42px; height: 42px; border: 1px solid var(--gold-line); border-radius: 50%; display: grid; place-items: center; color: var(--gold-400); background: rgba(13,17,23,.4); backdrop-filter: blur(4px); }
.app-card .cap { position: relative; z-index: 2; }
.app-card h4 { font-family: var(--serif); font-size: 22px; color: var(--warm-100); }
.app-card .go { font-size: 12px; color: var(--gold-400); margin-top: 6px; opacity: 0; transform: translateX(-6px); transition: all .4s var(--ease); }
.app-card:hover .go { opacity: 1; transform: none; }

/* How it works */
.how { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px,6vw,90px); align-items: center; }
.how-steps { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid rgba(201,169,97,.12); }
.step:first-child { border-top: 1px solid rgba(201,169,97,.12); }
.step .sn { font-family: var(--serif); font-size: 34px; color: var(--gold-500); line-height: 1; width: 58px; }
.step h4 { font-size: 18px; color: var(--warm-100); font-weight: 500; margin-bottom: 7px; }
.step p { font-size: 14px; color: var(--warm-mut); max-width: 44ch; }
.how-visual { position: relative; aspect-ratio: 4/5; border-radius: 8px; overflow: hidden; border: 1px solid var(--gold-line); }
.how-visual .ring2 { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none; }
.how-visual .ring2 i { position: absolute; border: 1px solid var(--gold-line); border-radius: 50%; animation: pulse 6s ease-in-out infinite; }
.how-visual .ring2 i:nth-child(1){ width: 38%; height: 38%; } .how-visual .ring2 i:nth-child(2){ width: 60%; height: 60%; animation-delay: .8s; } .how-visual .ring2 i:nth-child(3){ width: 84%; height: 84%; animation-delay: 1.6s; }
@keyframes pulse { 0%,100%{ opacity:.25; transform: scale(.98) } 50%{ opacity:.6; transform: scale(1) } }

/* Products */
.prod-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 56px; }
.product { border: 1px solid rgba(201,169,97,.14); border-radius: 8px; overflow: hidden; background: linear-gradient(180deg, var(--night-700), var(--night-700)); transition: transform .5s var(--ease), border-color .5s; display: flex; flex-direction: column; }
.product:hover { transform: translateY(-6px); border-color: var(--gold-500); }
.product .pimg { aspect-ratio: 1/1; position: relative; }
.product .pbadge { position: absolute; top: 16px; left: 16px; z-index: 2; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); border: 1px solid var(--gold-line); padding: 5px 10px; border-radius: 2px; background: rgba(13,17,23,.5); backdrop-filter: blur(4px); }
.product .pbody { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.product h4 { font-family: var(--serif); font-size: 26px; color: var(--warm-100); }
.product .psub { font-size: 13px; color: var(--warm-mut); margin: 6px 0 18px; flex: 1; }
.product .pfoot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.product .price { font-family: var(--serif); font-size: 24px; color: var(--gold-400); }
.product .price small { font-size: 12px; color: var(--warm-faint); font-family: var(--sans); }
.add-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; padding: 11px 18px; border: 1px solid var(--gold-line); border-radius: 2px; color: var(--warm-100); transition: all .35s; }
.add-btn:hover { background: var(--gold-500); color: var(--night-900); border-color: var(--gold-500); }
.price.soon { font-size: 14px; color: var(--gold-300); font-family: var(--sans); letter-spacing: .01em; }
.add-btn.soon-btn { opacity: .55; cursor: default; pointer-events: none; }

/* ---------- Legal / document pages ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 150px 0 40px; }
.legal .breadcrumb { margin-bottom: 26px; }
.legal h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px,5vw,56px); color: var(--warm-100); line-height: 1.05; }
.legal .updated { font-size: 13px; color: var(--warm-faint); margin-top: 14px; letter-spacing: .02em; }
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(22px,2.6vw,30px); color: var(--gold-300); margin: 46px 0 14px; }
.legal h3 { font-size: 16px; font-weight: 500; color: var(--warm-100); margin: 26px 0 8px; }
.legal p, .legal li { font-size: 15px; line-height: 1.7; color: var(--warm-mut); }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 16px 0; padding-left: 22px; }
.legal li { margin-bottom: 7px; }
.legal a { color: var(--gold-400); }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--warm-200); font-weight: 500; }
.legal .hr-gold { margin: 40px 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; }
.legal td { padding: 9px 0; border-bottom: 1px solid rgba(201,169,97,.1); font-size: 14px; color: var(--warm-mut); vertical-align: top; }
.legal td:first-child { color: var(--warm-200); width: 38%; padding-right: 18px; }
.legal .toc { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 30px 0 10px; }
.legal .toc a { font-size: 13px; color: var(--warm-200); border: 1px solid var(--gold-line); border-radius: 40px; padding: 7px 14px; transition: all .3s; }
.legal .toc a:hover { border-color: var(--gold-500); color: var(--gold-300); text-decoration: none; }

/* ---------- Cookie consent banner ---------- */
.cookie-bar {
  position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 160%);
  z-index: 250; width: min(680px, calc(100vw - 32px));
  background: rgba(34,49,79,.97); backdrop-filter: blur(18px);
  border: 1px solid var(--gold-line); border-radius: 12px;
  box-shadow: 0 30px 70px -24px rgba(0,0,0,.75), 0 0 60px -30px var(--gold-glow);
  padding: 22px 24px; transition: transform .6s var(--ease);
}
.cookie-bar.show { transform: translate(-50%, 0); }
.cookie-bar .ct { font-size: 13.5px; line-height: 1.6; color: var(--warm-mut); }
.cookie-bar .ct b { color: var(--warm-100); font-weight: 500; font-family: var(--serif); font-size: 16px; display: block; margin-bottom: 6px; }
.cookie-bar .ct a { color: var(--gold-400); }
.cookie-bar .ct a:hover { text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.cookie-actions .btn { padding: 11px 20px; font-size: 13px; }
.cookie-actions .btn-text { background: none; border: none; color: var(--warm-mut); font-size: 13px; font-family: inherit; padding: 11px 8px; cursor: pointer; transition: color .3s; }
.cookie-actions .btn-text:hover { color: var(--gold-400); }
@media (max-width: 520px){ .cookie-actions { flex-direction: column; } .cookie-actions .btn, .cookie-actions .btn-text { width: 100%; justify-content: center; text-align: center; } }
@media (prefers-reduced-motion: reduce){ .cookie-bar { transition: none; } }

/* BeoKeys focus */
.bk { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,84px); align-items: center; }
.bk-visual { position: relative; aspect-ratio: 1/1; border-radius: 10px; overflow: hidden; border: 1px solid var(--gold-line); }
.bk-keys { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 34px; }
.bk-key { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid rgba(201,169,97,.12); border-radius: 6px; transition: border-color .4s, background .4s; }
.bk-key:hover { border-color: var(--gold-line); background: rgba(201,169,97,.04); }
.bk-key .kk { font-family: var(--serif); font-size: 19px; color: var(--gold-400); }
.bk-key .kd { font-size: 12px; color: var(--warm-mut); margin-top: 3px; }
.bk-key .ki { width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid var(--gold-line); border-radius: 50%; display: grid; place-items: center; color: var(--gold-400); }

/* Studies / credibility */
.studies { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; margin-top: 56px; }
.stat { text-align: left; padding: 30px; border: 1px solid rgba(201,169,97,.12); border-radius: 6px; background: var(--night-700); }
.stat .n { font-family: var(--serif); font-size: 52px; color: var(--gold-400); line-height: 1; }
.stat .l { font-size: 13px; color: var(--warm-mut); margin-top: 12px; }
.cred-logos { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; margin-top: 50px; opacity: .85; }
.cred-logos .lg { font-family: var(--serif); font-size: 18px; letter-spacing: .04em; color: var(--warm-mut); padding: 10px 20px; border: 1px solid rgba(201,169,97,.12); border-radius: 3px; }

/* Accompaniment / RDV */
.accomp { position: relative; border: 1px solid var(--gold-line); border-radius: 12px; overflow: hidden; padding: clamp(40px,6vw,80px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.accomp .glow { position: absolute; right: -10%; top: -40%; width: 60%; height: 180%; background: radial-gradient(circle, var(--gold-glow), transparent 60%); pointer-events: none; }
.accomp-form { position: relative; background: rgba(13,17,23,.6); border: 1px solid rgba(201,169,97,.16); border-radius: 8px; padding: 32px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--warm-mut); margin-bottom: 8px; }
.field input, .field select { width: 100%; background: var(--night-600); border: 1px solid rgba(201,169,97,.16); border-radius: 3px; padding: 13px 14px; color: var(--warm-100); font-family: inherit; font-size: 14px; transition: border-color .3s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold-500); }
.field input::placeholder { color: var(--warm-faint); }

/* Partner block */
.partner { position: relative; border-radius: 12px; overflow: hidden; min-height: 480px; display: flex; align-items: center; border: 1px solid var(--gold-line); }
.partner .img { position: absolute; inset: 0; z-index: 0; }
.partner .veil { position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(13,17,23,.95) 30%, rgba(13,17,23,.5)); }
.partner-body { position: relative; z-index: 2; padding: clamp(36px,5vw,68px); max-width: 600px; }
.partner-perks { display: flex; gap: 28px; flex-wrap: wrap; margin: 28px 0 34px; }
.partner-perks .pk { font-size: 13px; color: var(--warm-200); display: flex; align-items: center; gap: 9px; }
.partner-perks .pk::before { content:""; width: 6px; height: 6px; background: var(--gold-500); border-radius: 50%; }

/* FAQ */
.faq { max-width: 860px; margin: 56px auto 0; }
.faq-item { border-bottom: 1px solid rgba(201,169,97,.14); }
.faq-q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; font-size: clamp(17px,2vw,21px); color: var(--warm-100); font-family: var(--serif); transition: color .3s; }
.faq-q:hover { color: var(--gold-400); }
.faq-ic { flex: 0 0 22px; width: 22px; height: 22px; position: relative; }
.faq-ic::before, .faq-ic::after { content:""; position: absolute; background: var(--gold-500); transition: transform .4s var(--ease); }
.faq-ic::before { left: 0; top: 10px; width: 22px; height: 1.5px; }
.faq-ic::after { left: 10px; top: 0; width: 1.5px; height: 22px; }
.faq-item.open .faq-ic::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-a .inner { padding: 0 0 26px; font-size: 15px; color: var(--warm-mut); max-width: 70ch; }

/* CTA strip */
.cta-strip { text-align: center; }
.cta-strip h2 { font-size: clamp(34px,5vw,64px); }
.cta-strip .lead { margin: 24px auto 38px; text-align: center; }
.cta-strip .btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer { background: var(--night-900); border-top: 1px solid var(--gold-line); padding: 80px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-brand { font-family: var(--serif); font-size: 30px; color: var(--warm-100); }
.foot-brand span { color: var(--gold-500); }
.foot-col h5 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 18px; font-weight: 600; }
.foot-col a { display: block; font-size: 14px; color: var(--warm-mut); padding: 6px 0; transition: color .3s; }
.foot-col a:hover { color: var(--gold-400); }
.foot-news input { width: 100%; background: var(--night-600); border: 1px solid rgba(201,169,97,.16); border-radius: 3px; padding: 13px 14px; color: var(--warm-100); font-family: inherit; font-size: 14px; margin: 14px 0; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 60px; padding-top: 28px; border-top: 1px solid rgba(201,169,97,.10); font-size: 12px; color: var(--warm-faint); }
.foot-bottom .soc { display: flex; gap: 16px; }
.foot-bottom .soc a:hover { color: var(--gold-400); }

/* Toast */
.toast { position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 120%); z-index: 200;
  background: rgba(13,17,23,.96); border: 1px solid var(--gold-line); border-radius: 4px; padding: 16px 22px;
  display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--warm-100); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
  transition: transform .5s var(--ease); backdrop-filter: blur(10px); }
.toast.show { transform: translate(-50%, 0); }
.toast .ck { width: 24px; height: 24px; border-radius: 50%; background: var(--gold-500); color: var(--night-900); display: grid; place-items: center; font-size: 13px; }

/* Mobile menu toggle (hidden on desktop) */
.menu-toggle { display: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .mega-cols { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 920px) {
  .nav-links { display: none; }
  .menu-toggle { display: grid; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-inner { max-width: none; order: 2; }
  .hero-orb { order: 1; justify-self: center; width: min(72vw, 380px); }
  .hero-meta { gap: 28px; }
  .entries { grid-template-columns: 1fr; }
  .apps { grid-template-columns: 1fr 1fr; }
  .how, .bk, .accomp, .partner { grid-template-columns: 1fr; }
  .studies { grid-template-columns: 1fr 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .bk-keys { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .apps, .studies, .foot-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 28px; }
  .topbar { display: none; }
}

/* Images réelles (remplacent l'ancien composant d'image éditable) */
.slot-img { object-fit: cover; }
.slot-circle { border-radius: 50%; }

/* Icône monochrome en ligne — remplace les emoji couleur, hors charte. */
.ic-inline { width: 15px; height: 15px; vertical-align: -2px; margin-right: 6px; flex: 0 0 auto; }
