/* ==============================================================
   VISION ANALYTICS — COSMIC EDITION V2
   Design system : Dark space + planetary ambiences
   ============================================================== */

:root {
  /* ===== PALETTE COSMIQUE GLOBALE ===== */
  --space-deep: #050814;
  --space-mid: #0a1128;
  --space-light: #12193d;

  /* Accents principaux */
  --ink: #f4f1ea;
  --ink-2: #d8d3c4;
  --ink-3: #9a9487;
  --ink-4: #5a5649;

  --accent-primary: #ffd88a;
  --accent-glow: #ffcb6b;
  --accent-deep: #c49a3e;

  /* Planètes — couleurs dominantes */
  --earth-blue: #1e3a5f;
  --earth-ocean: #0d1f33;
  --earth-green: #2d5016;

  --mars-red: #8b3a1f;
  --mars-orange: #c4652e;
  --mars-rust: #5a2a14;

  --moon-grey: #4a4a52;
  --moon-pearl: #d5d2c7;
  --moon-shadow: #2a2a32;

  --saturn-gold: #c9a961;
  --saturn-cream: #e8d5a8;
  --saturn-brown: #8b6f3c;

  --neptune-deep: #1a3a6e;
  --neptune-turquoise: #4a9ec9;
  --neptune-shadow: #0d2040;

  --jupiter-orange: #d4813a;
  --jupiter-cream: #e8c294;
  --jupiter-band: #a85c1f;

  --milkyway-violet: #4a2870;
  --milkyway-rose: #c94a7f;
  --milkyway-deep: #1a0a2e;

  /* Typo */
  --font-sans: 'Geist', -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Rythme */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: 128px;
  --space-xxl: 200px;

  /* Transitions */
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* Bordures et glows */
  --border-subtle: rgba(244, 241, 234, 0.08);
  --border-mid: rgba(244, 241, 234, 0.15);
  --border-strong: rgba(244, 241, 234, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--space-deep);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  font-feature-settings: 'ss01', 'kern', 'liga';
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

/* ===== FOND COSMIQUE GLOBAL ===== */
.cosmic-background {
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  overflow: hidden;
}

#starfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  mix-blend-mode: screen;
  will-change: transform;
}

.nebula-1 {
  width: 800px;
  height: 800px;
  top: -200px;
  left: -200px;
  background: radial-gradient(circle, var(--milkyway-violet) 0%, transparent 70%);
  animation: nebula-drift-1 60s ease-in-out infinite;
}

.nebula-2 {
  width: 600px;
  height: 600px;
  top: 40%;
  right: -150px;
  background: radial-gradient(circle, var(--neptune-deep) 0%, transparent 70%);
  animation: nebula-drift-2 80s ease-in-out infinite;
}

.nebula-3 {
  width: 900px;
  height: 900px;
  bottom: -300px;
  left: 30%;
  background: radial-gradient(circle, var(--mars-red) 0%, transparent 70%);
  animation: nebula-drift-3 70s ease-in-out infinite;
  opacity: 0.2;
}

@keyframes nebula-drift-1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(100px, 50px); }
}

@keyframes nebula-drift-2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-80px, 100px); }
}

@keyframes nebula-drift-3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(60px, -80px); }
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(5, 8, 20, 0.6);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s var(--ease);
}

.site-header.scrolled {
  padding: 14px 0;
  background: rgba(5, 8, 20, 0.85);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: opacity 0.2s var(--ease);
}

.brand:hover {
  opacity: 0.8;
}

.brand-mark {
  width: 32px;
  height: 32px;
  color: var(--accent-primary);
  position: relative;
  filter: drop-shadow(0 0 8px rgba(255, 216, 138, 0.4));
}

.brand-mark .orbit-dot {
  animation: orbit-rotate 4s linear infinite;
  transform-origin: 16px 16px;
}

@keyframes orbit-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.primary-nav a {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}

.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-primary);
  transition: width 0.3s var(--ease);
}

.primary-nav a:hover {
  color: var(--ink);
}

.primary-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--accent-primary);
  color: var(--space-deep);
  border-radius: 100px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -0.005em;
  transition: all 0.2s var(--ease);
  box-shadow: 0 0 0 0 rgba(255, 216, 138, 0.4), 0 0 20px rgba(255, 216, 138, 0.15);
}

.btn-primary-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px rgba(255, 216, 138, 0.15), 0 0 30px rgba(255, 216, 138, 0.3);
}

.btn-primary-sm svg {
  width: 14px;
  height: 14px;
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 140px 32px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.satellite-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.8;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255, 216, 138, 0.08);
  border: 1px solid rgba(255, 216, 138, 0.2);
  border-radius: 100px;
  font-size: 13px;
  color: var(--accent-primary);
  margin-bottom: 32px;
  font-weight: 500;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--accent-primary);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 216, 138, 0.7); }
  50% { box-shadow: 0 0 0 8px rgba(255, 216, 138, 0); }
}

.hero-title {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 32px;
}

