/* ==========================================================================
   Visionary Habitat — Pompe à Chaleur Air/Eau & Aides 2026
   Design System 60/30/10 Apaisé :
   - 60% Blanc & Gris Perle (#FFFFFF / #F6F8FA)
   - 30% Bleu-Ardoise & Anthracite (#141C2B / #1E293B) pour structure & sélection
   - Positif : Vert Émeraude doux (#059669 / #34D399) pour aides, économies & validation
   - 10% Rouge Rubis adouci (#C81E2B) réservé aux boutons CTA principaux (rappel logo)
   ========================================================================== */

:root {
  color-scheme: light;

  /* 30% Structural Anthracite / Deep Slate-Navy */
  --ve-navy-950: #0e1624;
  --ve-navy-900: #162032;
  --ve-navy-800: #1e293b;
  --ve-navy-700: #334155;
  --ve-ink: #141c2b;
  --ve-ink-secondary: #3b4758;
  --ve-ink-muted: #5b677a;

  /* Positive & Reassuring Emerald (Savings, Aids, Checkmarks, RGE) */
  --ve-green-700: #047857;
  --ve-green-600: #059669;
  --ve-green-500: #10b981;
  --ve-green-400: #34d399;
  --ve-green-100: #d1fae5;
  --ve-green-50: #ecfdf5;

  /* 10% Softened Ruby Brand Red — Reserved strictly for Primary CTAs */
  --vh-cta-red: #c81e2b;
  --vh-cta-red-dark: #a61722;
  --vh-cta-red-soft: #e0313f;

  /* Calm Slate-Blue Accents */
  --ve-sky-700: #1d4ed8;
  --ve-sky-600: #2563eb;
  --ve-sky-500: #3b82f6;
  --ve-sky-100: #dbeafe;
  --ve-sky-50: #eff6ff;

  --ve-amber-600: #b45309;
  --ve-amber-500: #f59e0b;
  --ve-amber-400: #fbbf24;
  --ve-amber-200: #e2e8f0;
  --ve-amber-100: #f1f5f9;
  --ve-amber-50: #f8fafc;

  --ve-fr-blue: #162032;
  --ve-danger: #dc2626;
  --ve-danger-bg: #fef2f2;

  /* 60% Soothing Light Surfaces & Borders */
  --ve-bg: #ffffff;
  --ve-surface-soft: #f6f8fb;
  --ve-surface-mint: #f4f9f7;
  --ve-surface-sky: #f3f6fb;
  --ve-border: #e2e8f0;
  --ve-border-strong: #94a3b8;
  --ve-input-border: #64748b;

  /* Typography */
  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Elevation */
  --shadow-sm: 0 2px 6px rgba(14, 22, 36, 0.05);
  --shadow-md: 0 12px 30px -8px rgba(14, 22, 36, 0.11), 0 4px 12px -4px rgba(14, 22, 36, 0.05);
  --shadow-lg: 0 26px 64px -18px rgba(14, 22, 36, 0.2);
  --shadow-card-hero: 0 34px 90px -24px rgba(8, 13, 23, 0.65);
  --shadow-cta: 0 12px 28px -10px rgba(200, 30, 43, 0.34);

  /* Radii & Motion */
  --radius-sm: 0.65rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 1.75rem;
  --radius-pill: 9999px;

  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --container-max: 1240px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ve-ink);
  background-color: var(--ve-bg);
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-block: 0;
  color: var(--ve-ink);
}

p {
  margin-block: 0;
}

img, svg {
  display: block;
  max-inline-size: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--ve-sky-600);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  clip-path: inset(50%);
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  inset-block-start: -100%;
  inset-inline-start: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--ve-navy-950);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  inset-block-start: 1rem;
}

.container {
  inline-size: min(var(--container-max), calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding-block: clamp(3.5rem, 6vw, 5.75rem);
  position: relative;
}

.section--soft {
  background: var(--ve-surface-soft);
}

.section--mint {
  background: linear-gradient(180deg, var(--ve-surface-mint) 0%, #ffffff 100%);
}

.section--sky {
  background: linear-gradient(180deg, var(--ve-surface-sky) 0%, #ffffff 100%);
}

.section--dark {
  background: linear-gradient(135deg, #0e1624 0%, #172336 60%, #1b2a3e 100%);
  color: #ffffff;
}

.section--dark h2,
.section--dark h3 {
  color: #ffffff;
}

.section-header {
  max-inline-size: 47rem;
  margin-inline: auto;
  text-align: center;
  margin-block-end: clamp(2rem, 4vw, 3.25rem);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.36rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ve-navy-800);
  background: #e8eef6;
  margin-block-end: 0.9rem;
}

.section--dark .section-eyebrow {
  color: var(--ve-green-400);
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.28);
}

.section-title {
  font-size: clamp(1.75rem, 3.4vw, 2.65rem);
  font-weight: 800;
  margin-block-end: 0.85rem;
}

.section-lead {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--ve-ink-secondary);
}

.section--dark .section-lead {
  color: rgba(255, 255, 255, 0.84);
}

.text-gradient {
  background: linear-gradient(120deg, #059669 0%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Reading Scroll Progress Bar (scroll-progress-indicator) ---------- */
#scroll-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  block-size: 4px;
  z-index: 1000;
  background: linear-gradient(90deg, var(--ve-green-500), var(--ve-sky-500), var(--ve-amber-400));
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    @keyframes grow-reading-progress {
      from { transform: scaleX(0); }
      to { transform: scaleX(1); }
    }

    #scroll-progress {
      animation: grow-reading-progress auto linear;
      animation-timeline: scroll(root block);
    }
  }
}

/* ---------- Scroll Entry Reveal Animations (scroll-entry-exit-effects + stagger) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes ve-reveal-in {
      from {
        opacity: 0;
        transform: translateY(34px) scale(0.97);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .reveal {
      animation: ve-reveal-in auto linear both;
      animation-timeline: view(block);
      animation-range: entry 0% entry 34%;
    }
  }
}

/* JS IntersectionObserver Fallback */
.reveal.reveal--fallback {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition:
    opacity 0.65s var(--ease-spring) var(--stagger, 0ms),
    transform 0.65s var(--ease-spring) var(--stagger, 0ms);
}

.reveal.reveal--fallback.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Interactive Spotlight Card Hover Effect */
.spotlight-card {
  position: relative;
  overflow: hidden;
}

.spotlight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, 50%),
    rgba(37, 99, 235, 0.07),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.spotlight-card:hover::after {
  opacity: 1;
}

.section--dark .spotlight-card::after {
  background: radial-gradient(
    320px circle at var(--mx, 50%) var(--my, 50%),
    rgba(52, 211, 153, 0.15),
    transparent 62%
  );
}

/* ---------- Announcement Bar ---------- */
.topbar {
  background: var(--ve-navy-950);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  border-block-end: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.15rem;
  padding-block: 0.55rem;
  text-align: center;
}

.topbar__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.36);
  color: var(--ve-green-400);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.topbar__sep {
  opacity: 0.35;
}

/* ---------- Header / Navbar ---------- */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-block-end: 1px solid var(--ve-border);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.72rem;
}

.brand-group {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand__logo-img {
  block-size: 44px;
  inline-size: auto;
  object-fit: contain;
  transition: transform 0.3s var(--ease-bounce);
}

.brand:hover .brand__logo-img {
  transform: scale(1.03);
}

.header__certs {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding-inline-start: 0.75rem;
  border-inline-start: 1px solid var(--ve-border);
}

.header__certs img {
  block-size: 31px;
  inline-size: auto;
  object-fit: contain;
}

@media (min-width: 1280px) {
  .header__certs {
    display: inline-flex;
  }
}

.footer-logo-img {
  block-size: 52px;
  inline-size: auto;
  object-fit: contain;
  margin-block-end: 0.85rem;
}

.footer-certs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-block-start: 0.9rem;
}

.footer-certs img {
  block-size: 38px;
  inline-size: auto;
  object-fit: contain;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.05rem;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ve-ink-secondary);
  padding-block: 0.35rem;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  block-size: 2px;
  border-radius: 2px;
  background: var(--ve-green-600);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s var(--ease-spring);
}

