/* =====================================================================
   Hero slider (accueil) + héros des pages internes (.hero--intern)
   Swiper en fondu (vendor du thème), photo en niveaux de gris + voile 40 %
   (maquette : remplissage noir en mode « Saturation » + noir 40 %),
   dents de scie en bas (.hero-zigzag).
   ===================================================================== */
.hero {
    position: relative;
    padding: 0;
    background: var(--c-black);
    color: #fff;
}

.hero-swiper { position: relative; overflow: hidden; }

.hero-slide,
.hero--intern {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 900px;
    overflow: hidden;
    background: var(--c-black);
}
.hero--intern { min-height: 594px; }

.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .4); }
.hero-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transform: scale(1.08);
    transition: transform 7s linear;
}
.swiper-slide-active .hero-img,
.hero--intern .hero-img { transform: scale(1); }
.hero--intern .hero-img { animation: hero-zoom 2.2s var(--ease-out) both; }
@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding: 130px 15px 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.hero--intern .hero-content { padding: 160px 15px 80px; }

.hero-content .t-eyebrow { margin-bottom: 0; }

.hero-title {
    margin: 26px 0 15px;
    color: #fff;
    font-family: var(--font-title);
    font-size: 4.375rem;
    font-weight: 700;
    line-height: 1.071;
}
.hero--intern .hero-title { font-size: 3.5rem; margin-bottom: 15px; }

.hero-text {
    max-width: 800px;
    margin: 0;
    font-size: 1.1875rem;
    line-height: 1.473;
}
.hero--intern .hero-text { font-size: 1rem; }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 30px;
    margin-top: 32px;
}

/* Entrée échelonnée du texte à chaque slide (et au chargement des pages internes) */
.hero-slide .hero-content > *,
.hero--intern .hero-content > * {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
}
.hero-slide.swiper-slide-active .hero-content > *,
.is-loaded .hero--intern .hero-content > * { opacity: 1; transform: none; }
.hero-slide.swiper-slide-active .hero-content > :nth-child(1),
.is-loaded .hero--intern .hero-content > :nth-child(1) { transition-delay: .35s; }
.hero-slide.swiper-slide-active .hero-content > :nth-child(2),
.is-loaded .hero--intern .hero-content > :nth-child(2) { transition-delay: .5s; }
.hero-slide.swiper-slide-active .hero-content > :nth-child(3),
.is-loaded .hero--intern .hero-content > :nth-child(3) { transition-delay: .65s; }
.hero-slide.swiper-slide-active .hero-content > :nth-child(4) { transition-delay: .8s; }

/* Sans JavaScript : premier slide visible */
.no-js .hero-slide:first-child .hero-content > * { opacity: 1; transform: none; }
