/* ==========================================================================
   CoBuild — Landing page — Webinaire 21 juin 2026
   Tokens importés depuis le Design System CoBuild
   ========================================================================== */

/* -- TOKENS (depuis colors_and_type.css du design system) ---------------- */
:root {
  /* Brand */
  --cobuild-accent:    #66C0BD;
  --cobuild-dark-1:    #1A2D2C;
  --cobuild-dark-2:    #395251;
  --cobuild-muted:     #678D8B;
  --cobuild-ink:       #0d1615;
  --cobuild-cream:     #f4efe6;

  /* Backgrounds */
  --bg-body:           #ffffff;
  --bg-surface:        rgba(255, 255, 255, 0.70);
  --bg-nav:            rgba(255, 255, 255, 0.82);

  /* Semantic */
  --fg1:               #1A2D2C; /* Very dark slate */
  --fg2:               #395251; /* Dark slate-green */
  --fg3:               #678D8B; /* Muted gray-teal */
  --border-color:      rgba(26, 45, 44, 0.08);
  --shadow-color:      rgba(26, 45, 44, 0.06);

  /* Fonts */
  --font-display: 'Reross', 'Outfit', system-ui, sans-serif;
  --font-body:    'Gendy', 'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Type scale */
  --fs-12:  0.75rem;
  --fs-14:  0.875rem;
  --fs-16:  1rem;
  --fs-18:  1.125rem;
  --fs-20:  1.25rem;
  --fs-24:  1.5rem;
  --fs-32:  2rem;
  --fs-40:  2.5rem;
  --fs-56:  3.5rem;
  --fs-72:  4.5rem;

  /* Spacing */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  /* Radii */
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-pill: 100px;

  /* Shadows */
  --shadow-surface: 0 8px 32px rgba(26, 45, 44, 0.06);
  --shadow-pop:     0 16px 48px rgba(26, 45, 44, 0.10);
  --shadow-glow:    0 0 24px rgba(102, 192, 189, 0.15);
  --shadow-glow-hi: 0 0 36px rgba(102, 192, 189, 0.30);
  --glass-border:
    inset 0 1px 1px rgba(255, 255, 255, 0.60),
    inset 0 -1px 1px rgba(0, 0, 0, 0.02);

  /* Motion */
  --ease-out-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 150ms;
  --dur-base: 300ms;
  --dur-slow: 500ms;
}

/* -- ANIMATIONS & REVEALS ------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.reveal.reveal-active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* -- ORGANIC OVAL HIGHLIGHTS ---------------------------------------------- */
.oval-highlight {
  position: relative;
  display: inline-block;
  padding: 0.15em 0.5em;
  z-index: 1;
}
.oval-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: visible;
}
.oval-svg path {
  fill: none;
  stroke: var(--cobuild-accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-active .oval-svg path,
.active .oval-svg path {
  stroke-dashoffset: 0;
}

/* Stats: cercle parfait — dimensions inscrites dans le SVG lui-même */
.stat-circle {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto var(--s-3) auto;
  flex-shrink: 0;
}
.stat-circle svg {
  display: block;
}
.stat-circle circle {
  transition: stroke-dashoffset 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-active .stat-circle circle {
  stroke-dashoffset: 0;
}
.stat-circle > span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.8vw, 2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-body);
  color: var(--fg1);
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

/* Focus states accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--cobuild-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* -- AMBIENT ORBS --------------------------------------------------------- */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.ambient-bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: orb-float 20s infinite ease-in-out alternate;
}
.ambient-bg .orb-1 {
  width: 45vw; height: 45vw;
  background: var(--cobuild-accent);
  top: -10%; left: -10%;
  opacity: 0.10;
}
.ambient-bg .orb-2 {
  width: 35vw; height: 35vw;
  background: var(--cobuild-muted);
  bottom: -5%; right: -5%;
  opacity: 0.06;
  animation-delay: -10s;
}
.ambient-bg .orb-3 {
  width: 28vw; height: 28vw;
  background: var(--cobuild-accent);
  top: 40%; left: 50%;
  opacity: 0.04;
  animation-delay: -5s;
}
@keyframes orb-float {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(5%, 10%) scale(1.05); }
}

/* -- GLASS RECIPE (non-négociable) ---------------------------------------- */
.glass {
  background: var(--bg-surface);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow:
    0 8px 32px var(--shadow-color),
    inset 0 1px 1px rgba(255, 255, 255, 0.60),
    inset 0 -1px 1px rgba(0, 0, 0, 0.02);
}

/* -- LAYOUT --------------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s-6);
}
.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--s-6);
}

.chapter {
  padding: var(--s-9) 0;
  position: relative;
}

/* -- TYPE STYLES ---------------------------------------------------------- */
.h-display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, var(--fs-72));
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg1);
}
.h2, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.5vw, var(--fs-40));
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--fg1);
}
.h3, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-24);
  line-height: 1.25;
  color: var(--fg1);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cobuild-accent);
  margin-bottom: var(--s-5);
}
.eyebrow-sub {
  color: var(--fg3);
  margin-top: -8px;
  margin-bottom: var(--s-4);
}
.eyebrow-center { text-align: center; }
.eyebrow-hero {
  color: var(--fg2);
  text-align: left;
  margin-bottom: var(--s-4);
  width: 100%;
}

.lead {
  font-size: var(--fs-18);
  line-height: 1.65;
  color: var(--fg2);
}

.micro {
  font-size: var(--fs-12);
  color: var(--fg3);
  letter-spacing: 0.02em;
}

.section-title { margin-bottom: var(--s-7); }

/* Accent highlight pill behind keyword */
.highlight-accent {
  display: inline-block;
  background: var(--cobuild-accent);
  color: var(--cobuild-dark-1);
  padding: 0.04em 0.32em 0.08em;
  border-radius: var(--radius-sm);
  font-weight: 700;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.text-accent { color: var(--cobuild-accent); }

.nav-header-floating {
  --logo-text-color: #ffffff;
  --logo-sub-color: rgba(255, 255, 255, 0.6);
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  padding: 20px max(32px, calc((100% - 1300px) / 2 + 32px));
  background: transparent;
  border-bottom: 1px solid transparent;
  pointer-events: auto;
  transition: 
    top 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-header-floating.scrolled {
  --logo-text-color: var(--fg1);
  --logo-sub-color: var(--fg2);
  top: 28px;
  width: calc(100% - 64px);
  max-width: 1300px;
  padding: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  pointer-events: none;
}

.nav-header-floating.mobile-menu-open {
  --logo-text-color: #ffffff !important;
  --logo-sub-color: rgba(255, 255, 255, 0.6) !important;
}

.nav-header-floating .nav-logo,
.nav-header-floating .nav-menu-wrapper,
.nav-header-floating .nav-cta {
  pointer-events: auto;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  z-index: 110;
  height: 34px;
}

.nav-logo .logo-img {
  height: 34px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 0.4s var(--ease-out-soft), opacity 0.4s var(--ease-out-soft);
}

/* Scrolled state: light capsule background, show original logo colors (teal/slate) */
.nav-header-floating.scrolled .nav-logo .logo-img {
  filter: none;
}

/* Mobile menu open: dark drawer background, force white logo */
.nav-header-floating.mobile-menu-open .nav-logo .logo-img {
  filter: brightness(0) invert(1) !important;
}

.footer-logo-img {
  height: 30px;
  width: auto;
  opacity: 0.9;
  display: block;
  filter: brightness(0) invert(1);
}

.nav-logo-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.nav-logo-icon rect {
  transition: fill 0.4s var(--ease-out-soft);
}

.nav-logo-divider {
  width: 1px;
  height: 28px;
  background: rgba(26, 45, 44, 0.12);
  margin: 0 16px;
  transition: background 0.4s var(--ease-out-soft);
}

.nav-logo-info {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-logo-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--fg1);
  transition: color 0.4s var(--ease-out-soft);
}

.nav-logo-subtitle {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--fg3);
  transition: color 0.4s var(--ease-out-soft);
}

/* Top (non-scrolled) state adjustments for logo */
.nav-header-floating:not(.scrolled) .nav-logo-title {
  color: #ffffff;
}

.nav-header-floating:not(.scrolled) .nav-logo-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.nav-header-floating:not(.scrolled) .nav-logo-divider {
  background: rgba(255, 255, 255, 0.2);
}

