/* Variables globales pour le thème Raidder - Mode sombre par défaut */
:root {
  --color-primary: #FF1493; /* primaryPink de l'app */
  --color-primary-light: #FF69B4; /* primaryPinkLight de l'app */
  --color-primary-dark: #DC0A7A; /* primaryPinkDark de l'app */
  --blur: 10px;
  
  /* Thème sombre (défaut) */
  --bg-gradient: linear-gradient(135deg, #000000 0%, #1A0019 30%, #4D0033 60%, #FF1493 100%);
  --color-text-primary: #FFFFFF;
  --color-text-secondary: rgba(255, 255, 255, 0.7);
  --color-text-tertiary: rgba(255, 255, 255, 0.6);
  --color-text-on-pink: #FFFFFF;
  --color-card-bg: rgba(13, 11, 24, 0.95);
  --color-card-bg-benefit: rgba(12, 10, 24, 0.92);
  --color-surface: rgba(15, 15, 25, 0.85);
  --color-border: rgba(255, 255, 255, 0.14);
  --color-glass-bg: radial-gradient(circle at top left, rgba(255, 20, 147, 0.16), transparent 55%);
}

/* Thème clair */
[data-theme="light"] {
  --bg-gradient: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 30%, #CBD5E1 60%, #FF69B4 100%);
  --color-text-primary: #1F1F2B;
  --color-text-secondary: #6C6C80;
  --color-text-tertiary: #9CA3AF;
  --color-text-on-pink: #FFFFFF;
  --color-card-bg: rgba(255, 255, 255, 0.95);
  --color-card-bg-benefit: rgba(255, 255, 255, 0.92);
  --color-surface: rgba(255, 255, 255, 0.85);
  --color-border: rgba(0, 0, 0, 0.1);
  --color-glass-bg: radial-gradient(circle at top left, rgba(255, 20, 147, 0.08), transparent 55%);
}

/* Réinitialisation de base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-gradient);
  background-attachment: fixed;
  min-height: 100vh;
  color: var(--color-text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  font-size: 16px;
  font-weight: 400;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Overlay grain subtil façon "premium" */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url('../img/noise.png'); /* À ajouter dans assets/img/noise.png */
  background-size: 300px 300px;
  opacity: 0.04;
  mix-blend-mode: overlay;
  z-index: -1;
}
a {
  color: var(--color-primary);
  text-decoration: none;
}

/* Conteneur générique */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

/* Barre de navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 0;
  background: rgba(0, 0, 0, 0.3); /* Fond sombre transparent pour s'harmoniser avec le dégradé */
  backdrop-filter: blur(var(--blur));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 999;
  
  /* Animation d'entrée */
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.navbar--visible {
  opacity: 1;
  transform: translateY(0);
}
.navbar.scrolled {
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 2px 6px rgba(255, 20, 147, 0.25); /* primaryShadow de l'app */
}

/* Branding / logo dans la navbar */
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

.brand a:hover {
  opacity: 0.8;
}

.logo-icon {
  display: block;
  width: 40px;
  height: auto;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.logo-icon:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px #e3006d);
}

.logo-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-on-pink);
}

.navbar .container {
  justify-content: flex-start;
}

/* Bouton toggle de thème */
.theme-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text-on-pink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.theme-icon {
  width: 20px;
  height: 20px;
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-icon--sun {
  opacity: 0;
  transform: rotate(180deg) scale(0.5);
}

.theme-icon--moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="light"] .theme-icon--sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="light"] .theme-icon--moon {
  opacity: 0;
  transform: rotate(-180deg) scale(0.5);
}
.logo {
  font-size: 18px; /* H3 de l'app */
  font-weight: 500; /* Medium */
  line-height: 1.4; /* H3 height */
  color: var(--color-text-on-pink); /* Blanc sur fond sombre */
}
/* Suppression nav-links - navigation simplifiée */
.cta-download {
  /* Dégradé bouton de l'app : primaryPink → primaryPinkLight */
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-text-on-pink);
  padding: 0.6rem 1rem;
  border-radius: 9999px;
  font-weight: 600; /* Semibold comme buttonPrimary */
  font-size: 16px; /* buttonPrimary size */
  line-height: 1.2; /* buttonPrimary height */
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 8px rgba(255, 20, 147, 0.25); /* primaryShadow de l'app */
}
.cta-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 20, 147, 0.35);
}

