/* --- 1. VARIABLES ET RESET DE BASE --- */
:root {
    --color-dark: #1a1a1a;
    --color-light-grey: #e8e8e8;
    --color-text-dark: #333;
    --color-primary: #fff;
    --padding-section: 80px 5vw;
}

/* RÈGLE UNIFIÉE ET CORRIGÉE : Évite les erreurs de double définition */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background-color: var(--color-light-grey);
    color: var(--color-text-dark);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* --- 2. HEADER ET NAVIGATION --- */
.main-header {
    background-color: var(--color-dark);
    color: var(--color-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5vw;
    font-size: 0.9rem;
}

.logo {
    font-weight: bold;
}

.desktop-nav a {
    color: var(--color-primary);
    text-decoration: none;
    margin-left: 20px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.desktop-nav a.active,
.desktop-nav a:hover {
    opacity: 1;
}

/* --- BANNIERE VIDÉO (800px) CENTRÉE --- */

/* 1. La section conteneur : fixe la hauteur à 800px */
.page-banner {
    background-color: var(--color-dark);
    color: var(--color-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 5vw 40px;
    height: 800px; /* Hauteur de la bannière */
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* 2. Positionnement et mise à l'échelle de la VIDÉO */
/* 2. Positionnement et mise à l'échelle de la VIDÉO */
.section-media {
    /* Nouvelle façon de gérer les dimensions pour remplir le conteneur */
    width: 100%;
    height: 100%;
    object-fit: cover; 
    position: absolute; /* Place la vidéo par-dessus le conteneur .page-banner */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centrage parfait */
    
    display: block;
}

/* --- 4. SECTIONS PRINCIPALES DE LA PAGE --- */
.section-agence {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: var(--padding-section);
    background-color: var(--color-primary);
}

.agence-content {
    flex: 1;
    max-width: 600px;
}

.agence-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 900;
}

.agence-content p {
    margin-bottom: 30px;
    line-height: 1.6;
    color: var(--color-text-dark);
}

.agence-photo {
    flex: 1;
    min-height: 400px;
    background-color: var(--color-light-grey);
}

.btn.primary {
    background-color: var(--color-dark);
    color: var(--color-primary);
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn.primary:hover {
    background-color: #555;
}

/* --- SECTION 2 : TEAMS --- */
.section-teams {
    padding: var(--padding-section);
}

.section-teams h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 900;
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-member {
    height: 250px;
    background-color: var(--color-light-grey);
}

/* --- SECTION 3 : POURQUOI TRAVAILLER AVEC NOUS ? --- */
.section-why-us {
    background-color: var(--color-light-grey);
    padding: var(--padding-section);
}

.section-why-us h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 900;
}

.why-us-grid {
    display: flex;
    gap: 50px;
}

.why-us-grid ul {
    list-style: none;
    flex: 1;
}

.why-us-grid li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* --- SECTION 4 : DEVIS / FORMULAIRE --- */
.section-devis {
    padding: var(--padding-section);
    background-color: #ccc;
    color: var(--color-dark);
    text-align: center;
}

.section-devis h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 900;
}

.devis-formulaire {
    background-color: var(--color-light-grey);
    height: 350px;
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

/* --- FOOTER --- */
footer {
    background-color: var(--color-dark);
    color: var(--color-primary);
    padding: 50px 5vw;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
}

/* --- STYLES COMMUNS (PLACEHOLDERS) --- */
.placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #555;
}

