/* ============================================================
   IMPERIUM BRIDGE ACADEMY — styles.css
   Palette : Dark Navy × Or de marque
   Typo    : Sora (titres) · DM Sans (corps)
   ============================================================ */

/* ---- RESET & ROOT ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Fonds */
  --navy:        #050d1c;
  --navy2:       #09172a;
  --navy3:       #102846;

  /* Rétrocompatibilité */
  --bg:  var(--navy);
  --bg2: var(--navy2);
  --bg3: var(--navy3);
  --bg4: var(--navy3);

  /* Accent — cyan électrique (PAS or) */
  --gold:        #00c6ff;
  --gold2:       #66deff;
  --gold3:       #ccf5ff;
  --accent-rgb:  0, 198, 255;

  /* Texte des boutons sur fond accent */
  --btnText:     #03101e;

  /* Texte */
  --white:       #f7faff;
  --g100:        #e8f2fa;
  --g200:        #d8dce4;
  --g400:        #8e95a3;
  --g600:        #52596a;

  /* Sémantique */
  --green:       #22d68a;
  --red:         #f05a5a;

  /* Rayons — design carré, TOUS à 8px */
  --r:   8px;
  --rL:  8px;
  --rXL: 8px;

  /* Ombres */
  --sh:  0 4px 24px rgba(7,17,31,.15);
  --shL: 0 12px 48px rgba(7,17,31,.22);
  --shG: 0 8px 32px rgba(0,198,255,.25);

  /* Transition globale */
  --t: all .3s cubic-bezier(.4,0,.2,1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 68px;
  background: rgba(7,17,31,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(var(--accent-rgb), .12);
  transition: var(--t);
}

.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid rgba(var(--accent-rgb), .3);
}

.logo-name {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  color: var(--white);
  line-height: 1.2;
}

.logo-name span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(248,249,251,.55);
  font-size: .875rem;
  font-weight: 400;
  transition: var(--t);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--btnText) !important;
  padding: 9px 22px;
  border-radius: var(--r);
  font-weight: 700;
  font-size: .875rem;
  transition: var(--t);
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--gold2);
  color: var(--btnText) !important;
  box-shadow: var(--shG);
  transform: translateY(-1px);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--t);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  z-index: 99;
  background: rgba(7,17,31,.99);
  backdrop-filter: blur(20px);
  flex-direction: column;
  padding: 1.5rem 5vw 2rem;
  gap: 1rem;
  border-bottom: 1px solid rgba(var(--accent-rgb),.12);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: rgba(248,249,251,.7);
  font-size: 1rem;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: var(--t);
}

.mobile-menu a:hover,
.mobile-menu a.btn-g {
  color: var(--gold);
  border-bottom-color: rgba(var(--accent-rgb),.1);
}

.mobile-menu .btn-g {
  background: var(--gold);
  color: var(--btnText);
  border: none;
  border-radius: var(--r);
  padding: 12px 24px;
  text-align: center;
  font-weight: 700;
  margin-top: .5rem;
}

/* ============================================================
   HERO — Terminal financier
   ============================================================ */
.hero {
  min-height: 100vh;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding-top: 68px;
  display: flex;
  flex-direction: column;
}

/* Scanlines CRT — très subtiles */
.hero-scanlines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(255,255,255,.008) 3px,
    rgba(255,255,255,.008) 4px
  );
  pointer-events: none;
  z-index: 0;
}

/* Grille horizontale espacée */
.hero-hgrid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(var(--accent-rgb),.03) 1px, transparent 1px);
  background-size: 100% 80px;
  pointer-events: none;
  z-index: 0;
}

