/* --- Style global --- */
html, body {
    height: 100%;                     /* permet de gérer la hauteur totale */
    margin: 0;
    padding: 0;
    color: #222;
    background-color: #fff;
}

/* Cibler uniquement Accueil et Contact */
.nav-item.accueil,
.nav-item.contact {
    --text-light: #b9b8b6;
    font-family: "Poppins", sans-serif;
    color: var(--text-dark);
}

/* --- Conteneur global pour placer le footer en bas --- */
body {
    display: flex;
    flex-direction: column;
}

/* --- En-tête --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 100px;
}

.logos {
    display: flex;
    align-items: center;
    gap: 511px;
    margin-left: 80px; /* déplace les logos vers la droite */
}

.logo {
    height: 110px;
}

.logo1 {
    height: 140px; /* agrandit le logo1 (valeur ajustable) */
}

.logo2 {
    height: 100px; /* garde le logo2 à sa taille normale */
}

.nav {
    margin-right: 80px; /* rapproche le menu du centre (tu peux ajuster) */
}

.nav a {
    margin-left: 20px;
    text-decoration: none;
    color:#b9b8b6;
    font-family: "Poppins", sans-serif;
    --text-light: #b9b8b6;
    font-weight: 500;
}

.nav a:hover {
    text-decoration: underline;
}

hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 0;
}

/* --- Contenu principal --- */
main {
    flex: 1;                           /* prend tout l’espace restant */
}

.container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 40px;
}

/* --- Articles côte à côte --- */
.articles {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.card {
    flex: 1 1 48%;
    background-color: #fff;
    border-radius: 6px;
}

.card img {
    width: 80%;
    height: 650px;
    object-fit: cover;
    border-radius: 5px;
}

.card h3 {
    color: gray;
    font-size: 0.9em;
    margin: 10px 0 5px;
    text-transform: uppercase;
}

.card h2 {
    font-size: 1.1em;
    margin-bottom: 10px;
    line-height: 1.3;
}

.card p {
    color:#555;
    line-height: 1.5;
}

/* --- Vidéos --- */
.videos {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.video-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-block video {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 5px;
    background-color: #f0f0f0;
}

.video-block p {
    font-size: 0.9em;
    margin-top: 10px;
}

/* --- Pied de page toujours en bas --- */
.footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    border-top: 1px solid #ddd;
    background-color: #fff;
    margin-top: auto;                  /* pousse le footer vers le bas */
}

.socials {
    margin-top: 10px;
}

.socials a {
    margin: 0 5px;
    text-decoration: none;
    color:darkorange;
    font-weight: bold;
}

.socials a:hover {
    color: #000;
}

.socials a {
    font-family: "Poppins", sans-serif;
    color: gray; /* couleur du texte */
    text-decoration: none;
    margin-right: 15px;
    display: inline-flex;
    align-items: center;
}

.socials a i {
    margin-right: 8px; /* espace entre l'icône et le texte */
    font-size: 18px;
    color: #555; /* couleur de l'icône */
}

.socials a:hover i {
    color: #007bff; /* changement de couleur au survol */
}

/* Importer la police Poppins si ce n'est pas déjà fait */
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

/* Appliquer la police et la couleur grise */
p.copyright {
    font-family: "Poppins", sans-serif;
    color:#b9b8b6; /* ou #808080 pour un gris précis */
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .container {
        grid-template-columns: 1fr;
    }

    .articles {
        flex-direction: column;
    }

    .card {
        flex: 1 1 100%;
    }

    .videos {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .video-block {
        width: 45%;
    }
}
