@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --dark: #0d1f1a;
  --dark-card: #152820;
  --dark-border: rgba(255,255,255,0.08);
  --accent: #72bf6a;
  --accent-glow: rgba(114,191,106,0.18);
  --accent-dim: rgba(114,191,106,0.12);
  --cream: #f7f3ec;
  --cream-dark: #eee9e0;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-secondary: #5e6e60;
  --text-light: #e8f0e6;
  --text-muted: rgba(255,255,255,0.45);

  /* Legacy compat */
  --dark-bg: #0d1f1a;
  --sage: #72bf6a;
  --sage-light: rgba(114,191,106,0.2);
  --before-bg: #edf2f7;
  --after-bg: rgba(114,191,106,0.08);
  --border-thick: 1px solid rgba(26,26,26,0.10);
  --font-head: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
  --radius: 16px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); color: var(--text); background: var(--cream); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-head); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height); z-index: 1000;
  background: rgba(13, 31, 26, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-border);
  transition: var(--transition);
}
.nav.scrolled { box-shadow: 0 2px 32px rgba(0,0,0,0.25); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.nav-logo {
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 700;
  color: var(--white); letter-spacing: -0.5px;
}

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--white); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; font-family: var(--font); font-size: 0.9rem; font-weight: 600;
  border: none; border-radius: 8px; cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--dark-card); color: #ffffff !important; border: 1px solid var(--dark-border); }
.btn-primary:hover { background: #1e3a2f; transform: translateY(-1px); border-color: rgba(255,255,255,0.14); }
.btn-lime { background: var(--accent); color: #0d1f1a !important; font-weight: 700; }
.btn-lime:hover { background: #86d47e; transform: translateY(-1px); box-shadow: 0 4px 24px var(--accent-glow), 0 0 0 4px rgba(114,191,106,0.12); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid rgba(26,26,26,0.2); }
.btn-outline:hover { border-color: var(--text); }
.btn-outline-light { background: transparent; color: var(--text-light); border: 1.5px solid rgba(255,255,255,0.18); }
.btn-outline-light:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-white { background: var(--white); color: var(--text); }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.btn-lg { padding: 16px 32px; font-size: 1rem; border-radius: 10px; }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ===== TAG BADGE ===== */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; background: transparent;
  border: 1.5px solid rgba(26,26,26,0.15);
  color: var(--text); font-size: 0.8rem; font-weight: 600;
  border-radius: 100px; text-transform: uppercase; letter-spacing: 0.06em;
  font-family: var(--font);
}
.tag-dark { border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.65); }

/* ===== HERO ===== */
.hero-dark {
  background: var(--dark);
  color: var(--text-light);
  padding: 140px 0 96px;
  position: relative;
  overflow: hidden;
}

/* Animated grid background */
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(114,191,106,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114,191,106,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: grid-shift 15s linear infinite;
}
@keyframes grid-shift {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: 40px 40px, 40px 40px; }
}

/* Radial glow from top-center */
.hero-dark::before {
  content: ''; position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse at center, rgba(114,191,106,0.12) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}

/* Two-column hero layout */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { position: relative; z-index: 1; }

.hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin: 20px 0 24px;
  color: var(--white);
}
.hero-content h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-content .subtitle {
  font-size: 1.1rem; line-height: 1.75; margin-bottom: 40px;
  color: rgba(232,240,230,0.7); max-width: 520px;
}

.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ===== HERO STATS BAR ===== */
.hero-stats {
  display: flex; align-items: center;
  gap: 0; margin-top: 52px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 24px 36px;
  max-width: 520px;
}
.hero-stat { text-align: center; flex: 1; }
.hero-stat-number {
  display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 700;
  color: var(--white); letter-spacing: -0.03em;
}
.hero-stat-label {
  display: block; font-size: 0.75rem; color: var(--text-muted);
  margin-top: 4px; font-weight: 500;
}
.hero-stat-divider {
  width: 1px; height: 48px; background: var(--dark-border); flex-shrink: 0; margin: 0 20px;
}

/* ===== HERO FEED ===== */
.hero-feed {
  background: #1a3028;
  border: 1px solid rgba(114,191,106,0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  z-index: 1;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04) inset;
  max-width: 420px;
}

.feed-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 24px; padding-bottom: 20px;
  border-bottom: 1px solid var(--dark-border);
}

.feed-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  animation: live-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--accent-glow); }
  50%       { box-shadow: 0 0 0 7px rgba(114,191,106,0.06); }
}

.feed-title {
  font-size: 0.8rem; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.07em;
}

.feed-list { display: flex; flex-direction: column; gap: 12px; }

