    :root {
        --primary: #812626;
        --primary-light: #fdf8f8;
        --gold-soft: #c5a059;
        --text-main: #2d2d2d;
        --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    /* Hero Section Moderne */
    .hero_premium {
        height: 60vh;
        background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('/images/logoiii.png');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        display: flex;
        align-items: center;
        justify-content: center;
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
    }
    .bg_primary_soft {
    /* Utilise votre couleur primary avec 10% d'opacité */
    background-color: rgba(129, 38, 38, 0.1) !important; 
    transition: all 0.3s ease;
}

/* Petit bonus : effet au survol de la carte */
.valeur_card_modern:hover .bg_primary_soft {
    background-color: var(--primary) !important; /* Devient plein au survol */
}

.valeur_card_modern:hover .bg_primary_soft i {
    color: white !important; /* L'icône devient blanche au survol */
}

    /* Montage Photo Asymétrique (About Section) */
    .about_grid_premium {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        align-items: center;
        padding: 80px 0;
    }

    .about_images_stack {
        grid-column: 1 / 7;
        position: relative;
        height: 500px;
    }

    .img_stack {
        position: absolute;
        border-radius: 15px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        transition: var(--transition);
        object-fit: cover;
    }

    .img_stack_1 { width: 70%; height: 80%; top: 0; left: 0; z-index: 2; }
    .img_stack_2 { width: 50%; height: 60%; bottom: -20px; right: 10%; z-index: 3; border: 8px solid white; }

    .about_text_content {
        grid-column: 8 / 13;
        padding-left: 30px;
    }

    /* Cartes de Valeurs Minimalistes */
    .valeur_card_modern {
        background: white;
        padding: 40px;
        border-radius: 20px;
        border: 1px solid #f0f0f0;
        transition: var(--transition);
    }

    .valeur_card_modern:hover {
        transform: translateY(-10px);
        box-shadow: 0 30px 60px rgba(129, 38, 38, 0.1);
        border-color: var(--primary);
    }

    /* Équipe : Style Galerie d'Art */
    .team_member_card {
        position: relative;
        overflow: hidden;
        border-radius: 20px;
    }

    .team_member_card img {
        transition: var(--transition);
        filter: grayscale(100%);
        width: 100%;
        height: 400px;
        object-fit: cover;
    }

    .team_member_card:hover img {
        filter: grayscale(0%);
        transform: scale(1.05);
    }

    .team_info_overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 20px;
        background: linear-gradient(transparent, rgba(0,0,0,0.8));
        color: white;
    }

    /* Stats Premium */
    .stat_number {
        font-family: 'Marcellus', serif;
        font-size: 3.5rem;
        color: var(--primary);
        line-height: 1;
    }

    /* Partner logos */
    .partner_logo {
       
        opacity: 0.5;
        transition: 0.3s;
        max-height: 80px;
    }

    .partner_logo:hover {
        filter: grayscale(0%);
        opacity: 1;
    }


    .partner_section {
        background-color: #fff;
        padding: 80px 0;
    }
    .partner_label {
        font-size: 0.75rem;
        letter-spacing: 5px;
        text-transform: uppercase;
        color: #999;
        font-weight: 600;
        margin-bottom: 50px;
    }
 
    .partner_grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: clamp(30px, 8vw, 100px); /* Espace fluide entre les logos */
    }

    .btn:hover {
        background-color: white;
        color: var(--primary) !important;
    }
       /* --- SECTION VIDÉO PREMIUM --- */
    .video_section_premium {
        padding: 100px 0;
        background: #fff;
    }

    .video_wrapper {
        position: relative;
        width: 100%;
        height: 600px;
        border-radius: 4px;
        overflow: hidden;
        cursor: pointer;
    }

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

    .video_wrapper:hover .video_preview_img {
        transform: scale(1.05);
    }

    /* Overlay sombre sur la vidéo */
    .video_overlay {
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.25);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.4s ease;
    }

    .video_wrapper:hover .video_overlay {
        background: rgba(0,0,0,0.4);
    }

    /* Bouton Play Minimaliste */
    .play_button {
        width: 90px;
        height: 90px;
        background: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 2;
        transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .play_button i {
        color: var(--text-dark);
        font-size: 1.5rem;
        margin-left: 5px; /* Pour centrer visuellement le triangle */
    }

    .video_wrapper:hover .play_button {
        transform: scale(1.1);
        background: var(--primary);
    }

    .video_wrapper:hover .play_button i {
        color: white;
    }

    /* Texte d'accompagnement Vidéo */
    .video_text_side {
        padding-left: 50px;
    }

    /* Modal Vidéo (Visualisation) */
    .modal-content.video_modal {
        background: transparent;
        border: none;
    }
    .video_frame {
        aspect-ratio: 16 / 9;
        /* width: 100%; */
        background: #000;
        border-radius: 8px;
    }

/* --- GESTION RESPONSIVE SANS TOUCHER AU HTML --- */

@media (min-width: 450px) and (max-width: 800px) {
    /* 1. On force la grille à passer en une seule colonne */
     /* *.container .about_grid_premium {
        display: flex !important;
        flex-direction: column !important;
        gap: 15em !important;
    } */
         .about_text_content {
   
        /* margin-top: 1em !important; */
    }
}
@media (max-width: 400px) {
    /* 1. On force la grille à passer en une seule colonne */
    .container .about_text_content {
   
        margin-top: -5em !important;
    }
}
@media (max-width: 800px) {
    /* 1. On force la grille à passer en une seule colonne */
    .container .about_grid_premium {
        display: flex !important;
        flex-direction: column !important;
        gap: 10em !important;
    }
}
@media (max-width: 991px) {
    /* 1. On force la grille à passer en une seule colonne */
    .about_grid_premium {
        display: flex !important;
        flex-direction: column !important;
        gap: 20em;
    }

    /* 2. On réactive l'affichage des images sur mobile mais on change leur style */
    .about_images_stack.d-none.d-lg-block {
        display: block !important; /* On force l'affichage */
        position: relative !important;
        height: 350px; /* On donne une hauteur fixe pour mobile */
        width: 100%;
        margin-bottom: 20px;
    }

    /* 3. On ajuste les images empilées pour qu'elles tiennent dans l'écran mobile */
    .img_stack {
        position: absolute !important;
        width: 70% !important; /* Plus petites pour mobile */
        height: auto !important;
        border-radius: 15px !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    }

    .img_stack_1 {
        top: 0 !important;
        left: 0 !important;
        z-index: 2;
    }

    .img_stack_2 {
        top: 60px !important; /* Décalage réduit pour mobile */
        right: 0 !important;
        z-index: 1;
    }

    /* 4. Ajustement du texte et des stats */
    .about_text_content {
        text-align: center !important;
    }

    .about_text_content .row {
        justify-content: center !important;
    }

    .stat_number {
        font-size: 1.8rem !important;
    }

    .ls_1 {
        font-size: 0.7rem !important;
        display: block;
        line-height: 1.2;
    }
}

/* --- OPTIMISATION PETITS MOBILES (iPhone SE, etc.) --- */
@media (max-width: 576px) {
    .about_images_stack.d-none.d-lg-block {
        height: 280px;
    }
    
    .img_stack {
        width: 75% !important;
    }
}
@media (max-width: 768px) {
    .about_text_content {
        padding-left: 15px;
        padding-right: 15px;
    }
}