/* ============================================================================
   VITALE FINANCE BANQUE — Système visuel
   Fintech premium : vert-noir profond + accent vert néon (lime).
   Glow technologique, verre dépoli, coins arrondis systématiques.
   Le lime est un SIGNAL D'ACTION, jamais une couleur dominante.
   ========================================================================= */

:root {
  /* ── Accent : vert néon / lime ─────────────────────────────────────── */
  --lime-300: #d8fa96;
  --lime-400: #c7f76b;
  --lime-500: #b8f53e; /* accent principal : boutons, highlights */
  --lime-600: #a6e32d; /* hover, dégradés */
  --lime-700: #8cc71c;
  --lime-soft: #eefbd3;

  /* ── Échelle vert-noir ─────────────────────────────────────────────── */
  --primary-50: #f2faf5;
  --primary-100: #e4f3e9;
  --primary-200: #cfebd9;
  --primary-300: #a9d9be;
  --primary-400: #6bb78e;
  --primary-500: #3a9366;
  --primary-600: #1f7049;
  --primary-700: #175639;
  --primary-800: #123f2a;
  --primary-900: #0d2a1c;
  --primary-950: #0a1a12;

  /* Fonds sombres — jamais un noir plat */
  --dark-1: #0a1a12;
  --dark-2: #0d1f16;
  --dark-3: #12291d;

  --success-50: #eaf7f0;
  --success-500: #2ea86a;
  --success-600: #1f8b55;
  --success-700: #176e43;
  --success-border: #a9dcc2;

  --error-text: #b42318;
  --error-bg: #fef3f2;
  --error-border: #fda29b;
  --warn-text: #92610a;
  --warn-bg: #fef6e7;
  --warn-border: #f5d48a;
  --info-text: #175639;
  --info-bg: #e4f3e9;
  --info-border: #a9d9be;

  --white: #ffffff;
  --surface: #f5faf7;
  --surface-alt: #e9f4ed;
  --border: #e2ece6;
  --border-strong: #c8dccf;
  --text-primary: #0f2318; /* titres sur fond clair */
  --text-secondary: #6b7a73; /* gris teinté vert, jamais neutre pur */
  --text-muted: #93a29a;
  --text-on-dark: #ffffff;
  --text-on-dark-2: #b6c9bd;

  --grad-brand: linear-gradient(
    120deg,
    var(--lime-500) 0%,
    var(--lime-600) 100%
  );
  --grad-recap: linear-gradient(160deg, var(--dark-3) 0%, var(--dark-1) 100%);

  /* Glow radial vert : « spotlight » des zones sombres */
  --glow-hero: radial-gradient(
      900px 520px at 50% -6%,
      rgba(184, 245, 62, 0.2),
      transparent 68%
    ),
    radial-gradient(
      620px 420px at 88% 18%,
      rgba(166, 227, 45, 0.12),
      transparent 70%
    );
  --glow-band: radial-gradient(
    760px 380px at 50% 0%,
    rgba(184, 245, 62, 0.16),
    transparent 70%
  );
  /* Texture grille fine, très peu visible */
  --grid-texture: linear-gradient(
      rgba(184, 245, 62, 0.055) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(184, 245, 62, 0.055) 1px, transparent 1px);

  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 64px;
  --space-11: 80px;
  --space-12: 96px;
  --space-13: 128px;

  /* Coins très arrondis partout */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Ombres douces et diffuses, jamais dures */
  --shadow-xs: 0 1px 2px rgba(10, 26, 18, 0.05);
  --shadow-sm: 0 1px 3px rgba(10, 26, 18, 0.06), 0 1px 2px rgba(10, 26, 18, 0.04);
  --shadow-card:
    0 10px 30px rgba(10, 26, 18, 0.06), 0 2px 6px rgba(10, 26, 18, 0.04);
  --shadow-card-hover:
    0 22px 50px rgba(10, 26, 18, 0.1), 0 6px 14px rgba(10, 26, 18, 0.05);
  --shadow-cta: 0 6px 22px rgba(184, 245, 62, 0.4);
  --shadow-cta-hover: 0 10px 32px rgba(184, 245, 62, 0.58);
  --shadow-glass: 0 18px 50px rgba(10, 26, 18, 0.12);
  --shadow-float: 0 16px 44px rgba(10, 26, 18, 0.14);
  --shadow-focus: 0 0 0 3px rgba(184, 245, 62, 0.5);

  --container-max: 1200px;
  --gutter: 16px;

  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 150ms;
  --dur-base: 200ms;
  --dur-slow: 300ms;
  --dur-reveal: 500ms;

  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  color: var(--text-secondary);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg,
picture,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: none;
}
input,
select,
textarea,
button {
  font-family: inherit;
}
ul[class] {
  list-style: none;
  padding: 0;
}
:target {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.icon--sm {
  width: 18px;
  height: 18px;
}
.icon--lg {
  width: 28px;
  height: 28px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--primary-600);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-weight: 600;
  box-shadow: var(--shadow-cta);
  transition: top var(--dur-base) var(--ease-standard);
}
.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: var(--radius-xs);
}
a:focus-visible,
button:focus-visible {
  border-radius: var(--radius-full);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  isolation: isolate;
  padding-block: 72px;
}
.section--tight {
  padding-block: 48px;
}

/* Sections sombres : jamais un noir plat, toujours un glow radial vert. */
.section--dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--dark-1);
  color: var(--text-on-dark-2);
}
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--glow-band);
}

/* Sections de transition en vert pale (bandeaux stats, preuve sociale). */
.section--mint {
  background: linear-gradient(
    180deg,
    #eff8f2 0%,
    var(--surface-alt) 55%,
    #dff0e7 100%
  );
}
.section--surface-alt {
  background: var(--surface-alt);
}
.section--white {
  background: var(--white);
}

.section-head {
  max-width: 680px;
  margin-bottom: var(--space-8);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-600);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--lime-600);
}
.section-head--center .eyebrow::after {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--lime-600);
}
.section--dark .eyebrow {
  color: var(--lime-500);
}
.section--dark .eyebrow::before,
.section--dark .eyebrow::after {
  background: var(--lime-500);
}