.nav-header-floating:not(.scrolled) .nav-logo-icon rect:nth-child(1) { fill: var(--cobuild-accent); }
.nav-header-floating:not(.scrolled) .nav-logo-icon rect:nth-child(2) { fill: #ffffff; }
.nav-header-floating:not(.scrolled) .nav-logo-icon rect:nth-child(3) { fill: rgba(255, 255, 255, 0.4); }

/* Central capsule wrapper styled as the glass pill */
.nav-menu-wrapper {
  position: relative;
  background: var(--bg-nav);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 6px 8px;
  display: flex;
  align-items: center;
  box-shadow:
    0 8px 32px var(--shadow-color),
    inset 0 1px 1px rgba(255, 255, 255, 0.60),
    inset 0 -1px 1px rgba(0, 0, 0, 0.02);
  transition: 
    background 0.4s var(--ease-out-soft),
    border-color 0.4s var(--ease-out-soft),
    box-shadow 0.4s var(--ease-out-soft),
    backdrop-filter 0.4s var(--ease-out-soft),
    -webkit-backdrop-filter 0.4s var(--ease-out-soft);
}

/* Top (non-scrolled) state adjustments for wrapper */
.nav-header-floating:not(.scrolled) .nav-menu-wrapper {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: transparent;
  box-shadow: none;
}

.nav-hover-indicator {
  position: absolute;
  background: rgba(102, 192, 189, 0.12);
  border: 1px solid rgba(102, 192, 189, 0.3);
  border-radius: var(--radius-pill);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  box-shadow: 0 2px 8px rgba(102, 192, 189, 0.1);
  transition:
    left 0.28s cubic-bezier(0.25, 1, 0.5, 1),
    top 0.28s cubic-bezier(0.25, 1, 0.5, 1),
    width 0.28s cubic-bezier(0.25, 1, 0.5, 1),
    height 0.28s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.2s ease;
}

.nav-menu-wrapper.has-hover-slider .nav-hover-indicator {
  opacity: 1;
}

.nav-links {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--fg2);
  padding: 10px 48px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: color var(--dur-fast) var(--ease-out-soft);
}

.nav-links a:hover {
  color: var(--fg1);
}

/* Top (non-scrolled) state adjustments for links */
.nav-header-floating:not(.scrolled) .nav-links a {
  color: rgba(255, 255, 255, 0.75);
}

.nav-header-floating:not(.scrolled) .nav-links a:hover {
  color: #ffffff;
}

.nav-links a.active {
  color: var(--cobuild-dark-1);
  background: rgba(102, 192, 189, 0.12);
  border-color: rgba(102, 192, 189, 0.3);
  box-shadow: 0 2px 8px rgba(102, 192, 189, 0.1);
}

.nav-header-floating:not(.scrolled) .nav-links a.active {
  color: #ffffff;
}

.nav-menu-wrapper.has-hover-slider .nav-links a.active {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

/* Top (non-scrolled) state adjustments for hover indicator */
.nav-header-floating:not(.scrolled) .nav-hover-indicator {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* CTA: Premium gradient matching CoBuild brand and layout style */
.btn-nav-cta {
  background: linear-gradient(90deg, var(--cobuild-accent) 0%, #4da7a4 100%);
  color: var(--cobuild-dark-1) !important;
  font-family: var(--font-body);
  font-size: var(--fs-14);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(102, 192, 189, 0.3);
  border: 1px solid transparent;
  transition: all var(--dur-base) var(--ease-out-soft), border 0.4s var(--ease-out-soft);
  white-space: nowrap;
  text-align: center;
}

.btn-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(102, 192, 189, 0.45);
  filter: brightness(1.05);
}

.btn-nav-cta:active {
  transform: translateY(0);
}

/* Top (non-scrolled) state adjustments for CTA button */
.nav-header-floating:not(.scrolled) .btn-nav-cta {
  background: #ffffff;
  color: var(--cobuild-dark-1) !important;
  border: 1px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-header-floating:not(.scrolled) .btn-nav-cta:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.2);
}

.nav-cta { flex: 0 0 auto; }

/* Mobile hamburger elements hidden by default on desktop */
.nav-hamburger-btn {
  display: none;
}
.mobile-nav-overlay {
  display: none;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  font-family: var(--font-body);
  font-size: var(--fs-14);
  font-weight: 500;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--fg1);
  border: 1px solid transparent;
  transition: all var(--dur-base) var(--ease-out-soft);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--cobuild-accent);
  border-color: var(--cobuild-accent);
  box-shadow:
    0 4px 16px rgba(102, 192, 189, 0.35);
  color: var(--cobuild-dark-1);
  font-weight: 600;
}
.btn-primary:hover {
  background: #54b1ae;
  border-color: #54b1ae;
  transform: translateY(-1px) scale(1.01);
  box-shadow:
    0 6px 20px rgba(102, 192, 189, 0.50);
}
.btn-primary:active { transform: translateY(0) scale(0.99); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.20);
  color: #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-sm { padding: 8px 16px; font-size: var(--fs-12); }
.btn-lg { padding: 14px 28px; font-size: var(--fs-16); }
.btn-block { width: 100%; }

.icon { flex-shrink: 0; }

/* ==========================================================================
   BADGES
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-12);
  font-weight: 500;
  font-family: var(--font-body);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg1);
  white-space: nowrap;
}
.badge-accent {
  color: var(--cobuild-accent);
  border-color: rgba(102, 192, 189, 0.40);
  background: rgba(102, 192, 189, 0.12);
}
.badge-accent-light {
  color: var(--cobuild-dark-1);
  background: var(--cobuild-accent);
  border-color: var(--cobuild-accent);
  font-weight: 600;
}
.badge-check { color: var(--cobuild-accent); flex-shrink: 0; }
.badge-accent .badge-check { color: var(--cobuild-accent); }

/* ==========================================================================
   2. HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 220px var(--s-6) 0;
  overflow: visible;
}
.hero-centered {
  min-height: auto;
  padding-top: 120px;
}
.hero::before {
  /* Halo accent en arrière-plan */
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 60%;
  background: radial-gradient(ellipse at center,
    rgba(102, 192, 189, 0.10) 0%,
    transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* -- HERO CARD LAYOUT & FOUNDER PORTRAIT ---------------------------------- */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  align-items: end;
  text-align: left;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  background: linear-gradient(110deg, var(--cobuild-dark-2) 0%, var(--cobuild-dark-2) 45%, var(--cobuild-muted) 100%);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 32px 80px rgba(13, 22, 21, 0.4),
    0 4px 20px rgba(102, 192, 189, 0.05);
  overflow: visible;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 100%;
  width: 100%;
  text-align: left;
  padding: 56px 0 56px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Custom styles for elements inside the dark card */
.hero-inner .social-proof {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.90);
  margin-bottom: var(--s-4);
  margin-right: auto;
}

.hero-inner .eyebrow-hero {
  color: var(--cobuild-accent); /* #66C0BD */
}

.hero-inner .hero-title {
  color: #ffffff;
}

.hero-inner .hero-sub {
  color: var(--cobuild-cream); /* #f4efe6 - Luxury Brand Cream */
  opacity: 0.85;
}

.hero-inner .micro {
  color: var(--cobuild-muted); /* #678D8B */
}

/* Founder Portrait Image — overflows above the card */
.hero-image-container {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: end;
  height: 100%;
  width: 100%;
  overflow: visible;
  pointer-events: none;
}

.hero-founder-img {
  display: block;
  width: auto;
  height: 520px;
  max-width: none;
  object-fit: contain;
  object-position: bottom center;
  transform-origin: bottom center;
  transition: transform var(--dur-slow) var(--ease-out-soft);
  /* Image overflows above the card */
  margin-top: -120px;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.25));
  pointer-events: auto;
}

.hero-image-container:hover .hero-founder-img {
  transform: scale(1.03);
}

/* ==========================================================================
   HERO CENTERED — Single column variant (no founder image)
   ========================================================================== */
.hero-grid-centered {
  grid-template-columns: 1fr;
  text-align: center;
  align-items: center;
  max-width: 1240px;
  padding-bottom: 80px; /* leaves room for the countdown band overlap */
}
.hero-grid-centered .hero-inner {
  text-align: center;
  align-items: center;
  padding: 96px 64px 56px;
}
.hero-grid-centered .hero-inner .hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero-grid-centered .hero-inner .hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
}
.hero-grid-centered .hero-inner .social-proof {
  margin: 0 auto var(--s-4);
}
.hero-grid-centered .hero-inner .eyebrow-hero {
  text-align: center;
  width: auto;
  margin-bottom: var(--s-3);
}
.hero-grid-centered .hero-inner .hero-title {
  margin-bottom: var(--s-4);
}
.hero-grid-centered .hero-inner .hero-sub {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--s-6);
}

/* ==========================================================================
   HERO SPLIT — texte (gauche) + formulaire d'inscription (droite)
   ========================================================================== */
.hero-grid.hero-split {
  align-items: stretch;
  padding-bottom: 80px; /* place pour le chevauchement du countdown */
}
.hero-split .hero-inner {
  padding: 64px 24px 64px 60px;
  justify-content: center;
}

/* Stats sous le sous-titre (façon repères clés) */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-7);
  margin-top: var(--s-5);
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-32);
  line-height: 1;
  color: var(--cobuild-accent);
}
.hero-stat-num strong { font-weight: inherit; }
.hero-stat-label {
  font-size: var(--fs-14);
  color: rgba(255, 255, 255, 0.75);
}

