/* ═══════════════════════════════════════════════════════════════════
   home.css — Page d'accueil AECJ Les Mureaux
   Mobile-first. Aucune couleur hex — uniquement des variables tokens.css.
   Breakpoints : 768px (tablette) · 1024px (desktop)
   ═══════════════════════════════════════════════════════════════════ */



/* ──────────────────────────────────────────────────────────────────
   1. HERO
   Fond, titre, eyebrow, desc, stats → layout.css (.page-hero*)
   Ici : layout spécifique 2 colonnes + panel + overrides home
   ────────────────────────────────────────────────────────────────── */

.home-hero {
  padding: 0;
}

.home-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 48px;
}

/* Surcharge couleur em (vert pâle lumineux — décoratif home uniquement) */
.home-hero .page-hero-title em {
  color: #7ecfa0;
}

/* Effet glow décoratif */
.hero-glow {
  position: absolute;
  top: -100px;
  right: 10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,107,63,.35) 0%, transparent 70%);
  pointer-events: none;
}

/* CTA hero spécifiques home */
.hero-cta-main {
  padding: 13px 26px;
  font-size: 13px;
}

.hero-cta-secondary {
  padding: 13px 26px;
  font-size: 13px;
  background: transparent;
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.22);
}

.hero-cta-secondary:hover {
  background: rgba(255,255,255,.06);
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}

/* ── Hero panel (carte droite) ── */
.hero-panel {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-lg);
}

.hero-panel-label {
  font-size: 10px;
  color: rgba(255,255,255,.36);
  letter-spacing: .12em;
  font-weight: 600;
}

.hero-panel-title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.hero-panel-text {
  font-size: 13px;
  color: rgba(255,255,255,.68);
  line-height: 1.75;
}

.hero-panel-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-panel-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  font-size: 12px;
  color: rgba(255,255,255,.82);
  line-height: 1.55;
}

.hero-panel-point-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--gold) 15%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  color: var(--gold);
}

.hero-panel-note {
  background: color-mix(in srgb, var(--gold) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 20%, transparent);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 12px;
  color: rgba(255,255,255,.76);
  line-height: 1.7;
}

.hero-panel-cta {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  transition: var(--transition);
  text-decoration: none;
}

.hero-panel-cta:hover { opacity: .88; }

/* Desktop : 2 colonnes */
@media (min-width: 1024px) {
  .home-hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 36px;
    padding-top: 72px;
    padding-bottom: 64px;
  }

  .hero-left { flex: 1.15; }

  .hero-panel {
    width: 360px;
    flex-shrink: 0;
    padding: 30px 28px;
  }

  .home-hero .page-hero-title { font-size: 42px; }
}


/* ──────────────────────────────────────────────────────────────────
   2. CITATION CORANIQUE
   ────────────────────────────────────────────────────────────────── */

.home-citation {
  background: var(--gold-light);
  border-top: 1px solid color-mix(in srgb, var(--gold) 20%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 20%, transparent);
  padding: 24px 0;
}

.home-citation-inner {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.citation-bar {
  width: 3px;
  min-height: 52px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
  align-self: stretch;
}

.citation-body { flex: 1; }

.citation-text {
  font-family: var(--font-title);
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
  font-style: italic;
  border: none;
  padding: 0;
  margin: 0;
}

.citation-source {
  display: block;
  font-size: 11px;
  color: var(--soft);
  margin-top: 8px;
  font-style: normal;
  font-family: var(--font-body);
}

@media (min-width: 768px) {
  .home-citation { padding: 28px 0; }
  .citation-text { font-size: 15px; }
}


/* ──────────────────────────────────────────────────────────────────
   3. AVANTAGES
   ────────────────────────────────────────────────────────────────── */

.home-avantages {
  background: var(--white);
  padding: 64px 5%;
}

.avantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.avantage-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  background: var(--white);
  position: relative;
  overflow: hidden;
  transition: box-shadow .2s ease;
}

.avantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green-mid);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.avantage-card:hover { box-shadow: var(--shadow-md); }

.avantage-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--green);
}

.avantage-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.avantage-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.75;
}

@media (min-width: 768px) {
  .avantages-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .home-avantages { padding: 72px 5%; }
  .avantages-grid { grid-template-columns: repeat(4, 1fr); }
}


/* ──────────────────────────────────────────────────────────────────
   4. APERÇU TARIFS
   ────────────────────────────────────────────────────────────────── */

.home-tarifs {
  background: var(--green-pale);
  padding: 64px 5%;
}

.tarifs-head {
  margin-bottom: 36px;
}

.tarifs-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 380px;
  margin-top: 12px;
}

.tarifs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.tarif-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  transition: box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}

.tarif-card:hover { box-shadow: var(--shadow-md); }

.tarif-card--featured {
  background: var(--green-dark);
  border-color: var(--green-mid);
}

.tarif-badge { margin-bottom: 16px; }

.tarif-label {
  font-size: 11px;
  color: var(--soft);
  letter-spacing: .04em;
  margin-bottom: 3px;
}

.tarif-label--light {
  color: rgba(255,255,255,.38);
}

.tarif-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.tarif-name--light { color: var(--white); }

.tarif-age {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}

.tarif-age--light { color: rgba(255,255,255,.38); }

.tarif-price {
  font-size: 40px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 2px;
}

.tarif-price--light { color: var(--white); }

.tarif-period {
  font-size: 12px;
  font-weight: 400;
  color: var(--soft);
}

.tarif-period--light { color: rgba(255,255,255,.38); }

.tarif-hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 18px 0;
}

.tarif-hr--light {
  border-top-color: rgba(255,255,255,.1);
}

.tarif-features {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.tarif-feature {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}

.tarif-feature--light { color: rgba(255,255,255,.55); }

.tarif-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
}

.tarif-check--gold {
  background: color-mix(in srgb, var(--gold) 15%, transparent);
  color: var(--gold);
}

.tarif-btn {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  font-size: 13px;
  text-align: center;
  justify-content: center;
}

.tarifs-more {
  text-align: center;
  margin-top: 28px;
}

.tarifs-more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  border: 1px solid var(--border);
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: var(--transition);
  text-decoration: none;
}

.tarifs-more a:hover {
  background: var(--green-pale);
  border-color: var(--green);
}

@media (min-width: 768px) {
  .tarifs-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
  }

  .tarifs-note { margin-top: 0; }
  .tarifs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .home-tarifs { padding: 72px 5%; }
  .tarifs-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1280px) {
  .tarifs-grid { grid-template-columns: repeat(4, 1fr); }
}


/* ──────────────────────────────────────────────────────────────────
   5. MÉTHODE PÉDAGOGIQUE
   ────────────────────────────────────────────────────────────────── */

.home-methode {
  background: var(--white);
  padding: 64px 5%;
}

.methode-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.methode-steps {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.methode-step {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--green-light);
}

.methode-step:last-child { border-bottom: none; }

.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green-mid);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.step-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 5px;
}

.step-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.75;
}

/* Visual panel */
.methode-visual {
  background: var(--green-dark);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--white);
}

.methode-visual-label {
  font-size: 10px;
  color: rgba(255,255,255,.3);
  letter-spacing: .12em;
  font-weight: 600;
  margin: 0;
}

.progress-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.progress-row-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255,255,255,.6);
  margin-bottom: 5px;
}

.progress-track {
  height: 5px;
  background: rgba(255,255,255,.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--gold);
  transition: width 1.2s ease;
}

.methode-quote {
  background: color-mix(in srgb, var(--gold) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 20%, transparent);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 0;
}

.methode-quote p {
  font-size: 12px;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 6px;
}

.methode-quote cite {
  font-size: 10px;
  color: rgba(255,255,255,.35);
  font-style: normal;
}