.feed-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  transition: background 0.3s ease;
  opacity: 0;
  animation: feed-in 0.5s ease forwards;
}
.feed-item--1 { animation-delay: 0.2s; }
.feed-item--2 { animation-delay: 0.45s; }
.feed-item--3 { animation-delay: 0.7s; }
@keyframes feed-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.feed-item:hover { background: rgba(255,255,255,0.06); }

.feed-badge {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.feed-badge.success { background: rgba(114,191,106,0.2); color: var(--accent); border: 1px solid rgba(114,191,106,0.3); }
.feed-badge.running {
  background: rgba(114,191,106,0.1); color: var(--accent);
  border: 1px solid rgba(114,191,106,0.2);
  animation: badge-spin 2s linear infinite;
}
@keyframes badge-spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.feed-badge.alert { background: rgba(245,163,54,0.15); color: #f5a336; border: 1px solid rgba(245,163,54,0.25); }

.feed-item-body { flex: 1; min-width: 0; }
.feed-item-title {
  font-size: 0.82rem; font-weight: 600; color: var(--text-light);
  line-height: 1.4; margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.feed-item-meta {
  font-size: 0.72rem; color: var(--text-muted); font-weight: 500;
}

.feed-footer {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--dark-border);
  text-align: center;
  font-size: 0.72rem; color: var(--text-muted); font-weight: 500;
}

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--dark); color: var(--text-light); }

.section-header { max-width: 680px; margin-bottom: 64px; }
.section-header.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-header .tag { margin-bottom: 20px; }
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 16px;
  color: var(--text);
}
.section-header p { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.7; }
.section-dark .section-header p { color: rgba(232,240,230,0.6); }

/* ===== EXAMPLES GRID ===== */
.examples-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.example-card {
  background: var(--white);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06), 0 0 0 1px rgba(26,26,26,0.06);
  padding: 36px 32px;
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.example-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.09), 0 0 0 1px rgba(26,26,26,0.07);
}
.example-icon {
  width: 44px; height: 44px; margin-bottom: 16px;
  border: 1.5px solid rgba(26,26,26,0.12); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--text-secondary);
}
.example-badge {
  font-size: 0.72rem; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px;
  font-family: var(--font);
}
.example-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em;
}
.example-card > p {
  font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 20px;
}
.example-gain {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; background: var(--accent-dim);
  border-radius: 100px; font-size: 0.78rem; font-weight: 700; color: #2a5e25;
  align-self: flex-start; margin-top: auto;
  border: 1px solid rgba(114,191,106,0.2);
}

/* ===== PIPELINE ===== */
.pipeline {
  display: flex; align-items: flex-start;
  padding: 20px 0; overflow-x: auto; scrollbar-width: none; gap: 0;
  margin-bottom: 20px;
}
.pipeline::-webkit-scrollbar { display: none; }

.pipeline-step {
  display: flex; flex-direction: column; align-items: center;
  flex-shrink: 0; min-width: 72px; text-align: center;
}
.step-node {
  width: 12px; height: 12px; border-radius: 50%;
  background: #cacaca;
  transition: all 0.5s ease;
  position: relative; z-index: 1; margin-bottom: 8px;
  flex-shrink: 0;
}
.pipeline-step.active .step-node { background: var(--accent); }
.pipeline-step.current .step-node {
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-glow);
  transform: scale(1.4);
}
.step-label {
  font-size: 0.7rem; font-weight: 600;
  color: #aaa; transition: color 0.4s ease;
  line-height: 1.3; max-width: 72px; font-family: var(--font);
}
.pipeline-step.active .step-label,
.pipeline-step.current .step-label { color: var(--text); }

.pipeline-edge {
  flex: 1; min-width: 16px; height: 2px;
  background: #e0e0e0;
  align-self: flex-start; margin-top: 5px;
  position: relative; overflow: hidden;
}
.pipeline-edge::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 0%; height: 100%; background: var(--accent);
  transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
}
.pipeline-edge.filled::after { width: 100%; }
.pipeline-edge.filling::after { width: 100%; }

/* ===== VALUE GRID ===== */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.value-card {
  background: var(--white);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06), 0 0 0 1px rgba(26,26,26,0.06);
  padding: 36px 32px;
  transition: var(--transition);
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(0,0,0,0.08), 0 0 0 1px rgba(26,26,26,0.07);
}
.value-card .value-icon {
  width: 48px; height: 48px; margin-bottom: 20px;
  border: 1.5px solid rgba(26,26,26,0.12); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
}
.value-card h3 {
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin-bottom: 10px;
}
.value-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }

