body {
    font-family: 'Roboto', Helvetica, Arial, sans-serif !important;
    font-weight: 300;

}

/*LIENS MENU NIVEAU 2*/
.sp-megamenu-parent .sp-dropdown li.sp-menu-item.active>a,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover
 {
    color: #c20404;
}


/*CUSTOM simpleportfolio*/
.sp-simpleportfolio-tags
{display: none; width:0%; padding-left: 0;} 
.sp-simpleportfolio .sp-simpleportfolio-meta
{display: none; width:0%; padding-left: 0;} 
.sp-simpleportfolio .sp-simpleportfolio-description, 
.sp-simpleportfolio-view-item .sp-simpleportfolio-details .sp-simpleportfolio-description 
{width: 100% !important; float: none;}



/*Ajustement template*/
#sp-main-body {
    padding: 20px 0 100px 0 !important;
}

/*SLIDESHOW CK*/
.camera_caption > div {
    background : rgba(0, 0, 0, 0.5);
}


/*TOP 2 CONTENEUR VIDEO*/
#sp-pre-page {
    margin-top: 20px;
}


/* --- Styles du Bloc Showcase --- */
        .agri-showcase {
            /* Positionnement et Taille */
            position: relative;
            width: 100vw; /* Pleine largeur de la fenêtre */
            height: 500px; /* Hauteur fixe demandée */
            left: 50%;
            right: 50%;
            margin-left: -50vw;
            margin-right: -50vw;
            
            /* Arrière-plan (Image) */
            /* REMPLACEZ 'image_0.png' PAR VOTRE IMAGE FINALE */
            background-size: cover; /* L'image couvre tout l'espace */
            background-position: center; /* Centrer l'image */
            background-repeat: no-repeat;
            
            /* Flexbox pour centrer le texte */
            display: flex;
            justify-content: center; /* Centrage horizontal */
            align-items: center;    /* Centrage vertical */
            
            /* Typographie de base */
            font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
            overflow: hidden; /* Évite les barres de défilement indésirables */
        }

        /* --- Masque sombre (Overlay) pour la lisibilité --- */
        .agri-showcase::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.4); /* Noir transparent à 40% */
            z-index: 1; /* Place le masque derrière le texte */
        }

        /* --- Styles du Texte --- */
        .agri-showcase-content {
            position: relative;
            z-index: 2; /* Place le texte devant le masque */
            text-align: center;
            color: #ffffff; /* Texte blanc */
            padding: 0 20px; /* Marge de sécurité sur les côtés */
            max-width: 800px; /* Empêche le texte de trop s'étaler */
        }

        .agri-showcase-title {
            font-size: 3rem; /* Grand titre */
            font-weight: 700;
            text-transform: uppercase; /* Optionnel : tout en majuscules */
            letter-spacing: 2px;
            margin-bottom: 15px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Ombre portée pour plus de contraste */
        }

        .agri-showcase-text {
            font-size: 1.25rem;
            line-height: 1.6;
            font-weight: 300;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
        }

        /* --- Adaptabilité Mobile (Responsive) --- */
            /* ≥ 1400 px : grand desktop */
            .agri-showcase {
                height: 400px;
            }


            /* 992–1399 px : desktop/tablette large */
            @media (min-width: 992px) and (max-width: 1399px) {
                .agri-showcase {
                    height: 300px;
                }
            }


            /* < 992 px : tablette/mobile */
            @media (max-width: 991px) {
                .agri-showcase {
                    height: 200px;
                }

                .agri-showcase-title {
                    font-size: 1.5rem;
                }

                .agri-showcase-text {
                    font-size: 0.9rem;
                }
            }  




/*home highlights*/
.home_highlights {
    max-width: 1290px;
    width: 100%;
    height: 200px;
    margin: 40px auto;
    overflow: hidden;
    border-radius: 6px;

    background-image:
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.55) 40%,
            rgba(0, 0, 0, 0.15) 100%
        ),
        var(--bg-image);

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.home_highlights_inner {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    gap: 30px;
}

.home_highlights_content {
    color: #fff;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    max-width: 700px;
}

.home_highlights h2 {
    margin: 0 0 10px;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
}

.home_highlights p {
    margin: 0;
    line-height: 1.5;
}

.home_highlights_btn {
    display: inline-block;
    padding: 14px 28px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 600;
    border-radius: 4px;
    transition: 0.3s;
}

.home_highlights_btn:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {

    .home_highlights {
        height: auto;
    }

    .home_highlights_inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
    }
}




/*confirmation mail*/
#system-message-container {
    position: fixed;
    top: 220px;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translateX(-50%);
    width: min(600px, 90vw);
    z-index: 9999;
}