.nav-links a:hover {
  color: var(--ve-green-700);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--ve-amber-50);
  border: 1.5px solid var(--ve-amber-200);
  color: var(--ve-ink);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-bounce), background-color 0.2s ease, box-shadow 0.2s ease;
}

.phone-pill:hover {
  background: var(--ve-amber-100);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -8px rgba(245, 158, 11, 0.5);
}

/* Green live availability dot + Softened Ruby Red CTAs (10% accent) */
.pulse-dot {
  inline-size: 9px;
  block-size: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.65);
  flex-shrink: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .pulse-dot {
    animation: ve-pulse 2.2s infinite;
  }
}

@keyframes ve-pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Tactile Buttons with Shimmer Sweep */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-block-size: 48px;
  padding: 0.72rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.22s var(--ease-bounce), background-color 0.2s ease, box-shadow 0.22s ease, border-color 0.2s ease;
}

.btn:active {
  transform: scale(0.96);
}

.btn--primary {
  background: linear-gradient(135deg, var(--vh-cta-red), var(--vh-cta-red-dark));
  color: #ffffff;
  box-shadow: var(--shadow-cta);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--vh-cta-red-soft), var(--vh-cta-red));
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 16px 32px -10px rgba(200, 30, 43, 0.44);
}

.btn--cta-urgent {
  background: linear-gradient(135deg, var(--vh-cta-red) 0%, var(--vh-cta-red-dark) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-cta);
}

.btn--cta-urgent::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: -100%;
  inline-size: 60%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .btn--cta-urgent:hover::before {
    animation: ve-sheen 0.85s var(--ease-spring);
  }
}

@keyframes ve-sheen {
  to {
    inset-inline-start: 145%;
  }
}

.btn--cta-urgent:hover {
  filter: brightness(1.06);
  transform: translateY(-2px) scale(1.01);
}

.btn--amber {
  background: #ffffff;
  color: var(--ve-navy-950);
  box-shadow: 0 14px 28px -10px rgba(0, 0, 0, 0.35);
}

.btn--amber:hover {
  background: #f8fafc;
  transform: translateY(-2px) scale(1.01);
}

.btn--outline {
  background: transparent;
  border-color: var(--ve-border-strong);
  color: var(--ve-ink);
}

.btn--outline:hover {
  border-color: var(--ve-green-600);
  color: var(--ve-green-700);
  background: var(--ve-green-50);
  transform: translateY(-1px);
}

.btn--outline-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.btn--sm {
  min-block-size: 40px;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn--full {
  inline-size: 100%;
}

.header__cta {
  display: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 44px;
  block-size: 44px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--ve-border);
  background: #ffffff;
  color: var(--ve-ink);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem 1.25rem;
  border-block-start: 1px solid var(--ve-border);
  background: #ffffff;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  color: var(--ve-ink);
}

.mobile-nav a:hover {
  background: var(--ve-green-50);
  color: var(--ve-green-700);
}

@media (min-width: 1040px) {
  .nav-links {
    display: flex;
  }
  .header__cta {
    display: inline-flex;
  }
  .menu-toggle {
    display: none;
  }
}

/* Official Subventions & RGE Certifications Sub-bar */
.institutions-strip {
  background: var(--ve-surface-soft);
  border-block-end: 1px solid var(--ve-border);
  padding-block: 0.8rem;
}

.institutions-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1.25rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ve-ink-muted);
}

.institutions-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 0.85rem;
}

.institutions-logos img {
  block-size: 42px;
  inline-size: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(14, 22, 36, 0.05));
}

/* ---------- HERO SECTION WITH SOOTHING DEEP SLATE-NAVY AURA ---------- */
.hero {
  position: relative;
  background: linear-gradient(140deg, #0c1422 0%, #152136 55%, #1a2a40 100%);
  color: #ffffff;
  padding-block: clamp(1.3rem, 2.6vw, 2.1rem) clamp(2.8rem, 5vw, 4.4rem);
  overflow: clip;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  pointer-events: none;
  opacity: 0.34;
}

.hero__orb--1 {
  inline-size: 440px;
  block-size: 440px;
  inset-block-start: -120px;
  inset-inline-start: -90px;
  background: radial-gradient(circle, #3b82f6, transparent 70%);
}

.hero__orb--2 {
  inline-size: 480px;
  block-size: 480px;
  inset-block-start: 10%;
  inset-inline-end: -140px;
  background: radial-gradient(circle, #10b981, transparent 70%);
}

@media (prefers-reduced-motion: no-preference) {
  .hero__orb--1 {
    animation: ve-float-orb 16s ease-in-out infinite alternate;
  }
  .hero__orb--2 {
    animation: ve-float-orb 20s ease-in-out infinite alternate-reverse;
  }
}

@keyframes ve-float-orb {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(35px, 28px) scale(1.09); }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(410px, 0.88fr);
  }
}

.hero__eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-block-end: 1.15rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.hero__badge--green {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(52, 211, 153, 0.4);
  color: #d1fae5;
}

.hero__badge--gold {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #f1f5f9;
}

.hero__title {
  color: #ffffff;
  font-size: clamp(2rem, 4.1vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-block-end: 1rem;
}

.hero__highlight {
  color: #93c5fd;
}

.hero__highlight-green {
  color: #6ee7b7;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  color: rgba(255, 255, 255, 0.9);
  margin-block-end: 0.9rem;
  max-inline-size: 40rem;
}

.hero__disclaimer {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  margin-block-end: 1.4rem;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-block-end: 1.7rem;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.46rem 0.92rem;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
  background: #ffffff;
  color: var(--ve-navy-900);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-bounce);
}

.hero__pill:hover {
  transform: translateY(-2px);
}

.hero__pill--accent {
  background: #ecfdf5;
  color: #065f46;
}

.hero__pill--glass {
  background: rgba(255, 255, 255, 0.11);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero__cert-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-block-end: 1.5rem;
}

.hero__cert-logos img {
  block-size: 44px;
  inline-size: auto;
  object-fit: contain;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.45);
  border-radius: 7px;
}

/* Tablet Showcase Frame */
.showcase-frame {
  position: relative;
  border-radius: 1.6rem;
  padding: 0.7rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 28px 70px -24px rgba(0, 0, 0, 0.65);
}

.showcase-frame__media {
  position: relative;
  border-radius: 1.15rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0d253d;
}

.showcase-frame__img,
.showcase-frame__video {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s var(--ease-spring);
}

.video-ctrl-btn {
  position: relative;
  z-index: 3;
  inline-size: 38px;
  block-size: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(7, 25, 43, 0.78);
  backdrop-filter: blur(8px);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  transition: transform 0.2s var(--ease-bounce), background-color 0.2s ease;
}

.video-ctrl-btn:hover {
  background: rgba(7, 25, 43, 0.96);
  transform: scale(1.08);
}

.photo-feature__video-btn {
  position: absolute;
  inset-block-start: 0.85rem;
  inset-inline-end: 0.85rem;
}

.showcase-frame:hover .showcase-frame__img {
  transform: scale(1.03);
}

.showcase-frame__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 25, 43, 0.1) 0%, rgba(7, 25, 43, 0.68) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
}

.showcase-frame__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.float-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(7, 25, 43, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
}

.float-chip strong {
  color: var(--ve-green-400);
}

.showcase-frame__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.play-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1.05rem 0.55rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ve-navy-950);
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s var(--ease-bounce), background-color 0.2s ease;
}

.play-trigger:hover {
  transform: translateY(-2px) scale(1.02);
  background: #ffffff;
}

.play-trigger__icon {
  inline-size: 32px;
  block-size: 32px;
  border-radius: 50%;
  background: var(--ve-green-600);
  color: #ffffff;
  display: grid;
  place-items: center;
}

/* ---------- ELIGIBILITY SIMULATOR CARD ---------- */
.elig-card {
  background: #ffffff;
  color: var(--ve-ink);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card-hero);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  position: relative;
}