/* Colonne droite : carte formulaire blanche */
.hero-form-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 48px 40px 12px;
}
.hero-form-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
  padding: var(--s-7);
}
.hero-form-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-24);
  color: var(--fg1);
  margin-bottom: var(--s-2);
}
.hero-form-sub {
  font-size: var(--fs-14);
  color: var(--fg2);
  line-height: 1.5;
  margin-bottom: var(--s-6);
}
.hero-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--s-4);
}
.hero-field label {
  font-size: var(--fs-12);
  font-weight: 600;
  color: var(--fg2);
}
.hero-field input {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: var(--fs-16);
  color: var(--fg1);
  background: #fff;
  border: 1px solid rgba(13, 22, 21, 0.14);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur-base) var(--ease-out-soft),
              box-shadow var(--dur-base) var(--ease-out-soft);
}
.hero-field input::placeholder { color: var(--fg3); }
.hero-field input:focus {
  outline: none;
  border-color: var(--cobuild-accent);
  box-shadow: 0 0 0 3px rgba(102, 192, 189, 0.18);
}
.hero-form-submit {
  width: 100%;
  justify-content: center;
  margin-top: var(--s-2);
}
.hero-form-note {
  margin-top: var(--s-3);
  text-align: center;
  font-size: var(--fs-12);
  color: var(--fg3);
}

/* État succès (envoi simulé — démo) */
.hero-form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-3);
  padding: var(--s-5) 0;
}
.hero-form-card.is-sent .hero-form { display: none; }
.hero-form-card.is-sent .hero-form-success { display: flex; }
.hero-form-success-icon { color: var(--cobuild-accent); }
.hero-form-success-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-24);
  color: var(--fg1);
}
.hero-form-success-text {
  font-size: var(--fs-14);
  color: var(--fg2);
  line-height: 1.5;
  max-width: 30ch;
}

/* -- Responsive : empilement sur tablette / mobile ----------------------- */
@media (max-width: 860px) {
  /* minmax(0,1fr) + min-width:0 : autorise les colonnes/éléments à rétrécir
     sous leur largeur min-content et évite tout débordement horizontal */
  .hero-grid.hero-split {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }
  .hero-split .hero-inner,
  .hero-form-col,
  .hero-form-card { min-width: 0; }
  .hero-split .hero-inner {
    padding: 72px 28px 8px;
    text-align: center;
    align-items: center;
  }
  .hero-split .hero-inner .social-proof { margin-inline: auto; }
  .hero-split .hero-inner .hero-sub { margin-inline: auto; }
  /* Les repères chiffrés ne s'affichent que sur desktop */
  .hero-stats { display: none; }
  .hero-form-col { padding: 8px 28px 40px; }
  .hero-form-card { max-width: 480px; margin: 0 auto; }
  /* Le libellé du bouton peut passer à la ligne sur petits écrans */
  .hero-form-submit { white-space: normal; }
}
@media (max-width: 480px) {
  .hero-split .hero-inner { padding: 64px 18px 4px; }
  .hero-form-col { padding: 4px 16px 32px; }
  .hero-form-card { padding: var(--s-6) var(--s-5); }
  .hero-stat-num { font-size: var(--fs-24); }
}

/* Minimal nav variant — logo left, single CTA right, transparent background */
.nav-header-floating.nav-minimal {
  justify-content: space-between;
  padding: 24px 18px;
}
.nav-minimal .nav-hamburger-btn,
.nav-minimal .nav-menu-wrapper,
.nav-minimal .mobile-nav-overlay {
  display: none;
}
.nav-minimal .nav-logo .logo-img {
  filter: none;
  height: 42px;
}
.nav-header-floating.nav-minimal:not(.scrolled) .btn-nav-cta {
  background: var(--cobuild-dark-2);
  color: #ffffff !important;
  border: 1px solid var(--cobuild-dark-2);
  box-shadow: 0 4px 12px rgba(57, 82, 81, 0.18);
  padding: 14px 32px;
  font-size: var(--fs-15);
}
.nav-header-floating.nav-minimal:not(.scrolled) .btn-nav-cta:hover {
  background: var(--cobuild-dark-1);
  border-color: var(--cobuild-dark-1);
  box-shadow: 0 6px 16px rgba(26, 45, 44, 0.25);
}

/* -- COMPTE À REBOURS ----------------------------------------------------- */
.countdown-band {
  position: relative;
  z-index: 30;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 var(--s-6);
  margin-top: -55px; /* Overlap the bottom border of the hero card */
  margin-bottom: 16px; /* Spacing before the next section */
}

.countdown-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding: 16px 20px 16px 36px;
  max-width: 700px;
  width: 100%;
  /* High opacity cream-white glassmorphic background */
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-pill);
  box-shadow:
    0 20px 48px rgba(13, 22, 21, 0.10),
    0 4px 12px rgba(0, 0, 0, 0.03),
    inset 0 1px 1px rgba(255, 255, 255, 0.8),
    inset 0 -1px 1px rgba(0, 0, 0, 0.01);
}

.countdown-units {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex: 1;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 65px;
}

.countdown-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.5vw, 2.35rem);
  color: var(--cobuild-dark-1); /* #1A2D2C */
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  min-width: 2ch;
  text-align: center;
  transition: color var(--dur-fast) var(--ease-out-soft);
}

.countdown-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg3);
}

.countdown-sep {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--cobuild-accent);
  line-height: 1;
  margin-bottom: 16px; /* Offset the label height to align vertically with numbers */
  flex-shrink: 0;
  opacity: 0.7;
}

.countdown-cta {
  flex-shrink: 0;
  background: var(--cobuild-accent);
  color: var(--cobuild-dark-1) !important;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(102, 192, 189, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-14);
  transition: all var(--dur-base) var(--ease-out-soft);
}

.countdown-cta:hover {
  background: #54b1ae;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(102, 192, 189, 0.40);
}

.countdown-cta:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .countdown-band {
    padding: 0 var(--s-4);
    margin-top: -30px; /* Adjust overlap on mobile viewports */
    margin-bottom: 40px;
  }
  .dream-build-section {
    padding: var(--s-7) 0 var(--s-8);
  }
  .countdown-card {
    flex-direction: column;
    gap: 20px;
    padding: 24px 24px;
    max-width: 480px;
    border-radius: 24px;
  }
  .countdown-units {
    justify-content: center;
    gap: var(--s-2);
    width: 100%;
  }
  .countdown-unit {
    min-width: 55px;
  }
  .countdown-num {
    font-size: 1.75rem;
  }
  .countdown-sep {
    font-size: 1.4rem;
    margin-bottom: 14px;
  }
  .countdown-cta {
    width: 100%;
    justify-content: center;
  }
}

/* -- STATS BAR SECTION --------------------------------------------------- */
.stats-bar {
  background: var(--cobuild-dark-1);
  padding: var(--s-7) 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.stats-bar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(102, 192, 189, 0.04) 0%, transparent 70%);
  pointer-events: none;
}
.stats-bar-title {
  text-align: center;
  font-family: var(--font-display);
  color: #ffffff;
  font-size: clamp(1.1rem, 2vw, 1.75rem);
  margin-bottom: var(--s-6);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.stats-item {
  text-align: center;
  padding: var(--s-8) var(--s-5);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--dur-base) var(--ease-out-soft),
              border-color var(--dur-base) var(--ease-out-soft);
}
.stats-item:hover {
  transform: translateY(-2px);
  border-color: rgba(102, 192, 189, 0.20);
  background: rgba(255, 255, 255, 0.04);
}
.stats-num {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.8vw, 2rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: var(--s-3);
  line-height: 1.1;
  display: block;
}
.stats-desc {
  font-family: var(--font-body);
  font-size: var(--fs-13);
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.4;
  max-width: 240px;
  margin: 0 auto;
}

.social-proof {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--fg1);
  margin-bottom: var(--s-7);
}
.social-proof .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cobuild-accent);
  box-shadow: 0 0 12px var(--cobuild-accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(1.2); }
}

.hero-title {
  margin-bottom: var(--s-4);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.2;
}

.hero-sub {
  font-size: var(--fs-15, 0.9375rem);
  line-height: 1.65;
  color: var(--fg2);
  max-width: 560px;
  margin: 0 0 var(--s-5);
}

.hero-cta {
  margin-bottom: var(--s-3);
  font-size: var(--fs-16);
  padding: 14px 28px;
}

/* ==========================================================================
   CHAPITRES — shared
   ========================================================================== */
.chapter::before {
  /* Subtle dotted-line separator like a "filmstrip" feel */
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: var(--s-6);
  right: var(--s-6);
  height: 1px;
  border-top: 1px dashed rgba(57, 82, 81, 0.15);
}
.hero + .chapter::before,
.chapter-1::before { display: none; } /* No line between hero and chapter 1 */

