/* ==========================================================================
   Clikassur — site vitrine one-page
   Design tokens et maquette de référence : design_handoff_clikassur_site
   ========================================================================== */

:root {
  --bg-primary: #0B0D11;
  --bg-secondary: #101217;
  --bg-card: #14171E;
  --border: #2A2F3A;
  --border-subtle: #1E222B;
  --accent: #C6FF3D;
  --accent-hover: #D9FF70;
  --accent-dark: #A6D600;
  --text-primary: #FFFFFF;
  --text-secondary: #B4BAC6;
  --text-muted: #8A93A6;
  --text-faint: #5B6472;
  --text-faint-2: #6B7280;
  --font-display: 'Sora', sans-serif;
  --font-body: 'Manrope', sans-serif;

  /* Thème clair (sections alternées) */
  --bg-light: #F6F7F9;
  --bg-light-card: #FFFFFF;
  --bg-light-raised: #FBFCFD;
  --ink: #101217;
  --ink-soft: #454C5C;
  --ink-muted: #667085;
  --border-light: #E4E7EC;
  --border-light-2: #EEF0F4;
  --lime-ink: #55731A;
  --lime-deep: #3F7A00;
  --shadow-soft: 0 1px 2px rgba(16,18,23,0.05), 0 12px 32px -12px rgba(16,18,23,0.12);
  --shadow-lift: 0 30px 60px -18px rgba(16,18,23,0.24);
  --ease-spring: cubic-bezier(0.19, 1, 0.22, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

::selection { background: var(--accent); color: #101217; }

.lime { color: var(--accent); }

.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;
}

/* Lien d'évitement (accessibilité clavier) */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--accent);
  color: #101217;
  padding: 12px 22px;
  border-radius: 0 0 12px 12px;
  font-weight: 800;
  font-size: 15px;
  transition: top 0.2s ease;
}
.skip-link:focus-visible, .skip-link:focus {
  top: 0;
  color: #101217;
  outline: 2px solid #101217;
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Keyframes
   -------------------------------------------------------------------------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes reveal { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulseDot { 0%, 100% { box-shadow: 0 0 0 0 rgba(198,255,61,0.5); } 50% { box-shadow: 0 0 0 9px rgba(198,255,61,0); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes gridDrift { from { background-position: 0 0; } to { background-position: 0 56px; } }
@keyframes glowPulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 0.95; } }
@keyframes revealV2 { from { opacity: 0; transform: translateY(42px) scale(0.985); filter: blur(7px); } to { opacity: 1; transform: translateY(0) scale(1); filter: none; } }
@keyframes featGlow { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* --------------------------------------------------------------------------
   Animations d'entrée / reveals au scroll
   -------------------------------------------------------------------------- */
.fade-up { animation: fadeUp 0.7s ease-out var(--d, 0s) both; }

/* Fallback IntersectionObserver (classe .is-visible posée par main.js) */
.reveal { opacity: 0; transform: translateY(42px) scale(0.985); filter: blur(7px); transition: opacity 0.8s var(--ease-spring), transform 0.8s var(--ease-spring), filter 0.8s var(--ease-spring); }
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); filter: none; }

/* Stagger du fallback dans les grilles */
.cards .reveal:nth-child(2) { transition-delay: 0.09s; }
.cards .reveal:nth-child(3) { transition-delay: 0.18s; }
.cards .reveal:nth-child(4) { transition-delay: 0.27s; }

/* Scroll-driven natif quand supporté (Chrome/Edge) — main.js n'active pas l'IO */
@supports (animation-timeline: view()) {
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
    animation: revealV2 linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 42%;
  }
  .section__head.reveal { animation-range: entry 0% entry 48%; }
  .cards .reveal { transition-delay: 0s; }
}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 17px 32px;
  font-size: 16px;
  font-weight: 800;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-spring), border-color 0.2s, color 0.2s, background 0.2s, translate 0.3s var(--ease-spring);
}

.btn--primary { background: var(--accent); color: #101217; }
.btn--primary:hover {
  background: var(--accent-hover);
  color: #101217;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(198,255,61,0.35);
}

.btn--outline { border: 1px solid var(--border); color: var(--text-primary); font-weight: 700; }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }

.btn--nav { padding: 12px 22px; font-size: 15px; }
.btn--nav:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(198,255,61,0.35); }

