/* ============================================================
   MONUSPREDICT - Page d'accueil publique
   Couleurs principales : Vert #1B5E20 / #4CAF50, Ambre #FFC107
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1B5E20;
  --primary-light: #4CAF50;
  --primary-lighter: #81C784;
  --accent: #FFC107;
  --accent-dark: #FFA000;
  --white: #FFFFFF;
  --off-white: #F5F5F5;
  --dark: #121212;
  --dark-card: #1E1E1E;
  --gray-100: #F5F5F5;
  --gray-200: #E0E0E0;
  --gray-300: #BDBDBD;
  --gray-500: #757575;
  --gray-700: #424242;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  line-height: 1.3;
  font-weight: 700;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 1rem;
  color: var(--dark);
}

.section-subtitle {
  text-align: center;
  color: var(--gray-500);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 1rem 0;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 0.6rem 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  transition: var(--transition);
}

.header.scrolled .logo {
  color: var(--primary);
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  transition: var(--transition);
  position: relative;
}

.header.scrolled .nav-links a {
  color: var(--gray-700);
}

.nav-links a:hover {
  color: var(--accent);
}

.header.scrolled .nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.header.scrolled .nav-links a::after {
  background: var(--primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-nav {
  background: var(--accent) !important;
  color: var(--dark) !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  transition: var(--transition) !important;
}

.btn-nav:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255,193,7,0.4);
}

.btn-nav::after {
  display: none !important;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition);
}

.header.scrolled .menu-toggle span {
  background: var(--primary);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #0D2E11 0%, #1B5E20 40%, #2E7D32 100%);
  overflow: hidden;
  padding: 6rem 0 4rem;
}

.hero-bg-svg {
  position: absolute;
  pointer-events: none;
}

.hero-bg-svg.top-right {
  top: -50px;
  right: -50px;
  width: 350px;
  height: 350px;
  opacity: 0.15;
}

.hero-bg-svg.bottom-left {
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  opacity: 0.1;
}

.hero-bg-svg.center-dots {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  opacity: 0.05;
}

/* Ballon de foot décoratif */
.hero-ball-svg {
  position: absolute;
  pointer-events: none;
  top: 15%;
  right: 5%;
  width: 180px;
  height: 180px;
  opacity: 0.5;
  animation: floatBall 6s ease-in-out infinite;
}

@keyframes floatBall {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  30% { transform: translateY(-20px) rotate(8deg); }
  60% { transform: translateY(-8px) rotate(-4deg); }
}

/* Téléphone décoratif */
.hero-phone-svg {
  position: absolute;
  pointer-events: none;
  bottom: 10%;
  left: 3%;
  width: 110px;
  height: 180px;
  opacity: 0.4;
  animation: floatPhone 5s ease-in-out infinite;
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}

@media (max-width: 1024px) {
  .hero-ball-svg {
    width: 120px;
    height: 120px;
    top: 10%;
    right: 2%;
    opacity: 0.3;
  }
  .hero-phone-svg {
    width: 80px;
    height: 130px;
    bottom: 5%;
    left: 1%;
    opacity: 0.25;
  }
}

@media (max-width: 768px) {
  .hero-ball-svg,
  .hero-phone-svg {
    display: none;
  }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.6; }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero h1 .highlight {
  color: var(--accent);
}

.hero-desc {
  font-size: 1.15rem;
  opacity: 0.85;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255,193,7,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-illustration {
  width: 100%;
  max-width: 480px;
}

.floating-card {
  position: absolute;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  color: var(--white);
  animation: float 5s ease-in-out infinite;
}

.floating-card.card-1 {
  top: 10%;
  right: -20px;
  animation-delay: 0s;
}

.floating-card.card-2 {
  bottom: 20%;
  left: -30px;
  animation-delay: -2.5s;
}

.floating-card .card-stat {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}

.floating-card .card-label {
  font-size: 0.8rem;
  opacity: 0.7;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features {
  padding: 6rem 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 0 0 4px 4px;
  transition: width 0.4s ease;
}

.feature-card:hover::before {
  width: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(27,94,32,0.08) 0%, rgba(76,175,80,0.12) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 36px;
  height: 36px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--dark);
}

.feature-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats {
  padding: 5rem 0;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-number {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.8;
  font-weight: 500;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: 6rem 0;
  background: var(--off-white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 15%;
  width: 70%;
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 70px;
  height: 70px;
  background: var(--white);
  border: 3px solid var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  transition: var(--transition);
}

.step:hover .step-number {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: scale(1.1);
  box-shadow: 0 0 0 12px rgba(27,94,32,0.1);
}

.step h3 {
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--gray-500);
  font-size: 0.95rem;
}

/* ============================================================
   COMMUNITY / COMMUNAUTÉ SECTION
   ============================================================ */
.community {
  padding: 6rem 0;
  background: var(--white);
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.community-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.community-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.community-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.community-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.community-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.community-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light);
  opacity: 0.8;
  transition: var(--transition);
}

.community-card:hover .community-link {
  opacity: 1;
  color: var(--primary);
}

/* ============================================================
   REFERRAL / PARRAINAGE SECTION
   ============================================================ */
.referral {
  padding: 6rem 0;
  background: var(--off-white);
}

.referral-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.referral-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  text-align: center;
}