.hero-title em {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--accent-primary);
  background: linear-gradient(180deg, var(--accent-primary) 0%, var(--accent-glow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-line-1, .hero-line-2, .hero-line-3 {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: hero-reveal 1s var(--ease-out) forwards;
}

.hero-line-1 { animation-delay: 0.2s; }
.hero-line-2 { animation-delay: 0.4s; }
.hero-line-3 { animation-delay: 0.6s; }

@keyframes hero-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-lede {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 720px;
  margin: 0 auto 48px;
  opacity: 0;
  animation: hero-reveal 1s var(--ease-out) 0.8s forwards;
}

.hero-lede strong {
  color: var(--ink);
  font-weight: 500;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
  opacity: 0;
  animation: hero-reveal 1s var(--ease-out) 1s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--accent-primary);
  color: var(--space-deep);
  border-radius: 100px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: all 0.3s var(--ease);
  box-shadow: 0 0 40px rgba(255, 216, 138, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s var(--ease), height 0.6s var(--ease);
}

.btn-primary:hover::before {
  width: 400px;
  height: 400px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(255, 216, 138, 0.4);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  position: relative;
  z-index: 1;
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: rgba(244, 241, 234, 0.04);
  color: var(--ink);
  border: 1px solid var(--border-mid);
  border-radius: 100px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: all 0.3s var(--ease);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(244, 241, 234, 0.08);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.btn-ghost svg {
  width: 18px;
  height: 18px;
  color: var(--accent-primary);
}

/* ===== HERO STATS ===== */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 32px 48px;
  background: rgba(244, 241, 234, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
  opacity: 0;
  animation: hero-reveal 1s var(--ease-out) 1.2s forwards;
}

.stat {
  text-align: center;
  min-width: 120px;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 400;
  line-height: 1;
  color: var(--accent-primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border-subtle);
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: hero-reveal 1s var(--ease-out) 1.5s forwards;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, transparent 0%, var(--ink-3) 100%);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(180deg, transparent 0%, var(--accent-primary) 100%);
  animation: scroll-down 2s linear infinite;
}

@keyframes scroll-down {
  0% { top: -50%; }
  100% { top: 100%; }
}

.scroll-indicator span {
  font-size: 11px;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
}

/* ===== SOURCES TICKER ===== */
.sources-ticker {
  position: relative;
  z-index: 2;
  padding: 24px 0;
  background: linear-gradient(180deg, var(--space-deep) 0%, var(--space-mid) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.ticker-track {
  display: flex;
  gap: 48px;
  align-items: center;
  animation: ticker-scroll 60s linear infinite;
  width: fit-content;
  white-space: nowrap;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.icon-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
  border-radius: 50%;
  opacity: 0.6;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== SECTION LABEL COMMUN ===== */
.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1400px;
  margin: 0 auto 64px;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

.section-label .num {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--accent-primary);
  font-style: italic;
  letter-spacing: 0.02em;
}

.section-label .lbl {
  font-size: 12px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  flex: 1;
}

.section-label::before,
.section-label::after {
  content: '';
  display: none;
}

.section-label::after {
  display: block;
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-mid) 0%, transparent 100%);
}

/* ===== CONTAINERS ===== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

/* ===== TITRES COMMUNS ===== */
.section-title {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 32px;
}

.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-primary);
}

.section-lede {
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 720px;
  margin-bottom: 64px;
}

.subsection-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
}

.subsection-lede {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 640px;
  margin-bottom: 48px;
}

/* ================================================
   SECTION PRODUITS — AMBIANCE TERRE
   ================================================ */
.products-section {
  position: relative;
  padding: var(--space-xl) 0;
  background: linear-gradient(180deg,
    var(--space-mid) 0%,
    var(--earth-ocean) 40%,
    var(--earth-blue) 100%
  );
  overflow: hidden;
}

.products-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(45, 80, 22, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(30, 58, 95, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.products-intro {
  max-width: 1400px;
  margin: 0 auto 96px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 96px;
}

.product-card {
  position: relative;
  padding: 48px 40px;
  background: rgba(5, 8, 20, 0.4);
  border: 1px solid var(--border-mid);
  border-radius: 24px;
  backdrop-filter: blur(24px);
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.product-orbit {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  opacity: 0.3;
  pointer-events: none;
}

.product-orbit::before,
.product-orbit::after {
  content: '';
  position: absolute;
  inset: 40px;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
}

.product-orbit::after {
  inset: 80px;
}

.product-exploratoire {
  background: linear-gradient(135deg,
    rgba(45, 80, 22, 0.15) 0%,
    rgba(5, 8, 20, 0.4) 100%
  );
}

.product-juridique {
  background: linear-gradient(135deg,
    rgba(30, 58, 95, 0.2) 0%,
    rgba(5, 8, 20, 0.4) 100%
  );
}

.product-header {
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 216, 138, 0.08);
  border: 1px solid rgba(255, 216, 138, 0.2);
  border-radius: 100px;
  font-size: 12px;
  color: var(--accent-primary);
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}

.badge-dot {
  width: 5px;
  height: 5px;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-primary);
}

.product-title {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
}

.product-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent-primary);
}