/* ==========================================================================
   3. CHAPITRE 1 — Le réveil (Redessiné en 3 colonnes)
   ========================================================================== */
.dream-build-section {
  padding: var(--s-7) 0 var(--s-9);
  position: relative;
  background: var(--bg-body);
  overflow: hidden; /* Prévient tout scrollbar horizontal lié au débordement des images */
}

.dream-build-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--s-6);
  min-height: 520px; /* Assure une hauteur minimale pour le positionnement absolu des images */
  position: relative;
}

.dream-build-image-wrapper {
  position: absolute;
  width: 25vw;
  max-width: 380px;
  min-width: 240px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  box-shadow: 
    0 24px 56px rgba(13, 22, 21, 0.08),
    0 4px 16px rgba(13, 22, 21, 0.03);
}

.left-img-wrapper {
  left: -5vw; /* Déborde de 20% de sa largeur en dehors de l'écran gauche */
  top: 50%;
  transform: translateY(-70%); /* Décalé vers le haut (effet asymétrique marqué) */
  border-radius: 120px;
}

.right-img-wrapper {
  right: -5vw; /* Déborde de 20% de sa largeur en dehors de l'écran droit */
  top: 50%;
  transform: translateY(-30%); /* Décalé vers le bas (effet asymétrique marqué) */
  border-radius: 120px;
}

.dream-build-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out-soft);
}

.dream-build-image-wrapper:hover .dream-build-img {
  transform: scale(1.05);
}

.dream-build-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--s-3);
  max-width: 540px;
  z-index: 2;
}

.dream-build-icon-wrapper {
  margin-bottom: var(--s-5);
  color: var(--cobuild-dark-1);
}

.dream-build-sparkle {
  display: block;
  animation: float-slow 4s ease-in-out infinite alternate;
}

@keyframes float-slow {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-4px) rotate(5deg); }
}

.dream-build-title {
  font-family: var(--font-body); /* Utilise la police Gendy de CoBuild */
  font-weight: 500;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  color: var(--cobuild-dark-1);
  line-height: 1.25;
  margin-bottom: var(--s-5);
}

.serif-italic {
  font-style: italic;
  font-family: inherit; /* Utilise la police parente Gendy, sans Playfair Display */
  font-weight: inherit;
}

.dream-build-desc {
  font-family: var(--font-body); /* Utilise la police de CoBuild */
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.7;
  color: var(--fg2);
  margin-bottom: var(--s-6);
  max-width: 480px;
}

.btn-dream-build {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cobuild-accent);
  color: var(--cobuild-dark-1) !important;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-14);
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(102, 192, 189, 0.35);
  border: 1px solid var(--cobuild-accent);
  transition: all var(--dur-base) var(--ease-out-soft);
  cursor: pointer;
  text-decoration: none;
}

.btn-dream-build:hover {
  background: #54b1ae;
  border-color: #54b1ae;
  box-shadow: 0 6px 20px rgba(102, 192, 189, 0.50);
  transform: translateY(-2px);
}

.btn-dream-build:active {
  transform: translateY(0);
}

/* Responsivité de la section */
@media (max-width: 1024px) {
  .dream-build-container {
    flex-direction: column;
    min-height: auto;
    padding: 0 var(--s-6);
  }
  .dream-build-content {
    max-width: 600px;
    margin: 0 auto var(--s-7) auto;
  }
  .dream-build-image-wrapper {
    position: static;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4 / 3;
    transform: none !important;
    margin: 0 auto var(--s-6) auto;
  }
  .left-img-wrapper {
    border-radius: 80px;
  }
  .right-img-wrapper {
    border-radius: 80px;
    margin-bottom: 0;
  }
}

@media (max-width: 576px) {
  .left-img-wrapper {
    border-radius: 60px;
  }
  .right-img-wrapper {
    border-radius: 60px;
  }
}

/* ==========================================================================
   4. CHAPITRE 2 — Les 3 risques
   ========================================================================== */
.chapter-2 {
  background-color: #395251;
}
.chapter-2 .section-title {
  color: #ffffff;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Centered chapters — applies to titles, eyebrows and section-lead.
   Excludes: chapter-founder, chapter-transition, chapter-cta */
.chapter-2 .eyebrow,
.chapter-3 .eyebrow,
.chapter-4 .eyebrow,
.chapter-5 .eyebrow,
.chapter-faq .eyebrow {
  text-align: center;
}
.chapter-3 .section-title,
.chapter-4 .section-title,
.chapter-5 .opp-title,
.chapter-faq .section-title {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.chapter-4 .majorelle-intro {
  text-align: center;
}
.chapter-4 .majorelle-intro .lead {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.risk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-bottom: var(--s-7);
}
.risk-card {
  padding: var(--s-7) var(--s-6);
  text-align: center;
  transition: transform var(--dur-base) var(--ease-out-soft),
              border-color var(--dur-base) var(--ease-out-soft),
              box-shadow var(--dur-base) var(--ease-out-soft);
  position: relative;
  overflow: hidden;
}
.risk-card::before {
  /* Mouse-tracking halo */
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(102, 192, 189, 0.10),
    transparent 50%
  );
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out-soft);
  pointer-events: none;
  border-radius: inherit;
}
.risk-card:hover {
  transform: translateY(-4px);
  border-color: rgba(102, 192, 189, 0.30);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.40),
    0 0 24px rgba(102, 192, 189, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.18),
    inset 0 -1px 1px rgba(255, 255, 255, 0.02);
}
.risk-card:hover::before { opacity: 1; }

.risk-icon {
  color: var(--cobuild-accent);
  margin: 0 auto var(--s-4);
  position: relative;
  z-index: 1;
}
.risk-title {
  margin-bottom: var(--s-3);
  position: relative;
  z-index: 1;
}
.risk-body {
  color: var(--fg2);
  font-size: var(--fs-14);
  position: relative;
  z-index: 1;
}

/* Stat marquante (carte Retraite) */
.risk-stat {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1;
  color: var(--cobuild-accent);
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-2);
  position: relative;
  z-index: 1;
}

/* Lead phrase sous le section-title (chapter-2) */
.chapter-2 .section-lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--fs-16);
  line-height: 1.55;
  max-width: 720px;
  margin: calc(var(--s-5) * -1) auto var(--s-7);
  text-align: center;
}

/* Transition section (entre risques et "Pourquoi l'immobilier") */
.chapter-transition {
  padding: var(--s-8) var(--s-5) var(--s-7);
  position: relative;
  background: #f5f5f3; /* fond légèrement grisé pour faire ressortir la carte */
}
.chapter-transition .container-narrow {
  max-width: 1100px;
  margin: 0 auto;
  /* Aligné sur le style .glass de la carte fondateur */
  background: var(--bg-surface);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow:
    0 8px 32px var(--shadow-color),
    inset 0 1px 1px rgba(255, 255, 255, 0.60),
    inset 0 -1px 1px rgba(0, 0, 0, 0.02);
  padding: clamp(36px, 5vw, 64px) clamp(28px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  text-align: left;
}
.transition-text {
  text-align: left;
}
.transition-title {
  color: var(--cobuild-dark-1);
  margin-bottom: var(--s-4);
  text-align: left;
}
.transition-lead {
  color: var(--fg2);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  margin: 0 0 var(--s-3);
  max-width: none;
}
.transition-emphasis {
  color: var(--cobuild-dark-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  margin: 0;
  max-width: none;
}
.transition-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Cadre décoratif aligné sur .founder-photo */
  aspect-ratio: 1;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  background:
    linear-gradient(135deg,
      rgba(102, 192, 189, 0.12),
      rgba(57, 82, 81, 0.15)),
    repeating-linear-gradient(
      45deg,
      rgba(57, 82, 81, 0.02) 0,
      rgba(57, 82, 81, 0.02) 10px,
      rgba(57, 82, 81, 0.04) 10px,
      rgba(57, 82, 81, 0.04) 20px
    );
  border: 1px solid rgba(57, 82, 81, 0.15);
  border-radius: var(--radius-md);
  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, 0.80),
    0 12px 32px var(--shadow-color);
  padding: var(--s-4);
}
.transition-illustration img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .chapter-transition .container-narrow {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .transition-illustration {
    order: 1; /* illustration en dessous du texte sur mobile */
    margin: var(--s-5) auto 0;
    max-width: 260px;
  }
}

.center-row {
  display: flex;
  justify-content: center;
  margin-top: var(--s-6);
  padding: 0 var(--s-4);
}

.center-row .btn {
  max-width: 100%;
}

@media (max-width: 640px) {
  .center-row .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    padding: 12px 20px;
    font-size: var(--fs-14);
    width: 100%;
  }
  .center-row .btn .icon {
    display: none;
  }
}

