/* Verset Vie - Feuille de style principale */

/* Polices de base */
body { 
  font-family: 'Inter', sans-serif; 
}

.font-title { 
  font-family: 'Playfair Display', serif; 
}

/* Variables de couleurs et thèmes */
:root {
  --primary-yellow: #facc15;
  --primary-yellow-dark: #d97706;
  --dark-bg: #18181b;
  --light-bg: #fffbe8;
  --text-dark: #22223b;
  --text-light: #f3f4f6;
}

/* BANNIÈRE ANNONCE */
.announcement-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
  padding: 0.75rem 1rem;
  box-shadow: 0 4px 20px rgba(250, 204, 21, 0.3);
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.announcement-banner.hidden {
  animation: slideUp 0.3s ease-out forwards;
}

@keyframes slideUp {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}

.announcement-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.announcement-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1f2937;
}

.announcement-icon {
  width: 14px;
  height: 14px;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.2) rotate(180deg); }
}

.announcement-text {
  color: #1f2937;
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0;
  text-align: center;
}

.announcement-text strong {
  font-weight: 700;
}

.announcement-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #1f2937;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.announcement-cta:hover {
  background: #111827;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.announcement-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.announcement-cta:hover .announcement-arrow {
  transform: translateX(2px);
}

.announcement-close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.3);
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #1f2937;
}

.announcement-close:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.announcement-close svg {
  width: 16px;
  height: 16px;
}

/* Ajustement du body pour la bannière */
body {
  padding-top: 130px;
}

/* Styles de base et thème clair/sombre */
html {
  color: var(--text-dark);
  transition: background 0.3s, color 0.3s;
}

body {
  background: #ffffff;
  transition: background 0.3s, color 0.3s;
  padding-top: 80px;
}

.dark {
  background: var(--dark-bg);
  color: var(--text-light);
}

.dark body {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #27272a 100%);
  color: var(--text-light);
}

/* Effets glass morphism */
.glass-dark {
  background: rgba(24,24,27,0.7);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 32px 0 rgba(0,0,0,0.18);
}

.glass-light {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 32px 0 rgba(0,0,0,0.08);
}

.dark .glass-dark {
  background: rgba(24,24,27,0.7);
  box-shadow: 0 4px 32px 0 rgba(0,0,0,0.18);
}

.dark .glass-light {
  background: rgba(36,36,40,0.7);
  box-shadow: 0 4px 32px 0 rgba(0,0,0,0.18);
}

/* Animations de révélation au scroll */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: none;
}

/* HEADER NAVIGATION */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.dark .header-nav {
  background: rgba(24, 24, 27, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-yellow-dark);
}

.dark .nav-logo {
  color: var(--primary-yellow);
}

.logo-img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  object-fit: contain;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.nav-desktop {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: #d97706;
  background: rgba(250, 204, 21, 0.15);
  font-weight: 600;
}

.dark .nav-link {
  color: var(--text-light);
}

.dark .nav-link:hover, .dark .nav-link.active {
  color: var(--primary-yellow);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mode-switch {
  background: rgba(255,255,255,0.85);
  color: var(--text-dark);
  border-radius: 9999px;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.08);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dark .mode-switch {
  background: rgba(36,36,40,0.9);
  color: var(--primary-yellow);
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.18);
}

