/* ============================================================
   page-academy-v2.css — sections specifiques academy
   ============================================================
   Charge APRES framework-v2.css + page-home-v2.css + page-cabinet-v2.css.
   Reutilise .cab-hero, .cab-svc-link, .cab-svc-card, .cab-approach,
   .cab-trust, .cab-cta-final pour la grille services.
   N'ajoute que ce qui est specifique academy : Quiz CTA card.
   ============================================================ */

.aca-quiz-cta {
  padding: clamp(2rem, 5vw, 4rem) 1.5rem;
}
.aca-quiz-cta__card {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
/* min(280px, 100%) et non 280px : dans la carte, la place reelle n'est
   que de 208 px sur un ecran de 320. Le plancher a 280 px poussait la
   PAGE a 337 px, et tout element position:fixed (menu mobile en feuille
   basse, bandeau RGPD) se calant sur la largeur de page sortait a
   droite. Constat du 25/07. */
.aca-quiz-cta__text {
  flex: 1;
  min-width: min(280px, 100%);
}
.aca-quiz-cta__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-rouge-teco);
  background: rgba(232, 0, 10, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.aca-quiz-cta__title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
  margin: 0 0 0.5rem;
}
.aca-quiz-cta__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--color-rouge-teco);
}
.aca-quiz-cta__desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
  margin: 0;
}

@media (max-width: 700px) {
  .aca-quiz-cta__card { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Choix de formations : lignes cliquables (pattern B epuree)
   ------------------------------------------------------------
   Remplace, dans chaque carte de domaine (.cab-svc-zz), la liste
   a puces .cab-svc-zz__features ET le gros bouton .cab-svc-zz__cta
   par une liste de lignes cliquables (nom + prix rouge + chevron),
   suivie d'un lien contact discret.
   Reference de design validee : v2-prep/academy-cta-variantes.html
   (bloc « B epuree, carte complete »). Theme-aware via les tokens
   du framework (adaptation light/dark automatique).
   ============================================================ */
.aca-choix {
  border-top: 1px solid var(--color-border-subtle);
  margin: 0.35rem 0 0.15rem;
}
.aca-choix__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.2rem 0.9rem;
  padding: 0.85rem 0.4rem;
  border-bottom: 1px solid var(--color-border-subtle);
  text-decoration: none;
  color: var(--color-text-primary);
  border-radius: 6px;
  transition: background 140ms ease;
}
.aca-choix__row:hover { background: rgba(255, 255, 255, 0.03); }
[data-theme="light"] .aca-choix__row:hover { background: rgba(0, 0, 0, 0.03); }
.aca-choix__row:focus-visible {
  outline: 2px solid var(--color-rouge-teco);
  outline-offset: 2px;
}
.aca-choix__name {
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.aca-choix__right {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.aca-choix__price {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-rouge-teco);
}
.aca-choix__chevron {
  width: 17px;
  height: 17px;
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: color 140ms ease;
}
.aca-choix__row:hover .aca-choix__chevron { color: var(--color-rouge-teco); }
.aca-choix__contact {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
/* Lien de contenu noye ("Nous contacter") : rouge + souligne visible (etait secondaire + soulignement discret) */
.aca-choix__contact a {
  color: var(--color-text-primary);
  font-style: italic;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--color-rouge-teco);
  transition: color 140ms ease, text-decoration-color 140ms ease;
}
.aca-choix__contact a:hover {
  text-decoration: none;
}

/* ------------------------------------------------------------
   Responsive : carte compacte sur mobile (<= 640px)
   Desktop et tablette : carte riche inchangee (grande image,
   description complete, note Esprit). Mobile : image fortement
   reduite (banniere basse), espacements resserres. CSS pur,
   aucun dedoublement du HTML.
   ------------------------------------------------------------ */
@media (max-width: 640px) {
  .cab-services__list { gap: 2.25rem; }
  .cab-svc-zz { gap: 1rem; }
  .cab-svc-zz__img-wrap {
    aspect-ratio: auto;
    height: 128px;
  }
  .cab-svc-zz__content { gap: 0.65rem; }
  .cab-svc-zz__num { font-size: 1.6rem; margin-bottom: 0.1rem; }
  .cab-svc-zz__desc { font-size: 0.92rem; }
  .aca-choix { margin-top: 0.2rem; }
  .aca-choix__row { padding: 0.72rem 0.3rem; }
  .aca-choix__name { font-size: 0.94rem; }
  .aca-choix__contact { margin-top: 0.75rem; }
}

/* ============================================================
   ACHAT DE COACHING — modale de commande (25/07/2026)
   Meme principe que les formations : le paiement se fait sur la
   PAGE DE VENTE, pas dans l'espace. La connexion sert a rattacher
   les heures a un compte ; l'espace se decouvre apres, pour
   choisir ses dates (decision Severin).
   Styles volontairement AUTONOMES (prefixe .cc-) : le tunnel de
   commande des formations vit dans page-formation-v2.css et ne
   doit pas etre touche par ce chantier.
   ============================================================ */
.cc-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(6, 7, 12, 0.72);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  overflow-y: auto;
}
.cc-overlay[hidden] { display: none; }
/* UN SEUL panneau a la fois. Le bandeau de consentement est en z-index
   9999, la modale en 200 : bandeau visible, il recouvrait le bas de la
   modale, bouton de paiement compris. Il s'efface le temps de la
   commande et revient a la fermeture. Aucun choix n'est pris pour le
   visiteur. Meme traitement que pour le menu mobile en feuille basse. */
body.cc-open .rgpd-banner { transform: translateY(100%); }
.cc-modal {
  width: 100%;
  max-width: 460px;
  max-height: 92vh;
  overflow-y: auto;
  border: 1px solid var(--color-border-subtle);
  border-radius: 16px;
  background: #1F2230;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}
html[data-theme="light"] .cc-modal {
  background: #FFFDF9;
  border-color: rgba(120, 90, 40, 0.16);
  box-shadow: 0 24px 70px rgba(80, 60, 30, 0.20);
}
.cc-head {
  position: relative;
  padding: 1.15rem 1.25rem 0.9rem;
  border-bottom: 1px solid var(--color-border-subtle);
}
.cc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-rouge-teco);
}
.cc-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--color-rouge-teco); }
.cc-title { font-size: 1.05rem; font-weight: 800; margin-top: 0.35rem; color: var(--color-text-primary); }
.cc-sub { font-size: 0.78rem; color: var(--color-text-secondary); margin-top: 0.2rem; }
.cc-x {
  position: absolute;
  top: 0.85rem;
  right: 0.9rem;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border-subtle);
  border-radius: 8px;
  background: transparent;
  color: var(--color-text-secondary);
  cursor: pointer;
}
.cc-x:hover { color: var(--color-rouge-teco); border-color: var(--color-rouge-teco); }
.cc-body { padding: 1.05rem 1.25rem 1.25rem; }
.cc-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--color-text-muted);
  margin: 0 0 0.45rem;
}
.cc-label + .cc-label, .cc-qte + .cc-label { margin-top: 1.05rem; }