.lead {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.1875rem);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 65ch;
}
.section--dark .lead {
  color: var(--text-on-dark-2);
}

.grid {
  display: grid;
  gap: var(--space-6);
}
.grid-2 {
  grid-template-columns: 1fr;
}
.grid-3 {
  grid-template-columns: 1fr;
}
.grid-4 {
  grid-template-columns: 1fr;
}

.text-success {
  color: var(--success-600);
}
.tabular {
  font-variant-numeric: tabular-nums;
}
.divider {
  height: 1px;
  background: var(--border);
  border: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.15;
  text-wrap: balance;
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--text-on-dark);
}

h1,
.h1 {
  font-weight: 800;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
h2,
.h2 {
  font-weight: 800;
  font-size: clamp(1.625rem, 1.15rem + 1.9vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
h3,
.h3 {
  font-weight: 700;
  font-size: clamp(1.1875rem, 1.05rem + 0.55vw, 1.5rem);
  letter-spacing: -0.02em;
}
h4,
.h4 {
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.3;
}
p {
  color: inherit;
}
p + p {
  margin-top: var(--space-4);
}
strong {
  color: var(--text-primary);
  font-weight: 600;
}
.section--dark strong {
  color: var(--text-on-dark);
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}
/* Symbole (+, %, K+, EUR) en exposant plus petit et vert. */
.stat-num .unit {
  font-size: 0.44em;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--lime-700);
  vertical-align: 0.62em;
}
/* Une unite ecrite en toutes lettres reste sur la ligne de base. */
.stat-num .unit--word {
  font-size: 0.34em;
  vertical-align: baseline;
  letter-spacing: 0.02em;
}
.section--dark .stat-num {
  color: var(--white);
}
.section--dark .stat-num .unit {
  color: var(--lime-500);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  height: 48px;
  padding-inline: 28px;
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition:
    background-color var(--dur-base) var(--ease-standard),
    color var(--dur-base) var(--ease-standard),
    border-color var(--dur-base) var(--ease-standard),
    transform var(--dur-slow) var(--ease-standard),
    box-shadow var(--dur-slow) var(--ease-standard);
}
.btn .icon {
  width: 18px;
  height: 18px;
}
.btn:active {
  transform: scale(0.98);
}

.btn--sm {
  height: 40px;
  padding-inline: 20px;
  font-size: 14px;
}
.btn--lg {
  height: 56px;
  padding-inline: 36px;
  font-size: 16px;
}
.btn--block {
  display: flex;
  width: 100%;
}

/* Primaire : fond lime, texte vert-noir, lueur verte diffuse. */
.btn--primary,
.btn--on-dark {
  background: var(--lime-500);
  color: var(--primary-950);
  font-weight: 700;
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover,
.btn--on-dark:hover {
  background: var(--lime-400);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta-hover);
}
.btn--primary:active,
.btn--on-dark:active {
  transform: scale(0.98);
}
/* Fleche cerclee sur fond legerement plus fonce. */
.btn--primary .icon-arrow,
.btn--on-dark .icon-arrow {
  width: 14px;
  height: 14px;
  padding: 6px;
  box-sizing: content-box;
  border-radius: 50%;
  background: rgba(10, 26, 18, 0.16);
  margin-left: 2px;
  margin-right: -10px;
}

.btn--secondary {
  background: var(--white);
  border-color: var(--border-strong);
  color: var(--text-primary);
}
.btn--secondary:hover {
  background: var(--primary-50);
  border-color: var(--primary-300);
}

.btn--ghost {
  background: transparent;
  color: var(--primary-700);
  padding-inline: 18px;
}
.btn--ghost:hover {
  background: var(--primary-50);
}

.btn--outline-light,
.hero .btn--secondary,
.section--dark .btn--secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}
.btn--outline-light:hover,
.hero .btn--secondary:hover,
.section--dark .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn:disabled:hover {
  transform: none;
  box-shadow: none;
}

.btn .icon-arrow,
.link-arrow .icon {
  transition: transform var(--dur-base) var(--ease-standard);
}
.btn:hover .icon-arrow,
.link-arrow:hover .icon {
  transform: translateX(3px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-700);
  font-weight: 600;
  font-size: 15px;
  text-decoration: underline;
  text-decoration-color: var(--lime-600);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.link-arrow:hover {
  color: var(--primary-800);
}
.section--dark .link-arrow {
  color: var(--lime-500);
}

.btn.is-loading {
  pointer-events: none;
  opacity: 0.85;
}
.btn.is-loading .spinner {
  display: inline-block;
}
.spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(10, 26, 18, 0.25);
  border-top-color: var(--primary-950);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--primary-200);
  font-size: 13px;
  font-weight: 500;
  background: var(--primary-50);
  color: var(--primary-700);
  line-height: 1.2;
}
.badge .icon {
  width: 15px;
  height: 15px;
  color: var(--primary-600);
}
.badge--success {
  background: var(--success-50);
  color: var(--success-700);
}
.badge--success .icon {
  color: var(--success-600);
}
.badge--on-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-on-dark-2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.badge--on-dark .icon {
  color: var(--lime-500);
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--lime-soft);
  border: 1px solid var(--lime-400);
  color: var(--primary-800);
}

.topbar {
  background: var(--dark-1);
  color: var(--text-on-dark-2);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 36px;
  padding-block: 6px;
}
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-on-dark-2);
  transition: color var(--dur-fast) var(--ease-standard);
}
.topbar a:hover {
  color: var(--lime-500);
}
.topbar .icon {
  width: 15px;
  height: 15px;
  color: var(--lime-500);
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  min-width: 0;
}
.topbar-left a {
  white-space: nowrap;
}
.topbar-note {
  color: var(--text-muted);
  white-space: nowrap;
}
@media (max-width: 767px) {
  .topbar-note {
    display: none;
  }
  .topbar .container {
    justify-content: flex-start;
  }
}
@media (max-width: 430px) {
  .topbar-left {
    gap: var(--space-4);
  }
  .topbar-left a:last-child {
    display: none;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark-1);
  backdrop-filter: saturate(170%) blur(16px);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    box-shadow var(--dur-base) var(--ease-standard),
    background var(--dur-base) var(--ease-standard);
}
.site-header.is-scrolled {
  background: rgba(10, 26, 18, 0.88);
  box-shadow: 0 8px 30px rgba(10, 26, 18, 0.28);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: var(--header-h);
}
.nav__logo {
  display: inline-flex;
  align-items: center;
}
.nav__logo img {
  height: 36px;
  width: auto;
}