/* Glows */
.hero-glow-tl {
  position: absolute;
  top: -160px; left: -160px;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(var(--accent-rgb),.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-br {
  position: absolute;
  bottom: -100px; right: -100px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(var(--accent-rgb),.04) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Monogramme fantôme */
.hero-monogram {
  position: absolute;
  right: -2vw;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Sora', sans-serif;
  font-size: clamp(14rem, 28vw, 26rem);
  font-weight: 800;
  color: rgba(var(--accent-rgb),.03);
  letter-spacing: -.04em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Corner brackets */
.hero-bracket {
  position: absolute;
  width: 36px;
  height: 36px;
  z-index: 1;
  pointer-events: none;
}

.hero-bracket-tl {
  top: 80px; left: 4vw;
  border-top: 1.5px solid rgba(var(--accent-rgb),.3);
  border-left: 1.5px solid rgba(var(--accent-rgb),.3);
}

.hero-bracket-br {
  bottom: 56px; right: 4vw;
  border-bottom: 1.5px solid rgba(var(--accent-rgb),.3);
  border-right: 1.5px solid rgba(var(--accent-rgb),.3);
}

/* Contenu principal */
.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 5vw 60px;
}

/* Ligne pré-titre */
.hero-pre {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 2.5rem;
}

.hero-pre-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(34,214,138,.7);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-pre-text {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--g400);
  white-space: nowrap;
}

.hero-pre-line {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--accent-rgb),.25), transparent);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.7); }
}

/* Titre */
.hero-title-wrap {
  margin-bottom: 3rem;
}

.ht-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 300;
  color: rgba(var(--accent-rgb),.45);
  letter-spacing: .04em;
  margin-bottom: .3rem;
}

.ht-main {
  font-family: 'Sora', sans-serif;
  font-size: clamp(3.8rem, 9vw, 8rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.03em;
  margin: 0;
}

.ht-white {
  color: var(--white);
}

.ht-accent {
  color: var(--gold);
}

.ht-cursor {
  display: inline-block;
  color: var(--gold);
  animation: blink-cursor 1.1s step-end infinite;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Corps — desc + btns */
.hero-body {
  max-width: 560px;
}

.hero-desc {
  color: rgba(248,249,251,.45);
  font-size: .97rem;
  font-weight: 300;
  line-height: 1.9;
  margin-bottom: 2.25rem;
}

.hero-btns {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
}

.btn-g {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--btnText);
  padding: 14px 28px;
  border-radius: var(--r);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: var(--t);
  white-space: nowrap;
}

.btn-g:hover {
  background: var(--gold2);
  color: var(--btnText);
  transform: translateY(-2px);
  box-shadow: var(--shG);
}

.btn-wh {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(248,249,251,.65);
  padding: 13px 26px;
  border-radius: var(--r);
  font-weight: 400;
  font-size: .9rem;
  text-decoration: none;
  border: 1.5px solid rgba(248,249,251,.14);
  transition: var(--t);
  white-space: nowrap;
}

.btn-wh:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* Ticker marchés */
.hero-ticker {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(var(--accent-rgb),.08);
  overflow: hidden;
  height: 38px;
  display: flex;
  align-items: center;
}

.hero-ticker-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  animation: ticker-scroll 22s linear infinite;
  padding-left: 2rem;
}

.hero-ticker-track span {
  font-family: 'DM Sans', monospace;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(var(--accent-rgb),.3);
}

.htk-sep {
  color: rgba(var(--accent-rgb),.15) !important;
  letter-spacing: 0 !important;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Responsive hero */
@media (max-width: 900px) {
  .hero-bracket-tl { left: 4vw; }
  .hero-bracket-br { right: 4vw; }
  .hero-inner { padding: 60px 4vw 50px; }
  .ht-main { font-size: clamp(2.8rem, 12vw, 5rem); }
  .ht-eyebrow { font-size: 1rem; }
  .hero-monogram { display: none; }
}

@media (max-width: 540px) {
  .hero-btns { flex-direction: column; }
  .ht-main { font-size: clamp(2.4rem, 14vw, 4rem); }
}

/* Hero right column */
.hero-right {
  background: var(--bg2);
  border-left: 1px solid rgba(var(--accent-rgb),.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0 80px 4vw;
  gap: 1.25rem;
}

.stat-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--rL);
  padding: 1.5rem;
  transition: var(--t);
}

.stat-card:hover {
  border-color: rgba(var(--accent-rgb), .35);
  background: rgba(var(--accent-rgb), .04);
}

