/* AAAS Landing v3 — Dataclay-inspired
 * Charte graphique conservée de v2
 * Layout & animations inspirés de dataclay.com/landing/try-dataclay-templater
 */

:root {
  /* Charte v2 conservée */
  --violet: #6E0DD0;
  --pink: #FF3CAC;
  --glow: #9B66FF;
  --cta: #6E0DD0;
  --cta-2: #FF3CAC;
  --bg: #0A0A0D;
  --bg-2: #101014;
  --surface: #15151A;
  --surface-2: #1A1A21;
  --border: rgba(255,255,255,0.06);
  --border-strong: rgba(255,255,255,0.11);
  --text: #F2F2F4;
  --muted: #9B9BA3;
  --dim: #5D5D68;
  --grad: linear-gradient(135deg, #6E0DD0 0%, #FF3CAC 100%);
  --grad-cta: linear-gradient(135deg, #6E0DD0 0%, #FF3CAC 100%);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Inter', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* v3 additions */
  --radius-card: 24px;
  --radius-btn: 999px;
  --shadow-elev: 0 24px 60px -20px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
  --shadow-glow-violet: 0 0 80px -10px rgba(155,102,255,0.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  font-weight: 300;
}
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg, video { display: block; max-width: 100%; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }
@media (max-width: 720px) { .container, .container-narrow { padding: 0 20px; } }

/* Typography */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 7.2vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  padding-bottom: 0.08em;
}
.display i { font-style: italic; color: var(--glow); }
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.h2 i { font-style: italic; color: var(--glow); }
.h3 { font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cta);
  box-shadow: 0 0 10px var(--cta);
}
.lead {
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.6;
  color: var(--muted);
  font-weight: 300;
  max-width: 56ch;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  font-weight: 500; font-size: 14px;
  letter-spacing: -0.005em;
  border-radius: var(--radius-btn);
  transition: all 0.35s var(--ease);
  font-family: var(--sans);
  white-space: nowrap;
}
.btn-cta {
  background: var(--cta);
  color: white;
  box-shadow: 0 12px 32px -10px rgba(255,94,58,0.55), inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -10px rgba(255,94,58,0.75), inset 0 1px 0 rgba(255,255,255,0.35); }
.btn-cta.violet { background: var(--grad); box-shadow: 0 12px 32px -10px rgba(255,60,172,0.55), inset 0 1px 0 rgba(255,255,255,0.22); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }

/* Navigation */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.3s var(--ease);
}
.nav.scrolled {
  background: rgba(10,10,13,0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.nav .logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  display: inline-flex; align-items: center; gap: 10px;
}
.nav .logo-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 12px rgba(155,102,255,0.6);
}
.nav-links { display: flex; gap: 28px; font-size: 13px; color: var(--muted); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 840px) { .nav-links { display: none; } }

/* Reveal-on-scroll base (JS adds .revealed) */
.pre-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.revealed { opacity: 1; transform: none; }

/* ======================================================================
   SECTION 1 — HERO
   ====================================================================== */
.hero {
  position: relative;
  padding: 140px 0 100px;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(110,13,208,0.22), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(255,60,172,0.12), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero-content > * + * { margin-top: 20px; }
.hero-content .display { margin-top: 24px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-media {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-elev), var(--shadow-glow-violet);
  aspect-ratio: 16/10;
}
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media-glow {
  position: absolute; inset: -2px;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, rgba(110,13,208,0.4), rgba(255,60,172,0.4));
  filter: blur(30px); z-index: -1; opacity: 0.6;
}
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ======================================================================
   SECTION 2 — TOOLS MARQUEE
   ====================================================================== */
.tools { padding: 100px 0; position: relative; }
.tools-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.tools-subtitle { color: var(--muted); font-size: 15px; margin-top: 16px; line-height: 1.5; }
.tools-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}
.tools-track {
  display: flex;
  gap: 64px;
  animation: marquee 60s linear infinite;
  width: max-content;
}
.tools-marquee:hover .tools-track { animation-play-state: paused; }
.tools-logo {
  flex-shrink: 0;
  display: flex; align-items: center;
  padding: 24px 40px;
  opacity: 0.55;
  filter: grayscale(1) brightness(1.5);
  transition: opacity 0.3s, filter 0.3s;
}
.tools-logo:hover { opacity: 1; filter: grayscale(0) brightness(1); }
.tools-logo img { height: 36px; width: auto; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ======================================================================
   SECTION 3 — VALUE PROP
   ====================================================================== */
.value { padding: 120px 0; text-align: center; }
.value-head { max-width: 760px; margin: 0 auto; }
.value-head > * + * { margin-top: 20px; }
.value-head .lead { margin-left: auto; margin-right: auto; }
.value-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 780px;
  margin: 56px auto 0;
}
@media (max-width: 720px) { .value-list { grid-template-columns: 1fr; } }
.value-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: left;
  font-size: 15px;
  line-height: 1.5;
}
.value-dot {
  flex-shrink: 0;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cta);
  box-shadow: 0 0 10px var(--cta);
  margin-top: 8px;
}

/* ======================================================================
   SECTIONS 4-8 — STICKY FEATURES
   ====================================================================== */