/* Section Hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 1rem 120px;
  text-align: center;
  min-height: 100vh;
  /* Laisse apparaître le fond global (body) sur toute la page */
  background: transparent;
  overflow: hidden;
  position: relative;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}
.hero-content {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-visual {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}
.hero h1 {
  font-size: 28px; /* H1 de l'app */
  line-height: 1.2; /* H1 height de l'app */
  margin-bottom: 1rem;
  font-weight: 600; /* Semibold comme H1 de l'app */
  color: var(--color-text-on-pink); /* Blanc sur fond sombre */
}
.hero h1 .word {
  opacity: 0;
  display: inline-block;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero h1 .word.raid {
  color: var(--color-primary-light); /* Hot pink pour l'accent */
}

.hero h1 .word.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-subtitle {
  font-size: 16px; /* Body de l'app */
  line-height: 1.5; /* Body height */
  max-width: 550px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8); /* textOnDarkSecondary de l'app */
  font-weight: 400; /* Regular */
}
.hero-microcopy {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  max-width: 480px;
  color: rgba(255, 255, 255, 0.7);
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: radial-gradient(circle at top left, rgba(255, 20, 147, 0.18), transparent),
    rgba(15, 15, 25, 0.85);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 25px rgba(255, 20, 147, 0.24);
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle, #4ade80 0%, #16a34a 60%, transparent 100%);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
}
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.coming-soon {
  font-size: 14px; /* Body2 de l'app */
  color: rgba(255, 255, 255, 0.6); /* textOnDarkTertiary */
  margin: 0;
  font-style: italic;
}
.btn {
  position: relative;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600; /* Semibold comme buttonPrimary */
  font-size: 16px; /* buttonPrimary size */
  line-height: 1.2; /* buttonPrimary height */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  overflow: hidden;
}

.btn:hover {
  transform: scale(1.03);
}

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: rippleEffect 0.6s linear;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}
.btn-primary {
  /* Dégradé bouton de l'app : primaryPink → primaryPinkLight */
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-text-on-pink);
  box-shadow: 0 4px 8px rgba(255, 20, 147, 0.25); /* primaryShadow de l'app */
}
.btn-primary:hover {
  transform: scale(1.03) translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 20, 147, 0.35);
}

/* Bouton ghost avec bordure glow façon Shredder */
.btn-ghost {
  background: rgba(15, 15, 25, 0.7);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 108, 178, 0.5);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 18px rgba(255, 20, 147, 0.4);
  backdrop-filter: blur(8px);
}
.btn-ghost[aria-disabled='true'] {
  cursor: default;
  opacity: 0.85;
}
.btn-ghost:hover {
  transform: scale(1.03) translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 24px rgba(255, 20, 147, 0.55);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.1); /* Fond transparent blanc */
  color: var(--color-text-on-pink);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(var(--blur));
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}
.badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
/* Suppression des badges - remplacés par le CTA simple */
.phones {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
  position: relative;
  transition: all 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
  --spread-progress: 0; /* Valeur par défaut pour l'écartement progressif */
}

.phone-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  
  /* Animation d'apparition */
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.phone-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Délais progressifs pour l'apparition **/
.phone-item:nth-child(1) { transition-delay: 0.1s; }
.phone-item:nth-child(2) { transition-delay: 0.3s; }
.phone-item:nth-child(3) { transition-delay: 0.5s; }

/* Positionnement initial : téléphones en bouquet **/
.phone-item:nth-child(1) .phone {
  transform: translateX(-5px) rotate(-12deg) translateY(8px);
  z-index: 1;
}

.phone-item:nth-child(2) .phone {
  transform: translateY(-15px) scale(1.05);
  z-index: 3;
}

.phone-item:nth-child(3) .phone {
  transform: translateX(5px) rotate(12deg) translateY(8px);
  z-index: 1;
}

/* Mini-vidéo de démo */
.demo-video-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 2rem;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.demo-video {
  width: 100%;
  height: auto;
  display: block;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 60%,
    rgba(0, 0, 0, 0.8) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  pointer-events: none;
}

.video-overlay h4 {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.video-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin: 0;
}

/* Animation d'écartement au scroll - bouquet qui s'ouvre progressivement */
.phones.spread {
  gap: 2.5rem;
  transform: scale(0.92);
}

