/* ===========================================================
   Efomo Landing — variables et reset
   =========================================================== */

:root {
  --lagon: #3FCFC0;
  --lagon-deep: #2BAFA1;
  --lagon-soft: rgba(63, 207, 192, 0.14);
  --lagon-glow: rgba(63, 207, 192, 0.45);
  --encre: #0E0E0E;
  --encre-soft: #1F1F22;
  --papier: #EAEAE5;
  --papier-deep: #DFDED8;
  --blanc: #FFFFFF;
  --navy: #0B1530;
  --navy-soft: #1B2A4E;
  --neutral-100: #F5F5F4;
  --neutral-200: #E7E5E4;
  --neutral-400: #A8A29E;
  --neutral-500: #78716C;
  --neutral-700: #44403C;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(14, 14, 14, 0.04), 0 1px 3px rgba(14, 14, 14, 0.06);
  --shadow-md: 0 6px 24px rgba(14, 14, 14, 0.06), 0 2px 6px rgba(14, 14, 14, 0.04);
  --shadow-lg: 0 24px 60px rgba(14, 14, 14, 0.12), 0 8px 16px rgba(14, 14, 14, 0.06);
  --shadow-glow: 0 12px 40px rgba(63, 207, 192, 0.35);
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", system-ui, sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

/* Lenis smooth scroll global — pilote l'html.lenis-smooth */
html.lenis, html.lenis body { height: auto; }
html.lenis-smooth { scroll-behavior: auto !important; }
html.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* Fallback : si Lenis non chargé / reduced-motion, on garde un smooth natif */
html:not(.lenis) { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--encre);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "ss01";
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
  color: var(--encre);
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; height: auto; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================================================
   Stats animées — section "preuve par les chiffres"
   =========================================================== */

.stats {
  padding: 96px 0;
  background: var(--encre);
  color: var(--blanc);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(63, 207, 192, 0.18), transparent 50%),
    radial-gradient(ellipse at 85% 50%, rgba(43, 175, 161, 0.14), transparent 55%);
  pointer-events: none;
}

.stats-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.stats-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lagon);
  margin-bottom: 16px;
}

.stats-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.03em;
  color: var(--blanc);
  margin: 0 0 64px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.15;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat {
  text-align: left;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
}

/* Ligne lagon qui se trace sous chaque chiffre quand visible */
.stat::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--lagon-deep), var(--lagon));
  box-shadow: 0 0 12px rgba(63, 207, 192, 0.5);
  transition: width 2.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.stat.is-counting::after {
  width: 100%;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--blanc) 0%, var(--lagon) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
}

.stat-trend {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  padding: 4px 10px;
  background: rgba(63, 207, 192, 0.16);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: var(--lagon);
  letter-spacing: 0.02em;
}

@media (max-width: 980px) {
  .stats { padding: 64px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stats-title { margin-bottom: 40px; }
}

@media (max-width: 540px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ===========================================================
   Aurora — fond respirant lagon
   =========================================================== */

.aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Aurora classique en pseudo-elements (utilisé pour le CTA final navy) */
.aurora::before,
.aurora::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: aurora-float 18s ease-in-out infinite;
}

.aurora::before {
  width: 520px;
  height: 520px;
  top: -120px;
  left: -100px;
  background: radial-gradient(circle, var(--lagon) 0%, transparent 70%);
}

.aurora::after {
  width: 620px;
  height: 620px;
  bottom: -180px;
  right: -160px;
  background: radial-gradient(circle, var(--lagon-deep) 0%, transparent 70%);
  animation-delay: -9s;
}

@keyframes aurora-float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
  50% { transform: translate(40px, -30px) scale(1.08); opacity: 0.7; }
}

/* Mesh gradient canvas — version pro pour le hero */
.mesh-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.mesh-canvas.is-ready { opacity: 1; }

/* Hero : on cache les pseudos quand le mesh canvas est dispo */
.hero .aurora.has-mesh::before,
.hero .aurora.has-mesh::after { display: none; }