@media (min-width: 1024px) {
  .elig-card {
    position: sticky;
    inset-block-start: 5.5rem;
  }
}

.elig-card__ribbon {
  block-size: 5px;
  background: linear-gradient(90deg, #162032 0% 42%, #c81e2b 42% 68%, #94a3b8 68% 100%);
}

.elig-card__body {
  padding: clamp(0.85rem, 1.4vw, 1.1rem) clamp(1rem, 1.8vw, 1.3rem);
}

.elig-card__header {
  text-align: center;
  margin-block-end: 0.48rem;
}

.elig-card__title {
  font-size: 1.16rem;
  font-weight: 800;
  color: var(--ve-navy-950);
  margin-block-end: 0.1rem;
}

.elig-card__sub {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ve-ink-muted);
}

/* Stepper */
.stepper {
  margin-block-end: 0.55rem;
}

.stepper__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 0.45rem;
}

.stepper__item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--ve-surface-soft);
  color: var(--ve-ink-muted);
  border: 1px solid var(--ve-border);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.stepper__item[aria-current="step"] {
  background: #f1f5f9;
  color: var(--ve-navy-900);
  border-color: var(--ve-navy-700);
}

.stepper__item.is-done {
  background: var(--ve-navy-900);
  color: #ffffff;
  border-color: var(--ve-navy-900);
}

.stepper__num {
  inline-size: 20px;
  block-size: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  background: currentColor;
}

.stepper__num span {
  color: #ffffff;
}

.stepper__item:not([aria-current="step"]):not(.is-done) .stepper__num {
  background: #cbd5e1;
}

.stepper__item:not([aria-current="step"]):not(.is-done) .stepper__num span {
  color: var(--ve-ink);
}

.stepper__item.is-done .stepper__num {
  background: var(--ve-green-500);
}

.stepper__progress {
  inline-size: 100%;
  block-size: 6px;
  border-radius: var(--radius-pill);
  appearance: none;
  border: none;
  background: var(--ve-border);
  overflow: hidden;
}

.stepper__progress::-webkit-progress-bar {
  background: var(--ve-border);
  border-radius: var(--radius-pill);
}

.stepper__progress::-webkit-progress-value {
  background: linear-gradient(90deg, var(--ve-green-500), var(--ve-sky-500));
  border-radius: var(--radius-pill);
  transition: width 0.4s var(--ease-spring);
}

.stepper__progress::-moz-progress-bar {
  background: linear-gradient(90deg, var(--ve-green-500), var(--ve-sky-500));
  border-radius: var(--radius-pill);
}

/* Step transition animation */
.form-step[hidden] {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .form-step.is-entering {
    animation: ve-step-slide 0.36s var(--ease-spring) both;
  }
}

@keyframes ve-step-slide {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Fieldsets & Tactile Radio Tile Cards */
.form-fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 0.45rem;
}

.form-legend {
  display: block;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ve-ink-secondary);
  margin-block-end: 0.26rem;
}

.tile-grid {
  display: grid;
  gap: 0.42rem;
}

.tile-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.choice-tile {
  position: relative;
}

.choice-tile__label {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-block-size: 40px;
  padding: 0.3rem 0.25rem;
  border-radius: 0.7rem;
  border: 2px solid var(--ve-border);
  background: #ffffff;
  color: var(--ve-ink-secondary);
  font-size: 0.77rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.22s var(--ease-bounce),
    box-shadow 0.2s ease;
}

.choice-tile__label--compact {
  min-block-size: 36px;
  padding: 0.24rem 0.2rem;
  font-size: 0.79rem;
}

.choice-tile__label::after {
  content: "✓";
  position: absolute;
  inset-block-start: -7px;
  inset-inline-end: -6px;
  inline-size: 20px;
  block-size: 20px;
  border-radius: 50%;
  background: var(--ve-green-600);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 900;
  display: grid;
  place-items: center;
  box-shadow: 0 3px 8px rgba(5, 150, 105, 0.32);
  transform: scale(0);
  opacity: 0;
  transition: transform 0.25s var(--ease-bounce), opacity 0.18s ease;
}

.choice-tile__label--compact::after {
  display: none;
}

.choice-tile__label:hover {
  border-color: var(--ve-navy-700);
  background: #f8fafc;
  transform: translateY(-2px);
}

.choice-tile__label:active {
  transform: scale(0.95);
}

.choice-tile input:checked + .choice-tile__label {
  border-color: var(--ve-navy-800);
  background: #f1f5f9;
  color: var(--ve-navy-950);
  box-shadow: 0 6px 14px -6px rgba(20, 28, 43, 0.18), 0 0 0 1px var(--ve-navy-800);
  transform: translateY(-1px);
}

.choice-tile input:checked + .choice-tile__label::after {
  transform: scale(1);
  opacity: 1;
}

.choice-tile input:focus-visible + .choice-tile__label {
  outline: 3px solid var(--ve-sky-600);
  outline-offset: 2px;
}

/* Smart Income Slider + Auto-Detected ANAH Profile Box */
.income-box {
  background: var(--ve-surface-soft);
  border: 1.5px solid var(--ve-border);
  border-radius: 0.85rem;
  padding: 0.65rem 0.85rem;
  margin-block-end: 0.65rem;
}

.income-box__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-block-end: 0.2rem;
}

.income-box__val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.04rem;
  color: var(--ve-navy-900);
  white-space: nowrap;
}

.income-detected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-block-start: 0.35rem;
  padding: 0.36rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.74rem;
  font-weight: 700;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease-bounce);
}

.phone-reassurance {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.58rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--ve-green-50);
  border: 1px solid var(--ve-green-100);
  color: var(--ve-navy-900);
  font-size: 0.76rem;
  line-height: 1.42;
  margin-block: -0.25rem 0.75rem;
}

.phone-reassurance strong {
  color: var(--ve-green-700);
}

.income-detected--bleu { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
.income-detected--jaune { background: #fef9c3; color: #854d0e; border: 1px solid #fde047; }
.income-detected--violet { background: #f3e8ff; color: #6b21a8; border: 1px solid #d8b4fe; }
.income-detected--rose { background: #fce7f3; color: #9d174d; border: 1px solid #fbcfe8; }

.income-unknown-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-block-start: 0.5rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ve-ink-muted);
}

.income-unknown-row input {
  accent-color: var(--ve-green-600);
  inline-size: 16px;
  block-size: 16px;
}

/* Standard Accessible Inputs */
.form-row-2 {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.26rem;
  margin-block-end: 0.8rem;
}

.field__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ve-ink-secondary);
}

.field__label .req {
  color: var(--ve-danger);
}

.field__input {
  font: inherit;
  font-size: max(1rem, 1em);
  min-block-size: 48px;
  padding: 0.62rem 0.85rem;
  border-radius: 0.75rem;
  border: 1.5px solid var(--ve-input-border);
  background: #ffffff;
  color: var(--ve-ink);
  inline-size: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (pointer: coarse) {
  .field__input {
    min-block-size: 52px;
  }
}

.field__input:focus {
  border-color: var(--ve-navy-800);
  box-shadow: 0 0 0 3px rgba(30, 41, 59, 0.15);
  outline: none;
}

.field__input:user-invalid,
.field__input[aria-invalid="true"] {
  border-color: var(--ve-danger);
  background: var(--ve-danger-bg);
}

.field__hint {
  font-size: 0.74rem;
  color: var(--ve-ink-muted);
}

.field__error {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ve-danger);
  min-block-size: 1.05em;
}

.zone-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-block-start: 0.15rem;
  padding: 0.26rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  background: var(--ve-sky-50);
  color: var(--ve-sky-700);
  border: 1px solid var(--ve-sky-100);
}

.zone-live-badge--h1 {
  background: var(--ve-green-50);
  color: var(--ve-green-700);
  border-color: var(--ve-green-100);
}

.zone-live-badge--h3 {
  background: var(--ve-amber-50);
  color: var(--ve-amber-600);
  border-color: var(--ve-amber-200);
}