.phone {
  position: relative;
  width: 190px;
  height: 380px;
  border-radius: 2rem;
  border: 6px solid rgba(255, 255, 255, 0.8);
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  animation: float 6s ease-in-out infinite;
  transition: transform 0.8s cubic-bezier(0.4, 0.0, 0.2, 1), box-shadow 0.3s ease;
}

/* Animation d'écartement individuelle */
.phones.spread .phone-item:nth-child(1) .phone {
  transform: 
    translateX(calc(-5px + (var(--spread-progress, 0) * -60px))) 
    rotate(calc(-12deg + (var(--spread-progress, 0) * -12deg))) 
    translateY(calc(8px + (var(--spread-progress, 0) * 20px))) 
    scale(calc(1 + (var(--spread-progress, 0) * -0.08)));
}
.phones.spread .phone-item:nth-child(2) .phone {
  transform: 
    translateY(calc(-15px + (var(--spread-progress, 0) * -20px))) 
    scale(calc(1.05 + (var(--spread-progress, 0) * 0.08)));
}
.phones.spread .phone-item:nth-child(3) .phone {
  transform: 
    translateX(calc(5px + (var(--spread-progress, 0) * 60px))) 
    rotate(calc(12deg + (var(--spread-progress, 0) * 12deg))) 
    translateY(calc(8px + (var(--spread-progress, 0) * 20px))) 
    scale(calc(1 + (var(--spread-progress, 0) * -0.08)));
}

.phone:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-label {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(10, 10, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 8px 18px rgba(0, 0, 0, 0.55),
    0 0 24px rgba(255, 20, 147, 0.5);
  backdrop-filter: blur(12px);
}

/* Montagnes SVG en bas du hero */
.mountains {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 140%;
  max-width: none;
  opacity: 0.9;
  pointer-events: none;
  z-index: -1; /* Passe derrière le contenu du hero */
  /* Fondu doux vers le bas pour éviter une coupure nette */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 20%,
    black 70%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 20%,
    black 70%,
    transparent 100%
  );
}

/* Canvas étoiles global */
#stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

/* Canvas neige global */
#snow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1; /* devant les étoiles, derrière le contenu */
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Révélation des sections avec animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Bande de bénéfices rapides - style cartes "app" glass */
.quick-benefits {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 2rem 1rem;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;  /* IE/Edge */
  scrollbar-width: none;     /* Firefox */
}
.quick-benefits::-webkit-scrollbar {
  display: none;             /* Chrome/Safari */
}
.benefit {
  flex: 0 0 auto;
  min-width: 230px;
  padding: 1.4rem 1.6rem;
  border-radius: 1.8rem;
  background:
    var(--color-glass-bg),
    var(--color-card-bg-benefit);
  border: 1px solid var(--color-border);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 18px 45px rgba(0, 0, 0, 0.3),
    0 0 45px rgba(255, 20, 147, 0.25);
  text-align: left;
  scroll-snap-align: start;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s ease;
}
.benefit:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(255, 20, 147, 0.25);
}
.benefit .icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--color-text-on-pink);
  margin-bottom: 0.7rem;
  background: radial-gradient(circle at top, #ff69b4, #ff1493);
  box-shadow: 0 0 16px rgba(255, 20, 147, 0.7);
}
.benefit h3 {
  font-size: 18px; /* H3 de l'app */
  line-height: 1.4; /* H3 height */
  margin-bottom: 0.3rem;
  font-weight: 600;
  color: var(--color-text-primary);
}
.benefit p {
  font-size: 14px; /* Body2 de l'app */
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5; /* Body2 height */
  font-weight: 400; /* Regular */
}

/* Fonctionnalités */
.features {
  padding: 4rem 1.2rem 4.5rem;
  background: transparent; /* Transparent pour laisser voir le dégradé du body */
  position: relative;
  overflow: hidden;
}
.features h2 {
  text-align: center;
  font-size: 24px; /* H2 de l'app, un peu plus généreux */
  line-height: 1.3; /* H2 height de l'app */
  margin-bottom: 2.5rem;
  font-weight: 600; /* Semibold comme H2 de l'app */
  color: var(--color-text-on-pink); /* Blanc sur fond sombre */
}
.features-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
  grid-auto-rows: masonry; /* Future CSS Masonry (Safari/Firefox) */
}