.mode-text {
  display: none;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger-line {
  width: 1.5rem;
  height: 2px;
  background: var(--text-dark);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.dark .hamburger-line {
  background: var(--text-light);
}

.nav-mobile {
  display: none;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1rem;
}

.dark .nav-mobile {
  background: rgba(24, 24, 27, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-mobile.active {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-link-mobile {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.nav-link-mobile:hover, .nav-link-mobile.active {
  color: #d97706;
  background: rgba(250, 204, 21, 0.15);
  font-weight: 600;
}

.dark .nav-link-mobile {
  color: var(--text-light);
}

.dark .nav-link-mobile:hover {
  color: var(--primary-yellow);
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* HERO SECTION */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 1rem 2rem 1rem;
  position: relative;
  background: #ffffff;
  transition: background 0.3s;
}

.dark .hero-section {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #27272a 100%);
}

.hero-container {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.hero-icon {
  width: 12rem;
  height: 12rem;
  opacity: 0.95;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  object-fit: contain;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  color: var(--primary-yellow-dark);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 0;
  line-height: 1.1;
}

.dark .hero-title {
  color: var(--primary-yellow);
}

.hero-subtitle {
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.dark .hero-subtitle {
  color: var(--text-light);
}

.hero-description {
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: #374151;
  margin: 0;
  max-width: 600px;
}

.dark .hero-description {
  color: #d1d5db;
}

/* Badges statistiques */
.stats-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.stat-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.stat-badge:hover {
  transform: translateY(-2px);
}

.stat-icon {
  width: 2rem;
  height: 2rem;
  color: var(--primary-yellow-dark);
  flex-shrink: 0;
  margin-bottom: 0.25rem;
}

.dark .stat-icon {
  color: var(--primary-yellow);
}

.stat-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
  text-align: center;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.dark .stat-number {
  color: var(--text-light);
}

.stat-label {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

.dark .stat-label {
  color: #9ca3af;
}

@media (max-width: 640px) {
  .stats-badges {
    gap: 1.5rem;
  }

  .stat-icon {
    width: 1.75rem;
    height: 1.75rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.8125rem;
  }
}

/* Boutons de téléchargement */
.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.download-buttons a {
  display: flex;
  align-items: center;
  height: 60px;
}

.download-buttons img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

/* Badge App Store - taille standard */
.download-buttons a[href*="apps.apple.com"] img {
  height: 56px;
}

/* Badge Google Play - légèrement plus grand pour compenser l'espace blanc */
.download-buttons a[href*="play.google.com"] img {
  height: 70px;
  margin: -5px 0;
}

.app-store-btn, .play-store-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
}

.app-store-btn {
  background: #000000 !important;
  color: white !important;
}

.play-store-btn {
  background: #01875f !important;
  color: white !important;
}

.app-store-btn:hover {
  background: #1f2937 !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.play-store-btn:hover {
  background: #016b4a !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(1, 135, 95, 0.2);
}

.dark .app-store-btn {
  background: #000000 !important;
  color: white !important;
}

.dark .app-store-btn:hover {
  background: #1f2937 !important;
  color: white !important;
}

.dark .play-store-btn {
  background: #01875f !important;
  color: white !important;
}

.dark .play-store-btn:hover {
  background: #016b4a !important;
  color: white !important;
}

.app-store-icon, .play-store-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  color: white !important;
}

.app-store-text, .play-store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  color: white !important;
}

.app-store-small, .play-store-small {
  font-size: 0.75rem;
  opacity: 0.8;
  color: white !important;
}

.app-store-large, .play-store-large {
  font-size: 1.25rem;
  font-weight: 700;
  color: white !important;
}

.dark .app-store-icon, .dark .play-store-icon,
.dark .app-store-text, .dark .play-store-text,
.dark .app-store-small, .dark .play-store-small,
.dark .app-store-large, .dark .play-store-large {
  color: white !important;
}

/* APPEL À L'ACTION FINAL */
.final-cta-text {
  color: #374151;
}

.dark .final-cta-text {
  color: #f3f4f6;
}

/* FOOTER */
.dark [href="https://codebykriss.fr"] {
  color: var(--primary-yellow) !important;
}

.dark [href="https://codebykriss.fr"]:hover {
  color: #fde047 !important;
}

/* SECTIONS COMMUNES */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--primary-yellow-dark);
  text-align: center;
  margin: 0 0 3rem 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dark .section-title {
  color: var(--primary-yellow);
}

/* FONCTIONNALITÉS SECTION */
.features-section {
  padding: 8rem 0;
  background: transparent;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
  place-content: center;
}

.feature-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  backdrop-filter: blur(20px);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dark .feature-card {
  background: rgba(24, 24, 27, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border-color: rgba(250, 204, 21, 0.3);
}

.dark .feature-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  border-color: rgba(250, 204, 21, 0.3);
}

.feature-icon-container {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.feature-card:hover .feature-icon-container {
  background: linear-gradient(135deg, var(--primary-yellow), #f59e0b);
  transform: scale(1.05);
}

.dark .feature-icon-container {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.15), rgba(253, 230, 138, 0.15));
}

.dark .feature-card:hover .feature-icon-container {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.25), rgba(245, 158, 11, 0.25));
}

.feature-icon {
  width: 28px;
  height: 28px;
  color: #d97706;
}

.dark .feature-icon {
  color: var(--primary-yellow);
}

.feature-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.dark .feature-title {
  color: var(--text-light);
}

.feature-description {
  color: #64748b;
  line-height: 1.6;
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 400;
}

.dark .feature-description {
  color: #94a3b8;
}

/* PREMIUM SECTION */
.premium-section {
  padding: 8rem 0;
  background: transparent;
  position: relative;
}

.premium-card {
  position: relative;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 2rem;
  padding: 3.5rem 3rem;
  max-width: 900px;
  margin: 0 auto;
  border: 2px solid rgba(217, 119, 6, 0.3);
  box-shadow: 0 12px 48px rgba(217, 119, 6, 0.2);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.1) 0%, transparent 70%);
  animation: premium-glow 8s ease-in-out infinite;
}

@keyframes premium-glow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20%, -20%); }
}