.nav__menu {
  display: none;
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.nav__cta-desktop {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  transition:
    color var(--dur-fast) var(--ease-standard),
    background var(--dur-fast) var(--ease-standard);
}
.nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
/* L'onglet actif prend un fond vert en pilule. */
.nav__link.is-active {
  color: var(--primary-950);
  background: var(--lime-500);
  font-weight: 600;
}
.nav__link.is-active:hover {
  color: var(--primary-950);
  background: var(--lime-400);
}

.nav__dropdown {
  position: relative;
}
.nav__dropdown-btn .icon {
  transition: transform var(--dur-base) var(--ease-standard);
}
.nav__dropdown[data-open="true"] .nav__dropdown-btn .icon {
  transform: rotate(180deg);
}
.nav__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 340px;
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(10, 26, 18, 0.5);
  padding: var(--space-3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--dur-base) var(--ease-standard),
    transform var(--dur-base) var(--ease-standard),
    visibility var(--dur-base);
}
.nav__dropdown[data-open="true"] .nav__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__panel-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  transition: background var(--dur-fast) var(--ease-standard);
}
.nav__panel-item:hover {
  background: rgba(255, 255, 255, 0.06);
}
.nav__panel-icon {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: rgba(184, 245, 62, 0.12);
  color: var(--lime-500);
  border-radius: var(--radius-md);
}
.nav__panel-icon .icon {
  width: 20px;
  height: 20px;
}
.nav__panel-item strong {
  display: block;
  font-size: 15px;
  color: #fff;
}
.nav__panel-item span {
  font-size: 13px;
  color: var(--text-on-dark-2);
}

.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  color: #fff;
}
.nav__toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Sur la barre sombre, le CTA secondaire passe en contour clair. */
.site-header .btn--ghost {
  color: rgba(255, 255, 255, 0.86);
}
.site-header .btn--ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  visibility: hidden;
  pointer-events: none;
}
.drawer[data-open="true"] {
  visibility: visible;
  pointer-events: auto;
}
.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(5, 14, 9, 0.66);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-standard);
}
.drawer[data-open="true"] .drawer__scrim {
  opacity: 1;
}
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86%, 380px);
  background: var(--dark-1);
  background-image: var(--glow-band);
  box-shadow: -8px 0 42px rgba(10, 26, 18, 0.5);
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-standard);
  display: flex;
  flex-direction: column;
  padding: var(--space-5);
  overflow-y: auto;
}
.drawer[data-open="true"] .drawer__panel {
  transform: translateX(0);
}
.drawer__head img {
  height: 36px;
  width: auto;
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}
.drawer__close {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.drawer__close:hover {
  background: rgba(255, 255, 255, 0.1);
}
.drawer__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: var(--space-6);
}
.drawer__link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
  transition: background var(--dur-fast) var(--ease-standard);
}
.drawer__link:hover {
  background: rgba(255, 255, 255, 0.08);
}
.drawer__link .icon {
  width: 20px;
  height: 20px;
  color: var(--lime-500);
}
.drawer__sub {
  padding-left: var(--space-4);
}
.drawer__sub .drawer__link {
  font-size: 15px;
  font-weight: 400;
  padding-block: 10px;
}
.drawer__footer {
  margin-top: auto;
  display: grid;
  gap: var(--space-3);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.drawer__contact {
  font-size: 14px;
  color: var(--text-on-dark-2);
}
.drawer__contact a {
  color: var(--lime-500);
  font-weight: 500;
}

body.no-scroll {
  overflow: hidden;
}

/* Hero : vert-noir profond, glow radial vert, grille fine et particules. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 72px 88px;
  background: var(--dark-1);
  background-image: var(--glow-hero);
  color: var(--text-on-dark-2);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grid-texture);
  background-size: 64px 64px;
  mask-image: radial-gradient(closest-side at 50% 30%, #000 20%, transparent 92%);
  -webkit-mask-image: radial-gradient(
    closest-side at 50% 30%,
    #000 20%,
    transparent 92%
  );
  pointer-events: none;
}
.hero h1,
.hero h2 {
  color: var(--text-on-dark);
}
.hero .lead {
  color: var(--text-on-dark-2);
}
.hero__blobs {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
}
.hero__blob--1 {
  width: 520px;
  height: 520px;
  background: rgba(184, 245, 62, 0.22);
  top: -180px;
  right: -120px;
}
.hero__blob--2 {
  width: 460px;
  height: 460px;
  background: rgba(31, 112, 73, 0.5);
  bottom: -220px;
  left: -140px;
}
.hero__blob--3 {
  width: 320px;
  height: 320px;
  background: rgba(166, 227, 45, 0.14);
  top: 46%;
  left: 34%;
}

.hero .container {
  position: relative;
  z-index: 1;
}
.hero__grid {
  display: grid;
  gap: var(--space-9);
  align-items: start;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.hero h1 {
  margin-bottom: var(--space-5);
}
.hero__lead {
  margin-bottom: var(--space-7);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-7);
}
.hero__actions .btn {
  flex: 1 1 auto;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-on-dark-2);
}
.hero__trust-item .icon {
  width: 18px;
  height: 18px;
  color: var(--lime-500);
}
/* Les pastilles du hero adoptent le traitement « sur fond sombre ». */
.hero .badge {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-on-dark-2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero .badge .icon,
.hero .badge--success .icon {
  color: var(--lime-500);
}
.hero .badge--success {
  color: var(--lime-300);
}

.hero__visual {
  position: relative;
}
.hero__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 30px 70px rgba(5, 14, 9, 0.55),
    0 0 90px rgba(184, 245, 62, 0.14);
}
.hero__floating {
  position: absolute;
  left: -12px;
  bottom: 24px;
  background: rgba(13, 31, 22, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-float);
  padding: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  max-width: 260px;
}
.hero__floating-icon {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--lime-500);
  color: var(--primary-950);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(184, 245, 62, 0.45);
}
.hero__floating strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}
.hero__floating span {
  font-size: 13px;
  color: var(--text-on-dark-2);
}