/* Fallback pour navigateurs sans support masonry */
@supports not (grid-template-rows: masonry) {
  .features-grid {
    align-items: stretch;
  }
}
.feature-card {
  border-radius: 1.8rem;
  padding: 2rem;
  background:
    var(--color-glass-bg),
    var(--color-card-bg);
  border: 1px solid var(--color-border);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 18px 45px rgba(0, 0, 0, 0.3),
    0 0 32px rgba(255, 20, 147, 0.2);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 24px 60px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(255, 20, 147, 0.55);
  background:
    radial-gradient(circle at top left, rgba(255, 20, 147, 0.25), transparent 60%),
    rgba(16, 13, 32, 0.98);
}
.feature-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 1rem;
  /* Dégradé bouton de l'app pour les icônes */
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-on-pink);
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(255, 20, 147, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card .icon svg {
  width: 24px;
  height: 24px;
  color: inherit;
}

.feature-card:hover .icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 4px 8px rgba(255, 20, 147, 0.4);
}
.feature-card h3 {
  font-size: 18px; /* H3 de l'app */
  line-height: 1.4; /* H3 height de l'app */
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.96);
  font-weight: 600; /* Medium comme H3 de l'app */
}
.feature-card p {
  font-size: 16px; /* Body de l'app */
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5; /* Body height */
  font-weight: 400; /* Regular */
  margin-bottom: 0;
}

/* Petit élément de gamification / progression dans la dernière carte */
.feature-progress {
  margin-top: 1rem;
  width: 100%;
}
.feature-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.35rem;
}
.feature-progress-track {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.feature-progress-bar {
  position: absolute;
  inset: 0;
  width: 72%;
  background: linear-gradient(90deg, var(--color-primary-light), #ffd1f2);
  border-radius: inherit;
  box-shadow: 0 0 12px rgba(255, 20, 147, 0.6);
}
.feature-progress-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent 60%);
  mix-blend-mode: screen;
}

/* Comment ça marche */
.how-it-works {
  padding: 4rem 1rem;
  background: transparent; /* Transparent pour laisser voir le dégradé */
}
.how-it-works h2 {
  text-align: center;
  font-size: 22px; /* H2 de l'app */
  line-height: 1.3; /* H2 height */
  margin-bottom: 2rem;
  font-weight: 600; /* Semibold */
  color: var(--color-text-on-pink); /* Blanc sur fond sombre */
}
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.how-step {
  display: flex;
  gap: 1rem;
  background: var(--color-card-bg); /* Blanc pur */
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(255, 20, 147, 0.15); /* cardShadow de l'app */
  transition: transform 0.3s, box-shadow 0.3s;
}
.how-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(255, 20, 147, 0.25);
}
.how-step .number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  /* Dégradé bouton de l'app pour les numéros */
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-text-on-pink);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(255, 20, 147, 0.2);
}
.how-step .step-content {
  flex: 1;
}
.how-step h3 {
  font-size: 18px; /* H3 de l'app */
  line-height: 1.4; /* H3 height */
  margin-bottom: 0.25rem;
  font-weight: 500; /* Medium */
  color: var(--color-text-primary); /* textPrimary */
}
.how-step p {
  font-size: 16px; /* Body de l'app */
  color: var(--color-text-secondary); /* textSecondary */
  line-height: 1.5; /* Body height */
  font-weight: 400; /* Regular */
}

