/* ═══════════════════════════════════════════════════════════════════
   tarifs.css — Page Nos cours & Tarifs — AECJ Les Mureaux
   Mobile-first · breakpoints : 768px · 1024px
   Exclusivement des var(--x) de tokens.css — 0 hex inline
   ═══════════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────────────────────
   FIL D'ARIANE
   ────────────────────────────────────────────────────────────────── */
.tarifs-breadcrumb {
  padding: 16px 0 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex-wrap: wrap;
}

.breadcrumb-item {
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb-item a {
  color: var(--muted);
  transition: var(--transition);
}

.breadcrumb-item a:hover {
  color: var(--green);
}

.breadcrumb-sep {
  color: var(--soft);
  display: flex;
  align-items: center;
}

.breadcrumb-current {
  color: var(--green);
  font-weight: 500;
}


/* ──────────────────────────────────────────────────────────────────
   HERO TARIFS
   Fond, titre, eyebrow, desc, stats → layout.css (.page-hero*)
   Ici : override padding uniquement
   ────────────────────────────────────────────────────────────────── */
.tarifs-hero {
  padding: 48px 0 56px;
}

/* ──────────────────────────────────────────────────────────────────
   FILTRES MULTI-DIMENSIONNELS
   ────────────────────────────────────────────────────────────────── */
.tarifs-filtres-section {
  background: var(--white);
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 64px; /* hauteur navbar */
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

/* Barre compteur + reset */
.filtre-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.filtre-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.filtre-reset {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  transition: color .15s;
}

.filtre-reset:hover { color: #c0392b; }

.filtre-reset svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  flex-shrink: 0;
}

/* Layout des groupes */
.filtre-groupes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 0;
}

.filtre-groupe {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 20px;
}

.filtre-groupe:first-child { padding-left: 0; }
.filtre-groupe:last-child  { padding-right: 0; }

.filtre-groupe-sep {
  width: 1px;
  height: 28px;
  background: var(--border);
  flex-shrink: 0;
}

.filtre-groupe-label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .07em;
  white-space: nowrap;
}

.filtre-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Chip individuel */
.filtre-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text, #1a1a1a);
  background: var(--cream, #f8f6f1);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 5px 13px;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
  white-space: nowrap;
  line-height: 1;
}

.filtre-chip svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  flex-shrink: 0;
}

.filtre-chip:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-pale);
}

.filtre-chip--active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.filtre-chip--active svg { stroke: var(--white); }

.filtre-chip--active:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
}

.filtre-chip:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* Gardés pour rétrocompat (non utilisés en page) */
.filtre-btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.filtre-btn--active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

@media (max-width: 767px) {
  .filtre-groupe-sep { display: none; }
  .filtre-groupe { padding: 0; }
  .filtre-groupes { gap: 10px; flex-direction: column; align-items: flex-start; }
  .tarifs-filtres-section { padding: 12px 0 10px; }
}




/* ──────────────────────────────────────────────────────────────────
   GRILLE FORMULES
   ────────────────────────────────────────────────────────────────── */
.tarifs-grille-section {
  padding: 56px 0 64px;
  background: var(--cream);
}

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

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

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

/* Cards */
.tarif-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.tarif-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

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

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

.tarif-card--featured .tarif-nom {
  color: var(--white);
}

.tarif-card--featured .tarif-age {
  color: rgba(255, 255, 255, .45);
}

.tarif-card--featured .tarif-prix {
  color: var(--white);
}

.tarif-card--featured .tarif-periode {
  color: rgba(255, 255, 255, .4);
}

.tarif-card--featured .tarif-sep {
  border-color: rgba(255, 255, 255, .1);
}

.tarif-card--featured .tarif-info-val {
  color: rgba(255, 255, 255, .6);
}

.tarif-card--featured .tarif-info-icon {
  stroke: rgba(255, 255, 255, .4);
}

.tarif-card--featured .tarif-feat {
  color: rgba(255, 255, 255, .65);
}

.tarif-card--featured .tarif-feat-icon {
  background: color-mix(in srgb, var(--gold) 18%, transparent);
}

.tarif-card--featured .tarif-feat-icon svg {
  stroke: var(--gold);
}

/* Badges */
.tarif-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin-bottom: 16px;
}

.tarif-badge--green {
  background: var(--green-light);
  color: var(--green);
}

.tarif-badge--gold {
  background: var(--gold-light);
  color: var(--gold);
}

.tarif-badge--orange {
  background: var(--orange-light);
  color: var(--orange-dark);
}

