/* ==========================================================================
   Aurora Trauma · Ollisto — design system
   Couleurs alignées sur l'app Ollisto
   ========================================================================== */

:root {
  /* Palette Ollisto */
  --c-ink: #2C3E50;
  --c-ink-soft: #3D5266;
  --c-muted: #6B7C8C;
  --c-muted-light: #9BA8B5;
  --c-accent: #2D5F4F;
  --c-accent-soft: #D4E8E2;
  --c-accent-glow: rgba(45, 95, 79, 0.18);
  --c-bg: #F7F7F7;
  --c-surface: #FFFFFF;
  --c-surface-2: #FCFCFC;
  --c-border: rgba(44, 62, 80, 0.08);
  --c-border-strong: rgba(44, 62, 80, 0.16);
  --c-shadow: rgba(44, 62, 80, 0.06);
  --c-shadow-lg: rgba(44, 62, 80, 0.10);
  --c-destructive: #8B1E3F;

  /* Type scale */
  --f-display: 'Fraunces', Georgia, serif;
  --f-italic: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --f-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --f-prose: 'Inter', system-ui, sans-serif;

  /* Layout */
  --max-w: 1200px;
  --pad: clamp(20px, 5vw, 64px);
  --section-pad: clamp(64px, 10vw, 128px);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.5s;
}

[data-theme="dark"] {
  --c-ink: #ECEFF2;
  --c-ink-soft: #C7CFD7;
  --c-muted: #8FA0B0;
  --c-muted-light: #5A6A7A;
  --c-accent: #6FB39E;
  --c-accent-soft: rgba(111, 179, 158, 0.14);
  --c-accent-glow: rgba(111, 179, 158, 0.25);
  --c-bg: #0F1419;
  --c-surface: #161C24;
  --c-surface-2: #1A2128;
  --c-border: rgba(255, 255, 255, 0.07);
  --c-border-strong: rgba(255, 255, 255, 0.14);
  --c-shadow: rgba(0, 0, 0, 0.4);
  --c-shadow-lg: rgba(0, 0, 0, 0.55);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
ul { list-style: none; }
em { font-family: var(--f-italic); font-style: italic; font-weight: 400; }

::selection { background: var(--c-accent-soft); color: var(--c-accent); }

[hidden] { display: none !important; }

/* ==========================================================================
   Typo
   ========================================================================== */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 24px;
}
.section-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--c-accent);
}

.section-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin-bottom: 20px;
}
.section-title em {
  font-style: italic;
  color: var(--c-accent);
  font-weight: 400;
}

.section-body {
  font-family: var(--f-prose);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--c-muted);
  max-width: 580px;
  margin-bottom: 48px;
}

/* ==========================================================================
   Cookie banner
   ========================================================================== */

#cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 200;
  max-width: 720px;
  margin: 0 auto;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  box-shadow: 0 24px 60px var(--c-shadow-lg);
  animation: slideUp 0.4s var(--ease);
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
#cookie-banner p {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--c-muted);
  flex: 1;
  min-width: 240px;
}
#cookie-banner a {
  color: var(--c-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.cookie-buttons { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-accept, .cookie-refuse {
  font-size: 13px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  transition: all 0.2s var(--ease);
}
.cookie-accept {
  background: var(--c-ink);
  color: var(--c-bg);
}
.cookie-accept:hover { background: var(--c-accent); transform: translateY(-1px); }
.cookie-refuse {
  background: transparent;
  color: var(--c-muted);
  border: 1px solid var(--c-border-strong);
}
.cookie-refuse:hover { color: var(--c-ink); border-color: var(--c-ink); }

/* ==========================================================================
   Nav
   ========================================================================== */

.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--c-bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.4s var(--ease);
}
.nav-wrap.scrolled { border-bottom-color: var(--c-border); }

.nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}
.nav-logo em { color: var(--c-accent); font-style: italic; font-weight: 300; }
.nav-logo-icon { width: 28px; height: 28px; color: var(--c-accent); }

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--c-muted);
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--c-ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-ink);
  border: 1px solid var(--c-border-strong);
  transition: all 0.25s var(--ease);
  position: relative;
}
.theme-toggle:hover {
  background: var(--c-accent-soft);
  border-color: var(--c-accent);
  color: var(--c-accent);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
  position: absolute;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}