/* ===========================================================
   Grid pattern — background subtle sur certaines sections
   =========================================================== */

.has-grid {
  position: relative;
  isolation: isolate;
}

.has-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 14, 14, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 14, 14, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 80%);
  pointer-events: none;
  z-index: -1;
}

/* ===========================================================
   Floating blobs — fond doux derrière sections
   =========================================================== */

.floating-blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.floating-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  animation: blob-float 24s ease-in-out infinite;
}

.floating-blob:nth-child(1) {
  width: 380px; height: 380px;
  top: 5%; left: -80px;
  background: radial-gradient(circle, var(--lagon) 0%, transparent 70%);
}
.floating-blob:nth-child(2) {
  width: 320px; height: 320px;
  top: 60%; right: -60px;
  background: radial-gradient(circle, var(--lagon-deep) 0%, transparent 70%);
  animation-delay: -8s;
}
.floating-blob:nth-child(3) {
  width: 260px; height: 260px;
  top: 40%; left: 40%;
  background: radial-gradient(circle, #B8FAF0 0%, transparent 70%);
  animation-delay: -16s;
  opacity: 0.25;
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -60px) scale(1.1); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

/* ===========================================================
   Navbar
   =========================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(234, 234, 229, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(14, 14, 14, 0.06);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.nav-brand-mark {
  width: 36px;
  height: 36px;
  display: inline-block;
  background-image: url('/landing/logo-efomo.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /* On garde le texte "E" en fallback masque visuellement (accessibilite) */
  font-size: 0;
  color: transparent;
  filter: drop-shadow(0 2px 8px rgba(63, 207, 192, 0.25));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--encre);
  opacity: 0.78;
  transition: opacity 0.2s ease;
}

.nav-link:hover { opacity: 1; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ===========================================================
   Boutons
   =========================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--lagon) 0%, var(--lagon-deep) 100%);
  color: var(--blanc);
  box-shadow: var(--shadow-glow), inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: btn-shimmer 4s ease-in-out infinite;
  animation-delay: 1.5s;
  pointer-events: none;
  z-index: 1;
}

.btn-primary > * {
  position: relative;
  z-index: 2;
}

@keyframes btn-shimmer {
  0%, 60%, 100% { left: -100%; }
  80% { left: 130%; }
}

.btn-primary:hover {
  box-shadow: 0 16px 48px rgba(63, 207, 192, 0.5), inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary::before { animation: none; display: none; }
}

.btn-ghost {
  background: transparent;
  color: var(--encre);
  border-color: rgba(14, 14, 14, 0.12);
}

.btn-ghost:hover {
  border-color: rgba(14, 14, 14, 0.25);
  background: rgba(14, 14, 14, 0.03);
}

.btn-light {
  background: var(--blanc);
  color: var(--encre);
  box-shadow: var(--shadow-sm);
}

.btn-light:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16.5px;
}

/* ===========================================================
   Sections
   =========================================================== */

section { position: relative; }

.section {
  padding: 120px 0;
}

.section-tight { padding: 88px 0; }

.section--white { background: var(--blanc); }
.section--paper { background: var(--papier); }
.section--navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.92);
}
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--blanc); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lagon-deep);
  margin-bottom: 18px;
}

.section--navy .eyebrow { color: var(--lagon); }

.section-title {
  font-size: clamp(36px, 4.4vw, 56px);
  letter-spacing: -0.035em;
  margin-bottom: 18px;
  max-width: 800px;
}

.section-lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--neutral-500);
  max-width: 640px;
}

.section--navy .section-lede { color: rgba(255, 255, 255, 0.7); }

/* ===========================================================
   Hero
   =========================================================== */

.hero {
  position: relative;
  padding: 180px 0 120px;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(14, 14, 14, 0.08);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--encre);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lagon);
  box-shadow: 0 0 0 4px var(--lagon-soft);
}

.hero-title {
  font-size: clamp(44px, 6.5vw, 84px);
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin-bottom: 24px;
}