.sc-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(248,249,251,.35);
  margin-bottom: .75rem;
}

.sc-value {
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .75rem;
}

.sc-value-sm {
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: .75rem;
}

.sc-bar-row {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.sc-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  border-radius: 4px;
}

.sc-bar-ghost {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,.07);
  border-radius: 4px;
}

.sc-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34,214,138,.1);
  color: var(--green);
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}

.sc-quote {
  font-family: 'Sora', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  color: var(--gold2);
  line-height: 1.5;
  font-style: italic;
  margin-bottom: .5rem;
}

.sc-name {
  font-size: .75rem;
  color: var(--g400);
  font-weight: 300;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--bg2);
  border-top: 1px solid rgba(var(--accent-rgb),.1);
  border-bottom: 1px solid rgba(var(--accent-rgb),.1);
  padding: 2.5rem 5vw;
}

.stats-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.sb-item {
  flex: 1;
  text-align: center;
}

.sb-div {
  width: 1px;
  height: 50px;
  background: rgba(var(--accent-rgb),.15);
  flex-shrink: 0;
  margin: 0 2rem;
}

.sb-val {
  font-family: 'Sora', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.sb-lbl {
  font-size: .78rem;
  color: var(--g400);
  font-weight: 300;
  letter-spacing: .03em;
}

/* ============================================================
   FONDATEUR — redesign éditorial
   ============================================================ */
.founder {
  background: var(--bg);
  padding: 120px 5vw;
  position: relative;
  overflow: hidden;
}

.founder::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(var(--accent-rgb),.04) 0%, transparent 65%);
  pointer-events: none;
}

.founder-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 1300px;
  margin: 0 auto;
}

/* ---- PHOTO ---- */
.founder-photo-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  padding: 24px 0 24px 24px;
}

/* Corner brackets */
.founder-photo-wrap::before,
.founder-photo-wrap::after {
  content: '';
  position: absolute;
  width: 44px;
  height: 44px;
  z-index: 2;
}

.founder-photo-wrap::before {
  top: 4px; left: 4px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

.founder-photo-wrap::after {
  bottom: 4px; right: -4px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}

.founder-vert-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(var(--accent-rgb),.4);
  align-self: center;
  margin-right: 1.25rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.founder-photo-frame {
  flex: 1;
  background: var(--bg2);
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  min-height: 580px;
}

.founder-photo-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--accent-rgb),.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb),.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 0%, transparent 100%);
}

.founder-photo-frame::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-52%);
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(var(--accent-rgb),.07) 0%, transparent 70%);
  pointer-events: none;
}

.founder-initials {
  font-family: 'Sora', sans-serif;
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 800;
  color: rgba(var(--accent-rgb),.08);
  line-height: 1;
  margin-bottom: .5rem;
  position: relative;
  letter-spacing: -.04em;
}

.photo-hint {
  font-size: .72rem;
  color: var(--g600);
  font-weight: 300;
  position: relative;
  letter-spacing: .04em;
}

.founder-badge-float {
  position: absolute;
  bottom: 1.75rem;
  left: 3.5rem;
  right: 1rem;
  background: rgba(5,13,28,.95);
  border: 1px solid rgba(var(--accent-rgb),.15);
  border-radius: var(--r);
  padding: 1rem 1.25rem;
  backdrop-filter: blur(16px);
}

.fbf-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: .5rem;
}

.fbf-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(34,214,138,.6);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

.fbf-status {
  font-size: .65rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.fbf-name {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .2rem;
}

.fbf-cert {
  display: block;
  font-size: .72rem;
  color: var(--gold);
  font-weight: 400;
  opacity: .8;
}

/* ---- BIO ---- */
.founder-bio {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0 2rem 5rem;
  border-left: 1px solid rgba(255,255,255,.05);
}

.founder-overline {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.fo-dash {
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.fo-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--g400);
}

.founder-name {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -.03em;
  color: var(--white);
  margin-bottom: 0;
}

.founder-name em {
  color: var(--gold);
  font-style: normal;
  display: block;
}

.founder-divider {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.75rem 0;
}

/* Citation oversized */
.founder-quote-block {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 2rem;
}

.fq-mark {
  position: absolute;
  top: -1rem;
  left: 0;
  font-family: 'Sora', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  opacity: .5;
}

.founder-quote-block p {
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--g100);
  line-height: 1.55;
  font-style: italic;
}