/* Social proof */
.social-proof {
  padding: 4rem 1rem;
  background: transparent; /* Transparent pour laisser voir le dégradé */
}
.social-proof h2 {
  text-align: center;
  font-size: 22px; /* H2 de l'app */
  line-height: 1.3; /* H2 height */
  margin-bottom: 2rem;
  font-weight: 600; /* Semibold */
  color: var(--color-text-on-pink); /* Blanc sur fond sombre */
}
.social-proof > p {
  text-align: center;
  color: rgba(255, 255, 255, 0.8); /* textOnDarkSecondary */
  font-size: 16px;
  margin-top: 1rem;
}
.testimonials {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
}
.testimonial-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  border-radius: 1.8rem;
  padding: 1.6rem;
  background:
    radial-gradient(circle at top left, rgba(255, 20, 147, 0.2), transparent 55%),
    rgba(13, 11, 24, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 16px 40px rgba(0, 0, 0, 0.85),
    0 0 32px rgba(255, 20, 147, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 20px 55px rgba(0, 0, 0, 0.95),
    0 0 40px rgba(255, 20, 147, 0.55);
}
.testimonial-card .stars {
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.testimonial-card p {
  font-size: 16px; /* Body de l'app */
  color: var(--color-text-secondary); /* textSecondary */
  line-height: 1.5; /* Body height */
  font-weight: 400; /* Regular */
}
.testimonial-card .name {
  margin-top: 0.75rem;
  font-weight: 500; /* Medium */
  font-size: 14px; /* Body2 de l'app */
  color: var(--color-text-primary); /* textPrimary */
  line-height: 1.5; /* Body2 height */
}

/* Suppression des styles pricing - section supprimée */

/* Suppression des styles FAQ - section supprimée */

/* CTA finale */
.final-cta {
  padding: 4rem 1rem;
  text-align: center;
  color: var(--color-text-on-pink);
  background: transparent; /* On garde le fond global, CTA simple */
  margin: 3rem 1rem 0;
}
.final-cta h2 {
  font-size: 28px; /* H1 de l'app */
  line-height: 1.2; /* H1 height */
  margin-bottom: 1rem;
  font-weight: 600; /* Semibold */
  color: var(--color-text-on-pink);
  position: relative;
  z-index: 1;
}
.final-cta p {
  font-size: 16px; /* Body de l'app */
  line-height: 1.5; /* Body height */
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8); /* textOnDarkSecondary */
  font-weight: 400; /* Regular */
  position: relative;
  z-index: 1;
}
.final-cta .btn-download {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 9999px;
  /* Harmonisé avec le bouton principal */
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-text-on-pink);
  font-weight: 600; /* Semibold comme buttonPrimary */
  font-size: 16px; /* buttonPrimary size */
  line-height: 1.2; /* buttonPrimary height */
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 8px rgba(255, 20, 147, 0.25);
  position: relative;
  z-index: 1;
}
.final-cta .btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 20, 147, 0.35);
}

/* Pied de page */
footer {
  padding: 3rem 1rem 2rem;
  background: transparent; /* Transparent pour laisser voir le dégradé */
  text-align: center;
  color: rgba(255, 255, 255, 0.6); /* textOnDarkTertiary de l'app */
  font-size: 14px; /* Body2 de l'app */
  line-height: 1.5; /* Body2 height */
  font-weight: 400; /* Regular */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
}


/* Pages légales et support */
.legal-page {
  min-height: 100vh;
  padding: 6rem 1rem 3rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.legal-container {
  max-width: 800px;
  width: 100%;
  background:
    var(--color-glass-bg),
    var(--color-card-bg);
  border-radius: 1.8rem;
  padding: 2.5rem 2rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 18px 45px rgba(0, 0, 0, 0.5);
  color: var(--color-text-primary);
}

.legal-container h1 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--color-text-primary);
}

.legal-date {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section h2 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  margin-top: 2rem;
  color: var(--color-text-primary);
}

.legal-section:first-of-type h2 {
  margin-top: 0;
}

.legal-section p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

.legal-section ul {
  margin: 1rem 0 1rem 1.5rem;
  padding: 0;
}

.legal-section li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 0.75rem;
}

.legal-section a {
  color: var(--color-primary-light);
  text-decoration: underline;
  transition: color 0.3s;
}

.legal-section a:hover {
  color: var(--color-primary);
}

.legal-table {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.legal-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.legal-table th {
  background: rgba(255, 20, 147, 0.1);
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  color: var(--color-text-primary);
  border-bottom: 2px solid var(--color-primary);
}

.legal-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-secondary);
}

.legal-table tr:hover {
  background: rgba(255, 20, 147, 0.05);
}

.legal-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

