:root {
    --ocre: #D2B48C;
    --rouge-brique: #8B3A3A;
    --vert-fonce: #2E8B57;
    --beige-clair: #F5F5DC;
    --marron: #5C4033;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--beige-clair);
    color: var(--marron);
    line-height: 1.6;
}

header {
    background: linear-gradient(135deg, var(--rouge-brique), var(--ocre));
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.logo span {
    color: var(--vert-fonce);
}

.logo .logo-text {
    color: white;
    text-shadow: inherit;
}

.logo-img {
    height: 110px;
    width: auto;
    display: block;
    filter: invert(1);
    mix-blend-mode: screen;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 1.5rem;
    margin-top: 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: rgba(255,255,255,0.2);
}

/* Menu déroulant */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: var(--marron);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-radius: 0;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: var(--beige-clair);
    color: var(--vert-fonce);
}

.dropdown:hover .dropdown-content {
    display: block;
}

main {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--rouge-brique);
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--vert-fonce);
    margin: 1rem auto;
}

.btn {
    display: inline-block;
    background-color: var(--vert-fonce);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--vert-fonce);
}

.btn:hover {
    background-color: transparent;
    color: var(--vert-fonce);
}

footer {
    background-color: var(--marron);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* ── Layout ── */
.two-col {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.two-col-narrow {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.col {
    flex: 1;
}

.section-padded {
    background-color: var(--beige-clair);
    padding: 3rem 0;
}

.section-centered {
    text-align: center;
    margin: 3rem 0;
}

.narrow {
    max-width: 800px;
    margin: 0 auto;
}

/* ── Cards ── */
.card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.card-ocre {
    background-color: var(--ocre);
    padding: 2rem;
    border-radius: 10px;
}

.card-beige {
    background-color: var(--beige-clair);
    padding: 2rem;
    border-radius: 10px;
}

.card-narrow {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

/* ── Images ── */
.img-full {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* ── Typographie ── */
.text-vert {
    color: var(--vert-fonce);
}

.mt-2 {
    margin-top: 2rem;
}

.list-spaced {
    margin: 1.5rem 0;
}

/* ── Stats ── */
.stats-grid {
    display: flex;
    justify-content: space-around;
    margin: 2rem 0;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--rouge-brique);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
}

.card-photo {
    max-width: 60%;
    display: block;
    margin: 1rem auto 0;
}

/* ── Galerie photos ── */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 60%;
    margin: 1rem auto 0;
}

/* ── Carte évènement : texte + photos empilées côte à côte ── */
.card-flex {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-top: 1rem;
}

.card-flex .card-text {
    flex: 1;
}

.card-flex .card-photos {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 0 0 60%;
    max-width: 60%;
}

.card-flex .card-photos img {
    width: 100%;
    margin: 0;
}

.photo-grid img {
    width: 100%;
    border-radius: 5px;
}

/* ── Équipe ── */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 2rem 0;
}

.team-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.team-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    width: 180px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.member-name {
    font-weight: bold;
    color: #8B4513;
    margin-bottom: 5px;
}

.member-role {
    font-style: italic;
    color: #555;
    margin-bottom: 10px;
}

.member-desc {
    font-size: 0.9em;
    color: #666;
}

/* ── Historique ── */
.timeline-entry {
    margin-top: 2rem;
}

/* ── Formulaire ── */
.form-container {
    background-color: var(--beige-clair);
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1rem;
}

.form-input {
    width: 100%;
    padding: 0.5rem;
    border-radius: 5px;
    border: 1px solid var(--marron);
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.6rem;
    }

    .logo-img {
        height: 75px;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
    }

    .two-col,
    .two-col-narrow,
    .card-flex {
        flex-direction: column;
    }

    .card-flex .card-photos {
        max-width: 100%;
    }

    .team-row {
        flex-wrap: wrap;
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Style pour toutes les images */
img {
    max-width: 100%;       /* S'adapte à la taille de l'écran */
    height: auto;          /* Garde les proportions */
    border-radius: 8px;    /* Coins arrondis */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Ombre légère */
    margin: 15px 0;        /* Espacement autour */
}