.founder-desc {
  font-size: .95rem;
  color: var(--g400);
  font-weight: 300;
  line-height: 1.9;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

/* KPIs */
.founder-kpis {
  display: flex;
  align-items: flex-end;
  gap: 0;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.fkpi {
  flex: 1;
}

.fkpi-val {
  font-family: 'Sora', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: 5px;
}

.fkpi-unit {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gold);
  margin-left: .35rem;
  letter-spacing: 0;
  vertical-align: baseline;
}

.fkpi-lbl {
  font-size: .72rem;
  color: var(--g600);
  font-weight: 300;
  letter-spacing: .03em;
}

.fkpi-sep {
  width: 1px;
  height: 52px;
  background: rgba(255,255,255,.07);
  flex-shrink: 0;
  margin: 0 2rem;
  align-self: center;
}

.founder-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.founder-badges span {
  background: rgba(var(--accent-rgb),.07);
  border: 1px solid rgba(var(--accent-rgb),.15);
  color: var(--g200);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .76rem;
  font-weight: 400;
  letter-spacing: .02em;
}

/* ============================================================
   SECTION BASES (shared)
   ============================================================ */
section {
  padding: 110px 5vw;
}

.s-tag {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

h2.s-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin-bottom: 1.25rem;
  color: var(--white);
}

h2.s-title em {
  color: var(--gold);
  font-style: normal;
}

.s-sub {
  font-size: .97rem;
  color: var(--g400);
  max-width: 520px;
  line-height: 1.85;
  font-weight: 300;
}

/* ============================================================
   ACADÉMIE
   ============================================================ */
.about {
  background: var(--g100);
  position: relative;
  overflow: hidden;
}

.about .s-tag {
  color: var(--bg);
  opacity: .5;
}

.about h2.s-title {
  color: var(--bg);
}

.about h2.s-title em {
  color: #A07820;
}

.about .s-sub {
  color: var(--g600);
}

.about-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Sora', sans-serif;
  font-size: 18rem;
  font-weight: 800;
  color: rgba(var(--accent-rgb),.05);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  white-space: nowrap;
}

.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.feat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  margin-top: 2rem;
}

.feat-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--r);
  border: 1px solid var(--g200);
  transition: var(--t);
}

.feat-item:hover {
  border-color: rgba(var(--accent-rgb), .35);
  box-shadow: 0 4px 20px rgba(var(--accent-rgb), .12);
  transform: translateX(4px);
}

.fi-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: var(--bg2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.fi-title {
  font-weight: 600;
  font-size: .9rem;
  color: var(--bg);
  margin-bottom: 4px;
}

.fi-sub {
  font-size: .8rem;
  color: var(--g600);
  font-weight: 300;
}

/* Academy panel */
.academy-panel {
  background: var(--bg);
  border-radius: var(--rXL);
  padding: 2.5rem;
  border: 1px solid rgba(var(--accent-rgb),.12);
  position: relative;
  overflow: hidden;
}

.academy-panel::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(var(--accent-rgb),.06) 0%, transparent 70%);
  pointer-events: none;
}

.panel-kicker {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.panel-vision {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
  font-style: italic;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(var(--accent-rgb),.1);
  margin-bottom: 1.5rem;
}

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pg-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: .9rem 1rem;
  background: rgba(var(--accent-rgb),.05);
  border-radius: var(--r);
  border: 1px solid rgba(var(--accent-rgb),.08);
}