.icon-sun { opacity: 1; transform: rotate(0); }
.icon-moon { opacity: 0; transform: rotate(-90deg); }
[data-theme="dark"] .icon-sun { opacity: 0; transform: rotate(90deg); }
[data-theme="dark"] .icon-moon { opacity: 1; transform: rotate(0); }

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  background: var(--c-ink);
  color: var(--c-bg);
  border-radius: var(--radius-pill);
  transition: all 0.25s var(--ease);
}
.nav-cta:hover {
  background: var(--c-accent);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--c-accent-glow);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 6px 0;
}
.nav-burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--c-ink);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-ink);
  color: var(--c-bg);
}
.btn-primary:hover {
  background: var(--c-accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--c-accent-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--c-ink);
  border: 1px solid var(--c-border-strong);
}
.btn-ghost:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}
.btn-ghost span { transition: transform 0.25s var(--ease); }
.btn-ghost:hover span { transform: translateX(4px); }

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

.hero {
  position: relative;
  padding: 140px var(--pad) 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: float 18s ease-in-out infinite;
}
.orb-1 {
  width: 460px;
  height: 460px;
  top: -80px;
  right: -100px;
  background: radial-gradient(circle, var(--c-accent-glow) 0%, transparent 70%);
}
.orb-2 {
  width: 380px;
  height: 380px;
  bottom: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(212, 232, 226, 0.4) 0%, transparent 70%);
  animation-delay: -6s;
}
.orb-3 {
  width: 280px;
  height: 280px;
  top: 40%;
  left: 50%;
  background: radial-gradient(circle, var(--c-accent-glow) 0%, transparent 70%);
  animation-delay: -12s;
  opacity: 0.35;
}
[data-theme="dark"] .orb { opacity: 0.4; }
[data-theme="dark"] .orb-2 { background: radial-gradient(circle, rgba(111, 179, 158, 0.18) 0%, transparent 70%); }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.06); }
  66%      { transform: translate(-30px, 40px) scale(0.94); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-content { max-width: 560px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  background: var(--c-accent-soft);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 32px;
}
.hero-eyebrow span { opacity: 0.5; }

.hero-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}
.hero-title em {
  color: var(--c-accent);
  font-style: italic;
  font-weight: 400;
}
.hero-sub {
  font-family: var(--f-prose);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--c-ink-soft);
  margin-bottom: 18px;
  max-width: 520px;
}
.hero-disclaimer {
  font-family: var(--f-italic);
  font-size: 15px;
  color: var(--c-muted);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 480px;
  padding-left: 16px;
  border-left: 2px solid var(--c-accent-soft);
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero visual — vrai screenshot Ollisto dans un cadre téléphone */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-card {
  position: relative;
  width: 320px;
  aspect-ratio: 540 / 1200;
  border-radius: 44px;
  background: var(--c-ink);
  box-shadow:
    0 50px 120px var(--c-shadow-lg),
    0 12px 24px var(--c-shadow),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.06);
  padding: 8px;
  transform: perspective(1400px) rotateY(-8deg) rotateX(4deg);
  transition: transform 0.6s var(--ease);
}
.hero-card:hover {
  transform: perspective(1400px) rotateY(-3deg) rotateX(2deg);
}
.hero-card-glow {
  position: absolute;
  inset: -24px;
  background: radial-gradient(ellipse at center, var(--c-accent-glow) 0%, transparent 65%);
  filter: blur(36px);
  z-index: -1;
  opacity: 0.85;
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}
.hero-card-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: var(--c-surface);
  isolation: isolate;
}
.hero-card-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-card-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 22px;
  background: var(--c-ink);
  border-radius: 14px;
  z-index: 2;
  pointer-events: none;
}

/* ==========================================================================
   Sections génériques
   ========================================================================== */

.section {
  padding: var(--section-pad) var(--pad);
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}
.section-head { max-width: 720px; margin-bottom: 64px; }

/* ==========================================================================
   Pour qui — audiences
   ========================================================================== */

.audiences-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.audience-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 40px 36px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.audience-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-accent-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.audience-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-accent);
  box-shadow: 0 20px 50px var(--c-shadow);
}
.audience-card:hover::before { transform: scaleX(1); }
.aud-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  background: var(--c-accent-soft);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.audience-card h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  margin-bottom: 16px;
}
.audience-card p {
  font-family: var(--f-prose);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--c-muted);
}

/* ==========================================================================
   Fonctionnalités
   ========================================================================== */

.features {
  background: var(--c-surface);
  max-width: none;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.features .section-head, .features .features-grid {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all 0.3s var(--ease);
  position: relative;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--c-accent);
  background: var(--c-surface);
  box-shadow: 0 14px 36px var(--c-shadow);
}
.feature-num {
  font-family: var(--f-italic);
  font-size: 16px;
  font-weight: 400;
  color: var(--c-accent);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  font-style: italic;
}
.feature-card h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.3;
  color: var(--c-ink);
  margin-bottom: 12px;
}
.feature-card p {
  font-family: var(--f-prose);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--c-muted);
}

