/* =========================================================
   HOOD PVP — Formation staff : choix du parcours
   ========================================================= */

.fs-page {
  min-height: 100vh;
  background: var(--bg);
}

.fs-main {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h, 84px) + clamp(26px, 4.4vw, 56px));
  padding-bottom: clamp(56px, 8vw, 110px);
  background-image:
    linear-gradient(180deg, rgba(8, 9, 10, .32) 0%, rgba(8, 9, 10, .46) 34%, rgba(8, 9, 10, .8) 72%, #08090a 100%),
    linear-gradient(90deg, rgba(8, 9, 10, .52) 0%, rgba(8, 9, 10, .08) 54%, rgba(8, 9, 10, .22) 100%),
    url("../img/formation-staff-bg.webp");
  background-position: center, center, 62% 26%;
  background-size: cover, cover, cover;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

@media (min-width: 901px) {
  .fs-main {
    background-attachment: scroll, scroll, fixed;
  }
}

/* Halo or discret derrière le titre. */
.fs-main::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  width: min(1100px, 135vw);
  height: 580px;
  background: radial-gradient(ellipse at center, rgba(243, 182, 74, .09), transparent 68%);
  transform: translateX(-50%);
  pointer-events: none;
}

.fs-hero,
.fs-choices {
  position: relative;
  z-index: 1;
}

/* ---------- Retour accueil ---------- */
.fs-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(20px, 3vw, 34px);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .25s ease;
}

.fs-back:hover {
  color: var(--gold);
}

.fs-back svg {
  width: 13px;
  height: 13px;
}

/* ---------- Titre ---------- */
.fs-title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  font-weight: 400;
  letter-spacing: .005em;
  line-height: .92;
  text-transform: uppercase;
  text-wrap: balance;
}

.fs-title em {
  color: var(--gold);
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: -.01em;
  text-transform: none;
}

.fs-lead {
  max-width: 640px;
  margin: clamp(14px, 2vw, 20px) 0 0;
  color: var(--muted);
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.6;
}

/* ---------- Cartes des rôles ---------- */
.fs-choices {
  margin-top: clamp(30px, 4.4vw, 54px);
}

.fs-grid {
  display: grid;
  max-width: 1060px;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
  list-style: none;
}

.fs-grid > li {
  display: flex;
}

.fs-card {
  --role: var(--gold);
  display: flex;
  width: 100%;
  min-height: 200px;
  flex-direction: column;
  gap: 14px;
  padding: clamp(18px, 2vw, 26px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  background: #0c0d10;
  transition: transform .3s var(--ease), border-color .3s ease, background-color .3s ease, box-shadow .3s ease;
}

.fs-card:hover,
.fs-card:focus-visible {
  border-color: rgba(255, 255, 255, .24);
  background: #111216;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .55);
  outline: none;
  transform: translateY(-3px);
}

.fs-card:target {
  border-color: var(--role);
  box-shadow: 0 0 0 1px var(--role), 0 18px 46px rgba(0, 0, 0, .55);
}

.fs-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fs-card__icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  color: var(--role);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .55));
}

.fs-card__icon svg {
  width: 30px;
  height: 30px;
}

.fs-card__name {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(17px, 1.5vw, 21px);
  letter-spacing: .03em;
  line-height: 1;
  text-transform: uppercase;
}

.fs-card__desc {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.55;
}

.fs-card__go {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.fs-card__go svg {
  width: 13px;
  height: 13px;
  transition: transform .3s var(--ease);
}

.fs-card:hover .fs-card__go svg {
  transform: translate(2px, -2px);
}

.fs-note {
  margin: clamp(18px, 2.6vw, 28px) 0 0;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .1em;
  line-height: 1.6;
  text-transform: uppercase;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .fs-grid {
    max-width: 560px;
    grid-template-columns: minmax(0, 1fr);
  }

  .fs-card {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .fs-main {
    padding-top: calc(var(--header-h, 72px) + 24px);
  }

  .fs-title {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }

  .fs-note {
    font-size: 7.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fs-card,
  .fs-card__go svg {
    transition: none;
  }
}