.pg-item span {
  font-size: .7rem;
  color: var(--g400);
  font-weight: 300;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.pg-item strong {
  font-family: 'Sora', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  color: var(--white);
}

/* ============================================================
   FORMATION
   ============================================================ */
.formations {
  background: var(--bg2);
}

.formations-header {
  text-align: center;
  margin-bottom: 4rem;
}

.formations-header .s-sub {
  margin: 0 auto;
}

.offer-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

/* Plan card */
.plan {
  border-radius: var(--rXL);
  border: 1.5px solid rgba(var(--accent-rgb),.15);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: var(--t);
  background: var(--bg3);
}

.plan::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
}

.plan.hot {
  border-color: rgba(var(--accent-rgb),.35);
  background: linear-gradient(160deg, var(--bg3), var(--bg4));
  box-shadow: 0 0 60px rgba(var(--accent-rgb),.08), var(--sh);
}

.plan.hot::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(var(--accent-rgb),.08) 0%, transparent 70%);
  pointer-events: none;
}

.hot-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(var(--accent-rgb),.15);
  color: var(--gold);
  border: 1px solid rgba(var(--accent-rgb),.3);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.plan-emoji {
  font-size: 2rem;
  margin-bottom: .75rem;
}

.plan-name {
  font-family: 'Sora', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
}

.plan-desc {
  font-size: .85rem;
  color: var(--g400);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.plan-price {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(var(--accent-rgb),.1);
  border-bottom: 1px solid rgba(var(--accent-rgb),.1);
  margin-bottom: 1.5rem;
}

.price-amt {
  font-family: 'Sora', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.price-amt span {
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 700;
}

.price-per {
  font-size: .8rem;
  color: var(--g400);
  font-weight: 300;
}

.plan-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 1.75rem;
}

.pf {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .88rem;
  color: var(--g200);
  font-weight: 400;
}

.pf svg {
  color: var(--gold);
  flex-shrink: 0;
}

.btn-plan {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: var(--r);
  font-family: 'Sora', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--t);
}

.btn-gold {
  background: var(--gold);
  color: var(--btnText);
}

.btn-gold:hover {
  background: var(--gold2);
  transform: translateY(-2px);
  box-shadow: var(--shG);
}

/* Advantage stack */
.advantage-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: .5rem;
}

.adv-title {
  font-family: 'Sora', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: .5rem;
}

.advantage {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r);
  transition: var(--t);
}

.advantage:hover {
  border-color: rgba(var(--accent-rgb),.15);
  background: rgba(var(--accent-rgb),.03);
}

.adv-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--accent-rgb),.08);
  border-radius: 10px;
}

.advantage strong {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
}

.advantage span {
  font-size: .82rem;
  color: var(--g400);
  font-weight: 300;
}

.adv-cta {
  margin-top: 1rem;
  padding: 1.5rem;
  background: rgba(var(--accent-rgb),.06);
  border: 1px solid rgba(var(--accent-rgb),.15);
  border-radius: var(--rL);
}

.adv-cta p {
  font-family: 'Sora', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  color: var(--gold2);
  font-style: italic;
  margin-bottom: 1rem;
}

.adv-wh {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: .82rem;
  padding: 10px 16px;
  border-color: rgba(var(--accent-rgb),.25);
  color: var(--g200);
}

.adv-wh:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--bg3);
  padding: 110px 5vw;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 2.5rem;
}

.cl-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r);
  transition: var(--t);
  text-decoration: none;
}

.cl-item:hover {
  border-color: rgba(var(--accent-rgb),.25);
  background: rgba(var(--accent-rgb),.04);
  transform: translateX(4px);
}

.cl-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
}

.cl-icon-tg {
  background: #229ED9;
}

.cl-icon-em {
  background: rgba(var(--accent-rgb),.15);
  color: var(--gold);
}

.cl-label {
  font-size: .72rem;
  color: var(--g400);
  font-weight: 300;
  margin-bottom: 2px;
}

.cl-value {
  font-size: .9rem;
  font-weight: 500;
  color: var(--white);
}

/* Contact form */
.contact-form {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--rXL);
  padding: 2.5rem;
}

.cf-title {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.f-group {
  margin-bottom: 1.1rem;
}

.f-lbl {
  font-size: .78rem;
  font-weight: 600;
  color: var(--g400);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .5rem;
  display: block;
}

.f-in {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,.04);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: var(--r);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: .92rem;
  font-weight: 300;
  outline: none;
  transition: var(--t);
  resize: vertical;
}

