/* ==========================================================================
   CSS SPECIFIQUE A LA PAGE D'ACCUEIL (accueil.css) — VERSION PREMIUM (MIXTE)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Montserrat:wght@700;800;900&display=swap');


/* ==========================================
   1. HERO SLIDER PLEINE LARGEUR (SOMBRE PREMIUM)
   ========================================== */
.fate-hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 85px) !important;
    margin-top: 85px !important;
    min-height: 600px;
    overflow: hidden;
    background: #0a0a1e;
}

@media (max-width: 1010px) {
    .fate-hero {
        height: calc(100vh - 70px) !important;
        margin-top: 70px !important;
    }
}

.fate-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.fate-hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.fate-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transform: scale(1.05);
    transition: transform 6s ease-out;
}

.fate-hero-slide.active img {
    transform: scale(1);
}

.fate-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(10, 10, 30, 0.35) 0%,
        rgba(10, 10, 30, 0.18) 45%,
        rgba(10, 10, 30, 0.03) 75%,
        transparent 100%
    );
    z-index: 1;
    display: flex;
    align-items: center;
    padding: 0 80px 0 160px;
}

.fate-hero-content {
    max-width: 640px;
    color: #fff;
}

.fate-hero-overtitle {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: #FFC107;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 18px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.fate-hero-slide.active .fate-hero-overtitle {
    opacity: 1;
    transform: translateY(0);
}

.fate-hero-h1 {
    font-size: clamp(26px, 4vw, 52px);
    font-weight: 900;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 14px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
    font-family: 'Montserrat', sans-serif;
}

.fate-hero-slide.active .fate-hero-h1 {
    opacity: 1;
    transform: translateY(0);
}

.fate-hero-sub {
    font-size: 15px;
    line-height: 1.65;
    color: #ffffff;
    margin-bottom: 30px;
    max-width: 500px;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s ease 0.5s, transform 0.65s ease 0.5s;
}

.fate-hero-slide.active .fate-hero-sub {
    opacity: 1;
    transform: translateY(0);
}

.fate-hero-actions {
    display: flex;
    gap: 16px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease 0.6s, transform 0.6s ease 0.6s;
}

.fate-hero-slide.active .fate-hero-actions {
    opacity: 1;
    transform: translateY(0);
}

.fate-hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFC107;
    color: #0a0a1e;
    font-size: 14px;
    font-weight: 800;
    padding: 13px 28px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(255, 193, 7, 0.45);
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}

.fate-hero-btn-primary:hover {
    background: #fff;
    color: #0a0a1e;
    text-decoration: none;
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.3);
}

.fate-hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}

.fate-hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    text-decoration: none;
    transform: scale(1.04);
}

.fate-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 36px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    z-index: 20;
    transition: color 0.25s, transform 0.25s;
    user-select: none;
    padding: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.fate-hero-arrow:hover {
    color: #FFC107;
    transform: translateY(-50%) scale(1.15);
}

.fate-hero-arrow-left {
    left: 18px;
}

.fate-hero-arrow-right {
    right: 52px;
}

.fate-hero-dots {
    position: absolute;
    bottom: 28px;
    left: 80px;
    display: flex;
    gap: 10px;
    z-index: 30;
}

.fate-hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.38);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.fate-hero-dot.active {
    background: #FFC107;
    border-color: #FFC107;
    transform: scale(1.35);
}

@media (max-width: 640px) {
    .fate-hero-overlay {
        padding: 0 28px;
    }

    .fate-hero-content {
        transform: translateY(-56px);
    }
}

/* ==========================================
   2. SECTION QUI SOMMES NOUS
   ========================================== */
.fate-about-strip {
    padding: 100px 0;
    background: #F0EBE0;
    position: relative;
    overflow: hidden;
}

.fate-about-strip::before {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.10) 0%, transparent 65%);
    pointer-events: none;
}

.fate-about-wrapper {
    display: flex;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.fate-about-text {
    flex: 1 1 420px;
    min-width: 0;
}

.about-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #EAB308;
    margin-bottom: 18px;
}

