:root {
  --navy:   #0D2456;
  --blue:   #2563EB;
  --blue-d: #1D4ED8;
  --bg:     #F6F4ED;
  --border: #E5E0D0;
  --text:   #0F1729;
  --mid:    #374151;
  --muted:  #6B7280;
  --r:      14px;
  --sh:     0 4px 20px rgba(0,0,0,.07), 0 2px 8px rgba(0,0,0,.04);
  --sh-lg:  0 20px 60px rgba(0,0,0,.10), 0 8px 24px rgba(0,0,0,.06);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text); line-height: 1.6; background: #fff; }
a { text-decoration: none; color: inherit; }
p { color: var(--mid); }

/* ── Nav ──────────────────────────────────────────────── */
.lp-nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.lp-nav-inner { max-width: 1100px; margin: 0 auto; padding: 16px 28px; display: flex; align-items: center; justify-content: space-between; }
.lp-logo { font-family: 'Inter', sans-serif; font-size: 1.2rem; font-weight: 700; letter-spacing: -.03em; color: var(--navy); }
.logo-ai { color: var(--blue); }
.logo-dash { color: #9CA3AF; }
.btn-nav-cta { font-size: .875rem; font-weight: 600; color: var(--blue); border: 1.5px solid var(--blue); border-radius: 8px; padding: 7px 16px; transition: all .2s; }
.btn-nav-cta:hover { background: var(--blue); color: #fff; }

/* ── Layout helpers ───────────────────────────────────── */
.lp-container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.lp-section { padding: 96px 0; }
.lp-eyebrow { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.lp-h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2rem, 3.5vw, 2.75rem); line-height: 1.15; color: var(--navy); margin-bottom: 48px; }
.lp-h2-sm { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.6rem, 2.5vw, 2.1rem); line-height: 1.2; color: var(--navy); margin-bottom: 20px; }

