
body.homepage > header { position: absolute; inset: 0 0 auto; z-index: 2;
    background: #172119b8; color: white; }
body.homepage > main { width: 100%; padding: 0; }
body .video-hero { position: relative; display: grid; isolation: isolate; overflow: hidden;
    place-items: center; text-align: center; color: white; background: #354638;
    padding: 4rem 1.25rem 5rem; }
body.homepage .home-video { min-height: 100vh; min-height: 100svh;
    padding-top: 8rem; background: #354638 url('/video-recrutement.jpg') center / cover no-repeat; }
body.site:has(.candidate-options) {
    display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh;
}
body.site:has(.candidate-options) > footer {
    margin-top: auto; text-align: center;
}
main:has(> .candidate-options) {
    min-height: 0; padding-block: 1rem 1.5rem;
}
body main:has(> .candidate-options) > .video-hero.section-video {
    min-height: clamp(8rem, 19vh, 12rem); padding: 1rem;
    margin-bottom: 1rem;
}
main:has(> .candidate-options) .section-video h1 {
    font-size: clamp(2rem, 5vw, 3.75rem); margin-block: 0;
}
.candidate-options {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem; align-items: stretch;
}
.candidate-options > .panel { min-width: 0; margin: 0; padding: 1.25rem; }
.candidate-options .cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
@media (max-width: 720px) {
    .candidate-options { grid-template-columns: minmax(0, 1fr); }
}
body.site main:has(> #tarifs-recrutement) {
    display: grid; grid-template-columns: minmax(0, 1fr);
    gap: 1rem; align-items: stretch; min-height: 0;
    width: min(80rem, 94%); padding-block: 1rem;
}
body.site main:has(> #tarifs-recrutement) > .intro.section-video {
    grid-column: 1 / -1; min-height: clamp(8rem, 19vh, 12rem);
    padding: 1rem; margin: 0;
}
body.site main:has(> #tarifs-recrutement) > .intro h1 {
    font-size: clamp(2rem, 5vw, 3.75rem); margin-block: 0;
}
body.site main:has(> #tarifs-recrutement) > :is(#tarifs-recrutement, .panel) {
    grid-column: auto; grid-row: auto; min-width: 0; margin: 0; padding: 1rem;
    background: #edf3ea; border: 1px solid #c9d5ca; border-radius: .85rem;
}
body.site main > #tarifs-recrutement {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: start; align-items: stretch; gap: .75rem;
}
body.site main > #tarifs-recrutement > article { background: #f2f6ef; }
@media (max-width: 820px) {
    body.site main > #tarifs-recrutement { grid-template-columns: minmax(0, 1fr); }
}
body .video-hero.section-video { min-height: clamp(20rem, 52vh, 34rem);
    border-radius: 1.25rem; margin-bottom: 1.25rem;
    background: #354638 url('/video-olivier.jpg') center / cover no-repeat; }
.video-hero video { position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center; z-index: -2; }
.video-hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(#1019104d, #10191094); }
.video-hero .eyebrow { color: white; }
.video-hero h1 { margin-inline: auto; max-width: 19ch; text-wrap: balance;
    font-size: clamp(2.5rem, 7vw, 6rem); }
.video-hero .hero-scroll {
    display: inline-block; vertical-align: top; margin-top: 1rem;
    width: clamp(7.5rem, 15vw, 11rem); aspect-ratio: 1332 / 742;
    border-radius: 13.3% / 24%;
    background: #414b28 url('/bouton-go.jpg') center / 153.75% 154.04% no-repeat;
    box-shadow: 0 .4rem 1.2rem #10191080;
}
.video-hero .hero-scroll:hover { filter: brightness(1.12); }
#nos-espaces { scroll-margin-top: 1rem; }
.video-hero :focus-visible { outline: 2px solid white; outline-offset: 4px; }
.homepage .home-content { width: min(1200px, 90%); margin-inline: auto; padding: 2rem 0; }
body.homepage > header {
    display: grid; grid-template-columns: 1fr auto 1fr;
    column-gap: 1rem; align-items: center;
}
body.homepage > header nav { justify-self: end; }
body.homepage .header-tagline {
    margin: 0; text-align: center; color: white; font-weight: 700;
}
body.homepage main .home-video {
    --go-center: 50%;
    --go-width: clamp(7.5rem, 15vw, 11rem);
}
body.homepage main .home-video h1 {
    position: absolute;
    inset: calc(var(--go-center) + var(--go-width) * .279 + .85rem) 1rem auto;
    margin: 0; max-width: none; font-size: clamp(2.2rem, 7vw, 5.5rem);
}
body.homepage main .home-video .hero-scroll,
body.homepage main .home-video .hero-scroll:hover,
body.homepage main .home-video .hero-scroll:active {
    position: absolute; inset: var(--go-center) auto auto 50%;
    width: var(--go-width);
    margin: 0; transform: translate(-50%, -50%);
    box-shadow: none; transition: none; filter: none;
}
@media (max-height: 510px) {
    body.homepage main .home-video { --go-center: 54%; --go-width: 7rem; }
    body.homepage main .home-video h1 { font-size: clamp(1.55rem, 5vw, 3rem); }
}
body.homepage #specialties-title { color: #000; }
body.homepage .specialty-cards {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem; align-items: start;
}
body.homepage .specialty-cards article {
    padding: 1rem; color: white; background: #415346;
    border: 1px solid #a3b1a4; border-radius: .65rem;
}
body.homepage .specialty-cards h3 { margin: 0 0 .5rem; }
body.homepage .specialty-cards summary { color: #edf3ec; }
body.homepage .specialty-cards ul { padding-inline-start: 1.25rem; margin: .55rem 0 0; }
body.homepage .specialty-cards li + li { margin-top: .25rem; }
@media (max-width: 840px) {
    body.homepage .specialty-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 460px) {
    body.homepage .specialty-cards { grid-template-columns: 1fr; }
}
@media (max-width: 1099px) {
    body.homepage main .home-video {
        min-height: max(20rem, 65svh); padding: 1rem;
        --go-center: 42%; --go-width: clamp(6.75rem, 17vw, 9.5rem);
    }
    body.homepage main .home-video h1 { font-size: clamp(1.9rem, 6.5vw, 4.1rem); }
}
@media (max-width: 600px) and (orientation: portrait) {
    body.homepage main .home-video > div {
        display: flex; flex-direction: column-reverse; align-items: center;
        gap: .85rem; width: min(100%, 28rem); padding-block: 1rem;
    }
    body.homepage main .home-video h1 {
        position: static; text-wrap: balance;
        font-size: clamp(1.65rem, 7vw, 2.5rem);
    }
    body.homepage main .home-video .hero-scroll,
    body.homepage main .home-video .hero-scroll:hover,
    body.homepage main .home-video .hero-scroll:active {
        position: static; transform: none;
    }
}
@media (prefers-reduced-motion: reduce) { .video-hero video { visibility: hidden; } }