.about-eyebrow i {
    font-size: 13px;
}

.fate-about-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 900;
    color: #111827;
    line-height: 1.0;
    letter-spacing: -2px;
    margin: 0 0 24px;
}

.fate-about-text h2 em {
    font-style: normal;
    color: #FFC107;
    display: block;
}

.about-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.about-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #111827;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
}

.about-chip i {
    color: #EAB308;
    font-size: 11px;
}

.about-body {
    margin-bottom: 36px;
}

.about-body p {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 14px;
}

.about-body p:last-child {
    margin-bottom: 0;
}

.about-body strong {
    color: #111827;
    font-weight: 700;
}

.about-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #EAB308;
    color: #111827;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    padding: 0 28px;
    height: 48px;
    text-decoration: none;
    transition: opacity .2s, transform .15s;
    cursor: pointer;
}

.about-cta:hover {
    opacity: .88;
    transform: translateY(-1px);
    color: #111827;
    text-decoration: none;
}

.fate-about-video {
    flex: 1 1 480px;
    position: relative;
}

.fate-about-video-inner {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.13);
    aspect-ratio: 16/9;
    position: relative;
    z-index: 2;
    background: #000;
}

.fate-about-video iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ── VIDEO POSTER (thumbnail + play button) ── */
.video-poster {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    display: block;
}

.video-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.video-poster:hover img {
    transform: scale(1.04);
}

.video-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 24, 39, 0.30);
    transition: background .25s;
}

.video-poster:hover .video-play-btn {
    background: rgba(17, 24, 39, 0.48);
}

.video-play-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #EAB308;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 28px rgba(234, 179, 8, 0.45);
    transition: transform .2s, box-shadow .2s;
}

.video-play-circle i {
    font-size: 26px;
    padding-left: 4px;
}

.video-poster:hover .video-play-circle {
    transform: scale(1.10);
    box-shadow: 0 12px 36px rgba(234, 179, 8, 0.55);
}

.video-backdrop-shape {
    position: absolute;
    top: 20px;
    right: -20px;
    bottom: -20px;
    left: 20px;
    border-radius: 20px;
    background: #EAB308;
    opacity: 0.22;
    z-index: 1;
}

@media (max-width: 992px) {
    .fate-about-wrapper {
        flex-direction: column;
        gap: 48px;
    }

    .video-backdrop-shape {
        display: none;
    }
}

@media (max-width: 640px) {
    .fate-about-strip {
        padding: 72px 0;
    }

    .fate-about-text {
        text-align: center;
    }

    .about-eyebrow {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .fate-about-text h2 {
        font-size: clamp(30px, 10vw, 40px);
        line-height: 1.08;
        letter-spacing: 0;
        margin-bottom: 22px;
        text-wrap: balance;
    }

    .fate-about-text h2 em {
        margin-top: 6px;
    }

    .about-chips {
        justify-content: center;
    }

    .about-body {
        max-width: 34rem;
        margin-left: auto;
        margin-right: auto;
    }

    .about-cta {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==========================================
   3. SECTION CHIFFRES CLÉS (SOMBRE PREMIUM)
   ========================================== */
.fun-facts-1 {
    background: #0a0a1e;
    position: relative;
    overflow: hidden;
}

.fun-facts-1::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFC107' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.8;
}

.fun-facts-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 24px 20px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 2;
    backdrop-filter: blur(10px);
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0 15px;
    align-items: center;
}

.fun-facts-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFC107, #FFD740);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: center;
}

.fun-facts-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    background: rgba(255, 193, 7, 0.05);
    border-color: rgba(255, 193, 7, 0.3);
}

.fun-facts-card:hover::before {
    transform: scaleX(1);
}

.fun-facts-card .icone-key {
    grid-row: span 2;
    display: flex;
    align-items: center;
}