/* Carte flottante en verre depoli, posee sur le fond sombre du hero. */
.quicksim {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 30px 70px rgba(5, 14, 9, 0.45),
    0 0 60px rgba(184, 245, 62, 0.1);
  overflow: hidden;
}
.quicksim__head {
  background: var(--grad-recap);
  color: #fff;
  padding: var(--space-5) var(--space-6);
}
.quicksim__head h2 {
  color: #fff;
  font-size: 1.125rem;
  margin-bottom: 2px;
}
.quicksim__head p {
  font-size: 13px;
  color: var(--text-on-dark-2);
}
.quicksim__body {
  padding: var(--space-6);
}
.quicksim__result {
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
}
.quicksim__result .label {
  font-size: 13px;
  color: var(--text-muted);
}
.quicksim__amount {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.quicksim__foot {
  margin-top: var(--space-4);
  font-size: 12px;
  color: var(--text-muted);
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: var(--space-7);
}
/* Variante verre depoli pour les cartes posees sur un visuel. */
.card--glass {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-glass);
}
.card--interactive {
  cursor: pointer;
  transition:
    transform var(--dur-slow) var(--ease-standard),
    box-shadow var(--dur-slow) var(--ease-standard),
    border-color var(--dur-slow) var(--ease-standard);
}
.card--interactive:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--lime-400);
}

.atout__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--primary-100);
  color: var(--primary-700);
  border: 1px solid var(--primary-200);
  border-radius: 50%;
  margin-bottom: var(--space-5);
}
.atout h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.atout p {
  font-size: 15px;
  color: var(--text-secondary);
}

.offer {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.offer__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--primary-100);
  color: var(--primary-700);
  border: 1px solid var(--primary-200);
  border-radius: 50%;
  margin-bottom: var(--space-5);
}
.offer .tag {
  align-self: flex-start;
  margin-bottom: var(--space-4);
}
.offer h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.offer__desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}
.offer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}
.offer__meta div {
  display: flex;
  flex-direction: column;
}
.offer__meta dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.offer__meta dd {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}
.offer__foot {
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-6) var(--space-8);
}
.partners__item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition:
    border-color var(--dur-base) var(--ease-standard),
    color var(--dur-base) var(--ease-standard);
}
.partners__item:hover {
  border-color: var(--lime-400);
  color: var(--text-primary);
}
.partners__item .icon {
  width: 20px;
  height: 20px;
  color: var(--primary-500);
}

.recap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.recap__head {
  background: var(--grad-recap);
  color: #fff;
  padding: var(--space-6);
}
.recap__head h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 2px;
}
.recap__head p {
  font-size: 13px;
  color: var(--text-on-dark-2);
}
.recap__body {
  padding: var(--space-6);
}
.recap__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
}
.recap__row + .recap__row {
  border-top: 1px solid var(--border);
}
.recap__row .label {
  font-size: 14px;
  color: var(--text-secondary);
}
.recap__row .value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.recap__row--total {
  padding-top: var(--space-4);
  margin-top: var(--space-2);
  border-top: 2px solid var(--border-strong);
}
.recap__row--total .label {
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-display);
}
.recap__row--total .value {
  font-size: 1.75rem;
  color: var(--success-600);
}
.recap__foot {
  padding: var(--space-5) var(--space-6);
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-5);
}
.field:last-child {
  margin-bottom: 0;
}
.field__label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}
.field__label .req {
  color: var(--error-text);
  margin-left: 2px;
}
.field__hint {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

.input,
.select,
.textarea {
  width: 100%;
  height: 52px;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--text-primary);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition:
    border-color var(--dur-fast) var(--ease-standard),
    box-shadow var(--dur-fast) var(--ease-standard);
}
.textarea {
  height: auto;
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}
.input::placeholder,
.textarea::placeholder {
  color: var(--text-muted);
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: var(--shadow-focus);
}
.input:disabled,
.select:disabled {
  background: var(--surface-alt);
  opacity: 0.7;
  cursor: not-allowed;
}

.select-wrap {
  position: relative;
}
.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  cursor: pointer;
}
.select-wrap .icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  pointer-events: none;
}

.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea {
  border-color: var(--error-border);
}
.field.has-error .field__error {
  display: flex;
}
.field__error {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--error-text);
  margin-top: 6px;
}
.field__error .icon {
  width: 15px;
  height: 15px;
}
.field.is-valid .input,
.field.is-valid .select {
  border-color: var(--success-border);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

.phone-group {
  display: flex;
}
.phone-group .select-wrap {
  /* Elargi : les libelles portent desormais l'indicatif ET le nom du pays
     ("+352 Luxembourg"). L'indicatif, information critique, reste toujours
     visible ; seul le nom se tronque sur les tres petits ecrans. */
  flex: 0 0 clamp(124px, 38%, 168px);
}
.phone-group .select {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
  padding-right: 34px;
}
.phone-group .select-wrap .icon {
  right: 10px;
}
.phone-group .input {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  flex: 1;
}

.choice-group {
  background: var(--surface-alt);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.choice {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
  padding: 6px 0;
}
.choice input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: 1.5px solid var(--border-strong);
  background: #fff;
  transition:
    border-color var(--dur-fast),
    background var(--dur-fast);
  cursor: pointer;
  position: relative;
}
.choice input[type="radio"] {
  border-radius: 50%;
}
.choice input[type="checkbox"] {
  border-radius: 6px;
}
.choice input:checked {
  border-color: var(--primary-600);
  background: var(--primary-600);
}
.choice input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
}
.choice input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.choice input:focus-visible {
  box-shadow: var(--shadow-focus);
}
.choice span {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
}
.choice small {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
}

.infobox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  background: var(--info-bg);
  border: 1px solid var(--info-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  font-size: 14px;
  color: var(--text-secondary);
}
.infobox .icon {
  width: 20px;
  height: 20px;
  color: var(--info-text);
  flex: none;
  margin-top: 1px;
}
.infobox strong {
  color: var(--info-text);
}

