/* ── TOKENS ── */
:root {
  --primary:    #0A2463;
  --accent:     #3E92CC;
  --accent2:    #00D4AA;
  --bg:         #FFFFFF;
  --bg-alt:     #F4F7FB;
  --bg-dark:    #06142E;
  --text:       #1A1A2E;
  --muted:      #6B7280;
  --border:     rgba(10,36,99,0.10);
  --radius:     14px;
  --shadow:     0 4px 28px rgba(10,36,99,0.11);
  --shadow-lg:  0 12px 48px rgba(10,36,99,0.18);
  --max:        1160px;
  --font-head:  'Syne', system-ui, sans-serif;
  --font-body:  'DM Sans', system-ui, sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── LAYOUT ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark {
  background: var(--bg-dark);
  color: #fff;
  --border: rgba(255,255,255,0.10);
  --muted: rgba(255,255,255,0.60);
}

/* ── TYPOGRAPHY ── */
.h1 { font-family: var(--font-head); font-size: clamp(38px, 6vw, 62px); line-height: 1.04; font-weight: 800; letter-spacing: -0.03em; }
.h2 { font-family: var(--font-head); font-size: clamp(28px, 4vw, 42px); line-height: 1.1;  font-weight: 700; letter-spacing: -0.02em; }
.h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.lead { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 60ch; line-height: 1.65; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); background: rgba(62,146,204,0.10);
  padding: 6px 14px; border-radius: 999px;
}
.small { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; font-family: var(--font-body);
  font-size: 15px; font-weight: 700; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn.primary { background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); background: #0d2e7a; }
.btn.ghost  { background: transparent; border-color: var(--border); color: var(--text); }
.btn.ghost:hover { background: var(--bg-alt); transform: translateY(-2px); }
.btn.accent { background: var(--accent2); color: var(--bg-dark); }
.btn.accent:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── CARDS ── */
.card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card.accent-border { border-color: var(--accent2); border-width: 2px; }

/* ── BADGE ── */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 16px; font-size: 14px; font-weight: 600;
}
.badge b { font-size: 22px; color: var(--primary); font-family: var(--font-head); }

/* ── GRID ── */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

/* ── SCROLL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
/* stagger: nth-child delays via CSS */
.stagger .reveal:nth-child(1)  { transition-delay: 0ms; }
.stagger .reveal:nth-child(2)  { transition-delay: 80ms; }
.stagger .reveal:nth-child(3)  { transition-delay: 160ms; }
.stagger .reveal:nth-child(4)  { transition-delay: 240ms; }
.stagger .reveal:nth-child(5)  { transition-delay: 320ms; }
.stagger .reveal:nth-child(6)  { transition-delay: 400ms; }
.stagger .reveal:nth-child(7)  { transition-delay: 480ms; }
.stagger .reveal:nth-child(8)  { transition-delay: 560ms; }
.stagger .reveal:nth-child(9)  { transition-delay: 640ms; }
.stagger .reveal:nth-child(10) { transition-delay: 720ms; }
.stagger .reveal:nth-child(11) { transition-delay: 800ms; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(180%) blur(16px);
  background: rgba(255,255,255,0.78);
  border-bottom: 1px solid rgba(10,36,99,0.07);
}
.navbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand  { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 17px; color: var(--primary); }
.logo   {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent2) 100%);
  box-shadow: 0 2px 12px rgba(10,36,99,0.25);
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-family: var(--font-head); font-weight: 900; font-size: 14px;
}
.navlinks { display: flex; gap: 24px; align-items: center; }
.navlinks a { font-weight: 600; font-size: 15px; color: rgba(26,26,46,0.80); transition: color .15s; }
.navlinks a:hover { color: var(--primary); }
.navlinks .btn { padding: 9px 18px; font-size: 14px; }
.hamb { display: none; padding: 8px 12px; }
#mobile { display: none; padding: 8px 0 16px; border-top: 1px solid var(--border); }
#mobile a { display: block; padding: 11px 0; font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--border); }
#mobile.open { display: block; }
@media (max-width: 860px) { .navlinks { display: none; } .hamb { display: inline-flex; } }

/* ── HERO ── */
.hero {
  padding: 80px 0 64px;
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #06142E 0%, #0A2463 60%, #0d3080 100%);
  color: #fff;
}
/* Motif géométrique grille en fond */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
/* Blob cyan coin haut droite */
.hero::after {
  content: "";
  position: absolute; top: -120px; right: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(0,212,170,0.22) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center;
}
.hero .kicker { background: rgba(0,212,170,0.15); color: var(--accent2); }
.hero .h1 { margin-top: 14px; color: #fff; }
.hero .lead { color: rgba(255,255,255,0.72); margin-top: 12px; }
.hero .btns { margin-top: 20px; }
.hero .badge { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14); color: #fff; }
.hero .badge b { color: var(--accent2); }
.hero-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); backdrop-filter: blur(10px); padding: 28px;
}
.hero-card .h3 { color: #fff; margin-bottom: 12px; }
.hero-card ul { padding-left: 18px; color: rgba(255,255,255,0.68); }
.hero-card ul li { margin: 8px 0; font-size: 15px; }
.hero-card .badge { margin-top: 16px; }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; } }

/* ── AGENTS ── */
.agent-card {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.agent-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent2); }
.avatar {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 17px;
  box-shadow: 0 4px 12px rgba(10,36,99,0.20);
}
.agent-card.alt .avatar { background: linear-gradient(135deg, #0A6646, var(--accent2)); }
.agent-card h3 { font-family: var(--font-head); font-size: 16px; font-weight: 700; }
.agent-card p  { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ── STEPS ── */
.step { display: flex; gap: 18px; align-items: flex-start; }
.step-num {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.step-body h3 { margin-bottom: 4px; }

/* ── GUARANTEES ── */
.guarantee {
  display: flex; align-items: center; gap: 12px;
  padding: 16px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.guarantee .icon {
  font-size: 22px; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,212,170,0.10); border-radius: 10px; flex-shrink: 0;
}

/* ── SECTORS ── */
.sector-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--border);
  font-size: 14px; font-weight: 600; transition: border-color .18s, background .18s;
}
.sector-pill:hover { border-color: var(--accent); background: rgba(62,146,204,0.06); }

/* ── FOOTER ── */
.footer {
  padding: 36px 0; border-top: 1px solid var(--border);
  background: var(--bg-dark); color: rgba(255,255,255,0.60);
}
.footer a { color: rgba(255,255,255,0.80); }
.footer a:hover { color: var(--accent2); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