@media (prefers-reduced-motion: no-preference) {
  .pop-in {
    animation: ve-pop 0.32s var(--ease-bounce);
  }
}

@keyframes ve-pop {
  0% { transform: scale(0.92); opacity: 0.5; }
  60% { transform: scale(1.03); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* Live Preliminary Aid Meter */
.aid-meter {
  background: linear-gradient(135deg, #0e1624, #17253a);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 0.65rem 0.85rem;
  margin-block: 0.45rem 0.65rem;
  border: 1px solid rgba(52, 211, 153, 0.28);
  transition: transform 0.25s var(--ease-bounce);
}

.aid-meter__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-block-end: 0.2rem;
}

.aid-meter__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
}

.aid-meter__amount {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--ve-green-400);
  font-variant-numeric: tabular-nums;
}

.aid-meter__bar {
  block-size: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
  margin-block-end: 0.3rem;
}

.aid-meter__fill {
  block-size: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--ve-green-400), var(--ve-amber-400));
  inline-size: 82%;
  transition: inline-size 0.45s var(--ease-spring);
}

.aid-meter__note {
  font-size: 0.73rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
}

/* Step 2 Summary Pill */
.step2-recap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.72rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--ve-green-50);
  border: 1px solid var(--ve-green-100);
  margin-block-end: 1rem;
  font-size: 0.82rem;
}

.step2-recap strong {
  color: var(--ve-green-700);
}

.step2-back {
  background: transparent;
  border: 0;
  color: var(--ve-sky-700);
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: underline;
  padding: 0.25rem;
}

/* Checkbox CGU + Politique de confidentialité */
.consent-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-block: 0.55rem 0.65rem;
  font-size: 0.8rem;
  color: var(--ve-ink-secondary);
}

.consent-row input[type="checkbox"] {
  accent-color: var(--ve-green-700);
  inline-size: 18px;
  block-size: 18px;
  margin: 0;
  border-radius: 4px;
  flex-shrink: 0;
  cursor: pointer;
}

@supports not (accent-color: #047857) {
  .consent-row input[type="checkbox"] {
    position: absolute;
    clip-path: inset(50%);
    overflow: hidden;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    white-space: nowrap;
  }

  .consent-row label {
    position: relative;
    padding-inline-start: 1.7rem;
  }

  .consent-row input[type="checkbox"] + label::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    inset-block-start: 0.15rem;
    inline-size: 1.15rem;
    block-size: 1.15rem;
    border: 2px solid var(--ve-input-border);
    background: #ffffff;
    border-radius: 4px;
    box-sizing: border-box;
  }

  .consent-row input[type="checkbox"]:focus-visible + label::before {
    outline: 3px solid var(--ve-sky-600);
    outline-offset: 2px;
  }

  .consent-row input[type="checkbox"]:checked + label::before {
    background-color: var(--ve-green-700);
    border-color: var(--ve-green-700);
  }

  .consent-row input[type="checkbox"]:checked + label::after {
    content: "✓";
    position: absolute;
    inset-inline-start: 0.22rem;
    inset-block-start: 0.1rem;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.85rem;
  }
}

.consent-row label {
  cursor: pointer;
  line-height: 1.4;
}

.consent-row button.link-btn,
.consent-row a.consent-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--ve-navy-800);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}

.consent-row button.link-btn:hover,
.consent-row a.consent-link:hover {
  color: var(--ve-green-700);
}

.elig-legal-box {
  background: var(--ve-sky-50);
  border: 1px solid var(--ve-sky-100);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  font-size: 0.74rem;
  color: var(--ve-navy-800);
  margin-block-end: 0.9rem;
}

.elig-trust-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.9rem;
  margin-block-start: 0.85rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ve-ink-muted);
}

/* Confirmation State & Confetti Burst */
.confirm-box {
  text-align: center;
  padding-block: 0.5rem;
  position: relative;
}

.confirm-box__icon {
  inline-size: 66px;
  block-size: 66px;
  border-radius: 50%;
  margin: 0 auto 0.85rem;
  background: var(--ve-green-100);
  color: var(--ve-green-700);
  display: grid;
  place-items: center;
}

.confirm-ref {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--ve-navy-900);
  color: var(--ve-green-400);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
  font-size: 0.84rem;
  margin-block: 0.5rem 1rem;
}

.confirm-breakdown {
  text-align: left;
  background: var(--ve-surface-soft);
  border: 1px solid var(--ve-border);
  border-radius: var(--radius-md);
  padding: 0.95rem 1rem;
  margin-block: 1rem;
  font-size: 0.86rem;
}

.confirm-breakdown__row {
  display: flex;
  justify-content: space-between;
  padding-block: 0.36rem;
  border-block-end: 1px dashed var(--ve-border);
}

.confirm-breakdown__row:last-child {
  border-block-end: 0;
  font-weight: 800;
  color: var(--ve-green-700);
  font-size: 0.98rem;
  padding-block-start: 0.55rem;
}

.confetti-particle {
  position: absolute;
  inline-size: 8px;
  block-size: 8px;
  border-radius: 2px;
  pointer-events: none;
  z-index: 20;
}

/* ---------- KPI BANNER ---------- */
.kpi-band {
  margin-block-start: -1.5rem;
  position: relative;
  z-index: 5;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.kpi-card {
  background: #ffffff;
  border: 1px solid var(--ve-border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.28s var(--ease-bounce), border-color 0.25s ease, box-shadow 0.25s ease;
}

.kpi-card:hover {
  transform: translateY(-6px);
  border-color: var(--ve-green-400);
  box-shadow: var(--shadow-lg);
}

.kpi-card__value {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  font-weight: 800;
  color: var(--ve-green-600);
  line-height: 1.1;
  margin-block-end: 0.35rem;
  font-variant-numeric: tabular-nums;
}

.kpi-card__label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ve-ink);
  margin-block-end: 0.15rem;
}

.kpi-card__sub {
  font-size: 0.78rem;
  color: var(--ve-ink-muted);
}

/* ---------- 3 STEPS + TECHNICIAN PHOTO ---------- */
.steps-layout {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 960px) {
  .steps-layout {
    grid-template-columns: 1.25fr 0.75fr;
  }
}

.steps-list {
  display: grid;
  gap: 1.15rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-card {
  display: flex;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--ve-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease-bounce), box-shadow 0.25s ease, border-color 0.25s ease;
}

.step-card:hover {
  transform: translateX(6px);
  border-color: var(--ve-green-400);
  box-shadow: var(--shadow-md);
}

.step-card__num {
  inline-size: 46px;
  block-size: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ve-green-600), var(--ve-green-700));
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-bounce);
}

.step-card:hover .step-card__num {
  transform: scale(1.1) rotate(-4deg);
}

.step-card__title {
  font-size: 1.08rem;
  font-weight: 800;
  margin-block-end: 0.3rem;
}

.step-card__text {
  font-size: 0.92rem;
  color: var(--ve-ink-secondary);
}

.photo-feature {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ve-border);
  background: var(--ve-navy-950);
  max-inline-size: 336px;
  inline-size: 100%;
  margin-inline: auto;
}

.photo-feature img,
.photo-feature video {
  inline-size: 100%;
  block-size: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-spring);
}

.photo-feature:hover img,
.photo-feature:hover video {
  transform: scale(1.02);
}

.photo-feature__caption {
  background: linear-gradient(135deg, var(--ve-navy-950), var(--ve-navy-800));
  color: #ffffff;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.photo-feature__icon {
  inline-size: 40px;
  block-size: 40px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.2);
  color: var(--ve-green-400);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.photo-feature__caption strong {
  display: block;
  font-size: 0.92rem;
}

.photo-feature__caption span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- INTERACTIVE PAC DIAGRAM WITH FLOWING ENERGY ANIMATION ---------- */
.diagram-box {
  background: #ffffff;
  border: 1px solid var(--ve-border);
  border-radius: var(--radius-xl);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-md);
}

.diagram-grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 920px) {
  .diagram-grid {
    grid-template-columns: 1.25fr 0.75fr;
  }
}