.product-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-3);
  line-height: 1.5;
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 24px;
  background: rgba(5, 8, 20, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  margin-bottom: 32px;
}

.spec {
  text-align: center;
}

.spec-value {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.spec-label {
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.product-features {
  list-style: none;
  margin-bottom: 40px;
}

.product-features li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}

.product-features li:last-child {
  border-bottom: none;
}

.check-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--accent-primary);
  margin-top: 2px;
}

.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: rgba(244, 241, 234, 0.05);
  border: 1px solid var(--border-mid);
  border-radius: 100px;
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s var(--ease);
}

.product-cta:hover {
  background: rgba(244, 241, 234, 0.1);
  border-color: var(--border-strong);
}

.product-cta-primary {
  background: var(--accent-primary);
  color: var(--space-deep);
  border-color: var(--accent-primary);
}

.product-cta-primary:hover {
  background: var(--accent-glow);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(255, 216, 138, 0.3);
}

.product-cta svg {
  width: 14px;
  height: 14px;
}

/* Pullquote */
.product-quote {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 40px;
  text-align: center;
}

.quote-mark {
  width: 48px;
  height: 48px;
  color: var(--accent-primary);
  margin: 0 auto 24px;
}

.product-quote p {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.4;
  color: var(--ink);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.product-quote em {
  color: var(--accent-primary);
}

/* ================================================
   SECTION MÉTHODE — AMBIANCE MARS
   ================================================ */
.method-section {
  position: relative;
  padding: var(--space-xl) 0;
  background: linear-gradient(180deg,
    var(--earth-blue) 0%,
    var(--mars-rust) 50%,
    var(--mars-red) 100%
  );
  overflow: hidden;
}

.method-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(196, 101, 46, 0.25) 0%, transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(139, 58, 31, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.method-intro {
  max-width: 900px;
  margin: 0 auto 96px;
  text-align: center;
}

.method-intro .section-title {
  margin: 0 auto 32px;
}

.method-intro .section-lede {
  margin: 0 auto;
}

.method-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto 128px;
}

.method-timeline::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--accent-primary) 10%,
    var(--accent-primary) 90%,
    transparent 100%
  );
  opacity: 0.4;
}

.method-step {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 32px 0;
}

.step-marker {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mars-rust);
  border: 2px solid var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(255, 216, 138, 0.3);
  z-index: 2;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--accent-primary);
  font-weight: 400;
}

.step-pulse {
  position: absolute;
  inset: -2px;
  border: 2px solid var(--accent-primary);
  border-radius: 50%;
  opacity: 0;
  animation: step-pulse 2.5s ease-out infinite;
}

@keyframes step-pulse {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.8); }
}

.step-content {
  padding-top: 12px;
}

.step-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.step-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 16px;
}

.step-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.meta-tag {
  display: inline-flex;
  padding: 6px 12px;
  background: rgba(5, 8, 20, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.01em;
  font-family: var(--font-mono);
}

/* Sources section */
.sources-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 0;
  border-top: 1px solid var(--border-subtle);
}

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

.source-card {
  padding: 28px;
  background: rgba(5, 8, 20, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  transition: all 0.3s var(--ease);
}

.source-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-mid);
  background: rgba(5, 8, 20, 0.6);
}

.source-icon {
  font-size: 32px;
  margin-bottom: 16px;
  filter: grayscale(20%);
}

.source-name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.source-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
}

.source-meta strong {
  color: var(--accent-primary);
  font-weight: 500;
}

.source-desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}

/* ================================================
   SECTION DÉMO — AMBIANCE LUNE
   ================================================ */
.demo-section {
  position: relative;
  padding: var(--space-xl) 0;
  background: linear-gradient(180deg,
    var(--mars-red) 0%,
    var(--moon-shadow) 30%,
    var(--moon-grey) 100%
  );
  overflow: hidden;
}

.demo-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(213, 210, 199, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(74, 74, 82, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.demo-intro {
  max-width: 900px;
  margin: 0 auto 80px;
  text-align: center;
}

.demo-intro .section-title {
  margin: 0 auto 32px;
}

.demo-intro .section-lede {
  margin: 0 auto;
}

.demo-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
  align-items: start;
}

.demo-controls {
  position: sticky;
  top: 100px;
  padding: 32px;
  background: rgba(5, 8, 20, 0.5);
  border: 1px solid var(--border-mid);
  border-radius: 20px;
  backdrop-filter: blur(24px);
}

.control-field {
  margin-bottom: 24px;
}

.control-field:last-child {
  margin-bottom: 0;
}

.control-field label {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: 10px;
}

.control-field select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(5, 8, 20, 0.6);
  border: 1px solid var(--border-mid);
  border-radius: 10px;
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s var(--ease);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%23ffd88a' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.control-field select:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.control-field input[type="range"] {
  width: 100%;
  appearance: none;
  height: 4px;
  background: var(--border-mid);
  border-radius: 2px;
  cursor: pointer;
  margin: 8px 0;
}