/* ── Hero ─────────────────────────────────────────────── */
.lp-hero { position: relative; padding: 120px 0 100px; overflow: hidden; background: #fff; text-align: center; }
.lp-hero .lp-container { position: relative; z-index: 2; }
.lp-badge { display: inline-flex; align-items: center; gap: 8px; background: #EFF6FF; color: var(--blue); font-size: .8125rem; font-weight: 600; border-radius: 999px; padding: 6px 16px; margin-bottom: 32px; }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.lp-h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1.08; color: var(--navy); margin-bottom: 28px; }
.lp-hero-sub { font-size: 1.125rem; color: var(--mid); max-width: 640px; margin: 0 auto 44px; line-height: 1.7; }
.lp-hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: var(--blue); color: #fff; font-weight: 600; font-size: .9375rem; padding: 14px 28px; border-radius: var(--r); transition: background .2s, transform .15s; }
.btn-primary:hover { background: var(--blue-d); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--navy); font-weight: 600; font-size: .9375rem; padding: 14px 28px; border-radius: var(--r); border: 1.5px solid var(--border); transition: border-color .2s, transform .15s; }
.btn-secondary:hover { border-color: var(--navy); transform: translateY(-1px); }
.lp-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .18; }
.o1 { width: 500px; height: 500px; background: #2563EB; top: -120px; right: -80px; }
.o2 { width: 400px; height: 400px; background: #059669; bottom: -80px; left: -60px; }

/* ── Stat bar ─────────────────────────────────────────── */
.lp-statbar { background: var(--navy); padding: 28px 0; }
.lp-statbar-inner { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 40px; color: rgba(255,255,255,.65); font-size: .8125rem; font-weight: 500; }
.stat-n { font-size: 1.5rem; font-weight: 700; color: #fff; }
.stat-sep { width: 1px; height: 44px; background: rgba(255,255,255,.15); }

/* ── Why ──────────────────────────────────────────────── */
.lp-why { background: var(--bg); }
.lp-cards3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.lp-card { background: #fff; border-radius: var(--r); padding: 32px; box-shadow: var(--sh); border: 1px solid var(--border); }
.lp-card { border-top: 3px solid var(--blue); }
.lp-card h3 { font-size: 1.0625rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.lp-card p { font-size: .9375rem; line-height: 1.65; }

/* ── How it works ─────────────────────────────────────── */
.lp-how { background: #fff; }
.lp-steps { display: flex; align-items: flex-start; gap: 0; flex-wrap: wrap; }
.lp-step { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 12px; padding: 0 24px; }
.step-num { font-size: 2.5rem; font-weight: 800; color: #DBEAFE; line-height: 1; font-variant-numeric: tabular-nums; }
.step-body h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step-body p { font-size: .9rem; }
.step-arrow { font-size: 1.5rem; color: #DBEAFE; padding: 0 4px; align-self: center; margin-top: -20px; }
@media (max-width: 768px) { .step-arrow { display: none; } .lp-step { padding: 16px 0; border-bottom: 1px solid var(--border); } }

/* ── Themes ───────────────────────────────────────────── */
.lp-themes { background: var(--bg); }
.themes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.theme-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 20px 22px; transition: box-shadow .2s, transform .2s; }
.theme-card:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.theme-card--custom { border-color: var(--blue); background: #EFF6FF; }
.theme-card strong { display: block; font-size: .9375rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.theme-card p { font-size: .875rem; line-height: 1.55; }

/* ── Format ───────────────────────────────────────────── */
.lp-format { background: var(--navy); }
.lp-format .lp-eyebrow { color: #93C5FD; }
.lp-format .lp-h2 { color: #fff; }
.format-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.format-block { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 28px; }
.format-block h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.format-block p { font-size: .9rem; color: rgba(255,255,255,.65); line-height: 1.65; }

/* ── AI Act ───────────────────────────────────────────── */
.lp-aiact { background: #fff; }
.lp-aiact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.aiact-text p { font-size: .9375rem; line-height: 1.7; margin-bottom: 16px; }
.aiact-text strong { color: var(--navy); }
.aiact-list { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.aiact-list li { font-size: .9375rem; font-weight: 600; color: #059669; }
.cert-mock { background: #fff; border: 2px solid var(--border); border-radius: 16px; padding: 32px; box-shadow: var(--sh-lg); }
.cert-header { border-bottom: 1px solid var(--border); padding-bottom: 16px; margin-bottom: 24px; }
.cert-logo { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: -.02em; color: var(--navy); }
.cert-body { text-align: center; padding: 8px 0 24px; }
.cert-label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin-bottom: 12px; }
.cert-name { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--navy); margin-bottom: 6px; }
.cert-module { font-size: .875rem; color: var(--muted); }
.cert-title { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.1rem; color: var(--navy); margin: 6px 0 12px; }
.cert-date { font-size: .8125rem; color: var(--muted); }
.cert-footer { border-top: 1px solid var(--border); padding-top: 14px; display: flex; justify-content: space-between; font-size: .7rem; color: var(--muted); font-weight: 500; }
@media (max-width: 860px) { .lp-aiact-inner { grid-template-columns: 1fr; } }

/* ── CTA Final ────────────────────────────────────────── */
.lp-cta-final { background: linear-gradient(135deg, #1D4ED8 0%, #0D2456 100%); text-align: center; }
.lp-cta-final-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.lp-h2-white { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.8rem, 3.5vw, 2.5rem); color: #fff; margin-bottom: 0; line-height: 1.2; }
.lp-cta-final p { color: rgba(255,255,255,.7); font-size: 1.0625rem; max-width: 480px; }
.cta-final-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.btn-white { background: #fff; color: var(--blue); font-weight: 700; font-size: .9375rem; padding: 14px 28px; border-radius: var(--r); transition: transform .2s, box-shadow .2s; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.btn-outline-white { background: transparent; color: #fff; font-weight: 600; font-size: .9375rem; padding: 14px 28px; border-radius: var(--r); border: 1.5px solid rgba(255,255,255,.4); transition: border-color .2s; }
.btn-outline-white:hover { border-color: #fff; }

/* ── Footer ───────────────────────────────────────────── */
.lp-footer { background: var(--navy); padding: 48px 0; text-align: center; }
.lp-footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lp-footer-logo { font-family: 'Inter', sans-serif; font-size: 1.25rem; font-weight: 700; letter-spacing: -.03em; color: #fff; }
.lp-footer p { color: rgba(255,255,255,.55); font-size: .9rem; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.footer-links a { color: rgba(255,255,255,.55); font-size: .875rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-copy { color: rgba(255,255,255,.35) !important; font-size: .8rem !important; margin-top: 12px; }

/* ── Animations au scroll ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* La carte certificat arrive avec une touche de profondeur */
.cert-mock.reveal { transform: translateY(28px) scale(.97); }
.cert-mock.reveal.in { transform: none; }

/* Parallax orbes : pas de transition (piloté par le scroll en JS) */
.lp-orbs .orb { transition: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