@media (max-width: 768px) {
  .legal-container {
    padding: 2rem 1.5rem;
  }
  
  .legal-container h1 {
    font-size: 24px;
  }
  
  .legal-section h2 {
    font-size: 18px;
  }
  
  .legal-table {
    font-size: 12px;
  }
  
  .legal-table th,
  .legal-table td {
    padding: 0.5rem;
  }
}
footer .links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
footer .links a {
  color: rgba(255, 255, 255, 0.8); /* textOnDarkSecondary */
  transition: color 0.3s;
  font-size: 14px; /* Body2 */
  line-height: 1.5;
  font-weight: 400; /* Regular */
}
footer .links a:hover {
  color: var(--color-primary-light); /* Hot pink au hover */
}
footer .socials {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1rem;
}
footer .socials a {
  color: var(--color-primary-light); /* Hot pink */
  font-size: 1.4rem;
  transition: color 0.3s, transform 0.3s;
}
footer .socials a:hover {
  color: var(--color-primary);
  transform: scale(1.1);
}
footer p {
  margin: 0;
  font-size: 12px; /* Small de l'app */
  line-height: 1.3; /* Small height */
  color: rgba(255, 255, 255, 0.6); /* textOnDarkTertiary */
  font-weight: 400; /* Regular */
}

/* Respect pour prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .hero h1 .word {
    opacity: 1 !important;
    transform: none !important;
  }
  
  .phone-item {
    opacity: 1 !important;
    transform: none !important;
  }
  
  .navbar {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Responsive */
@media (min-width: 768px) {
  .quick-benefits {
    justify-content: center;
  }
  .how-steps {
    flex-direction: row;
  }
  .phones {
    gap: 1.5rem;
  }
  .phones.spread {
    gap: 3rem;
  }
  .phones.spread .phone-item:nth-child(1) .phone {
    transform: 
      translateX(calc(-5px + (var(--spread-progress, 0) * -75px))) 
      rotate(calc(-12deg + (var(--spread-progress, 0) * -15deg))) 
      translateY(calc(8px + (var(--spread-progress, 0) * 25px))) 
      scale(calc(1 + (var(--spread-progress, 0) * -0.1)));
  }
  .phones.spread .phone-item:nth-child(2) .phone {
    transform: 
      translateY(calc(-15px + (var(--spread-progress, 0) * -25px))) 
      scale(calc(1.05 + (var(--spread-progress, 0) * 0.1)));
  }
  .phones.spread .phone-item:nth-child(3) .phone {
    transform: 
      translateX(calc(5px + (var(--spread-progress, 0) * 75px))) 
      rotate(calc(12deg + (var(--spread-progress, 0) * 15deg))) 
      translateY(calc(8px + (var(--spread-progress, 0) * 25px))) 
      scale(calc(1 + (var(--spread-progress, 0) * -0.1)));
  }
}

/* Animation d'entrée de page */
body {
  opacity: 0;
  transition: opacity 0.6s ease;
}
body.loaded {
  opacity: 1;
}

@media (min-width: 1024px) {
  /* Sur desktop, logo un peu plus grand si nécessaire */
  .logo-icon {
    width: 48px;
  }

  .hero h1 {
    font-size: 36px; /* Plus grand sur desktop pour impact */
    line-height: 1.1;
  }
  .hero p {
    font-size: 18px; /* Légèrement plus grand sur desktop */
  }
  .final-cta h2 {
    font-size: 32px; /* Plus grand sur desktop */
  }
  .final-cta p {
    font-size: 18px; /* Plus grand sur desktop */
  }
  /* Améliorer la lisibilité des sections sur grand écran */
  .features,
  .how-it-works,
  .social-proof {
    max-width: 1200px;
    margin: 0 auto;
  }
  .phones {
    gap: 2rem;
  }
  .phones.spread {
    gap: 4rem;
  }
  .phones.spread .phone-item:nth-child(1) .phone {
    transform: 
      translateX(calc(-5px + (var(--spread-progress, 0) * -100px))) 
      rotate(calc(-12deg + (var(--spread-progress, 0) * -20deg))) 
      translateY(calc(8px + (var(--spread-progress, 0) * 35px))) 
      scale(calc(1 + (var(--spread-progress, 0) * -0.12)));
  }
  .phones.spread .phone-item:nth-child(2) .phone {
    transform: 
      translateY(calc(-15px + (var(--spread-progress, 0) * -30px))) 
      scale(calc(1.05 + (var(--spread-progress, 0) * 0.12)));
  }
  .phones.spread .phone-item:nth-child(3) .phone {
    transform: 
      translateX(calc(5px + (var(--spread-progress, 0) * 100px))) 
      rotate(calc(12deg + (var(--spread-progress, 0) * 20deg))) 
      translateY(calc(8px + (var(--spread-progress, 0) * 35px))) 
      scale(calc(1 + (var(--spread-progress, 0) * -0.12)));
  }
}