/* apropos.css */
:root {
    --primary: #2D8B94;
    --gold: #C5A059;
    --dark: #1A1A1A;
    --text: #4F4F4F;
    --light-bg: #F8FAFB;
}

/* Espacements & Structure */
.section-padding { padding: 120px 5%; }
.container { max-width: 1200px; margin: 0 auto; }
.grey-bg { background-color: var(--light-bg); }
.text-center { text-align: center; }

/* Bannière Modernisée (Plus du tout fade) */
.hero-header { 
    height: 80vh; 
    display: flex; 
    align-items: center; 
    color: white; 
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
}
.hero-text { max-width: 750px; animation: fadeIn 1s ease-out; }
.hero-text h1 { font-size: 4rem; font-weight: 800; color: white; line-height: 1.1; margin: 20px 0; }
.hero-text p { font-size: 1.3rem; opacity: 0.95; margin-bottom: 30px; }
.category-tag { background: var(--gold); padding: 5px 20px; border-radius: 4px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; }
.btn-scroll { color: white; border: 2px solid var(--gold); padding: 12px 30px; border-radius: 50px; text-decoration: none; transition: 0.3s; }
.btn-scroll:hover { background: var(--gold); }

/* Grilles & Contenu */
.grid-columns { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 80px; align-items: center; }
.grid-columns.reverse { grid-template-columns: 0.8fr 1.2fr; }
.section-title { font-size: 2.5rem; color: var(--dark); font-weight: 700; margin-bottom: 10px; }
.accent-line { width: 60px; height: 5px; background: var(--gold); margin-bottom: 30px; }
.description { font-size: 1.1rem; line-height: 1.8; color: var(--text); }

/* Stats (Évite le vide) */
.stats-container { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-box { 
    background: white; 
    padding: 40px; 
    border-radius: 12px; 
    text-align: center; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border-top: 4px solid var(--primary);
}
.stat-box span { display: block; font-size: 3rem; color: var(--primary); font-weight: 800; }

/* Image Directrice */
.profile-img { border-radius: 15px; width: 100%; box-shadow: 25px 25px 0 var(--primary); }
.styled-quote { border-left: 4px solid var(--gold); padding-left: 20px; font-style: italic; font-size: 1.25rem; margin: 30px 0; color: var(--dark); }

/* Vidéos (Correction Erreur 153) */
.dark-section { background: var(--dark); color: white; }
.light-text { color: white; }
.video-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 50px; }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.video-wrapper iframe { position: absolute; width: 100%; height: 100%; border: none; }
.video-item h5 { text-align: center; margin-top: 15px; color: white; font-weight: 600; }

/* Bouton YouTube Red */
.btn-custom { 
    display: inline-block; background: #FF0000; color: white; padding: 18px 45px; 
    border-radius: 50px; font-weight: bold; text-decoration: none; transition: 0.3s; margin-top: 50px;
}
.btn-custom:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(255,0,0,0.4); }

/* Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Mobile */
@media (max-width: 992px) {
    .grid-columns, .grid-columns.reverse { grid-template-columns: 1fr; gap: 50px; }
    .hero-text h1 { font-size: 2.5rem; }
    .section-padding { padding: 80px 5%; }
    .profile-img { box-shadow: none; }
}
/* Conteneur de la grille */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, min-minmax(250px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

/* Carte de l'employé */
.employee-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.employee-card:hover {
    transform: translateY(-10px);
}

/* Gestion de l'image (Le point critique) */
.employee-image {
    width: 150px; /* Taille fixe */
    height: 150px; /* Taille fixe */
    margin: 0 auto 20px;
    border-radius: 50%; /* Rend l'image ronde */
    overflow: hidden; /* Coupe ce qui dépasse */
    border: 3px solid #2d8b94; /* Rappel de ta couleur principale */
}

.employee-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Empêche l'image d'être écrasée/déformée */
    display: block;
}

/* Informations texte */
.employee-info h3 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 10px;
    text-transform: capitalize;
}

.email-link {
    color: #666;
    font-size: 0.9rem;
    text-decoration: none;
}

.email-link i {
    color: #2d8b94;
    margin-right: 5px;
}

/* Style de la pagination (pour qu'elle soit propre) */
.divana-pagination {
    margin-top: 50px;
    text-align: center;
}

.pagination-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.page-link {
    display: block;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
}

.page-link.active {
    background: #2d8b94;
    color: #fff;
    border-color: #2d8b94;
}
