.menu a.active {
    color: var(--accent-color);
}


/* === SOUS-MENU DESKTOP === */
.burger {
    display: none;
}
.has-submenu {
    position: relative;
}
.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.submenu {
    position: absolute;
    z-index: 2000;
    top: 100%;
    left: 0;
    background-color: #111;
    min-width: 240px;
    border-radius: 6px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
/* Ressources = même style qu'un lien */

.submenu-title {
    background: none;
    border: none;
    padding: 0;
    margin: 0;

    color: white;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    font-family: inherit;

    display: inline-flex;
    align-items: center;
}

/* Effet hover identique aux liens */
.submenu-title:hover {
    color: var(--accent-color);
}
/* Mobile : ouverture JS du sous-menu */
.submenu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* ======================
   CARROUSEL
====================== */

.carousel-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 60px 20px;
    align-items: center;
}

/* === CAROUSEL CONTAINER === */
.carousel-container {
    width: 420px;     
    max-width: 100%;
    flex: 0 0 420px;  /* 🔥 largeur fixe portrait */
}

/* zone visible du carousel */
.carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;   /* ✅ portrait réel */
    overflow: hidden;
    border-radius: 20px;
    max-height: 600px;     /* sécurité écran */
}

.carousel-track {
    display: flex;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    object-fit: cover;     /* 👈 clé pour le portrait */
    display: none;
}


.carousel-slide.active {
    display: block;
}

/* Flèches */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}

.carousel-arrow.left {
    left: 15px;
}

.carousel-arrow.right {
    right: 15px;
}

.carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.85);
}

/* Texte */
.carousel-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.carousel-text p {
    margin-bottom: 12px;
    line-height: 1.6;
}

.carousel-text .highlight {
    margin-top: 20px;
    font-weight: bold;
}

/* Mobile */

.hero {
    margin-bottom: 30px;        /* séparation claire */
    padding: 20px 0 10px 0;
}

.hero h2 {
    margin-bottom: 5px;
}
.hero-text {
    max-width: 480px;              /* largeur maîtrisée */
    background: rgba(0, 0, 0, 0.65); /* lisibilité sur fond */
    color: #fff;
    padding: 15px;
    border-radius: 16px;
    line-height: 1.6;
    font-size: 0.95rem;
    flex: 0 0 55%;
}

.hero-text h2 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #fff;
    text-shadow:
        0 2px 4px rgba(0,0,0,0.8),
        0 4px 10px rgba(0,0,0,0.6);
}

.hero-text p {
    margin-bottom: 12px;
    color: #fff;
    
}

.hero h2,
.hero p {
    color: #ffffffbe;
    text-shadow:
        0 2px 4px rgba(0,0,0,0.8),
        0 4px 10px rgba(0,0,0,0.6);
}

.association-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    filter: contrast(1.05) saturate(0.9);
}

/* ==========================
   SECTION MAP ASSOCIATION
========================== */

.association-map h3 {
    color: #fff;
    margin-bottom: 20px;
}

.map-wrapper {
    width: 100%;
    max-width: 750px;
    height: 360px;
    margin: 0 0 20px 0; /* ⬅️ plus de centrage */

    border-radius: 16px;
    overflow: hidden;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    background: #000;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-address {
    text-align: left;   /* ⬅️ alignement à gauche */
    color: #fff;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 15px;
}



/* ==========================
   PAGE FORMULES
========================== */

.page-intro {
    text-align: center;
    margin-bottom: 50px;
}

.page-intro h2 {
    font-size: 2.6rem;
    color: #fff;
    margin-bottom: 10px;
}

.intro-text {
    color: #fff;
    font-size: 1.15rem;
    font-style: italic;
    letter-spacing: 0.05em;
    opacity: 0.95;

    text-shadow:
        0 2px 4px rgba(0,0,0,0.8),
        0 4px 12px rgba(0,0,0,0.7);
}