/* ==========================================================================
   Valeurs
   ========================================================================== */

.values-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--c-border);
}
.value-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--c-border);
  transition: padding 0.3s var(--ease);
}
.value-row:hover { padding-left: 12px; }
.value-num {
  font-family: var(--f-italic);
  font-style: italic;
  font-size: 30px;
  font-weight: 400;
  color: var(--c-accent);
  letter-spacing: -0.01em;
}
.value-text strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.3;
  color: var(--c-ink);
  margin-bottom: 8px;
}
.value-text p {
  font-family: var(--f-prose);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--c-muted);
  max-width: 720px;
}

/* ==========================================================================
   Stores — téléchargement
   ========================================================================== */

.stores { max-width: none; }
.stores-card {
  max-width: 920px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--c-surface) 0%, var(--c-surface-2) 100%);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.stores-card::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--c-accent-glow) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.stores-card .section-label,
.stores-card .section-title,
.stores-card .section-body {
  position: relative;
}
.stores-card .section-label {
  margin-left: auto;
  margin-right: auto;
}
.stores-card .section-body {
  margin-left: auto;
  margin-right: auto;
}
.store-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 32px auto 24px;
  position: relative;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 26px;
  background: var(--c-ink);
  color: var(--c-bg);
  border-radius: var(--radius-sm);
  min-width: 220px;
  position: relative;
  transition: all 0.3s var(--ease);
  cursor: not-allowed;
  opacity: 0.85;
}
.store-badge[data-soon]:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px var(--c-shadow-lg);
}
.store-badge svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.store-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.1;
}
.store-badge-small {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.75;
  margin-bottom: 2px;
}
.store-badge-large {
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.store-badge-pill {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--c-accent);
  color: white;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px var(--c-accent-glow);
}
.stores-note {
  font-size: 13px;
  color: var(--c-muted);
  font-style: italic;
  margin-top: 8px;
}

/* ==========================================================================
   Derrière Aurora Trauma
   ========================================================================== */

.behind {
  background: var(--c-surface);
  max-width: none;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.behind-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: center;
}
.behind-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
}
.behind-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
}
.behind-photo-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, var(--c-accent-glow) 0%, transparent 60%);
  filter: blur(30px);
  z-index: 0;
}
.behind-text { max-width: 580px; }
.behind-text p {
  font-family: var(--f-prose);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--c-ink-soft);
  margin-bottom: 18px;
}
.behind-signature {
  font-family: var(--f-italic);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  color: var(--c-accent);
  margin-top: 24px;
}

/* ==========================================================================
   Soutenu par
   ========================================================================== */

.supporters {
  text-align: center;
  padding-top: 48px;
  padding-bottom: 48px;
}
.supporters-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 24px;
}
.supporters-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.supporters-row img {
  height: 70px;
  width: auto;
  border-radius: 8px;
  opacity: 0.85;
  transition: opacity 0.25s var(--ease);
}
.supporters-row img:hover { opacity: 1; }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact { max-width: none; }
.contact-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: clamp(40px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -100px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--c-accent-glow) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.contact-card .section-label,
.contact-card .section-title,
.contact-card .section-body { position: relative; margin-left: auto; margin-right: auto; }
.contact-email {
  margin-top: 18px;
  font-family: var(--f-prose);
  font-size: 14px;
  color: var(--c-muted);
  position: relative;
}

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

.footer {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  padding: 48px var(--pad) 36px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 400;
  color: var(--c-ink);
}
.footer-brand em { color: var(--c-accent); font-style: italic; font-weight: 300; }
.footer-logo { width: 24px; height: 24px; color: var(--c-accent); }

.footer-meta {
  font-size: 13px;
  color: var(--c-muted);
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: 13px;
  color: var(--c-muted);
  transition: color 0.2s var(--ease);
}
.footer-links a:hover { color: var(--c-accent); }

/* ==========================================================================
   Modal légal
   ========================================================================== */

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.25s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.legal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
}
.legal-dialog {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 48px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
  animation: dialogIn 0.35s var(--ease);
}
@keyframes dialogIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.legal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  color: var(--c-muted);
  transition: all 0.2s var(--ease);
}
.legal-close:hover { background: var(--c-bg); color: var(--c-ink); }