.control-field input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-primary);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(255, 216, 138, 0.6);
}

.control-field input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: none;
  border-radius: 50%;
  background: var(--accent-primary);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(255, 216, 138, 0.6);
}

.toggle-group {
  display: flex;
  gap: 8px;
  padding: 4px;
  background: rgba(5, 8, 20, 0.6);
  border: 1px solid var(--border-mid);
  border-radius: 100px;
}

.toggle-btn {
  flex: 1;
  padding: 8px 16px;
  background: transparent;
  border-radius: 100px;
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
  transition: all 0.25s var(--ease);
}

.toggle-btn:hover {
  color: var(--ink-2);
}

.toggle-btn.active {
  background: var(--accent-primary);
  color: var(--space-deep);
  font-weight: 600;
}

.demo-score-box {
  padding: 24px;
  background: linear-gradient(135deg,
    rgba(255, 216, 138, 0.08) 0%,
    rgba(5, 8, 20, 0.4) 100%
  );
  border: 1px solid rgba(255, 216, 138, 0.2);
  border-radius: 16px;
  margin: 24px 0;
  text-align: center;
}

.score-label {
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  margin-bottom: 12px;
}

.score-value {
  font-family: var(--font-serif);
  font-size: 72px;
  color: var(--accent-primary);
  line-height: 1;
  font-weight: 400;
  margin-bottom: 8px;
  text-shadow: 0 0 40px rgba(255, 216, 138, 0.4);
}

.score-sub {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 16px;
}

.score-bar {
  height: 4px;
  background: rgba(244, 241, 234, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-primary) 0%, var(--accent-glow) 100%);
  transition: width 0.6s var(--ease);
  box-shadow: 0 0 10px var(--accent-primary);
}

.demo-top-sectors {
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.top-label {
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  font-weight: 500;
}

.top-sector {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13px;
}

.top-sector:last-child {
  border-bottom: none;
}

.top-sector-name {
  color: var(--ink);
}

.top-sector-score {
  color: var(--accent-primary);
  font-family: var(--font-mono);
  font-weight: 500;
}

/* Demo viewport */
.demo-viewport {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.demo-map-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-mid);
  aspect-ratio: 16 / 10;
  background: var(--space-deep);
}

#demoMap {
  width: 100%;
  height: 100%;
  background: var(--space-mid);
}

.demo-map-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  z-index: 10;
}

.overlay-top, .overlay-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.overlay-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(5, 8, 20, 0.8);
  backdrop-filter: blur(12px);
  border-radius: 100px;
  font-size: 11px;
  color: var(--ink);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--border-mid);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #ff4d4d;
  border-radius: 50%;
  box-shadow: 0 0 8px #ff4d4d;
  animation: live-blink 1.5s ease-in-out infinite;
}

@keyframes live-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.overlay-coords {
  padding: 8px 14px;
  background: rgba(5, 8, 20, 0.8);
  backdrop-filter: blur(12px);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-primary);
  border: 1px solid var(--border-mid);
}