/* ===== BEFORE / AFTER ===== */
.comparison-card {
  border: 1px solid rgba(26,26,26,0.10);
  border-radius: var(--radius-lg);
  overflow: hidden; display: grid; grid-template-columns: 1fr 1fr;
  position: relative; max-width: 1000px; margin: 0 auto;
  box-shadow: 0 4px 40px rgba(0,0,0,0.06);
}
.comparison-side { padding: 48px 40px; }
.comparison-before { background: #f0f4f8; }
.comparison-after { background: rgba(114,191,106,0.07); border-left: 1px solid rgba(114,191,106,0.2); }

.comparison-badge {
  display: inline-block; padding: 5px 14px;
  background: rgba(114,191,106,0.15); color: #2a5e25;
  font-size: 0.72rem; font-weight: 700; border-radius: 6px;
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 24px;
  font-family: var(--font); border: 1px solid rgba(114,191,106,0.25);
}
.comparison-before .comparison-badge {
  background: rgba(26,26,26,0.07); color: var(--text-secondary);
  border-color: rgba(26,26,26,0.12);
}

.comparison-side h3 {
  font-family: var(--font-head);
  font-size: 1.4rem; font-weight: 700; margin-bottom: 28px;
  letter-spacing: -0.02em; line-height: 1.2; color: var(--text);
}

.comparison-side li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 0; font-size: 0.92rem; line-height: 1.55; color: var(--text);
}
.comparison-side li + li { border-top: 1px solid rgba(26,26,26,0.06); }
.comparison-side li .comp-icon {
  width: 30px; height: 30px; flex-shrink: 0;
  background: rgba(26,26,26,0.05); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.comparison-after li .comp-icon { background: rgba(114,191,106,0.12); color: #2a5e25; }

.comparison-arrow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 40px; height: 40px; background: var(--white);
  border: 1px solid rgba(26,26,26,0.12); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  z-index: 2; font-size: 1.1rem; color: var(--accent);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* ===== PROCESS / HOW IT WORKS ===== */
.process-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.process-title h2 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 700;
  line-height: 1.08; letter-spacing: -0.03em; color: var(--text);
}
.process-timeline { position: relative; padding-left: 0; display: flex; flex-direction: column; gap: 0; }

.process-step {
  position: relative; padding: 0 0 40px 72px;
}
.process-step:last-child { padding-bottom: 0; }

.process-step-num {
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent-dim); border: 2px solid rgba(114,191,106,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 700;
  color: #2a5e25; flex-shrink: 0;
}

/* Vertical line connecting steps */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute; left: 21px; top: 44px;
  width: 2px; height: calc(100% - 44px);
  background: rgba(26,26,26,0.08);
}

.process-step h3 {
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 700;
  margin-bottom: 6px; padding-top: 10px;
}
.process-step p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }

/* ===== ALT SECTION CARD ===== */
.alt-card {
  border: 1px solid rgba(26,26,26,0.10);
  border-radius: var(--radius-lg);
  overflow: hidden; display: grid; grid-template-columns: 1fr 1fr;
  background: var(--white);
  box-shadow: 0 4px 40px rgba(0,0,0,0.06);
}
.alt-card-content { padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; }
.alt-card-content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700;
  line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 20px; color: var(--text);
}
.alt-card-content p { font-size: 1rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 28px; }