/* GRID */
.formules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

/* CARD */
.formule-card {
    background: rgba(0, 0, 0, 0.75);
    border-radius: 20px;
    padding: 35px 30px;
    color: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    position: relative;
}

.formule-card h3 {
    font-size: 1.9rem;
    margin-bottom: 10px;
}

.formule-tagline {
    font-style: italic;
    opacity: 0.85;
    margin-bottom: 25px;
}

/* LISTE */
.formule-details {
    margin-bottom: 30px;
}

.formule-details li {
    margin-bottom: 10px;
    line-height: 1.5;
    position: relative;
    padding-left: 18px;
}

.formule-details li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* PRIX */
.formule-price {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.formule-price .period {
    font-size: 1.1rem;
    opacity: 0.8;
}

.formule-price.highlight {
    color: var(--accent-color);
}

.formule-note {
    font-size: 0.85rem;
    opacity: 0.75;
}

/* THEMES */
.formule-card.heritage {
    border: 1px solid rgba(255,255,255,0.15);
}

.formule-card.gorillaz {
    border: 1px solid var(--accent-color);
}

/* ==========================
   GORILLAZ TRAINING
========================== */

.gorillaz-training {
    margin-top: 80px;
    padding: 50px 30px;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.7);
    text-align: center;
    max-width: 1100px;      /* 🔥 CLÉ ICI */
    margin: 80px auto 0;
    width: calc(100% - 80px);
}


.gorillaz-training h2 {
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 50px;
}

/* PILIERS */
.training-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 50px;
}

.pillar {
    background: rgba(0,0,0,0.7);
    padding: 35px 25px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.12);
}

.pillar-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.pillar h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--accent-color);
    letter-spacing: 0.05em;
}

.pillar p {
    color: #fff;
    opacity: 0.9;
    line-height: 1.5;
}

/* MANIFESTE */
.training-manifesto {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    text-transform: uppercase;

    text-shadow:
        0 3px 6px rgba(0,0,0,0.8),
        0 6px 18px rgba(0,0,0,0.7);
}



/*==========================
   PAGE INSCRIPTION
========================== */

.inscription-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 30px;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.7);
    text-align: center;
}

.inscription-section h2 {
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 30px;
}

.inscription-text {
    color: #fff;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* Bouton téléchargement */
.download-btn {
    display: inline-block;
    margin: 30px 0 15px;
    padding: 14px 28px;
    border-radius: 30px;

    background: var(--accent-color);
    color: #000;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-transform: uppercase;

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(196,155,99,0.5);
}

.inscription-note {
    font-size: 0.9rem;
    opacity: 0.75;
    margin-top: 10px;
}
/* ==========================
   PREMIÈRE SÉANCE OFFERTE
========================== */

.free-session {
    margin-top: 20px;
    display: inline-block;

    padding: 8px 18px;
    border-radius: 20px;

    background: rgba(196, 155, 99, 0.15);
    color: var(--accent-color);

    font-weight: bold;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;

    box-shadow: 0 0 0 1px rgba(196, 155, 99, 0.4);
}


.gorillaz-definition {
    max-width: 1100px;
    margin: 4rem auto;
    text-align: center;
}

.gorillaz-definition h2 {
    margin-bottom: 2rem;
}

.definition-card {
    background: rgba(0, 0, 0, 0.55);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.definition-card p {
    color: #f2f2f2;   /* ✔ lisible sur fond sombre */
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.definition-card strong {
    color: var(--accent-color);
}

.definition-highlight {
    margin-top: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    color: var(--accent-color);
}

/* ==========================
   PAGE CONTACT
========================== */

.contact-section h2 {
    color: #fff;
    margin-bottom: 15px;
}

.contact-intro {
    color: #fff;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.contact-card {
    background: rgba(0, 0, 0, 0.65);
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    color: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.8);
}

.contact-card h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 0.95rem;
    line-height: 1.5;
}