.legal-content h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin-bottom: 24px;
}
.legal-content h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--c-ink);
  margin: 24px 0 8px;
}
.legal-content p {
  font-family: var(--f-prose);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--c-muted);
  margin-bottom: 12px;
}
.legal-content a {
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ==========================================================================
   Pages légales (politique de confidentialité, mentions légales)
   ========================================================================== */

.legal-page { background: var(--c-bg); }

.legal-main {
  padding: 120px var(--pad) 80px;
  max-width: 880px;
  margin: 0 auto;
}

.legal-article {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 64px);
}

.legal-hero {
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 36px;
  margin-bottom: 48px;
}

.legal-h1 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--c-ink);
  margin: 16px 0 24px;
}
.legal-h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--c-accent);
}

.legal-lead {
  font-family: var(--f-prose);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--c-ink-soft);
  margin-bottom: 16px;
}

.legal-meta {
  font-family: var(--f-prose);
  font-size: 13px;
  font-weight: 400;
  color: var(--c-muted);
  letter-spacing: 0.01em;
  border-left: 2px solid var(--c-accent-soft);
  padding-left: 14px;
}

.legal-toc {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  margin-bottom: 56px;
}
.legal-toc ol {
  list-style: none;
  counter-reset: toc;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  padding: 0;
}
.legal-toc li {
  counter-increment: toc;
  font-family: var(--f-prose);
  font-size: 14px;
  font-weight: 300;
}
.legal-toc li::before {
  content: counter(toc, decimal-leading-zero) ". ";
  font-family: var(--f-italic);
  font-style: italic;
  color: var(--c-accent);
  font-size: 14px;
  margin-right: 6px;
}
.legal-toc a {
  color: var(--c-ink-soft);
  text-decoration: none;
  transition: color 0.2s var(--ease);
  border-bottom: 1px solid transparent;
}
.legal-toc a:hover {
  color: var(--c-accent);
  border-bottom-color: var(--c-accent);
}

.legal-article section {
  scroll-margin-top: 100px;
  margin-bottom: 48px;
}
.legal-article section:last-of-type { margin-bottom: 0; }

.legal-article h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  margin-bottom: 18px;
  padding-top: 8px;
}

.legal-article h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 17px;
  color: var(--c-ink);
  margin: 28px 0 10px;
}

.legal-article p,
.legal-article li {
  font-family: var(--f-prose);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--c-ink-soft);
}

.legal-article p { margin-bottom: 14px; }

.legal-article ul {
  list-style: none;
  padding-left: 0;
  margin: 8px 0 18px;
}
.legal-article ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
}
.legal-article ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  width: 8px;
  height: 1px;
  background: var(--c-accent);
}

.legal-article strong {
  font-weight: 500;
  color: var(--c-ink);
}

.legal-article em {
  font-style: italic;
  color: var(--c-accent);
}

.legal-article a {
  color: var(--c-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: opacity 0.2s var(--ease);
}
.legal-article a:hover { opacity: 0.7; }

.contact-mailto {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 400;
}

@media (max-width: 720px) {
  .legal-main { padding: 100px 16px 60px; }
  .legal-article { padding: 28px 22px; }
  .legal-toc ol { grid-template-columns: 1fr; }
  .legal-article ul li { padding-left: 18px; }
}

/* ==========================================================================
   Reveal animations
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .orb { animation: none; }
}

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

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-content {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }
  .hero-sub,
  .hero-disclaimer { margin-left: auto; margin-right: auto; }
  .hero-disclaimer {
    border-left: none;
    border-top: 2px solid var(--c-accent-soft);
    padding-left: 0;
    padding-top: 14px;
    text-align: center;
  }
  .hero-actions { justify-content: center; }
  .hero-card { width: 260px; transform: none; }
  .hero-card:hover { transform: none; }
  .behind-grid { grid-template-columns: 1fr; gap: 40px; }
  .behind-photo { max-width: 280px; margin: 0 auto; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px var(--pad);
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
  }
  .nav-links.open li { padding: 10px 0; border-bottom: 1px solid var(--c-border); }
  .nav-links.open li:last-child { border-bottom: none; }

  .value-row { grid-template-columns: 50px 1fr; padding: 24px 0; }
  .value-num { font-size: 22px; }
  .value-text strong { font-size: 18px; }

  .audience-card, .feature-card { padding: 28px 24px; }
  .audience-card h3, .feature-card h3 { font-size: 20px; }

  #cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-buttons { justify-content: flex-end; }

  .legal-dialog { padding: 32px 24px; }

  .store-badge { min-width: auto; flex: 1; max-width: 240px; padding: 12px 18px; }
}