.hero-title-grad,
.split-text.hero-title-grad .word > span {
  background: linear-gradient(135deg, var(--lagon-deep) 0%, var(--lagon) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  color: var(--neutral-500);
  max-width: 680px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 13.5px;
  color: var(--neutral-500);
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta-check {
  color: var(--lagon-deep);
  font-weight: 700;
}

.hero-shot {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(14, 14, 14, 0.06);
  background: var(--blanc);
}

.hero-shot::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, var(--lagon-soft) 0%, transparent 60%);
  z-index: -1;
}

.hero-shot img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===========================================================
   Piliers (3 colonnes)
   =========================================================== */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.pillar {
  padding: 32px;
  background: var(--blanc);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
  position: relative;
}

.pillar::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--lagon-soft), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: -1;
}

.pillar:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(63, 207, 192, 0.3);
}

.pillar:hover::after { opacity: 1; }

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--lagon-soft);
  display: grid;
  place-items: center;
  color: var(--lagon-deep);
  margin-bottom: 20px;
}

.pillar-icon svg { width: 24px; height: 24px; }

.pillar-title {
  font-size: 22px;
  margin-bottom: 10px;
}

.pillar-body {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--neutral-500);
}

/* ===========================================================
   Feature blocks (alternance left/right)
   =========================================================== */

.feature {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: center;
}

.feature--reverse .feature-copy { order: 2; }
.feature--reverse .feature-shot { order: 1; }

.feature-copy {
  max-width: 480px;
}

.feature-title {
  font-size: clamp(30px, 3.4vw, 42px);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.feature-lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--neutral-500);
  margin-bottom: 24px;
}

.feature-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
}

.feature-point-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lagon-soft);
  color: var(--lagon-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.feature-point-check svg { width: 12px; height: 12px; }

.feature-shot {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(14, 14, 14, 0.06);
  background: var(--blanc);
  transform: translate3d(0, var(--parallax-y, 0), 0);
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
  will-change: transform;
}

.feature-shot:hover {
  box-shadow: 0 32px 80px rgba(14, 14, 14, 0.16), 0 12px 24px rgba(63, 207, 192, 0.18);
}

.feature-shot::before {
  content: "";
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at 70% 30%, var(--lagon-soft) 0%, transparent 55%);
  z-index: -1;
}

.section--navy .feature-shot {
  border-color: rgba(255, 255, 255, 0.08);
}

.feature-shot img { display: block; width: 100%; }

/* ===========================================================
   Personas (Pour qui)
   =========================================================== */

.personas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.persona {
  padding: 36px 28px;
  background: var(--blanc);
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-200);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
}

.persona:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(63, 207, 192, 0.3);
}

.persona-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--lagon-soft);
  color: var(--lagon-deep);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.persona-title {
  font-size: 22px;
  margin-bottom: 8px;
}

.persona-sub {
  font-size: 14.5px;
  color: var(--neutral-500);
  margin-bottom: 22px;
}

.persona-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  color: var(--neutral-700);
}

.persona-list li {
  padding-left: 22px;
  position: relative;
}

.persona-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--lagon-deep);
  font-weight: 700;
}

/* ===========================================================
   Logos clients (placeholder)
   =========================================================== */

.logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  align-items: center;
  margin-top: 40px;
  opacity: 0.55;
}

.logo-placeholder {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--neutral-500);
  padding: 16px 8px;
}

/* ===========================================================
   Pricing
   =========================================================== */

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--blanc);
  border: 1px solid var(--neutral-200);
  border-radius: 999px;
  padding: 4px;
  margin: 24px 0 56px;
  box-shadow: var(--shadow-sm);
}

.pricing-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-500);
  padding: 8px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pricing-toggle button.is-active {
  background: var(--encre);
  color: var(--blanc);
}

.pricing-toggle-save {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--lagon-soft);
  color: var(--lagon-deep);
  letter-spacing: 0.04em;
}

