body {
    margin: 0; 
    background-color: rgb(0, 164, 170);
}

.logoTitreSection {
    display: flex;
    align-items: center;     
    justify-content: center;
    gap: 15px;              
}

.logo {
    width: 135px;
    height: auto;
    display: block;
    margin: 0;
}

.mainTitle {
    font-size: 1.8rem;
    margin: 0;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: rgb(0, 77, 230);
}

/* ----------- Styles généraux Navigation ----------- */
.navbar {
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
}

.navList {
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    font-size: 20px;
    background-color: #d5f0ff;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.navList a {
    text-decoration: none;
    color: black;
    transition: color 0.2s ease;
}

.navList a:hover {
    color: #0077cc;
}

/* ----------- Icône hamburger ----------- */
.menu-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    margin: 10px 15px;
}

.menu-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

#menu-toggle {
    display: none;
}

/* ----------- Typographies & Helpers ----------- */
.spanGras {
    font-weight: 600;
}

.spanSize {
    font-size: 22px;
}

.spanSize2 {
    font-size: 32px;
}

/* ----------- Classes Images ----------- */
.imageContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 40px 0;
}

.gemImage {
    max-width: 600px;
    width: 80%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    display: block;
}

/* ----------- Sections de Contenu ----------- */
.whatIsGEM {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 25px;
    text-align: center;
    margin-top: 90px;
    color: rgb(230, 230, 230);
}

.explicationGEM {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 20px;
    text-align: justify;
    margin: 50px 150px 0 150px;
    color: rgb(230, 230, 230);
}

.unGEMEst {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 25px;
    text-align: center;
    margin: 90px 0 70px 0;
    color: rgb(230, 230, 230);
}

.explicationGEM2 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 20px;
    text-align: justify;
    margin: 50px 150px 0 150px;
    color: rgb(230, 230, 230);
}

.missionGEM {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    margin: 50px 150px 0 150px;
    color: rgb(230, 230, 230);
}

.whatIsREAGIR {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 28px;
    text-align: center;
    margin: 90px 0 80px 0;
    color: rgb(230, 230, 230);
}

.explicationREAGIR {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 20px;
    text-align: justify;
    margin: 50px 150px 0 150px;
    color: rgb(230, 230, 230);
}

.nousProposons {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 25px;
    text-align: center;
    margin: 90px 0 80px 0;
    color: rgb(230, 230, 230);
}

.explicationNousProposons {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 20px;
    text-align: justify;
    margin: 50px 150px 0 150px;
    color: rgb(230, 230, 230);
}

.actionMursGEM {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 20px;
    text-align: center;
    margin: 50px 0 0 0;
    color: rgb(220, 220, 220);
}

.sensibilisationInterventions {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 25px;
    text-align: center;
    margin: 100px 0 80px 0;
    color: rgb(230, 230, 230);
}

.explicationSensibilisationInterventions {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 20px;
    text-align: justify;
    margin: 50px 150px 80px 150px;
    color: rgb(230, 230, 230);
}

.participationEvenements {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 25px;
    text-align: center;
    margin: 90px 0 80px 0;
    color: rgb(230, 230, 230);
}

.explicationParticipationEvenements {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 20px;
    text-align: justify;
    margin: 50px 150px 80px 150px;
    color: rgb(230, 230, 230);
}

.nosCreations {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 25px;
    text-align: center;
    margin: 90px 0 80px 0;
    color: rgb(230, 230, 230);
}

.nosCreationsBOTTOM {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 20px;
    text-align: justify;
    margin: 50px 150px 60px 150px;
    color: rgb(214, 214, 214);
}

.explicationNosCreations {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 20px;
    text-align: justify;
    margin: 20px 150px 50px 150px;
    color: rgb(230, 230, 230);
}

.explicationNosCreationsBOTTOM {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 16px;
    text-align: justify;
    margin: 20px 150px 120px 150px;
    color: rgb(235, 235, 235);
}

.nousContacter {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 25px;
    text-align: center;
    margin: 90px 0 80px 0;
    color: rgb(230, 230, 230);
}

.nousContacterBOTTOM {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 20px;
    text-align: justify;
    margin: 50px 150px 120px 150px;
    color: rgb(230, 230, 230);
}

/* --- Style Général Footer --- */
footer {
    padding-bottom: 200px; 
}

.footerText {
    font-family: 'Alan Sans', sans-serif;
    text-align: center;
    font-size: 14px;
    margin-top: 50px;
    z-index: 1; 
    color: white; 
}

/* --- Boutons Fixes Flottants (Desktop) --- */
.facebookFooterBtn,
.mailFooterBtn {
    position: fixed;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    z-index: 1000;
}

.mailFooterBtn {
    bottom: 30px; 
}

.facebookFooterBtn {
    bottom: 101px; 
    background-color: #1861ff; 
}

.facebookFooterBtn:hover,
.mailFooterBtn:hover {
    transform: translateY(-5px);
}

/* --- Textes des boutons fixes --- */
.facebookFooterText,
.mailFooterText {
    position: fixed;
    font-size: 12px;
    color: white; 
    z-index: 1000;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-weight: 600;
}

.mailFooterText {
    bottom: 0px; 
    right: 16px; 
}

.facebookFooterText {
    bottom: 72px; 
    right: 10px; 
}