.fun-facts-card .icone-key img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 0;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.fun-facts-card:hover .icone-key img {
    transform: scale(1.1);
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(75%) sepia(60%) saturate(500%) hue-rotate(0deg);
}

.fun-facts-card h2 {
    font-size: 52px;
    font-weight: 900;
    color: #FFC107;
    line-height: 1;
    margin-bottom: 0;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
    align-self: flex-end;
}

.fun-facts-card h2 .odometer {
    white-space: nowrap;
    display: inline-block;
}

.fun-facts-card p {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    align-self: flex-start;
    line-height: 1.2;
}

/* ==========================================
   4. SECTION PROJETS (CLAIR - PREMIUM)
   ========================================== */
.projets-section {
    padding: 100px 0;
    background: #F0EBE0;
    /* <-- Nouvelle couleur ici */
    position: relative;
    overflow: hidden;
}

.projets-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.projets-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 193, 7, 0.15);
    color: #d97706;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 20px;
}

.projets-header h2 {
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 900;
    color: #111827;
    line-height: 1.15;
    margin-bottom: 18px;
}

.projets-header h2 span {
    color: #FFC107;
}

.projets-header p {
    font-size: 16px;
    color: #6b7280;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Grille asymétrique restaurée et corrigée */
.projets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 240px 240px;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.projet-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.projet-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transform: translateY(-5px);
}

.projet-card-hero {
    grid-column: span 2;
    grid-row: span 2;
    height: 100%;
    min-height: unset;
}

.projet-card-sm {
    grid-column: span 1;
    height: 100%;
    min-height: unset;
}

.projet-card-wide {
    grid-column: span 2;
    height: 420px;
    /* Corrigé de 260px à 420px pour éviter l'espace vide avec la carte sm adjacente */
}

.projet-card-std {
    height: 260px;
}

.projet-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.projet-card:hover img {
    transform: scale(1.08);
}

/* Overlay assombri (comme demandé) */
.projet-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(10, 10, 30, 0.95) 0%,
            rgba(10, 10, 30, 0.5) 50%,
            rgba(10, 10, 30, 0.05) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px 30px;
    transition: background 0.4s ease;
}

.projet-card:hover .projet-card-overlay {
    background: linear-gradient(to top,
            rgba(10, 10, 30, 0.98) 0%,
            rgba(10, 10, 30, 0.7) 60%,
            rgba(10, 10, 30, 0.1) 100%);
}

.projet-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFC107;
    color: #111827;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
    width: fit-content;
}

.projet-card-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.projet-card-sm .projet-card-title,
.projet-card-std .projet-card-title {
    font-size: 18px;
}

.projet-card-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.projet-card-sm .projet-card-desc,
.projet-card-std .projet-card-desc {
    display: none;
}

.projet-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #111827;
    font-size: 13px;
    font-weight: 800;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    width: fit-content;
    transform: translateY(10px);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s, color 0.2s;
}

.projet-card:hover .projet-card-link {
    opacity: 1;
    transform: translateY(0);
}

.projet-card-link:hover {
    background: #FFC107;
    color: #111827;
    text-decoration: none;
}

.projets-footer {
    text-align: center;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.read-more-btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #FFC107 !important;
    color: #111827 !important;
    font-size: 13px;
    font-weight: 800;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none !important;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}