.form-actions {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}

.slider-field {
  margin-bottom: var(--space-6);
}
.slider-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.slider-top .field__label {
  margin-bottom: 0;
}
.slider-value {
  position: relative;
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}
.slider-value input {
  width: 96px;
  height: 44px;
  border: none;
  text-align: right;
  padding: 0 8px 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  background: transparent;
}
.slider-value input:focus {
  outline: none;
}
.slider-value:focus-within {
  border-color: var(--primary-500);
  box-shadow: var(--shadow-focus);
}
.slider-value .unit {
  padding-right: 12px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

input[type="range"].slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  margin: 6px 0;
  border-radius: var(--radius-full);
  background: linear-gradient(
    90deg,
    var(--lime-600) 0%,
    var(--lime-500) var(--fill, 30%),
    var(--surface-alt) var(--fill, 30%),
    var(--surface-alt) 100%
  );
  cursor: pointer;
}
input[type="range"].slider:focus {
  outline: none;
}
input[type="range"].slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-950);
  border: 3px solid var(--lime-500);
  box-shadow: 0 0 0 4px rgba(184, 245, 62, 0.2);
  transition:
    transform var(--dur-base) var(--ease-standard),
    box-shadow var(--dur-base);
}
input[type="range"].slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}
input[type="range"].slider:focus-visible::-webkit-slider-thumb {
  box-shadow: var(--shadow-focus);
}
input[type="range"].slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-950);
  border: 3px solid var(--lime-500);
  box-shadow: 0 0 0 4px rgba(184, 245, 62, 0.2);
  cursor: pointer;
}
input[type="range"].slider::-moz-range-track {
  background: transparent;
}
.slider-minmax {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}

.stepper {
  margin-bottom: var(--space-8);
}
.stepper__mobile {
  display: block;
}
.stepper__mobile-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--primary-700);
  margin-bottom: var(--space-3);
}
.stepper__bar {
  height: 4px;
  border-radius: var(--radius-full);
  background: var(--border);
  overflow: hidden;
}
.stepper__bar-fill {
  height: 100%;
  background: var(--grad-brand);
  border-radius: var(--radius-full);
  transition: width var(--dur-slow) var(--ease-standard);
}

.stepper__desktop {
  display: none;
}
.stepper__track {
  display: flex;
  align-items: flex-start;
}
.stepper__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  flex: 0 0 auto;
  width: 96px;
  text-align: center;
}
.stepper__dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  background: var(--surface-alt);
  color: var(--text-muted);
  border: 2px solid transparent;
  transition:
    background var(--dur-base),
    color var(--dur-base),
    border-color var(--dur-base);
}
.stepper__dot .icon {
  width: 20px;
  height: 20px;
  color: var(--primary-950);
}
.stepper__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}
.stepper__line {
  flex: 1 1 auto;
  height: 2px;
  background: var(--border);
  margin-top: 19px;
  position: relative;
}
.stepper__line::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 0;
  background: var(--lime-500);
  transition: width var(--dur-slow) var(--ease-standard);
}
.stepper__step[data-state="active"] .stepper__dot {
  background: #fff;
  border-color: var(--lime-500);
  color: var(--primary-800);
  box-shadow: 0 0 0 4px rgba(184, 245, 62, 0.24);
}
.stepper__step[data-state="active"] .stepper__label {
  color: var(--primary-700);
  font-weight: 600;
}
.stepper__step[data-state="done"] .stepper__dot {
  background: var(--lime-500);
  color: var(--primary-950);
}
.stepper__step[data-state="done"] + .stepper__line::after,
.stepper__line[data-filled="true"]::after {
  width: 100%;
}

.form-step {
  display: none;
}
.form-step.is-active {
  display: block;
  animation: stepIn var(--dur-slow) var(--ease-standard);
}
@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.accordion {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.accordion__item + .accordion__item {
  border-top: 1px solid var(--border);
}
.accordion__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  transition: background var(--dur-fast) var(--ease-standard);
}
.accordion__btn:hover {
  background: var(--surface);
}
.accordion__btn .icon {
  width: 22px;
  height: 22px;
  color: var(--primary-600);
  flex: none;
  transition: transform var(--dur-slow) var(--ease-standard);
}
.accordion__btn[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}
.accordion__panel {
  overflow: hidden;
  height: 0;
  transition: height var(--dur-slow) var(--ease-standard);
}
.accordion__inner {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--text-secondary);
  font-size: 15px;
}
.accordion__inner p + p {
  margin-top: var(--space-3);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: var(--space-5);
  visibility: hidden;
  pointer-events: none;
}
.modal[data-open="true"] {
  visibility: visible;
  pointer-events: auto;
}
.modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(16, 29, 56, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-standard);
}
.modal[data-open="true"] .modal__scrim {
  opacity: 1;
}
.modal__box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glass);
  padding: var(--space-7);
  text-align: center;
  transform: scale(0.96);
  opacity: 0;
  transition:
    transform var(--dur-base) var(--ease-standard),
    opacity var(--dur-base) var(--ease-standard);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.modal[data-open="true"] .modal__box {
  transform: scale(1);
  opacity: 1;
}
.modal__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-5);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--success-50);
  color: var(--success-600);
}
.modal__icon .icon {
  width: 30px;
  height: 30px;
}
.modal__icon--info {
  background: var(--lime-soft);
  color: var(--primary-700);
}
.modal__box h3 {
  margin-bottom: var(--space-3);
}
.modal__box p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}
.modal__actions {
  display: grid;
  gap: var(--space-3);
}
.modal__ref {
  display: inline-block;
  margin-top: var(--space-4);
  font-size: 13px;
  color: var(--text-muted);
}
.modal__ref strong {
  font-family: var(--font-display);
  color: var(--primary-700);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
.stat {
  text-align: center;
}
.stat__label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: var(--space-2);
}
.section--dark .stat__label {
  color: var(--text-on-dark-2);
}