.diagram-stage {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.diagram-mode-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.diagram-mode-switch {
  display: inline-flex;
  gap: 0.3rem;
  padding: 0.28rem;
  border-radius: var(--radius-pill);
  background: var(--ve-surface-soft);
  border: 1px solid var(--ve-border);
}

.diagram-mode-btn {
  padding: 0.4rem 0.88rem;
  border-radius: var(--radius-pill);
  border: 0;
  background: transparent;
  color: var(--ve-ink-secondary);
  font-weight: 700;
  font-size: 0.8rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.diagram-mode-btn[aria-pressed="true"] {
  background: var(--ve-navy-900);
  color: #ffffff;
}

.pac-3d-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ve-navy-950);
  border: 1px solid var(--ve-border);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
}

.pac-3d-wrap[hidden],
.diagram-svg-wrap[hidden] {
  display: none;
}

.pac-3d-wrap video {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  display: block;
}

.pac-3d-hud {
  position: absolute;
  inset-inline: 0.9rem;
  inset-block-end: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  pointer-events: none;
}

.pac-3d-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(7, 25, 43, 0.84);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
}

.pac-3d-step-pill .step-dot {
  inline-size: 22px;
  block-size: 22px;
  border-radius: 50%;
  background: var(--ve-green-500);
  color: #07192b;
  font-weight: 900;
  font-size: 0.76rem;
  display: grid;
  place-items: center;
}

.diagram-svg-wrap {
  position: relative;
  background: linear-gradient(180deg, #f0f9ff 0%, #f2fbf6 100%);
  border-radius: var(--radius-lg);
  padding: 1rem;
  border: 1px solid var(--ve-border);
}

.diagram-pause-btn {
  position: absolute;
  inset-block-start: 0.75rem;
  inset-inline-end: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--ve-border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ve-ink-secondary);
  font-size: 0.74rem;
  font-weight: 700;
}

/* Animated fan & flowing energy pipes (paused cleanly when .is-paused or reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .pac-fan {
    transform-box: fill-box;
    transform-origin: center;
    animation: ve-fan-spin 3.8s linear infinite;
  }

  .flow-pipe {
    stroke-dasharray: 10 8;
    animation: ve-flow 1.4s linear infinite;
  }

  .diagram-svg-wrap.is-paused .pac-fan,
  .diagram-svg-wrap.is-paused .flow-pipe {
    animation-play-state: paused;
  }
}

@keyframes ve-fan-spin {
  to { transform: rotate(360deg); }
}

@keyframes ve-flow {
  to { stroke-dashoffset: -36; }
}

.hotspot-btn {
  cursor: pointer;
}

.hotspot-btn circle {
  transition: transform 0.25s var(--ease-bounce), filter 0.2s ease;
  transform-box: fill-box;
  transform-origin: center;
}

.hotspot-btn:hover circle,
.hotspot-btn.is-active circle {
  transform: scale(1.24);
  filter: drop-shadow(0 0 8px rgba(225, 6, 19, 0.5));
}

.diagram-tabs {
  display: grid;
  gap: 0.65rem;
}

.diagram-tab {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  text-align: left;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--ve-border);
  background: #ffffff;
  color: var(--ve-ink);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.22s var(--ease-bounce), box-shadow 0.2s ease;
}

.diagram-tab:hover {
  border-color: var(--ve-sky-500);
  transform: translateX(4px);
}

.diagram-tab[aria-pressed="true"] {
  border-color: var(--ve-green-600);
  background: var(--ve-green-50);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.diagram-tab__num {
  inline-size: 28px;
  block-size: 28px;
  border-radius: 50%;
  background: var(--ve-navy-900);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.82rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.diagram-tab[aria-pressed="true"] .diagram-tab__num {
  background: var(--ve-green-600);
}

.diagram-tab strong {
  display: block;
  font-size: 0.94rem;
  margin-block-end: 0.15rem;
}

.diagram-tab span {
  font-size: 0.83rem;
  color: var(--ve-ink-secondary);
}

.cop-banner {
  margin-block-start: 1.5rem;
  padding: 1rem 1.35rem;
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, var(--ve-green-50), var(--ve-sky-50));
  border: 1px solid var(--ve-green-100);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cop-formula {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
}

.cop-pill {
  padding: 0.35rem 0.78rem;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--ve-border);
}

.cop-pill--out {
  background: var(--ve-green-600);
  color: #ffffff;
  border-color: var(--ve-green-600);
}

/* ---------- SAVINGS INTERACTIVE SIMULATOR ---------- */
.savings-card {
  background: #ffffff;
  border: 1px solid var(--ve-border);
  border-radius: var(--radius-xl);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .savings-card {
    grid-template-columns: 1fr 1fr;
  }
}

.energy-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-block-end: 1.4rem;
}

.energy-btn {
  min-block-size: 48px;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--ve-border);
  background: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ve-ink-secondary);
  transition: all 0.22s var(--ease-bounce);
}

.energy-btn:hover {
  border-color: var(--ve-green-500);
  transform: translateY(-2px);
}

.energy-btn[aria-pressed="true"] {
  border-color: var(--ve-green-600);
  background: var(--ve-green-50);
  color: var(--ve-green-700);
  box-shadow: 0 6px 14px -6px rgba(200, 13, 24, 0.3);
}

.range-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-block-end: 0.5rem;
}

.range-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ve-navy-900);
  font-variant-numeric: tabular-nums;
}

/* Brand-Consistent Native Range Slider (modern-web-guidance: slider) */
.ve-range {
  --slider-track-size: 0.5rem;
  --slider-thumb-size: 1.25rem;
  --slider-track-radius: 999px;
  --slider-thumb-radius: 50%;
  --slider-track-color: #cbd5e1;
  --slider-fill-color: var(--ve-navy-800);
  --slider-thumb-color: var(--ve-navy-800);
  --slider-direction: to right;
  --attr-min: attr(min type(<number>), 0);
  --attr-max: attr(max type(<number>), 100);
  --control-value: attr(value type(<number>), 50);
  --slider-progress: calc(
    progress(var(--control-value), var(--attr-min), var(--attr-max)) * 100%
  );

  appearance: none;
  inline-size: 100%;
  block-size: 2rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.ve-range:dir(rtl) {
  --slider-direction: to left;
}

@supports not (opacity: progress(1, 0, 100)) {
  .ve-range {
    --slider-progress: calc(
      (var(--control-value) - var(--attr-min)) /
      (var(--attr-max) - var(--attr-min)) * 100%
    );
  }
}

.ve-range::-webkit-slider-runnable-track {
  block-size: var(--slider-track-size);
  border: 0;
  border-radius: var(--slider-track-radius);
  background: linear-gradient(
    var(--slider-direction),
    var(--slider-fill-color) var(--slider-progress),
    var(--slider-track-color) var(--slider-progress)
  );
}

.ve-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  inline-size: var(--slider-thumb-size);
  block-size: var(--slider-thumb-size);
  margin-block-start: calc((var(--slider-track-size) - var(--slider-thumb-size)) / 2);
  border: 2.5px solid #ffffff;
  box-shadow: 0 2px 8px rgba(7, 25, 43, 0.28);
  border-radius: var(--slider-thumb-radius);
  background: var(--slider-thumb-color);
}

.ve-range::-moz-range-track {
  block-size: var(--slider-track-size);
  border: 0;
  border-radius: var(--slider-track-radius);
  background: var(--slider-track-color);
}

.ve-range::-moz-range-progress {
  block-size: var(--slider-track-size);
  border-radius: var(--slider-track-radius);
  background: var(--slider-fill-color);
}

.ve-range::-moz-range-thumb {
  inline-size: var(--slider-thumb-size);
  block-size: var(--slider-thumb-size);
  border: 2.5px solid #ffffff;
  box-shadow: 0 2px 8px rgba(7, 25, 43, 0.28);
  border-radius: var(--slider-thumb-radius);
  background: var(--slider-thumb-color);
}

.ve-range:focus-visible {
  outline: 2px solid var(--slider-fill-color);
  outline-offset: 4px;
}