/* ==========================================================================
   5. CHAPITRE 3 — La solution
   ========================================================================== */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  margin-top: var(--s-5);
}
.solution-card {
  padding: var(--s-7);
  transition: transform var(--dur-base) var(--ease-out-soft),
              border-color var(--dur-base) var(--ease-out-soft);
  position: relative;
  overflow: hidden;
}
.solution-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(102, 192, 189, 0.10),
    transparent 50%
  );
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out-soft);
  pointer-events: none;
  border-radius: inherit;
}
.solution-card:hover {
  transform: translateY(-4px);
  border-color: rgba(102, 192, 189, 0.30);
}
.solution-card:hover::before { opacity: 1; }

.solution-card h3 { margin-bottom: var(--s-4); position: relative; z-index: 1; }
.solution-body {
  color: var(--fg2);
  line-height: 1.65;
  margin-bottom: var(--s-3);
  position: relative;
  z-index: 1;
}

.has-accent-line {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}
.has-accent-line::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--cobuild-accent);
  border-radius: 2px;
}

.solution-meta {
  display: flex;
  gap: var(--s-6);
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px dashed rgba(57, 82, 81, 0.15);
  position: relative;
  z-index: 1;
}
.meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.metric-big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-32);
  color: var(--cobuild-accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.metric-label {
  font-size: var(--fs-12);
  color: var(--fg3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  position: relative;
  z-index: 1;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--fg2);
  line-height: 1.5;
  font-size: var(--fs-15);
}
.check-list .check-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--cobuild-accent);
}

.solution-card-accent .check-icon { color: var(--cobuild-accent); }

/* -- Bloc traction "Déjà réalisé" (fond vert) ---------------------------- */
.traction-band {
  margin-top: var(--s-8);
  padding: var(--s-8) var(--s-7);
  background: var(--cobuild-dark-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
}
.traction-eyebrow {
  text-align: center;
  color: var(--cobuild-accent) !important;
  margin-bottom: var(--s-6);
}
.traction-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s-4);
}
.traction-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-3);
  padding: var(--s-6) var(--s-4);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--fs-14);
  line-height: 1.5;
  transition: transform var(--dur-base) var(--ease-out-soft),
              border-color var(--dur-base) var(--ease-out-soft),
              background var(--dur-base) var(--ease-out-soft);
}
.traction-card:hover {
  transform: translateY(-3px);
  border-color: rgba(102, 192, 189, 0.35);
  background: rgba(255, 255, 255, 0.07);
}
.traction-check {
  color: var(--cobuild-accent);
  flex-shrink: 0;
}
/* Deuxième rangée : 2 cartes centrées (col 2-3 et 4-5 sur la grille de 6) */
.traction-card:nth-child(4) { grid-column: 2 / span 2; }
.traction-card:nth-child(5) { grid-column: 4 / span 2; }

@media (max-width: 900px) {
  .traction-grid { grid-template-columns: repeat(2, 1fr); }
  .traction-card,
  .traction-card:nth-child(4),
  .traction-card:nth-child(5) { grid-column: span 1; }
  .traction-card:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .traction-grid { grid-template-columns: 1fr; }
  .traction-card:nth-child(5) { grid-column: 1; }
}

/* ==========================================================================
   5bis. SECTION — Ce qui a déjà été réalisé (par pôle)
   ========================================================================== */
.realisation-section {
  text-align: center;
}
.realisation-title {
  margin: var(--s-3) auto var(--s-8) auto;
}
.realisation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  text-align: left;
  align-items: stretch;
}
.realisation-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  padding: var(--s-7) var(--s-6);
  border-radius: var(--radius-lg);
  transition: transform var(--dur-base) var(--ease-out-soft),
              box-shadow var(--dur-base) var(--ease-out-soft);
}
.realisation-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-pop);
}
.realisation-card-head {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--border-color);
}
.realisation-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cobuild-dark-2);
  background: rgba(102, 192, 189, 0.14);
  padding: var(--s-1) var(--s-3);
  border-radius: var(--radius-pill);
}
.realisation-card-title {
  font-family: var(--font-display);
  font-size: var(--fs-24);
  line-height: 1.15;
  color: var(--fg1);
  margin: 0;
}
.realisation-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.realisation-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-size: var(--fs-16);
  line-height: 1.45;
  color: var(--fg2);
}
.realisation-check {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--cobuild-accent);
}

/* Carte communauté — accent vert plein */
.realisation-card-accent {
  background: var(--cobuild-dark-2);
  border-color: rgba(255, 255, 255, 0.10);
}
.realisation-card-accent .realisation-card-head {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}
.realisation-card-accent .realisation-tag {
  color: var(--cobuild-dark-1);
  background: var(--cobuild-accent);
}
.realisation-card-accent .realisation-card-title { color: #fff; }
.realisation-card-accent .realisation-list li { color: rgba(255, 255, 255, 0.88); }
.realisation-stat {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.realisation-stat-num {
  font-family: var(--font-display);
  font-size: var(--fs-72);
  line-height: 0.9;
  color: var(--cobuild-accent);
}
.realisation-stat-num strong { font-weight: inherit; }
.realisation-stat-label {
  font-size: var(--fs-16);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
  max-width: 24ch;
}

@media (max-width: 900px) {
  .realisation-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
}
@media (max-width: 520px) {
  .realisation-card { padding: var(--s-6) var(--s-5); }
  .realisation-stat-num { font-size: var(--fs-56); }
}

/* ==========================================================================
   6. CHAPITRE 4 — Majorelle
   ========================================================================== */
.majorelle-hero {
  margin-bottom: var(--s-7);
}
.majorelle-img-placeholder {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg,
      rgba(102, 192, 189, 0.05) 0%,
      rgba(57, 82, 81, 0.10) 100%),
    repeating-linear-gradient(
      45deg,
      rgba(57, 82, 81, 0.02) 0,
      rgba(57, 82, 81, 0.02) 12px,
      rgba(57, 82, 81, 0.04) 12px,
      rgba(57, 82, 81, 0.04) 24px
    );
  border: 1px solid rgba(57, 82, 81, 0.12);
  box-shadow:
    0 16px 40px var(--shadow-color),
    inset 0 1px 1px rgba(255, 255, 255, 0.80);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  color: var(--fg2);
  font-style: italic;
  font-size: var(--fs-14);
}

.majorelle-intro { margin-bottom: var(--s-6); }
.majorelle-intro h2 { margin-bottom: var(--s-3); }

.majorelle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  margin-bottom: var(--s-6);
}
.mini-img-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg,
      rgba(102, 192, 189, 0.05),
      rgba(57, 82, 81, 0.08)),
    repeating-linear-gradient(
      45deg,
      rgba(57, 82, 81, 0.01) 0,
      rgba(57, 82, 81, 0.01) 8px,
      rgba(57, 82, 81, 0.03) 8px,
      rgba(57, 82, 81, 0.03) 16px
    );
  border: 1px solid rgba(57, 82, 81, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--dur-base) var(--ease-out-soft),
              transform var(--dur-base) var(--ease-out-soft);
}
.mini-img:hover .mini-img-placeholder {
  border-color: rgba(102, 192, 189, 0.30);
  transform: translateY(-4px);
}
.mini-img-label {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(57, 82, 81, 0.15);
  color: var(--fg1);
  font-size: var(--fs-12);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.mini-img {
  position: relative;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(57, 82, 81, 0.10);
  /* Fond de repli affiché si la photo n'est pas (encore) disponible */
  background:
    linear-gradient(135deg,
      rgba(102, 192, 189, 0.08),
      rgba(57, 82, 81, 0.12)),
    repeating-linear-gradient(
      45deg,
      rgba(57, 82, 81, 0.02) 0,
      rgba(57, 82, 81, 0.02) 8px,
      rgba(57, 82, 81, 0.04) 8px,
      rgba(57, 82, 81, 0.04) 16px
    );
  transition: border-color var(--dur-base) var(--ease-out-soft),
              transform var(--dur-base) var(--ease-out-soft),
              box-shadow var(--dur-base) var(--ease-out-soft);
}
.mini-img:hover {
  border-color: rgba(102, 192, 189, 0.30);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(13, 22, 21, 0.12);
}
.mini-img-photo {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  /* Masque l'icône d'image cassée et le texte alt tant que la photo n'existe pas */
  color: transparent;
  font-size: 0;
  transition: transform var(--dur-slow) var(--ease-out-soft);
}
.mini-img:hover .mini-img-photo {
  transform: scale(1.04);
}
.mini-img-caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(57, 82, 81, 0.15);
  color: var(--fg1);
  font-size: var(--fs-12);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}
/* Mobile : badges empilés et centrés, "Gestion locative" placé en dessous */
@media (max-width: 576px) {
  .status-row {
    flex-direction: column-reverse; /* Exploitation au-dessus, Gestion locative en dessous */
    align-items: center;
  }
  /* Les deux badges partagent la même taille de texte, dimensionnée en vw
     pour que "Exploitation…" tienne sur une seule ligne sans déborder. */
  .status-row .badge {
    justify-content: center;
    text-align: center;
    max-width: 100%;
    white-space: nowrap;
    font-size: clamp(7.5px, 2.7vw, 11px);
    padding: 6px 12px;
  }
}