.steps {
  display: grid;
  gap: var(--space-6);
  counter-reset: step;
}
.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: var(--space-8) var(--space-7) var(--space-7);
}
.step-card__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-brand);
  color: var(--primary-950);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  margin-bottom: var(--space-5);
  box-shadow: var(--shadow-cta);
}
.step-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.step-card p {
  font-size: 15px;
  color: var(--text-secondary);
}
.step-card__connector {
  display: none;
}

.sim-layout {
  display: grid;
  gap: var(--space-7);
  align-items: start;
}
.sim-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card);
  padding: var(--space-7);
}
.sim-results {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}
.sim-result-item {
}
.sim-result-item .label {
  font-size: 13px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}
.sim-result-item .value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}
.sim-result-item .value--accent {
  color: var(--primary-700);
}

/* Banniere CTA : bloc sombre arrondi pose sur la section claire. */
.section--dark.cta-final {
  background: var(--white);
  overflow: visible;
  padding-block: 24px 80px;
  text-align: center;
}
.section--dark.cta-final::before {
  content: none;
}
.cta-final > .container {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: var(--dark-1);
  background-image: var(--glow-band);
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px);
  box-shadow: 0 30px 70px rgba(10, 26, 18, 0.22);
}
/* Photo d'ambiance en fond de la carte CTA + voile sombre.
   Fichier attendu : images/cta-bg.webp (2400x1000, WebP, ~200 Ko).
   S'il est absent, seuls les degrades s'affichent : la carte reste identique
   a la version actuelle, sans cadre casse ni zone vide. */
.cta-final > .container::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(
      120% 95% at 50% 0%,
      rgba(31, 112, 73, 0.5),
      transparent 68%
    ),
    linear-gradient(
      180deg,
      rgba(10, 26, 18, 0.82) 0%,
      rgba(10, 26, 18, 0.76) 45%,
      rgba(10, 26, 18, 0.9) 100%
    ),
    url("../images/cta-bg.webp") center / cover no-repeat;
}