/* ---------- BRANDS STRIP & BEFORE/AFTER INTERACTIVE CHANTIER ---------- */
.brands-strip {
  padding-block: 2rem 0.5rem;
}

.brands-strip__box {
  background: var(--ve-surface-soft);
  border: 1px solid var(--ve-border);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.brands-strip__title {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ve-ink-muted);
  margin-block-end: 0.9rem;
}

.brands-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.7rem 1.1rem;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--ve-border);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  color: var(--ve-navy-900);
  box-shadow: var(--shadow-sm);
}

.brand-chip small {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ve-green-700);
  background: var(--ve-green-50);
  padding: 0.12rem 0.45rem;
  border-radius: var(--radius-pill);
}

/* Interactive Before / After Comparison Slider */
.ba-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 960px) {
  .ba-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.ba-stage {
  --ba-pos: 50%;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--ve-border);
  user-select: none;
  background: var(--ve-navy-950);
}

.ba-stage:has(.ba-input:focus-visible) {
  outline: 3px solid var(--ve-sky-600);
  outline-offset: 4px;
}

.ba-img {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-img--after {
  clip-path: inset(0 0 0 var(--ba-pos));
}

.ba-divider {
  position: absolute;
  inset-block: 0;
  inset-inline-start: var(--ba-pos);
  inline-size: 3px;
  background: #ffffff;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.55);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;
}

.ba-knob {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: var(--ba-pos);
  transform: translate(-50%, -50%);
  inline-size: 48px;
  block-size: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--ve-navy-950);
  border: 3px solid var(--ve-green-500);
  box-shadow: 0 8px 24px rgba(7, 25, 43, 0.45);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1rem;
  pointer-events: none;
  z-index: 3;
}

.ba-tag {
  position: absolute;
  inset-block-start: 0.9rem;
  z-index: 2;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.ba-tag--before {
  inset-inline-start: 0.9rem;
  background: rgba(15, 18, 24, 0.86);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.ba-tag--after {
  inset-inline-end: 0.9rem;
  background: rgba(5, 150, 105, 0.92);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.ba-input {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}

.ba-quick-btns {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-block-start: 0.85rem;
}

.ba-points {
  display: grid;
  gap: 0.95rem;
}

.ba-point {
  background: #ffffff;
  border: 1px solid var(--ve-border);
  border-radius: var(--radius-md);
  padding: 1.05rem 1.15rem;
  box-shadow: var(--shadow-sm);
}

.ba-point strong {
  display: block;
  font-size: 0.98rem;
  margin-block-end: 0.2rem;
  color: var(--ve-ink);
}

.ba-point span {
  font-size: 0.86rem;
  color: var(--ve-ink-secondary);
}

.bar-compare {
  display: grid;
  gap: 1.15rem;
  margin-block-end: 1.4rem;
}

.bar-row__top {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 700;
  margin-block-end: 0.35rem;
  font-variant-numeric: tabular-nums;
}

.bar-track {
  block-size: 18px;
  border-radius: var(--radius-pill);
  background: var(--ve-surface-soft);
  border: 1px solid var(--ve-border);
  overflow: hidden;
}

.bar-fill {
  block-size: 100%;
  border-radius: var(--radius-pill);
  transition: inline-size 0.5s var(--ease-spring);
}

.bar-fill--old {
  background: linear-gradient(90deg, #64748b, #334155);
}

.bar-fill--pac {
  background: linear-gradient(90deg, #10b981, #2563eb);
}

.savings-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-block-end: 1.25rem;
}

.savings-mini {
  background: var(--ve-surface-mint);
  border: 1px solid var(--ve-green-100);
  border-radius: var(--radius-md);
  padding: 0.85rem 0.65rem;
  text-align: center;
  transition: transform 0.25s var(--ease-bounce);
}

.savings-mini:hover {
  transform: translateY(-3px);
}

.savings-mini__val {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 800;
  color: var(--ve-green-700);
  font-variant-numeric: tabular-nums;
}

.savings-mini__lbl {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ve-ink-secondary);
}

/* ---------- 6 BENEFITS GRID (Anime.js v4 createLayout expandable cards) ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.benefit-card {
  background: #ffffff;
  border: 1.5px solid var(--ve-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.benefit-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--ve-green-400);
}

.benefit-card.is-expanded {
  border-color: var(--ve-green-600);
  background: linear-gradient(145deg, #ffffff 0%, var(--ve-green-50) 100%);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 720px) {
  .benefit-card.is-expanded {
    grid-column: span 2;
  }
}

.benefit-card__extra {
  display: none;
  margin-block-start: 0.9rem;
  padding-block-start: 0.85rem;
  border-block-start: 1px dashed var(--ve-green-400);
  font-size: 0.88rem;
  color: var(--ve-navy-800);
}

.benefit-card.is-expanded .benefit-card__extra {
  display: block;
}

.benefit-card__more-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-block-start: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ve-green-700);
}

.benefit-card.is-expanded .benefit-card__more-hint {
  color: var(--ve-sky-700);
}

.benefit-card__icon {
  inline-size: 48px;
  block-size: 48px;
  border-radius: 14px;
  background: var(--ve-green-50);
  color: var(--ve-green-700);
  display: grid;
  place-items: center;
  margin-block-end: 1rem;
  transition: transform 0.3s var(--ease-bounce), background-color 0.25s ease, color 0.25s ease;
}

.benefit-card:hover .benefit-card__icon {
  transform: scale(1.1) rotate(-5deg);
  background: var(--ve-green-600);
  color: #ffffff;
}

.benefit-card__title {
  font-size: 1.12rem;
  font-weight: 800;
  margin-block-end: 0.45rem;
}

.benefit-card__text {
  font-size: 0.92rem;
  color: var(--ve-ink-secondary);
}

/* ---------- ALL 2026 AIDS + ANIME.JS LAYOUT FILTER ---------- */
.aids-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-block-end: 1.5rem;
}

.aids-filter-btn {
  padding: 0.52rem 1.05rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--ve-border);
  background: #ffffff;
  color: var(--ve-ink-secondary);
  font-weight: 700;
  font-size: 0.84rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.aids-filter-btn:hover {
  border-color: var(--ve-green-500);
  color: var(--ve-green-700);
}

.aids-filter-btn[aria-pressed="true"] {
  background: var(--ve-navy-900);
  border-color: var(--ve-navy-900);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.aids-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.15rem;
  margin-block-end: 2.25rem;
}

.aid-card {
  background: #ffffff;
  border: 1.5px solid var(--ve-border);
  border-radius: var(--radius-lg);
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.aid-card[hidden] {
  display: none;
}

.aid-card:hover {
  border-color: var(--ve-green-400);
  box-shadow: var(--shadow-md);
}

.aid-card__tag {
  align-self: flex-start;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--ve-sky-50);
  color: var(--ve-sky-700);
}

.aid-card__amount {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--ve-green-700);
}

.aid-card__title {
  font-size: 1.05rem;
  font-weight: 800;
}

.aid-card__list {
  margin: 0;
  padding-inline-start: 1.15rem;
  font-size: 0.86rem;
  color: var(--ve-ink-secondary);
  display: grid;
  gap: 0.3rem;
}

/* Cumul Waterfall */
.cumul-panel {
  background: linear-gradient(135deg, var(--ve-navy-950), var(--ve-navy-800));
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3.2vw, 2.5rem);
  box-shadow: var(--shadow-lg);
}

.cumul-panel__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-block-end: 1.5rem;
}

.profile-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.35rem;
  border-radius: var(--radius-pill);
}

.profile-tab {
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  font-size: 0.84rem;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-bounce);
}

.profile-tab[aria-selected="true"] {
  background: #ffffff;
  color: var(--ve-navy-950);
  transform: scale(1.03);
}

.cumul-waterfall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 0.9rem;
  align-items: stretch;
}

.wf-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 1rem;
  transition: transform 0.25s var(--ease-bounce);
}

.wf-box:hover {
  transform: translateY(-3px);
}

