/* =========================================================
   Domely — Landing
   Identité : Bleu nuit #0B1E3B · Rouge #FF4444 · Jaune #FFD600 · Vert #00E676
   Typographie : Alata (titres) · Inter (texte)
   ========================================================= */

:root {
  --night: #0b1e3b;
  --night-2: #13294d;
  --night-3: #1c3863;
  --red: #ff4444;
  --yellow: #ffd600;
  --green: #00e676;
  --white: #ffffff;

  --bg: #f4f6fa;
  --surface: #ffffff;
  --surface-2: #eef2f8;
  --text: #0b1e3b;
  --muted: #5b6b85;
  --border: #dfe5ee;
  --shadow: 0 1px 2px rgba(11, 30, 59, 0.06), 0 12px 32px rgba(11, 30, 59, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 30, 59, 0.18);

  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1160px;
  --font-display: "Alata", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #071428;
    --surface: #0e2142;
    --surface-2: #16305a;
    --text: #e8eef8;
    --muted: #9aabc6;
    --border: #1f3762;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
  }
}
:root[data-theme="dark"] {
  --bg: #071428;
  --surface: #0e2142;
  --surface-2: #16305a;
  --text: #e8eef8;
  --muted: #9aabc6;
  --border: #1f3762;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
}
p {
  margin: 0;
}
:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
  border-radius: 6px;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 15px/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(255, 68, 68, 0.3);
}
.btn-primary:hover {
  background: #ff5a5a;
}
.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}
.btn-light {
  background: var(--white);
  color: var(--night);
}
.btn-block {
  width: 100%;
}

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--night) 92%, transparent);
  backdrop-filter: blur(10px);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand img {
  height: 38px;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  text-decoration: none;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #c9d5ea;
}
.nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}
.nav .btn {
  margin-left: 8px;
  min-height: 40px;
  color: var(--white);
}
.nav .btn:hover {
  background: #ff5a5a;
}
.nav .lang-switch {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 12px;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  margin: 0 auto;
  transition: transform 0.2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before {
  top: -7px;
}
.nav-toggle span::after {
  top: 7px;
}
.nav-open .nav-toggle span {
  background: transparent;
}
.nav-open .nav-toggle span::before {
  transform: translateY(7px) rotate(45deg);
}
.nav-open .nav-toggle span::after {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }
  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 16px 20px;
    background: var(--night);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
  }
  .nav-open .nav {
    display: flex;
  }
  .nav a {
    padding: 12px 14px;
    border-radius: 10px;
  }
  .nav .btn {
    margin: 8px 0 0;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 90% -5%, rgba(255, 68, 68, 0.28), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(0, 230, 118, 0.14), transparent 60%),
    var(--night);
  color: var(--white);
  padding: 72px 0 96px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #dfe7f5;
  text-decoration: none;
}
.eyebrow b {
  background: var(--yellow);
  color: var(--night);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
}
.hero h1 {
  font-size: clamp(36px, 5.4vw, 60px);
  margin: 22px 0 18px;
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: normal;
  color: var(--yellow);
}
.hero-lead {
  font-size: 19px;
  color: #c9d5ea;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 28px;
  font-size: 14px;
  color: #9fb1cf;
  list-style: none;
  padding: 0;
}
.hero-trust li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  margin-right: 6px;
}