.cta-final > .container::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grid-texture);
  background-size: 56px 56px;
  mask-image: radial-gradient(closest-side at 50% 50%, #000 10%, transparent 88%);
  -webkit-mask-image: radial-gradient(
    closest-side at 50% 50%,
    #000 10%,
    transparent 88%
  );
}
.cta-final h2 {
  margin-bottom: var(--space-4);
}
.cta-final p {
  max-width: 60ch;
  margin-inline: auto;
  margin-bottom: var(--space-7);
  color: var(--text-on-dark-2);
}
.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.legal {
  background: var(--white);
}
.legal__doc {
  max-width: 760px;
  margin-inline: auto;
}
.legal__doc h2 {
  margin-bottom: var(--space-3);
}
.legal__doc h3 {
  font-size: 1.125rem;
  margin: var(--space-7) 0 var(--space-3);
}
.legal__doc p,
.legal__doc li {
  font-size: 15px;
  color: var(--text-secondary);
}
.legal__doc p + p {
  margin-top: var(--space-3);
}
.legal__doc ul {
  padding-left: var(--space-6);
  margin-top: var(--space-3);
  display: grid;
  gap: 8px;
  list-style: disc;
}
.legal__notice {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  font-size: 14px;
  color: var(--warn-text);
  margin-bottom: var(--space-7);
}
.legal__notice .icon {
  color: var(--warn-text);
  flex: none;
  margin-top: 1px;
  width: 20px;
  height: 20px;
}
.legal__toc {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}
.legal__toc a {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--surface-alt);
  color: var(--primary-700);
  transition: background var(--dur-fast);
}
.legal__toc a:hover {
  background: var(--primary-50);
}
.legal__toc a[aria-current="page"] {
  background: var(--lime-500);
  color: var(--primary-950);
  font-weight: 600;
}
.legal__updated {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: var(--space-7);
}
.legal__doc h4 {
  font-size: 1rem;
  margin: var(--space-5) 0 var(--space-2);
}

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--dark-1);
  color: var(--text-on-dark-2);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
      900px 400px at 12% 0%,
      rgba(184, 245, 62, 0.13),
      transparent 68%
    ),
    var(--grid-texture);
  background-size: auto, 72px 72px, 72px 72px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 60%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 60%);
}
.site-footer > .container {
  position: relative;
  z-index: 1;
}
.footer__main {
  padding-block: 56px 40px;
}
.footer__grid {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 1fr;
}
.footer__brand img {
  height: 40px;
  width: auto;
  margin-bottom: var(--space-5);
}
.footer__baseline {
  font-size: 14px;
  color: var(--text-on-dark-2);
  max-width: 34ch;
  margin-bottom: var(--space-5);
}
.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.footer__col-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  margin-bottom: var(--space-4);
}
.footer__links {
  display: grid;
  gap: var(--space-3);
}
.footer__links a {
  font-size: 15px;
  color: var(--text-on-dark-2);
  transition: color var(--dur-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer__links a:hover {
  color: #fff;
}
.footer__links .icon {
  width: 16px;
  height: 16px;
  color: var(--lime-500);
}
.footer__legal-note {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  font-size: 13px;
  color: var(--text-on-dark-2);
  margin-top: var(--space-8);
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.footer__legal-note .icon {
  width: 20px;
  height: 20px;
  color: var(--lime-500);
  flex: none;
  margin-top: 1px;
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: 13px;
}
.footer__bottom-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.footer__copy {
  color: var(--text-muted);
}

.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 170;
  background: rgba(13, 31, 22, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(5, 14, 9, 0.55);
  padding: var(--space-6);
  transform: translateY(140%);
  transition: transform var(--dur-slow) var(--ease-standard);
  max-width: 720px;
  margin-inline: auto;
}
.cookie[data-open="true"] {
  transform: translateY(0);
}
.cookie h3 {
  font-size: 1.0625rem;
  color: #fff;
  margin-bottom: var(--space-2);
}
.cookie p {
  font-size: 14px;
  color: var(--text-on-dark-2);
  margin-bottom: var(--space-5);
}
.cookie p a {
  color: var(--lime-500);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie .btn--secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.cookie .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
}
.cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.cookie__actions .btn {
  flex: 1 1 auto;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--dur-reveal) var(--ease-standard),
    transform var(--dur-reveal) var(--ease-standard);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] {
  transition-delay: 70ms;
}
.reveal[data-delay="2"] {
  transition-delay: 140ms;
}
.reveal[data-delay="3"] {
  transition-delay: 210ms;
}
.reveal[data-delay="4"] {
  transition-delay: 280ms;
}
.reveal[data-delay="5"] {
  transition-delay: 350ms;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
  .hero__actions .btn {
    flex: 0 1 auto;
  }
  .cookie {
    padding: var(--space-6);
  }
  .cookie__actions .btn {
    flex: 0 1 auto;
  }
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) {
  :root {
    --gutter: 24px;
  }
  .section {
    padding-block: 104px;
  }
  .section--tight {
    padding-block: 64px;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
  .footer__main {
    padding-block: 72px 48px;
  }
  .sim-results {
    gap: var(--space-6);
  }
  .hero {
    padding-block: 72px 96px;
  }

  .step-card__connector {
    display: block;
    position: absolute;
    top: calc(var(--space-7) + 26px);
    right: -20px;
    width: 40px;
    z-index: 2;
    color: var(--primary-200);
  }
  .step-card:last-child .step-card__connector {
    display: none;
  }
  .step-card__connector .icon {
    width: 40px;
    height: 24px;
  }
}

@media (min-width: 1024px) {
  .nav__menu {
    display: flex;
  }
  .nav__cta-desktop {
    display: inline-flex;
  }
  .nav__toggle {
    display: none;
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-10);
    align-items: center;
  }
  .hero__actions .btn {
    flex: 0 1 auto;
  }
  /* La carte de simulation chevauche le bas de la photo : colonne de droite plus compacte */
  .hero__visual .quicksim {
    position: relative;
    z-index: 2;
    margin-top: calc(-1 * var(--space-10));
    margin-inline: var(--space-6);
  }

  .stepper__mobile {
    display: none;
  }
  .stepper__desktop {
    display: block;
  }

  .sim-layout {
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-8);
  }
  .recap.is-sticky {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

@media (min-width: 1280px) {
  .hero__grid {
    gap: var(--space-12);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .btn:hover,
  .card--interactive:hover {
    transform: none;
  }
}

/* ============================================================================
   Bandeau « Avis clients » — défilement horizontal infini, 100 % CSS.
   Toutes les classes et keyframes portent le préfixe cf- : le composant ne
   partage aucun sélecteur avec le reste du site.

   Le bouclage sans saut repose sur trois points, à ne pas modifier :
   1. la piste contient les 5 avis puis leur copie conforme (10 cartes) ;
   2. la gouttière est portée par margin-right sur CHAQUE carte, jamais par
      gap : avec gap, la piste vaut 10·L + 9·G et le -50 % dérive d'un demi-
      gap à chaque tour ; avec margin-right, chaque carte occupe exactement
      L + G, la piste vaut 10·(L + G) et -50 % tombe pile sur un jeu complet ;
   3. l'animation est linear : la moindre courbe rend la reprise visible.
   ========================================================================== */

.cf-says {
  overflow: hidden;
} /* aucune barre de défilement horizontale */

.cf-says-head {
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--space-7);
  text-align: center;
}
.cf-says-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}
.cf-says-sub {
  font-size: 15px;
  color: var(--text-secondary);
}

/* Piste pleine largeur : fondu des bords + confinement du débordement. */
.cf-says-rail {
  --cf-fade: clamp(48px, 9vw, 132px);
  position: relative;
  overflow: hidden;
  padding-block: 8px; /* laisse respirer l'ombre des cartes */
  margin-bottom: var(--space-9);
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 var(--cf-fade),
    #000 calc(100% - var(--cf-fade)),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 var(--cf-fade),
    #000 calc(100% - var(--cf-fade)),
    transparent 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

/* Dimensionnée par son contenu : width max-content + cartes non compressibles. */
.cf-says-track {
  display: flex;
  align-items: stretch; /* toutes les cartes à la même hauteur */
  width: max-content;
  padding: 0;
  margin: 0;
  list-style: none;
  animation: cfSaysSlide 45s linear infinite;
  will-change: transform;
}

.cf-say-item {
  flex: 0 0 clamp(272px, 78vw, 376px);
  margin-right: 24px; /* JAMAIS « gap » sur la piste */
  display: flex;
}
.cf-say-item > .cf-say {
  flex: 1;
}

.cf-say {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: var(--space-7);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}
.cf-say-score {
  display: inline-flex;
  gap: 2px;
  margin-bottom: var(--space-3);
}
.cf-say-star {
  width: 18px;
  height: 18px;
  flex: none;
  fill: var(--lime-600);
  stroke: var(--lime-600);
  stroke-width: 2;
  stroke-linejoin: round;
}
.cf-say-quote {
  margin: 0 0 var(--space-5);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.cf-say-by {
  margin-top: auto; /* signature collée en bas, cartes alignées */
  display: flex;
  flex-direction: column;
}
.cf-say-who {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
}
.cf-say-loc {
  font-size: 13px;
  color: var(--text-muted);
}

@keyframes cfSaysSlide {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Sans animation : le fondu et la piste disparaissent au profit d'une grille
   souple. Sans ce repli, la piste resterait figée et les avis au-delà du
   premier écran seraient inatteignables. */
@media (prefers-reduced-motion: reduce) {
  .cf-says-rail {
    overflow: visible;
    padding-inline: var(--gutter); /* la grille n'est plus full-bleed */
    -webkit-mask-image: none;
    mask-image: none;
  }
  .cf-says-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }
  .cf-say-item {
    flex: 0 1 340px;
    margin: 0 12px 24px;
  }
  .cf-say-clone {
    display: none;
  } /* sinon les avis s'affichent en double */
}


/* ============================================================================
   DECORS — glow, grille, particules, carte du monde pointillee
   Elements purement decoratifs : toujours aria-hidden et non cliquables.
   ========================================================================= */

/* Conteneur de decor : occupe la section sans jamais gener le contenu. */
.decor {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.section > .container,
.hero > .container {
  position: relative;
  z-index: 1;
}

/* Petites particules vertes lumineuses, facon confetti discret. */
.decor-particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 12% 22%, rgba(184, 245, 62, 0.9), transparent 60%),
    radial-gradient(2px 2px at 78% 14%, rgba(184, 245, 62, 0.6), transparent 60%),
    radial-gradient(3px 3px at 62% 68%, rgba(184, 245, 62, 0.45), transparent 60%),
    radial-gradient(2px 2px at 30% 78%, rgba(184, 245, 62, 0.7), transparent 60%),
    radial-gradient(2px 2px at 90% 56%, rgba(184, 245, 62, 0.5), transparent 60%),
    radial-gradient(2px 2px at 46% 34%, rgba(184, 245, 62, 0.35), transparent 60%),
    radial-gradient(3px 3px at 8% 62%, rgba(184, 245, 62, 0.4), transparent 60%);
  background-repeat: no-repeat;
  animation: decorTwinkle 7s ease-in-out infinite alternate;
}
@keyframes decorTwinkle {
  from {
    opacity: 0.55;
  }
  to {
    opacity: 1;
  }
}

/* Carte du monde en pointilles : filigrane pose en image de fond.
   Le fichier images/world-map-dots.webp reste optionnel — s'il est absent,
   la section s'affiche simplement sans filigrane, sans cadre ni alt. */
.decor-map {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(1320px, 122%);
  aspect-ratio: 1180 / 560;
  translate: -50% -50%;
  opacity: 0.28;
  /* Le fichier .webp se superpose au semis de points ; s'il manque, seul le
     semis subsiste et la section reste propre. */
  background:
    url("../images/world-map-dots.webp") center / contain no-repeat,
    radial-gradient(circle, rgba(31, 112, 73, 0.26) 1.3px, transparent 1.6px) 0
      0 / 15px 15px;
  /* Fondu ELLIPTIQUE cale sur la boite : un cercle "closest-side" ne revelait
     qu'un disque de ~280px au centre, cache par le contenu -> filigrane
     invisible. L'ellipse suit le ratio 1180/560 et laisse voir toute la carte,
     en ne dissolvant que les tout derniers bords. */
  mask-image: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    #000 52%,
    rgba(0, 0, 0, 0.45) 80%,
    transparent 100%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    #000 52%,
    rgba(0, 0, 0, 0.45) 80%,
    transparent 100%
  );
}
.section--dark .decor-map {
  opacity: 0.24;
}

/* Voile de lisibilite : pose DANS .decor, apres .decor-map, donc au-dessus du
   filigrane et des pastilles mais toujours sous le contenu (z-index 1).
   Plus dense au centre, la ou se trouvent les titres, chiffres et paragraphes ;
   plus transparent sur les bords pour laisser respirer la carte. */
.cf-says .decor::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    72% 78% at 50% 50%,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(255, 255, 255, 0.74) 45%,
    rgba(255, 255, 255, 0.4) 78%,
    rgba(255, 255, 255, 0.12) 100%
  );
}

