/* Style custom */

body {
    background-color: #f5f7fa;
    background-image: url("data:image/svg+xml,%3Csvg width='42' height='44' viewBox='0 0 42 44' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='Page-1' fill='none' fill-rule='evenodd'%3E%3Cg id='brick-wall' fill='%231b3a57' fill-opacity='0.03'%3E%3Cpath d='M0 0h42v44H0V0zm1 1h40v20H1V1zM0 23h20v20H0V23zm22 0h20v20H22V23z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.logo {
    max-height: 90px;
}

.navbar2 .direction .col-md-8 ul li a {
    color: #1b3a57;
}

#direction {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: inherit;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(27, 58, 87, 0.1);
}

.slideraccueil_second {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    box-shadow: inherit;
    position: relative;
    overflow: hidden;
}

.slideraccueil_second::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background-color: #FF6B35;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.slideraccueil_second::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 600px;
    height: 600px;
    background-color: #1B3A57;
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
}

.slideraccueil_second .col-md-6:nth-child(1) h1 {
    color: rgb(27, 58, 87);
    font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.slideraccueil_second .col-md-6:nth-child(2) img,
.slideraccueil_second .col-md-6:nth-child(2) video {
    border: 0px solid var(--second-color);
    max-width: 450px;
}

.slideraccueil_second .col-md-6:nth-child(2) {
    position: relative;
}

.qualite-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: white;
    color: var(--marine);
    padding: 0.35rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    border: 2px solid #FF6B35;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.presentation .row:has(.col-md-3:nth-child(n+3)) {
    grid-template-columns: repeat(2, 1fr);
}

.footer3 .row:first-child {
    background-color: #1a202c;
}

.footer3 .row:last-child {
    background-color: #1a202c;
}

.section-title_accueil {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    margin-top: 2rem;
}

.section-title_accueil h2 {
    font-size: 2rem;
    color: #1b3a57;
    display: inline-block;
    position: relative;
}

.container-avis {
    background-color: #f3f4f600;
    width: 100%;
}

.testimonials {
    padding: 30px 0 55px 0;
}

.presentation1 .row:has(.col-md-3:nth-child(n+3)) {
    grid-template-columns: repeat(2, 1fr);
    justify-content: start;
}

@media screen and (max-width: 768px) {
    .slideraccueil_second .col-md-6:nth-child(2) {
        order: 0;
    }

    .navbar2 .logo {
        height: 67px;
    }

    .slideraccueil_second::before {
        width: 300px;
        height: 300px;
    }

    .slideraccueil_second::after {
        bottom: -13px;
        left: -150px;
        width: 400px;
        height: 400px;
    }

    .section-title_accueil h2 {
        font-size: 1.5rem;
    }

    .section-title_accueil p {
        margin-bottom: 0px;
    }

    .section-title_accueil {
        margin-bottom: 0.5rem;
    }

    .testimonials {
        padding: 0px 0 20px 0;
    }

    .tetiere nav ol {
        flex-wrap: wrap;
    }

    .navbar2 .reseau a {
        font-size: 15px;
    }
}

.map_contact .form .formulaire {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.partenaire {
    margin-top: 30px;
}

.map_contact .form .formulaire h3 {
    font-size: 2rem;
    color: #1b3a57;
}

.partenaire h2 {
    font-size: 2rem;
    color: #1b3a57;
}

.testimonials .write h2 {
    font-size: 2rem;
    color: #1b3a57;
}

#formulaire_contact h3 {
    font-size: 2rem;
    color: #1b3a57;
}

.left_text_right_img ul {
    width: 100% !important;
}

.left_text_right_img ul li {
    flex-wrap: wrap !important;
}