/* LTS Academy — accueil (chargé uniquement sur la page d'accueil) */

.home-hero { position: relative; overflow: hidden; }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(900px 520px at 78% 8%, rgba(244, 184, 21, .16), transparent 60%); }
/* Photo du héros en arrière-plan plein cadre (équivalent background-size: cover / position: center). */
.home-hero__bg { position: absolute; inset: 0; }
.home-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(9, 26, 61, .72), rgba(14, 35, 80, .58) 45%, rgba(9, 26, 61, .82)); }
.home-hero__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; min-height: clamp(560px, 78vh, 760px); padding-block: 72px; }
.home-hero__content { width: 100%; max-width: 860px; min-width: 0; text-align: center; }
.home-hero__title { font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.04; letter-spacing: -.03em; margin-top: 22px; text-wrap: balance; }
.highlight { position: relative; display: inline-block; }
.highlight::before { content: ""; position: absolute; left: -6px; right: -6px; top: .02em; height: 1.02em; background: var(--gold); border-radius: 5px; }
.highlight > span { position: relative; color: var(--navy); }
.home-hero__text { font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.62; color: var(--on-navy); max-width: 58ch; margin: 22px auto 0; }
.home-hero--image .home-hero__text { color: rgba(251, 250, 246, .88); }
.home-hero .btn-row { margin-top: 32px; justify-content: center; }
@media (max-width: 719px) {
	.home-hero__inner { min-height: 0; padding-block: 56px; }
}

.section--catalogue { padding-top: 88px; }
.catalogue__filters { margin-top: 36px; }
.catalogue { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 20px; margin-top: 24px; }
.course { position: relative; border: 1px solid var(--line); border-radius: 20px; background: var(--white); overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: all .25s; cursor: pointer; }
.course:hover { border-color: var(--navy); box-shadow: var(--shadow-card); transform: translateY(-3px); }
.course__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.course__media img { width: 100%; height: 100%; object-fit: cover; }
.course__tag { position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--navy); border-radius: var(--radius-pill); padding: 6px 13px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.course__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 0; }
.course__title { font-weight: 700; font-size: 18.5px; line-height: 1.25; letter-spacing: -.015em; }
.course__text { font-size: 14.5px; line-height: 1.62; color: var(--muted); }
.course__foot { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; border-top: 1px solid var(--paper); }
.course__meta { font-size: 11.5px; color: var(--muted-2); }
.course .link-arrow { font-size: 13.5px; white-space: nowrap; }
/* Carte entièrement cliquable : le lien du titre couvre la carte, « Candidater » reste un lien distinct au-dessus. */
.course__link { color: inherit; }
.course__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.course__link:hover { color: inherit; }
.course__link:focus-visible { outline: none; }
.course:has(.course__link:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.course__cta { position: relative; z-index: 2; }
.course__media img { transition: transform .4s; }
.course:hover .course__media img { transform: scale(1.03); }

.poles__tabs { margin-top: 40px; }
.pole { margin-top: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.pole__intro { padding: 34px; background: var(--navy); color: var(--cream); display: flex; flex-direction: column; gap: 16px; }
.pole__num { font-size: 11.5px; letter-spacing: .14em; color: var(--gold); }
.pole__title { font-size: 27px; line-height: 1.12; letter-spacing: -.02em; }
.pole__desc { font-size: 15px; line-height: 1.62; color: rgba(251, 250, 246, .74); }
.pole__badges { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.pole__badges li { border: 1px solid rgba(251, 250, 246, .3); border-radius: 8px; padding: 6px 11px; font-size: 12px; font-weight: 700; }
.pole__list { padding: 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 12px; align-content: start; }
.filiere { height: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 7px; background: var(--cream); transition: all .2s; }
.filiere:hover { border-color: var(--gold); background: var(--white); transform: translateY(-2px); color: var(--navy); }
.filiere__name { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.filiere__desc { font-size: 13px; line-height: 1.5; color: var(--muted-2); }
@media (max-width: 859px) {
	.pole { grid-template-columns: 1fr; }
	.pole__intro { padding: 26px; }
}
.short-courses { margin-top: 22px; border: 1px dashed var(--line-dashed); border-radius: 18px; padding: 24px 28px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; background: var(--sand); }
.short-courses__title { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.short-courses__text { font-size: 14.5px; color: var(--brown-3); margin-top: 5px; max-width: 62ch; }

.parcours__title { margin-bottom: 40px; max-width: 24ch; }
.parcours { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(272px, 100%), 1fr)); gap: 18px; }
.parcour { border: 1px solid var(--line); border-radius: 20px; padding: 30px; background: var(--white); display: flex; flex-direction: column; gap: 14px; transition: all .25s; min-width: 0; }
.parcour:hover { border-color: var(--navy); box-shadow: 0 18px 40px rgba(14, 35, 80, .08); }
.parcour__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--paper); }
.parcour__title { font-size: 22px; letter-spacing: -.02em; }
.parcour__level { font-size: 12.5px; color: var(--gold-dark); font-weight: 500; }
.parcour__desc { font-size: 14.5px; line-height: 1.62; color: var(--muted); }
.parcour__facts { display: flex; flex-direction: column; gap: 9px; margin: 4px 0 0; }
.parcour__facts > div { display: grid; grid-template-columns: 14px auto 1fr; gap: 4px 10px; font-size: 13.5px; font-weight: 600; }
.parcour__facts span { color: var(--gold-dark); }
.parcour__facts dt { color: var(--muted-2); white-space: nowrap; }
.parcour__facts dd { margin: 0; }
.parcour__cta { margin-top: auto; padding-top: 20px; }

.ecole__text { margin-top: 20px; max-width: 54ch; line-height: 1.68; }
.atouts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; margin-top: 30px; }
.atouts li { display: flex; gap: 12px; align-items: flex-start; }
.atout__title { font-weight: 700; font-size: 15px; line-height: 1.3; letter-spacing: 0; }
.atout__desc { font-size: 13.5px; line-height: 1.55; color: var(--muted-2); margin-top: 4px; }
.quote { margin-top: 34px; padding: 22px 24px; border-left: 3px solid var(--gold); background: var(--sand); border-radius: 0 14px 14px 0; }
.quote blockquote { margin: 0; font-size: 15.5px; line-height: 1.68; color: var(--brown-2); font-style: italic; }
.quote figcaption { margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--navy); }

.admission { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 44px; align-items: start; padding: clamp(32px, 4vw, 58px); }
.admission > * { min-width: 0; }
.admission__title { max-width: 22ch; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.admission__text { font-size: 16px; line-height: 1.66; color: var(--on-navy); margin: 18px 0 28px; max-width: 44ch; }

.faq-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 48px; align-items: start; }
.faq-layout > * { min-width: 0; }
.faq-layout__title { max-width: 20ch; }
.faq-contact { margin-top: 26px; border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: var(--white); }
.faq-contact p { font-size: 13.5px; color: var(--muted-2); line-height: 1.6; }
.faq-contact a { display: inline-flex; margin-top: 12px; font-family: var(--font-display); font-weight: 700; font-size: 16px; }