.pricing-toggle button.is-active .pricing-toggle-save {
  background: rgba(255, 255, 255, 0.15);
  color: var(--lagon);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 30px;
  background: var(--blanc);
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-200);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.price-card--featured {
  border-color: transparent;
  background: linear-gradient(180deg, var(--blanc) 0%, #FAFEFD 100%);
  box-shadow:
    0 0 0 1.5px var(--lagon),
    var(--shadow-md);
  transform: translateY(-8px);
}

.price-card--featured:hover {
  transform: translateY(-12px);
  box-shadow:
    0 0 0 1.5px var(--lagon),
    var(--shadow-lg);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--lagon) 0%, var(--lagon-deep) 100%);
  color: var(--blanc);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: var(--shadow-glow);
}

.price-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lagon-deep);
  margin-bottom: 8px;
}

.price-tag-line {
  font-size: 14px;
  color: var(--neutral-500);
  margin-bottom: 24px;
  line-height: 1.45;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
  font-family: var(--font-display);
}

.price-amount-value {
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--encre);
}

.price-amount-currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--encre);
}

.price-amount-period {
  font-size: 15px;
  color: var(--neutral-500);
  font-weight: 500;
}

.price-billing {
  font-size: 13px;
  color: var(--neutral-500);
  margin-bottom: 28px;
  min-height: 20px;
}

.price-cta {
  width: 100%;
  margin-bottom: 28px;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14.5px;
}

.price-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--neutral-700);
  line-height: 1.5;
}

.price-features li::before {
  content: "✓";
  color: var(--lagon-deep);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.price-features-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neutral-500);
  margin-bottom: 14px;
}

/* Annuel : on cache le mensuel, on montre l'annuel */
.pricing-grid[data-period="annual"] .price-monthly { display: none; }
.pricing-grid[data-period="monthly"] .price-annual { display: none; }

/* ===========================================================
   FAQ
   =========================================================== */

.faq-list {
  max-width: 800px;
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--blanc);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(63, 207, 192, 0.4);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--encre);
  transition: color 0.2s ease;
}

.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { content: ''; }

.faq-question:hover { color: var(--lagon-deep); }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lagon-soft);
  color: var(--lagon-deep);
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease, color 0.2s ease;
  /* On masque tout texte enfant (le "+" inline) — on dessine via pseudo-elements */
  font-size: 0;
  color: var(--lagon-deep);
}

/* Deux barres centrees forment un + (et un x apres rotation 45deg du parent) */
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  border-radius: 1px;
  transform: translate(-50%, -50%);
}

.faq-icon::before {
  width: 11px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 11px;
}

.faq-item[open] .faq-icon {
  background: var(--lagon);
  color: var(--blanc);
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 26px 22px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--neutral-700);
  max-width: 700px;
}

.faq-answer p { margin: 0; }

/* ===========================================================
   CTA final
   =========================================================== */

.cta-final {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

.cta-final-inner {
  position: relative;
  z-index: 2;
}

.cta-final-title {
  font-size: clamp(36px, 4.6vw, 56px);
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.cta-final-sub {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 560px;
  margin: 0 auto 36px;
}

/* ===========================================================
   Footer
   =========================================================== */

.footer {
  padding: 56px 0 36px;
  background: var(--encre);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 44px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--blanc);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-tag {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 280px;
  line-height: 1.55;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.15s ease;
}

.footer-col a:hover { color: var(--lagon); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover { color: var(--lagon); }

/* ===========================================================
   Scrollytelling — la story Efomo en 8 actes
   =========================================================== */

.story {
  position: relative;
  background: linear-gradient(180deg, var(--papier) 0%, var(--blanc) 100%);
  /* 8 actes × 100vh + 1 viewport d'intro/outro */
  height: 900vh;
}

.story-track {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 64px;
  padding: 0 clamp(40px, 6vw, 96px);
}

.story-stage {
  position: relative;
  height: 80vh;
  max-height: 720px;
  border-radius: var(--radius-lg);
  background: var(--blanc);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(14, 14, 14, 0.06);
}

.story-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.story-stage-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 70% 30%, var(--lagon-soft) 0%, transparent 60%);
  z-index: 0;
}

.story-acts {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
}

.story-act {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.story-act.is-active {
  opacity: 1;
  pointer-events: auto;
}

.story-act.is-leaving {
  opacity: 0;
  transform: translateY(-60%);
}

.story-act-number {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--lagon-deep);
  margin-bottom: 18px;
  padding: 4px 12px;
  background: var(--lagon-soft);
  border-radius: 999px;
}

.story-act-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.4vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 18px;
  color: var(--encre);
}

