/* ============================================================
   TalentIA — Marketplace d'experts IA certifiés
   Design tokens + composants
   ============================================================ */

:root {
  /* Couleurs — thème sombre par défaut */
  --bg:            #0D1117;
  --bg-soft:       #0F151D;
  --surface:       #161B22;
  --surface-2:     #1B2230;
  --surface-3:     #222B3A;
  --border:        rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text:          #E9EEF5;
  --text-soft:     #AEB8C6;
  --text-mute:     #6E7A8A;

  /* Accent — dégradé violet → bleu (pilotable par Tweaks) */
  --accent:        #6C63FF;
  --accent-2:      #2563EB;
  --accent-soft:   rgba(108, 99, 255, 0.14);
  --accent-ring:   rgba(108, 99, 255, 0.32);
  --grad: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);

  /* Or / ambre — éléments de valeur */
  --gold:          #F59E0B;
  --gold-soft:     rgba(245, 158, 11, 0.14);

  --green:         #34D399;
  --red:           #F87171;

  /* Typographie */
  --font-head: "Space Grotesk", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  /* Rythme */
  --maxw: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --gut: 24px;
  --section-y: 120px;

  /* Motif de fond (intensité pilotable) */
  --pattern-opacity: 1;

  color-scheme: dark;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
::selection { background: var(--accent-ring); color: #fff; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; }
.section { padding-block: var(--section-y); position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--accent); display: inline-block; }
.section-head { max-width: 660px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin: 18px 0 14px; }
.section-head p { color: var(--text-soft); font-size: 18px; }

.text-grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15px; padding: 13px 22px;
  border-radius: 12px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 24px -8px var(--accent-ring), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover { box-shadow: 0 12px 30px -8px var(--accent-ring), inset 0 1px 0 rgba(255,255,255,0.25); transform: translateY(-1px); }
.btn-ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--border-strong); }
.btn-ghost:hover { background: var(--surface-3); border-color: var(--accent); }
.btn-gold { background: var(--gold); color: #1a1206; box-shadow: 0 8px 24px -8px var(--gold-soft); }
.btn-gold:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-link { color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.btn-link .arrow { transition: transform .2s ease; }
.btn-link:hover .arrow { transform: translateX(4px); }

/* ---------- Bannière démo ---------- */
.demo-banner {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--gold-soft); border-bottom: 1px solid rgba(245,158,11,0.25);
  color: var(--gold); font-size: 13.5px; padding: 10px 20px; text-align: center;
  flex-wrap: wrap;
}
.demo-banner svg { flex-shrink: 0; }
.demo-banner strong { color: #fff; font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad);
  display: grid; place-items: center; color: #fff; font-size: 17px; font-weight: 700;
  box-shadow: 0 6px 18px -6px var(--accent-ring), inset 0 1px 0 rgba(255,255,255,.3);
}
.brand .mark span { transform: translateY(-0.5px); }
.brand b { font-weight: 700; }
.brand b i { font-style: normal; color: var(--accent); }
.nav-links { display: flex; gap: 26px; margin-left: 14px; }
.nav-links a { color: var(--text-soft); font-weight: 500; font-size: 15px; transition: color .15s ease; position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.nav-toggle { display: none; }

/* ---------- Fond à motif (grille de points + halos) ---------- */
.bg-fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bg-grid {
  position: absolute; inset: -2px;
  background-image: radial-gradient(circle at center, rgba(255,255,255,0.05) 1px, transparent 1.4px);
  background-size: 30px 30px;
  opacity: calc(0.5 * var(--pattern-opacity));
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 25%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 25%, transparent 75%);
}
.glow {
  position: absolute; border-radius: 50%; filter: blur(80px);
  opacity: calc(0.5 * var(--pattern-opacity));
}
.glow-a { width: 520px; height: 520px; background: radial-gradient(circle, var(--accent) 0%, transparent 65%); top: -180px; left: -120px; }
.glow-b { width: 440px; height: 440px; background: radial-gradient(circle, var(--accent-2) 0%, transparent 65%); top: -120px; right: -100px; opacity: calc(0.42 * var(--pattern-opacity)); }
.glow-c { width: 300px; height: 300px; background: radial-gradient(circle, var(--gold) 0%, transparent 65%); top: 220px; right: 10%; opacity: calc(0.14 * var(--pattern-opacity)); }

/* ---------- HERO ---------- */
.hero { padding-top: 76px; padding-bottom: 96px; position: relative; }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 8px;
  background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 100px;
  font-size: 13px; color: var(--text-soft); margin-bottom: 26px; white-space: nowrap;
}
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52,211,153,.18); }
.hero-pill b { color: var(--text); font-weight: 600; }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); letter-spacing: -0.03em; }
.hero h1 .text-grad { display: inline; }
.hero-sub { font-size: clamp(17px, 2vw, 20px); color: var(--text-soft); margin: 24px 0 34px; max-width: 540px; }