.referral-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.referral-card-featured {
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.1);
}

.referral-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--dark);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.35rem 1.2rem;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.referral-card-header {
  margin-bottom: 1.5rem;
}

.referral-card-header svg {
  margin-bottom: 0.8rem;
}

.referral-card-header h3 {
  font-size: 1.2rem;
  color: var(--dark);
}

.referral-benefits {
  list-style: none;
  text-align: left;
}

.referral-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.referral-benefits li:last-child {
  border-bottom: none;
}

.referral-amount {
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary);
  min-width: 70px;
  text-align: center;
}

.referral-card-featured .referral-amount {
  color: var(--accent-dark);
}

.referral-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta {
  padding: 6rem 0;
  background: linear-gradient(160deg, #0D2E11 0%, #1B5E20 40%, #2E7D32 100%);
  position: relative;
  overflow: hidden;
}

.cta-svg-bg {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  opacity: 0.1;
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
  color: var(--white);
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.15rem;
  opacity: 0.85;
  margin-bottom: 1rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.cta-subtitle {
  font-size: 1rem !important;
  font-weight: 600;
  opacity: 0.7 !important;
  margin-bottom: 2rem !important;
  letter-spacing: 0.5px;
}

.cta-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-lg {
  position: relative;
  padding: 1rem 2rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 50px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-align: left;
  line-height: 1.3;
}

/* Badge "Bientôt" (coin supérieur droit du bouton) */
.btn-badge {
  position: absolute;
  top: -10px;
  right: 14px;
  background: #FFC107;
  color: #121212;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.18rem 0.55rem;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  pointer-events: none;
}

.btn-lg svg {
  flex-shrink: 0;
}

.btn-lg span {
  display: flex;
  flex-direction: column;
}

.btn-lg small {
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-lg strong {
  font-size: 1.1rem;
  font-weight: 800;
}

/* Android */
.btn-android {
  background: #FFFFFF;
  color: #3DDC84;
  box-shadow: 0 4px 20px rgba(61, 220, 132, 0.3);
}

.btn-android:hover {
  background: #3DDC84;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(61, 220, 132, 0.5);
}

/* iPhone — bientôt disponible */
.btn-iphone {
  background: rgba(255,255,255,0.16);
  color: #FFFFFF;
  border: 2px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(10px);
}

.btn-iphone small {
  opacity: 0.95;
}

.btn-iphone:hover {
  background: rgba(255,255,255,0.26);
  border-color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255,255,255,0.25);
}

/* Ordinateurs */
.btn-desktop {
  background: #FFC107;
  color: #121212;
  box-shadow: 0 4px 20px rgba(255, 193, 7, 0.3);
}

.btn-desktop:hover {
  background: #FFA000;
  color: #121212;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 193, 7, 0.5);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  opacity: 0.65;
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  color: var(--accent);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  opacity: 0.65;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  opacity: 0.5;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ============================================================
   WAVE DIVIDER
   ============================================================ */
.wave-divider {
  position: relative;
  height: 80px;
  overflow: hidden;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.wave-divider.flip svg {
  transform: rotate(180deg);
}

/* ============================================================
   LEGAL PAGES (Confidentialité, Politique, Conditions)
   ============================================================ */
.legal-page {
  min-height: 100vh;
  background: var(--off-white);
}

.legal-header {
  background: linear-gradient(160deg, #0D2E11 0%, #1B5E20 50%, #2E7D32 100%);
  padding: 6rem 0 3rem;
  text-align: center;
}

.legal-header h1 {
  font-size: 2.2rem;
  color: white;
  margin-bottom: 0.5rem;
}

.legal-header p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
}

/* ============================================================
   FAQ PAGE
   ============================================================ */
.faq-page {
  background: var(--off-white);
  min-height: 100vh;
}

/* --- Hero FAQ --- */
.faq-hero {
  position: relative;
  background: linear-gradient(160deg, #0D2E11 0%, #1B5E20 40%, #2E7D32 100%);
  padding: 7rem 0 4rem;
  text-align: center;
  color: white;
  overflow: hidden;
}

.faq-bg-svg {
  position: absolute;
  pointer-events: none;
  opacity: 0.5;
}

.faq-bg-svg.top-right {
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
}

.faq-bg-svg.bottom-left {
  bottom: -30px;
  left: -30px;
  width: 180px;
  height: 180px;
}

.faq-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  transition: color var(--transition);
}

.faq-back-link:hover {
  color: var(--accent);
}

.faq-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.faq-hero p {
  font-size: 1.1rem;
  opacity: 0.8;
}

/* --- Contenu FAQ --- */
.faq-content {
  padding: 4rem 0 6rem;
}

/* --- Titre section --- */
.faq-section-title-big {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  margin-top: 1rem;
}

.faq-section-title-big:first-of-type {
  margin-top: 0;
}

.faq-section-title-big h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
}

/* --- Accordéon FAQ --- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 850px;
}

.faq-accordion-item {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-accordion-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-accordion-item.active {
  border-color: var(--primary-light);
  box-shadow: 0 4px 24px rgba(27,94,32,0.1);
}

.faq-accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  color: var(--dark);
  transition: background var(--transition);
}

.faq-accordion-btn:hover {
  background: rgba(76,175,80,0.04);
}

.faq-q-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.faq-q-text {
  flex: 1;
  font-weight: 600;
  font-size: 1rem;
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--gray-500);
  transition: transform 0.3s ease;
}

.faq-accordion-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary-light);
}

.faq-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-accordion-item.active .faq-accordion-body {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-accordion-body p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.faq-accordion-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0;
}

.faq-accordion-body ul li {
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.5;
}

.faq-accordion-body a {
  color: var(--primary-light);
  text-decoration: underline;
}

.faq-accordion-body a:hover {
  color: var(--accent);
}

.highlight-text {
  color: var(--primary);
  font-weight: 700;
}

/* --- Plans dans FAQ --- */
.plans-page {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.plan-page {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
}

.plan-page:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.plan-page.gold {
  border-color: #FFC107;
  background: linear-gradient(180deg, #FFFDE7 0%, #FFFFFF 40%);
}

.plan-page.pro {
  border-color: #4CAF50;
  background: linear-gradient(180deg, #E8F5E9 0%, #FFFFFF 40%);
}

.plan-page.elite {
  border-color: #1B5E20;
  background: linear-gradient(180deg, #E0F2F1 0%, #FFFFFF 40%);
}

.plan-badge-page {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #1B5E20;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.elite-badge {
  background: linear-gradient(135deg, #1B5E20, #4CAF50);
  color: white;
}

.plan-icon {
  margin-bottom: 0.75rem;
}

.plan-name-page {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-price-page {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.plan-price-page span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--gray-500);
}

.plan-page ul {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
}

.plan-page ul li {
  font-size: 0.9rem;
  color: var(--gray-700);
  padding-left: 0;
}

.check {
  color: var(--primary-light);
  font-weight: 700;
  margin-right: 0.3rem;
}

@media (max-width: 768px) {
  .plans-page {
    grid-template-columns: 1fr;
  }
  .faq-bg-svg.top-right {
    width: 140px;
    height: 140px;
    top: -20px;
    right: -20px;
  }
  .faq-bg-svg.bottom-left {
    width: 120px;
    height: 120px;
    bottom: -20px;
    left: -20px;
  }
}
  color: var(--white);
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.legal-header p {
  opacity: 0.7;
}

.legal-content {
  max-width: 850px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.legal-content h2 {
  font-size: 1.4rem;
  color: var(--primary);
  margin: 2rem 0 0.8rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 2rem;
  transition: var(--transition);
}

.legal-back:hover {
  color: var(--primary-light);
  gap: 0.8rem;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .referral-grid { grid-template-columns: repeat(2, 1fr); }
  .community-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: var(--white);
    padding: 6rem 2rem 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    gap: 1.5rem;
  }

  .nav-links.active { right: 0; }

  .nav-links a {
    color: var(--dark) !important;
    font-size: 1.1rem;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-desc { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-illustration { max-width: 300px; }
  .floating-card { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .referral-grid { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn-lg { width: 100%; max-width: 320px; justify-content: center; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
  .btn { padding: 0.7rem 1.5rem; font-size: 0.9rem; }
}
