/**
 * CSS spécifique pour la page d'accueil - AR CONSEIL
 * Ce fichier se charge UNIQUEMENT sur la page d'accueil
 */


.background_header_accueil {
    position: relative;
    padding: 250px 0;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    width: 100%;
}

.video_banniere_accueil {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    filter: brightness(0.5);
}

.background_header_accueil h1,
.background_header_accueil h2 {
    margin: 50px;
    color: #ffffff;
    text-align: center;
    position: relative;
    z-index: 2;
}

.background_header_accueil h1 {
    font-size: 48px;
    font-weight: bold;
}
@media screen and (max-width: 768px) {
    .video_banniere_accueil {
        object-position: 60% center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .video_banniere_accueil {
        display: none;
    }
}


.first_section_accueil {
    background-color: #E5E7EB;
    width: 100%;
    padding: 70px 0;
}
.first_section_accueil h2 {
    text-align: center;
    margin: 0 0 18px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
    font-weight: 700;
    color: #1A2A44;
}

.background_blanc_accueil {
        background-color: #ffffff;
    width: 80%;        /* largeur de la section */
    max-width: 1400px; /* limite pour grand écran */
    margin: 0 auto;    /* centre la section */
        display: flex;
        align-items: center;
        gap: 40px;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.background_blanc_accueil .img_gauche {
    flex: 0 0 45%;
}

.background_blanc_accueil .img_gauche img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.background_blanc_accueil .text {
    flex: 1;
    padding: 20px;
}

 .text h3 {
    font-size: clamp(24px, 3vw, 32px);
    color: #1A2A44;
    margin-bottom: 20px;
}
.text p {
    font-size: clamp(16px, 2vw, 18px);
    color: #000000;
    line-height: 1.6;
}

@media screen and (max-width: 900px) {
    .background_blanc_accueil {
        flex-direction: column;
        width: 100%;
    }

    .background_blanc_accueil .img_gauche {
        flex: 0 0 100%;
    }
}

.section_services{
    margin: 70px;
}
.services_contenu {
    width: 80%;
    max-width: 1400px;
    margin: 0 auto;
    background-color: #F1E6C5;
    border-radius: 18px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    box-shadow: 0 12px 30px rgba(26, 42, 68, 0.18);
}

.services_liste {
    padding: 28px 24px;
    display: grid;
    gap: 18px;
}

.service_ligne {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 4px 18px;
    border-bottom: 1px solid rgba(26, 42, 68, 0.2);
}

.service_ligne:last-child {
    border-bottom: none;
    padding-bottom: 6px;
}

.service_texte h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #1A2A44;
}

.service_texte p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #2a2a2a;
}

.service_pastille {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    background-color: #ffffff;
    color: #1A2A44;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(26, 42, 68, 0.15);
    white-space: nowrap;
}

.services_media {
    padding: 20px;
    display: flex;
    align-items: stretch;
}

.carte_media {
    border-radius: 16px;
    overflow: hidden;
    background-color: #1A2A44;
    display: grid;
}

.carte_media img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    display: block;
}

.legende_media {
    padding: 18px 20px;
    font-size: 13px;
    line-height: 1.5;
    color: #ffffff;
    background: linear-gradient(0deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0));
}

@media screen and (max-width: 1024px) {
    .services_contenu {
        grid-template-columns: 1fr;
    }

    .services_media {
        padding: 0 20px 20px;
    }
}

@media screen and (max-width: 768px) {
    .services_contenu {
        width: 90%;
    }
}

.section_cta_accueil {
    color: #ffffff;
    text-align: center;
    width: 100%;
    min-height: 420px;
    margin: 70px 0;
    padding: 70px 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    background-color: #1A2A44;
    background-repeat: no-repeat, no-repeat;
    background-size: cover;
    background-position: center;
}

.section_cta_accueil h2 {
    color: #ffffff;
    margin: 0   0 18px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
    font-weight: 700;
}

@media screen and (max-width: 768px) {
    .background_header_accueil {
        padding: 120px 16px 90px;
        min-height: 220px;
    }

    .background_header_accueil h1,
    .background_header_accueil h2 {
        margin: 16px 0;
    }

    .background_header_accueil h1 {
        font-size: clamp(30px, 8vw, 38px);
    }

    .background_header_accueil h2 {
        font-size: clamp(16px, 4.3vw, 20px);
    }

    .first_section_accueil {
        padding: 40px 16px;
    }

    .section_services {
        margin: 40px 16px;
    }

    .background_blanc_accueil {
        width: 100%;
    }

    .background_blanc_accueil .text {
        padding: 16px;
    }

    .services_contenu {
        width: 100%;
    }

    .service_ligne {
        gap: 10px;
    }

    .service_pastille {
        font-size: 11px;
        padding: 5px 10px;
    }

    .section_cta_accueil {
        min-height: 320px;
        margin: 40px 0;
        padding: 50px 16px;
    }
}
