/* Compilé depuis styles/tokens.css + styles/main.css (source unique du CSS). */
/* Tokens repris de design/_ds/.../components/fig-tokens.css (source de vérité).
   Accent cyan = couleur signature du canvas Landing (rgb(0,204,255), non tokenisée). */
:root {
  /* Familles de couleurs */
  --color-azure-50: rgb(240, 247, 255);
  --color-azure-200: rgb(186, 214, 254);
  --color-azure-500: rgb(47, 127, 253);
  --color-azure-600: rgb(27, 98, 217);
  --color-azure-700: rgb(19, 72, 182);
  --color-jade-50: rgb(237, 253, 243);
  --color-jade-200: rgb(149, 250, 171);
  --color-jade-500: rgb(0, 205, 105);
  --color-jade-600: rgb(0, 176, 107);
  --color-topaz-50: rgb(255, 247, 233);
  --color-topaz-200: rgb(255, 220, 170);
  --color-topaz-500: rgb(255, 139, 43);
  --color-topaz-600: rgb(219, 98, 31);
  --color-ruby-50: rgb(255, 245, 246);
  --color-ruby-500: rgb(255, 84, 84);
  --color-ruby-600: rgb(219, 61, 75);
  --color-neutral-0: rgb(255, 255, 255);
  --color-neutral-50: rgb(249, 250, 251);
  --color-neutral-100: rgb(243, 244, 246);
  --color-neutral-200: rgb(229, 231, 235);
  --color-neutral-400: rgb(156, 163, 175);
  --color-neutral-500: rgb(107, 114, 128);
  --color-neutral-600: rgb(75, 85, 99);
  --color-neutral-800: rgb(31, 41, 55);
  --color-neutral-900: rgb(17, 24, 39);
  --color-neutral-1000: rgb(6, 14, 30);
  --color-sapphire-500: rgb(11, 37, 75);
  --color-cyan: rgb(0, 204, 255);

  /* Rôles sémantiques */
  --action-primary-default: var(--color-azure-500);
  --action-primary-hover: var(--color-azure-600);
  --action-primary-active: var(--color-azure-700);
  --surface-default: var(--color-neutral-0);
  --surface-subtle: var(--color-neutral-50);
  --text-primary: var(--color-neutral-900);
  --text-secondary: var(--color-neutral-600);
  --text-tertiary: var(--color-neutral-400);
  --text-tertiary-2: var(--color-neutral-500);
  --text-action: var(--color-azure-500);
  --border-default: var(--color-neutral-200);

  /* Rayons */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 999px;

  /* Ombres (warm-grey, cf. _ds/styles.css) */
  --shadow-sm: 0 1px 2px rgba(65, 70, 81, 0.08), 0 1px 3px rgba(65, 70, 81, 0.1);
  --shadow-md: 0 4px 8px rgba(65, 70, 81, 0.1), 0 2px 4px rgba(65, 70, 81, 0.08);
  --shadow-lg: 0 12px 28px rgba(65, 70, 81, 0.16), 0 6px 12px rgba(65, 70, 81, 0.1);

  /* Typographie */
  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1080px;
}

/* =========================================================================
   Fontes self-hostées (subset latin, @fontsource) — pas de Google Fonts.
   ========================================================================= */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/inter-600.woff2") format("woff2"); }

/* =========================================================================
   Reset & base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--surface-default);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body > main { flex: 1 0 auto; }
h1, h2, h3, p { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: var(--text-action); text-decoration: none; }
a:hover { color: var(--color-azure-600); }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--color-azure-500); outline-offset: 2px; border-radius: 2px; }
.skip-link {
  position: absolute; left: 8px; top: -48px; z-index: 100;
  background: #fff; color: var(--text-primary); padding: 10px 16px;
  border-radius: var(--radius-md); box-shadow: var(--shadow-md); transition: top 0.15s ease;
}
.skip-link:focus { top: 8px; }
.font-ui { font-family: var(--font-ui); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* =========================================================================
   Primitives
   ========================================================================= */
.container { max-width: var(--container); margin: 0 auto; padding-inline: 32px; }
/* .section : padding vertical seulement ; l'horizontal vient du .container interne. */
.section { padding: 96px 0; }
.section__head { text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.section__title { font-size: clamp(28px, 4vw, 36px); font-weight: 600; color: var(--color-sapphire-500); text-wrap: balance; }
.section__subtitle { font-size: 16px; color: var(--text-secondary); text-wrap: pretty; }
.eyebrow { font-family: var(--font-ui); font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-azure-600); }