/* Maquette du tableau de bord */
.mockup {
  position: relative;
}
.mockup-window {
  background: #fff;
  color: var(--night);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
}
.mockup-bar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: #f1f4f9;
  border-bottom: 1px solid #e3e8f0;
}
.mockup-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d5dce7;
}
.mockup-body {
  padding: 18px;
  display: grid;
  gap: 14px;
}
.mockup-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 17px;
}
.mockup-title small {
  font-family: var(--font-body);
  font-size: 12px;
  color: #6b7a93;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.kpi {
  border: 1px solid #e3e8f0;
  border-radius: 12px;
  padding: 10px 12px;
}
.kpi span {
  display: block;
  font-size: 11px;
  color: #6b7a93;
}
.kpi strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
}
.kpi .bar {
  height: 4px;
  border-radius: 4px;
  background: #eef2f8;
  margin-top: 8px;
  overflow: hidden;
}
.kpi .bar i {
  display: block;
  height: 100%;
  border-radius: 4px;
}
.chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 110px;
  padding: 10px 12px 0;
  border: 1px solid #e3e8f0;
  border-radius: 12px;
}
.chart i {
  flex: 1;
  background: var(--night);
  border-radius: 6px 6px 0 0;
  opacity: 0.88;
  animation: grow 1s ease-out both;
  transform-origin: bottom;
}
.chart i:nth-child(odd) {
  background: #2a4a7b;
}
.chart i:last-child {
  background: var(--red);
}
@keyframes grow {
  from {
    transform: scaleY(0);
  }
}
.rows {
  display: grid;
  gap: 6px;
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f6f8fc;
}
.pill {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
}
.pill-green {
  background: rgba(0, 230, 118, 0.18);
  color: #00843f;
}
.pill-red {
  background: rgba(255, 68, 68, 0.14);
  color: #d42828;
}
.pill-yellow {
  background: rgba(255, 214, 0, 0.25);
  color: #7a6500;
}
.float-card {
  position: absolute;
  background: #fff;
  color: var(--night);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 12px 14px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 6s ease-in-out infinite;
}
.float-card .dot {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 16px;
}
.float-card strong {
  display: block;
  font-size: 13px;
}
.float-card small {
  color: #6b7a93;
}
.float-1 {
  left: -28px;
  bottom: 40px;
}
.float-2 {
  right: -16px;
  top: -22px;
  animation-delay: -3s;
}
@keyframes float {
  50% {
    transform: translateY(-8px);
  }
}
@media (max-width: 960px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .mockup {
    max-width: 560px;
  }
  .mockup-window {
    transform: none;
  }
}
@media (max-width: 520px) {
  .hero {
    padding: 48px 0 72px;
  }
  .float-1 {
    left: 8px;
    bottom: -26px;
  }
  .float-2 {
    display: none;
  }
  .kpi strong {
    font-size: 15px;
  }
}

/* ---------- Bande de chiffres ---------- */
.strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.strip div {
  text-align: center;
}
.strip strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
}
.strip span {
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 720px) {
  .strip .wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 0;
  scroll-margin-top: 68px;
}
.section-alt {
  background: var(--surface);
}
.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 14px;
}
.section-head p {
  color: var(--muted);
  font-size: 18px;
}
@media (max-width: 600px) {
  .section {
    padding: 64px 0;
  }
}

/* ---------- Fonctionnalités ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.section-alt .feature {
  background: var(--bg);
}
.feature:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--red) 40%, var(--border));
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.feature-icon svg {
  width: 24px;
  height: 24px;
}
.ic-red {
  background: rgba(255, 68, 68, 0.12);
  color: var(--red);
}
.ic-yellow {
  background: rgba(255, 214, 0, 0.2);
  color: #b39500;
}
.ic-green {
  background: rgba(0, 230, 118, 0.15);
  color: #00a956;
}
.ic-night {
  background: color-mix(in srgb, var(--text) 10%, transparent);
  color: var(--text);
}
.feature h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.feature p {
  color: var(--muted);
  font-size: 15px;
}
.feature ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  display: grid;
  gap: 6px;
}
.feature li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--red);
  margin-right: 10px;
  vertical-align: middle;
}
.soon {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 214, 0, 0.25);
  color: #7a6500;
  vertical-align: middle;
  margin-left: 6px;
}
:root[data-theme="dark"] .soon,
:root[data-theme="dark"] .ic-yellow {
  color: var(--yellow);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .soon,
  :root:not([data-theme="light"]) .ic-yellow {
    color: var(--yellow);
  }
}
@media (max-width: 960px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* ---------- Profils ---------- */
.audiences {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.audience {
  border-radius: var(--radius);
  padding: 26px 22px;
  color: var(--white);
  background: var(--night);
  position: relative;
  overflow: hidden;
  min-height: 220px;
}
.audience::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -36px;
  bottom: -36px;
  border-radius: 28px;
  background: var(--accent, var(--red));
  opacity: 0.9;
  transform: rotate(18deg);
}
.audience:nth-child(1) {
  --accent: var(--red);
}
.audience:nth-child(2) {
  --accent: var(--yellow);
}
.audience:nth-child(3) {
  --accent: var(--green);
}
.audience:nth-child(4) {
  --accent: #3d6bb3;
}
.audience h3 {
  font-size: 21px;
  margin-bottom: 10px;
}
.audience p {
  color: #c9d5ea;
  font-size: 15px;
  position: relative;
  z-index: 1;
  max-width: 88%;
}
@media (max-width: 960px) {
  .audiences {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .audiences {
    grid-template-columns: 1fr;
  }
  .audience {
    min-height: 0;
  }
}

/* ---------- Étapes ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}
.step {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--night);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 16px;
}
:root[data-theme="dark"] .step::before {
  background: var(--red);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .step::before {
    background: var(--red);
  }
}
.step h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.step p {
  color: var(--muted);
}
@media (max-width: 820px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- Tarifs ---------- */
.billing-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: -20px 0 36px;
}
.billing-note span {
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text);
}
/* Choix de la devise */
.currency-switch {
  display: flex;
  justify-content: center;
  margin: -8px 0 28px;
}
.currency-switch > div {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.currency-switch button {
  min-height: 38px;
  min-width: 84px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 600 14px/1 var(--font-body);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.currency-switch button:hover {
  color: var(--text);
}
.currency-switch button[aria-pressed="true"] {
  background: var(--night);
  color: var(--white);
}
:root[data-theme="dark"] .currency-switch button[aria-pressed="true"] {
  background: var(--red);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .currency-switch button[aria-pressed="true"] {
    background: var(--red);
  }
}
.currency-note {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin: 20px 0 0;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
}
.plan.featured {
  background: var(--night);
  color: var(--white);
  border-color: var(--night);
  box-shadow: var(--shadow-lg);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 26px;
  background: var(--yellow);
  color: var(--night);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.plan h3 {
  font-size: 22px;
}
.plan-tagline {
  color: var(--muted);
  font-size: 14px;
  margin-top: 2px;
}
.plan.featured .plan-tagline,
.plan.featured .plan-period {
  color: #9fb1cf;
}
.plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin: 22px 0 4px;
}
.plan-price strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 38px;
  line-height: 1;
}
.plan-period {
  color: var(--muted);
  font-size: 14px;
}
.plan-units {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 22px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  font-weight: 600;
  font-size: 15px;
}
.plan.featured .plan-units {
  background: rgba(255, 255, 255, 0.08);
}
.plan-units i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--green);
}
.plan .btn {
  margin-top: auto;
}
.plan:not(.featured) .btn-ghost {
  color: var(--text);
  border-color: var(--border);
}
.plan:not(.featured) .btn-ghost:hover {
  border-color: var(--text);
}
.included {
  margin-top: 40px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}