.tarif-badge--blue {
  background: var(--blue-light);
  color: var(--blue);
}

.tarif-label {
  font-size: 10px;
  color: var(--soft);
  letter-spacing: .08em;
  font-weight: 600;
  margin-bottom: 3px;
}

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

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

.tarif-prix-group {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.tarif-prix {
  font-family: var(--font-title);
  font-size: 40px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

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

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

/* Infos (durée + horaires) */
.tarif-infos {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tarif-info-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.tarif-info-icon {
  width: 14px;
  height: 14px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
  margin-top: 1px;
}

.tarif-info-val {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px;
}

/* Horaires multiples (options "ou") */
.tarif-horaire-opt {
  display: block;
  width: 100%;
}

.tarif-horaire-ou {
  display: block;
  width: 100%;
  font-size: 10px;
  font-weight: 600;
  color: var(--soft);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 2px 0;
}

/* Features */
.tarif-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.tarif-feat {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

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

.tarif-feat-icon svg {
  width: 8px;
  height: 8px;
  stroke: var(--green);
  fill: none;
  stroke-width: 2.5;
}

/* CTA */
.tarif-cta {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 11px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--green);
  background: transparent;
  transition: var(--transition);
}

.tarif-cta:hover {
  background: var(--green-pale);
  border-color: var(--green);
}

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

.tarif-cta--featured:hover {
  opacity: .9;
  color: var(--green-dark);
}

.tarif-cta:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.tarif-cta--closed {
  cursor: default;
  color: var(--muted);
  border-color: var(--border);
  background: var(--surface-alt, #f5f5f5);
  opacity: .75;
}

/* Bandeau inscriptions fermées */
.tarifs-insc-closed {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  background: #fff8e1;
  border: 1px solid #f6c90e;
  color: #7a5a00;
  font-size: 14px;
  font-weight: 500;
}

/* Cartes cachées par filtre */
.tarif-card--hidden {
  display: none;
}

/* Message vide */
.tarifs-vide {
  text-align: center;
  padding: 48px 0;
  color: var(--muted);
  font-size: 15px;
}

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

.js-reveal.is-visible {
  opacity: 1;
  transform: none;
}

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


/* ──────────────────────────────────────────────────────────────────
   BANDE INCLUS
   ────────────────────────────────────────────────────────────────── */
.tarifs-inclus {
  background: var(--green-dark);
  padding: 56px 0;
}

.tarifs-inclus-title {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 36px;
  text-align: center;
}

.tarifs-inclus-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

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

.tarifs-inclus-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-md);
}

.inclus-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--gold) 15%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.inclus-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.7;
}

.tarifs-inclus-item strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.tarifs-inclus-item span {
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
  line-height: 1.6;
}


/* ──────────────────────────────────────────────────────────────────
   SECTION CTA — INSCRIPTION
   ────────────────────────────────────────────────────────────────── */
.tarifs-cta-section {
  background: var(--green-pale);
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

@media (min-width: 1024px) {
  .tarifs-cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
  }

  .tarifs-cta-left {
    flex: 1;
  }

  .tarifs-cta-right {
    flex-shrink: 0;
    width: 320px;
  }
}

.tarifs-cta-heading {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin: 10px 0 16px;
}

@media (min-width: 768px) {
  .tarifs-cta-heading {
    font-size: 34px;
  }
}

.tarifs-cta-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 28px;
}

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

/* Carte étapes */
.tarifs-cta-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-card-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cta-card-step {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-card-step--gold {
  background: var(--gold-light);
  color: var(--gold);
}

.cta-card-text {
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
}


/* ──────────────────────────────────────────────────────────────────
   FAQ TARIFS
   ────────────────────────────────────────────────────────────────── */
.tarifs-faq {
  background: var(--white);
  padding: 64px 0;
}

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

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

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

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

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

.tarifs-faq-summary .faq-q {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

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

.faq-toggle-icon svg {
  width: 10px;
  height: 10px;
  stroke: var(--green);
  fill: none;
  stroke-width: 2.5;
  transition: transform .3s ease;
}

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

details[open] .faq-toggle-icon svg {
  stroke: var(--white);
  transform: rotate(180deg);
}

.tarifs-faq-reponse {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  padding-bottom: 20px;
  padding-right: 36px;
}

.tarifs-faq-link {
  margin-top: 32px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.tarifs-faq-link a {
  color: var(--green);
  font-weight: 600;
  transition: var(--transition);
}

.tarifs-faq-link a:hover {