@media (min-width: 1024px) {
  .home-methode { padding: 72px 5%; }
  .methode-inner {
    flex-direction: row;
    gap: 72px;
    align-items: center;
  }
  .methode-left { flex: 1; }
  .methode-visual { flex: 1; min-width: 340px; }
}


/* ──────────────────────────────────────────────────────────────────
   6. TÉMOIGNAGES
   ────────────────────────────────────────────────────────────────── */

.home-temoignages {
  background: var(--green-pale);
  padding: 64px 5%;
}

.temoignages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 36px;
}

.temoignage-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.temoignage-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.temoignage-text {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
  margin: 0 0 16px;
  padding: 0;
  border: none;
}

.temoignage-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.temoignage-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  flex-shrink: 0;
}

.temoignage-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.temoignage-role {
  font-size: 11px;
  color: var(--soft);
  margin: 0;
}

@media (min-width: 768px) {
  .temoignages-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .home-temoignages { padding: 72px 5%; }
  .temoignages-grid { grid-template-columns: repeat(3, 1fr); }
}


/* ──────────────────────────────────────────────────────────────────
   7. PARTENAIRE TAHALEARN
   ────────────────────────────────────────────────────────────────── */

.home-partenaire {
  background: var(--white);
  padding: 64px 5%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.partenaire-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--gold-light) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}

.partenaire-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: color-mix(in srgb, var(--gold) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
  color: var(--gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin: 0 0 12px;
  width: fit-content;
}

.partenaire-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.partenaire-title {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 10px;
}

.partenaire-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

.partenaire-logo-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.partenaire-logo-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.partenaire-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.partenaire-logo-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .03em;
}

.partenaire-logo-text span { color: var(--green); }

.partenaire-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.partenaire-hint {
  font-size: 11px;
  color: var(--soft);
  margin: 0;
}

@media (min-width: 768px) {
  .partenaire-inner {
    flex-direction: row;
    align-items: center;
    padding: 40px 44px;
    gap: 40px;
  }

  .partenaire-content { flex: 1; }

  .partenaire-logo-area {
    align-items: center;
    flex-shrink: 0;
  }
}


/* ──────────────────────────────────────────────────────────────────
   8. BANNER DON
   ────────────────────────────────────────────────────────────────── */

.home-don {
  background: var(--green);
  padding: 56px 5%;
}

.don-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.don-title {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 10px;
}

.don-desc {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  max-width: 480px;
  margin: 0;
}

.don-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.don-btn-primary {
  padding: 13px 28px;
  font-size: 13px;
  font-weight: 700;
}

.don-btn-secondary {
  padding: 13px 28px;
  font-size: 13px;
  background: transparent;
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.25);
}

.don-btn-secondary:hover {
  background: rgba(255,255,255,.07);
  color: var(--white);
}

@media (min-width: 768px) {
  .don-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }

  .don-actions { flex-shrink: 0; }
}

@media (min-width: 1024px) {
  .don-title { font-size: 28px; }
}


/* ──────────────────────────────────────────────────────────────────
   9. FAQ
   ────────────────────────────────────────────────────────────────── */

.home-faq {
  background: var(--white);
  padding: 64px 5%;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 36px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item details {
  padding: 4px 0;
}

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 16px 0;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-question {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  flex: 1;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-light);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  transition: background .2s ease;
}

.faq-icon svg {
  transition: transform .3s ease;
}

details[open] .faq-icon {
  background: var(--green);
  color: var(--white);
}

details[open] .faq-icon svg {
  transform: rotate(45deg);
}

.faq-answer {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  padding: 0 0 16px;
  margin: 0;
}

.faq-cta {
  text-align: center;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 48px;
  }
}

@media (min-width: 1024px) {
  .home-faq { padding: 72px 5%; }
}


/* ──────────────────────────────────────────────────────────────────
   ANIMATION SCROLL REVEAL
   ────────────────────────────────────────────────────────────────── */

.js-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
