@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&display=swap");

/* Tokens — thème par défaut : Aurora mesh (charte logo, dégradé foncé → cyan saturé) */
:root,
html[data-theme="aurora"] {
  --navy: #02122c;
  --navy-2: #041c48;
  --cyan: #0094cc;
  --blue: #0153ff;
  --blue-dark: #002eb8;
  --grad: linear-gradient(90deg, #002eb8 0%, #0153ff 48%, #0094cc 100%);
  --ink: #1a2332;
  --heading: #02122c;
  --muted: #5b6b7c;
  --line: #dbe4ef;
  --bg: #eef3f9;
  --surface: #ffffff;
  --ok: #059669;
  --radius: 16px;
  --btn-radius: 999px;
  --shadow: 0 12px 32px rgba(2, 18, 44, 0.08);
  --btn-shadow: 0 10px 28px color-mix(in srgb, var(--blue) 35%, transparent);
  --font: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --display: "Source Serif 4", Georgia, serif;
  --header-bg: rgba(255, 255, 255, 0.86);
  --hero-bg:
    radial-gradient(900px 420px at 88% -8%, rgba(0,148,204,.32), transparent 52%),
    radial-gradient(640px 340px at 8% 108%, rgba(1,83,255,.38), transparent 50%),
    linear-gradient(165deg, #02122c 0%, #041c48 52%, #012a6e 100%);
  --page-band-bg:
    radial-gradient(700px 280px at 90% 0%, rgba(0,148,204,.28), transparent 55%),
    linear-gradient(165deg, #02122c 0%, #041c48 50%, #0153ff 160%);
  --blur: 0px;
  --border-w: 1px;
  --offset: 0px;
}

html[data-theme="saas"] {
  --navy: #0f172a;
  --navy-2: #1e293b;
  --cyan: #38bdf8;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --grad: linear-gradient(90deg, #1d4ed8 0%, #2563eb 55%, #0ea5e9 100%);
  --ink: #0f172a;
  --heading: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --surface: #ffffff;
  --radius: 14px;
  --btn-radius: 999px;
  --shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
  --display: "Source Sans 3", system-ui, sans-serif;
  --header-bg: rgba(248, 250, 252, 0.9);
  --hero-bg: linear-gradient(180deg, #0f172a 0%, #1e3a8a 100%);
  --page-band-bg: linear-gradient(180deg, #0f172a, #1d4ed8);
}

html[data-theme="nuit"] {
  --navy: #070b14;
  --navy-2: #c5d4ee;
  --cyan: #22d3ee;
  --blue: #60a5fa;
  --blue-dark: #3b82f6;
  --grad: linear-gradient(90deg, #1d4ed8 0%, #2563eb 40%, #0891b2 100%);
  --ink: #e8eef8;
  --heading: #f4f7ff;
  --muted: #9aa8bc;
  --line: #243044;
  --bg: #070b14;
  --surface: #121826;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --header-bg: rgba(7, 11, 20, 0.88);
  --hero-bg:
    radial-gradient(700px 380px at 80% 0%, rgba(34,211,238,.18), transparent 50%),
    radial-gradient(500px 280px at 10% 100%, rgba(37,99,235,.28), transparent 50%),
    #070b14;
  --page-band-bg: linear-gradient(165deg, #070b14, #0b1c3a);
}

html[data-theme="bento"] {
  --navy: #111827;
  --navy-2: #1f2937;
  --cyan: #22d3ee;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --grad: linear-gradient(90deg, #1e3a8a 0%, #2563eb 50%, #0284c7 100%);
  --ink: #111827;
  --heading: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #f3f4f6;
  --surface: #ffffff;
  --radius: 24px;
  --btn-radius: 14px;
  --shadow: none;
  --display: "Source Sans 3", system-ui, sans-serif;
  --header-bg: #f3f4f6;
  --hero-bg: linear-gradient(135deg, #111827 0%, #1e3a8a 100%);
  --page-band-bg: #111827;
}

html[data-theme="glass"] {
  --navy: #0b1b33;
  --navy-2: #163152;
  --cyan: #38bdf8;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --grad: linear-gradient(90deg, #1e40af 0%, #2563eb 50%, #0284c7 100%);
  --ink: #0b1b33;
  --heading: #0b1b33;
  --muted: #5b6b7c;
  --line: rgba(255,255,255,.45);
  --bg: #d7e6f5;
  --surface: rgba(255,255,255,.62);
  --radius: 20px;
  --btn-radius: 14px;
  --shadow: 0 8px 32px rgba(11, 27, 51, 0.08);
  --header-bg: rgba(255,255,255,.45);
  --hero-bg:
    radial-gradient(800px 400px at 90% 0%, rgba(56,189,248,.35), transparent 50%),
    linear-gradient(160deg, #0b1b33, #163152);
  --page-band-bg: linear-gradient(160deg, #0b1b33, #1e3a8a);
  --blur: 16px;
}

html[data-theme="editorial"] {
  --navy: #1c1917;
  --navy-2: #292524;
  --cyan: #0e7490;
  --blue: #1d4ed8;
  --blue-dark: #1e3a8a;
  --grad: linear-gradient(90deg, #1e3a8a 0%, #1d4ed8 60%, #0e7490 100%);
  --ink: #1c1917;
  --heading: #1c1917;
  --muted: #57534e;
  --line: #e7e5e4;
  --bg: #f7f4ee;
  --surface: #fffcf7;
  --radius: 4px;
  --btn-radius: 2px;
  --shadow: none;
  --font: "Source Serif 4", Georgia, serif;
  --display: "Source Serif 4", Georgia, serif;
  --header-bg: #f7f4ee;
  --hero-bg: #1c1917;
  --page-band-bg: #1c1917;
}

html[data-theme="clay"] {
  --navy: #1e293b;
  --navy-2: #334155;
  --cyan: #38bdf8;
  --blue: #3b82f6;
  --blue-dark: #2563eb;
  --grad: linear-gradient(90deg, #1d4ed8 0%, #3b82f6 55%, #0ea5e9 100%);
  --ink: #1e293b;
  --heading: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #eef2ff;
  --surface: #ffffff;
  --radius: 28px;
  --btn-radius: 999px;
  --shadow: 0 10px 0 rgba(37, 99, 235, 0.08), 0 18px 40px rgba(30, 41, 59, 0.08);
  --display: "Source Sans 3", system-ui, sans-serif;
  --header-bg: rgba(238, 242, 255, 0.9);
  --hero-bg: linear-gradient(160deg, #1e293b, #312e81);
  --page-band-bg: linear-gradient(160deg, #1e293b, #3730a3);
}

html[data-theme="spotlight"] {
  --navy: #020617;
  --navy-2: #0f172a;
  --cyan: #38bdf8;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --grad: linear-gradient(90deg, #1e3a8a 0%, #2563eb 50%, #0284c7 100%);
  --ink: #0f172a;
  --heading: #020617;
  --muted: #475569;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --surface: #ffffff;
  --radius: 8px;
  --btn-radius: 8px;
  --shadow: 0 24px 60px rgba(2, 6, 23, 0.12);
  --display: "Source Sans 3", system-ui, sans-serif;
  --header-bg: rgba(255,255,255,.92);
  --hero-bg:
    radial-gradient(520px 320px at 70% 30%, rgba(37,99,235,.55), transparent 55%),
    #020617;
  --page-band-bg: #020617;
}

html[data-theme="neo"] {
  --navy: #111827;
  --navy-2: #111827;
  --cyan: #38bdf8;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --grad: linear-gradient(90deg, #1d4ed8 0%, #2563eb 100%);
  --ink: #111827;
  --heading: #111827;
  --muted: #4b5563;
  --line: #111827;
  --bg: #fefce8;
  --surface: #ffffff;
  --radius: 0px;
  --btn-radius: 0px;
  --shadow: 4px 4px 0 #111827;
  --display: "Source Sans 3", system-ui, sans-serif;
  --header-bg: #fefce8;
  --hero-bg: #111827;
  --page-band-bg: #111827;
  --border-w: 2px;
  --offset: 4px;
}

html[data-theme="dashboard"] {
  --navy: #1e293b;
  --navy-2: #334155;
  --cyan: #0ea5e9;
  --blue: #0369a1;
  --blue-dark: #075985;
  --grad: linear-gradient(90deg, #075985 0%, #0369a1 55%, #0284c7 100%);
  --ink: #334155;
  --heading: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f1f5f9;
  --surface: #ffffff;
  --radius: 10px;
  --btn-radius: 8px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  --display: "Source Sans 3", system-ui, sans-serif;
  --header-bg: #ffffff;
  --hero-bg: linear-gradient(180deg, #0f172a, #1e293b);
  --page-band-bg: #0f172a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  transition: background .25s, color .25s;
}
a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: var(--border-w) solid var(--line);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; gap: 16px; position: relative;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 800; color: var(--heading); text-decoration: none;
  min-width: 0;
}
.brand img {
  height: 40px; width: 40px; border-radius: 50%; object-fit: cover; display: block;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--cyan) 70%, #fff);
}
.brand .word {
  display: flex; flex-direction: column; line-height: 1.12;
  font-size: 1.02rem; letter-spacing: -.03em; color: var(--heading);
}
.brand .word small {
  font-weight: 600; font-size: .64rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.nav { display: flex; gap: 16px; align-items: center; }
.nav a { color: var(--heading); font-weight: 600; font-size: .93rem; text-decoration: none; opacity: .86; }
.nav a:hover { color: var(--blue); text-decoration: none; opacity: 1; }
.nav .btn { text-decoration: none; opacity: 1; }

.theme-wrap { position: relative; }
.theme-btn {
  border: var(--border-w) solid var(--line);
  background: var(--surface);
  color: var(--heading);
  border-radius: var(--btn-radius);
  padding: 8px 12px;
  font: inherit;
  font-weight: 600;
  font-size: .82rem;
  cursor: pointer;
  white-space: nowrap;
}
.theme-menu {
  display: none;
  position: absolute;
  right: 0; top: calc(100% + 8px);
  width: 240px;
  background: var(--surface);
  border: var(--border-w) solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 80;
  max-height: min(70vh, 420px);
  overflow: auto;
  backdrop-filter: blur(var(--blur));
}
.theme-wrap.open .theme-menu { display: grid; gap: 2px; }
.theme-menu button {
  text-align: left; border: 0; background: transparent;
  padding: 9px 10px; border-radius: 8px; cursor: pointer;
  font: inherit; font-weight: 600; font-size: .88rem; color: var(--heading);
}
.theme-menu button:hover, .theme-menu button.is-on {
  background: color-mix(in srgb, var(--blue) 12%, var(--surface));
}
.theme-menu button small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--grad); color: #fff; border: 0; border-radius: var(--btn-radius);
  padding: 14px 24px; font-weight: 800; cursor: pointer; font-size: 1rem;
  transition: filter .15s, transform .15s, box-shadow .15s;
  text-decoration: none !important;
  box-shadow: var(--btn-shadow, 0 10px 28px rgba(1, 83, 255, 0.35));
}
.btn:hover {
  background: var(--grad); color: #fff; filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--blue) 42%, transparent);
}
.btn:active { transform: translateY(0); filter: brightness(.98); }
.btn.ghost {
  background: var(--surface); color: var(--heading);
  border: var(--border-w) solid var(--line);
  box-shadow: none; filter: none; font-weight: 700;
}
.btn.ghost:hover {
  filter: none; background: var(--bg); color: var(--heading);
  transform: none; box-shadow: none;
}
.btn.ghost.light { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn.ghost.light:hover { background: rgba(255,255,255,.08); color: #fff; transform: none; }
.btn.dark { background: var(--navy); box-shadow: none; filter: none; }
.btn.full { width: 100%; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* CTA principaux du parcours formulaire : même rendu que « Accepter mon devis » */
.form-panel .btn:not(.ghost):not(.dark),
.form-panel a.btn:not(.ghost):not(.dark),
main.wrap .form-panel .btn:not(.ghost),
#packs .btn:not(.ghost),
#packs button.btn:not(.btn-detail):not(.ghost) {
  padding: 16px 22px;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--blue) 35%, transparent);
}
.form-panel .btn:not(.ghost):not(.dark):hover,
#packs .btn:not(.ghost):not(.btn-detail):hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--blue) 42%, transparent);
}

.hero-band {
  background: var(--hero-bg);
  color: #fff;
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.05rem, 3.8vw, 3.05rem);
  line-height: 1.18;
  margin: 0 0 16px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.hero p.lead { font-size: 1.12rem; color: rgba(255,255,255,.84); margin: 0 0 16px; max-width: 40rem; }
.org-line {
  margin: 0 0 14px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cyan);
}
.cert-meta { font-size: .88rem; color: rgba(255,255,255,.68); margin: 0 0 28px; max-width: 40rem; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  color: #fff; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  font-size: .72rem; border-radius: var(--btn-radius); padding: 7px 12px; margin-bottom: 18px;
}
.kicker.soft { background: color-mix(in srgb, var(--blue) 10%, var(--surface)); color: var(--blue); border: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.pill { background: color-mix(in srgb, var(--blue) 10%, var(--surface)); color: var(--blue); border-radius: 999px; padding: 6px 12px; font-size: .82rem; font-weight: 700; }
.pill.light { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.16); }
.hero-card {
  background: var(--surface);
  color: var(--ink);
  border: var(--border-w) solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(var(--blur));
}
.hero-card h3 { margin: 0 0 6px; font-size: 1.12rem; color: var(--heading); font-family: var(--display); font-weight: 600; }
.hero-card p { color: var(--muted); font-size: .92rem; }
.hero-card .step-list strong { color: var(--heading); }
.step-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.step-list li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.hero-card .num, .num {
  width: 36px; height: 36px; border-radius: calc(var(--btn-radius) * .6);
  background: var(--grad); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .85rem;
}

.trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin: -28px auto 0; position: relative; z-index: 2;
}
.trust span, .stat, .card, .t-step, .level, .faq details, .doc, .aside, .form-panel, .login-box {
  background: var(--surface);
  border: var(--border-w) solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(var(--blur));
}
.trust span {
  border-radius: var(--radius);
  padding: 14px 12px; text-align: center; font-weight: 700; font-size: .86rem; color: var(--heading);
}
.trust small { display: block; font-weight: 500; color: var(--muted); font-size: .75rem; margin-top: 2px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; position: relative; z-index: 2; }
.stat { border-radius: var(--radius); padding: 20px 18px; }
.stat b { display: block; font-size: 1.55rem; color: var(--heading); letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: .85rem; }

.section { padding: 72px 0; }
.section h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  letter-spacing: -.01em;
  color: var(--heading);
  font-weight: 600;
}
.section-head { max-width: 680px; margin-bottom: 32px; }
.muted { color: var(--muted); }
.grid-3, .grid-2, .grid-4, .grid-6 { display: grid; gap: 18px; }
.grid-6 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }
.card { border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 8px; color: var(--heading); }
.icon {
  width: 44px; height: 44px; border-radius: 14px;
  background: color-mix(in srgb, var(--blue) 12%, var(--surface));
  color: var(--blue); display: grid; place-items: center; font-weight: 800; margin-bottom: 12px;
}

.pack { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 100%; }
.pack.featured {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad) border-box;
  background-clip: padding-box, border-box;
}
.pack .tag {
  position: absolute; top: -11px; right: 16px;
  background: var(--grad); color: #fff; font-size: .72rem; font-weight: 700;
  border-radius: var(--btn-radius); padding: 4px 10px;
}
.price { font-size: 2rem; font-weight: 800; color: var(--heading); letter-spacing: -.04em; line-height: 1; }
.price small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.pack ul { padding-left: 18px; margin: 8px 0 16px; color: var(--muted); font-size: .92rem; }
.pack .btn { margin-top: auto; }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.t-step { border-radius: var(--radius); padding: 22px; }
.t-step .n {
  width: 38px; height: 38px; border-radius: 12px; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 12px;
}
.t-step h3 { font-size: 1.05rem; color: var(--heading); }
.t-step p { margin: 0; font-size: .9rem; }

.table-wrap { overflow-x: auto; margin-top: 32px; border-radius: var(--radius); border: var(--border-w) solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; min-width: 760px; }
.compare th, .compare td {
  padding: 14px 12px;
  text-align: center;
  font-size: .88rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.compare thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .02em;
  padding: 16px 10px 14px;
  border-bottom: 0;
}
.compare thead th span {
  display: block;
  margin-top: 6px;
  font-size: .92rem;
  font-weight: 600;
  color: rgba(255,255,255,.78);
  letter-spacing: 0;
}
.compare thead th.feat {
  text-align: left;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.55);
}
.compare thead th.hi {
  background: var(--blue-dark);
  box-shadow: inset 0 3px 0 var(--cyan);
}
.compare tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--heading);
  background: transparent;
  white-space: nowrap;
}
.compare tbody td.hi { background: color-mix(in srgb, var(--blue) 7%, var(--surface)); }
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .ck {
  display: inline-block;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--blue) 14%, var(--surface));
  vertical-align: middle;
  position: relative;
}
.compare .ck::after {
  content: "";
  position: absolute;
  left: 7px; top: 4px;
  width: 6px; height: 11px;
  border: solid var(--blue);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.compare .val { font-weight: 700; color: var(--heading); font-size: .84rem; }
.compare .empty { color: var(--muted); opacity: .45; }

html[data-theme="nuit"] .compare thead th { background: #0b1220; }
html[data-theme="nuit"] .compare thead th.hi { background: #152238; }

.levels { display: grid; gap: 10px; }
.level { border-radius: var(--radius); overflow: hidden; }
.level summary {
  cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700; color: var(--heading);
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.level summary::-webkit-details-marker { display: none; }
.level .body { padding: 0 20px 18px; color: var(--muted); font-size: .92rem; }
.score { color: var(--blue); font-size: .82rem; font-weight: 700; white-space: nowrap; }
.skills { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.skills article { background: color-mix(in srgb, var(--blue) 6%, var(--surface)); border-radius: 12px; padding: 12px 14px; }
.skills h4 { margin: 0 0 4px; font-size: .82rem; color: var(--heading); text-transform: uppercase; letter-spacing: .04em; }

.split-dark {
  background: var(--grad);
  border-radius: var(--radius); padding: 44px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center;
}
.split-dark h2 { color: #fff; }
.split-dark p { color: rgba(255,255,255,.78); }

.cta-band {
  background: var(--grad);
  color: #fff; border-radius: var(--radius); padding: 40px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.section h2, .cta-band h2, .split-dark h2 { font-family: var(--display); font-weight: 600; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.88); }
.cta-band .btn,
.split-dark > div > .btn {
  background: #fff; color: var(--navy); filter: none; box-shadow: none;
}
.cta-band .btn:hover,
.split-dark > div > .btn:hover {
  background: #fff; color: var(--blue-dark); filter: none;
}

.faq details { border-radius: 14px; padding: 4px 16px; }
.faq details + details { margin-top: 8px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; color: var(--heading); }

.page-band { background: var(--page-band-bg); color: #fff; padding: 56px 0 48px; }
.page-band h1 {
  margin: 8px 0 10px; font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.45rem); letter-spacing: -.01em; font-weight: 600;
}
.page-band p { color: rgba(255,255,255,.78); max-width: 42rem; margin: 0; }
.page-hero { padding: 48px 0 12px; }
.page-hero h1 {
  margin: 8px 0 10px; font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.35rem); color: var(--heading); letter-spacing: -.01em; font-weight: 600;
}

.docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.doc { display: block; border-radius: var(--radius); padding: 16px; font-weight: 700; color: var(--heading); text-decoration: none; }
.doc:hover { border-color: var(--blue); text-decoration: none; }
.doc small { display: block; font-weight: 500; color: var(--muted); margin-top: 4px; }

.site-footer {
  background:
    var(--grad) top / 100% 3px no-repeat,
    var(--navy);
  color: rgba(255,255,255,.78); padding: 48px 0 24px; margin-top: 20px;
  font-size: .92rem;
}
.site-footer a { color: #fff; }
.site-footer .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .brand-foot img { height: 96px; width: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; }
.legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 16px; font-size: .8rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: var(--border-w) solid var(--line);
  border-radius: 12px; background: var(--surface); cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--heading); margin: 4px auto; }

.funnel-shell {
  display: grid; grid-template-columns: 320px 1fr; gap: 28px;
  padding: 28px 0 60px; align-items: start;
}
.aside { border-radius: var(--radius); padding: 24px; position: sticky; top: 84px; }
.progress { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; padding: 0; }
.progress li { list-style: none; display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: .9rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); flex-shrink: 0; }
.progress li.on { color: var(--ink); font-weight: 700; }
.progress li.on .dot { background: var(--cyan); }
.form-panel { border-radius: var(--radius); padding: 28px; }
.step { display: none; }
.step.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.step-title { margin: 0 0 18px; font-size: 1.25rem; color: var(--heading); }
label { display: block; font-weight: 700; margin: 0 0 6px; font-size: .9rem; }
input, select, textarea {
  width: 100%; border: var(--border-w) solid var(--line); border-radius: 12px;
  padding: 12px 14px; font: inherit; background: var(--surface); color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--cyan) 45%, transparent); border-color: var(--cyan); }
.field { margin-bottom: 14px; }
.field label .req { color: #dc2626; font-weight: 800; }
.field-multi .multi-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
  margin-top: 8px;
}
.field-multi .multi-box .check-line {
  margin: 0;
  padding: 6px 8px;
  border-radius: 8px;
  align-items: center;
  font-size: .9rem;
  line-height: 1.25;
}
.field-multi .multi-box .check-line:hover {
  background: color-mix(in srgb, var(--blue, #0153ff) 6%, transparent);
}
.field-row {
  display: grid;
  gap: 12px;
  margin-bottom: 0;
  align-items: start;
}
.field-row--2 { grid-template-columns: 1fr 1fr; }
.field-row--civilite {
  grid-template-columns: minmax(110px, 160px);
}
.field-row .field { margin-bottom: 12px; min-width: 0; }
.field-row .iti { width: 100%; }
.field--sm { max-width: 160px; }
.field-row--civilite .field--sm,
.field-row--civilite .field { max-width: 160px; }
@media (max-width: 640px) {
  .field-row--2 { grid-template-columns: 1fr; }
  .field-row--civilite { grid-template-columns: minmax(110px, 140px); }
  .field--sm { max-width: 140px; }
  .field-multi .multi-box { grid-template-columns: 1fr; gap: 2px; }
}
.field-check .check-line,
label.check-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  margin: 0 0 8px;
}
.field-check .check-line input[type="checkbox"],
label.check-line input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: var(--blue);
  cursor: pointer;
}
.field-check .check-line span,
label.check-line span {
  flex: 1 1 auto;
  min-width: 0;
}
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice {
  border: var(--border-w) solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer;
  background: var(--surface); font-weight: 600; color: var(--heading);
}
.choice:has(input:checked), .choice.selected { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 8%, var(--surface)); }
.choice input { width: auto; margin-right: 8px; }
.err { color: #b91c1c; font-size: .85rem; display: none; margin-top: 4px; }
.error-field { border-color: #ef4444 !important; }
.rgpd {
  max-height: 140px;
  overflow: auto;
  font-size: .82rem;
  color: var(--muted);
  border: var(--border-w) solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--bg);
  scrollbar-width: thin;
}
.rgpd-consent {
  max-height: 150px;
}
.rgpd-consent .check-line {
  align-items: flex-start;
  margin: 0;
  gap: 10px;
}
.rgpd-consent .rgpd-text {
  display: block;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.45;
  min-width: 0;
}
.rgpd-consent .rgpd-text strong {
  display: block;
  margin-bottom: 8px;
  color: var(--heading);
  font-weight: 700;
}
.rgpd-consent .rgpd-text p {
  margin: 0 0 8px;
  font-weight: 500;
  color: var(--muted);
}
.rgpd-consent .rgpd-text p:last-child {
  margin-bottom: 0;
}
.rgpd-consent .rgpd-text a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
}
.row-actions { display: flex; gap: 10px; margin-top: 18px; }
.badge { display: inline-block; background: color-mix(in srgb, var(--blue) 12%, var(--surface)); color: var(--blue); border-radius: 999px; padding: 4px 10px; font-size: .78rem; font-weight: 800; }
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; color: var(--ink); }
table.data th, table.data td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
table.data th { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; }
.login-box { max-width: 420px; margin: 80px auto; padding: 32px; border-radius: var(--radius); }

html[data-theme="neo"] .btn { box-shadow: 4px 4px 0 #111827; }
html[data-theme="neo"] .btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #111827; filter: none; }
html[data-theme="bento"] .card, html[data-theme="bento"] .stat, html[data-theme="bento"] .trust span { box-shadow: none; }
html[data-theme="nuit"] .btn.ghost { color: var(--heading); }
html[data-theme="nuit"] .hero-card, html[data-theme="nuit"] .card { color: var(--ink); }

@media (max-width: 420px) {
  .brand .word small { display: none; }
}
@media (max-width: 960px) {
  .hero, .funnel-shell, .grid-3, .grid-2, .grid-4, .grid-6, .stats, .split-dark, .site-footer .grid,
  .timeline, .trust, .docs { grid-template-columns: 1fr; }
  .skills { grid-template-columns: 1fr; }
  .aside { position: static; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--header-bg);
    flex-direction: column; align-items: stretch; padding: 16px; border-bottom: var(--border-w) solid var(--line); gap: 12px; }
  .nav.open { display: flex; }
  .nav-toggle { display: inline-block; }
  .theme-menu { right: auto; left: 0; }
  .hero-band { padding: 36px 0 64px; }
  .cta-band { padding: 28px; }
}