.overlay-scale {
  padding: 6px 12px;
  background: rgba(5, 8, 20, 0.8);
  backdrop-filter: blur(12px);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.demo-sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

.sector-cell {
  padding: 12px;
  background: rgba(5, 8, 20, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  transition: all 0.3s var(--ease);
}

.sector-cell:hover {
  border-color: var(--border-mid);
  transform: translateY(-1px);
}

.sector-cell-name {
  font-size: 11px;
  color: var(--ink-2);
  margin-bottom: 6px;
  line-height: 1.2;
  min-height: 26px;
}

.sector-cell-score {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sector-cell-val {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
}

.sector-cell-val.high { color: #6ec177; }
.sector-cell-val.mid { color: var(--accent-primary); }
.sector-cell-val.low { color: var(--ink-4); }

.sector-cell-bar {
  flex: 1;
  height: 2px;
  background: rgba(244, 241, 234, 0.1);
  margin-left: 8px;
  border-radius: 1px;
  overflow: hidden;
}

.sector-cell-bar-fill {
  height: 100%;
  border-radius: 1px;
  transition: width 0.4s var(--ease);
}

/* ================================================
   SECTION RAPPORTS — AMBIANCE SATURNE
   ================================================ */
.reports-section {
  position: relative;
  padding: var(--space-xl) 0;
  background: linear-gradient(180deg,
    var(--moon-grey) 0%,
    #2a1f0f 50%,
    #1a1309 100%
  );
  overflow: hidden;
}

.reports-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 169, 97, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(139, 111, 60, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.saturn-rings {
  position: absolute;
  top: 15%;
  right: -200px;
  width: 700px;
  height: 700px;
  border: 2px solid rgba(201, 169, 97, 0.15);
  border-radius: 50%;
  transform: rotate(-20deg);
  pointer-events: none;
}

.saturn-rings::before,
.saturn-rings::after {
  content: '';
  position: absolute;
  inset: 60px;
  border: 1px solid rgba(201, 169, 97, 0.1);
  border-radius: 50%;
}

.saturn-rings::after {
  inset: 120px;
}

.reports-intro {
  max-width: 900px;
  margin: 0 auto 80px;
  text-align: center;
}

.reports-intro .section-title,
.reports-intro .section-lede {
  margin: 0 auto 32px;
}

.reports-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.report-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  padding: 40px;
  background: rgba(26, 19, 9, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  transition: all 0.4s var(--ease);
}

.report-card:hover {
  transform: translateX(4px);
  border-color: rgba(201, 169, 97, 0.3);
  background: rgba(26, 19, 9, 0.7);
}

.report-idx {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--saturn-gold);
  letter-spacing: 0.05em;
  padding-top: 8px;
  font-weight: 500;
}

.report-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 28px;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.report-meta {
  font-size: 13px;
  color: var(--saturn-gold);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.report-summary {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 24px;
}

.report-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 20px;
  background: rgba(5, 8, 20, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
}

.report-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 100px;
}

.report-stat .stat-num {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--saturn-gold);
  line-height: 1;
  font-weight: 400;
}

.report-stat .stat-txt {
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.report-placeholder {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.placeholder-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ================================================
   SECTION BETA — AMBIANCE NEPTUNE
   ================================================ */
.beta-section {
  position: relative;
  padding: var(--space-xl) 0;
  background: linear-gradient(180deg,
    #1a1309 0%,
    var(--neptune-shadow) 40%,
    var(--neptune-deep) 100%
  );
  overflow: hidden;
}

.beta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(74, 158, 201, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(26, 58, 110, 0.4) 0%, transparent 50%);
  pointer-events: none;
}

.beta-intro {
  max-width: 900px;
  margin: 0 auto 80px;
  text-align: center;
}

.beta-intro .section-title,
.beta-intro .section-lede {
  margin: 0 auto 32px;
}

.beta-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.beta-card {
  position: relative;
  padding: 48px 40px;
  background: rgba(5, 8, 20, 0.5);
  border: 1px solid var(--border-mid);
  border-radius: 24px;
  backdrop-filter: blur(24px);
  transition: all 0.4s var(--ease);
}

.beta-card.featured {
  background: linear-gradient(135deg,
    rgba(74, 158, 201, 0.12) 0%,
    rgba(5, 8, 20, 0.6) 100%
  );
  border-color: rgba(74, 158, 201, 0.4);
  box-shadow: 0 0 60px rgba(74, 158, 201, 0.15);
}

.beta-card.upcoming {
  opacity: 0.7;
}

.beta-card.upcoming:hover {
  opacity: 1;
}

.beta-ribbon {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 12px;
  background: var(--neptune-turquoise);
  color: var(--space-deep);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.beta-tier {
  font-size: 13px;
  color: var(--neptune-turquoise);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: 20px;
}

.beta-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 20px;
}

.price-currency {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--ink-2);
}

.price-value {
  font-family: var(--font-serif);
  font-size: 80px;
  color: var(--ink);
  font-weight: 400;
  line-height: 1;
}

.price-unit {
  font-size: 16px;
  color: var(--ink-3);
}

.beta-desc {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 32px;
}

.beta-features {
  list-style: none;
  margin-bottom: 32px;
}

.beta-features li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
  color: var(--ink-2);
}

.beta-features li:last-child {
  border-bottom: none;
}

.beta-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
  padding: 16px 24px;
  background: var(--neptune-turquoise);
  color: var(--space-deep);
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s var(--ease);
  margin-bottom: 20px;
}

.beta-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(74, 158, 201, 0.4);
}

.beta-cta-ghost {
  background: transparent;
  color: var(--neptune-turquoise);
  border: 1px solid var(--neptune-turquoise);
}

.beta-cta-ghost:hover {
  background: rgba(74, 158, 201, 0.1);
}

.beta-cta svg {
  width: 14px;
  height: 14px;
}

.beta-slots {
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.slots-bar {
  height: 6px;
  background: rgba(244, 241, 234, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}

.slots-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--neptune-turquoise) 0%, var(--accent-primary) 100%);
  border-radius: 3px;
  box-shadow: 0 0 10px var(--neptune-turquoise);
  transition: width 0.6s var(--ease);
}

.slots-text {
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
  font-family: var(--font-mono);
}

/* ================================================
   SECTION FAQ — AMBIANCE JUPITER
   ================================================ */
.faq-section {
  position: relative;
  padding: var(--space-xl) 0;
  background: linear-gradient(180deg,
    var(--neptune-deep) 0%,
    #5a3818 50%,
    #3a2410 100%
  );
  overflow: hidden;
}