.wf-box--final {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(59, 130, 246, 0.16));
  border-color: var(--ve-green-400);
}

.wf-box__label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
  margin-block-end: 0.3rem;
}

.wf-box__val {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.wf-box__val--minus { color: var(--ve-green-400); }
.wf-box__val--final { color: var(--ve-amber-400); }

/* ---------- RESPONSIVE TABLES (responsive-table) ---------- */
.region-toggle {
  display: inline-flex;
  gap: 0.4rem;
  padding: 0.35rem;
  border-radius: var(--radius-pill);
  background: var(--ve-surface-soft);
  border: 1px solid var(--ve-border);
  margin-block-end: 1.25rem;
}

.region-toggle__btn {
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 0;
  background: transparent;
  color: var(--ve-ink-secondary);
  font-weight: 700;
  font-size: 0.88rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.region-toggle__btn[aria-pressed="true"] {
  background: var(--ve-navy-900);
  color: #ffffff;
}

.table-wrapper {
  overflow: auto;
  max-inline-size: 100%;
  max-block-size: min(560px, 80vh);
  container-type: inline-size;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ve-border);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.ve-table {
  inline-size: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.92rem;
  text-align: left;
}

.ve-table caption {
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  text-align: left;
  background: var(--ve-surface-soft);
  border-block-end: 1px solid var(--ve-border);
  color: var(--ve-ink);
}

.ve-table thead {
  position: sticky;
  inset-block-start: 0;
  z-index: 2;
}

.ve-table thead th {
  background: var(--ve-navy-900);
  color: #ffffff;
  font-weight: 700;
  padding: 0.85rem 1rem;
  white-space: nowrap;
}

.ve-table tbody th,
.ve-table tbody td {
  padding: 0.85rem 1rem;
  border-block-end: 1px solid var(--ve-border);
}

.ve-table tbody th {
  position: sticky;
  inset-inline-start: 0;
  background: #ffffff;
  font-weight: 700;
  color: var(--ve-ink);
  z-index: 1;
}

.ve-table tbody tr:hover td,
.ve-table tbody tr:hover th {
  background: var(--ve-green-50);
}

.badge-tier {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.78rem;
}

.badge-tier--bleu { background: #e0f2fe; color: #0369a1; }
.badge-tier--jaune { background: #fef9c3; color: #854d0e; }
.badge-tier--violet { background: #f3e8ff; color: #6b21a8; }
.badge-tier--rose { background: #fce7f3; color: #9d174d; }

@container (width < 600px) {
  .ve-table, .ve-table thead, .ve-table tbody, .ve-table tr, .ve-table th, .ve-table td {
    display: block;
  }
  .ve-table thead { display: none; }
  .ve-table tbody { padding: 0.75rem; }
  .ve-table tr {
    margin-block-end: 1rem;
    border: 1px solid var(--ve-border);
    border-radius: var(--radius-md);
    overflow: hidden;
  }
  .ve-table tbody th {
    position: sticky;
    inset-block-start: 0;
    z-index: 2;
    background: var(--ve-surface-soft);
    border-block-end: 1px solid var(--ve-border);
  }
  .ve-table tbody td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    text-align: right;
  }
  .ve-table--revenus {
    --label-2: "Très modeste (Bleu)";
    --label-3: "Modeste (Jaune)";
    --label-4: "Intermédiaire (Violet)";
  }
  .ve-table--coup {
    --label-2: "Prime Coup de Pouce";
    --label-3: "Autres aides cumulables";
    --label-4: "Plafond cumulé 2026";
  }
  .ve-table td:nth-child(2)::before { content: var(--label-2); font-weight: 700; color: var(--ve-ink-secondary); text-align: left; }
  .ve-table td:nth-child(3)::before { content: var(--label-3); font-weight: 700; color: var(--ve-ink-secondary); text-align: left; }
  .ve-table td:nth-child(4)::before { content: var(--label-4); font-weight: 700; color: var(--ve-ink-secondary); text-align: left; }
}

/* ---------- REAL 96-DEPARTMENT FRANCE CLIMATE ZONES MAP ---------- */
.zones-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 920px) {
  .zones-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.france-map-card {
  background: #ffffff;
  border: 1px solid var(--ve-border);
  border-radius: var(--radius-xl);
  padding: 1.35rem;
  box-shadow: var(--shadow-md);
}

.map-hover-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-md);
  background: var(--ve-surface-soft);
  border: 1px solid var(--ve-border);
  margin-block-end: 0.85rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ve-ink);
  min-block-size: 46px;
}

.france-svg-stage {
  position: relative;
  background: radial-gradient(circle at 50% 45%, #f0f9ff 0%, #f8fafc 75%);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  border: 1px solid var(--ve-border);
}

#france-svg {
  inline-size: 100%;
  max-block-size: 470px;
  margin-inline: auto;
  overflow: visible;
  shape-rendering: geometricPrecision;
}

.france-silhouette {
  filter: drop-shadow(0 12px 22px rgba(7, 25, 43, 0.14));
}

.dept-path {
  stroke: rgba(255, 255, 255, 0.65);
  stroke-width: 0.7;
  stroke-linejoin: round;
  stroke-linecap: round;
  cursor: pointer;
  transition: fill 0.18s ease, opacity 0.22s ease, filter 0.18s ease, stroke 0.18s ease, stroke-width 0.18s ease;
}

/* Soothing Climatic Camaïeu on France Map: Winter Blue H1, Ocean Blue H2, Soft Slate-Sand H3 */
.dept-path--h1 { fill: #2563eb; }
.dept-path--h2 { fill: #60a5fa; }
.dept-path--h3 { fill: #cbd5e1; }

.france-svg-stage[data-focus-zone="H1"] .dept-path:not(.dept-path--h1),
.france-svg-stage[data-focus-zone="H2"] .dept-path:not(.dept-path--h2),
.france-svg-stage[data-focus-zone="H3"] .dept-path:not(.dept-path--h3) {
  opacity: 0.22;
}

.dept-path:hover,
.dept-path:focus-visible {
  opacity: 1 !important;
  stroke: #ffffff;
  stroke-width: 1.8;
  filter: brightness(1.08);
  outline: none;
}

.dept-path.is-selected {
  opacity: 1 !important;
  fill: #0e1624 !important;
  stroke: #ffffff;
  stroke-width: 2.2;
  filter: drop-shadow(0 4px 10px rgba(14, 22, 36, 0.42));
}

.zone-map-tag rect {
  fill: rgba(7, 25, 43, 0.78);
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 1;
}

.zone-map-tag text {
  fill: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.1rem;
  margin-block-start: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ve-ink-secondary);
}

.map-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.map-legend__swatch {
  inline-size: 13px;
  block-size: 13px;
  border-radius: 4px;
  border: 1px solid rgba(14, 22, 36, 0.25);
  forced-color-adjust: none;
}

.map-legend__swatch--h1 { background: #2563eb; }
.map-legend__swatch--h2 { background: #60a5fa; }
.map-legend__swatch--h3 { background: #cbd5e1; border-color: #64748b; }
.map-legend__swatch--selected {
  background: #0e1624;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px #0e1624;
}

.zone-cards {
  display: grid;
  gap: 0.9rem;
}

.zone-card {
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--ve-border);
  background: #ffffff;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.25s var(--ease-bounce), box-shadow 0.2s ease;
}

.zone-card:hover {
  transform: translateX(4px);
  border-color: var(--ve-green-400);
}

.zone-card.is-active {
  border-color: var(--ve-green-600);
  background: var(--ve-green-50);
  box-shadow: var(--shadow-sm);
  transform: translateX(6px);
}

.zone-card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-block-end: 0.35rem;
}

.zone-pill {
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
}

.zone-pill--h1 { background: var(--ve-green-100); color: var(--ve-green-700); }
.zone-pill--h2 { background: var(--ve-sky-100); color: var(--ve-sky-700); }
.zone-pill--h3 { background: #f1f5f9; color: var(--ve-navy-700); border: 1px solid #cbd5e1; }

.cp-quick-check {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-block-start: 1rem;
  padding: 0.95rem;
  border-radius: var(--radius-md);
  background: var(--ve-surface-soft);
  border: 1px solid var(--ve-border);
}

.cp-quick-check input {
  flex: 1 1 160px;
}

/* ---------- QUALITY & TESTIMONIALS ---------- */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.15rem;
  margin-block-end: 2.5rem;
}

.quality-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  transition: transform 0.28s var(--ease-bounce), border-color 0.25s ease;
}

.quality-card:hover {
  transform: translateY(-5px);
  border-color: rgba(52, 211, 153, 0.42);
}

.quality-card__title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-block: 0.6rem 0.35rem;
}

.quality-card__text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}

.review-card {
  background: #ffffff;
  color: var(--ve-ink);
  border-radius: var(--radius-lg);
  padding: 1.45rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  transition: transform 0.28s var(--ease-bounce);
}

.review-card:hover {
  transform: translateY(-5px);
}

.review-stars {
  color: var(--ve-amber-500);
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.review-quote {
  font-size: 0.93rem;
  color: var(--ve-ink-secondary);
}

.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  padding-block-start: 0.75rem;
  border-block-start: 1px solid var(--ve-border);
}

.review-meta strong { color: var(--ve-ink); }

/* ---------- ACCESSIBLE ACCORDION FAQ (accordion) ---------- */
.faq-toolbar {
  display: flex;
  justify-content: flex-end;
  max-inline-size: 54rem;
  margin: 0 auto 0.9rem;
}

[command="--toggle-all"][aria-expanded="true"] .expand,
[command="--toggle-all"][aria-expanded="false"] .collapse {
  display: none;
}

.accordion {
  max-inline-size: 54rem;
  margin-inline: auto;
  display: grid;
  gap: 0.75rem;
}

.accordion details {
  background: #ffffff;
  border: 1.5px solid var(--ve-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.accordion details[open] {
  border-color: var(--ve-green-500);
  box-shadow: var(--shadow-sm);
}

.accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.15rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ve-ink);
  cursor: pointer;
}

.accordion summary::-webkit-details-marker { display: none; }

.accordion summary::before {
  content: "";
  inline-size: 1.15em;
  block-size: 1.15em;
  flex-shrink: 0;
  background-color: var(--ve-green-600);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
  rotate: -90deg;
}

.accordion details[open] > summary::before { rotate: 0deg; }

.accordion details::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

.accordion details:not([open])::details-content { block-size: 0; }

@media (prefers-reduced-motion: no-preference) {
  .accordion summary::before { transition: rotate 0.22s ease; }
  .accordion details::details-content {
    transition: block-size 0.3s ease-in-out, content-visibility 0.3s ease-in-out, display 0.3s ease-in-out;
    transition-behavior: allow-discrete;
  }
}

.accordion__answer {
  padding: 0 1.25rem 1.2rem 2.95rem;
  font-size: 0.94rem;
  color: var(--ve-ink-secondary);
}

/* ---------- FINAL CTA & FOOTER ---------- */
.final-cta {
  background: linear-gradient(135deg, #0e1624 0%, #17273d 100%);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4.5vw, 3.5rem);
  text-align: center;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.final-cta h2 {
  color: #ffffff;
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  margin-block-end: 0.75rem;
}

.final-cta p {
  max-inline-size: 40rem;
  margin: 0 auto 1.6rem;
  color: rgba(255, 255, 255, 0.86);
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

/* Official Subventions & Qualifications White Band above Footer */
.official-logos-band {
  background: #ffffff;
  border-block-start: 1px solid var(--ve-border);
  padding-block: 2.5rem 2.8rem;
  text-align: center;
}

.official-logos-band__eyebrow {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ve-ink-muted);
  margin-block-end: 0.35rem;
}

.official-logos-band__sub {
  font-size: 0.86rem;
  color: var(--ve-ink-secondary);
  margin-block-end: 1.4rem;
}

.official-logos-band__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.25rem;
}

.official-logos-band__grid img {
  block-size: 52px;
  inline-size: auto;
  object-fit: contain;
}

.site-footer {
  background: var(--ve-navy-950);
  color: rgba(255, 255, 255, 0.78);
  padding-block: 3.5rem 5.5rem;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding-block-end: 2.25rem;
  border-block-end: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-title {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-block-end: 0.85rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-links a,
.footer-links button {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--ve-green-400);
}

.footer-bottom {
  padding-block-start: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- STICKY BOTTOM BAR ---------- */
.sticky-bar {
  position: fixed;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 80;
  background: rgba(7, 25, 43, 0.96);
  backdrop-filter: blur(12px);
  border-block-start: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.65rem 1rem;
  transform: translateY(115%);
  transition: transform 0.35s var(--ease-spring);
}

.sticky-bar.is-visible {
  transform: translateY(0);
}

.sticky-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-inline-size: var(--container-max);
  margin-inline: auto;
  color: #ffffff;
}

.sticky-bar__text {
  font-size: 0.88rem;
  font-weight: 700;
}

.sticky-bar__text span { color: #6ee7b7; }

/* ---------- NATIVE MODAL DIALOGS (dialog + motion @starting-style) ---------- */
dialog.ve-dialog {
  inline-size: min(640px, calc(100% - 2rem));
  max-block-size: min(85vh, 720px);
  padding: 0;
  border: 1px solid var(--ve-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  color: var(--ve-ink);
  background: #ffffff;
  overflow: auto;
}

@media (prefers-reduced-motion: no-preference) {
  dialog.ve-dialog {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
    transition:
      opacity 0.24s ease-out,
      transform 0.28s var(--ease-spring),
      display 0.24s,
      overlay 0.24s;
    transition-behavior: allow-discrete;
  }

  dialog.ve-dialog[open] {
    opacity: 1;
    transform: translateY(0) scale(1);
    @starting-style {
      opacity: 0;
      transform: translateY(18px) scale(0.96);
    }
  }
}

dialog.ve-dialog:modal {
  overscroll-behavior: contain;
}

dialog.ve-dialog::backdrop {
  background: rgba(7, 25, 43, 0.68);
  backdrop-filter: blur(4px);
  overflow: hidden;
  overscroll-behavior: contain;
}

.ve-dialog__head {
  position: sticky;
  inset-block-start: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  border-block-end: 1px solid var(--ve-border);
}

.ve-dialog__title {
  font-size: 1.18rem;
  font-weight: 800;
}

.ve-dialog__close {
  inline-size: 38px;
  block-size: 38px;
  border-radius: 50%;
  border: 1px solid var(--ve-border);
  background: var(--ve-surface-soft);
  color: var(--ve-ink);
  font-weight: 800;
  display: grid;
  place-items: center;
}

.ve-dialog__body {
  padding: 1.35rem 1.4rem;
  font-size: 0.92rem;
  color: var(--ve-ink-secondary);
  display: grid;
  gap: 0.9rem;
}

.ve-dialog__body h3 {
  font-size: 1rem;
  margin-block-start: 0.4rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  inset-block-end: 5rem;
  inset-inline-start: 1rem;
  z-index: 84;
  inline-size: min(360px, calc(100% - 2rem));
  background: #ffffff;
  border: 1px solid var(--ve-border);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-lg);
  font-size: 0.82rem;
  color: var(--ve-ink-secondary);
}

.cookie-banner[hidden] { display: none; }

.cookie-banner__title {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ve-ink);
  margin-block-end: 0.35rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-block-start: 0.8rem;
}

@media (forced-colors: active) {
  .choice-tile input:checked + .choice-tile__label,
  .zone-card.is-active,
  .diagram-tab[aria-pressed="true"],
  .profile-tab[aria-selected="true"] {
    border: 2px solid Highlight;
    outline: 2px solid Highlight;
  }

  .btn--primary,
  .btn--cta-urgent {
    border: 2px solid ButtonText;
  }

  .dept-path.is-selected {
    stroke: Highlight !important;
    stroke-width: 3px;
  }
}

@media (max-width: 640px) {
  .savings-highlights {
    grid-template-columns: 1fr;
  }
}