.btn--dark { background: #101217; color: var(--text-primary); padding: 22px 44px; font-size: 18px; white-space: nowrap; }
.btn--dark:hover {
  background: #1E222B;
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(16,18,23,0.35);
}

/* --------------------------------------------------------------------------
   Marque (logotype + barre de progression)
   -------------------------------------------------------------------------- */
.brand { display: flex; flex-direction: column; gap: 4px; }

.brand__wordmark {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
  color: var(--text-primary);
}
.brand__wordmark--sm { font-size: 20px; letter-spacing: -0.5px; }
.brand:hover .brand__wordmark { color: var(--text-primary); }

.brand__bar { display: flex; gap: 2px; width: 118px; }
.brand__bar--sm { width: 98px; }
.brand__bar i { height: 3px; flex: 1; background: var(--border); border-radius: 999px; }
.brand__bar i.on { flex: 2; background: var(--accent); }

/* --------------------------------------------------------------------------
   Header sticky
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 56px;
  background: rgba(11,13,17,0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.site-nav { display: flex; align-items: center; gap: 34px; font-size: 15px; font-weight: 600; }
.site-nav__link { color: var(--text-primary); }
.site-nav__link:hover { color: var(--accent); }
.site-nav__link--muted { color: var(--text-muted); }
.site-nav__link--muted:hover { color: var(--text-primary); }
a[aria-disabled="true"] { cursor: not-allowed; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-primary); border-radius: 999px; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; padding: 110px 56px 130px; overflow: hidden; }

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  animation: gridDrift 6s linear infinite;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
}

.hero__halo {
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(198,255,61,0.16), transparent 65%);
  animation: glowPulse 5s ease-in-out infinite;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__copy { display: flex; flex-direction: column; gap: 30px; align-items: center; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(198,255,61,0.08);
  border: 1px solid rgba(198,255,61,0.25);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  width: fit-content;
}
.badge__dot { width: 8px; height: 8px; background: var(--accent); border-radius: 999px; animation: pulseDot 2s ease-out infinite; }

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 76px;
  font-weight: 800;
  letter-spacing: -3.5px;
  line-height: 1.02;
}
.hero__title-accent { color: var(--accent); text-shadow: 0 0 60px rgba(198,255,61,0.35); }

.hero__lead {
  margin: 0;
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 560px;
  text-wrap: pretty;
}

.hero__actions { display: flex; gap: 14px; justify-content: center; }

.hero__stats { display: flex; gap: 40px; padding-top: 14px; justify-content: center; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat__value { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.stat__label { font-size: 13px; color: var(--text-muted); }
.stat__sep { width: 1px; background: var(--border-subtle); }

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */
.marquee {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: #0E1015;
  overflow: hidden;
  padding: 18px 0;
}
.marquee__track { display: flex; gap: 0; width: max-content; animation: marquee 26s linear infinite; }
.marquee__group {
  display: flex;
  gap: 56px;
  padding-right: 56px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #737D8C; /* lisibilité relevée (V2) */
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: 100px 56px; }
.section--alt { background: var(--bg-light); }
.section--dark { background: var(--bg-primary); }
.section--bordered { border-top: 1px solid var(--border-subtle); }

.section__inner { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 44px; }
.section__inner--steps { position: relative; gap: 52px; }

.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section__head-left { display: flex; flex-direction: column; gap: 10px; }
.section__head-right { color: var(--text-muted); font-size: 15px; max-width: 320px; line-height: 1.55; text-align: right; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; gap: 10px; }

.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 3px; color: var(--accent); text-transform: uppercase; }

.section__title { margin: 0; font-family: var(--font-display); font-size: 44px; font-weight: 800; letter-spacing: -2px; }

.cards { display: grid; gap: 24px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* --------------------------------------------------------------------------
   Cartes produits
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.4s var(--ease-spring), border-color 0.3s ease, box-shadow 0.4s var(--ease-spring);
}
.card:hover {
  transform: translateY(-10px);
  border-color: rgba(198,255,61,0.5);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}

.card--pro { background: var(--bg-secondary); padding: 30px; gap: 14px; }
.card--pro:hover { box-shadow: 0 24px 60px rgba(0,0,0,0.5); }

.card__title { margin: 0; font-family: var(--font-display); font-size: 23px; font-weight: 800; }
.card__title--sm { font-size: 19px; }

.card__text { margin: 0; color: var(--text-secondary); line-height: 1.6; font-size: 15px; }
.card__text--sm { line-height: 1.55; font-size: 14px; }

.card__price { display: flex; align-items: baseline; gap: 6px; margin-top: auto; }
.card__price-value { font-family: var(--font-display); font-size: 27px; font-weight: 800; color: var(--accent); }
.card__price-unit { color: var(--text-muted); font-size: 14px; }