.f-in::placeholder {
  color: rgba(248,249,251,.25);
}

.f-in:focus {
  border-color: var(--gold);
  background: rgba(var(--accent-rgb),.04);
}

.btn-pay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px;
  background: var(--gold);
  color: var(--btnText);
  border: none;
  border-radius: var(--r);
  font-family: 'Sora', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--t);
  margin-top: .5rem;
}

.btn-pay:hover {
  background: var(--gold2);
  color: var(--btnText);
  transform: translateY(-2px);
  box-shadow: var(--shG);
}

.sec-note {
  text-align: center;
  font-size: .73rem;
  color: var(--g600);
  font-weight: 300;
  margin-top: .75rem;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta {
  background: var(--bg);
  padding: 120px 5vw;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(var(--accent-rgb),.05) 0%, transparent 65%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.cta-tag {
  text-align: center;
}

.cta-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--white);
  margin: 1rem 0 1.25rem;
}

.cta-sub {
  font-size: 1rem;
  color: rgba(248,249,251,.4);
  font-weight: 300;
  margin: 0 auto 2.5rem;
  max-width: 500px;
  line-height: 1.75;
}

.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #040C1A;
  border-top: 1px solid rgba(var(--accent-rgb),.08);
  padding: 64px 5vw 0;
}

.ft-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.ft-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
  text-decoration: none;
}

.ft-logo .logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid rgba(var(--accent-rgb),.2);
}

.ft-logo span {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  color: var(--white);
  line-height: 1.3;
}

.ft-desc {
  font-size: .82rem;
  color: var(--g600);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.ft-disclaimer {
  font-size: .72rem;
  color: rgba(82,89,106,.7);
  font-weight: 300;
  line-height: 1.6;
  font-style: italic;
}

.ft-ct {
  font-family: 'Sora', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: 1.25rem;
}

.ft-ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.ft-ul a {
  font-size: .83rem;
  color: var(--g600);
  font-weight: 300;
  transition: var(--t);
}

.ft-ul a:hover {
  color: var(--gold);
}

.ft-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0;
  font-size: .75rem;
  color: rgba(82,89,106,.6);
  font-weight: 300;
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-chat {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  background: #25D366;
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: .85rem;
  padding: 12px 20px;
  border-radius: 100px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: var(--t);
}

.whatsapp-chat:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,.5);
  background: #1EBE59;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4,12,26,.85);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.open {
  display: flex;
}

.mbox {
  background: var(--bg2);
  border: 1px solid rgba(var(--accent-rgb),.2);
  border-radius: var(--rXL);
  padding: 2.5rem;
  width: 100%;
  max-width: 460px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
  animation: modal-in .3s cubic-bezier(.4,0,.2,1);
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

.mcl {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255,255,255,.07);
  border: none;
  color: var(--g400);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: .85rem;
  transition: var(--t);
}

.mcl:hover {
  background: rgba(255,255,255,.12);
  color: var(--white);
}

.m-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .35rem;
}

.m-sub {
  font-size: .82rem;
  color: var(--g400);
  font-weight: 300;
  margin-bottom: 1.25rem;
}

.m-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--accent-rgb),.1);
  border: 1px solid rgba(var(--accent-rgb),.2);
  color: var(--gold2);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.ptabs {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.5rem;
  background: rgba(255,255,255,.04);
  border-radius: var(--r);
  padding: 4px;
}

.ptab {
  flex: 1;
  padding: 8px;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: var(--g400);
  font-family: 'Sora', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--t);
}

.ptab.on {
  background: var(--gold);
  color: var(--btnText);
}

.ppanel {
  display: none;
}

.ppanel.on {
  display: block;
}

.form-g {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.crypto-hint {
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  font-weight: 300;
  margin-bottom: 1.25rem;
}

.c-sel {
  display: flex;
  gap: .5rem;
  margin-bottom: 1rem;
}

.c-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 9px 6px;
  background: rgba(255,255,255,.04);
  border: 1.5px solid rgba(255,255,255,.08);
  border-radius: var(--r);
  color: var(--g400);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--t);
}

