/* Accueil uniquement : cartes et boutons dans la palette 2iia. */
@layer iia-typography {
  body.home .future-catalog .pathway-universe {
    background: #242220 !important;
    border: 1px solid #49433f !important;
    border-radius: 24px !important;
    box-shadow: 0 16px 40px #00000020 !important;
  }
  body.home .future-catalog .pathway-universe__heading {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 300px !important;
    padding: 30px !important;
    background: radial-gradient(ellipse at 95% 0%, #ed5f5450, transparent 65%), #35322f !important;
    border-bottom: 1px solid #ffffff18 !important;
  }
  body.home .future-catalog .pathway-universe__heading::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 150px;
    height: 150px;
    right: -35px;
    top: 18px;
    border: 1px solid #ffffff26;
    border-radius: 32px;
    transform: rotate(-24deg);
    background: linear-gradient(135deg, #ffffff16, #ed5f541a);
    box-shadow: 0 0 0 20px #ffffff04, 0 0 0 40px #ffffff03;
  }
  body.home .future-catalog .pathway-universe__icon {
    background: linear-gradient(145deg, #ffffff20, #ffffff08) !important;
    border: 1px solid #ffffff38 !important;
    box-shadow: inset 0 1px 0 #ffffff25, 0 8px 24px #0002 !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: #ded7d2 !important;
    -webkit-text-fill-color: #ded7d2 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
  body.home .future-catalog .pathway-universe__list {
    display: grid !important;
    gap: 12px !important;
    padding: 18px !important;
  }
  body.home .future-catalog .pathway-universe__list li {
    border: 0 !important;
  }
  body.home .future-catalog a.pathway-link {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    margin: 0 !important;
    padding: 22px !important;
    min-height: 152px !important;
    align-items: flex-end !important;
    border: 1px solid #ffffff25 !important;
    border-radius: 18px !important;
    background: radial-gradient(ellipse at 100% 0%, #ed5f5470, transparent 80%), linear-gradient(125deg, #37312e, #50403a) !important;
    text-decoration: none !important;
    box-shadow: inset 0 1px 0 #ffffff12 !important;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease !important;
  }
  body.home .future-catalog a.pathway-link::before {
    content: '';
    position: absolute;
    z-index: -1;
    width: 90px;
    height: 90px;
    right: -25px;
    top: -32px;
    border: 1px solid #ffffff24;
    border-radius: 24px;
    transform: rotate(-25deg);
    background: linear-gradient(135deg, #ffffff15, transparent);
  }
  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: #eee5df !important;
    -webkit-text-fill-color: #eee5df !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: 1px solid #ffffff30 !important;
    border-radius: 20px !important;
    background: #ffffff10 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 10px !important;
  }
  body.home .future-catalog .pathway-link__arrow {
    background: #ffffff14 !important;
    border: 1px solid #ffffff30 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }
  body.home .future-catalog a.pathway-link:hover {
    transform: translateY(-3px) !important;
    border-color: #ed5f54 !important;
    box-shadow: 0 8px 22px #0003, inset 0 1px 0 #ffffff20 !important;
  }
  body.home .future-catalog a.pathway-link:focus-visible {
    outline: 3px solid #ff9d94 !important;
    outline-offset: 3px !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 { transition: none !important; }
    body.home .future-catalog a.pathway-link:hover { transform: none !important; }
  }
}