.faq-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(180deg,
      transparent 0px,
      transparent 100px,
      rgba(212, 129, 58, 0.05) 100px,
      rgba(212, 129, 58, 0.05) 120px
    ),
    radial-gradient(circle at 20% 30%, rgba(212, 129, 58, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.faq-intro {
  text-align: center;
  margin-bottom: 64px;
}

.faq-intro .section-title {
  margin: 0 auto;
}

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

.faq-item {
  background: rgba(5, 8, 20, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s var(--ease);
  backdrop-filter: blur(16px);
}

.faq-item[open] {
  border-color: var(--jupiter-orange);
  background: rgba(5, 8, 20, 0.7);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  list-style: none;
  transition: color 0.2s var(--ease);
}

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

.faq-item summary:hover {
  color: var(--jupiter-orange);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--jupiter-orange);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 28px 24px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
}

.faq-answer em {
  color: var(--jupiter-orange);
  font-family: var(--font-serif);
}

.faq-answer strong {
  color: var(--ink);
}

/* ================================================
   SECTION CONTACT — AMBIANCE VOIE LACTÉE
   ================================================ */
.contact-section {
  position: relative;
  padding: var(--space-xl) 0;
  background: linear-gradient(180deg,
    #3a2410 0%,
    var(--milkyway-deep) 50%,
    var(--milkyway-violet) 100%
  );
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201, 74, 127, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(74, 40, 112, 0.4) 0%, transparent 50%);
  pointer-events: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.contact-intro .section-title {
  margin-bottom: 32px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 48px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(5, 8, 20, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: all 0.3s var(--ease);
}

.contact-item:hover {
  background: rgba(5, 8, 20, 0.6);
  border-color: var(--milkyway-rose);
}

.contact-item svg {
  width: 24px;
  height: 24px;
  color: var(--milkyway-rose);
  flex-shrink: 0;
}

.contact-label {
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}

/* Contact Form */
.contact-form {
  padding: 40px;
  background: rgba(5, 8, 20, 0.5);
  border: 1px solid var(--border-mid);
  border-radius: 20px;
  backdrop-filter: blur(24px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(5, 8, 20, 0.6);
  border: 1px solid var(--border-mid);
  border-radius: 10px;
  color: var(--ink);
  font-size: 15px;
  transition: all 0.2s var(--ease);
  font-family: var(--font-sans);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--ink-4);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--milkyway-rose);
  background: rgba(5, 8, 20, 0.8);
  box-shadow: 0 0 0 3px rgba(201, 74, 127, 0.15);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
  font-family: var(--font-sans);
}

.form-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%23c94a7f' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-content: center;
  padding: 18px 28px;
  background: linear-gradient(135deg, var(--milkyway-rose) 0%, var(--milkyway-violet) 100%);
  color: var(--ink);
  border-radius: 100px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  transition: all 0.3s var(--ease);
  margin-bottom: 20px;
  box-shadow: 0 0 30px rgba(201, 74, 127, 0.3);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(201, 74, 127, 0.5);
}

.form-submit svg {
  width: 18px;
  height: 18px;
}

.form-privacy {
  font-size: 12px;
  color: var(--ink-4);
  line-height: 1.5;
  text-align: center;
}

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  position: relative;
  padding: 80px 0 40px;
  background: linear-gradient(180deg,
    var(--milkyway-violet) 0%,
    var(--space-deep) 70%,
    #000000 100%
  );
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
}

.footer-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, white, transparent),
    radial-gradient(1px 1px at 30% 40%, white, transparent),
    radial-gradient(1px 1px at 50% 60%, white, transparent),
    radial-gradient(1px 1px at 70% 30%, white, transparent),
    radial-gradient(1px 1px at 90% 70%, white, transparent),
    radial-gradient(2px 2px at 25% 80%, white, transparent),
    radial-gradient(1px 1px at 75% 15%, white, transparent),
    radial-gradient(1px 1px at 45% 90%, white, transparent);
  opacity: 0.4;
  pointer-events: none;
}

.footer-inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

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

