/* app/home.module.css */

/* --- CONFIGURATION GLOBALE --- */
.home_container__eduTK {
  width: 100%;
  /* FIX: Suppression du fond noir pour transparence globale */
  /* background-color: #000; */ 
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* --- BOUTONS --- */
.home_btn__f_D1_ {
  height: 60px;
  padding: 0 2.5rem;
  border-radius: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-tech);
  border: none;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home_btnPrimary__vF88c {
  background: #F59E0B;
  color: black;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.home_btnPrimary__vF88c:hover {
  background: #fbbf24;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.6);
}

.home_btnSecondary__EEzcp {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(5px);
}

.home_btnSecondary__EEzcp:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* --- HERO --- */
.home_heroSection__0qyIh {
  position: relative;
  width: 100%;
}

.home_heroSubtitle__KJe1X {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: #a1a1aa;
  max-width: 600px;
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.6;
  font-weight: 300;
}

.home_heroButtons__KG1xr {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

/* --- SECTIONS GÉNÉRIQUES --- */
.home_section__bCaaS {
  width: 100%;
  position: relative;
}

.home_sectionTitle__6Zerm {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.home_sectionSubtitle__LGRQV {
  font-family: var(--font-tech);
  font-size: 0.9rem;
  color: #F59E0B;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.home_sectionText__RDoJn {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: #a1a1aa;
  line-height: 1.7;
}
/* --- HOW IT WORKS : ICONES & ANIMATIONS (FINAL SYNCHRO) --- */
.home_hiwIconBox__9Xc1w {
  width: 60px;
  height: 60px;
  /* Fond opaque pour masquer le trait qui passe derrière */
  background: #0a0a0a; 
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 20; /* Au-dessus du trait SVG */
  transition: all 0.3s ease;
  margin-bottom: 1rem; /* Espace pour le texte en dessous */
}

/* TIMELINE ABSOLUE SUR 4 SECONDES */
/* 0% du trajet = 0s */
.home_pulseAnim1__rwU1u { animation: home_syncPulse__k9mns 4s infinite 0s; }
/* 50% du trajet (de 2.4s) = 1.2s */
.home_pulseAnim2__qTndo { animation: home_syncPulse__k9mns 4s infinite 1.2s; }
/* 100% du trajet (de 2.4s) = 2.4s */
.home_pulseAnim3__mBT_A { animation: home_syncPulse__k9mns 4s infinite 2.4s; }

@keyframes home_syncPulse__k9mns {
  /* L'impact (Flash) */
  0%, 15% { 
    border-color: #F59E0B; 
    color: white; 
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.6); /* Glow plus large */
    transform: scale(1.15);
    background: rgba(245, 158, 11, 0.1);
  }
  /* L'extinction rapide */
  30%, 100% { 
    border-color: rgba(255, 255, 255, 0.1); 
    color: rgba(255, 255, 255, 0.4); 
    box-shadow: none;
    transform: scale(1);
    background: #0a0a0a;
  }
}

/* --- CERCLE VERTUEUX --- */
.home_cycleWrapper__5rCWz {
  display: flex;
  flex-direction: column; /* Par défaut sur mobile : un au-dessus de l'autre */
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  margin-top: 2rem;
  width: 100%;
}

/* RÈGLE DESKTOP : Aligne le texte et l'animation sur la même ligne */
@media (min-width: 992px) { 
  .home_cycleWrapper__5rCWz { 
    flex-direction: row; /* Aligne horizontalement */
    align-items: center; 
    text-align: left;
  }
  .home_cycleText__IxeQb { 
    flex: 1;
    max-width: 550px;
    text-align: left;
  }
  .home_cycleVisual__j_hAQ { 
    flex: 1;
    display: flex;
    justify-content: flex-end; /* Pousse l'animation à droite */
  }
}

/* STYLE DES ICÔNES DU CERCLE */
.home_fwIconCircle__lyNuA { 
  fill: #1a1a1a; /* Gris anthracite type "How It Works" */
  stroke: #F59E0B; 
  stroke-width: 1px; 
  opacity: 1; 
}

.home_fwIconPath__RC60m { 
  fill: none; 
  stroke: #FFFFFF; 
  stroke-width: 1.2px; 
  stroke-linecap: round; 
}

/* CENTRAGE DU TEXTE SVG */
.home_fwText__6D3t_ { 
  font-family: 'Space Grotesk', sans-serif; 
  fill: #FFFFFF; 
  font-weight: bold; 
  font-size: 14px;
  dominant-baseline: central; 
  text-anchor: middle;
}

/* ANIMATION DE ROTATION ACCÉLÉRÉE (12s) */
.home_spinSlow__lZWMs {
    animation: home_spin__fj708 12s linear infinite;
    transform-origin: center;
}

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