.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 64px rgba(217, 119, 6, 0.3);
  border-color: rgba(217, 119, 6, 0.5);
}

.dark .premium-card {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.15) 0%, rgba(245, 158, 11, 0.15) 100%);
  border: 2px solid rgba(250, 204, 21, 0.3);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

.dark .premium-card:hover {
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.6);
  border-color: rgba(250, 204, 21, 0.5);
}

.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.3);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.premium-badge-icon {
  width: 16px;
  height: 16px;
  animation: premium-sparkle 2s ease-in-out infinite;
}

@keyframes premium-sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.2) rotate(180deg); }
}

.premium-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #92400e;
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.dark .premium-title {
  color: var(--primary-yellow);
}

.premium-description {
  font-size: 1.125rem;
  color: #78350f;
  line-height: 1.7;
  margin: 0 0 2rem 0;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.dark .premium-description {
  color: #fef3c7;
}

.premium-description strong {
  color: #92400e;
  font-weight: 700;
}

.dark .premium-description strong {
  color: var(--primary-yellow);
}

.premium-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.premium-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: #78350f;
  font-weight: 500;
}

.dark .premium-feature-item {
  color: #fde68a;
}

.premium-check-icon {
  width: 24px;
  height: 24px;
  color: #15803d;
  flex-shrink: 0;
}

.dark .premium-check-icon {
  color: #86efac;
}