/* ==========================================================================
   7. CHAPITRE 5 — L'opportunité (centré)
   ========================================================================== */
.chapter-5 {
  padding: var(--s-9) 0;
  text-align: center;
}
.opp-title {
  margin-bottom: var(--s-5);
  font-size: clamp(2rem, 5vw, var(--fs-56));
}
.opp-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-2) var(--s-5);
  margin-bottom: var(--s-7);
}
.opp-list li {
  position: relative;
  color: var(--fg2);
  font-size: var(--fs-14);
  padding-left: var(--s-4);
}
.opp-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cobuild-accent);
}

/* Programme du webinaire — intro centrée */
.opp-intro {
  text-align: center;
  color: var(--fg2);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  max-width: 720px;
  margin: 0 auto var(--s-7);
}

/* ==========================================================================
   PROGRAM TIMELINE — vanilla port of the Aceternity timeline component
   ========================================================================== */
.program-timeline {
  position: relative;
  max-width: 920px;
  margin: 0 auto var(--s-7);
  padding: var(--s-5) 0 var(--s-6);
}

/* Ligne verticale (au centre sur desktop, à gauche sur mobile) */
.pt-track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  overflow: hidden;
  background:
    linear-gradient(
      to bottom,
      transparent 0%,
      rgba(13, 22, 21, 0.50) 8%,
      rgba(13, 22, 21, 0.50) 92%,
      transparent 100%
    );
  pointer-events: none;
  z-index: 0;
}
.pt-progress {
  position: absolute;
  inset-inline: 0;
  top: 0;
  width: 3px;
  height: 0; /* JS-controlled */
  background: #66C0BD;
  border-radius: 999px;
  transition: height 80ms linear;
  will-change: height;
}

/* Conteneur d'un item : position relative pour ancrer le dot sur la ligne */
.pt-item {
  position: relative;
  width: 100%;
  display: flex;
  margin-bottom: var(--s-6);
  z-index: 1;
}
.pt-item:last-child {
  margin-bottom: 0;
}

/* Alternance gauche / droite (desktop) */
.pt-item-left {
  justify-content: flex-start;
}
.pt-item-left .pt-card {
  margin-right: calc(50% + 34px); /* laisse la ligne + un peu d'air */
  text-align: right;
}
.pt-item-right {
  justify-content: flex-end;
}
.pt-item-right .pt-card {
  margin-left: calc(50% + 34px);
  text-align: left;
}
.pt-item-center {
  justify-content: center;
}
.pt-item-center .pt-card {
  text-align: center;
  align-items: center;
}

/* Pastille (dot) centrée sur la ligne */
.pt-dot {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  /* État initial : vide / grisé */
  background: #ffffff;
  border: 2px solid rgba(13, 22, 21, 0.18);
  box-shadow: 0 0 0 4px rgba(13, 22, 21, 0.04);
  z-index: 2;
  transition:
    border-color var(--dur-base) var(--ease-out-soft),
    box-shadow var(--dur-base) var(--ease-out-soft),
    background var(--dur-base) var(--ease-out-soft);
}
/* État rempli : la ligne de progression a dépassé la pastille */
.pt-dot.is-filled {
  background: var(--cobuild-accent);
  border-color: var(--cobuild-accent);
  box-shadow: 0 0 0 4px rgba(102, 192, 189, 0.18);
}
.pt-dot-live.is-filled {
  background: var(--cobuild-accent);
  box-shadow: 0 0 0 6px rgba(102, 192, 189, 0.18);
  animation: pt-pulse-dot 2s ease-in-out infinite;
}
@keyframes pt-pulse-dot {
  0%, 100% { box-shadow: 0 0 0 6px rgba(102, 192, 189, 0.18); }
  50%       { box-shadow: 0 0 0 12px rgba(102, 192, 189, 0.05); }
}

/* Carte d'un item */
.pt-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(13, 22, 21, 0.06);
  border-radius: 14px;
  padding: 18px 22px;
  max-width: 380px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow:
    0 1px 2px rgba(13, 22, 21, 0.04),
    0 8px 20px rgba(13, 22, 21, 0.05);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s var(--ease-out-soft),
    transform 0.6s var(--ease-out-soft),
    border-color var(--dur-base) var(--ease-out-soft),
    box-shadow var(--dur-base) var(--ease-out-soft);
}
.pt-item.is-visible .pt-card {
  opacity: 1;
  transform: translateY(0);
}
.pt-card:hover {
  border-color: rgba(102, 192, 189, 0.30);
  box-shadow:
    0 1px 2px rgba(13, 22, 21, 0.04),
    0 14px 30px rgba(13, 22, 21, 0.08);
}
.pt-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 2.6vw, 2.4rem);
  color: var(--cobuild-accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.pt-text {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.35;
  color: var(--cobuild-dark-1);
}
.pt-sub {
  margin: 4px 0 0;
  font-size: var(--fs-14);
  line-height: 1.55;
  color: var(--fg2);
}
.pt-badge {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(102, 192, 189, 0.16);
  color: var(--cobuild-dark-2);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pt-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.22);
  animation: pt-pulse-badge 1.8s ease-in-out infinite;
}
@keyframes pt-pulse-badge {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
.pt-item-live .pt-card {
  background: linear-gradient(135deg, rgba(102, 192, 189, 0.12), rgba(255, 255, 255, 1));
  border-color: rgba(102, 192, 189, 0.30);
}

/* Mobile : tous les items à droite de la ligne, ligne à gauche
   Ligne et pastilles parfaitement alignées sur l'axe x = 24px */
@media (max-width: 768px) {
  .program-timeline {
    padding-left: 0;
  }
  .pt-track {
    left: 24px;
    transform: translateX(-50%);
  }
  .pt-item,
  .pt-item-left,
  .pt-item-right,
  .pt-item-center {
    justify-content: flex-start;
  }
  .pt-item-left .pt-card,
  .pt-item-right .pt-card,
  .pt-item-center .pt-card {
    margin: 0 0 0 60px;
    text-align: left;
    max-width: 100%;
  }
  .pt-item-center .pt-card {
    align-items: flex-start;
  }
  .pt-dot {
    left: 24px;
    transform: translateX(-50%);
  }
  .pt-badge {
    align-self: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pt-card {
    opacity: 1;
    transform: none;
  }
  .pt-progress {
    transition: none;
  }
  .pt-dot-live {
    animation: none;
  }
  .pt-badge::before {
    animation: none;
  }
}

/* ==========================================================================
   8. FONDATEUR
   ========================================================================== */
.founder-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--s-7);
  padding: var(--s-7);
  align-items: center;
}
.founder-photo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  background:
    linear-gradient(135deg,
      rgba(102, 192, 189, 0.10),
      rgba(57, 82, 81, 0.15)),
    repeating-linear-gradient(
      45deg,
      rgba(57, 82, 81, 0.02) 0,
      rgba(57, 82, 81, 0.02) 10px,
      rgba(57, 82, 81, 0.04) 10px,
      rgba(57, 82, 81, 0.04) 20px
    );
  border: 1px solid rgba(57, 82, 81, 0.15);
  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, 0.80),
    0 12px 32px var(--shadow-color);
  flex-shrink: 0;
}
.founder-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg3);
}
.founder-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.founder-body h3 { margin-bottom: var(--s-2); font-size: var(--fs-32); }
.founder-role {
  color: var(--cobuild-accent);
  font-size: var(--fs-12);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: var(--s-4);
}
.founder-bio {
  color: var(--fg2);
  line-height: 1.65;
  margin-bottom: var(--s-5);
}
.founder-quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--fg1);
  padding-left: var(--s-4);
  border-left: 3px solid var(--cobuild-accent);
}

/* ==========================================================================
   9. FAQ
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
}
.faq-item {
  padding: 0;
  overflow: hidden;
  position: relative;
  transition:
    border-color 0.45s var(--ease-out-soft),
    box-shadow 0.45s var(--ease-out-soft);
}
.faq-item:hover {
  border-color: rgba(102, 192, 189, 0.55);
  box-shadow:
    0 0 0 1px rgba(102, 192, 189, 0.35),
    0 0 14px rgba(102, 192, 189, 0.25),
    0 0 38px rgba(102, 192, 189, 0.18);
}
.faq-item-wide { grid-column: 1 / -1; }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-5) var(--s-6);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-18);
  color: var(--fg1);
  transition: text-shadow 0.45s var(--ease-out-soft);
}
.faq-item:hover .faq-q {
  text-shadow: 0 0 18px rgba(102, 192, 189, 0.45);
}
.faq-chevron {
  color: var(--cobuild-accent);
  flex-shrink: 0;
  transition:
    transform var(--dur-base) var(--ease-out-soft),
    filter 0.45s var(--ease-out-soft);
}
.faq-item:hover .faq-chevron {
  filter: drop-shadow(0 0 6px rgba(102, 192, 189, 0.65));
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-item[open] {
  border-color: rgba(102, 192, 189, 0.35);
  box-shadow:
    0 0 0 1px rgba(102, 192, 189, 0.25),
    0 0 22px rgba(102, 192, 189, 0.14);
}
.faq-a {
  padding: 0 var(--s-6) var(--s-5);
  color: var(--fg2);
  line-height: 1.65;
  font-size: var(--fs-14);
}

/* ==========================================================================
   10. CTA FINAL + FORM
   ========================================================================== */