.c-btn.on {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(var(--accent-rgb),.08);
}

.c-sym {
  font-size: 1rem;
}

.net-badge {
  font-size: .75rem;
  color: var(--g400);
  font-weight: 300;
  margin-bottom: 1rem;
}

.w-box {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r);
  padding: 1rem 1.25rem;
}

.w-lbl {
  font-size: .7rem;
  color: var(--g600);
  font-weight: 300;
  margin-bottom: .5rem;
}

.w-addr {
  font-family: monospace;
  font-size: .8rem;
  color: var(--g200);
  word-break: break-all;
  margin-bottom: .75rem;
}

.copy-b {
  background: rgba(var(--accent-rgb),.1);
  border: 1px solid rgba(var(--accent-rgb),.2);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: var(--r);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--t);
}

.copy-b:hover {
  background: rgba(var(--accent-rgb),.2);
}

/* ============================================================
   RESPONSIVE — 900px
   ============================================================ */
@media (max-width: 900px) {

  nav {
    padding: 0 4vw;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .hero-inner {
    padding: 0 4vw;
  }

  .hero-left {
    padding: 60px 0 40px;
  }

  h1.hero-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .stats-bar-inner {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .sb-div {
    display: none;
  }

  .sb-item {
    flex: 0 0 calc(50% - 1rem);
  }

  .founder-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .founder-photo-wrap {
    max-width: 420px;
    margin: 0 auto;
    padding: 16px;
  }

  .founder-photo-wrap::after {
    right: 4px;
  }

  .founder-photo-frame {
    min-height: 380px;
  }

  .founder-bio {
    padding: 3rem 0 0;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,.05);
  }

  .founder-kpis {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .fkpi-sep {
    display: none;
  }

  .fkpi {
    flex: 0 0 calc(50% - .75rem);
  }

  .founder-desc {
    max-width: 100%;
  }

  .about-wrap {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-watermark {
    font-size: 8rem;
  }

  .offer-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .ft-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .ft-brand {
    grid-column: 1 / -1;
  }

  .ft-bot {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
  }

  .whatsapp-chat {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 10px 16px;
    font-size: .8rem;
  }

  section {
    padding: 80px 4vw;
  }

  .founder {
    padding: 80px 4vw;
  }

  .contact {
    padding: 80px 4vw;
  }

  .cta {
    padding: 90px 4vw;
  }
}

@media (max-width: 540px) {

  .stats-bar-inner {
    gap: 1.5rem;
  }

  .sb-item {
    flex: 0 0 100%;
  }

  .sb-val {
    font-size: 1.8rem;
  }

  .hero-btns {
    flex-direction: column;
  }

  .cta-btns {
    flex-direction: column;
    align-items: center;
  }

  .ft-grid {
    grid-template-columns: 1fr;
  }

  .mbox {
    padding: 1.75rem 1.25rem;
  }

  h1.hero-title {
    font-size: 2rem;
  }

  .cta-title {
    font-size: 1.75rem;
  }
}

/* ============================================================
   NOUVELLES CLASSES — MOD-04 / MOD-05 / MOD-06 / MOD-08
   ============================================================ */

/* MOD-04 : Certification label sobre */
.cert-label {
  font-size: .72rem;
  color: var(--green);
  letter-spacing: .06em;
  margin-top: .4rem;
  display: block;
}

/* MOD-05 : Fi-dot (remplace emojis dans feat-item) */
.fi-dot {
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
}

/* MOD-05 : Adv-dot (remplace emojis dans advantage) */
.adv-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

/* ─── PAYMENT — GeniusPay + NOWPayments ─────────────────────── */

.payment {
  background: var(--navy2);
  padding: 110px 5vw;
}

.pay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

.pay-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r);
  padding: 2.5rem;
  transition: var(--t);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pay-card:hover {
  border-color: rgba(var(--accent-rgb),.2);
}

.pay-hd {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.pay-ico {
  width: 52px;
  height: 52px;
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .03em;
  flex-shrink: 0;
}

.pay-ico--gp {
  background: rgba(var(--accent-rgb),.1);
  border: 1px solid rgba(var(--accent-rgb),.2);
  color: var(--gold);
}

.pay-ico--np {
  background: rgba(247,147,26,.08);
  border: 1px solid rgba(247,147,26,.2);
  color: #f7931a;
  font-size: 1.3rem;
}

.pay-n {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: .2rem;
}

.pay-s {
  font-size: .74rem;
  color: rgba(247,250,255,.38);
}

.pay-provider-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  color: rgba(247,250,255,.35);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r);
  padding: 5px 12px;
  margin-bottom: 1.25rem;
  width: fit-content;
}

.pay-provider-badge strong {
  color: rgba(247,250,255,.6);
}

.pay-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.pay-secure {
  color: var(--green);
}

.pay-desc {
  font-size: .86rem;
  color: rgba(247,250,255,.48);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.pay-order-summary {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.pay-order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .88rem;
  color: rgba(247,250,255,.75);
}

.pay-order-price {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: var(--gold);
  font-size: 1.1rem;
}

.pay-order-sub {
  margin-top: .3rem;
  font-size: .73rem;
  color: rgba(247,250,255,.32);
  font-weight: 300;
}

.pay-form {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  margin-bottom: 1rem;
}

.pay-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.f-in {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r);
  padding: 11px 14px;
  font-size: .88rem;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: var(--t);
  width: 100%;
  box-sizing: border-box;
}

.f-in::placeholder {
  color: rgba(255,255,255,.2);
}

.f-in:focus {
  border-color: rgba(var(--accent-rgb),.4);
  background: rgba(255,255,255,.07);
}

.btn-pay {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--gold);
  color: var(--btnText);
  border: none;
  cursor: pointer;
  padding: 14px;
  border-radius: var(--r);
  font-weight: 700;
  font-size: .92rem;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
  transition: var(--t);
  margin-bottom: .75rem;
}

