/* =========================
STRUCTURE DES SECTIONS
========================= */

section {
    padding: clamp(2.5rem, 6vw, 4rem) 0;
}

/* Séparation douce entre sections */
section + section {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.list {
    list-style: none;
    font-size: clamp(0.95rem, 2.5vw, 1.25rem);
    line-height: 1.7;
    margin-bottom: clamp(0.9rem, 3vw, 1.2rem);
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
VARIANTES DE FOND
========================= */

.section-vert {
    background-color: #AEB4A2;
}

/* =========================
BLOC TEXTE CENTRAL
========================= */

section .text-center {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 1.5rem);
}

/* =========================
TYPOGRAPHIE RESPONSIVE
========================= */

/* Titres */
section h2 {
    font-size: clamp(1.4rem, 4vw, 2rem);
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    line-height: 1.3;
}

/* Paragraphes */
section p {
    font-size: clamp(0.95rem, 2.5vw, 1.25rem);
    line-height: 1.7;
    margin-bottom: clamp(0.9rem, 3vw, 1.2rem);
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
}

.espace_ligne{
    margin-bottom: 1.3rem;
}

/* =========================
ENSEIGNANTS
========================= */


.enseignants {
    padding: 4rem 2rem;
}

/* TEXTE */
.enseignants-text {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.profil {
    text-align: center;
}

.profil h3 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.profil p {
    line-height: 1.7;
    font-size: clamp(0.95rem, 2.5vw, 1.25rem);
    margin-left: auto;
    margin-right: auto;
}

/* LIGNE CENTRALE */
.separator {
    width: 1px;
    background-color: #83755D;
    opacity: 0.6;
}

/* PHOTOS */
.enseignants-photos {
    display: flex;
    justify-content: center;
    gap: 14rem;
    max-width: 1200px;
    margin: 0 auto;
}

.enseignants-photos img {
    width: 200px;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* ombre portée */
}

/* Espacement spécifique */
.espace {
    margin-top: clamp(6rem, 6vw, 7rem);
    font-weight: 300;
    font-family: "Calibri Light", "Calibri", "Segoe UI", Arial, sans-serif;
    font-size: 1.5rem;
    max-width: 63ch
}


/* =========================
IMAGE LOGO BAS DE PAGE
========================= */

img[alt="logo"] {
    display: block;
    margin: clamp(3rem, 8vw, 4rem) 2rem clamp(1.5rem, 4vw, 2rem) auto;
    max-width: clamp(150px, 30vw, 220px);
}

/* =========================
RESPONSIVE
========================= */

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }

    section .text-center {
        max-width: 100%;
    }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .enseignants-text {
        grid-template-columns: 1fr;
    }

    .separator {
        display: none;
    }

    .enseignants-photos {
        flex-direction: column;
        gap: 2rem;
    }
}