.story-act-body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--neutral-500);
  max-width: 460px;
  margin: 0;
}

.story-act-highlight {
  color: var(--lagon-deep);
  font-weight: 600;
}

.story-progress {
  position: absolute;
  left: clamp(40px, 6vw, 96px);
  right: clamp(40px, 6vw, 96px);
  bottom: 32px;
  height: 2px;
  background: rgba(14, 14, 14, 0.06);
  border-radius: 999px;
  overflow: hidden;
  z-index: 10;
}

.story-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--lagon-deep), var(--lagon));
  border-radius: 999px;
  transition: width 0.15s linear;
}

.story-dots {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.story-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(14, 14, 14, 0.15);
  transition: background 0.25s ease, transform 0.25s ease;
}

.story-dot.is-active {
  background: var(--lagon-deep);
  transform: scale(1.3);
}

@media (max-width: 980px) {
  .story { height: auto; }
  .story-track {
    position: relative;
    grid-template-columns: 1fr;
    height: auto;
    padding: 60px 24px;
  }
  .story-stage { height: 50vh; }
  .story-acts { height: auto; }
  .story-act {
    position: relative;
    opacity: 1;
    transform: none;
    padding: 30px 0;
  }
  .story-progress, .story-dots { display: none; }
}

/* ===========================================================
   Text reveal (split words) — hero titles
   =========================================================== */

/* Note : pas de display: inline ici — laisse hériter du parent
   (span dans h1 hero = inline, h2 .section-title = block). */

.split-text .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: 1.05;
}

.split-text .word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.split-text.is-revealed .word > span {
  transform: translateY(0);
}

/* Stagger par mot, configuré via --delay sur le span */
.split-text.is-revealed .word > span { transition-delay: var(--delay, 0s); }

/* ===========================================================
   Marquee infini (logos clients, témoignages)
   =========================================================== */

.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  padding: 8px 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--neutral-500);
  white-space: nowrap;
  opacity: 0.7;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.marquee-item:hover {
  opacity: 1;
  color: var(--encre);
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 32px)); }
}

/* ===========================================================
   Tilt 3D subtil (screenshots features)
   Variables --rx, --ry set via JS au mousemove
   =========================================================== */

.tilt {
  transform-style: preserve-3d;
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.tilt.is-active {
  transition: transform 0.08s ease-out;
}

/* ===========================================================
   Spotlight hover (cards : pricing, persona, pillar)
   Variables --mx, --my set via JS au mousemove (0..100%)
   =========================================================== */

.spot {
  position: relative;
  isolation: isolate;
}

.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    320px circle at var(--mx, 50%) var(--my, 0%),
    var(--lagon-soft) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.spot:hover::before { opacity: 1; }

.spot > * { position: relative; z-index: 1; }

/* ===========================================================
   Animations au scroll
   =========================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ===========================================================
   Responsive
   =========================================================== */

@media (max-width: 980px) {
  .section { padding: 88px 0; }
  .hero { padding: 140px 0 80px; }
  .feature {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature--reverse .feature-copy,
  .feature--reverse .feature-shot { order: initial; }
  .pillars { grid-template-columns: 1fr; gap: 20px; }
  .personas { grid-template-columns: 1fr; gap: 16px; }
  .logos { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
  .price-card--featured { transform: translateY(0); }
  .price-card--featured:hover { transform: translateY(-4px); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 120px 0 56px; }
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .hero-meta { gap: 16px; font-size: 13px; }
  .hero-cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
