/* Accueil uniquement : boites en noir uni, sans decor ni contour.
   Le corail reste reserve aux fleches et au survol. Meme fichier dans en/. */
@layer iia-typography {
  /* ---------- Grandes cartes parcours ---------- */
  body.home .future-catalog .pathway-universe {
    background: #151413 !important;
    border: 0 !important;
    border-radius: 24px !important;
    box-shadow: none !important;
  }
  body.home .future-catalog .pathway-universe__heading {
    min-height: 240px !important;
    padding: 30px !important;
    background: none !important;
    border: 0 !important;
  }
  body.home .future-catalog .pathway-universe__heading::after,
  body.home .future-catalog a.pathway-link::before {
    display: none !important;
  }
  body.home .future-catalog .pathway-universe__icon {
    background: #242220 !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    border-radius: 16px !important;
  }
  body.home .future-catalog .pathway-universe h3 {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: clamp(24px, 2.2vw, 32px) !important;
    line-height: 1.15 !important;
    letter-spacing: -.035em !important;
  }
  body.home .future-catalog .pathway-universe__heading p {
    color: #c9c2bb !important;
    -webkit-text-fill-color: #c9c2bb !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
  body.home .future-catalog .pathway-universe__list {
    display: grid !important;
    gap: 8px !important;
    padding: 0 18px 18px !important;
  }
  body.home .future-catalog .pathway-universe__list li {
    border: 0 !important;
  }

  /* ---------- Petites cartes ---------- */
  body.home .future-catalog a.pathway-link {
    margin: 0 !important;
    padding: 22px !important;
    min-height: 152px !important;
    align-items: flex-end !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: #242220 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background-color .2s ease !important;
  }
  body.home .future-catalog .pathway-link strong {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 19px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
  }
  body.home .future-catalog .pathway-link__description {
    color: #c9c2bb !important;
    -webkit-text-fill-color: #c9c2bb !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
  body.home .future-catalog .pathway-link__badge {
    display: inline-block !important;
    margin-bottom: 9px !important;
    padding: 3px 8px !important;
    border: 0 !important;
    border-radius: 20px !important;
    background: #3a3633 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 10px !important;
  }
  body.home .future-catalog .pathway-link__arrow {
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #ff8f84 !important;
    -webkit-text-fill-color: #ff8f84 !important;
    transition: background-color .2s ease, color .2s ease !important;
  }
  body.home .future-catalog a.pathway-link:hover {
    transform: none !important;
    background: #2e2b29 !important;
    box-shadow: none !important;
  }
  body.home .future-catalog a.pathway-link:hover .pathway-link__arrow {
    background: #ed5f54 !important;
    color: #151413 !important;
    -webkit-text-fill-color: #151413 !important;
  }
  body.home .future-catalog a.pathway-link:focus-visible {
    outline: 3px solid #ff9d94 !important;
    outline-offset: 3px !important;
  }

  /* ---------- Autres boites sombres de l'accueil ---------- */
  html:not(.high-contrast) body.home :is(.lh-proof li, .home-final__facts li, .school-community .school-community__layout, .lx-panel, .lx-alumni) {
    background: #151413 !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  html:not(.high-contrast) body.home :is(.lx-panel, .lx-alumni):hover {
    transform: none !important;
    box-shadow: none !important;
  }
  html:not(.high-contrast) body.home :is(.lx-panel, .lx-alumni)::before,
  html:not(.high-contrast) body.home :is(.lx-panel, .lx-alumni)::after {
    display: none !important;
  }

  @media (max-width: 1000px) {
    body.home .future-catalog .pathway-universe__heading { min-height: 0 !important; }
  }
  @media (prefers-reduced-motion: reduce) {
    body.home .future-catalog a.pathway-link,
    body.home .future-catalog .pathway-link__arrow { transition: none !important; }
  }
}