.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font-family: var(--font-sans); font-weight: 600; border: none; cursor: pointer;
  border-radius: var(--radius-full); text-align: center;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn--primary { background: var(--action-primary-default); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--action-primary-hover); color: #fff; transform: translateY(-3px); }
.btn--primary:active { background: var(--action-primary-active); }
.btn--lg { font-size: 18px; padding: 18px 36px; box-shadow: var(--shadow-lg); }
.btn--md { font-size: 16px; padding: 16px 32px; }
.btn[aria-disabled="true"] { background: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.5); box-shadow: none; cursor: not-allowed; pointer-events: none; transform: none; }
.cta-block { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cta-block__sub { font-family: var(--font-ui); font-size: 13px; color: var(--text-tertiary-2); }

.pill {
  display: inline-block; font-family: var(--font-ui); font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: var(--radius-full); box-shadow: var(--shadow-sm);
}

/* tonalités de tags/badges (évite tout hex dans les templates) */
.tone-azure { background: var(--color-azure-50); color: var(--color-azure-700); }
.tone-topaz { background: var(--color-topaz-50); color: var(--color-topaz-600); }
.tone-neutral { background: var(--color-neutral-100); color: var(--color-neutral-600); }
.tone-jade { background: var(--color-jade-50); color: var(--color-jade-600); }

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; padding: 16px 32px; background: var(--color-sapphire-500);
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 34px; height: 34px; border-radius: 9px; background: var(--color-azure-500); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo__word { font-size: 17px; font-weight: 600; color: #fff; }
.logo__word .sap { letter-spacing: 0.06em; color: var(--color-cyan); }
.site-header__tagline { font-family: var(--font-ui); font-size: 13px; color: rgba(255, 255, 255, 0.6); }

/* =========================================================================
   Hero
   ========================================================================= */
.hero { position: relative; background: var(--color-sapphire-500); padding: 96px 32px 140px; overflow: hidden; }
.hero__glow { position: absolute; top: -180px; left: 50%; transform: translateX(-50%); width: 720px; height: 480px; background: radial-gradient(ellipse at center, rgba(0, 204, 255, 0.18) 0%, rgba(0, 204, 255, 0) 70%); pointer-events: none; }
.hero__inner { position: relative; max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.hero__badge { background: var(--color-cyan); color: var(--color-sapphire-500); font-family: var(--font-ui); font-size: 14px; font-weight: 600; padding: 8px 18px; transform: rotate(-2deg); box-shadow: var(--shadow-md); }
.hero__title { font-size: clamp(38px, 5.6vw, 62px); line-height: 1.1; font-weight: 600; color: #fff; text-wrap: balance; }
.hero__title .hl { display: inline-block; background: var(--color-cyan); color: var(--color-sapphire-500); padding: 0 14px; border-radius: var(--radius-lg); transform: rotate(-1.5deg); }
.hero__subtitle { max-width: 580px; font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, 0.78); text-wrap: pretty; }
.hero__microcopy { font-family: var(--font-ui); font-size: 14px; color: rgba(255, 255, 255, 0.55); }
.hero__floater { position: absolute; pointer-events: none; }

.hero__cta { display: flex; flex-direction: column; align-items: center; gap: 8px; }

/* Callout indisponibilité (RM-CAL-018), masqué par défaut, révélé par js/health.js */
.cta-unavailable { display: none; flex-direction: column; align-items: center; gap: 12px; max-width: 480px; }
.is-unavailable .hero__cta > [data-cta] { display: none; }
.is-unavailable .cta-unavailable { display: flex; }
/* CTA secondaires neutralisés quand le simulateur est indisponible */
.btn--blocked { opacity: 0.55; cursor: not-allowed; pointer-events: none; box-shadow: none; transform: none; }
.callout {
  display: flex; gap: 10px; align-items: flex-start; text-align: left;
  background: var(--color-topaz-50); border: 1px solid var(--color-topaz-200);
  border-radius: var(--radius-lg); padding: 14px 16px; box-shadow: var(--shadow-sm); width: 100%;
}
.callout__body { font-family: var(--font-ui); font-size: 14px; }
.callout__title { font-weight: 600; color: var(--color-topaz-600); }
.callout__text { color: var(--text-secondary); }

/* Ruban défilant */
.ruban { background: var(--color-cyan); transform: rotate(-1.2deg); margin: -46px -20px 0; padding: 14px 0; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.ruban__track { display: flex; gap: 40px; width: max-content; animation: defiler 30s linear infinite; }
.ruban__item { font-family: var(--font-ui); font-size: 14px; font-weight: 600; color: var(--color-sapphire-500); white-space: nowrap; }
.ruban__sep { color: var(--color-sapphire-500); opacity: 0.5; }

/* =========================================================================
   Comparatif (4 cartes)
   ========================================================================= */
.comparatif { background: var(--surface-subtle); }
.comparatif__inner { display: flex; flex-direction: column; gap: 40px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.card {
  position: relative; background: var(--surface-default); border: 1px solid var(--border-default);
  border-radius: var(--radius-xl); padding: 28px 24px; display: flex; flex-direction: column; gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:nth-child(odd) { transform: rotate(-0.7deg); }
.card:nth-child(even) { transform: rotate(0.6deg); }
.card:hover { transform: rotate(0deg) translateY(-3px); box-shadow: var(--shadow-md); }
.card__tag { position: absolute; top: -14px; left: 20px; transform: rotate(-3deg); }
.card__head { display: flex; flex-direction: column; gap: 4px; padding-top: 6px; }
.card__title { font-size: 18px; font-weight: 600; color: var(--text-primary); line-height: 1.3; }
.card__subtitle { font-family: var(--font-ui); font-size: 13px; color: var(--text-secondary); }
.card__price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.card__price-val { font-size: 26px; font-weight: 600; color: var(--color-azure-700); }
.card__price-note { font-family: var(--font-ui); font-size: 12px; color: var(--text-secondary); }
.card__points { display: flex; flex-direction: column; gap: 9px; }
.card__point { display: flex; gap: 9px; align-items: flex-start; font-family: var(--font-ui); font-size: 13px; line-height: 1.45; color: var(--text-secondary); }
.card__point svg { flex-shrink: 0; margin-top: 1px; }
.icon-ok { color: var(--color-jade-600); }
.icon-ko { color: var(--color-ruby-600); }
.icon-info { color: var(--color-azure-500); }
.comparatif__note { text-align: center; font-family: var(--font-ui); font-size: 12px; color: var(--text-tertiary-2); }

/* =========================================================================
   Étapes
   ========================================================================= */
.etapes { background: var(--color-sapphire-500); position: relative; overflow: hidden; padding: 72px 32px; }
.etapes__glow { position: absolute; top: -80px; right: -60px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(0, 204, 255, 0.14) 0%, rgba(0, 204, 255, 0) 70%); }
.etapes__inner { position: relative; display: flex; flex-direction: column; gap: 40px; max-width: 1000px; margin: 0 auto; }
.etapes__head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.etapes__title { font-size: 30px; font-weight: 600; color: #fff; }
.etapes__hint { font-family: var(--font-ui); font-size: 14px; color: rgba(255, 255, 255, 0.6); }
.etapes__list { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; }
.etape { flex: 1 1 260px; display: flex; gap: 18px; padding: 8px 24px 8px 0; }
.etape + .etape { border-left: 1px solid rgba(255, 255, 255, 0.15); padding-left: 24px; }
.etape__num { flex-shrink: 0; font-size: 56px; font-weight: 600; line-height: 1; color: var(--color-cyan); font-variant-numeric: tabular-nums; }
.etape__body { display: flex; flex-direction: column; gap: 6px; padding-top: 6px; }
.etape__title { font-size: 18px; font-weight: 600; color: #fff; }
.etape__text { font-family: var(--font-ui); font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.7); text-wrap: pretty; }

/* =========================================================================
   Profils
   ========================================================================= */
.profils__inner { display: flex; flex-direction: column; gap: 40px; }
.profils__squiggle { color: var(--color-cyan); }
.profils__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.profil { background: var(--surface-subtle); border: 1px solid var(--border-default); border-radius: var(--radius-xl); padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; transition: transform 0.2s ease; }
.profil:hover { transform: translateY(-3px); }
.profil__icon { width: 46px; height: 46px; border-radius: var(--radius-md); background: var(--surface-default); border: 1px solid var(--border-default); display: inline-flex; align-items: center; justify-content: center; color: var(--color-azure-600); }
.profil__title { font-size: 16px; font-weight: 600; color: var(--text-primary); line-height: 1.35; }
.profil__text { font-family: var(--font-ui); font-size: 14px; line-height: 1.5; color: var(--text-secondary); }

/* =========================================================================
   Fiscalité (crédits d'impôt + deux atouts)
   ========================================================================= */
.fiscalite { background: var(--surface-subtle); border-top: 1px solid var(--border-default); border-bottom: 1px solid var(--border-default); }
.fiscalite__inner { display: flex; flex-direction: column; gap: 72px; }
.fiscalite__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.fiscalite__media { position: relative; height: 420px; }
.fiscalite__img-main { position: absolute; top: 0; left: 0; width: 74%; height: 74%; border-radius: 24px; overflow: hidden; }
.fiscalite__img-sec { position: absolute; bottom: 0; right: 0; width: 52%; height: 46%; border: 6px solid var(--surface-default); border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; }
.fiscalite__img-badge { position: absolute; top: 6%; right: -8px; background: var(--color-cyan); color: var(--color-sapphire-500); font-family: var(--font-ui); font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: var(--radius-full); transform: rotate(3deg); box-shadow: var(--shadow-md); z-index: 2; }
.fiscalite__content { display: flex; flex-direction: column; gap: 28px; }
.fiscalite__title { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.1; font-weight: 600; color: var(--color-sapphire-500); text-wrap: balance; }
.fiscalite__intro { font-size: 16px; line-height: 1.55; color: var(--text-secondary); text-wrap: pretty; }
.credit { display: flex; align-items: baseline; gap: 20px; padding: 22px 0; border-top: 1px solid var(--border-default); }
.credit:last-child { border-bottom: 1px solid var(--border-default); }
.credit__val { flex-shrink: 0; width: 132px; font-size: 56px; font-weight: 600; line-height: 0.9; font-variant-numeric: tabular-nums; }
.credit__val .unit { font-size: 26px; }
.credit__val.tone-num-azure { color: var(--color-azure-500); }
.credit__val.tone-num-jade { color: var(--color-jade-600); }
.credit__title { font-size: 17px; font-weight: 600; color: var(--text-primary); }
.credit__text { font-family: var(--font-ui); font-size: 14px; line-height: 1.5; color: var(--text-secondary); }

.atouts { display: flex; flex-direction: column; gap: 32px; }
.atouts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.atout { border-radius: var(--radius-xl); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.atout--primary { background: var(--color-azure-50); border: 1px solid var(--color-azure-200); }
.atout--muted { background: var(--surface-default); border: 1px solid var(--border-default); }
.atout__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.atout__badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-ui); font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: var(--radius-full); border: 1px solid transparent; }
.atout__badge.tone-jade { background: var(--color-jade-50); border-color: var(--color-jade-200); }
.atout__badge.tone-azure { background: var(--color-azure-50); border-color: var(--color-azure-200); color: var(--color-azure-700); }
.atout__badge .dot { width: 6px; height: 6px; border-radius: var(--radius-full); background: var(--color-jade-500); }
.atout__title { font-size: 20px; font-weight: 600; color: var(--color-sapphire-500); }
.atout__text { font-family: var(--font-ui); font-size: 14px; line-height: 1.55; color: var(--text-secondary); text-wrap: pretty; }

/* Photos du bloc « métier humain » (recadrées dans leurs cadres) */
.fiscalite__photo { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Emplacements image / logo provisoires */
.img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  text-align: center; font-family: var(--font-ui); font-size: 12px; color: var(--color-azure-700);
  background: linear-gradient(135deg, var(--color-azure-50), var(--color-neutral-100));
  padding: 12px;
}
.logo-placeholder {
  width: 96px; height: 40px; flex-shrink: 0; background: var(--surface-default);
  border: 1px solid var(--border-default); border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-size: 9px; line-height: 1.1; text-align: center; color: var(--text-tertiary-2); padding: 4px;
}
/* Vrai logo tiers (URSSAF, facturation électronique) dans un chip blanc (cf. canvas) */
.logo-box { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 5px 10px; background: #fff; border: 1px solid var(--border-default); border-radius: 10px; flex-shrink: 0; }
.logo-box img { height: 100%; width: auto; max-width: 128px; object-fit: contain; display: block; }

/* =========================================================================
   Postes de coûts (marquee)
   ========================================================================= */
.postes { background: var(--surface-subtle); border-top: 1px solid var(--border-default); border-bottom: 1px solid var(--border-default); padding: 48px 0; overflow: hidden; }
.postes__head { max-width: 1040px; margin: 0 auto 28px; padding: 0 32px; display: flex; flex-direction: column; gap: 4px; text-align: center; align-items: center; }
.postes__viewport { position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.postes__track { display: flex; width: max-content; gap: 14px; animation: defiler 38s linear infinite; }
.poste { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; background: var(--surface-default); border: 1px solid var(--border-default); border-radius: var(--radius-full); padding: 11px 20px; font-family: var(--font-ui); font-size: 14px; font-weight: 500; color: var(--text-primary); white-space: nowrap; }
.poste__dot { width: 6px; height: 6px; border-radius: var(--radius-full); flex-shrink: 0; background: var(--color-azure-500); }
.poste:nth-child(3n + 2) .poste__dot { background: var(--color-cyan); }
.poste:nth-child(3n + 3) .poste__dot { background: var(--color-jade-500); }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq__inner { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--surface-subtle); border: 1px solid var(--border-default); border-radius: var(--radius-lg); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-size: 16px; font-weight: 500; color: var(--text-primary); cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chevron { display: inline-flex; transition: transform 0.2s ease; flex-shrink: 0; color: var(--color-neutral-500); }
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__answer { padding: 0 22px 20px; font-family: var(--font-ui); font-size: 15px; line-height: 1.6; color: var(--text-secondary); text-wrap: pretty; }

/* =========================================================================
   CTA final
   ========================================================================= */
.cta-final { background: var(--surface-default); text-align: center; padding: 24px 32px 96px; }
.cta-final__inner { max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta-final__title { font-size: clamp(30px, 4vw, 44px); font-weight: 600; color: var(--color-sapphire-500); }
.cta-final__subtitle { font-size: 16px; line-height: 1.55; color: var(--text-secondary); }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { margin-top: auto; background: var(--color-sapphire-500); position: relative; overflow: hidden; padding: 72px 32px 36px; }
.site-footer__wash { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(11, 37, 75, 0) 0%, rgba(19, 72, 182, 0.22) 60%, rgba(0, 204, 255, 0.14) 100%); pointer-events: none; }
.site-footer__glow { position: absolute; border-radius: 999px; pointer-events: none; }
.site-footer__glow--1 { top: -60px; right: -40px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(0, 204, 255, 0.18) 0%, rgba(0, 204, 255, 0) 70%); }
.site-footer__glow--2 { bottom: -80px; left: 10%; width: 280px; height: 280px; background: radial-gradient(circle, rgba(47, 127, 253, 0.18) 0%, rgba(47, 127, 253, 0) 70%); }
/* Icônes « calculette » flottantes (=, %, +, €), décoratives */
.footer-deco { position: absolute; pointer-events: none; font-weight: 600; line-height: 1; user-select: none; }
.footer-deco--eq { top: 16%; left: 5%; --rot: -14deg; color: var(--color-cyan); opacity: 0.3; }
.footer-deco--pct { bottom: 22%; right: 6%; --rot: 12deg; font-size: 44px; color: var(--color-azure-500); opacity: 0.3; animation-delay: 1s; }
.footer-deco--plus { top: 24%; right: 24%; --rot: 8deg; font-size: 38px; color: var(--color-cyan); opacity: 0.25; animation-delay: 0.5s; }
.footer-deco--eur { bottom: 30%; left: 26%; --rot: -10deg; font-size: 48px; color: var(--color-azure-500); opacity: 0.28; animation-delay: 1.4s; }
.site-footer__inner { position: relative; max-width: 1040px; margin: 0 auto; display: flex; flex-direction: column; gap: 44px; }
.site-footer__top { display: grid; grid-template-columns: minmax(240px, 1.1fr) minmax(300px, 1fr); gap: 48px; align-items: center; }
.site-footer__brand { display: flex; flex-direction: column; gap: 20px; }
.site-footer__desc { font-family: var(--font-ui); font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, 0.7); max-width: 340px; }
.fiscal-recap { display: flex; flex-direction: column; gap: 18px; }
.fiscal-recap__eyebrow { font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.fiscal-recap__stats { display: flex; gap: 28px; }
.fiscal-recap__stat { display: flex; flex-direction: column; gap: 3px; }
.fiscal-recap__stat + .fiscal-recap__stat { border-left: 1px solid rgba(255, 255, 255, 0.18); padding-left: 28px; }
.fiscal-recap__val { font-size: 42px; font-weight: 600; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.fiscal-recap__val .unit { font-size: 20px; }
.fiscal-recap__label { font-family: var(--font-ui); font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.fiscal-recap__intro { display: flex; align-items: center; gap: 12px; }
.fiscal-recap__saplogo { width: 72px; height: 72px; flex-shrink: 0; background: #fff; border-radius: 14px; padding: 8px; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.fiscal-recap__saplogo img { width: 100%; height: 100%; object-fit: contain; }
.fiscal-recap__note { font-family: var(--font-ui); font-size: 12px; line-height: 1.4; color: rgba(255, 255, 255, 0.6); max-width: 360px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer__copy { font-family: var(--font-ui); font-size: 12px; color: rgba(255, 255, 255, 0.45); }
.site-footer__nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer__nav a { font-family: var(--font-ui); font-size: 13px; color: rgba(255, 255, 255, 0.85); }
.site-footer__nav a:hover { color: #fff; }

/* =========================================================================
   Pages légales
   ========================================================================= */
.legal-header { background: var(--surface-default); border-bottom: 1px solid var(--border-default); padding: 14px 32px; }
.legal-main { max-width: 820px; width: 100%; margin: 0 auto; padding: 48px 32px 80px; display: flex; flex-direction: column; gap: 24px; flex: 1; }
.legal-article { background: var(--surface-default); border: 1px solid var(--border-default); border-radius: var(--radius-xl); padding: 40px; }
.legal-article h1 { font-size: 28px; font-weight: 600; color: var(--color-sapphire-500); margin-bottom: 6px; }
.legal-meta { font-family: var(--font-ui); font-size: 13px; color: var(--text-tertiary-2); margin-bottom: 24px; display: block; }
.legal-article h2 { font-size: 18px; font-weight: 600; color: var(--text-primary); margin: 24px 0 8px; }
.legal-article p { font-size: 15px; line-height: 1.6; color: var(--text-secondary); text-wrap: pretty; margin-bottom: 8px; }.legal-back { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; font-weight: 500; }

/* =========================================================================
   Bandeau consentement (minimal — RM CLAUDE.md, finalisation digital marketing)
   ========================================================================= */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 640px; margin: 0 auto; background: var(--surface-default); border: 1px solid var(--border-default); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 18px 20px; display: none; }
.consent.is-visible { display: block; }
.consent__text { font-family: var(--font-ui); font-size: 13px; line-height: 1.5; color: var(--text-secondary); margin-bottom: 12px; }
.consent__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent__btn { font-family: var(--font-ui); font-size: 14px; font-weight: 600; padding: 10px 18px; border-radius: var(--radius-full); cursor: pointer; border: 1px solid var(--border-default); }
.consent__btn--accept { background: var(--action-primary-default); color: #fff; border-color: transparent; }
.consent__btn--refuse { background: var(--surface-default); color: var(--text-primary); }

/* =========================================================================
   Animations
   ========================================================================= */
@keyframes defiler { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes flotter { 0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-14px) rotate(var(--rot, 0deg)); } }
.floater { animation: flotter 7s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.001ms !important; }
  .ruban__track, .postes__track { animation: none; }
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 900px) {
  .cards, .profils__grid { grid-template-columns: repeat(2, 1fr); }
  .fiscalite__grid { grid-template-columns: 1fr; gap: 32px; }
  .fiscalite__media { height: 320px; }
  .site-footer__top { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .cards, .profils__grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .container { padding-inline: 20px; }
  .hero { padding: 64px 20px 120px; }
  .hero__subtitle { font-size: 16px; }
  .site-header { padding: 14px 20px; }
  .site-header__tagline { display: none; }
  .etapes { padding: 56px 20px; }
  .site-footer { padding: 56px 20px 32px; }
  .cta-final { padding: 16px 20px 72px; }
  .atouts__grid { grid-template-columns: 1fr; }
  .etape + .etape { border-left: none; padding-left: 0; padding-top: 8px; }
  .credit__val { width: 92px; font-size: 44px; }
  .legal-article { padding: 24px; }
  .legal-main { padding: 32px 20px 64px; }
}
