:root {
    --guesde: #9f1111;
    --adultes: #ff0000;
    --adultes-adapte: #ee0000;
    --enfance: #f68c10;
    --enfance-light: #fff5eb;
    --enfance-dark: #d97a0d;
    --enfance-text-light: #ffffff;
    --enfance-text-dark: #333333;
    --petite-enfance: #ffde59;
    --petite-enfance-adapte: #87752b;
    --petite-enfance-dark: #ccab00;
    --petite-enfance-contrast: #2b2b2b;
    --vert-ms: #446e17;
    --angle-9: #004aad;
    --pac: #605da6;
    --gris-ms: #444444;
    --white: #ffffff;
    --black: #000000;
    --bg-grey: #f9fafb;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.popup {
    background-color: white;
    border: 1px solid black;
    border-radius: 3px;
    padding: 5px;
    font-size: 12px;
    max-width: 200px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
}

@font-face {
    font-family: "More Sugar";
    src: url("../fonts/MoreSugar.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Causten";
    src: url("../fonts/CaustenRegular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

.text-center {
    text-align: center;
}

h1 {
    font-family: "More Sugar", sans-serif;
    margin: 40px 0;
    font-size: 3rem;
    color: var(--gris-ms);
}

h1>i{
    color: #9f1111;
    margin-right: 0.5em;
}

h2 {
    font-family: "More Sugar", sans-serif;
    font-size: 2.5rem;
    margin: 20px 0;
    transition: color 0.3s ease;
    text-align: center;
    color: var(--gris-ms);
}

h3 {
    font-family: "More Sugar", sans-serif;
    font-size: 1.5rem;
    margin: 10px 0;
    color: var(--gris-ms);
}
.soulignement-container {
    display: inline-block;
    text-align: center;
    margin: 2rem auto;
}

.h2-home {
    font-size: 2.5rem;
    margin-bottom: 0.2rem;
    position: relative;
    display: inline-block;
}

.ligne-decoration {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

p{
    margin-bottom: 10px;
}

body {
    margin: 0;
    font-family: "Causten", sans-serif;
    background-color: white;
    scroll-behavior: smooth;
}



/* ========================= HEADER ==================================================================================================================================== */
/* ====== NAVBAR ====== */
.navbar {
    height: 64px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: relative;
    z-index: 1000;
}

/* ====== LOGO ====== */
.logo img {
    height: 64px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

/* ====== NAVIGATION PRINCIPALE ====== */
.nav-links {
    display: flex !important;
    flex-direction: row;
    position: static;
    height: auto;
    padding: 0;
    background: none;
    box-shadow: none;
}

.nav-links li {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.nav-links li a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--guesde);
    text-decoration: none;
    font-size: 16px;
    padding: 10px 15px;
    height: 100%;
    position: relative;
    box-sizing: border-box;
}

.nav-links li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background: var(--guesde);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-links li a:hover::after {
    transform: scaleX(1);
}

.nav-links li a:hover {
    opacity: 0.8;
}

/* ====== RÉSEAUX SOCIAUX ====== */
.social-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-icons a {
    color: var(--guesde);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}

.social-icons i {
    font-size: 24px;
}

/* ====== SOUS-MENUS ====== */
.has-submenu {
    position: relative;
}

.has-submenu > a > i.fa-chevron-right,
.has-submenu > a > i.fa-chevron-down {
    margin-left: auto;
}

/* Structure commune */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    max-width: 90vw;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
    white-space: normal;
    word-break: break-word;
}

.submenu li {
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.submenu li:hover {
    background-color: #f8f8f8;
}

.submenu li a {
    display: flex;
    gap: 10px;
    width: 100%;
    height: 100%;
    padding: 10px 16px;
    font-size: 16px;
    color: var(--guesde);
    text-decoration: none;
    box-sizing: border-box;
}

/* Affichage au survol */
.has-submenu:hover > .submenu {
    display: block;
}

/* Sous-sous-menu */
.submenu .has-submenu {
    position: relative;
}

.submenu .submenu {
    top: 0;
    left: 100%;
}

/* Affichage par classe JS (optionnel) */
.has-submenu > .submenu {
    flex-direction: column;
}

.has-submenu.open > .submenu {
    display: flex;
}

.submenu .submenu {
    left: 100%;
    top: 0;
}


.hamburger {
    display: none;
}

/* ====== ANIMATIONS ====== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



@media (max-width: 992px) {
    .hamburger {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: var(--guesde);
    }

    .nav-links {
        position: fixed;
        top: 64px; /* hauteur du header */
        left: 0;
        width: 100%;
        height: calc(100vh - 64px);
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        overflow-y: auto;
        z-index: 999;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links li {
        flex-direction: column;
        align-items: flex-start;
    }

    .submenu {
        display: none;
        flex-direction: column;
        position: static;
        background: none;
        box-shadow: none;
        padding-left: 20px;
        margin-top: 5px;
    }

    .has-submenu.open > .submenu {
        display: flex;
    }

    .submenu li {
        border: none;
        width: 100%;
    }

    .submenu li a {
        padding-left: 10px;
        width: 100%;
    }

    .has-submenu > a > i.fa-chevron-right,
    .has-submenu > a > i.fa-chevron-down {
        margin-left: auto;
    }
}




/* ========================= ============= =========================== */



.petite-enfance {
    color: var(--petite-enfance) !important;
}

.adultes {
    color: var(--adultes) !important;
}
.enfance {
    color: var(--enfance) !important;
}

.adultes-adapte {
    color: var(--adultes-adapte) !important;
}
.petite-enfance-adapte {
    color: var(--petite-enfance-adapte) !important;
}

.pef {
    color: var(--angle-9) !important;
}

.vert-ms {
    color: var(--vert-ms) !important;
}
.gris-ms {
    color: var(--gris-ms) !important;
}

/* main */

.search-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1000;
}

.search-toggle {
    background: var(--guesde);
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #ffffff;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.search-toggle i {
    pointer-events: none;
}

.search-toggle:hover {
    background-color: #7d0e0e;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.search-bar {
    position: absolute;
    top: 55px;
    right: 0;
    display: none;
    background: white;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    padding: 5px 10px;
    width: 300px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-bar input {
    border: none;
    padding: 10px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    transform: scale(1.02);
}

.search-bar.active {
    display: flex;
    align-items: center;
}

.search-close,
.search-submit {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.search-close:hover,
.search-submit:hover {
    color: #000;
    transform: scale(1.1);
}

main{
    min-height: calc(100dvh - 64px - 300px);
}
.main-public {
    padding: 10px 100px;
    background-image: url("../img/bg/background.jpg");
    background-size: cover;
}
.main-admin{
    padding: 10px 100px 10px 20px;
}

#home-h1-container {
    display: flex;
    justify-content: center;
    margin: 50px auto;
    transition: transform 0.3s ease;
}

.titre-sociale {
    font-size: 3rem;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    padding: 1rem;
}

.titre-sociale:hover {
    transform: scale(1.02);
}


.c-maison-sociale {
    color: var(--gris-ms);
}
.c-cyprian {
    color: var(--guesde);
}
.c-les-brosses {
    color: var(--angle-9);
}
.c-vert-ms {
    color: var(--vert-ms);
}

.ligne2 {
    display: inline-block;
    text-indent: 2em;
}

/* flip card */

.flip-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    padding: 20px;
    margin: 40px 0;
}

.flip-card {
    width: 160px;
    height: 160px;
    perspective: 1000px;
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease;
}

.flip-card:hover {
    transform: translateY(-5px);
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
}

.flip-card-front {
    background-color: var(--pac);
    color: var(--white);
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

.flip-card.adultes .flip-card-front {
    background-color: var(--adultes);
}

.flip-card.adultes .flip-card-back {
    background-color: var(--white);
    border: 2px solid var(--adultes);
}

.flip-card.adultes .flip-card-back i {
    color: var(--adultes);
}

.flip-card.petite-enfance .flip-card-front {
    background-color: var(--petite-enfance);
    color: var(--black);
}

.flip-card.petite-enfance .flip-card-back {
    background-color: var(--white);
    border: 2px solid var(--petite-enfance);
}

.flip-card.petite-enfance .flip-card-back i {
    color: var(--petite-enfance);
}

.flip-card.enfance .flip-card-front {
    background-color: var(--enfance);
    color: var(--black);
}

.flip-card.enfance .flip-card-back {
    background-color: var(--white);
    border: 2px solid var(--enfance);
}

.flip-card.enfance .flip-card-back i {
    color: var(--enfance);
}

.flip-card.vert-ms .flip-card-front {
    background-color: var(--vert-ms);
}

.flip-card.vert-ms .flip-card-back {
    background-color: var(--white);
    border: 2px solid var(--vert-ms);
}

.flip-card.vert-ms .flip-card-back i {
    color: var(--vert-ms);
}

.flip-card-back {
    background-color: white;
    border: 2px solid #000000;
    transform: rotateY(180deg);
    transition: all 0.3s ease;
}

.flip-card-back-img {
    height: calc(100% - 20px);
    transition: transform 0.3s ease;
}

.flip-card:hover .flip-card-back-img {
    transform: scale(1.05);
}

.flip-card-back i {
    color: #000000;
    transition: transform 0.3s ease;
}

.flip-card:hover .flip-card-back i {
    transform: scale(1.1);
}

.chiffres {
    display: flex;
    justify-content: space-around;
    margin: 40px 0;
    padding: 20px;
}

.stat {
    display: block;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    color: white;
    font-weight: bold;
    text-align: center;
    width: 120px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.stat.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat:hover {
    transform: scale(1.05);
}

.stat span {
    display: block;
    font-size: 2.5rem;
    margin-top: 0.5rem;
    transition: transform 0.3s ease;
}

.stat:hover span {
    transform: scale(1.1);
}

.violet {
    background-color: var(--pac);
}
.vert {
    background-color: var(--angle-9);
}
.jaune {
    background-color: var(--vert-ms);
}
.rouge {
    background-color: var(--adultes-adapte);
}

.images-et-carte {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin: 2rem auto;
    padding: 0 2rem;
}

.slider-container{
    margin: 0 auto;
    text-align: center;
    width: 100%;
    height: 500px;
    display: flex;
    flex-direction: column;
}

.map-container{
    width: 45%;
    margin: 0 auto;
    text-align: center;
    height: 80vh;
    display: flex;
    flex-direction: column;
}

.swiper {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-left: 0 !important;
    margin-right: 0 !important;

}

.mySwiper{
    height: 60vh;
}

.swiper-wrapper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.swiper-slide-home img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.swiper-slide.swiperHome img{
    object-fit: cover!important;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.swiper-slide:hover img {
    transform: scale(1.02);
}

.swiper-button-prev,
.swiper-button-next {
    background: rgba(159, 17, 17, 0.85);
    color: white;
    font-size: 1.5rem;
    padding: 40px 20px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    z-index: 10;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #7d0e0e;
}

.swiper-button-prev {
    left: 5px;
}
.swiper-button-next {
    right: 5px;
}

.swiper-pagination-bullet-active {
    background: var(--adultes);
    border: var(--black) 1px solid;
    opacity: 1;
}

#map {
    flex: 1;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

#map:hover {
    transform: scale(1.01);
}

.links-and-documents-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}
.raccourcis {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center; /* pour centrer les boutons horizontalement */
}

.soulignement-container {
    margin-bottom: 2rem;
    text-align: center;
}

.raccourcis a {
    display: block;
    padding: 0.8rem 1.6rem;
    margin: 1rem 0; /* espacement vertical augmenté */
    background-color: var(--guesde);
    color: white;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.raccourcis a:hover {
    background-color: #b81818;
    transform: translateX(5px);
}


.telechargements{
    width: 45%;
}

.raccourcis .groupe {
    margin-bottom: 1rem;
    text-align: center;
}

.raccourcis .titre {
    background: var(--angle-9);
    color: white;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.raccourcis .titre:hover {
    transform: translateY(-3px);
}

.titre.pair {
    border-radius: 20px 0 20px 0;
}
.titre.impair {
    border-radius: 0 20px 0 20px;
}

.raccourcis .liens a {
    display: inline-block;
    color: white;
    padding: 0.4rem 0.8rem;
    margin: 0 0.3rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
}

.raccourcis .liens a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.telechargements h2,
.raccourcis h2 {
    text-align: center;
}

.documents {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.doc {
    text-align: center;
    transition: transform 0.3s ease;
}

.doc:hover {
    transform: translateY(-5px);
}

.img-placeholder {
    width: 150px;
    height: 150px;
    background: #ccc;
    border-radius: 10px;
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #d82d2d;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.img-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.agenda {
    gap: 1rem;
    margin: 2rem 0;
}

.event-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
}

.event {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 30%;
    min-height: 520px;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background-color: white;
    color: var(--black);
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.event:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.event-cover {
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.event img {
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: opacity 0.3s ease;
}

.event:hover img {
    opacity: 0.95;
}

.event h3,
.event h2 {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.event:hover h3,
.event:hover h2 {
    color: var(--guesde);
}

.event-description {
    text-align: justify;
    text-indent: 1rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    flex-grow: 1;
}

.event-info-container {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.event-info p {
    font-size: 0.9rem;
    margin: 0.3rem 0;
}

.event-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    align-items: flex-start;
}

.badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    background-color: #e0e0e0;
    font-weight: 1000;
    text-transform: uppercase;
    white-space: nowrap;
}

.event i {
    margin-top: 1rem;
    background: var(--guesde);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-align: center;
    font-style: normal;
    transition: all 0.3s ease;
}

.event i:hover {
    background: #7d0e0e;
    transform: scale(1.05);
}

#tag-filters {
    width: 100%;
    max-width: 1000px;
    margin: 1rem auto;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.filter-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 2rem;
    font-weight: bold;
    user-select: none;
}

.chevron {
    transition: transform 0.3s ease;
}

.chevron.up {
    transform: rotate(180deg);
}

.filter-content {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.4s ease;
    margin-top: 1rem;
}

.filter-content.active {
    max-height: 500px;
    opacity: 1;
}

.tag-section {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tag-btn {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    color: white;
    font-weight: 1000;
    text-shadow:
            -2px -2px 0 black,
            2px -2px 0 black,
            -2px  2px 0 black,
            2px  2px 0 black,
            0px -2px 0 black,
            0px  2px 0 black,
            -2px  0px 0 black,
            2px  0px 0 black;
    box-shadow: none;
    opacity: 0.85;
}

.tag-btn:hover {
    background-color: #e0ecff;
}

.tag-btn.active {
    opacity: 1;
    box-shadow: 0 0 0 3px black, 0 2px 6px rgba(0, 0, 0, 0.2); /* halo + ombre */
    transform: scale(1.05);
}

.event-date-indent {
    display: inline-block;
    text-indent: 1.5rem;
}


.mot-president {
    width: 50%;
    text-align: center;
    border-radius: 12px;
}



.right-align {
    display: flex;
    justify-content: flex-end;
}

.btn-more {
    background: var(--guesde);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-more:hover {
    background: #7d0e0e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* footer styles */

footer {
    background-color: #1a1a1a;
    color: white;
    padding: 30px 20px 10px;
    height: 300px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

footer h3{
    color: var(--white);
}

.footer-table {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-collapse: collapse;
    flex: 1;
}

.footer-column {
    vertical-align: top;
    padding: 0 20px;
    transition: transform 0.3s ease;
}

.footer-column:hover {
    transform: translateY(-3px);
}

.footer-column h3 {
    margin-bottom: 10px;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--guesde);
    transition: width 0.3s ease;
}

.footer-column:hover h3::after {
    width: 100%;
}

.footer-column p,
.footer-column ul {
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li a {
    color: #d1d1d1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: white;
    text-decoration: underline;
    transform: translateX(5px);
}

.footer-note {
    font-style: italic;
    color: #ccc;
}

.footer-social {
    text-align: center;
}

.footer-social .icons {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.footer-social .icons i {
    font-size: 40px;
    transition: all 0.3s ease;
    color: var(--white);
}

.footer-social .icons i:hover {
    color: var(--guesde);
    transform: scale(1.2);
}

.footer-social .logo {
    max-width: 100px;
    margin-top: 10px;
    transition: transform 0.3s ease;
}

.footer-social .logo:hover {
    transform: scale(1.05);
}

.footer-email {
    text-align: center;
}

.footer-email address {
    font-style: normal;
    font-weight: 500;
    color: var(--white);
    font-size: 15px;
}

.footer-email address a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-email address a:hover {
    text-decoration: underline;
    color: var(--guesde);
}

.footer-bottom {
    text-align: center;
    color: #999;
    font-size: 14px;
    padding-top: 10px;
    border-top: 1px solid #333;
    margin-top: 10px;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .images-et-carte {
        flex-direction: column;
        align-items: center;
    }

    .slider-container,
    .map-container {
        width: 90%;
        margin-bottom: 2rem;
    }

    .links-and-documents-container {
        flex-direction: column;
        align-items: center;
    }

    .raccourcis,
    .telechargements {
        width: 90%;
        margin-bottom: 2rem;
    }

    .event {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .main-public {
        padding: 10px 30px;
    }

    .flip-card-container {
        gap: 30px;
    }

    .flip-card {
        width: 140px;
        height: 140px;
    }

    .stat {
        width: 80px;
        padding: 1rem 0.5rem;
    }

    .stat span {
        font-size: 2rem;
    }

    .event {
        width: 100%;
        margin-bottom: 20px;
    }

    .navbar {
        padding: 0 10px;
    }

    .nav-links {
        font-size: 14px;
    }

    .titre-sociale {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .chiffres {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .stat {
        width: calc(50% - 1rem);
    }

    .flip-card {
        width: 120px;
        height: 120px;
    }

    .flip-card-front {
        font-size: 16px;
    }

    .search-container {
        top: 80px;
        right: 10px;
    }

    footer{
        height: auto;
    }

    .footer-table tbody tr{
        display: flex;
        flex-direction: column;
        text-align: center;
    }

}

#scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--guesde);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

#scroll-to-top:hover {
    background-color: #7d0e0e;
}

#scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}


#event_form_tags{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}


form.event-form {
    background-color: var(--bg-grey);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

form.event-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--gris-ms);
}

form.event-form .form-group {
    display: flex;
    flex-direction: column;
}

form.event-form input[type="text"],
form.event-form input[type="number"],
form.event-form input[type="file"],
form.event-form input[type="date"],
form.event-form input[type="time"],
form.event-form select,
form.event-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: white;
    font-size: 1rem;
    font-family: "Causten", sans-serif;
    transition: border-color 0.2s ease;
}

form.event-form input:focus,
form.event-form select:focus,
form.event-form textarea:focus {
    outline: none;
    border-color: var(--guesde);
}

form.event-form .checkbox,
form.event-form .radio {
    display: flex;
    align-items: center;
    gap: 10px;
}

form.event-form input[type="checkbox"],
form.event-form input[type="radio"] {
    margin-right: 5px;
}

form.event-form .full-width {
    grid-column: 1 / -1;
}


form.event-form .form-errors {
    color: red;
    font-size: 0.9rem;
    margin-top: 5px;
}



.layout {
    display: flex;
    gap: 30px;
}

.sidebar {
    flex: 0 0 250px;
    background-color: var(--bg-grey);
    padding: 20px;
    border-radius: 6px;
    min-height: 100%;
}

.sidebar h2 {
    font-family: "More Sugar", sans-serif;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.sidebar ul {
    list-style: none;
    padding-left: 0;
}

.sidebar li {
    margin-bottom: 8px;
}

.sidebar a {
    color: var(--guesde);
    text-decoration: none;
}

.sidebar a:hover {
    text-decoration: underline;
}

.layout main {
    flex: 1;
}

@media (max-width: 768px) {
    .layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .layout main {
        width: 100%;
    }
}



/* ============================ login ================================================= */

.login-form-container{
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.login-form {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 100%;
    box-sizing: border-box;
}

.login-form h1 {
    text-align: center;
    margin: 1rem;
}

.login-form label {
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.login-form input[type="email"],
.login-form input[type="password"] {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1rem;
}

.login-form .checkbox {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.login-form .forgot-password {
    display: block;
    margin-top: 0.8rem;
    text-align: right;
    font-size: 0.9rem;
    color: #555;
    text-decoration: none;
}

.login-form .forgot-password:hover {
    text-decoration: underline;
    color: var(--guesde);
}

.login-form button {
    margin-top: 1.5rem;
    width: 100%;
    padding: 0.75rem;
    background-color: var(--guesde);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-form button:hover {
    background-color: #710707;
}

.alert {
    background-color: #ffdddd;
    color: #a94442;
    padding: 1rem;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.info {
    background-color: #d1ecf1;
    color: #0c5460;
    padding: 1rem;
    border: 1px solid #bee5eb;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* ================ PETITE ENFANCE ========================== */

.swiper-container {
    height: 600vh;
}

.tabs input[type="radio"] {
    display: none;
}

#tab1:checked ~ #content1,
#tab2:checked ~ #content2 {
    display: block;
}

.tab-content {
    display: none;
    border-radius: 0 0 1rem 1rem;
    padding: 2rem;
    border-top: 4px solid var(--petite-enfance-dark);
}

.petite-enfance-container {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;

    border-radius: 2rem;
}

.petite-enfance-section {
    background-color: #FFFFF0;
    border-radius: 1.5rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.petite-enfance-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.petite-enfance-grid-2col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .petite-enfance-grid-2col {
        grid-template-columns: 1fr 1fr;
    }
}

.petite-enfance-title-xl,
.petite-enfance-title-2xl {
    font-family: 'Baloo 2', cursive;
    color: var(--petite-enfance-contrast);
    text-align: center;
    margin-bottom: 1rem;
}

.petite-enfance-title-2xl {
    font-size: 2rem;
}

.petite-enfance-title-xl {
    font-size: 1.5rem;
}

.petite-enfance-list {
    list-style: none;
    padding-left: 0;
}

.petite-enfance-list li::before {
    content: '🌼';
    margin-right: 0.5rem;
}

.petite-enfance-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    text-align: center;
}

.petite-enfance-stat-block {
    width: 10rem;
    border-radius: 1.25rem;
    padding: 1rem;
    font-family: 'Baloo 2', cursive;
    background: var(--petite-enfance);
    color: var(--petite-enfance-contrast);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.petite-enfance-stat-block:hover {
    transform: scale(1.05);
}

.petite-enfance-stat-value {
    font-size: 2rem;
    font-weight: bold;
}

.tabs {
    margin: 2rem 0;
    text-align: center;
}

.tab-label {
    cursor: pointer;
    padding: 1rem 2rem;
    background: var(--petite-enfance);
    border-radius: 1rem 1rem 0 0;
    margin-right: 1rem;
    font-family: 'Baloo 2', cursive;
    color: var(--petite-enfance-contrast);
    font-size: 1.1rem;
    transition: background-color 0.3s, color 0.3s;
    display: inline-block;
    border: 1px solid #ccc;
    width: 45%;
}

.tab-label:hover,
#tab1:checked + label[for="tab1"],
#tab2:checked + label[for="tab2"] {
    background-color: var(--petite-enfance-dark);
    color: #fff;
    border-bottom: none;
    position: relative;
    top: 1px;
}

.petite-enfance-agenda-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .petite-enfance-agenda-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.petite-enfance-agenda-card {
    background: linear-gradient(135deg, #fff2a8, #fff6d1);
    border-radius: 1.25rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    text-align: center;
    font-family: 'Baloo 2', cursive;
}

.petite-enfance-agenda-date {
    font-size: 1.2rem;
    color: var(--petite-enfance-dark);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.petite-enfance-agenda-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.petite-enfance-agenda-link {
    color: var(--petite-enfance-contrast);
    background: var(--petite-enfance);
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
    transition: background 0.3s;
}

.petite-enfance-agenda-link:hover {
    background: var(--petite-enfance-dark);
    color: #fff;
}


.petite-enfance-header img {
    max-height: 80px;
    margin-right: 1rem;
}

.petite-enfance-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

/*////////////*/


.trumbowyg-editor table td {
    border: 1px solid black;
    min-width: 10px;
}


.swiper.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background: #000;
}

.swiper.fullscreen .swiper-slide img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.exit-fullscreen-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 10px 15px;
    font-size: 20px;
    border-radius: 5px;
    cursor: pointer;
}


.pole-header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 60px auto;
    text-align: center;
    flex-wrap: wrap;
}

.pole-header-container img {
    height: 5rem; /* taille augmentée */
    object-fit: contain;
}

.pole-header-container h1 {
    font-size: 3rem;
    margin: 0;
    line-height: 1;
}


.partner-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
    gap: 1.5rem;
    padding: 1rem;
}

.partner-card {
    display: flex;
    align-items: center;
    background-color: var(--guesde);
    color: #eeeeee;
    border-radius: 12px;
    padding: 0.5rem;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.partner-logo {
    width: 80px;
    height: auto;
    margin-right: 1rem;
    object-fit: contain;
    max-height: 80px;
    background-color: var(--white);
    padding: 0.5rem;
    border-radius: 5px;
}

.partner-name {
    font-size: 1.2rem;
    font-weight: 600;
    font-family: "Causten", sans-serif;
    color: var(--white);
}

.timeline-title {
    text-align: center;
    margin-bottom: 2rem;
}

.timeline-wrapper {
     position: relative;
     overflow: hidden;
     max-width: 100%;
     margin-bottom: 2rem;
     padding: 4rem 0;
     height: 160px;
 }

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--pac);
    z-index: 1;
}

.timeline-line::after {
    content: '';
    position: absolute;
    top: -12px;
    right: -3px;
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 20px solid var(--pac);
    z-index: 1;
}

.timeline-scroll-zone {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    z-index: 2;
    scroll-behavior: smooth;
}

.timeline-scroll-zone.dragging {
    cursor: grabbing;
}

.timeline-scroll {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.timeline-date-item {
    flex: 0 0 auto;
    background-color: var(--guesde);
    color: #fff;
    padding: 1.2rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s, background 0.2s;
    line-height: 1;
}

.timeline-date-item {
    border: none;
    background: var(--guesde);
    color: white;
    font: inherit;
    outline: none;
}

.timeline-date-item:focus {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.timeline-date-item:hover,
.timeline-date-item.active {
    background-color: #c81616;
    transform: scale(1.1);
}

.timeline-description-box {
    background: #fff;
    border: 2px solid var(--guesde);
    border-radius: 10px;
    padding: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
    min-height: 100px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#description-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}
#description-text.fade-out {
    opacity: 0;
}





/* Variables de couleur */
:root {
    --enfance-orange: #f68c10;
    --enfance-orange-light: #fff5eb;
    --enfance-orange-dark: #d97a0d;
    --enfance-orange-border: #f68c10;
    --enfance-text-dark: #333333;
    --enfance-text-light: #ffffff;
}

/* Structure de base */
.enfance-container {
    color: var(--enfance-text-dark);
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    font-family: 'Arial', sans-serif;
}

/* Header */
.enfance-header-container {
    padding: 2rem;
    text-align: center;
    background-color: white;
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--enfance-orange);
}

.enfance-header-logo {
    height: 80px;
    transition: transform 0.3s;
}

.enfance-header-logo:hover {
    transform: scale(1.05);
}

.enfance-header-title {
    color: var(--enfance-orange);
    font-size: 2.2rem;
    margin-top: 1rem;
    position: relative;
    display: inline-block;
}

.enfance-title-text {
    position: relative;
    z-index: 2;
}

.enfance-title-decoration {
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: rgba(246, 140, 16, 0.2);
    z-index: 1;
}

/* Cartes */
.enfance-card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 2px solid var(--enfance-orange-border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.enfance-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(246, 140, 16, 0.2);
}

/* Boutons */
.enfance-btn {
    background-color: var(--enfance-orange);
    color: var(--enfance-text-light);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.enfance-btn:hover {
    background-color: var(--enfance-orange-dark);
    transform: translateY(-2px);
}

.enfance-btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    background-color: var(--enfance-orange);
    color: var(--enfance-text-light);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: bold;
}

.enfance-btn-download:hover {
    background-color: var(--enfance-orange-dark);
}

/* Galerie */
.enfance-gallery-section {
    margin: 2rem auto;
    max-width: 1200px;
    padding: 0 1rem;
}

.enfance-gallery-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid var(--enfance-orange-border);
}

.enfance-gallery-controls {
    text-align: center;
    margin-top: 1rem;
}

/* Équipe */
.enfance-team-section {
    margin: 3rem 0;
}

.enfance-section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--enfance-orange);
    margin-bottom: 2rem;
    position: relative;
}

.enfance-section-title:after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    background: var(--enfance-orange);
    margin: 0.5rem auto;
}

.enfance-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.enfance-team-card {
    display: flex;
    flex-direction: column;
}

.enfance-team-photo {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    border-bottom: 3px solid var(--enfance-orange-border);
}

.enfance-team-info {
    flex: 1;
    padding: 1rem;
}

.enfance-team-name {
    color: var(--enfance-orange);
    margin-top: 0;
    font-size: 1.4rem;
}

/* Alternants */
.enfance-alternants-section {
    background-color: var(--enfance-orange-light);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border: 2px solid var(--enfance-orange-border);
}

.enfance-alternants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.enfance-alternant-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--enfance-orange-border);
    transition: transform 0.3s;
}

.enfance-alternant-image:hover {
    transform: scale(1.05);
}

/* Navigation */
.enfance-navigation-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}


/* Responsive */
@media (max-width: 768px) {
    .enfance-header-logo {
        height: 60px;
    }

    .enfance-header-title {
        font-size: 1.8rem;
    }

    .enfance-gallery-image {
        height: 300px;
    }

    .enfance-team-grid {
        grid-template-columns: 1fr;
    }

    .enfance-navigation-links {
        grid-template-columns: 1fr;
    }
}


/* Page 3-5 ans spécifique */
.enfance-highlight-wrapper {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.enfance-highlight {
    background-color: var(--enfance-orange-light);
    color: var(--enfance-orange-dark);
    padding: 1rem;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    flex: 1;
    min-width: 200px;
    border-left: 4px solid var(--enfance-orange);
}

.enfance-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.enfance-gallery-item {
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--enfance-orange-border);
    transition: transform 0.3s;
}

.enfance-gallery-item:hover {
    transform: scale(1.03);
}

.enfance-gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.enfance-activities-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.enfance-activity-title {
    color: var(--enfance-orange);
    border-bottom: 2px solid var(--enfance-orange-light);
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.enfance-slider-container {
    position: relative;
    margin: 1rem 0;
    border: 2px solid var(--enfance-orange-light);
    border-radius: 8px;
    padding: 1rem;
}

.enfance-fullscreen-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.enfance-files-list {
    margin-top: 1.5rem;
}

.enfance-file-link {
    display: block;
    padding: 0.8rem;
    margin: 0.5rem 0;
    background-color: #f9f9f9;
    border-left: 4px solid var(--enfance-orange);
    color: var(--enfance-text-dark);
    text-decoration: none;
    transition: all 0.3s;
    border-radius: 4px;
}

.enfance-file-link:hover {
    background-color: var(--enfance-orange-light);
    transform: translateX(5px);
}

.enfance-file-link i {
    margin-right: 0.5rem;
    color: var(--enfance-orange);
}

.enfance-no-files {
    color: #666;
    font-style: italic;
    text-align: center;
    padding: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .enfance-activities-container {
        grid-template-columns: 1fr;
    }

    .enfance-highlight {
        min-width: 100%;
    }

    .enfance-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .enfance-gallery-grid {
        grid-template-columns: 1fr;
    }
}