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);
}

.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;
}

.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;
}

/* ----------- Section Podcast ----------- */
.podcast-section {
    padding: 40px 20px;
    text-align: center;
}

.podcast-main-title {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 28px;
    color: rgb(230, 230, 230);
    margin-bottom: 10px;
}

.podcast-intro-text {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 18px;
    color: rgb(220, 220, 220);
    margin-bottom: 50px;
}

.podcast-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    max-width: 800px;
    margin: 0 auto;
}

.podcast-card {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.podcast-title {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #1c1c1c;
    margin: 5px 0 15px 0;
    text-align: center;
    line-height: 1.4;
    letter-spacing: 0.3px;
}

.episode-number {
    font-weight: 800;
    color: #002d75; 
    margin-right: 4px;
}

.podcast-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
}

.podcast-audio {
    width: 100%;
    border-radius: 30px;
}

/* ----------- Boutons Fixes Flottants (Desktop) ----------- */
.facebookFooterBtn {
    position: fixed;
    bottom: 101px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #1861ff; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.mailFooterBtn {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 1000; 
}

.facebookFooterBtn:hover, .mailFooterBtn:hover {
    transform: translateY(-5px);
}

.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;
}

.facebookFooterText { bottom: 72px; right: 10px; }
.mailFooterText { bottom: 0px; right: 16px; }

.footerText {
    font-family: 'Alan Sans', sans-serif;
    color: white;
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

/* ----------- Mode mobile / tablette ----------- */
@media (max-width: 768px) {
    .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%;
    }

    .podcast-main-title { font-size: 22px; }
    .podcast-intro-text { font-size: 16px; }
    
    .podcast-card {
        max-width: 90%;
        padding: 15px;
    }

    .facebookFooterBtn {
        width: 40px;
        height: 40px;
        bottom: 110px;
        right: 25px;
    }
    .facebookFooterText {
        bottom: 80px;
        right: 20px;
        width: 58px;
        text-align: center;
    }

    .mailFooterBtn {
        width: 40px;
        height: 40px;
        bottom: 35px;
        right: 25px;
    }
    
    .mailFooterText {
        bottom: 5px;
        right: 15px;
        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;
}

.menu-galerie-mobile{
    display: none;
}

@media screen and (max-width: 768px) {
    .galerie-btn-fixed {
        display: none !important;
    }

    .menu-galerie-mobile {
        display: block !important;
    }
}

/* --- 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;
}