/***** Slider *****/

.slider {
    position: relative;
    width: 100%;
    margin: auto;
    min-height: 88vh;
    background: linear-gradient(
        135deg,
        rgba(30, 31, 34, 0.72),
        rgba(43, 45, 49, 0.3)
    );

    .slide {
        overflow: hidden;
        position: relative;
    }

    .slick-slide {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        height: auto;
        max-height: 860px;
    }

    .slide-image {
        width: 100%;
        height: 100%;
        min-height: 88vh;
        object-fit: cover;
        filter: brightness(32%) saturate(0.92);
    }

    .slide-content {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        color: #fff;
        padding: 2rem;
        max-width: min(980px, 92%);
        margin: 0 auto;
        background: linear-gradient(
            120deg,
            rgba(30, 31, 34, 0.84),
            rgba(43, 45, 49, 0.32)
        );
        word-wrap: break-word;
        backdrop-filter: blur(1.5px);

        p {
            margin: 0 0 1rem;
            font-size: clamp(1rem, 2.2vw, 1.45rem);
            font-weight: 700;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--accent);
        }

        h1 {
            margin: 0;
            font-size: clamp(2rem, 4vw, 3.5rem);
            line-height: 1.22;
            font-family: "HelveticaNeuBold", sans-serif;
            text-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
        }
    }

    .slick-track {
        outline: none;
        padding: 0;
        margin: 0;
    }

    .slide-zoom {
        animation: zoom-in-out 20s infinite ease-in-out;
        width: 100%;
        height: auto;
        transform-origin: center;
    }

    .slick-dots li button:before {
        color: white;
        opacity: 1;
    }

    .slick-dots li.slick-active button:before {
        color: white;
    }
}

@keyframes zoom-in-out {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

/***** Responsive Mobile *****/

@media screen and (max-width: 768px) {
    .slide-content {
        padding: 1.2rem;
        max-width: 92%;

        h1 {
            font-size: 1.9rem;
        }

        p {
            font-size: 0.95rem;
        }
    }
}

/***** Responsive Tablette *****/

@media screen and (max-width: 990px) and (min-width: 769px) {
    .slide-content {
        padding: 1.5rem;
        max-width: 92%;

        h1 {
            font-size: 2.2rem;
        }

        p {
            font-size: 1.1rem;
        }
    }
}