.alt-card-diagram {
  background: rgba(114,191,106,0.06);
  border-left: 1px solid rgba(114,191,106,0.15);
  padding: 48px 32px;
  display: flex; align-items: center; justify-content: center;
}
.flow-diagram { text-align: center; width: 100%; }
.flow-diagram h4 {
  font-family: var(--font);
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 24px; color: var(--text-secondary);
}
.flow-node {
  display: inline-block; padding: 10px 22px;
  border: 1.5px solid rgba(26,26,26,0.15); border-radius: 100px;
  font-size: 0.82rem; font-weight: 600; margin: 4px;
  background: rgba(255,255,255,0.7); color: var(--text); font-family: var(--font);
}
.flow-node.primary { background: var(--accent-dim); border-color: rgba(114,191,106,0.35); color: #2a5e25; }
.flow-connector { display: block; margin: 8px auto; color: var(--text-secondary); font-size: 1.1rem; }
.flow-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ===== OFFERS (Accompagnement page) ===== */
.audit-card {
  border: 1px solid rgba(26,26,26,0.10);
  border-radius: var(--radius-lg);
  padding: 56px; max-width: 860px; margin: 0 auto 48px;
  background: var(--white); text-align: center;
  box-shadow: 0 4px 40px rgba(0,0,0,0.05);
}
.audit-card .audit-label {
  font-size: 0.8rem; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px;
}
.audit-card h3 { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.02em; }
.audit-card .desc {
  font-size: 1rem; color: var(--text-secondary); line-height: 1.7;
  max-width: 560px; margin: 0 auto 32px;
}
.audit-features {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px;
}
.audit-features li {
  display: flex; align-items: center; gap: 6px; padding: 8px 16px;
  background: var(--cream); border-radius: 100px;
  font-size: 0.85rem; font-weight: 500; color: var(--text);
}

.formulas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; }
.formula-card {
  background: var(--white); border: 1px solid rgba(26,26,26,0.10);
  border-radius: var(--radius-lg); padding: 40px 36px;
  position: relative; transition: var(--transition);
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}
.formula-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.formula-card.featured { border-width: 2px; border-color: rgba(114,191,106,0.4); border-top: 3px solid var(--accent); }
.formula-card.featured::before {
  content: 'Recommandé'; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--dark); font-size: 0.72rem; font-weight: 700;
  padding: 5px 18px; border-radius: 100px; font-family: var(--font);
}
.formula-card .formula-label {
  font-size: 0.8rem; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; font-family: var(--font);
}
.formula-card h3 { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.formula-card .formula-tagline {
  color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 24px; line-height: 1.5;
}
.formula-card .formula-duration {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px;
  background: var(--cream); border-radius: 100px;
  font-size: 0.8rem; font-weight: 600; margin-bottom: 24px; font-family: var(--font);
}
.formula-features { margin-bottom: 32px; }
.formula-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; font-size: 0.95rem; line-height: 1.5;
}
.formula-features li .check { color: var(--accent); flex-shrink: 0; margin-top: 2px; font-weight: 700; }

