/* --- 1. VARIABLES & RESET --- */
:root {
    --vert-fonce: #0F4C3A;
    --vert-clair: #4CD964;
    --vert-tres-clair: #e8f8ec;
    --blanc: #ffffff;
    --gris-texte: #333333;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--gris-texte);
    line-height: 1.6;
    background-color: var(--blanc);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--vert-fonce);
}

a { text-decoration: none; }
ul { list-style: none; }

/* --- 2. HEADER & NAV --- */
header {
    background-color: var(--blanc);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--vert-fonce);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span { color: var(--vert-clair); }

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--vert-fonce);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
}

nav a:hover { color: var(--vert-clair); }

.btn-nav {
    background-color: var(--vert-clair);
    color: var(--blanc);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700 !important;
}

.btn-nav:hover {
    background-color: var(--vert-fonce);
    color: var(--blanc) !important;
    transform: translateY(-2px);
}

/* --- 3. HERO SECTION --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(15, 76, 58, 0.85), rgba(15, 76, 58, 0.6)), url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--blanc);
    padding: 0 20px;
    margin-top: 60px; /* offset header */
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--blanc);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--vert-clair);
    color: var(--vert-fonce);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: var(--transition);
    border: 2px solid var(--vert-clair);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--blanc);
}

/* --- 4. SECTION STYLES GÉNÉRAUX --- */
section {
    padding: 80px 10%;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: var(--vert-clair);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* --- 5. PROGRAMME (GRID) --- */
.programme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card-programme {
    background: var(--blanc);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid var(--vert-clair);
}

.card-programme:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(15, 76, 58, 0.15);
}

.card-programme i {
    font-size: 3rem;
    color: var(--vert-clair);
    margin-bottom: 20px;
}

/* --- 6. L'ÉQUIPE --- */
#equipe {
    background-color: var(--vert-tres-clair);
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.team-member {
    background: var(--blanc);
    border-radius: 20px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: scale(1.02);
}

.member-img {
    height: 250px;
    width: 100%;
    background-color: #ddd;
    overflow: hidden;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 25px;
}

.member-info h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.member-role {
    color: var(--vert-clair);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

/* --- 7. GALERIE --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* --- 8. QUESTIONS (ACCORDION) --- */
#questions {
    background-color: var(--vert-fonce);
    color: var(--blanc);
}

#questions .section-title h2 {
    color: var(--blanc);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: rgba(255,255,255,0.1);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-item summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--vert-clair);
}

.accordion-item details[open] summary::after {
    content: '-';
}

.accordion-item p {
    padding: 20px;
    background-color: rgba(0,0,0,0.2);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- FOOTER --- */
footer {
    background-color: #0a3327;
    color: var(--blanc);
    padding: 40px 10%;
    text-align: center;
}

.social-icons {
    margin-bottom: 20px;
}

.social-icons a {
    color: var(--blanc);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: var(--transition);
}

.social-icons a:hover { color: var(--vert-clair); }

/* --- MOBILE --- */
@media (max-width: 768px) {
    nav ul { display: none; }
    .hero-content h1 { font-size: 2.5rem; }
    .logo { font-size: 1.2rem; }
}