/* =========================================================================
   EDUF — plateforme apprenant · styles des rubriques ajoutées
   Mêmes jetons que lms.css (DESIGN.md §11) : panneaux blancs, pilules,
   marine pour l'information, rouge pour l'action principale.
   ========================================================================= */

/* --- Navigation : sous-rubriques de « Ma formation » ---------------------- */
.nav__groupe { display: grid; gap: 2px; margin: 0 0 4px 34px; padding-left: 12px; border-left: 2px solid var(--rule); }
.nav .nav__sous { min-height: 38px; padding: 6px 14px; font-size: 15px; }
.nav .nav__sous[aria-current="page"] { background: var(--tint); color: var(--navy); font-weight: 700; }

/* --- Accueil --------------------------------------------------------------- */
.accueil-hero h1 { font-size: clamp(34px, 5vw, 54px); }
.accueil-prochaine { display: flex; align-items: center; gap: 12px; margin-top: 4px; padding: 12px 16px; background: rgba(255, 255, 255, .1); border-left: 4px solid var(--red); color: var(--white) !important; max-width: none !important; }
.accueil-prochaine svg { width: 22px; height: 22px; flex: none; }
.accueil-prochaine strong { color: var(--white); }

.kpis { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); margin-top: 20px; }
@media (max-width: 560px) { .kpis { gap: 10px; } .kpi--lien { padding: 14px 16px; } }
.kpi--lien { display: grid; gap: 4px; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.kpi--lien:hover { border-color: var(--navy); box-shadow: 0 6px 18px rgba(3, 30, 108, .08); }
.kpi--lien .kpi__label { order: -1; margin: 0; font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; font-weight: 700; color: var(--ink-mid); }

.actions { display: grid; }
.actions li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.actions li:first-child { padding-top: 0; }
.actions li:last-child { border-bottom: 0; padding-bottom: 0; }
.actions__texte { display: grid; gap: 2px; min-width: 0; }
.actions__texte strong { color: var(--navy); }
.actions__texte span { font-size: 15px; color: var(--ink-soft); }
.actions .btn { flex: none; }
.actions .btn svg { width: 16px; height: 16px; }
@media (max-width: 560px) { .actions li { flex-direction: column; align-items: flex-start; } }

/* --- Rendez-vous ------------------------------------------------------------ */
.rdv { display: grid; gap: 12px; }
.rdv__item { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; align-items: start; }
.rdv__date { display: grid; justify-items: center; padding: 8px 0; background: var(--tint); color: var(--navy); font-size: 13px; text-transform: uppercase; font-weight: 700; letter-spacing: .04em; }
.rdv__date .chiffre { font-size: 26px; line-height: 1; letter-spacing: 0; }
.rdv__texte { display: grid; gap: 2px; font-size: 15px; }
.rdv__texte strong { color: var(--navy); font-size: 16px; }
.rdv__item--passe { opacity: .6; }

/* --- Dossier : jalons ------------------------------------------------------- */
.jalons { position: relative; display: grid; gap: 0; margin-top: 8px; }
.dossier .etiquettes + .jalons { margin-top: 20px; }
.jalon { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding-bottom: 18px; }
.jalon:last-child { padding-bottom: 0; }
.jalon::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--rule); }
.jalon:last-child::before { display: none; }
.jalon__puce { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--navy); background: var(--white); display: grid; place-items: center; z-index: 1; }
.jalon--fait .jalon__puce { background: var(--navy); color: var(--white); }
.jalon__puce svg { width: 16px; height: 16px; }
.jalon__texte { display: grid; gap: 2px; padding-top: 3px; }
.jalon__texte strong { color: var(--navy); }
.jalon__texte span { font-size: 15px; color: var(--ink-soft); }
.jalon--fait .jalon__texte strong { color: var(--ink-mid); font-weight: 500; }
.dossier .btn svg { width: 16px; height: 16px; }

/* --- Examens et tests ------------------------------------------------------- */
.score-niveau { display: grid; gap: 2px; padding: 14px 16px; background: var(--tint); }
.score-niveau .chiffre { font-size: var(--fs-big); color: var(--navy); line-height: 1.1; }

/* --- Paiements -------------------------------------------------------------- */
.montant { font-size: 22px; color: var(--navy); }
.offres { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.offre-carte { display: grid; gap: 10px; align-content: start; padding: 20px; border: 1px solid var(--rule); border-top: 4px solid var(--navy); background: var(--white); }
.offre-carte h3 { font-size: 21px; }
.offre-carte__prix { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.offre-carte__prix .chiffre { font-size: 30px; color: var(--navy); }
.offre-carte .btn { justify-self: start; }

/* --- Conseiller ------------------------------------------------------------- */
textarea { width: 100%; min-height: 160px; padding: 12px 14px; border: 1px solid var(--rule); background: var(--white); resize: vertical; line-height: 1.5; }
textarea:focus { border-color: var(--navy); }
.tel { font-size: 28px; color: var(--navy); text-decoration: none; }