.read-more-btn-dark:hover {
    background: #ffffff !important;
    color: #111827 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

@media (max-width: 900px) {
    .projets-grid {
        grid-template-columns: 1fr 1fr;
    }

    .projet-card-hero {
        grid-column: span 2;
        grid-row: span 1;
        height: 350px;
        min-height: 350px;
    }

    .projet-card-wide {
        grid-column: span 2;
        height: 220px;
    }
}

@media (max-width: 600px) {
    .projets-grid {
        grid-template-columns: 1fr;
    }

    .projet-card-hero,
    .projet-card-wide {
        grid-column: span 1;
        height: 260px;
    }

    .projet-card-sm,
    .projet-card-std {
        height: 300px;
        min-height: 300px;
    }

    .projet-card-sm .projet-card-desc,
    .projet-card-std .projet-card-desc {
        display: block;
    }

    .projet-card-link {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   5. POP-UP SOUTIEN (STYLE FATE PREMIUM)
   ========================================== */
#fate-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

#fate-popup-overlay.visible {
    opacity: 1;
    pointer-events: all;
}

#fate-popup-box.popup-cop1-style {
    background: #ffffff;
    border-radius: 8px;
    max-width: 550px;
    width: 90%;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(30px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    border: 4px solid #1a1a2e;
}

#fate-popup-overlay.visible #fate-popup-box.popup-cop1-style {
    transform: translateY(0) scale(1);
}

#fate-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(26, 26, 46, 0.1);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    color: #1a1a2e;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease, background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

#fate-popup-close:hover {
    transform: rotate(90deg);
    background: #1a1a2e;
    color: #FFC107;
}

.popup-cop1-icon {
    font-size: 48px;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.popup-cop1-white-strip {
    background: #1a1a2e;
    padding: 15px 20px;
    margin: 0 -30px 20px -30px;
}

.popup-cop1-white-strip h3 {
    margin: 0;
    color: #FFC107;
    font-size: clamp(18px, 4vw, 22px);
    font-weight: 900;
    line-height: 1.3;
}

.popup-cop1-desc {
    color: #111827;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 600;
}

.popup-cop1-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #FFC107;
    border-radius: 50px;
    color: #1a1a2e;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}

.popup-cop1-btn:hover {
    background: #1a1a2e;
    color: #FFC107;
    transform: scale(1.05);
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(26, 26, 46, 0.2);
}



/* ==========================================
   6. SECTION ARCHIVES ET ACTIONS (CLAIR)
   ========================================== */
.documentation {
    background: #0a0a1e !important;
    background-image: none !important;
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.documentation .default-section-title h3 {
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 900;
    color: #ffffff;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.documentation .default-section-title h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #FFC107, #FFD740);
    border-radius: 2px;
}

.archives-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 20px 0 40px;
}

.archives-marquee-track {
    display: flex;
    gap: 30px;
    animation: archivesScroll 25s linear infinite;
    width: max-content;
}

.archives-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes archivesScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.document-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    width: 280px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.document-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.rapport-card-img {
    aspect-ratio: 3/4;
    overflow: hidden;
}

.rapport-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.document-card:hover .rapport-card-img img {
    transform: scale(1.06);
}

.events {
    background: #F0EBE0 !important;
    /* <-- Nouvelle couleur avec !important */
    position: relative;
    padding: 80px 0;
}

.events .default-section-title h3 {
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 900;
    color: #1a1a2e;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.events .default-section-title h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #FFC107, #FFD740);
    border-radius: 2px;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.blog-card.homeActionsCardContainer {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    background: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card.homeActionsCardContainer:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.14);
}

.homeActionImageContainer {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.homeActionImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card.homeActionsCardContainer:hover .homeActionImage {
    transform: scale(1.06);
}

.blog-card-text-area {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date ul {
    padding: 0;
    margin: 0 0 12px 0;
}

.blog-date ul li {
    color: #FFC107;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    list-style: none;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-text-area h4 {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 12px;
    line-height: 1.35;
}

.blog-card-text-area h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card-text-area h4 a:hover {
    color: #FFC107;
}

.cardDescription {
    font-size: 13.5px;
    color: #666;
    line-height: 1.65;
    margin-bottom: 24px;
    flex-grow: 1;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1a1a2e;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    margin-top: auto;
}

.read-more-link:hover {
    color: #FFC107;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #111827 !important;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 800;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none !important;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(17, 24, 39, 0.2);
    border: 2px solid #111827 !important;
}

.read-more-btn:hover {
    background: #FFC107 !important;
    color: #111827 !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 193, 7, 0.35);
    border-color: #FFC107 !important;
}

.content-btn-center {
    text-align: center;
    margin-top: 50px;
}