/* Formula 3 webapp */
.formula-webapp { border-top: 3px solid var(--dark); }
.webapp-prereq {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; margin-bottom: 16px;
  background: rgba(26,26,26,0.06); border-radius: 100px;
  font-size: 0.72rem; font-weight: 700; color: var(--text-secondary);
  border: 1px solid rgba(26,26,26,0.1);
  font-family: var(--font);
}
.webapp-context {
  font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6;
  margin-bottom: 20px; font-style: italic;
}
.webapp-examples {
  margin-bottom: 28px;
  padding: 16px;
  background: var(--cream);
  border-radius: 10px;
}
.webapp-examples-label {
  font-size: 0.72rem; font-weight: 700; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 12px; font-family: var(--font);
}
.webapp-examples ul { display: flex; flex-direction: column; gap: 12px; }
.webapp-examples li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.85rem; line-height: 1.5;
}
.webapp-examples li strong { display: block; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.webapp-examples li span { color: var(--text-secondary); font-size: 0.8rem; }
.webapp-icon {
  width: 26px; height: 26px; flex-shrink: 0;
  background: var(--white); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(26,26,26,0.1);
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 120px 0; background: var(--dark); text-align: center;
  position: relative; overflow: hidden;
}
.cta-glow {
  position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 700px;
  background: radial-gradient(ellipse at center, rgba(114,191,106,0.18) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 800; color: var(--white);
  margin-bottom: 20px; letter-spacing: -0.03em;
}
.cta-section p {
  font-size: 1.1rem; color: rgba(232,240,230,0.65);
  max-width: 500px; margin: 0 auto 48px; line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  background: #0a1812; color: rgba(255,255,255,0.4);
  padding: 56px 0 36px; border-top: 1px solid var(--dark-border);
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--white); }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 0.85rem; transition: var(--transition); font-family: var(--font); }
.footer-links a:hover { color: var(--white); }
.footer-copy {
  width: 100%; text-align: center; font-size: 0.78rem;
  margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--dark-border);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  cursor: pointer; text-decoration: none;
  animation: whatsapp-appear 0.6s ease 1s both;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
}
.whatsapp-btn svg { width: 30px; height: 30px; }
@keyframes whatsapp-appear {
  from { opacity: 0; transform: scale(0.5) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ===== ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ===== FEATURES LAYOUT (other pages) ===== */
.features-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.mockup-stack {
  position: relative; perspective: 1200px; height: 600px;
}
.mockup-screen {
  position: absolute; left: 0; right: 0;
  background: var(--dark-card); border-radius: 12px;
  border: 1px solid var(--dark-border);
  padding: 24px; overflow: hidden;
  box-shadow: 0 8px 40px rgba(13,31,26,0.35);
}
.mockup-screen::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 24px 24px;
}
.mockup-screen:nth-child(1) { top: 0; transform: rotateX(8deg) rotateY(-5deg) scale(0.95); z-index: 1; height: 160px; }
.mockup-screen:nth-child(2) { top: 80px; transform: rotateX(6deg) rotateY(-3deg) scale(0.97); z-index: 2; height: 160px; }
.mockup-screen:nth-child(3) { top: 160px; transform: rotateX(4deg) rotateY(-2deg) scale(0.99); z-index: 3; height: 160px; }
.mockup-screen:nth-child(4) { top: 240px; transform: rotateX(2deg) rotateY(-1deg); z-index: 4; height: 200px; }
.mockup-screen:nth-child(4) .mockup-label {
  position: relative; z-index: 2; color: var(--white); font-size: 1.5rem;
  font-weight: 700; text-align: center; padding-top: 40px; letter-spacing: -0.02em;
  font-family: var(--font-head);
}
.mockup-screen:nth-child(4) .mockup-sublabel {
  position: relative; z-index: 2; color: var(--text-muted);
  font-size: 0.85rem; text-align: center; margin-top: 8px;
}
.mockup-nodes {
  display: flex; gap: 12px; align-items: center; position: relative; z-index: 2; padding: 16px 8px;
}
.mockup-node {
  width: 48px; height: 32px; background: var(--accent-dim);
  border: 1px solid rgba(114,191,106,0.3); border-radius: 6px; flex-shrink: 0;
}
.mockup-node-line {
  width: 24px; height: 2px; background: rgba(255,255,255,0.1); flex-shrink: 0;
}
.mockup-node.alt { background: rgba(100,160,220,0.15); border-color: rgba(100,160,220,0.25); }
.mockup-node.wide { width: 72px; }
.features-list { display: flex; flex-direction: column; gap: 0; }
.feature-item {
  padding: 32px 0; border-bottom: 1px solid rgba(26,26,26,0.08);
  display: flex; gap: 20px; align-items: flex-start;
}
.feature-item:first-child { padding-top: 0; }
.feature-item:last-child { border-bottom: none; }
.feature-icon-circle {
  width: 48px; height: 48px; flex-shrink: 0;
  border: 1.5px solid rgba(26,26,26,0.12); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.feature-item h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature-item p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 12px; }
.feature-cta { font-size: 0.9rem; font-weight: 600; color: var(--text); display: inline-flex; align-items: center; gap: 4px; }
.feature-cta:hover { gap: 8px; }

/* ===== HERO (other pages — cream variant) ===== */
.hero-cream { background: var(--cream); padding: 140px 0 80px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-content .subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-feed { margin: 0 auto; }
  .hero-stats { margin-left: auto; margin-right: auto; }
  .features-layout { grid-template-columns: 1fr; gap: 48px; }
  .mockup-stack { height: 400px; }
  .process-layout { grid-template-columns: 1fr; gap: 48px; }
  .alt-card { grid-template-columns: 1fr; }
  .examples-grid { grid-template-columns: 1fr; }
  .formulas-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .examples-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 20px; padding: 24px 20px; }
  .hero-stat-divider { width: 100%; height: 1px; margin: 0; }
  .process-flow { flex-wrap: wrap; }
  .nav-links {
    display: none; position: fixed; top: var(--nav-height); left: 0; right: 0;
    background: var(--dark); flex-direction: column; padding: 24px; gap: 16px;
    border-bottom: 1px solid var(--dark-border);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero-dark, .hero-cream { padding: 110px 0 64px; }
  .hero-content h1 { font-size: 2.4rem; }
  .section { padding: 72px 0; }

  .features-layout { grid-template-columns: 1fr; }
  .mockup-stack { height: 300px; margin-bottom: 24px; }
  .mockup-screen:nth-child(1) { height: 100px; }
  .mockup-screen:nth-child(2) { top: 50px; height: 100px; }
  .mockup-screen:nth-child(3) { top: 100px; height: 100px; }
  .mockup-screen:nth-child(4) { top: 150px; height: 140px; }

  .comparison-card { grid-template-columns: 1fr; }
  .comparison-arrow { top: auto; left: 50%; transform: translateX(-50%); }
  .comparison-side { padding: 36px 28px; }

  .formulas-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .alt-card { grid-template-columns: 1fr; }

  .process-layout { grid-template-columns: 1fr; gap: 36px; }
  .audit-card { padding: 36px 24px; }
  .formula-card { padding: 32px 24px; }
  .alt-card-content { padding: 36px 28px; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .hero-feed { display: none; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 2rem; }
  .section-header h2 { font-size: 1.6rem; }
  .comparison-side h3 { font-size: 1.2rem; }
}
