/* === HERO BANNER === */
.resultats-hero {
    width: 100%;
    max-width: 1440px;
    height: 622px;
    margin: 0 auto;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    color: #fff;
    font-family: 'Roboto', sans-serif;
}

.resultats-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.resultats-hero .hero-content {
    position: relative;
    z-index: 2;
    padding: 60px;
    max-width: 600px;
}

.resultats-hero .hero-content h1 {
    font-size: 50px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.resultats-hero .hero-content p {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 25px;
    line-height: 1.5;
}
.resultats-hero .hero-btn {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid #05D9C4;
    color: #fff;               /* police blanche */
    background: transparent;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.resultats-hero .hero-btn:hover {
    background-color: #05D9C4;
    color: #000;               /* police noire au hover */
}


/* === SECTION NOIRE AVEC SLIDER CENTRÉ === */
.resultats-slider-section {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 900px;
    padding: 0 20px;
}

/* Container principal */
.resultats-slider-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
    position: relative;
}

/* === SLIDER === */
.resultats-slider {
    position: relative;
    width: 100%;
    max-width: 1000px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Wrapper des slides */
.resultats-slider .slider-wrapper {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

/* Chaque slide */
.resultats-slider .slider-item {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.resultats-slider .slider-item.active {
    opacity: 1;
    transform: scale(1);
}

.resultats-slider .slider-item img {
    width: auto;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* === FLÈCHES DE NAVIGATION (identiques à Itinéraire) === */
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
}

.slider-prev svg,
.slider-next svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
}

.slider-prev { left: 15px; }
.slider-next { right: 15px; }

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* === BOUTON SOUS LE SLIDER === */
.resultats-slider-container .slider-button-wrapper {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
}

.resultats-slider-container .slider-btn {
    display: inline-block;
    padding: 8px 20px;
    text-decoration: none;
    color: #fff;
    border: 2px solid #05D9C4;
    border-radius: 0;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    background: transparent;
    font-size: 14px;
    transition: all 0.3s ease;
}

.resultats-slider-container .slider-btn:hover {
    background-color: #05D9C4;
    color: #000;
}

/* === BARRE VERTE SOUS HERO === */
.hero-green-bar {
    width: 100%;
    max-width: 1440px;
    height: 21px;
    background-color: #05D9C4;
    margin: 0 auto;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .slider-prev,
    .slider-next {
        width: 36px;
        height: 36px;
    }

    .slider-prev svg,
    .slider-next svg {
        width: 16px;
        height: 16px;
    }

    .resultats-slider .slider-item img {
        max-width: 100%;
        max-height: 60vh;
    }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .resultats-hero {
        height: 500px;
    }

    .resultats-hero .hero-content {
        padding: 40px;
        max-width: 500px;
    }

    .resultats-hero .hero-content h1 {
        font-size: 40px;
    }

    .resultats-hero .hero-content p {
        font-size: 18px;
    }

    .resultats-slider-section {
        min-height: 700px;
        padding: 0 15px;
    }

    .resultats-slider .slider-item img {
        max-height: 60vh;
    }
}

@media (max-width: 768px) {
    .resultats-hero {
        height: 400px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .resultats-hero .hero-content {
        padding: 20px;
        max-width: 90%;
    }

    .resultats-hero .hero-content h1 {
        font-size: 28px;
    }

    .resultats-hero .hero-content p {
        font-size: 16px;
    }

    .resultats-slider-section {
        min-height: 500px;
        padding: 0 10px;
    }

    .resultats-slider .slider-item img {
        max-width: 100%;
        max-height: 50vh;
    }

    .slider-prev,
    .slider-next {
        width: 36px;
        height: 36px;
    }

    .slider-prev svg,
    .slider-next svg {
        width: 16px;
        height: 16px;
    }

    .resultats-slider-container .slider-button-wrapper {
        bottom: -40px;
    }

    .resultats-slider-container .slider-btn {
        padding: 6px 16px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .resultats-hero {
        height: 350px;
    }

    .resultats-hero .hero-content h1 {
        font-size: 22px;
    }

    .resultats-hero .hero-content p {
        font-size: 14px;
    }

    .resultats-slider-section {
        min-height: 400px;
    }

    .resultats-slider .slider-item img {
        max-height: 40vh;
    }

    .resultats-slider-container .slider-button-wrapper {
        bottom: -35px;
    }

    .resultats-slider-container .slider-btn {
        padding: 5px 14px;
        font-size: 11px;
    }
}
