/* --- CONFIGURATION --- */
:root {
    --navy: #1a2e4d;
    --blue: #3498db;
    --yellow: #f1c40f;
    --gray-bg: #f8f9fa;
    --light-blue-bg: #eaf6ff;
    --text: #333333;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Helvetica, Arial, sans-serif; line-height: 1.6; color: var(--text); background: var(--white); scroll-behavior: smooth; }

/* --- UTILITAIRES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.centered { text-align: center; }
.centered-text { text-align: center; max-width: 800px; margin: 0 auto 40px auto; opacity: 0.9; }
.centered-content { display: flex; flex-direction: column; align-items: center; }
.bg-gray { background-color: var(--gray-bg); }
.bg-light-blue { background-color: var(--light-blue-bg); }
.bg-navy { background-color: var(--navy); }
.text-white { color: var(--white); }
.mt-20 { margin-top: 20px; display: block; }
.full-width { width: 100%; }

/* --- BOUTONS --- */
.btn { padding: 12px 25px; border-radius: 5px; text-decoration: none; font-weight: 600; transition: 0.3s; display: inline-block; border: none; cursor: pointer; }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-outline { border: 2px solid var(--white); color: var(--white); }
.btn:hover { transform: translateY(-3px); opacity: 0.9; }

/* --- NAVIGATION --- */
nav { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; padding: 10px 0; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo-area { display: flex; align-items: center; gap: 15px; }
.logo-area img { height: 55px; }
.brand-name { font-weight: 800; color: var(--navy); font-size: 1.2rem; text-transform: uppercase; }
.nav-menu { list-style: none; display: flex; gap: 15px; }
.nav-menu a { text-decoration: none; color: var(--navy); font-weight: 500; transition: 0.2s; font-size: 0.95rem; }
.nav-menu a:hover { color: var(--blue); }

/* --- HERO --- */
.hero { height: 70vh; position: relative; }
.hero-overlay { background: rgba(26, 46, 77, 0.6); width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-content { color: var(--white); max-width: 800px; }
.hero h1 { font-size: 3rem; margin-bottom: 20px; line-height: 1.2; text-shadow: 0 2px 5px rgba(0,0,0,0.5); }
.hero p { font-size: 1.25rem; margin-bottom: 30px; }
.hero-btns { display: flex; gap: 15px; justify-content: center; }

/* --- SECTIONS GÉNÉRALES --- */
.section-title { font-size: 2.2rem; color: var(--navy); margin-bottom: 40px; position: relative; }
.split-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: start; }
.vision-box { background: var(--navy); color: var(--white); padding: 30px; border-radius: 10px; border-left: 5px solid var(--yellow); }
.vision-box h3 { color: var(--yellow); margin-bottom: 15px; }

/* --- MOT DU PRÉSIDENT (NOUVEAU STYLE) --- */
.president-layout { 
    display: grid; 
    grid-template-columns: 300px 1fr; 
    gap: 60px; 
    align-items: center; 
}

/* Colonne Photo */
.president-photo { 
    width: 100%; 
    border-radius: 12px; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
    border: 4px solid var(--white); 
}
.president-info { 
    text-align: center; 
    margin-top: 15px; 
}
.president-info .name { 
    display: block; 
    font-weight: 800; 
    font-size: 1.2rem; 
    color: var(--navy); 
}
.president-info .role { 
    color: var(--blue); 
    font-weight: 600; 
    text-transform: uppercase; 
    font-size: 0.9rem; 
}

/* Colonne Contenu */
.president-content-col { 
    position: relative; 
}
.quote-icon { 
    font-size: 3rem; 
    color: #cbd5e1; 
    position: absolute; 
    top: -20px; 
    left: -20px; 
    opacity: 0.5; 
}
.highlight-quote { 
    font-size: 1.4rem; 
    font-style: italic; 
    color: var(--navy); 
    line-height: 1.6; 
    margin-bottom: 30px; 
    position: relative; 
    z-index: 1; 
}

/* Zone PDF */
.pdf-download-area { 
    border-top: 1px solid #d1d5db; 
    padding-top: 20px; 
}
.pdf-download-area p { 
    margin-bottom: 15px; 
    font-size: 0.95rem; 
    color: #555; 
}
.btn-blue-outline { 
    border: 2px solid var(--navy); 
    color: var(--navy); 
    padding: 10px 20px; 
    border-radius: 5px; 
    text-decoration: none; 
    font-weight: bold; 
    transition: 0.3s; 
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
}
.btn-blue-outline:hover { 
    background: var(--navy); 
    color: var(--white); 
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .president-layout { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .president-photo { max-width: 300px; margin: 0 auto; }
    .quote-icon { left: 50%; transform: translateX(-50%); top: -30px; }
}

/* Modification pour le responsive (Mobile) */
@media (max-width: 900px) {
    .president-layout { grid-template-columns: 1fr; gap: 30px; }
    .president-photo-container { position: relative; top: 0; max-width: 350px; margin: 0 auto; }
    .president-text-content { padding: 25px; font-size: 1rem; }
    .citation-marraine { font-size: 1.05rem; padding: 15px; }
}

/* --- ÉQUIPE --- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.team-card { background: var(--white); padding: 25px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-align: center; border-bottom: 3px solid var(--blue); transition: 0.3s; }
.team-card:hover { transform: translateY(-5px); }
.team-card h4 { color: var(--navy); margin-bottom: 5px; font-size: 1.1rem; }
.team-card .role { display: block; color: var(--blue); font-weight: 700; font-size: 0.9rem; margin-bottom: 10px; text-transform: uppercase; }
.team-card .job { font-size: 0.9rem; font-style: italic; color: #666; }

/* --- CARTES MISSIONS --- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: var(--white); padding: 35px 25px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); text-align: center; transition: 0.3s; }
.card:hover { transform: translateY(-5px); }
.icon-wrapper { font-size: 2.5rem; color: var(--blue); margin-bottom: 20px; }
.card h3 { color: var(--navy); margin-bottom: 15px; }

/* --- VALEURS --- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.value-item { background: var(--white); border: 1px solid #e0e0e0; padding: 20px; border-radius: 8px; text-align: center; }
.value-item h4 { color: var(--blue); margin-bottom: 10px; text-transform: uppercase; font-size: 0.9rem; }

/* --- PARTENAIRES --- */
.partner-block { max-width: 800px; text-align: center; font-size: 1.1rem; line-height: 1.8; }
.partner-logo-container { margin-top: 30px; background: white; padding: 20px; display: inline-block; border-radius: 10px; }
.partner-img { max-height: 80px; width: auto; display: block; }

/* --- CONTACT --- */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.info-list { list-style: none; margin: 30px 0; }
.info-list li { margin-bottom: 15px; display: flex; align-items: center; gap: 10px; color: var(--text); }
.info-list i { color: var(--blue); width: 20px; }
.social-icons { display: flex; gap: 15px; font-size: 1.8rem; margin-top: 15px; }
.social-icons a { color: var(--navy); transition: 0.3s; }
.social-icons a:hover { color: var(--blue); transform: scale(1.1); }

.contact-form { background: var(--white); padding: 30px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; color: var(--navy); }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; font-family: inherit; font-size: 1rem; }

/* --- FOOTER --- */
footer { background: var(--navy); color: var(--white); padding: 50px 0 20px; }
.footer-flex { display: flex; justify-content: space-between; align-items: center; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 20px; }
.footer-bottom { text-align: center; font-size: 0.85rem; opacity: 0.6; }

/* --- MOBILE RESPONSIVE --- */
.mobile-only { display: none; }

@media (max-width: 768px) {
    .nav-flex { flex-direction: column; gap: 15px; }
    .nav-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; font-size: 0.9rem; }
    .brand-name { font-size: 1.1rem; }
    .mobile-hide { display: none; }
    .mobile-only { display: inline-block; margin-top: 10px; }

    .hero { height: auto; min-height: 500px; padding: 40px 0; }
    .hero h1 { font-size: 1.8rem; margin-top: 20px; }
    .hero p { font-size: 1rem; padding: 0 10px; }
    
    .split-layout, .president-layout, .contact-wrapper, .footer-flex, .cards-grid, .team-grid { 
        grid-template-columns: 1fr; 
        flex-direction: column; 
        text-align: center; 
        gap: 40px; 
    }

    .president-photo { margin: 0 auto; }
    .president-text blockquote { padding: 0; border-left: none; font-size: 1.1rem; }

    .vision-box { margin-top: 20px; }
    .hero-btns { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 300px; text-align: center; }
    .text-right { text-align: center; margin-top: 20px; }
}