.btn-pay:hover:not(:disabled) {
  background: var(--gold2);
  color: var(--btnText);
  box-shadow: 0 6px 24px rgba(var(--accent-rgb),.3);
  transform: translateY(-1px);
}

.btn-pay:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

.sec-note {
  text-align: center;
  font-size: .71rem;
  color: rgba(247,250,255,.28);
}

.crypto-tags {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.crypto-tag {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .05em;
  background: rgba(247,147,26,.08);
  border: 1px solid rgba(247,147,26,.2);
  color: #f7931a;
}

.crypto-tag--more {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.09);
  color: rgba(247,250,255,.38);
}

#nowpayments-widget {
  margin-bottom: 1.25rem;
  min-height: 60px;
}

.warn-box {
  padding: .9rem 1rem;
  background: rgba(255,165,0,.04);
  border: 1px solid rgba(255,165,0,.1);
  border-radius: var(--r);
  margin-bottom: 1rem;
}

.warn-title {
  font-size: .7rem;
  color: rgba(255,165,0,.65);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.warn-txt {
  font-size: .78rem;
  color: rgba(247,250,255,.38);
  line-height: 1.65;
  font-weight: 300;
}

.warn-txt a {
  color: var(--gold);
  text-decoration: none;
}

.dev-note {
  padding: .7rem 1rem;
  background: rgba(255,214,0,.03);
  border: 1px dashed rgba(255,214,0,.18);
  border-radius: var(--r);
  font-size: .7rem;
  color: rgba(255,214,0,.5);
  line-height: 1.6;
  margin-top: auto;
}

.dev-note code {
  background: rgba(255,255,255,.07);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: .68rem;
}
/* En production, décommenter :
.dev-note { display: none; } */

@media (max-width: 900px) {
  .pay-grid { grid-template-columns: 1fr; }
}

/* MOD-08 : Badge certification fondateur */
.badge-cert {
  background: rgba(34,214,138,.08);
  border: 1px solid rgba(34,214,138,.2);
  color: var(--green);
}