.cc-profils { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.cc-profil {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--color-border-subtle);
  border-radius: 11px;
  background: transparent;
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  text-align: left;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}
.cc-profil b { font-size: 0.84rem; font-weight: 700; }
.cc-profil span { font-size: 0.68rem; color: var(--color-text-muted); }
.cc-profil em { font-style: normal; font-size: 0.74rem; font-weight: 700; color: var(--color-text-secondary); margin-top: 0.15rem; }
.cc-profil.is-on { border-color: var(--color-rouge-teco); background: rgba(232, 0, 10, 0.08); }
.cc-profil.is-on em { color: var(--color-rouge-teco); }

.cc-qte { display: flex; align-items: center; gap: 0.6rem; }
.cc-qte-b {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border-subtle);
  border-radius: 9px;
  background: transparent;
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}
.cc-qte-b:hover { border-color: var(--color-rouge-teco); color: var(--color-rouge-teco); }
.cc-qte-v { font-size: 1.15rem; font-weight: 800; min-width: 1.6rem; text-align: center; color: var(--color-text-primary); font-variant-numeric: tabular-nums; }
.cc-qte-h { font-size: 0.78rem; color: var(--color-text-secondary); }

/* Apercu des disponibilites : informatif, jamais cliquable. */
.cc-dispos { margin-top: 1.05rem; }
.cc-dispos-liste { display: flex; flex-direction: column; gap: 0.3rem; }
.cc-dispo-l {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.42rem 0.6rem;
  border: 1px solid var(--color-border-subtle);
  border-radius: 9px;
}
.cc-dispo-j { font-size: 0.74rem; font-weight: 600; color: var(--color-text-primary); white-space: nowrap; }
.cc-dispo-h { font-size: 0.7rem; color: var(--color-text-muted); text-align: right; }
.cc-dispos-note { font-size: 0.68rem; color: var(--color-text-muted); margin-top: 0.4rem; }

.cc-total {
  margin: 1.05rem 0 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-border-subtle);
}
.cc-total-l { display: flex; align-items: baseline; justify-content: space-between; gap: 0.7rem; }
.cc-total-l span { font-size: 0.8rem; color: var(--color-text-secondary); }
.cc-total-l b { font-size: 1.15rem; font-weight: 800; color: var(--color-text-primary); }
.cc-total-fcfa { font-size: 0.7rem; color: var(--color-text-muted); text-align: right; margin-top: 0.15rem; }
.cc-payer { width: 100%; }
.cc-pay-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  font-size: 0.68rem;
  color: var(--color-text-muted);
  text-align: center;
}
.cc-pay-meta svg { flex: none; }
.cc-note { font-size: 0.68rem; color: var(--color-text-muted); margin-top: 0.5rem; text-align: center; }

@media (max-width: 480px) {
  .cc-overlay { padding: 0.6rem; align-items: flex-end; }
  .cc-modal { max-height: 94vh; }
  .cc-profils { grid-template-columns: minmax(0, 1fr); }
}