.features-sticky { padding: 80px 0; background: var(--bg-2); position: relative; }
.features-sticky-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}
.features-text-col {}
.features-text-stack {
  position: relative;
  display: flex; flex-direction: column;
  gap: 60vh;
  padding: 40vh 0 40vh 24px;
}
.features-progress {
  position: absolute;
  left: 0; top: 40vh; bottom: 40vh;
  width: 2px;
  background: var(--border);
  border-radius: 2px;
}
.features-progress-bar {
  width: 100%; height: 0%;
  background: var(--grad);
  border-radius: 2px;
  transition: height 0.15s linear;
}
.feat-block { padding: 12px 0; }
.feat-block > * + * { margin-top: 20px; }
.features-media-col {
  position: sticky;
  top: 120px;
  height: calc(100vh - 160px);
  max-height: 680px;
}
.features-media-stack {
  position: relative;
  width: 100%; height: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-elev), var(--shadow-glow-violet);
  background: var(--surface);
}
.feat-media {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  padding: 48px;
}
.feat-media.active { opacity: 1; pointer-events: auto; }

@media (max-width: 900px) {
  .features-sticky-inner { grid-template-columns: 1fr; gap: 40px; }
  .features-text-stack { gap: 20px; padding: 20px 0 20px 24px; }
  .feat-block { padding: 20px 0; }
  .features-media-col { position: static; height: auto; max-height: none; }
  .features-media-stack { aspect-ratio: 16/10; height: auto; }
  .features-progress { top: 20px; bottom: 20px; }
  .feat-media { opacity: 1 !important; position: relative; }
  .feat-media:not(:first-child) { display: none; }
}

/* --- Panel 0: Stack grid --- */
.feat-stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 440px;
}
.feat-stack-cell {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.3s, border-color 0.3s;
}
.feat-stack-cell:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.feat-stack-cell img { opacity: 0.85; filter: grayscale(0.3); }

/* --- Panel 1: Workflow diagram --- */
.feat-workflow { width: 100%; max-width: 460px; height: auto; }

/* --- Panel 2: Data pipelines --- */
.feat-data { width: 100%; max-width: 460px; display: flex; flex-direction: column; gap: 32px; }
.feat-data-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.feat-data-kpi {
  padding: 20px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
}
.feat-data-kpi-v { font-family: var(--serif); font-size: 28px; font-weight: 500; color: var(--cta); letter-spacing: -0.02em; }
.feat-data-kpi-l { font-family: var(--mono); font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.15em; margin-top: 4px; }
.feat-data-chart {
  width: 100%;
  height: 140px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
}

/* --- Panel 3: Chat --- */
.feat-chat { width: 100%; max-width: 460px; display: flex; flex-direction: column; gap: 12px; }
.feat-chat-row { display: flex; gap: 8px; align-items: flex-end; }
.feat-chat-row.user { justify-content: flex-end; }
.feat-chat-row.agent { justify-content: flex-start; }
.feat-chat-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  flex-shrink: 0;
}
.feat-chat-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  max-width: 75%;
}
.feat-chat-row.user .feat-chat-bubble { background: var(--surface-2); border: 1px solid var(--border); border-bottom-right-radius: 4px; }
.feat-chat-row.agent .feat-chat-bubble { background: rgba(155,102,255,0.12); border: 1px solid rgba(155,102,255,0.3); color: var(--text); border-bottom-left-radius: 4px; }

