.actualites-wrapper {
    position: relative;
    margin: 0;
    color: var(--color-dark, #111);
}

/* Slider : défilement horizontal avec accroche (scroll-snap) */
.actus-container {
    display: flex;
    height: 450px;
    max-height: 450px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    background: var(--color-base-classic, #fff);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.actus-container::-webkit-scrollbar {
    display: none;
}

.actu-slide {
    flex: 0 0 100%;
    height: 100%;
    scroll-snap-align: start;
    display: flex;
}

/* Colonne image */
.actu-image-col {
    flex: 1 1 55%;
    position: relative;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.actu-image-col .img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Titre en bandeau sur l'image */
.badge-title {
    position: absolute;
    bottom: 30px;
    left: 0;
    max-width: 80%;
    margin: 0;
    padding: 12px 25px;
    background: var(--color-teal, #2d989e);
    color: var(--color-dark, #000);
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.26;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Colonne texte */
.actu-content-col {
    flex: 1 1 45%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 40px 90px;
    background: var(--color-base-classic, #fff);
}

.excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-dark-teal, #333);
}

.excerpt p {
    margin: 0;
}

.btn-lire {
    align-self: flex-start;
    display: inline-block;
    padding: 12px 25px;
    background: var(--color--teal, #2d989e);
    color: var(--color-dark, #000);
    border: 1px solid color-mix(in srgb, var(--color-teal, #2d989e) 85%, black 15%);
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
    transition: filter 0.2s ease;
}

.btn-lire:hover, .btn-lire:focus-visible {
    filter: brightness(0.9);
}

/* Barre de navigation */
.slider-nav {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 45%; /* même largeur que .actu-content-col */
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
    margin: 0;
    padding: 20px 40px;
    pointer-events: none;
}

.slider-nav > * {
    pointer-events: auto; /* ...mais le lien et les pastilles restent cliquables */
}

.all-news {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-dark, #000);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
}

.plus-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-dark, #000);
    color: #fff;
    font-size: 14px;
}

/* Pastilles : zone cliquable de 24 px, pastille visible de 12 px */
.dots {
    display: flex;
    gap: 4px;
}

.dot {
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.dot::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: var(--color-dark, #000);
    opacity: 0.3;
    transition: opacity 0.3s, transform 0.3s;
}

.dot.active::before,
.dot[aria-current="true"]::before {
    background: var(--color-orange, #ee7203);
    opacity: 1;
    transform: scale(1.3);
}

.dot:focus-visible {
    outline: 3px solid var(--color-dark, #000);
    outline-offset: 2px;
}

/* Mobile */
@media (max-width: 768px) {
    .actus-container {
        height: 450px;
    }
    .actu-slide {
        flex-direction: column;
    }
    .actu-image-col {
        flex: 0 0 200px;
        height: 200px;
    }
    .actu-content-col {
        flex: 1 1 auto;
        padding: 20px 20px 80px;
    }
    .excerpt {
        -webkit-line-clamp: 4;
    }
    .slider-nav {
        width: 100%;
        padding: 15px 20px;
    }
}

/* Respect des préférences de mouvement */
@media (prefers-reduced-motion: reduce) {
    .actus-container {
        scroll-behavior: auto;
    }
    .dot::before,
    .btn-lire {
        transition: none;
    }
}