.footer-col a {
  font-size: 13px;
  color: var(--ink-3);
  transition: color 0.2s var(--ease);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy, .footer-disclaimer {
  font-size: 12px;
  color: var(--ink-4);
}

/* ================================================
   LEAFLET CUSTOM STYLES
   ================================================ */
.leaflet-container {
  background: var(--space-mid) !important;
  font-family: var(--font-sans) !important;
}

.leaflet-control-attribution {
  background: rgba(5, 8, 20, 0.7) !important;
  color: var(--ink-4) !important;
  font-size: 10px !important;
  border-radius: 6px !important;
  padding: 4px 8px !important;
}

.leaflet-control-attribution a {
  color: var(--accent-primary) !important;
}

/* ================================================
   RESPONSIVE MOBILE
   ================================================ */
@media (max-width: 968px) {
  .primary-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(5, 8, 20, 0.95);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border-mid);
    padding: 24px 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    z-index: 99;
    animation: mobile-nav-slide 0.3s var(--ease-out);
  }

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

  .primary-nav a {
    width: 100%;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--border-subtle);
  }

  .primary-nav a:last-child {
    border-bottom: none;
  }

  .primary-nav a::after {
    display: none;
  }

  @keyframes mobile-nav-slide {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu-btn.active svg {
    transform: rotate(90deg);
  }

  .mobile-menu-btn svg {
    transition: transform 0.3s var(--ease);
  }

  .header-inner {
    padding: 0 20px;
    gap: 16px;
  }

  .hero-section {
    padding: 120px 20px 60px;
  }

  .hero-stats {
    padding: 24px;
    gap: 24px;
  }

  .stat-divider {
    display: none;
  }

  .stat {
    min-width: 100px;
    flex: 1 1 45%;
  }

  .products-intro {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 64px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-card {
    padding: 32px 24px;
  }

  .method-timeline::before {
    left: 30px;
  }

  .method-step {
    grid-template-columns: 60px 1fr;
    gap: 20px;
  }

  .step-marker {
    width: 60px;
    height: 60px;
  }

  .step-num {
    font-size: 22px;
  }

  .step-title {
    font-size: 24px;
  }

  .demo-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .demo-controls {
    position: static;
  }

  .report-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 24px;
  }

  .report-idx {
    padding-top: 0;
  }

  .report-title {
    font-size: 22px;
  }

  .beta-cards {
    grid-template-columns: 1fr;
  }

  .beta-card {
    padding: 32px 24px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-form {
    padding: 32px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .container,
  .container-narrow {
    padding: 0 20px;
  }

  .section-label {
    padding: 0 20px;
    margin-bottom: 48px;
  }
}

@media (max-width: 560px) {
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary, .btn-ghost {
    width: 100%;
    justify-content: center;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .report-stats {
    gap: 16px;
    padding: 16px;
  }

  .report-stat {
    min-width: 80px;
  }

  .report-stat .stat-num {
    font-size: 24px;
  }
}

/* ================================================
   ANIMATIONS GLOBALES
   ================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Selection */
::selection {
  background: var(--accent-primary);
  color: var(--space-deep);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--space-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--border-mid);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* Focus states accessibilité */
*:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ================================================
   SECTION À PROPOS — AMBIANCE GALAXIE SOMBRE
   ================================================ */
.about-section {
  position: relative;
  padding: var(--space-xl) 0;
  background: linear-gradient(180deg,
    #1a1309 0%,
    #0f0a1f 40%,
    #0a0820 100%
  );
  overflow: hidden;
}

.about-nebula {
  position: absolute;
  top: 10%;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.15) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  animation: nebula-drift-1 50s ease-in-out infinite;
}

.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(74, 40, 112, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(26, 58, 110, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.about-intro {
  text-align: center;
  margin-bottom: 80px;
}

.about-intro .section-title {
  margin: 0 auto 24px;
}

.about-author {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.about-author-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-primary) 100%);
}

.about-content {
  max-width: 760px;
  margin: 0 auto;
}

.about-block {
  margin-bottom: 72px;
  position: relative;
}

.about-block:last-of-type {
  margin-bottom: 48px;
}

.about-block-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  color: var(--accent-primary);
  font-weight: 400;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  position: relative;
  padding-left: 32px;
}

.about-block-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 1px;
  background: var(--accent-primary);
  opacity: 0.6;
}

.about-block p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
  margin-bottom: 20px;
  font-weight: 300;
}

.about-block p em {
  color: var(--ink);
  font-style: italic;
  font-family: var(--font-serif);
}

.about-block p strong {
  color: var(--ink);
  font-weight: 500;
}

.about-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.4;
  color: var(--accent-primary);
  padding: 32px 40px;
  margin: 32px 0;
  border-left: 2px solid var(--accent-primary);
  background: linear-gradient(90deg,
    rgba(255, 216, 138, 0.06) 0%,
    transparent 100%
  );
  border-radius: 0 12px 12px 0;
  letter-spacing: -0.01em;
  position: relative;
}

.about-quote::before {
  content: '"';
  position: absolute;
  top: -8px;
  left: 20px;
  font-size: 64px;
  color: var(--accent-primary);
  opacity: 0.2;
  line-height: 1;
  font-family: var(--font-serif);
}

.about-questions {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 19px;
  color: var(--ink);
  padding: 24px 32px;
  background: rgba(5, 8, 20, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  line-height: 1.6;
}

.about-closing {
  font-size: 18px !important;
  padding: 28px 32px;
  background: linear-gradient(135deg,
    rgba(255, 216, 138, 0.05) 0%,
    rgba(74, 40, 112, 0.05) 100%
  );
  border-radius: 12px;
  border: 1px solid rgba(255, 216, 138, 0.15);
  margin-bottom: 32px !important;
}

.about-signature {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--accent-primary);
  text-align: right;
  margin-top: 8px;
  padding-right: 8px;
  letter-spacing: 0.02em;
}