/* --- Panel 4: Code editor --- */
.feat-code { width: 100%; max-width: 460px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.feat-code-head { padding: 12px 16px; background: var(--bg-2); display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--border); }
.feat-code-dot { width: 10px; height: 10px; border-radius: 50%; }
.feat-code-dot.r { background: #FF5E57; }
.feat-code-dot.y { background: #FFBD2E; }
.feat-code-dot.g { background: #28C840; }
.feat-code-file { margin-left: 12px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.feat-code pre { padding: 20px; font-family: var(--mono); font-size: 12.5px; line-height: 1.65; color: var(--text); overflow: auto; }
.feat-code pre .c-kw { color: #FF3CAC; }
.feat-code pre .c-fn { color: #9B66FF; }
.feat-code pre .c-s  { color: #6E0DD0; }
.feat-code pre .c-n  { color: #FFBD2E; }
.feat-code pre .c-cm { color: var(--muted); font-style: italic; }

/* ======================================================================
   SECTION 9, 12 — MID-CTA / AUDIT-CTA (shared .mid-cta-box)
   ====================================================================== */
.mid-cta, .audit-cta { padding: 100px 0; }
.mid-cta-box {
  position: relative;
  padding: 90px 40px;
  border-radius: var(--radius-card);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.mid-cta-bg {
  position: absolute; inset: 0; z-index: -1;
  background: var(--grad);
  background-size: 200% 200%;
  animation: gradMove 12s ease infinite;
}
.mid-cta-bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
}
@keyframes gradMove { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ======================================================================
   SECTION 10 — PROCESS 3 STEPS
   ====================================================================== */
.process { padding: 120px 0; }
.process-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.process-head > * + * { margin-top: 16px; }
.process-head .lead { margin-left: auto; margin-right: auto; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr; } }
.process-card {
  padding: 40px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.process-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.process-card.featured {
  background: var(--surface-2);
  border-color: var(--violet);
  box-shadow: 0 0 40px -10px rgba(110,13,208,0.4);
  transform: scale(1.02);
}
.process-card-label {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cta);
  margin-bottom: 20px;
}
.process-card.featured .process-card-label { color: var(--glow); }
.process-card h3 { margin-bottom: 8px; }
.process-card-duration { color: var(--muted); font-size: 13px; font-family: var(--mono); margin-bottom: 24px; }
.process-bullets { list-style: none; padding: 0; }
.process-bullets li {
  padding: 10px 0 10px 24px;
  border-top: 1px solid var(--border);
  position: relative;
  font-size: 14px;
  color: var(--text);
}
.process-bullets li::before {
  content: ''; position: absolute; left: 0; top: 16px;
  width: 10px; height: 10px;
  border: 1.5px solid var(--cta);
  border-right: none; border-top: none;
  transform: rotate(-45deg) scale(0.6);
}
.process-bullets li:first-child { border-top: none; }

/* ======================================================================
   SECTION 11 — TESTIMONIALS
   ====================================================================== */
.testimonials { padding: 120px 0; }
.testimonials-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.testimonials-head > * + * { margin-top: 16px; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 720px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testi-card {
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  display: flex; flex-direction: column; gap: 24px;
}
.testi-quote {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-author img { border-radius: 50%; }
.testi-name { font-weight: 500; font-size: 14px; }
.testi-role { color: var(--muted); font-size: 12px; margin-top: 2px; }
.testi-metric {
  display: inline-block;
  margin-top: auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(155,102,255,0.1);
  border: 1px solid rgba(155,102,255,0.25);
  color: var(--glow);
  font-size: 12px;
  font-family: var(--mono);
  align-self: flex-start;
}

/* ======================================================================
   SECTION 13 — FAQ
   ====================================================================== */
.faq { padding: 120px 0; }
.faq-head { text-align: center; margin-bottom: 56px; }
.faq-head > * + * { margin-top: 16px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item[open] { border-color: var(--border-strong); }
.faq-q {
  list-style: none;
  padding: 24px 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--glow); }
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 300; font-size: 18px;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--glow);
  color: var(--bg);
  border-color: var(--glow);
}
.faq-a {
  padding: 0 28px 28px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}

/* ======================================================================
   SECTION 14 — CONTACT FORM
   ====================================================================== */
.lead-form { padding: 100px 0; background: var(--bg-2); }
.lead-form-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.lead-form-head > * + * { margin-top: 16px; }
.lead-form-form, .lead-form-success {
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 40px;
}
.lead-form-form label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.lead-form-form input, .lead-form-form select {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  font-size: 15px;
  font-family: var(--sans);
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lead-form-form input:focus, .lead-form-form select:focus {
  outline: none;
  border-color: var(--glow);
  box-shadow: 0 0 0 3px rgba(155,102,255,0.15);
}
.lead-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .lead-form-row { grid-template-columns: 1fr; } }
.lead-form-form button { margin-top: 8px; }
.lead-form-error {
  padding: 14px 18px;
  background: rgba(255,94,58,0.1);
  border: 1px solid rgba(255,94,58,0.3);
  border-radius: 12px;
  color: var(--cta);
  font-size: 13px;
  margin-bottom: 20px;
}
.lead-form-success { text-align: center; }
.lead-form-success h3 { font-size: 24px; margin-bottom: 12px; color: var(--glow); }

/* ======================================================================
   SECTION 15 — FOOTER
   ====================================================================== */
.footer {
  padding: 80px 0 40px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .logo { font-size: 24px; margin-bottom: 16px; }
.footer-tagline { color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.footer-addr { color: var(--dim); font-size: 13px; margin-bottom: 20px; }
.footer-social {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--muted);
  transition: all 0.2s;
}
.footer-social:hover { color: var(--glow); border-color: var(--glow); }
.footer-title {
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text); font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--glow); }
.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--dim);
}
.footer-madeby a { color: var(--muted); border-bottom: 1px dotted var(--dim); padding-bottom: 1px; }
.footer-madeby a:hover { color: var(--glow); border-color: var(--glow); }

/* ======================================================================
   FINAL POLISH — mobile tweaks, focus states, reduced-motion hardening
   ====================================================================== */
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 4px; }

/* Touch target minimums */
@media (max-width: 720px) {
  .btn { padding: 13px 22px; }
  .faq-q { padding: 20px 22px; min-height: 48px; }
  .nav { padding: 12px 0; }
  .nav.scrolled { padding: 10px 0; }
}

/* Prevent iOS zoom on input focus (font-size ≥ 16px already set for inputs) */
@media (max-width: 600px) {
  .lead-form-form input, .lead-form-form select { font-size: 16px; }
}

/* Reduced-motion: disable marquee + gradMove + bounce */
@media (prefers-reduced-motion: reduce) {
  .tools-track { animation: none !important; }
  .mid-cta-bg { animation: none !important; }
  .hero-scroll { animation: none !important; }
  .feat-media { opacity: 1 !important; position: relative; }
  .feat-media:not(:first-child) { display: none; }
  .features-text-stack { gap: 40px; padding: 40px 0 40px 24px; }
  .features-media-col { position: static; height: auto; max-height: none; }
  .features-media-stack { aspect-ratio: 16/10; height: auto; }
  .pre-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Skip link for a11y */
.skip-link {
  position: absolute; top: -100px; left: 20px;
  background: var(--glow); color: #fff;
  padding: 12px 18px; border-radius: 8px;
  font-weight: 500; font-size: 14px;
  z-index: 1000;
  transition: top 0.2s;
}
.skip-link:focus { top: 20px; }

/* ======================================================================
   CHARTE OFFICIELLE AAAS v2026 — overrides finaux
   Palette: #6E0DD0 / #FF3CAC / #9B66FF / #121212 / #C7C7C7 / #FFFFFF
   Fonts: Helvetica Neue stack (suppression Instrument Serif + Inter)
   ====================================================================== */
:root {
  --bg: #121212;
  --bg-2: #1A1A1A;
  --surface: #1F1F1F;
  --surface-2: #252525;
  --muted: #C7C7C7;
  --dim: #8A8A8A;
  --cta: #6E0DD0;
  --cta-2: #FF3CAC;
  --serif: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: Menlo, Monaco, 'Courier New', monospace;
  --grad-cta: linear-gradient(135deg, #6E0DD0 0%, #FF3CAC 100%);
}

/* Typography per charte (Helvetica) */
.display { font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.display i { font-style: italic; font-weight: 700; color: var(--glow); }
.h2 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.h2 i { font-style: italic; font-weight: 700; color: var(--glow); }
.h3 { font-weight: 400; }
body, .lead { font-weight: 300; }
.eyebrow { font-family: var(--mono); font-weight: 700; }
.testi-quote { font-family: var(--sans); font-weight: 400; font-style: italic; }

/* Logo images (replace text "AAAS") */
.nav .logo, .footer-brand .logo { font-size: 0; gap: 0; line-height: 1; }
.nav .logo img { height: 36px; width: auto; display: block; }
.footer-brand .logo img { height: 44px; width: auto; display: block; margin-bottom: 16px; }

/* CTA buttons: gradient violet→pink (charte officielle) */
.btn-cta {
  background: var(--grad-cta) !important;
  color: #FFFFFF !important;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 12px 32px -10px rgba(110,13,208,0.55), inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn-cta:hover {
  background: linear-gradient(135deg, #FF3CAC 0%, #6E0DD0 100%) !important;
  box-shadow: 0 18px 44px -10px rgba(255,60,172,0.7), inset 0 1px 0 rgba(255,255,255,0.35);
}

/* Tous les accents oranges → violet/glow (charte: pas d'orange) */
.eyebrow::before { background: var(--glow); box-shadow: 0 0 10px var(--glow); }
.value-dot { background: var(--glow); box-shadow: 0 0 10px var(--glow); }
.process-card-label { color: var(--glow); }
.process-bullets li::before { border-color: var(--glow); }
.feat-data-kpi-v { color: var(--glow); }
.feat-code pre .c-kw { color: #FF3CAC; }
.feat-code pre .c-fn { color: #9B66FF; }
.feat-code pre .c-s  { color: #C7C7C7; }
.feat-code pre .c-n  { color: #9B66FF; }
.feat-code pre .c-cm { color: var(--muted); }
.lead-form-error {
  background: rgba(255,60,172,0.1);
  border-color: rgba(255,60,172,0.3);
  color: var(--pink);
}

/* Hero & panel glows: violet/pink only */
.hero-media-glow { background: linear-gradient(135deg, rgba(110,13,208,0.5), rgba(255,60,172,0.5)); }
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(110,13,208,0.28), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(255,60,172,0.15), transparent 60%),
    var(--bg);
}

/* Hero scroll arrow color */
.hero-scroll { color: var(--muted); }

/* ======================================================================
   UX FIX — Suppression des dots (.eyebrow::before) + décorations vivantes
   ====================================================================== */
.eyebrow::before { display: none !important; }
.eyebrow { gap: 0; }

/* Orbes décoratifs gradient (responsive, position absolue) */
.hero { position: relative; }
.hero::before, .hero::after {
  content: ''; position: absolute; pointer-events: none;
  border-radius: 50%; filter: blur(80px); opacity: 0.35;
  z-index: 0;
}
.hero::before { top: 10%; left: -10%; width: 400px; height: 400px; background: radial-gradient(circle, #6E0DD0, transparent 70%); }
.hero::after  { bottom: 5%; right: -10%; width: 500px; height: 500px; background: radial-gradient(circle, #FF3CAC, transparent 70%); }

.value { position: relative; overflow: hidden; }
.value::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(155,102,255,0.12), transparent 65%);
  pointer-events: none; z-index: 0;
  border-radius: 50%;
}
.value > .container-narrow { position: relative; z-index: 1; }

.features-sticky { position: relative; overflow: hidden; }
.features-sticky::before {
  content: ''; position: absolute; top: 20%; right: -15%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(110,13,208,0.2), transparent 65%);
  filter: blur(60px); pointer-events: none; z-index: 0;
  border-radius: 50%;
}

.testimonials { position: relative; overflow: hidden; }
.testimonials::before {
  content: ''; position: absolute; top: -10%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,60,172,0.15), transparent 65%);
  filter: blur(60px); pointer-events: none; z-index: 0;
  border-radius: 50%;
}
.testimonials > .container { position: relative; z-index: 1; }

.faq { position: relative; overflow: hidden; }
.faq::before {
  content: ''; position: absolute; bottom: 10%; right: -10%;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(110,13,208,0.18), transparent 65%);
  filter: blur(70px); pointer-events: none; z-index: 0;
  border-radius: 50%;
}
.faq > .container-narrow { position: relative; z-index: 1; }

/* Stats band décoratif entre value et sticky features */
.stats-band {
  padding: 60px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(110,13,208,0.08), transparent);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  position: relative;
}
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-item { padding: 12px; }
.stat-num {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #9B66FF 0%, #FF3CAC 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  color: var(--muted);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* Icônes process cards */
.process-card-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(155,102,255,0.1);
  border: 1px solid rgba(155,102,255,0.3);
  border-radius: 16px;
  margin-bottom: 20px;
  color: var(--glow);
}
.process-card.featured .process-card-icon {
  background: linear-gradient(135deg, rgba(110,13,208,0.3), rgba(255,60,172,0.3));
  border-color: var(--violet);
  color: #fff;
}
.process-card-icon svg { width: 28px; height: 28px; }

/* Section image décorative */
.decoration-strip {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.decoration-strip-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
@media (max-width: 720px) { .decoration-strip-grid { grid-template-columns: repeat(3, 1fr); } }
.deco-tile {
  aspect-ratio: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease), border-color 0.3s;
  padding: 14px;
}
.deco-tile:hover { transform: translateY(-4px) scale(1.05); border-color: var(--glow); }
.deco-tile.gradient {
  background: linear-gradient(135deg, #6E0DD0, #FF3CAC);
  border: none;
  position: relative;
  overflow: hidden;
}
.deco-tile.gradient::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), transparent 60%);
}
.deco-tile svg { width: 100%; height: 100%; max-width: 50px; }
.deco-tile-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 20px;
}

/* ======================================================================
   UX FIX — suppression décoration-strip, logos blancs, photos réelles
   ====================================================================== */
/* Hide decoration-strip CSS in case residual */
.decoration-strip { display: none !important; }

/* All tool logos → blanc pur (uniformité) */
.tools-logo img { filter: brightness(0) invert(1); opacity: 0.7; transition: opacity 0.3s; }
.tools-logo:hover img { opacity: 1; filter: brightness(0) invert(1); }
.tools-logo { filter: none; } /* reset parent */
.feat-stack-cell img { filter: brightness(0) invert(1); opacity: 0.85; }

/* Photo band section (entre stats et features) */
.photo-band {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  isolation: isolate;
}
.photo-band-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.photo-band-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18,18,18,0.85) 0%, rgba(18,18,18,0.75) 50%, rgba(18,18,18,0.9) 100%);
}
.photo-band-content { position: relative; z-index: 1; text-align: center; max-width: 780px; }
.photo-band-content > * + * { margin-top: 20px; }
.photo-band-content .lead { margin-left: auto; margin-right: auto; }

/* Audit CTA avec background photo */
.audit-cta .mid-cta-box.photo-bg {
  padding: 120px 40px;
  isolation: isolate;
}
.photo-bg-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: -1;
  mix-blend-mode: screen;
}
.mid-cta-box.photo-bg .mid-cta-bg { opacity: 0.7; }