.card__link { display: flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 800; font-size: 15px; }
.card__link--sm { font-size: 14px; margin-top: auto; }
.card__arrow { transition: transform 0.2s; display: inline-block; }
.card__link:hover .card__arrow { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Comment ça marche
   -------------------------------------------------------------------------- */
.steps-section { position: relative; overflow: hidden; }

.steps-section__halo {
  position: absolute;
  bottom: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(198,255,61,0.09), transparent 65%);
  pointer-events: none;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 34px;
}
.step--featured {
  background: linear-gradient(160deg, #14171E, #182010);
  border-color: rgba(198,255,61,0.45);
  box-shadow: 0 0 50px rgba(198,255,61,0.07);
}

.step__bar { display: flex; gap: 4px; }
.step__bar i { height: 7px; flex: 1; background: var(--border); border-radius: 999px; }
.step__bar i.wide { flex: 2; }
.step__bar i.on { background: var(--accent); }
.step__bar i.glow { box-shadow: 0 0 14px rgba(198,255,61,0.6); }

.step__num { font-family: var(--font-display); font-size: 44px; font-weight: 800; color: var(--border); line-height: 1; }
.step__num--lime { color: var(--accent); }

.step__title { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 800; }

/* --------------------------------------------------------------------------
   CTA final
   -------------------------------------------------------------------------- */
.cta { position: relative; padding: 110px 56px; background: var(--accent); overflow: hidden; }

.cta__grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(16,18,23,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(16,18,23,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
}

.cta__inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta__copy { display: flex; flex-direction: column; gap: 14px; }

.cta__title {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  color: #101217;
  letter-spacing: -2.5px;
  line-height: 1.05;
}

.cta__bar { display: flex; gap: 4px; width: 260px; }
.cta__bar i { height: 8px; flex: 1; background: rgba(16,18,23,0.2); border-radius: 999px; }
.cta__bar i.on { flex: 2; background: #101217; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { padding: 60px 56px; background: var(--bg-primary); border-top: 1px solid var(--border-subtle); }

.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.site-footer__brand { display: flex; flex-direction: column; gap: 12px; }
.site-footer__tagline { font-size: 13px; color: #7A828F; line-height: 1.6; } /* lisibilité relevée (V2) */

.site-footer__col { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.site-footer__col a { padding: 7px 0; } /* cibles tactiles ≥ 32px */
.site-footer__heading { font-weight: 800; color: var(--text-primary); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.site-footer__col a { color: var(--text-muted); }
.site-footer__col a:hover { color: var(--accent); }
.site-footer__col span[aria-disabled="true"] { padding: 7px 0; color: var(--text-faint-2); }

/* Lien de navigation correspondant à la page courante */
.site-nav__link[aria-current="page"],
.nav-dropdown__panel a[aria-current="page"],
.site-footer__col a[aria-current="page"] { color: var(--accent); }

/* --------------------------------------------------------------------------
   Accessibilité : reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__grid-bg,
  .hero__halo,
  .badge__dot,
  .marquee__track { animation: none; }
  .fade-up { animation-duration: 0.01s; animation-delay: 0s; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; animation: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .site-header { padding: 16px 28px; }

  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 28px 28px;
    background: rgba(11,13,17,0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: none;
    /* Petits écrans / paysage : le panneau défile au lieu de couper les derniers liens */
    max-height: calc(100vh - 66px);
    max-height: calc(100dvh - 66px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav.is-open { display: flex; }

  .hero { padding: 80px 28px 90px; }
  .hero__title { font-size: 60px; letter-spacing: -2.5px; }

  .section { padding: 80px 28px; }
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }

  .cta { padding: 90px 28px; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .cta__title { font-size: 44px; }

  .site-footer { padding: 50px 28px; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero__title { font-size: 46px; letter-spacing: -2px; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__stats { flex-wrap: wrap; gap: 24px; }

  .section__head { flex-direction: column; align-items: flex-start; }
  .section__head-right { text-align: left; max-width: none; }
  .section__head--center { align-items: center; text-align: center; }
  .section__title { font-size: 34px; letter-spacing: -1.5px; }

  .cards--3, .cards--4 { grid-template-columns: 1fr; }

  .cta__title { font-size: 36px; letter-spacing: -1.5px; }

  .site-footer__inner { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Pages contenu produit
   ========================================================================== */

/* Fil d'ariane */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb__sep { color: var(--text-faint); }
.breadcrumb__current { color: var(--text-secondary); }

/* Hero de page produit */
.page-hero { position: relative; padding: 70px 56px 80px; overflow: hidden; }
.page-hero__inner { position: relative; max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 26px; }

.page-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1.05;
}

.page-hero__lead { margin: 0; font-size: 19px; line-height: 1.65; color: var(--text-secondary); max-width: 640px; text-wrap: pretty; }

.page-hero__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.page-hero__price { display: flex; align-items: baseline; gap: 6px; }
.page-hero__price-value { font-family: var(--font-display); font-size: 27px; font-weight: 800; color: var(--accent); }
.page-hero__price-unit { color: var(--text-muted); font-size: 14px; }

/* Sommaire (ancres) */
.toc { display: flex; flex-wrap: wrap; gap: 10px; }
.toc a,
.toc button {
  display: inline-block;
  padding: 12px 18px; /* cible tactile ≈ 40px */
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: border-color 0.2s, color 0.2s;
}
.toc button { background: none; font-family: inherit; cursor: pointer; }
.toc a:hover,
.toc button:hover { border-color: var(--accent); color: var(--accent); }

/* Corps d'article */
.article { padding: 0 56px 90px; }
.article__inner { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 60px; }

.article-section { display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 96px; }
.article-section h3 { scroll-margin-top: 96px; }

.article-section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 33px;
  font-weight: 800;
  letter-spacing: -1.3px;
  line-height: 1.15;
}

.article-section h3 { margin: 10px 0 0; font-family: var(--font-display); font-size: 21px; font-weight: 800; letter-spacing: -0.5px; }

.article-section p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--text-secondary); }
.article-section ul, .article-section ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.65; color: var(--text-secondary); }
.article-section li::marker { color: var(--accent); }
.article-section strong { color: var(--text-primary); font-weight: 700; }
.article-section a { font-weight: 700; }

/* Bloc « L'essentiel » (réponse directe, format extrait/IA) */
.key-box {
  background: var(--bg-card);
  border: 1px solid rgba(198,255,61,0.45);
  border-radius: 22px;
  padding: 30px 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 0 50px rgba(198,255,61,0.07);
}
.key-box__title { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 16px; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: 2px; }
.key-box ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 15.5px; line-height: 1.6; color: var(--text-secondary); }

/* Encadré « À retenir » */
.callout {
  background: rgba(198,255,61,0.06);
  border: 1px solid rgba(198,255,61,0.25);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  padding: 20px 24px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.callout strong { color: var(--text-primary); }

/* Tableaux de garanties */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 18px; }
.gtable { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.gtable th, .gtable td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border-subtle); }
.gtable thead th { background: var(--bg-card); font-family: var(--font-display); font-size: 14px; font-weight: 800; letter-spacing: 0.3px; }
.gtable tbody tr:last-child th, .gtable tbody tr:last-child td { border-bottom: none; }
.gtable tbody th { font-weight: 700; color: var(--text-primary); background: rgba(20,23,30,0.5); }
.gtable td { color: var(--text-secondary); }
.gtable .yes { color: var(--accent); font-weight: 800; }
.gtable .no { color: var(--text-faint); }
.gtable .opt { color: var(--text-muted); font-weight: 700; }

/* Étapes numérotées inline (souscription) */
.mini-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini-step { background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.mini-step__num { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--accent); line-height: 1; }
.mini-step__title { font-family: var(--font-display); font-size: 16px; font-weight: 800; }
.mini-step p { font-size: 14px; line-height: 1.6; }

/* FAQ (details natif, accessible sans JS) */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: border-color 0.2s; }
.faq details[open] { border-color: rgba(198,255,61,0.4); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 24px;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--font-body); font-size: 22px; font-weight: 400; color: var(--accent); flex-shrink: 0; transition: transform 0.2s; } /* Manrope : évite de charger Sora 400 pour un seul glyphe */
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__answer { padding: 0 24px 20px; font-size: 15.5px; line-height: 1.7; color: var(--text-secondary); }
.faq .faq__answer p { margin: 0 0 10px; }
.faq .faq__answer p:last-child { margin-bottom: 0; }

/* Cross-sell */
.crosssell { padding: 0 56px 100px; }
.crosssell__inner { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 34px; }

/* Page mentions légales / contenu simple */
.legal .article-section h2 { font-size: 26px; }

@media (max-width: 1024px) {
  .page-hero { padding: 56px 28px 64px; }
  .article { padding: 0 28px 70px; }
  .crosssell { padding: 0 28px 80px; }
  .page-hero__title { font-size: 46px; letter-spacing: -2px; }
}

@media (max-width: 768px) {
  .page-hero__title { font-size: 36px; letter-spacing: -1.5px; }
  .article-section h2 { font-size: 27px; letter-spacing: -1px; }
  .mini-steps { grid-template-columns: 1fr; }
  .article__inner { gap: 48px; }
}

/* ==========================================================================
   DESIGN V2 — alternance clair/sombre + micro-interactions
   (couche finale : écrase les règles de base par ordre de cascade)
   ========================================================================== */

/* --- Header réactif au scroll (hauteur constante : zéro reflow, zéro CLS) --- */
.site-header { transition: background 0.35s ease, box-shadow 0.35s ease; }
.site-header.is-scrolled {
  background: rgba(11,13,17,0.92);
  box-shadow: 0 14px 40px -18px rgba(0,0,0,0.65);
}

/* --- Navigation : sous-menus produits --- */
.nav-item { position: relative; }
.nav-item > .site-nav__link { display: inline-flex; align-items: center; gap: 7px; }
.nav-caret { flex-shrink: 0; transition: transform 0.25s var(--ease-spring); }
.nav-item:hover > .site-nav__link,
.nav-item:focus-within > .site-nav__link { color: var(--accent); }
.nav-item:hover .nav-caret,
.nav-item:focus-within .nav-caret { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  padding-top: 16px; /* pont de survol entre le lien et le panneau */
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.22s ease, transform 0.28s var(--ease-spring), visibility 0.22s;
  z-index: 60;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
/* Fermeture au clavier (Échap) : prime sur :hover / :focus-within le temps du blur */
.nav-item.is-closed .nav-dropdown {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.nav-dropdown__panel {
  min-width: 232px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-dropdown__panel a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown__panel a:hover { background: rgba(198,255,61,0.08); color: var(--accent); }

/* --- Boutons : ressort + états (transition fusionnée dans la règle .btn de base) --- */
.btn:active { transform: translateY(-1px) scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.cta .btn:focus-visible { outline-color: #101217; }

/* --- Cartes : icône vivante (lift + transitions fusionnés dans la règle .card de base) --- */
.card__icon { transition: transform 0.4s var(--ease-spring); }
.card:hover .card__icon { transform: translateY(-4px) scale(1.05) rotate(-2deg); }

/* --- Marquee : pause au survol --- */
.marquee:hover .marquee__track { animation-play-state: paused; }

/* --- Étape 3 mise en avant : respiration lumineuse --- */
.step--featured { position: relative; }
.step--featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  box-shadow: 0 0 60px rgba(198,255,61,0.2);
  animation: featGlow 4.5s ease-in-out infinite;
  pointer-events: none;
}

/* --- Barre de lecture (pages produit, injectée par main.js) --- */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 90;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Sections claires — accueil (#particuliers, #comment via .section--alt)
   -------------------------------------------------------------------------- */
.section--alt.section--bordered { border-top-color: transparent; }
.section--alt .section__title { color: var(--ink); }
.section--alt .section__head-right { color: var(--ink-muted); }
.section--alt .eyebrow { color: var(--lime-ink); }

.section--alt .card {
  background: var(--bg-light-card);
  border-color: var(--border-light);
  box-shadow: var(--shadow-soft);
}
.section--alt .card:hover { border-color: rgba(85,115,26,0.45); box-shadow: var(--shadow-lift); }
.section--alt .steps-section__halo { display: none; }
.section--alt .card__title { color: var(--ink); }
.section--alt .card__text { color: var(--ink-soft); }
.section--alt .card__price-value { color: var(--ink); }
.section--alt .card__price-unit { color: var(--ink-muted); }
.section--alt .card__link { color: var(--lime-ink); }
.section--alt .card__link:hover { color: var(--lime-deep); }

/* Tuile d'icône inversée : fond encre, trait lime conservé (signature) */
.section--alt .card > svg rect:first-of-type { fill: var(--ink); stroke: var(--ink); }

/* Étapes claires — la carte featured reste sombre (contraste signature) */
.section--alt .step:not(.step--featured) {
  background: var(--bg-light-card);
  border-color: var(--border-light);
  box-shadow: var(--shadow-soft);
}
.section--alt .step:not(.step--featured) .step__title { color: var(--ink); }
.section--alt .step:not(.step--featured) p { color: var(--ink-soft); }
.section--alt .step:not(.step--featured) .step__num { color: #C4CCDA; }
.section--alt .step:not(.step--featured) .step__bar i { background: #E2E6EC; }
.section--alt .step:not(.step--featured) .step__bar i.on { background: var(--ink); }
.section--alt .step--featured .step__title { color: var(--text-primary); }
.section--alt .step--featured p { color: var(--text-secondary); }

/* --------------------------------------------------------------------------
   Pages produit : « feuille » claire posée sur le fond sombre
   -------------------------------------------------------------------------- */
.article {
  background: var(--bg-light);
  border-radius: 40px 40px 0 0;
  padding: 76px 56px 96px;
}

.article .article-section h2,
.article .article-section h3 { color: var(--ink); }
.article .article-section p,
.article .article-section ul,
.article .article-section ol { color: var(--ink-soft); }
.article .article-section strong { color: var(--ink); }
.article .article-section li::marker { color: var(--lime-deep); }
.article a:not(.btn) { color: var(--lime-ink); }
.article a:not(.btn):hover { color: var(--lime-deep); }
.article .article-section a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }

.article .key-box {
  background: var(--bg-light-card);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--accent);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}
.article .key-box__title { color: var(--lime-ink); }
.article .key-box ul { color: var(--ink-soft); }
.article .key-box strong { color: var(--ink); }

.article .toc a {
  background: var(--bg-light-card);
  border-color: var(--border-light);
  color: var(--ink-soft);
}
.article .toc a:hover { border-color: var(--ink); color: var(--ink); }

.article .callout {
  background: rgba(198,255,61,0.16);
  border: 1px solid rgba(122,158,0,0.3);
  border-left: 4px solid var(--accent);
  color: var(--ink-soft);
}
.article .callout strong { color: var(--ink); }

.article .table-wrap { border-color: var(--border-light); background: var(--bg-light-card); box-shadow: var(--shadow-soft); }
.article .gtable th, .article .gtable td { border-bottom-color: var(--border-light-2); }
.article .gtable thead th { background: var(--ink); color: #FFFFFF; }
.article .gtable tbody th { background: var(--bg-light-raised); color: var(--ink); }
.article .gtable td { color: var(--ink-soft); }
.article .gtable .yes { color: var(--lime-deep); }
.article .gtable .no { color: var(--ink-muted); }
.article .gtable .opt { color: var(--ink-muted); }

.article .mini-step {
  background: var(--bg-light-card);
  border-color: var(--border-light);
  box-shadow: var(--shadow-soft);
}
.article .mini-step__num { color: var(--lime-ink); }
.article .mini-step__title { color: var(--ink); }
.article .mini-step p { color: var(--ink-soft); }

.article .faq details { background: var(--bg-light-card); border-color: var(--border-light); }
.article .faq details[open] { border-color: rgba(85,115,26,0.45); box-shadow: var(--shadow-soft); }
.article .faq summary { color: var(--ink); }
.article .faq summary::after { color: var(--lime-deep); }
.article .faq .faq__answer { color: var(--ink-soft); }

/* Cross-sell : continuité claire sous l'article */
.crosssell { background: var(--bg-light); }
.crosssell .section__title { color: var(--ink); }
.crosssell .eyebrow { color: var(--lime-ink); }
.crosssell .card {
  background: var(--bg-light-card);
  border-color: var(--border-light);
  box-shadow: var(--shadow-soft);
}
.crosssell .card:hover { border-color: rgba(85,115,26,0.45); box-shadow: var(--shadow-lift); }
.crosssell .card__title { color: var(--ink); }
.crosssell .card__text { color: var(--ink-soft); }
.crosssell .card__link { color: var(--lime-ink); }
.crosssell .card__link:hover { color: var(--lime-deep); }

@media (max-width: 1024px) {
  .article { padding: 64px 28px 76px; border-radius: 28px 28px 0 0; }
  /* is-scrolled : uniquement fond opaque + ombre (hauteur constante, zéro saut de layout) */

  /* Sous-menus : dépliés en liste indentée dans le panneau burger */
  .nav-item { display: flex; flex-direction: column; gap: 12px; width: 100%; }
  .nav-caret { display: none; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-top: 0;
    transition: none;
  }
  .nav-dropdown__panel {
    min-width: 0;
    background: transparent;
    border: none;
    border-left: 2px solid var(--border);
    border-radius: 0;
    box-shadow: none;
    padding: 2px 0 2px 16px;
    margin-left: 2px;
    gap: 0; /* le padding des liens assure le rythme vertical */
  }
  .nav-dropdown__panel a { padding: 10px 0; border-radius: 0; color: var(--text-muted); } /* cible tactile ≈ 40px */
  .nav-dropdown__panel a:hover { background: none; color: var(--accent); }
}

/* ==========================================================================
   BLOG, FAQ & QUIZ — machine à leads
   ========================================================================== */

/* Feuille claire large (listing blog, FAQ) */
.sheet { background: var(--bg-light); border-radius: 40px 40px 0 0; padding: 76px 56px 96px; }
.sheet__inner { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 44px; }

/* Cartes d'articles */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-light-card);
  border: 1px solid var(--border-light);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-spring), border-color 0.3s ease, box-shadow 0.4s var(--ease-spring);
}
.post-card:hover { transform: translateY(-8px); border-color: rgba(85,115,26,0.45); box-shadow: var(--shadow-lift); color: inherit; }
.post-card__cat { font-size: 12px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: var(--lime-ink); }
.post-card__title { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.25; color: var(--ink); }
.post-card__excerpt { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.post-card__meta { margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 600; color: var(--ink-muted); }

/* Métadonnées d'article (hero) */
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--text-muted); }
.article-meta__sep { color: var(--text-faint); }
.article-meta__eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }

/* Encart CTA produit au fil de l'article (encre sur feuille claire) */
.promo {
  background: var(--ink);
  border-radius: 22px;
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.promo__copy { display: flex; flex-direction: column; gap: 6px; }
.promo__title { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 800; color: #FFFFFF; letter-spacing: -0.5px; }
.promo__text { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text-secondary); }
.article .promo a.btn--primary, .article .promo a.btn--primary:hover { color: #101217; text-decoration: none; }

/* Bloc auteur */
.author-box { display: flex; align-items: center; gap: 16px; background: var(--bg-light-card); border: 1px solid var(--border-light); border-radius: 18px; padding: 20px 24px; }
.author-box__avatar { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--ink); display: flex; align-items: center; justify-content: center; gap: 3px; }
.author-box__avatar i { width: 4px; border-radius: 999px; background: var(--border); }
.author-box__avatar i:nth-child(1) { height: 12px; }
.author-box__avatar i:nth-child(2) { height: 18px; }
.author-box__avatar i:nth-child(3) { height: 24px; background: var(--accent); }
.author-box__name { font-family: var(--font-display); font-size: 15px; font-weight: 800; color: var(--ink); }
.author-box__desc { font-size: 13.5px; line-height: 1.5; color: var(--ink-muted); }

/* Recherche FAQ */
/* Filtres actifs (blog) */
.sheet .toc a[aria-current="true"],
.sheet .toc button[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }

.faq-search { position: relative; max-width: 560px; }
.faq-search input {
  width: 100%;
  padding: 16px 24px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  background: var(--bg-light-card);
  font-family: var(--font-body);
  font-size: 16px; /* ≥16px : évite le zoom automatique iOS au focus */
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-search input:focus { border-color: var(--ink); box-shadow: var(--shadow-soft); }
.faq-search input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; } /* focus visible même en contraste forcé */
.faq-search input::placeholder { color: var(--ink-muted); }
.faq-cat-title { margin: 18px 0 0; font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: -0.8px; color: var(--ink); }
.faq-empty { display: none; font-size: 15px; color: var(--ink-muted); }

/* Quiz (fond sombre signature) */
.quiz-wrap { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.quiz-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px; padding: 38px; display: flex; flex-direction: column; gap: 24px; box-shadow: 0 40px 80px rgba(0,0,0,0.45); }
.quiz-progress { display: flex; gap: 6px; }
.quiz-progress i { height: 6px; flex: 1; background: var(--border); border-radius: 999px; transition: background 0.3s; }
.quiz-progress i.on { background: var(--accent); }
.quiz-count { font-size: 13px; font-weight: 700; color: var(--text-muted); }
.quiz-q { margin: 0; font-family: var(--font-display); font-size: 23px; font-weight: 800; letter-spacing: -0.8px; line-height: 1.3; }
.quiz-opts { display: flex; flex-direction: column; gap: 12px; }
.quiz-opt {
  text-align: left;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px 20px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.25s var(--ease-spring), background 0.2s;
}
.quiz-opt:hover { border-color: var(--accent); color: #FFFFFF; transform: translateX(5px); }
.quiz-opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.quiz-result { display: none; flex-direction: column; gap: 18px; text-align: center; align-items: center; }
.quiz-result__badge { display: inline-flex; padding: 10px 22px; border-radius: 999px; font-family: var(--font-display); font-weight: 800; font-size: 15px; background: rgba(198,255,61,0.1); border: 1px solid rgba(198,255,61,0.35); color: var(--accent); }
.quiz-result__title { margin: 0; font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: -1.2px; }
.quiz-result__text { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--text-secondary); max-width: 520px; }

@media (max-width: 1024px) {
  .sheet { padding: 64px 28px 76px; border-radius: 28px 28px 0 0; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .promo { flex-direction: column; align-items: flex-start; }
  .quiz-card { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .step--featured::before { animation: none; opacity: 0.5; }
  .site-header { transition: none; }
  .card, .card__icon, .btn, .post-card, .quiz-opt { transition-duration: 0.01s; }
}

/* ==========================================================================
   ANIMATIONS V3 — signature de marque, transitions de pages, micro-délices
   ========================================================================== */

/* --- Transitions entre pages (View Transitions API, progressif) --- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut 0.22s ease both; }
::view-transition-new(root) { animation: vtIn 0.34s ease both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(12px); } }

/* --- Titres : reveal mot à mot (spans posés par main.js) --- */
.is-staggered.fade-up { animation: none; opacity: 1; }
.title-word {
  display: inline-block;
  animation: wordUp 0.7s var(--ease-spring) both;
  animation-delay: calc(0.1s + var(--wi, 0) * 70ms);
}
@keyframes wordUp {
  from { opacity: 0; transform: translateY(0.55em) rotate(1.5deg); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* --- Signature « Point final. » : le point tombe et fait une onde --- */
.dot-pop {
  display: inline-block;
  position: relative;
  animation: dotPop 0.55s cubic-bezier(0.3, 1.6, 0.4, 1) both;
  animation-delay: calc(0.25s + var(--wi, 0) * 70ms);
}
.dot-pop::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0.09em;
  width: 0.42em;
  height: 0.42em;
  border-radius: 999px;
  border: 2px solid currentColor;
  opacity: 0;
  transform: translateX(-50%) scale(0.4);
  animation: dotRing 0.9s ease-out both;
  animation-delay: calc(0.6s + var(--wi, 0) * 70ms);
  pointer-events: none;
}
@keyframes dotPop {
  0% { opacity: 0; transform: translateY(-1.1em) scale(2); }
  60% { opacity: 1; transform: translateY(0) scale(0.9); }
  80% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
@keyframes dotRing {
  0% { opacity: 0.7; transform: translateX(-50%) scale(0.4); }
  100% { opacity: 0; transform: translateX(-50%) scale(3.2); }
}

/* --- Halo du hero : dérive douce liée au scroll --- */
@supports (animation-timeline: scroll()) {
  .hero__halo {
    animation: glowPulse 5s ease-in-out infinite, haloDrift linear both;
    animation-timeline: auto, scroll();
  }
}
@keyframes haloDrift { to { translate: 0 140px; } }

/* --- Spotlight au survol des cartes (position pilotée par main.js) --- */
.card, .step, .post-card { position: relative; }
.card::after, .step::after, .post-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), var(--spot, rgba(198,255,61,0.12)), transparent 65%);
}
.card:hover::after, .step:hover::after, .post-card:hover::after { opacity: 1; }
.section--alt .card, .crosssell .card, .article .card,
.section--alt .step:not(.step--featured), .post-card { --spot: rgba(16,18,23,0.05); }

/* --- Barres d'étapes : remplissage au scroll --- */
.step__bar i.on { transform-origin: 0 50%; }
@supports (animation-timeline: view()) {
  .step__bar i.on { animation: stepFill 1s var(--ease-spring) both; animation-timeline: view(); animation-range: entry 15% entry 55%; }
  .step__bar i.on:nth-child(2) { animation-range: entry 25% entry 65%; }
  .step__bar i.on:nth-child(3) { animation-range: entry 35% entry 75%; }
}
@keyframes stepFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
html.no-sdt .step__bar i.on { transform: scaleX(0); transition: transform 0.7s var(--ease-spring); }
html.no-sdt .step.is-visible .step__bar i.on { transform: scaleX(1); }
html.no-sdt .step.is-visible .step__bar i.on:nth-child(2) { transition-delay: 0.15s; }
html.no-sdt .step.is-visible .step__bar i.on:nth-child(3) { transition-delay: 0.3s; }

/* --- Boutons : reflet balayé + aimantation (translate posé par main.js) --- */
.btn--primary, .btn--dark { position: relative; overflow: hidden; }
.btn--primary::before, .btn--dark::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -45%;
  width: 38%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn--dark::before { background: linear-gradient(100deg, transparent, rgba(255,255,255,0.14), transparent); }
.btn--primary:hover::before, .btn--dark:hover::before { left: 118%; }

/* --- Kit formulaire (calculette et outils) --- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 13px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; color: var(--ink-muted); }
.field select, .field input {
  appearance: none;
  background: var(--bg-light-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 13px 16px;
  font: 600 16px var(--font-body); /* ≥16px : évite le zoom automatique iOS au focus */
  color: var(--ink);
}
.field select:focus-visible, .field input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--lime-ink); }
.calc-card {
  background: var(--bg-light-card);
  border: 1px solid var(--border-light);
  border-radius: 22px;
  padding: 34px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.calc-result {
  background: linear-gradient(160deg, #14171E, #182010);
  border: 1px solid rgba(198,255,61,0.45);
  border-radius: 22px;
  padding: 30px 34px;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.calc-result__value { font-family: var(--font-display); font-size: 44px; font-weight: 800; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.calc-result__label { font-size: 14px; color: var(--text-secondary); }
.calc-note { font-size: 13px; color: var(--ink-muted); line-height: 1.6; }

/* Module de démarche embarqué (carte grise Certimat) */
.embed-card {
  background: var(--bg-light-card);
  border: 1px solid var(--border-light);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.embed-frame { display: block; width: 100%; height: 1150px; border: 0; }
@media (max-width: 768px) { .embed-frame { height: 1350px; } }

@media (max-width: 768px) {
  .form-grid { grid-template-columns: 1fr; }
  .calc-result__value { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .title-word { animation: none; }
  .dot-pop { animation: none; }
  .dot-pop::after { display: none; }
  .card::after, .step::after, .post-card::after { display: none; }
  .step__bar i.on { animation: none; transform: none; transition: none; }
  html.no-sdt .step__bar i.on { transform: none; }
}

/* --------------------------------------------------------------------------
   Footer : contact téléphonique + baseline réglementaire (mise en live)
   -------------------------------------------------------------------------- */
.site-footer__phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  padding: 6px 0 2px;
}
.site-footer__phone:hover, .site-footer__phone:focus-visible { color: var(--accent); }
.site-footer__phone-note { font-size: 12px; color: var(--text-faint-2); }

.site-footer__legal {
  max-width: 1280px;
  margin: 44px auto 0;
  padding-top: 26px;
  border-top: 1px solid var(--border-subtle);
}
.site-footer__legal p { margin: 0; font-size: 12.5px; line-height: 1.7; color: #7A828F; }
.site-footer__legal a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }
.site-footer__legal a:hover { color: var(--accent); }