.premium-footer {
  font-size: 1rem;
  color: #92400e;
  font-style: italic;
  text-align: center;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(217, 119, 6, 0.2);
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.dark .premium-footer {
  color: var(--primary-yellow);
  border-top: 1px solid rgba(250, 204, 21, 0.2);
}

/* SCREENSHOTS SECTION */
.screenshots-section {
  padding: 6rem 0;
  background: transparent;
}

/* CAROUSEL AVEC 3 IMAGES VISIBLES */
.simple-carousel {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 80px;
}

.carousel-viewport {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.carousel-slide {
  position: absolute;
  width: 240px;
  height: 520px;
  border-radius: 1.5rem;
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  top: 50%;
  left: 50%;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Image active (au centre) */
.carousel-slide.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 10;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
}

/* Image précédente (à gauche) */
.carousel-slide.prev {
  transform: translate(-150%, -50%) scale(0.8);
  opacity: 0.7;
  z-index: 5;
  filter: brightness(0.6) saturate(0.8);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Image suivante (à droite) */
.carousel-slide.next {
  transform: translate(50%, -50%) scale(0.8);
  opacity: 0.7;
  z-index: 5;
  filter: brightness(0.6) saturate(0.8);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Images cachées */
.carousel-slide.hidden {
  transform: translate(-50%, -50%) scale(0.3);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.dark .carousel-slide.active {
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

.dark .carousel-slide.prev,
.dark .carousel-slide.next {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}



.carousel-btn {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-yellow-dark);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
}

.carousel-btn-prev {
  left: -60px;
}

.carousel-btn-next {
  right: -60px;
}

.dark .carousel-btn {
  background: rgba(36, 36, 40, 0.9);
  color: var(--primary-yellow);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.carousel-btn:hover {
  transform: scale(1.1);
  background: rgba(250, 204, 21, 0.1);
}

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

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(250, 204, 21, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: var(--primary-yellow-dark);
  transform: scale(1.2);
}

.dark .carousel-dot.active {
  background: var(--primary-yellow);
}

.carousel-dot:hover {
  background: rgba(250, 204, 21, 0.6);
}

/* MISSION SECTION */
.mission-section {
  padding: 8rem 0;
  background: transparent;
  position: relative;
}

.mission-card {
  position: relative;
  background: #ffffff;
  backdrop-filter: blur(20px);
  border-radius: 2rem;
  padding: 4rem 3rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid rgba(250, 204, 21, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-yellow), #f59e0b);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.mission-card:hover::before {
  transform: scaleX(1);
}

.mission-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.15);
  border-color: rgba(250, 204, 21, 0.35);
}

.dark .mission-card {
  background: rgba(24, 24, 27, 0.95);
  border: 1px solid rgba(250, 204, 21, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.dark .mission-card:hover {
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.4);
  border-color: rgba(250, 204, 21, 0.4);
}

.mission-icon-container {
  width: 100px;
  height: 100px;
  margin: 0 auto 2.5rem auto;
  background: linear-gradient(135deg, var(--primary-yellow), #f59e0b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(250, 204, 21, 0.3);
  transition: all 0.4s ease;
}

.mission-card:hover .mission-icon-container {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 12px 32px rgba(250, 204, 21, 0.4);
}

.mission-icon {
  width: 48px;
  height: 48px;
  color: #1f2937;
}

.mission-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 2.5rem 0;
  line-height: 1.2;
}

.dark .mission-title {
  color: var(--text-light);
}

.mission-card:hover .mission-title {
  color: var(--primary-yellow-dark);
}

.dark .mission-card:hover .mission-title {
  color: var(--primary-yellow);
}

.mission-description {
  font-size: 1.25rem;
  color: #334155;
  line-height: 1.7;
  margin: 0 0 2.5rem 0;
  font-weight: 450;
}

.dark .mission-description {
  color: #cbd5e1;
}

.mission-card:hover .mission-description {
  color: var(--text-dark);
}

.dark .mission-card:hover .mission-description {
  color: var(--text-light);
}

.mission-quote {
  font-style: italic;
  color: var(--primary-yellow-dark);
  font-size: 1.25rem;
  margin: 0;
  line-height: 1.6;
  font-weight: 500;
  position: relative;
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(250, 204, 21, 0.05);
  border: 1px solid rgba(250, 204, 21, 0.1);
}

.dark .mission-quote {
  color: var(--primary-yellow);
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.2);
}

.mission-cite {
  display: block;
  font-size: 1rem;
  margin-top: 1rem;
  opacity: 0.8;
  font-weight: 600;
}

/* FAQ SECTION */
.faq-section {
  padding: 6rem 0;
  background: #ffffff;
  transition: background 0.3s;
}

.dark .faq-section {
  background: var(--dark-bg);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid rgba(250, 204, 21, 0.15);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(250, 204, 21, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.dark .faq-item {
  background: rgba(24, 24, 27, 0.95);
  border-color: rgba(250, 204, 21, 0.2);
}

.dark .faq-item:hover {
  border-color: rgba(250, 204, 21, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.dark .faq-question {
  color: var(--text-light);
}

.faq-question:hover {
  color: var(--primary-yellow-dark);
}

.dark .faq-question:hover {
  color: var(--primary-yellow);
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--primary-yellow-dark);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.dark .faq-icon {
  color: var(--primary-yellow);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer p {
  padding: 0 1.75rem 1.5rem 1.75rem;
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #64748b;
}

.dark .faq-answer p {
  color: #94a3b8;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

@media (max-width: 768px) {
  .faq-question {
    font-size: 1rem;
    padding: 1.25rem 1.25rem;
  }

  .faq-answer p {
    padding: 0 1.25rem 1.25rem 1.25rem;
    font-size: 0.9375rem;
  }
}

/* ADVENTURE SECTION */
.adventure-section {
  padding: 8rem 0;
  background: transparent;
  position: relative;
}

.adventure-card {
  position: relative;
  background: #ffffff;
  backdrop-filter: blur(20px);
  border-radius: 2rem;
  padding: 3.5rem 3rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid rgba(250, 204, 21, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.adventure-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-yellow), #f59e0b);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.adventure-card:hover::before {
  transform: scaleX(1);
}

.adventure-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.15);
  border-color: rgba(250, 204, 21, 0.35);
}

.dark .adventure-card {
  background: rgba(24, 24, 27, 0.95);
  border: 1px solid rgba(250, 204, 21, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.dark .adventure-card:hover {
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.4);
  border-color: rgba(250, 204, 21, 0.4);
}

.adventure-icon-container {
  width: 90px;
  height: 90px;
  margin: 0 auto 2rem auto;
  background: linear-gradient(135deg, var(--primary-yellow), #f59e0b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(250, 204, 21, 0.3);
  transition: all 0.4s ease;
}

.adventure-card:hover .adventure-icon-container {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 32px rgba(250, 204, 21, 0.4);
}

.adventure-icon {
  width: 42px;
  height: 42px;
  color: #1f2937;
}

.adventure-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 2rem 0;
  line-height: 1.3;
}

.dark .adventure-title {
  color: var(--text-light);
}

.adventure-card:hover .adventure-title {
  color: var(--primary-yellow-dark);
}

.dark .adventure-card:hover .adventure-title {
  color: var(--primary-yellow);
}

.adventure-description {
  font-size: 1.1rem;
  color: #334155;
  line-height: 1.7;
  margin: 0 0 2.5rem 0;
  font-weight: 450;
}

.dark .adventure-description {
  color: #cbd5e1;
}

.adventure-card:hover .adventure-description {
  color: var(--text-dark);
}

.dark .adventure-card:hover .adventure-description {
  color: var(--text-light);
}

.adventure-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--primary-yellow), #f59e0b);
  color: #1f2937;
  padding: 1rem 2rem;
  border-radius: 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(250, 204, 21, 0.3);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.adventure-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.adventure-btn:hover::before {
  left: 100%;
}

.adventure-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 32px rgba(250, 204, 21, 0.4);
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.adventure-btn-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: #1f2937;
}

.adventure-btn:hover .adventure-btn-icon {
  transform: translateX(4px);
}

/* Utilitaires pour les ancres */
section[id] {
  scroll-margin-top: 80px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .mode-text {
    display: inline;
  }
  
  .nav-container {
    padding: 0.75rem 1rem;
  }
  
  .hero-section {
    min-height: calc(100vh - 80px);
  }
  
  .features-section {
    padding: 6rem 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 600px;
  }

  .feature-card {
    padding: 2.5rem 2rem;
  }

  .feature-icon-container {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
  }

  .feature-icon {
    width: 32px;
    height: 32px;
  }

  .feature-title {
    font-size: 1.5rem;
  }

  .feature-description {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-icon {
    width: 8rem;
    height: 8rem;
  }
  
  .premium-section {
    padding: 6rem 0;
  }

  .premium-card {
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
  }

  .premium-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }

  .premium-badge-icon {
    width: 14px;
    height: 14px;
  }

  .premium-title {
    font-size: 2rem;
  }

  .premium-description {
    font-size: 1rem;
  }

  .premium-feature-item {
    font-size: 0.95rem;
  }

  .premium-check-icon {
    width: 20px;
    height: 20px;
  }

  .premium-footer {
    font-size: 0.95rem;
  }

  .mission-section, .adventure-section {
    padding: 6rem 0;
  }

  .mission-card, .adventure-card {
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
  }

  .mission-icon-container {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
  }

  .mission-icon {
    width: 40px;
    height: 40px;
  }

  .adventure-icon-container {
    width: 75px;
    height: 75px;
    margin-bottom: 1.5rem;
  }

  .adventure-icon {
    width: 36px;
    height: 36px;
  }

  .mission-title {
    font-size: 2.25rem;
  }

  .adventure-title {
    font-size: 1.875rem;
  }

  .mission-description, .adventure-description {
    font-size: 1rem;
  }

  .mission-quote {
    font-size: 1.125rem;
    padding: 1.25rem;
  }

  .adventure-btn {
    font-size: 1rem;
    padding: 0.875rem 1.75rem;
  }
  
  .simple-carousel {
    max-width: 600px;
  }

  .carousel-viewport {
    height: 500px;
  }
  
  .carousel-slide {
    width: 200px;
    height: 430px;
  }
  
  .carousel-slide.prev {
    transform: translate(-120%, -50%) scale(0.75);
  }
  
  .carousel-slide.next {
    transform: translate(20%, -50%) scale(0.75);
  }
}

@media (max-width: 640px) {
  .carousel-container {
    padding: 0 60px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
  
  .carousel-btn-prev {
    left: -50px;
  }

  .carousel-btn-next {
    right: -50px;
  }
  
  .carousel-btn svg {
    width: 20px;
    height: 20px;
  }
  
  .carousel-viewport {
    height: 460px;
  }
  
  .carousel-slide {
    width: 160px;
    height: 350px;
  }
  
  .carousel-slide.prev {
    transform: translate(-100%, -50%) scale(0.7);
  }
  
  .carousel-slide.next {
    transform: translate(0%, -50%) scale(0.7);
  }
  
}

@media (max-width: 480px) {
  .hero-content {
    gap: 2rem;
  }
  
  .download-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .app-store-btn, .play-store-btn {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    width: 100%;
    max-width: 200px;
  }
  
  .app-store-text, .play-store-text {
    align-items: center;
  }
  
  .features-section {
    padding: 4rem 0;
  }

  .feature-card {
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
  }

  .feature-icon-container {
    width: 60px;
    height: 60px;
    margin-bottom: 1.25rem;
  }

  .feature-icon {
    width: 28px;
    height: 28px;
  }

  .feature-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .feature-description {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .premium-section {
    padding: 4rem 0;
  }

  .premium-card {
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
  }

  .premium-badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.875rem;
  }

  .premium-badge-icon {
    width: 12px;
    height: 12px;
  }

  .premium-title {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
  }

  .premium-description {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .premium-features {
    gap: 0.875rem;
    margin-bottom: 1.5rem;
  }

  .premium-feature-item {
    font-size: 0.9rem;
  }

  .premium-check-icon {
    width: 18px;
    height: 18px;
  }

  .premium-footer {
    font-size: 0.875rem;
    padding-top: 1.25rem;
  }

  .mission-section, .adventure-section {
    padding: 4rem 0;
  }

  .mission-card, .adventure-card {
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
  }

  .mission-icon-container {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
  }

  .mission-icon {
    width: 36px;
    height: 36px;
  }

  .adventure-icon-container {
    width: 65px;
    height: 65px;
    margin-bottom: 1.25rem;
  }

  .adventure-icon {
    width: 32px;
    height: 32px;
  }

  .mission-title {
    font-size: 1.875rem;
    margin-bottom: 2rem;
  }

  .adventure-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .mission-description, .adventure-description {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .mission-quote {
    font-size: 1rem;
    padding: 1rem;
    border-radius: 0.75rem;
  }

  .mission-cite {
    font-size: 0.875rem;
    margin-top: 0.75rem;
  }

  .adventure-btn {
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border-radius: 1.5rem;
  }

  .adventure-btn-icon {
    width: 18px;
    height: 18px;
  }
}