/* Socials about */
.about-socials {
  margin-top: 80px;
  padding: 48px 0;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.socials-label {
  font-size: 12px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  margin-bottom: 24px;
}

.socials-grid {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(5, 8, 20, 0.5);
  border: 1px solid var(--border-mid);
  border-radius: 100px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s var(--ease);
}

.social-link:hover {
  background: rgba(255, 216, 138, 0.08);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 216, 138, 0.15);
}

.social-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.socials-note {
  font-size: 12px;
  color: var(--ink-4);
  font-style: italic;
  margin-top: 12px;
}

/* ================================================
   SECTION TÉMOIGNAGES — AMBIANCE CRÉPUSCULE
   ================================================ */
.testimonials-section {
  position: relative;
  padding: var(--space-xl) 0;
  background: linear-gradient(180deg,
    #0a0820 0%,
    #0f1534 50%,
    #0d1f33 100%
  );
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(74, 158, 201, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(201, 169, 97, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.testimonials-intro {
  text-align: center;
  margin-bottom: 64px;
}

.testimonials-intro .section-title,
.testimonials-intro .section-lede {
  margin: 0 auto 24px;
}

.testimonials-empty {
  text-align: center;
  padding: 64px 32px;
  background: rgba(5, 8, 20, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  max-width: 600px;
  margin: 0 auto;
}

.empty-orbit {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
  color: var(--accent-primary);
  animation: orbit-rotate 20s linear infinite;
}

.empty-orbit svg {
  width: 120px;
  height: 120px;
  filter: drop-shadow(0 0 20px rgba(255, 216, 138, 0.3));
}

.empty-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 16px;
  font-weight: 400;
}

.empty-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.empty-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: rgba(255, 216, 138, 0.08);
  border: 1px solid var(--accent-primary);
  border-radius: 100px;
  color: var(--accent-primary);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s var(--ease);
}

.empty-cta:hover {
  background: var(--accent-primary);
  color: var(--space-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 216, 138, 0.3);
}

.empty-cta svg {
  width: 14px;
  height: 14px;
}

/* ================================================
   TOGGLE FORMULAIRE CONTACT / AVIS
   ================================================ */
.form-toggle {
  display: flex;
  gap: 8px;
  padding: 6px;
  background: rgba(5, 8, 20, 0.6);
  border: 1px solid var(--border-mid);
  border-radius: 100px;
  margin-bottom: 32px;
}

.form-toggle-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: transparent;
  border-radius: 100px;
  font-size: 14px;
  color: var(--ink-3);
  font-weight: 500;
  transition: all 0.3s var(--ease);
  border: none;
  cursor: pointer;
}

.form-toggle-btn:hover {
  color: var(--ink-2);
}

.form-toggle-btn.active {
  background: var(--milkyway-rose);
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(201, 74, 127, 0.3);
}

.form-toggle-btn svg {
  width: 16px;
  height: 16px;
}

.form-section {
  animation: form-section-fade 0.4s var(--ease-out);
}

@keyframes form-section-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Rating stars */
.rating-stars {
  display: flex;
  gap: 8px;
  padding: 4px 0;
}

.star {
  background: transparent;
  border: none;
  font-size: 36px;
  color: var(--ink-4);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: all 0.2s var(--ease);
  filter: grayscale(1);
}

.star:hover,
.star.active {
  color: var(--accent-primary);
  filter: grayscale(0);
  transform: scale(1.1);
  text-shadow: 0 0 16px rgba(255, 216, 138, 0.5);
}

/* Form checkbox */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--milkyway-rose);
  cursor: pointer;
  flex-shrink: 0;
}

.form-checkbox label {
  margin-bottom: 0 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 13px !important;
  color: var(--ink-2) !important;
  font-weight: 400 !important;
  line-height: 1.5;
  cursor: pointer;
}

/* Responsive about + testimonials */
@media (max-width: 968px) {
  .about-block-title {
    font-size: 24px;
    padding-left: 0;
  }

  .about-block-title::before {
    display: none;
  }

  .about-block p {
    font-size: 16px;
  }

  .about-quote {
    padding: 24px;
    font-size: 19px;
  }

  .about-questions {
    padding: 20px;
    font-size: 17px;
  }

  .about-closing {
    padding: 20px;
    font-size: 16px !important;
  }

  .socials-grid {
    gap: 10px;
  }

  .social-link {
    padding: 10px 14px;
    font-size: 13px;
  }

  .testimonials-empty {
    padding: 48px 24px;
  }

  .empty-orbit svg {
    width: 80px;
    height: 80px;
  }

  .form-toggle {
    flex-direction: column;
    border-radius: 16px;
    padding: 4px;
  }

  .form-toggle-btn {
    padding: 14px;
  }

  .rating-stars {
    gap: 4px;
  }

  .star {
    font-size: 32px;
  }
}

/* ================================================
   FOOTER SOCIALS
   ================================================ */
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(244, 241, 234, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--ink-3);
  transition: all 0.3s var(--ease);
}

.footer-social:hover {
  background: rgba(255, 216, 138, 0.1);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}