.chapter-cta {
  padding: var(--s-9) 0 calc(var(--s-9) + var(--s-7));
}
.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-9);
  align-items: start;
}

/* LEFT */
.cta-left .eyebrow { margin-bottom: var(--s-4); }
.cta-left .h-display { margin-bottom: var(--s-4); }
.cta-left .lead { margin-bottom: var(--s-5); }

.cta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
}

.counter-card {
  display: flex;
  align-items: baseline;
  gap: var(--s-4);
  padding: var(--s-5) var(--s-6);
  margin-bottom: var(--s-3);
  /* Flash animation when triggered */
  transition: box-shadow var(--dur-slow) var(--ease-out-soft);
}
.counter-card.flash {
  box-shadow:
    0 8px 32px var(--shadow-color),
    inset 0 1px 1px rgba(255, 255, 255, 0.80),
    0 0 0 2px var(--cobuild-accent),
    0 0 32px rgba(102, 192, 189, 0.25);
}
.counter-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: var(--cobuild-accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.counter-label {
  font-size: var(--fs-14);
  color: var(--fg2);
}

.micro-left { color: var(--fg3); }

/* RIGHT — form */
.form-card {
  padding: var(--s-7);
  transition: box-shadow var(--dur-base) var(--ease-out-soft);
}
.form-card.flash {
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.30),
    inset 0 1px 1px rgba(255, 255, 255, 0.15),
    0 0 0 2px var(--cobuild-accent),
    0 0 48px rgba(102, 192, 189, 0.50);
}
.form-card h3 { margin-bottom: var(--s-5); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-full { grid-column: 1 / -1; }

.phone-group {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px;
}
.phone-prefix-wrapper {
  position: relative;
}
.phone-prefix-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-align: left;
  padding: 12px 12px;
  font-family: var(--font-body);
  font-size: var(--fs-14);
}
.phone-flag {
  width: 22px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}
.phone-prefix-code {
  font-weight: 500;
  color: var(--fg1);
}
.phone-prefix-chevron {
  margin-left: auto;
  color: var(--fg2);
  transition: transform var(--dur-base) var(--ease-out-soft);
}
.phone-prefix-wrapper.open .phone-prefix-chevron {
  transform: rotate(180deg);
}
.phone-prefix-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border: 1px solid rgba(57, 82, 81, 0.18);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(13, 22, 21, 0.18);
  z-index: 50;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.phone-prefix-panel[hidden] {
  display: none;
}
.phone-prefix-search-wrap {
  position: relative;
  padding: 10px;
  border-bottom: 1px solid rgba(57, 82, 81, 0.10);
}
.phone-prefix-search-icon {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--fg2);
  pointer-events: none;
}
.phone-prefix-search {
  width: 100%;
  padding: 8px 10px 8px 32px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(57, 82, 81, 0.18);
  background: rgba(255, 255, 255, 0.85);
  font-family: var(--font-body);
  font-size: var(--fs-14);
  color: var(--fg1);
  outline: none;
}
.phone-prefix-search:focus {
  border-color: var(--cobuild-accent);
  box-shadow: 0 0 0 3px rgba(102, 192, 189, 0.18);
}
.phone-prefix-list {
  max-height: 280px;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 6px;
}
.phone-prefix-empty {
  margin: 0;
  padding: 16px;
  text-align: center;
  font-size: var(--fs-14);
  color: var(--fg2);
}
.phone-prefix-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: var(--fs-14);
  transition: background var(--dur-fast) var(--ease-out-soft);
}
.phone-prefix-list li:hover,
.phone-prefix-list li.focused {
  background: rgba(102, 192, 189, 0.10);
}
.phone-prefix-list li[aria-selected="true"] {
  background: rgba(102, 192, 189, 0.18);
  font-weight: 500;
}
.phone-prefix-list li img {
  width: 22px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}
.phone-prefix-list .pp-name {
  flex: 1;
  color: var(--fg1);
}
.phone-prefix-list .pp-code {
  color: var(--fg2);
  font-variant-numeric: tabular-nums;
}
.field-label {
  font-size: var(--fs-12);
  color: var(--fg2);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.80);
  border: 1px solid rgba(57, 82, 81, 0.18);
  color: var(--fg1);
  font-family: var(--font-body);
  font-size: var(--fs-14);
  outline: none;
  transition: all var(--dur-fast) var(--ease-out-soft);
}
.input::placeholder { color: var(--fg3); }
.input:focus {
  background: #ffffff;
  border-color: var(--cobuild-accent);
  box-shadow: 0 0 16px rgba(102, 192, 189, 0.25);
}
.input.has-error {
  border-color: rgba(224, 122, 95, 0.55);
  background: rgba(224, 122, 95, 0.05);
}
.field-error {
  font-size: var(--fs-12);
  color: #E07A5F;
  min-height: 1em;
  display: block;
}

.form-submit {
  position: relative;
}
.form-submit .btn-spinner {
  display: none;
  animation: spin 1s linear infinite;
}
.form-submit.loading .btn-label { opacity: 0.5; }
.form-submit.loading .btn-spinner { display: inline-block; }
@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-micro {
  text-align: center;
  margin-top: var(--s-3);
}

/* Success state */
.form-success {
  padding: var(--s-7);
  text-align: center;
  color: var(--fg1);
}
.form-success svg {
  color: var(--cobuild-accent);
  margin: 0 auto var(--s-4);
}
.form-success h3 { margin-bottom: var(--s-3); }
.form-success p { color: var(--fg2); line-height: 1.65; }

/* ==========================================================================
   11. STICKY CTA BAR
   ========================================================================== */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 90;
  padding: 10px 12px 10px 24px;
  border-radius: var(--radius-pill);
  width: calc(100% - 48px);
  max-width: 720px;

  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-color);
  box-shadow:
    0 12px 40px var(--shadow-color),
    inset 0 1px 1px rgba(255, 255, 255, 0.60),
    inset 0 -1px 1px rgba(0, 0, 0, 0.02);

  transition: transform var(--dur-slow) var(--ease-out-soft),
              opacity var(--dur-base) var(--ease-out-soft);
  opacity: 0;
}
.sticky-cta.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}
.sticky-info {
  font-size: var(--fs-14);
  color: var(--fg1);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-count {
  font-size: var(--fs-12);
  color: var(--fg2);
  white-space: nowrap;
}
.sticky-count strong { color: var(--cobuild-accent); }

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.footer {
  padding: var(--s-7) 0 var(--s-6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--cobuild-dark-2);
  color: #fdfdfd;
  --fg1: #fdfdfd;
  --fg2: rgba(253, 253, 253, 0.70);
  --fg3: rgba(253, 253, 253, 0.45);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  align-items: center;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
  justify-content: center;
}
.footer-tag {
  font-size: var(--fs-12);
  color: var(--fg3);
  font-style: italic;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-5);
}
.footer-links a {
  font-size: var(--fs-14);
  color: var(--fg2);
  transition: color var(--dur-fast) var(--ease-out-soft);
}
.footer-links a:hover { color: var(--cobuild-accent); }

.footer-socials {
  display: flex;
  justify-content: center;
  gap: var(--s-3);
  margin-top: var(--s-2);
}
.footer-socials a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--fg2);
  transition: all var(--dur-base) var(--ease-out-soft);
}
.footer-socials a:hover {
  color: var(--cobuild-dark-1);
  background: var(--cobuild-accent);
  border-color: var(--cobuild-accent);
  transform: translateY(-2px);
}
.footer-disclaimer {
  font-size: var(--fs-12);
  color: var(--fg3);
  line-height: 1.6;
  max-width: 720px;
  margin-top: var(--s-3);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .container { padding: 0 var(--s-5); }
  .chapter { padding: var(--s-8) 0; }

  .split,
  .solution-grid,
  .cta-split {
    grid-template-columns: 1fr;
    gap: var(--s-7);
  }

  .majorelle-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .founder-card {
    grid-template-columns: 220px 1fr;
    gap: var(--s-6);
  }
  .founder-photo { width: 220px; height: 220px; }
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    border-radius: 28px;
  }
  .hero-grid-centered {
    grid-template-columns: 1fr;
  }
  .hero-inner {
    padding: 48px 0 48px 40px;
  }
  .hero-grid-centered .hero-inner {
    padding: 56px 40px;
  }
  .hero-founder-img {
    height: 440px;
    margin-top: -120px;
  }
}

