/* ═══════════════════════════════════════════════════════════════
   STUDIA SUP — PAGES DÉTAIL FILIÈRE
   Prolonge le langage « Neural Pathways » : même accent par filière,
   typographie Space Grotesk.
   ═══════════════════════════════════════════════════════════════ */

.page-filiere { --accent: var(--green); --accent-soft: rgba(46,158,79,.09); background: #080d0a; }
.fil-page--clair    { --accent: #d8f7e6; --accent-soft: rgba(216,247,230,.08); }
.fil-page--emeraude { --accent: #2ee08a; --accent-soft: rgba(46,224,138,.1); }
.fil-page--or       { --accent: #f2c230; --accent-soft: rgba(242,194,48,.1); }

/* ── Hero ─────────────────────────────────────────────────────── */
.fp-hero { padding-block: clamp(56px, 9vh, 96px) clamp(64px, 10vh, 110px); }
.fp-hero::before { background: radial-gradient(circle, var(--accent-soft), transparent 62%); }

.fp-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding-inline: 24px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
}

.fp-back {
  justify-self: start;
  font-size: .86rem;
  color: rgba(247,249,248,.6);
  text-decoration: none;
  transition: color .3s ease;
}
.fp-back:hover { color: #fff; }

.fp-medallion { width: 62px; height: 62px; border-radius: 18px; }
.fp-medallion svg { width: 30px; height: 30px; }

.fp-title {
  font-family: 'Space Grotesk', var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 5.4vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -.03em;
  margin: 0;
}
.fp-desc {
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(247,249,248,.66);
  max-width: 58ch;
  margin: 0;
}
.fp-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 6px; }
@media (max-width: 560px) {
  .fp-actions { width: 100%; }
  .fp-actions .fil-btn { width: 100%; }
}

/* ── Sections ─────────────────────────────────────────────────── */
.fp-section { padding-block: clamp(56px, 9vh, 96px); }
.fp-section--alt { background: #0c1310; }
.fp-wrap { max-width: 820px; margin: 0 auto; padding-inline: 24px; }

/* Sur téléphone, les 24 px de la section et ceux du wrap se cumulaient :
   96 px de marges sur un écran de 375, soit un quart de la largeur
   perdu — les cartes et les listes s'en trouvaient étranglées. On garde
   un peu de retrait sur la section (pour les enfants sans .fp-wrap) et
   l'essentiel sur le wrap. */
@media (max-width: 560px) {
  .fp-section { padding-inline: 6px; padding-block: clamp(40px, 7vh, 64px); }
  .fp-wrap { padding-inline: 14px; }
}

.fp-h2 {
  font-family: 'Space Grotesk', var(--display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  letter-spacing: -.02em;
  margin-bottom: 26px;
}

/* Timeline du parcours */
.fp-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.fp-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-left: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
}
.fp-step__n {
  flex: 0 0 auto;
  font-family: ui-monospace, 'SFMono-Regular', 'Menlo', monospace;
  font-size: .78rem;
  color: var(--accent);
  padding-top: 3px;
  letter-spacing: .08em;
}
.fp-step h3 {
  font-family: 'Space Grotesk', var(--display);
  font-size: 1.02rem;
  margin-bottom: 5px;
}
.fp-step p { font-size: .92rem; line-height: 1.6; color: rgba(247,249,248,.62); margin: 0; }

.fp-jobs { gap: 9px; }
.fp-jobs li { font-size: .84rem; padding: 10px 15px; }

.fp-note {
  margin-top: 22px;
  font-size: .82rem;
  color: rgba(247,249,248,.45);
  line-height: 1.7;
}

/* CTA final */
.fp-cta { padding-block: clamp(64px, 10vh, 110px); text-align: center; }
.fp-cta .fp-wrap { display: grid; justify-items: center; gap: 16px; }
.fp-cta .fp-desc { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .fp-back, .fil-btn { transition: none; }
}