.included h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.included > div > p {
  color: var(--muted);
  font-size: 15px;
}
.included ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  font-size: 15px;
}
.included li {
  display: flex;
  gap: 10px;
}
.included li::before {
  content: "✓";
  color: #00a956;
  font-weight: 700;
}
@media (max-width: 960px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
  .included {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .plans,
  .included ul {
    grid-template-columns: 1fr;
  }
  .included {
    padding: 24px 20px;
  }
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq details {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 20px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 32px 18px 0;
  font-weight: 600;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--red);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq details p {
  padding: 0 0 18px;
  color: var(--muted);
}

/* ---------- Appel à l'action ---------- */
.cta {
  padding: 0 0 96px;
}
.cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(255, 68, 68, 0.35), transparent 60%),
    var(--night);
  color: var(--white);
  padding: 56px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-box h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  margin-bottom: 10px;
}
.cta-box p {
  color: #c9d5ea;
  max-width: 560px;
}
@media (max-width: 600px) {
  .cta-box {
    padding: 40px 24px;
  }
}

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--night);
  color: #9fb1cf;
  padding: 56px 0 28px;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
}
.site-footer img {
  height: 40px;
  width: auto;
  margin-bottom: 14px;
}
.site-footer h4 {
  color: var(--white);
  font-size: 15px;
  margin: 0 0 12px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.site-footer a {
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--white);
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Liens légaux du pied de page ---------- */
.site-footer .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ---------- Pages légales ---------- */
.page-hero {
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(255, 68, 68, 0.22), transparent 60%),
    var(--night);
  color: var(--white);
  padding: 56px 0 48px;
}
.page-hero h1 {
  font-size: clamp(30px, 4.4vw, 44px);
  margin: 6px 0 10px;
}
.page-hero p {
  color: #c9d5ea;
}
.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 20px 88px;
}
.legal-toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 36px;
}
.legal .legal-toc h2 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.legal-toc ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 4px;
}
.legal-toc a {
  text-decoration: none;
}
.legal-toc a:hover {
  color: var(--red);
}
.legal section {
  scroll-margin-top: 84px;
  margin-bottom: 32px;
}
.legal h2 {
  font-size: 23px;
  margin: 0 0 12px;
}
.legal p,
.legal li {
  color: var(--muted);
}
.legal p + p {
  margin-top: 10px;
}
.legal ul {
  padding-left: 20px;
  margin: 10px 0 0;
  display: grid;
  gap: 6px;
}
.legal strong {
  color: var(--text);
}
.legal a {
  color: var(--red);
}
.draft-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 214, 0, 0.16);
  border: 1px solid rgba(255, 214, 0, 0.5);
  color: var(--text);
  font-size: 14px;
  margin-bottom: 28px;
}
.todo {
  background: rgba(255, 214, 0, 0.3);
  color: var(--text);
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 600;
}

/* ---------- Apparition au défilement ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}