/* barre de recherche */
.search {
  display: flex; align-items: center; gap: 8px; padding: 8px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 16px;
  box-shadow: 0 24px 60px -30px rgba(0,0,0,.8);
  max-width: 560px;
}
.search-field { flex: 1; display: flex; align-items: center; gap: 10px; padding: 8px 12px; min-width: 0; }
.search-field svg { flex-shrink: 0; color: var(--text-mute); }
.search input {
  flex: 1; min-width: 0; background: none; border: none; outline: none;
  color: var(--text); font-size: 15px; font-family: inherit;
}
.search input::placeholder { color: var(--text-mute); }
.search-sep { width: 1px; align-self: stretch; background: var(--border); margin-block: 4px; }
.search select {
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-soft);
  font-family: inherit; font-size: 14px; padding: 10px 12px; border-radius: 10px; outline: none;
  cursor: pointer;
}
.search .btn { padding: 12px 18px; }

.hero-trust { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.hero-trust .stat .n { font-family: var(--font-head); font-size: 30px; font-weight: 700; }
.hero-trust .stat .n.gold { color: var(--gold); }
.hero-trust .stat .l { font-size: 14px; color: var(--text-soft); }
.hero-trust .stat + .stat { padding-left: 34px; border-left: 1px solid var(--border); }

/* visuel hero — panneau produit */
.hero-visual { position: relative; }
.hero-card {
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: 0 40px 90px -40px rgba(0,0,0,.85);
  position: relative; z-index: 2;
}
.hc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hc-top .label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); font-weight: 600; }
.hc-dots { display: flex; gap: 6px; }
.hc-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); display: block; }
.match-card {
  display: flex; gap: 14px; align-items: center; padding: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
}
.match-card + .match-card { margin-top: 12px; }
.match-card.lead { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-ring), 0 16px 40px -22px var(--accent-ring); background: linear-gradient(180deg, var(--accent-soft), var(--surface)); }
.avatar {
  width: 50px; height: 50px; border-radius: 13px; flex-shrink: 0;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 18px; color: #fff;
}
.av-1 { background: linear-gradient(135deg, #6C63FF, #2563EB); }
.av-2 { background: linear-gradient(135deg, #F59E0B, #EA580C); color: #1a1206; }
.av-3 { background: linear-gradient(135deg, #10B981, #059669); }
.av-4 { background: linear-gradient(135deg, #EC4899, #8B5CF6); }
.av-5 { background: linear-gradient(135deg, #38BDF8, #6366F1); }
.match-info { flex: 1; min-width: 0; }
.match-info .nm { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 7px; }
.match-info .sp { font-size: 13px; color: var(--text-soft); }
.match-score { text-align: right; flex-shrink: 0; }
.match-score .pct { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--green); }
.match-score .pl { font-size: 11px; color: var(--text-mute); text-transform: uppercase; letter-spacing: .08em; }
.badge-cert {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600;
  color: var(--gold); background: var(--gold-soft); padding: 3px 9px; border-radius: 100px;
}
.hc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-soft); }
.float-chip {
  position: absolute; z-index: 3; background: var(--surface-2);
  border: 1px solid var(--border-strong); border-radius: 13px; padding: 12px 15px;
  box-shadow: 0 20px 50px -24px rgba(0,0,0,.9); display: flex; align-items: center; gap: 11px;
  animation: floaty 5s ease-in-out infinite;
}
.float-chip .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; }
.float-chip .ic.violet { background: var(--accent-soft); color: var(--accent); }
.float-chip .ic.gold { background: var(--gold-soft); color: var(--gold); }
.float-chip .ft { font-size: 12px; color: var(--text-mute); }
.float-chip .fn { font-weight: 600; font-size: 14px; }
.chip-1 { top: -26px; right: -18px; }
.chip-2 { bottom: -24px; left: -22px; animation-delay: -2.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Bandeau logos / confiance ---------- */
.logos { padding-block: 36px; border-block: 1px solid var(--border); }
.logos-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.logos-row .lbl { font-size: 13px; color: var(--text-mute); margin-right: 8px; }
.logo-ghost { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--text-mute); opacity: .7; letter-spacing: -0.01em; }

/* ---------- Catégories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cat-card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.cat-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .25s ease;
  background: radial-gradient(120% 100% at 0% 0%, var(--accent-soft), transparent 55%);
}
.cat-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.cat-card:hover::before { opacity: 1; }
.cat-card > * { position: relative; z-index: 1; }
.cat-ic { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); color: var(--accent); margin-bottom: 20px; transition: background .22s ease, color .22s ease; }
.cat-card:hover .cat-ic { background: var(--grad); color: #fff; border-color: transparent; }
.cat-card h3 { font-size: 21px; margin-bottom: 8px; }
.cat-card p { color: var(--text-soft); font-size: 15px; margin-bottom: 22px; }
.cat-foot { display: flex; align-items: center; justify-content: space-between; }
.cat-count { font-size: 13px; color: var(--text-mute); }
.cat-count b { color: var(--text); font-weight: 600; }

/* ---------- Comment ça marche ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.step { position: relative; }
.step-num {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 22px; color: #fff;
  background: var(--surface-2); border: 1px solid var(--border-strong); margin-bottom: 22px;
  position: relative;
}
.step:nth-child(1) .step-num { background: var(--grad); border-color: transparent; }
.step-ic { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 8px; background: var(--bg); border: 1px solid var(--border-strong); display: grid; place-items: center; color: var(--accent); }
.step h3 { font-size: 20px; margin-bottom: 9px; }
.step p { color: var(--text-soft); font-size: 15px; }
.step-line { position: absolute; top: 27px; left: 64px; right: -24px; height: 1px; background: linear-gradient(90deg, var(--border-strong), transparent); }
.step:last-child .step-line { display: none; }

/* ---------- Experts ---------- */
.expert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.expert-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; transition: transform .22s ease, border-color .22s ease;
  display: flex; flex-direction: column;
}
.expert-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.ex-top { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 16px; }
.ex-avatar { width: 56px; height: 56px; border-radius: 15px; }
.ex-name { font-family: var(--font-head); font-weight: 600; font-size: 17px; }
.ex-role { font-size: 13px; color: var(--text-soft); margin-top: 2px; }
.ex-cert { margin-top: 9px; }
.ex-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.tag { font-size: 12px; font-weight: 500; color: var(--text-soft); background: var(--surface-2); border: 1px solid var(--border); padding: 5px 10px; border-radius: 8px; }
.ex-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; margin-top: auto; padding-top: 4px; }
.ex-rating { display: flex; align-items: center; gap: 5px; font-weight: 600; font-size: 14px; }
.ex-rating svg { color: var(--gold); }
.ex-missions { font-size: 13px; color: var(--text-mute); }
.ex-card .btn { width: 100%; }

/* ---------- Pourquoi ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: linear-gradient(180deg, var(--surface), var(--bg-soft)); }
.why-ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; background: var(--accent-soft); color: var(--accent); }
.why-card:nth-child(2) .why-ic { background: var(--gold-soft); color: var(--gold); }
.why-card h3 { font-size: 19px; margin-bottom: 9px; }
.why-card p { color: var(--text-soft); font-size: 14.5px; }

/* ---------- Témoignages ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column;
}
.quote .mark { font-family: var(--font-head); font-size: 50px; line-height: .6; color: var(--accent); opacity: .5; height: 26px; }
.quote p { font-size: 16px; color: var(--text); margin-bottom: 24px; flex: 1; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who .avatar { width: 44px; height: 44px; border-radius: 12px; font-size: 16px; }
.quote .who .nm { font-weight: 600; font-size: 14px; }
.quote .who .ro { font-size: 13px; color: var(--text-soft); }

/* ---------- Double CTA ---------- */
.cta-final { position: relative; }
.cta-box {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(110% 140% at 0% 0%, var(--accent-soft), transparent 55%),
    radial-gradient(110% 140% at 100% 100%, var(--gold-soft), transparent 55%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  padding: clamp(40px, 6vw, 72px);
}
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.cta-box h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 14px; }
.cta-box p { color: var(--text-soft); font-size: 17px; max-width: 460px; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; }
.cta-actions .row { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-note { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--text-soft); }
.cta-card-sel { display: flex; flex-direction: column; gap: 14px; }
.cta-opt {
  display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border); transition: border-color .2s ease, transform .2s ease;
}
.cta-opt:hover { border-color: var(--accent); transform: translateX(4px); }
.cta-opt .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.cta-opt .ic.violet { background: var(--grad); color: #fff; }
.cta-opt .ic.gold { background: var(--gold); color: #1a1206; }
.cta-opt .tx { flex: 1; }
.cta-opt .tx b { display: block; font-family: var(--font-head); font-size: 17px; font-weight: 600; }
.cta-opt .tx span { font-size: 13.5px; color: var(--text-soft); }
.cta-opt .go { color: var(--text-mute); transition: color .2s, transform .2s; }
.cta-opt:hover .go { color: var(--accent); transform: translateX(3px); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding-block: 64px 36px; background: var(--bg-soft); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.foot-brand .brand { margin-bottom: 16px; }
.foot-brand p { color: var(--text-soft); font-size: 15px; max-width: 300px; margin-bottom: 20px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-soft); transition: border-color .2s, color .2s, background .2s; }
.socials a:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.foot-col h4 { font-family: var(--font-body); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 16px; font-weight: 600; }
.foot-col a { display: block; color: var(--text-soft); font-size: 15px; padding: 6px 0; transition: color .15s; }
.foot-col a:hover { color: var(--text); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 14px; }
.foot-bottom p { font-size: 14px; color: var(--text-mute); }
.foot-bottom .acad { font-size: 14px; color: var(--text-soft); }
.foot-bottom .acad b { color: var(--text); }

/* ---------- Placeholder image utility ---------- */
.ph {
  background-color: var(--surface-2);
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 10px, transparent 10px 20px);
  border: 1px dashed var(--border-strong); border-radius: 12px;
  display: grid; place-items: center;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; color: var(--text-mute);
  text-align: center; padding: 10px;
}

/* ============================================================
   VARIANTE HERO CLAIR  (déclenchée par .hero--light)
   ============================================================ */
.hero--light {
  --l-bg: #F7F8FB;
  --l-surface: #FFFFFF;
  --l-text: #0D1117;
  --l-soft: #4A5567;
  --l-mute: #8A93A3;
  --l-border: rgba(13,17,23,0.08);
  --l-border-strong: rgba(13,17,23,0.14);
  background: var(--l-bg);
  border-bottom: 1px solid var(--l-border);
}
.hero--light .bg-grid { background-image: radial-gradient(circle at center, rgba(13,17,23,0.06) 1px, transparent 1.4px); }
.hero--light .glow-a, .hero--light .glow-b { opacity: calc(0.22 * var(--pattern-opacity)); }
.hero--light .glow-c { opacity: calc(0.1 * var(--pattern-opacity)); }
.hero--light h1, .hero--light .hero-trust .stat .n { color: var(--l-text); }
.hero--light .hero-sub, .hero--light .hero-trust .stat .l { color: var(--l-soft); }
.hero--light .hero-pill { background: var(--l-surface); border-color: var(--l-border-strong); color: var(--l-soft); }
.hero--light .hero-pill b { color: var(--l-text); }
.hero--light .hero-trust .stat + .stat { border-color: var(--l-border); }
.hero--light .search { background: var(--l-surface); border-color: var(--l-border-strong); box-shadow: 0 24px 60px -34px rgba(13,17,23,.25); }
.hero--light .search input { color: var(--l-text); }
.hero--light .search input::placeholder { color: var(--l-mute); }
.hero--light .search-field svg { color: var(--l-mute); }
.hero--light .search-sep { background: var(--l-border); }
.hero--light .search select { background: var(--l-bg); border-color: var(--l-border); color: var(--l-soft); }
.hero--light .hero-card { background: linear-gradient(165deg, #fff, #F2F4F8); border-color: var(--l-border-strong); box-shadow: 0 40px 90px -44px rgba(13,17,23,.3); }
.hero--light .hc-top .label, .hero--light .hc-foot { color: var(--l-mute); }
.hero--light .hc-foot { border-color: var(--l-border); color: var(--l-soft); }
.hero--light .match-card { background: #fff; border-color: var(--l-border); }
.hero--light .match-card.lead { background: linear-gradient(180deg, var(--accent-soft), #fff); }
.hero--light .match-info .nm { color: var(--l-text); }
.hero--light .match-info .sp { color: var(--l-soft); }
.hero--light .float-chip { background: #fff; border-color: var(--l-border-strong); box-shadow: 0 20px 50px -28px rgba(13,17,23,.3); }
.hero--light .float-chip .fn { color: var(--l-text); }
.hero--light .hc-dots i { background: var(--l-border-strong); }

/* ============================================================
   DENSITÉ COMPACTE
   ============================================================ */
body.density-compact { --section-y: 84px; }
body.density-compact .section-head { margin-bottom: 40px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  :root { --section-y: 90px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 480px; }
  .cat-grid, .expert-grid, .why-grid, .quotes, .steps { grid-template-columns: repeat(2, 1fr); }
  .step-line { display: none; }
  .cta-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-brand { grid-column: 1 / -1; }
  .nav-links { display: none; }
}
@media (max-width: 720px) {
  .wrap { padding-inline: 20px; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: grid; place-items: center; margin-left: auto; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border-strong); }
  .nav-cta { margin-left: 0; }
  .hero { padding-top: 48px; }
  .search { flex-wrap: wrap; }
  .search-field { flex-basis: 100%; }
  .search-sep { display: none; }
  .search select { flex: 1; }
  .cat-grid, .expert-grid, .why-grid, .quotes, .steps { grid-template-columns: 1fr; }
  .hero-trust .stat + .stat { padding-left: 0; border-left: none; }
  .float-chip { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
}