@media (max-width: 768px) {
  .nav-menu-wrapper { display: none !important; }
  
  .nav-header-floating {
    padding: 16px var(--s-5);
  }
  
  .nav-header-floating.mobile-menu-open {
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 16px var(--s-5) !important;
  }

  .nav-logo {
    position: relative;
    z-index: 110;
  }
  
  .nav-header-floating.scrolled {
    top: 12px;
    width: calc(100% - 24px);
    border-radius: var(--radius-pill);
    background: var(--bg-nav);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-color);
    box-shadow: 
      0 8px 32px var(--shadow-color),
      inset 0 1px 1px rgba(255, 255, 255, 0.60),
      inset 0 -1px 1px rgba(0, 0, 0, 0.02);
    padding: 8px 16px;
    pointer-events: auto;
  }
  
  .nav-header-floating.scrolled .nav-logo-title {
    color: var(--fg1);
  }
  .nav-header-floating.scrolled .nav-logo-subtitle {
    color: var(--fg3);
  }
  .nav-header-floating.scrolled .nav-logo-divider {
    background: rgba(26, 45, 44, 0.12);
  }
  .nav-header-floating.scrolled .nav-logo-icon rect:nth-child(1) { fill: var(--cobuild-accent); }
  .nav-header-floating.scrolled .nav-logo-icon rect:nth-child(2) { fill: var(--fg2); }
  .nav-header-floating.scrolled .nav-logo-icon rect:nth-child(3) { fill: var(--cobuild-dark-1); }
  
  .nav-header-floating.scrolled .btn-nav-cta {
    background: linear-gradient(90deg, var(--cobuild-accent) 0%, #4da7a4 100%);
    color: var(--cobuild-dark-1) !important;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(102, 192, 189, 0.3);
  }

  /* Mobile menu styles */
  .nav-cta {
    display: none !important;
  }
  .nav-minimal .nav-cta {
    display: inline-flex !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
  }
  .nav-header-floating.nav-minimal {
    padding: 10px 8px;
  }
  .nav-minimal .nav-logo .logo-img {
    height: 28px;
  }
  .nav-header-floating.nav-minimal.scrolled {
    padding: 6px 12px;
  }
  
  .nav-hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
    pointer-events: auto;
  }
  
  .hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: 
      transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.3s ease,
      background-color 0.4s var(--ease-out-soft);
  }
  
  .nav-header-floating.scrolled .hamburger-line {
    background-color: var(--cobuild-dark-1);
  }
  
  .nav-header-floating.mobile-menu-open .line-1 {
    transform: translateY(8px) rotate(45deg);
    background-color: #ffffff !important;
  }
  .nav-header-floating.mobile-menu-open .line-2 {
    opacity: 0;
  }
  .nav-header-floating.mobile-menu-open .line-3 {
    transform: translateY(-8px) rotate(-45deg);
    background-color: #ffffff !important;
  }
  
  .mobile-nav-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(26, 45, 44, 0.88);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    z-index: 105;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: 
      opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    align-items: center;
    justify-content: center;
  }
  
  .nav-header-floating.mobile-menu-open .mobile-nav-overlay {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  
  .mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
  }
  
  .mobile-nav-links li {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s var(--ease-out-soft), transform 0.4s var(--ease-out-soft);
  }
  
  .nav-header-floating.mobile-menu-open .mobile-nav-links li {
    opacity: 1;
    transform: translateY(0);
  }
  
  .nav-header-floating.mobile-menu-open .mobile-nav-links li:nth-child(1) { transition-delay: 0.1s; }
  .nav-header-floating.mobile-menu-open .mobile-nav-links li:nth-child(2) { transition-delay: 0.15s; }
  .nav-header-floating.mobile-menu-open .mobile-nav-links li:nth-child(3) { transition-delay: 0.2s; }
  .nav-header-floating.mobile-menu-open .mobile-nav-links li:nth-child(4) { transition-delay: 0.25s; }
  
  .mobile-nav-link {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color var(--dur-fast) var(--ease-out-soft);
  }
  
  .mobile-nav-link:hover,
  .mobile-nav-link:active {
    color: var(--cobuild-accent);
  }
  
  .btn-mobile-cta {
    display: inline-block;
    margin-top: 16px;
    font-size: var(--fs-16) !important;
    padding: 14px 48px !important;
    background: linear-gradient(90deg, var(--cobuild-accent) 0%, #4da7a4 100%) !important;
    color: var(--cobuild-dark-1) !important;
    box-shadow: 0 4px 16px rgba(102, 192, 189, 0.35) !important;
    border: none !important;
  }

  .chapter { padding: var(--s-7) 0; }

  .hero { padding: 100px 12px var(--s-7); min-height: auto; }
  .hero-centered { padding-top: 90px; }
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 0;
    gap: var(--s-5);
    border-radius: 24px;
    overflow: hidden;
  }
  .hero-inner {
    padding: var(--s-6) 16px var(--s-6) 16px;
    align-items: center;
    text-align: center;
  }
  .hero-grid-centered {
    padding-bottom: 60px;
  }
  .hero-grid-centered .hero-inner {
    padding: var(--s-7) 16px var(--s-4);
  }
  .hero-grid-centered .hero-inner .hero-title {
    font-size: clamp(1.4rem, 4.8vw, 2.1rem);
    line-height: 1.2;
    letter-spacing: -0.015em;
  }
  .hero-grid-centered .hero-inner .hero-sub {
    font-size: var(--fs-14);
    margin-bottom: var(--s-5);
  }
  .hero-video {
    max-width: 100%;
  }
  .hero-video-wrapper {
    border-radius: 16px;
  }
  .hero-video-play-icon {
    width: 56px;
    height: 56px;
    box-shadow:
      0 8px 22px rgba(102, 192, 189, 0.45),
      0 0 0 6px rgba(255, 255, 255, 0.12);
  }
  .hero-video-play-icon svg {
    width: 22px;
    height: 22px;
  }
  .hero-video-badge {
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    font-size: 11px;
  }
  .hero-inner .social-proof {
    margin: 0 auto var(--s-4) auto;
  }
  .hero-inner .hero-sub {
    margin: 0 auto var(--s-5);
    max-width: 100%;
  }
  .hero-image-container {
    justify-content: center;
    align-items: flex-end;
    order: 1;
    margin-bottom: 0;
  }
  .hero-founder-img {
    height: 360px;
    width: auto;
    margin-top: 0;
    object-position: bottom center;
  }
  .hero-title {
    font-size: clamp(1.3rem, 5vw, 1.75rem);
    line-height: 1.3;
    word-wrap: normal;
    overflow-wrap: normal;
    hyphens: none;
  }
  .hero-inner .eyebrow-hero {
    text-align: center;
  }
  .hero-sub { font-size: var(--fs-14); }
  .hero-cta { padding: 14px 24px; font-size: var(--fs-14); }

  .display-quote { font-size: clamp(1.75rem, 5vw, 2.25rem); }

  .risk-grid { grid-template-columns: 1fr; }

  .majorelle-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }

  .founder-card {
    grid-template-columns: 1fr;
    gap: var(--s-5);
    text-align: center;
  }
  .founder-photo {
    width: 180px; height: 180px;
    margin: 0 auto;
  }
  .founder-quote { text-align: left; }

  .faq-grid { grid-template-columns: 1fr; }
  .faq-item-wide { grid-column: auto; }

  .stats-bar-title { white-space: normal; font-size: clamp(1.1rem, 3.5vw, 1.4rem); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
  .stats-item { padding: var(--s-5) var(--s-2); }
  .stat-circle { width: 80px; height: 80px; }
  .stat-circle svg { width: 80px; height: 80px; }
  .stat-circle > span { font-size: 0.85rem; }
  .stats-desc { font-size: 11px; }

  /* Form on top of right column content on mobile */
  .cta-split { display: flex; flex-direction: column-reverse; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: var(--s-5); }
  .counter-number { font-size: 3rem; }

  /* Sticky CTA full pill on mobile */
  .sticky-cta {
    width: calc(100% - 24px);
    bottom: 12px;
    padding: 8px 8px 8px 16px;
  }
  .sticky-info { font-size: var(--fs-12); }
  .sticky-count { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.2rem, 5.3vw, 1.55rem); }
  .hero-grid-centered .hero-inner .hero-title {
    font-size: clamp(1.05rem, 5vw, 1.6rem);
    line-height: 1.2;
    letter-spacing: -0.015em;
  }
  .opp-list {
    flex-direction: column;
    align-items: center;
    gap: var(--s-2);
  }
  .cta-badges .badge { font-size: 11px; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .ambient-bg .orb { animation: none !important; }
  .social-proof .dot { animation: none !important; }
  .risk-card::before,
  .solution-card::before { display: none !important; }
}
