:root {
    --mauve: #7B2D8E;
    --bleu: #0077C0;
    --vert: #7CB342;
    --gris-clair: #f8f9fa;
    --gris-fonce: #343a40;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--gris-fonce);
    background-color: var(--gris-clair);
}

header {
    background: linear-gradient(135deg, var(--mauve), var(--bleu));
    color: white;
    padding: 1.5rem 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo {
    max-width: 150px;
    margin-bottom: 1rem;
}

header h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    margin: 0;
}

header p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    opacity: 0.9;
    margin: 0.5rem 0 0;
}

/* Navigation desktop */
nav {
    background-color: white;
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav a {
    font-family: 'Montserrat', sans-serif;
    color: var(--mauve);
    margin: 0 1rem;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: var(--bleu);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 1.5rem 0;
}

.hero {
    text-align: center;
    margin: 2rem 0;
}

.hero img {
    border-radius: 10px;
    border: 3px solid white;
    max-width: 200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero h2 {
    font-family: 'Montserrat', sans-serif;
    color: var(--mauve);
    margin-top: 1rem;
    font-weight: 600;
}

.hero p {
    font-size: 1rem;
    max-width: 900px;
    margin: 0 auto 1rem;
}

.video-container {
    margin: 1.5rem auto;
    max-width: 100%;
    text-align: center;
}

.video-frame {
    /*width: 100%;*/
    height: 550px; /* Hauteur réduite pour éviter le défilement excessif */
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.instagram-embed {
    width: 100%;
    max-width: 400px;
    margin: 1rem auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.tab-content {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 1.5rem 0;
    display: none;
}

.tab-content.active {
    display: block;
}

.program-item {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid var(--vert);
}

.program-item h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--mauve);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact a {
    color: var(--mauve);
    text-decoration: none;
    font-weight: 600;
}

.contact a:hover {
    color: var(--vert);
}

footer {
    text-align: center;
    padding: 1.5rem 0;
    background-color: var(--gris-fonce);
    color: white;
    margin-top: 2rem;
}

/* Menu burger pour mobile (caché par défaut) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--green);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 1rem;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 1000;
}

/* Navigation mobile (cachée par défaut) */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-menu ul li {
    margin: 0.8rem 0;
}

.mobile-menu ul li a {
    font-family: 'Montserrat', sans-serif;
    color: var(--mauve);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
}

/* Media Queries pour le responsive */
@media (max-width: 768px) {
    /* Menu burger visible */
    .menu-toggle {
        display: block;
    }

    /* Cache le menu desktop */
    nav ul {
        display: none;
    }

    /* Adaptation des tailles */
    header {
        padding: 1rem 0;
    }

    header h1 {
        font-size: 1.5rem;
    }

    header p {
        font-size: 0.9rem;
    }

    .hero img {
        max-width: 150px;
    }

    .hero h2 {
        font-size: 1.3rem;
    }

    .hero p {
        font-size: 0.9rem;
        max-width: 100%;
    }

    .video-frame {
        height: 250px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    /* Adaptations pour très petits écrans */
    header h1 {
        font-size: 1.3rem;
    }

    header p {
        font-size: 0.8rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .hero p {
        font-size: 0.85rem;
    }

    .video-frame {
        height: 200px;
    }
}

/* Grille pour l'équipe */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.team-member {
    text-align: center;
    background-color: var(--gris-clair);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 100%;
    max-width: 120px;
    border-radius: 50%;
    border: 3px solid var(--mauve);
    margin-bottom: 0.8rem;
}

.team-member h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--mauve);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}
