/* ===== PAGE D'ACCUEIL - STYLES GÉNÉRAUX ===== */

html, body {
    background-color: white;
    width: 100%;
    height: 100%;
}

/* ===== NAVIGATION - OVERRIDES POUR PAGE D'ACCUEIL ===== */

.Navigation {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.Navigation .Logo {
    max-height: 180px;
}

.Navigation #Logo:hover {
    background-color: white;
}

/* ===== GRILLE PRINCIPALE D'ACCUEIL ===== */

.Acceuil {
    background-color: white;
    margin: auto;
    padding: 40px 20px;
    width: 100%;
    max-width: 1300px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

/* ===== COLONNE DE GAUCHE ===== */

.Left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.ConstructionGénérale {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
}

.ConstructionGénérale a {
    display: block;
    width: 100%;
    height: 100%;
}

.ConstructionGénérale img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.ConstructionGénérale h1 {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%; 
    transform: translate(-50%, -50%);
    margin: 0;
    font-size: 1.5rem;
    padding: 15px 25px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.Left .A-Propos {
    text-decoration: none;
    display: block;
}

.Left .A-Propos h1 {
    margin: 0;
    text-align: left;
}

.Left .A-Propos h1 span {
    color: #F5A13F;
    font-weight: bold;
}

/* ===== COLONNE DE DROITE ===== */

.Right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.ConstructionGénérale,
.Right > div {
    min-height: 0;
    min-width: 0;
}

.Right > div {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
}

.Right a {
    display: block;
    width: 100%;
    height: 100%;
}

.Right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.Right h1 {
    position: absolute;
    top: 50%;
    left: 50%; 
    transform: translate(-50%, -50%);
    margin: 0;
    font-size: 1.5rem; 
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    text-align: center;
}

/* ===== RESPONSIVE - TABLETTES ===== */

@media (max-width: 1024px) {
    .Acceuil {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .Left .A-Propos h1 {
        font-size: 2rem;
    }
    
    .Left .A-Propos h1 span {
        font-size: 2.5rem;
    }
}

/* ===== RESPONSIVE - MOBILE ===== */

@media (max-width: 768px) {
    
    /* Navigation mobile - Override complet */
    .Navigation {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 15px 20px;
        gap: 0;
    }

    .Navigation #Logo {
        order: 1;
        display: block;
        margin: 0;
    }

    .Navigation .Logo {
        max-height: 90px;
    }

    .Navigation .menu-toggle {
        order: 2;
        display: block;
        margin: 15px auto 0;
        position: static;
    }

    .Navigation ul {
        order: 3;
        grid-column: auto;
    }

    /* Contenu de la page */
    .Acceuil {
        padding: 20px 15px;
    }
    
    .Right {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .Left {
        gap: 20px;
    }
    
    .Left .A-Propos h1 {
        font-size: 1.8rem;
    }
    
    .Left .A-Propos h1 span {
        font-size: 2.2rem;
    }
    
    .ConstructionGénérale h1,
    .Right h1 {
        font-size: 1.2rem;
        padding: 8px 15px;
    }
}

/* ===== RESPONSIVE - PETITS MOBILES ===== */

@media (max-width: 480px) {
    .Left .A-Propos h1 {
        font-size: 1.5rem;
    }
    
    .Left .A-Propos h1 span {
        font-size: 1.8rem;
    }
    
    .ConstructionGénérale h1,
    .Right h1 {
        font-size: 1rem;
        padding: 6px 12px;
    }
}