/* =============================================
   MODULE ACTUALITÉ — bandeau marketing full-bleed
   ============================================= */

/* ---- Section conteneur — collé, sans marge ---- */
.actu-section {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #1a0a3a;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

[data-theme="dark"] .actu-section {
    background: #0a0620;
}

/* ---- Topbar — intégrée au bandeau sombre, pas de rupture ---- */
.actu-topbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.55rem 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(111, 125, 255, 0.1);
}

.actu-topbar-title {
    font-size: 0.82rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    text-transform: none;
    letter-spacing: 0.02em;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
}

.actu-topbar-logo {
    height: 0.85rem;
    width: auto;
    vertical-align: baseline;
    position: relative;
    top: 0.18rem;
    margin: 0 0.15rem;
    opacity: 0.85;
}

.actu-topbar-date {
    font-size: 0.72rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, rgba(111, 125, 255, 0.45), rgba(255, 126, 224, 0.55), rgba(160, 200, 255, 0.5), rgba(111, 125, 255, 0.45));
    background-size: 200% 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
    letter-spacing: 0.02em;
    animation: actu-sweep 3s ease-in-out infinite;
}

@keyframes actu-sweep {
    0%, 70% { background-position: 0% 50%; }
    85% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ---- Bandeau hero pleine largeur ---- */
.actu-hero {
    display: block;
    position: relative;
    width: 100%;
    height: clamp(300px, 40vw, 480px);
    overflow: hidden;
    color: inherit;
}

/* Image de fond plein écran */
.actu-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

/* Overlay — teinté violet */
.actu-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(26, 10, 58, 0.92) 0%,
        rgba(26, 10, 58, 0.75) 30%,
        rgba(16, 0, 63, 0.3) 55%,
        transparent 75%
    );
    z-index: 1;
}

[data-theme="dark"] .actu-hero-overlay {
    background: linear-gradient(
        105deg,
        rgba(10, 6, 32, 0.93) 0%,
        rgba(10, 6, 32, 0.75) 30%,
        rgba(10, 6, 32, 0.3) 55%,
        transparent 75%
    );
}

/* Contenu texte */
.actu-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem;
    height: 100%;
    padding: 2.5rem clamp(2rem, 6vw, 6rem);
    max-width: 580px;
    box-sizing: border-box;
}

/* ---- Titre ---- */
.actu-hero-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
    color: #fff;
}

/* ---- Description ---- */
.actu-hero-desc {
    font-size: clamp(0.82rem, 1.1vw, 0.95rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* ---- CTA bouton (article / insta / informatif) ---- */
.actu-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #ff7ee0, #6f7dff);
    background-size: 150% 150%;
    background-position: 0% 50%;
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    width: fit-content;
    margin-top: 0.3rem;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease,
                background-position 0.4s ease;
    box-shadow: 0 4px 20px rgba(111, 125, 255, 0.3);
}

.actu-hero-cta:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 35px rgba(111, 125, 255, 0.55),
                0 0 20px rgba(255, 126, 224, 0.25);
    background-position: 100% 50%;
}

.actu-hero-cta:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 10px rgba(111, 125, 255, 0.3);
}

.actu-hero-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.actu-hero-cta:hover svg {
    transform: translateX(4px);
}

/* Variante Instagram */
.actu-hero-cta--insta {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    background-size: 150% 150%;
    background-position: 0% 50%;
    box-shadow: 0 4px 20px rgba(220, 39, 67, 0.25);
}

.actu-hero-cta--insta:hover {
    box-shadow: 0 8px 35px rgba(220, 39, 67, 0.5),
                0 0 20px rgba(240, 148, 51, 0.25);
    background-position: 100% 50%;
}

/* Variante informatif (outline discret) */
.actu-hero-cta--info {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    box-shadow: none;
    backdrop-filter: blur(6px);
}

.actu-hero-cta--info:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
    transform: translateY(-3px) scale(1.04);
}

.actu-hero-cta--info:hover svg {
    transform: translateX(0);
}

/* ---- Multi-actus : scroll + navigation ---- */
.actu-scroll-zone {
    position: relative;
}

.actu-track {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.actu-track::-webkit-scrollbar {
    display: none;
}

.actu-track .actu-hero {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

/* Flèches navigation */
.actu-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(10, 6, 32, 0.5);
    backdrop-filter: blur(10px);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3;
    color: #fff;
    transition: opacity 0.2s, background 0.2s, border-color 0.2s;
}

.actu-nav:hover {
    background: rgba(111, 125, 255, 0.2);
    border-color: rgba(111, 125, 255, 0.4);
}

.actu-nav:disabled {
    opacity: 0.25;
    cursor: default;
}

.actu-nav--prev { left: clamp(0.75rem, 2vw, 2rem); }
.actu-nav--next { right: clamp(0.75rem, 2vw, 2rem); }

.actu-scroll-zone[data-multi="true"] .actu-nav {
    display: flex;
}

/* ---- Dots ---- */
.actu-dots {
    display: none;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.7rem 0 0.9rem;
    background: #1a0a3a;
}

[data-theme="dark"] .actu-dots {
    background: #0a0620;
}

.actu-scroll-zone[data-multi="true"] .actu-dots {
    display: flex;
}

.actu-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.actu-dot.active {
    background: linear-gradient(135deg, #ff7ee0, #6f7dff);
    transform: scale(1.35);
}

/* ---- Responsive mobile ---- */
@media (max-width: 768px) {
    .actu-hero {
        height: clamp(360px, 70vw, 480px);
    }

    .actu-hero-overlay {
        background: linear-gradient(
            to top,
            rgba(26, 10, 58, 0.95) 0%,
            rgba(26, 10, 58, 0.65) 45%,
            rgba(16, 0, 63, 0.15) 75%,
            transparent 100%
        );
    }

    [data-theme="dark"] .actu-hero-overlay {
        background: linear-gradient(
            to top,
            rgba(10, 6, 32, 0.95) 0%,
            rgba(10, 6, 32, 0.65) 45%,
            rgba(10, 6, 32, 0.15) 75%,
            transparent 100%
        );
    }

    .actu-hero-content {
        max-width: 100%;
        justify-content: flex-end;
        padding: 1.5rem clamp(1.25rem, 5vw, 2rem) clamp(1.5rem, 5vw, 2.5rem);
    }

    .actu-hero-title {
        font-size: 1.2rem;
    }

    .actu-nav {
        display: none !important;
    }
}