/* Responsive tweaks pour photos */
@media (max-width: 720px) {
  .photo-band { padding: 80px 0; }
  .audit-cta .mid-cta-box.photo-bg { padding: 80px 24px; }
}

/* ======================================================================
   FIX STICKY SCROLL — retrait overflow:hidden qui bloquait position:sticky
   Utilisation de overflow:clip (ne crée pas de scroll ancestor)
   ====================================================================== */
.features-sticky { overflow: clip !important; }
/* Fallback pour navigateurs sans overflow:clip : l'orb disparaît mais sticky marche */
@supports not (overflow: clip) {
  .features-sticky { overflow: visible !important; }
  .features-sticky::before { display: none; }
}

/* ======================================================================
   HERO VIDEO — adaptation responsive (desktop plus grand, mobile compact)
   ====================================================================== */
.hero-media { aspect-ratio: 16/10; }
@media (min-width: 1200px) {
  .hero-media { aspect-ratio: 16/11; } /* un peu plus haut sur grand écran */
}
@media (max-width: 900px) {
  .hero-media { aspect-ratio: 16/9; max-height: 50vh; } /* plus compact sur tablet/mobile */
}
@media (max-width: 500px) {
  .hero-media { aspect-ratio: 4/3; max-height: 45vh; }
  .hero { padding: 120px 0 80px; }
}