/* Points lumineux poses sur la carte, aux emplacements cles. */
.decor-pin {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime-500);
  box-shadow: 0 0 0 4px rgba(184, 245, 62, 0.22),
    0 0 18px rgba(184, 245, 62, 0.75);
  animation: decorPulse 2.8s ease-in-out infinite;
}
.decor-pin:nth-child(2) {
  animation-delay: 0.6s;
}
.decor-pin:nth-child(3) {
  animation-delay: 1.2s;
}
.decor-pin:nth-child(4) {
  animation-delay: 1.8s;
}
@keyframes decorPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.28);
    opacity: 1;
  }
}

/* Halo vert diffus a poser derriere une illustration ou une carte. */
.decor-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  background: rgba(184, 245, 62, 0.28);
}

/* ---------------------------------------------------------------------------
   BANDEAU STATISTIQUES — chiffres enormes sur fond vert pale
   ------------------------------------------------------------------------ */
.stats-band {
  display: grid;
  gap: var(--space-8) var(--space-6);
  grid-template-columns: repeat(2, 1fr);
  padding: var(--space-8) 0 0;
  margin-top: var(--space-9);
  border-top: 1px solid var(--primary-200);
}
.stats-band .stat {
  text-align: left;
}
@media (min-width: 768px) {
  .stats-band {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Sur fond vert pale, les cartes restent blanches et nettement detachees. */
.section--mint .card,
.section--mint .sim-form,
.section--mint .step-card,
.section--mint .accordion {
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}

/* ---------------------------------------------------------------------------
   PASTILLES DEVISES / CATEGORIES — fond vert tres pale, forme pilule
   ------------------------------------------------------------------------ */
.chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
}
.chips__label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: var(--space-2);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--primary-200);
  background: var(--primary-50);
  color: var(--primary-800);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.chip--accent {
  background: var(--lime-soft);
  border-color: var(--lime-400);
}
.section--dark .chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text-on-dark-2);
}

/* ---------------------------------------------------------------------------
   CARTE « NOTIFICATION » — fond sombre, pastille ronde verte a coche
   ------------------------------------------------------------------------ */
.notice-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: rgba(13, 31, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-float);
  color: var(--text-on-dark-2);
  max-width: 320px;
}
.notice-card__icon {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime-500);
  color: var(--primary-950);
  box-shadow: 0 0 22px rgba(184, 245, 62, 0.45);
}
.notice-card__icon .icon {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
}
.notice-card strong {
  display: block;
  font-size: 15px;
  color: #fff;
  margin-bottom: 2px;
}
.notice-card span {
  font-size: 13px;
  color: var(--text-on-dark-2);
}

/* ---------------------------------------------------------------------------
   VISUEL ASYMETRIQUE — texte d'un cote, illustration de l'autre
   ------------------------------------------------------------------------ */
.split {
  display: grid;
  gap: var(--space-9);
  align-items: center;
}
.split__visual {
  position: relative;
}
.split__media {
  width: 100%;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-glass);
}
.split__badge {
  position: absolute;
  right: -8px;
  top: -16px;
}
@media (min-width: 1024px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-11);
  }
  .split--reverse .split__intro {
    order: 2;
  }
}

/* Sans animation : particules et pastilles restent fixes. */
@media (prefers-reduced-motion: reduce) {
  .decor-particles,
  .decor-pin {
    animation: none;
  }
}