/* ----------- Responsive Mobile / Tablette (768px) ----------- */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .logoTitreSection {
        flex-direction: column; 
        text-align: center;
        gap: 10px;
    }

    .logo {
        width: 100px; 
    }

    .mainTitle {
        font-size: 1.2rem; 
        text-align: center;
        margin: 0 10px;  
    }

    /* Menu Burger Mobile */
    .navList {
        position: absolute;
        top: 65px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 90%;
        background-color: #d5f0ff;
        border-radius: 12px;
        gap: 20px;
        padding: 25px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.5s ease, opacity 0.4s ease;
    }

    #menu-toggle:checked + .menu-icon + .navList {
        max-height: 400px;
        opacity: 1;
    }

    .menu-icon {
        display: flex;
        position: relative;
        z-index: 2;
    }

    #menu-toggle:checked + .menu-icon span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    #menu-toggle:checked + .menu-icon span:nth-child(2) { opacity: 0; }
    #menu-toggle:checked + .menu-icon span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

    .navList a {
        font-size: 18px;
        text-align: center;
        padding: 10px 0;
        width: 100%;
    }

    /* Ajustement des textes */
    .explicationGEM, .explicationGEM2, .missionGEM, .explicationREAGIR,
    .explicationNousProposons, .explicationSensibilisationInterventions,
    .explicationParticipationEvenements, .explicationNosCreations,
    .explicationNosCreationsBOTTOM, .nousContacterBOTTOM, .nosCreationsBOTTOM {
        font-size: 16px;            
        margin: 30px 20px 0 20px;  
        text-align: left;           
    }

    .whatIsGEM, .unGEMEst, .whatIsREAGIR, .nousProposons,
    .sensibilisationInterventions, .participationEvenements,
    .nosCreations, .nousContacter {
        font-size: 20px;
        margin: 60px 10px 40px 10px;
    }

    .gemImage {
        width: 95%;
    }

    /* Harmonisation complète des boutons flottants (48px) */
    .facebookFooterBtn {
        width: 48px;
        height: 48px;
        bottom: 110px;
        right: 25px;
    }
    .facebookFooterText {
        bottom: 88px;
        right: 20px;
        width: 58px;
        text-align: center;
    }

    .mailFooterBtn {
        width: 48px;
        height: 48px;
        bottom: 35px;
        right: 25px;
    }
    .mailFooterText {
        bottom: 13px;
        right: 20px;
        width: 58px;
        text-align: center;
    }
}


.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin: 40px auto;
    padding: 0 15px;
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;
    font-family: 'Alan Sans', sans-serif;
}

.podcast-btn {
    display: inline-block;
    padding: 14px 28px;
    background-color: #004dc6;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 77, 198, 0.3);
    border: 2px solid #002d75;
    transition: transform 0.2s, background-color 0.2s;
}

.podcast-btn:hover {
    background-color: #003fa3;
    transform: translateY(-2px);
}

.contact-card {
    background: #c1c1c1;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #c1c1c1;
}

.contact-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.contact-methods {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.contact-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: #f8fafc;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.contact-item:hover {
    background-color: #f1f5f9;
    border-color: #004dc6;
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-text {
    font-size: 0.95rem;
    line-height: 1.4;
    word-break: break-word; 
}

@media (max-width: 650px) {
    .contact-methods {
        flex-direction: column;
    }
    
    .contact-item {
        width: 100%;
        box-sizing: border-box;
    }
}



/* --- BOUTON GALERIE FIXE (HAUT GAUCHE - GRAND ÉCRAN) --- */
.galerie-btn-fixed {
    position: fixed;
    top: 20px;
    left: 20px;  
    z-index: 2000;
    background-color: #333333;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 50px;
    font-weight: bold;
    font-family: 'Alan Sans', sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.galerie-btn-fixed:hover {
    transform: scale(1.05);
    background-color: #1a1a1a;
}

/* --- BOUTON PODCAST FIXE (HAUT DROITE - GRAND ÉCRAN) --- */
.podcast-btn-fixed {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    background-color: #e30613;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 50px;
    font-weight: bold;
    font-family: 'Alan Sans', sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.podcast-btn-fixed:hover {
    transform: scale(1.05);
    background-color: #bd050f;
}

.menu-galerie-mobile, .menu-podcast-mobile {
    display: none;
}

@media screen and (max-width: 768px) {
    .galerie-btn-fixed, .podcast-btn-fixed {
        display: none !important;
    }

    .menu-galerie-mobile, .menu-podcast-mobile {
        display: block !important;
    }
}


.imgCrise {
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto; 
    margin: 25px auto;
    border-radius: 8px; 
}

@media (max-width: 768px) {
    .imgCrise {
        max-width: 90%; 
        margin: 20px auto;
    }
}

/* --- SECTION MENTIONS LÉGALES --- */
.legal-section {
    margin-top: 30px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 15px;
    padding-bottom: 20px;
}

/* Bouton tout en bas */
.legal-toggle-btn {
    background: none;
    border: none;
    color: inherit;
    font-size: 0.95rem;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.legal-toggle-btn:hover {
    opacity: 1;
}

.legal-toggle-btn .arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.legal-toggle-btn.active .arrow {
    transform: rotate(180deg);
}

/* Zone déroulante du texte des mentions légales */
.legal-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1), opacity 0.3s ease, margin 0.3s ease;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.85rem;
    line-height: 1.6;
}

.legal-content.active {
    max-height: 2000px; /* Assez grand pour tout le texte */
    opacity: 1;
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 8px;
}

.legal-content h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-align: center;
}

.legal-content h3 {
    font-size: 0.95rem;
    margin-top: 15px;
    margin-bottom: 5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 3px;
}

.legal-content p {
    margin-bottom: 10px;
}