/* ======================================================================
   HERO UX/UI PRO REBALANCE — media-dominant (55/45), typo réduite,
   proof element + floating trust badges
   ====================================================================== */

/* Typo H1 hero : réduire de 104px max → 72px max (ui-ux-pro guide) */
.hero .display {
  font-size: clamp(40px, 5vw, 68px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.025em;
  font-weight: 700;
  max-width: 14ch; /* forcer cassure optimale */
}

/* Hero layout : média plus grand que texte (45/55) */
.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) !important;
  gap: 48px !important;
  align-items: center;
}

/* Hero container : réduire padding vertical & min-height */
.hero {
  padding: 110px 0 80px !important;
  min-height: 88vh !important;
}

/* Lead text : contraste et line-height optimisés */
.hero-content .lead {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.55;
  max-width: 50ch;
}

/* Hero media : aspect plus carré pour remplir plus d'espace vertical */
.hero-media {
  aspect-ratio: 4/3 !important;
  position: relative;
  max-height: 560px;
}

/* Proof element sous les CTA */
.hero-proof {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
.hero-proof-stars {
  color: #FFD700;
  letter-spacing: 2px;
  font-size: 14px;
  text-shadow: 0 0 8px rgba(255,215,0,0.4);
}
.hero-proof-txt strong {
  color: var(--text);
  font-weight: 700;
}

/* Floating trust badges sur la vidéo */
.hero-badge {
  position: absolute;
  z-index: 3;
  background: rgba(31, 31, 31, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(155, 102, 255, 0.3);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 12px;
  font-family: var(--sans);
  font-weight: 500;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 20px rgba(110,13,208,0.2);
  animation: badge-float 4s ease-in-out infinite;
}
.hero-badge-tl {
  top: 24px; left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  animation-delay: 0s;
}
.hero-badge-br {
  bottom: 24px; right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  animation-delay: 2s;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4CAF82;
  box-shadow: 0 0 10px #4CAF82;
  animation: pulse-green 1.5s ease-in-out infinite;
}
.hero-badge-chk {
  color: #4CAF82;
  font-weight: 700;
  margin-left: 4px;
}
.hero-badge-bignum {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #9B66FF, #FF3CAC);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-badge-lbl {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes pulse-green {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(1.2); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) !important; gap: 32px !important; }
  .hero .display { font-size: clamp(36px, 4.5vw, 54px) !important; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .hero { padding: 100px 0 60px !important; min-height: auto !important; }
  .hero .display { font-size: clamp(34px, 7vw, 48px) !important; max-width: none; }
  .hero-media { aspect-ratio: 16/9 !important; max-height: 400px; }
  .hero-badge-tl { top: 16px; left: 16px; font-size: 11px; padding: 8px 12px; }
  .hero-badge-br { bottom: 16px; right: 16px; padding: 10px 14px; }
  .hero-badge-bignum { font-size: 22px; }
  .hero-proof { flex-wrap: wrap; font-size: 12px; }
}
@media (max-width: 560px) {
  .hero .display { font-size: clamp(30px, 8vw, 40px) !important; }
  .hero-media { aspect-ratio: 16/10 !important; max-height: 260px; }
  .hero-badge-br { display: none; } /* éviter surcharge sur petit écran */
  .hero-proof-txt { font-size: 11px; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-ctas .btn { justify-content: center; }
}

/* Cacher la flèche scroll si la vidéo est très courte (petit écran) */
@media (max-height: 640px) {
  .hero-scroll { display: none; }
}


/* ======================================================================
   RÈGLE ABSOLUE — aucun point clignotant/pulsant
   (feedback utilisateur : jamais de blinking dots dans AAAS/MWS/HY-WAY)
   ====================================================================== */
.hero-badge-dot {
  animation: none !important;
  width: 16px !important;
  height: 16px !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  position: relative;
}
.hero-badge-dot::before {
  content: '\2713';  /* ✓ checkmark unicode */
  display: block;
  color: #4CAF82;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
/* Garde-fou : supprime toute animation pulse/blink résiduelle */
@keyframes pulse-green { 0%, 100% { opacity: 1; } }  /* keyframe neutralisé */
[class*="-dot"]:not(.feat-code-dot) { animation: none !important; }

/* ======================================================================
   NAV PILL FLOTTANT (inspiration AetherSphere + OnentX)
   ====================================================================== */
.nav {
  top: 20px !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%);
  width: auto;
  max-width: calc(100% - 40px);
  padding: 12px 28px !important;
  background: rgba(31, 31, 31, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}
.nav.scrolled {
  top: 14px !important;
  background: rgba(18, 18, 18, 0.92) !important;
  border-color: rgba(155, 102, 255, 0.25);
  box-shadow: 0 14px 48px rgba(0,0,0,0.5), 0 0 32px rgba(110,13,208,0.18);
  padding: 10px 24px !important;
}
.nav-inner { min-width: 620px; gap: 40px; }
.nav-inner .nav-right .btn {
  padding: 9px 18px !important;
  font-size: 12px !important;
  border-radius: 999px !important;
}
.hero { padding-top: 130px !important; }

/* ======================================================================
   HERO CARD FLOTTANTE (inspiration OnentX : avatars + action + timestamp)
   ====================================================================== */
.hero-card {
  position: absolute;
  z-index: 3;
  background: rgba(31, 31, 31, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(155, 102, 255, 0.28);
  border-radius: 18px;
  padding: 14px 18px 14px 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 32px rgba(110,13,208,0.2);
  animation: badge-float 5s ease-in-out infinite;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-card-mid {
  left: -32px;
  top: 48%;
  transform: translateY(-50%);
  animation-delay: 1s;
  max-width: 260px;
}
.hero-card-avatars {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.hero-card-avatars img {
  width: 34px;
  height: 34px;
  padding: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(155,102,255,0.35);
  border-radius: 50%;
  margin-left: -10px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.hero-card-avatars img:first-child { margin-left: 0; }
.hero-card-body { flex: 1; min-width: 0; }
.hero-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  white-space: nowrap;
}
.hero-card-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
  white-space: nowrap;
}
.hero-card-sub span { color: var(--glow); font-weight: 600; }

/* Responsive pill nav + cards */
@media (max-width: 900px) {
  .nav { padding: 10px 18px !important; max-width: calc(100% - 24px); }
  .nav-inner { min-width: 0; gap: 16px; }
  .hero-card-mid { left: 16px; top: auto; bottom: 80px; transform: none; max-width: 220px; }
  .hero-card-title { font-size: 12px; }
  .hero-card-avatars img { width: 28px; height: 28px; padding: 5px; }
}
@media (max-width: 560px) {
  .nav-inner .nav-right .btn { padding: 7px 12px !important; font-size: 11px !important; }
  .hero-card-mid { display: none; } /* priorité au H1 sur petit écran */
}

/* ======================================================================
   HERO V2 — Full-bg cinematic (inspiration AetherSphere) + mobile menu
   ====================================================================== */

/* Hero conteneur full-viewport avec vidéo fond */
.hero.hero-v2 {
  position: relative;
  min-height: 92vh;
  padding: 140px 20px 100px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background: none !important;
}
.hero.hero-v2::before, .hero.hero-v2::after { display: none !important; }

/* Vidéo full-bg (fallback poster si vidéo coupée) */
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.55;
}

/* Overlay gradient pour lisibilité */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(110,13,208,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 70% 70%, rgba(255,60,172,0.2) 0%, transparent 60%),
    linear-gradient(180deg, rgba(18,18,18,0.3) 0%, rgba(18,18,18,0.8) 60%, rgba(18,18,18,1) 100%);
}

/* Contenu centré */
.hero-content-center {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-content-center > * + * { margin-top: 24px; }
.hero-content-center .display {
  font-size: clamp(40px, 6vw, 84px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: none !important;
  color: #fff;
}
.hero-content-center .display br { display: inline; }
.hero-content-center .lead {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.hero-content-center .hero-ctas {
  justify-content: center;
  margin-top: 32px;
}
.hero-content-center .hero-proof {
  justify-content: center;
  margin-top: 28px;
}

/* Badge pill AI au-dessus du H1 */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(31, 31, 31, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(155, 102, 255, 0.35);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 24px rgba(110,13,208,0.15);
}

/* Neutralise ancien hero-grid / hero-media */
.hero-v2 .hero-grid, .hero-v2 .hero-content, .hero-v2 .hero-media,
.hero-v2 .hero-media-glow, .hero-v2 .hero-badge, .hero-v2 .hero-card { display: none !important; }

/* ======================================================================
   NAV PILL FLOTTANT + MOBILE MENU
   ====================================================================== */
.nav {
  position: fixed !important;
  top: 20px !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%);
  width: auto;
  max-width: calc(100% - 32px);
  padding: 10px 28px !important;
  background: rgba(31, 31, 31, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
  z-index: 100;
}
.nav.scrolled {
  top: 14px !important;
  background: rgba(18, 18, 18, 0.92) !important;
  border-color: rgba(155, 102, 255, 0.25);
  box-shadow: 0 14px 48px rgba(0,0,0,0.5), 0 0 32px rgba(110,13,208,0.18);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-width: 620px;
}
.nav .logo { flex-shrink: 0; }
.nav .logo img { height: 32px; width: auto; display: block; }
.nav-links { display: flex; gap: 24px; font-size: 13px; color: var(--muted); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-right .btn.nav-cta-desktop {
  padding: 8px 18px !important;
  font-size: 12px !important;
  border-radius: 999px !important;
}

/* Hamburger button */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile overlay menu */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-mobile.open {
  opacity: 1;
  pointer-events: auto;
}
.nav-mobile-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
  padding: 40px;
  width: 100%;
  max-width: 400px;
}
.nav-mobile-inner a:not(.btn) {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--sans);
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.nav-mobile-inner a:not(.btn):hover,
.nav-mobile-inner a:not(.btn):active { color: var(--glow); }
.nav-mobile-inner .btn { width: 100%; justify-content: center; font-size: 15px !important; padding: 14px 24px !important; }

/* Responsive breakpoints */
@media (max-width: 840px) {
  .nav-inner { min-width: 0; gap: 16px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-right .btn.nav-cta-desktop { display: none; }
  .nav { padding: 8px 14px 8px 20px !important; max-width: calc(100% - 24px); }
}

/* Hero content tighter on mobile */
@media (max-width: 720px) {
  .hero.hero-v2 { padding: 130px 20px 80px !important; min-height: 88vh; }
  .hero-content-center .display { font-size: clamp(32px, 8vw, 52px) !important; }
  .hero-content-center .display br { display: none; } /* Flow naturel plus lisible */
  .hero-content-center .lead { font-size: 15px; }
  .hero-content-center .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-content-center .hero-ctas .btn { justify-content: center; }
  .hero-badge-pill { font-size: 11px; padding: 6px 14px; }
  .hero-bg-video { opacity: 0.3; } /* moins distracting sur mobile */
}
@media (max-width: 400px) {
  .hero-content-center .display { font-size: clamp(28px, 9vw, 40px) !important; }
  .hero-proof { font-size: 11px !important; }
}

/* ======================================================================
   FIX MOBILE HERO — cadrage strict, word-wrap, padding safe
   ====================================================================== */
.hero.hero-v2 {
  padding-left: max(20px, env(safe-area-inset-left)) !important;
  padding-right: max(20px, env(safe-area-inset-right)) !important;
  overflow-x: clip !important;
}
.hero-content-center {
  width: 100%;
  max-width: min(920px, 100%);
  padding: 0 !important;
  box-sizing: border-box;
}
.hero-content-center .display,
.hero-content-center .lead,
.hero-content-center .hero-proof-txt {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100% !important;
}

/* Proof row : stack en 2 lignes sur mobile au lieu de flex overflow */
@media (max-width: 640px) {
  .hero-content-center .hero-proof {
    flex-direction: column;
    gap: 6px;
    font-size: 11px;
  }
  .hero-content-center .hero-proof-txt {
    text-align: center;
    line-height: 1.4;
  }
}

/* Hero padding vertical + typo encore plus sûre sur petits écrans */
@media (max-width: 560px) {
  .hero.hero-v2 { padding: 120px 16px 72px !important; min-height: auto; }
  .hero-content-center .display {
    font-size: clamp(26px, 7.5vw, 40px) !important;
    line-height: 1.08 !important;
  }
  .hero-content-center .lead { font-size: 14px; line-height: 1.5; }
  .hero-content-center .hero-ctas { gap: 10px; }
  .hero-content-center .hero-ctas .btn { padding: 13px 20px !important; font-size: 13px; }
  .hero-badge-pill { font-size: 10.5px; padding: 6px 12px; gap: 6px; }
  .hero-badge-pill svg { width: 12px; height: 12px; }
  .hero-scroll { bottom: 20px; }
}
@media (max-width: 380px) {
  .hero-content-center .display { font-size: clamp(24px, 8vw, 34px) !important; }
  .hero.hero-v2 { padding: 110px 14px 60px !important; }
}




/* ======================================================================
   VALUE CARDS — FINAL — image-top layout (clean rewrite)
   Spécificité haute via .value-list.value-list pour écraser ancien cascade
   ====================================================================== */
.value-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 64px auto 0;
  padding: 0;
}
.value-list .value-item {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  background: linear-gradient(135deg, rgba(31,31,31,0.92), rgba(31,31,31,0.6)) !important;
  border: 1px solid rgba(155,102,255,0.15) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  position: relative;
  transition: transform 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
  align-items: stretch !important;
}
.value-list .value-item:hover {
  transform: translateY(-6px);
  border-color: rgba(155,102,255,0.45) !important;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 40px rgba(110,13,208,0.2);
}

.value-list .value-img {
  width: 100% !important;
  height: 200px !important;
  position: relative !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  display: block !important;
}
.value-list .value-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  transition: transform 0.7s var(--ease), filter 0.5s !important;
  filter: saturate(0.85) brightness(0.88) !important;
  position: static !important;
  inset: auto !important;
}
.value-list .value-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,18,18,0) 35%, rgba(18,18,18,0.9) 100%);
  pointer-events: none;
  z-index: 1;
}
.value-list .value-item:hover .value-img img {
  transform: scale(1.08);
  filter: saturate(1.1) brightness(1) !important;
}

.value-list .value-txt {
  padding: 22px 26px 24px !important;
  flex: 1 !important;
  display: block !important;
  min-width: 0;
}
.value-list .value-title {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em !important;
}
.value-list .value-desc {
  font-size: 14px !important;
  color: var(--muted) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Stat pill positionné en overlay sur le coin haut-droit de l'image */
.value-list .value-stat {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  z-index: 3 !important;
  padding: 8px 16px !important;
  background: rgba(18,18,18,0.88) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(155,102,255,0.4) !important;
  border-radius: 999px !important;
  font-family: var(--serif) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--glow) !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  -webkit-text-fill-color: var(--glow) !important;
  transition: all 0.5s var(--ease);
  letter-spacing: -0.01em;
}
.value-list .value-item:hover .value-stat {
  background: linear-gradient(135deg, #6E0DD0, #FF3CAC) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 10px 30px rgba(155,102,255,0.4);
  transform: translateY(-2px);
}

/* Scroll-reveal staggered */
.value-list .value-item.pre-reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.value-list .value-item.revealed { opacity: 1; transform: translateY(0); }
.value-list .value-item:nth-child(1).pre-reveal { transition-delay: 0s; }
.value-list .value-item:nth-child(2).pre-reveal { transition-delay: 0.1s; }
.value-list .value-item:nth-child(3).pre-reveal { transition-delay: 0.2s; }
.value-list .value-item:nth-child(4).pre-reveal { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 900px) {
  .value-list { grid-template-columns: 1fr; gap: 16px; margin-top: 48px; }
  .value-list .value-img { height: 220px !important; }
}
@media (max-width: 560px) {
  .value-list .value-img { height: 180px !important; }
  .value-list .value-txt { padding: 18px 20px 20px !important; }
  .value-list .value-title { font-size: 15px !important; }
  .value-list .value-desc { font-size: 13px !important; }
  .value-list .value-stat { font-size: 17px !important; padding: 6px 14px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .value-list .value-item:hover { transform: none; }
  .value-list .value-item:hover .value-img img { transform: none; }
}

/* Kill dead rules (.value-dot résiduels) */
.value-dot, .value-icon { display: none !important; }
