/* Breadcrumb */
.breadcrumb{
    margin-bottom: 18px;
}
.breadcrumb ol{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.breadcrumb li{ opacity: .9; }
.breadcrumb li + li::before{
    content: "›";
    margin-right: 8px;
    opacity: .7;
}
.breadcrumb a{
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}
.creche-switch{
    display: flex;
    gap: 10px;
    margin: 14px 0 18px;
    flex-wrap: wrap;
}
.creche-switch a{
    text-decoration: none;
    border: 1px solid rgba(20, 80, 74, 0.26);
    color: var(--color-teal-900);
    background: #fff;
    border-radius: 999px;
    padding: 8px 14px;
    font-family: "Inter", sans-serif;
    font-size: .95rem;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.creche-switch a:hover{
    transform: translateY(-1px);
    border-color: var(--color-gold-600);
    background: #fff9eb;
}
.creche-switch a.is-active{
    background: var(--color-teal-900);
    border-color: var(--color-teal-900);
    color: #fff;
}

.main-conteners{
    box-sizing: border-box;
    width: clamp(320px, 50vw, 1500px);
    margin: 0 auto;
    padding: 56px 0 72px;
}




.main-conteners::after{
    content: "";
    position: absolute;
    left: 0;
    top:75%;
    width: clamp(70px, 7vw, 150px);
    height: clamp(70px, 7vw, 150px);
    background: url("./../img/fairy/Image_b8nxwmb8nxwmb8nx.png") no-repeat center;
    background-size: contain;
    opacity: 0.9;
    pointer-events: none;
    border-radius: 50%;
}

.main-conteners::before{
    content: "";
    position: absolute;
    right: 0;
    top: 1800px;
    width: clamp(70px, 7vw, 150px);
    height: clamp(70px, 7vw, 150px);
    background: url("./../img/fairy/Image_ytoaioytoaioytoa.png") no-repeat center;
    background-size: contain;
    opacity: 0.9;
    pointer-events: none;
    border-radius: 50%;
}

body::before{
    content: "";
    position: absolute;
    right: 0;
    top: 100%;
    width: clamp(70px, 7vw, 150px);
    height: clamp(70px, 7vw, 150px);
    background: url("./../img/fairy/Image_8bkljl8bkljl8bkl.png") no-repeat center;
    background-size: contain;
    opacity: 0.9;
    pointer-events: none;
    border-radius: 50%;
}

@media (max-width: 600px){
    .main-conteners::after,
    .main-conteners::before,
    body::before{
        content: none;
        display: none;
    }
}


.creche-intro,
.creche-gallery,
.creche-team,
.creche-map-section{
    background: #ffffff;
    border: 1px solid rgba(20, 80, 74, 0.12);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 24px rgba(20, 80, 74, 0.06);
}

/* Full-bleed control: widen gallery + map without changing main-conteners */
.creche-gallery,
.creche-map-section{
    width: calc(100% + 200px);
    margin-inline: -100px;
    box-sizing: border-box;
}

.creche-intro{
    margin-bottom: 24px;
}

.creche-gallery{
    margin-bottom: 24px;
}
.creche-team{
    margin-bottom: 24px;
}

.creche-map{
    width: 100%;
    height: 430px;
    border-radius: 14px;
    border: 1px solid rgba(20, 80, 74, .18);
    overflow: hidden;
}
.leaflet-locate-btn{
    border: 0;
    background: #fff;
    color: var(--color-teal-900);
    font-family: "Inter", sans-serif;
    font-size: .82rem;
    font-weight: 700;
    padding: 8px 10px;
    cursor: pointer;
}
.leaflet-locate-btn:hover{
    background: #fff7e7;
}
.creche-map-notice{
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-teal-900);
    border: 1px solid rgba(20, 80, 74, 0.2);
    border-radius: 10px;
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 10px;
    margin: 0 0 12px 12px;
    max-width: 240px;
    box-shadow: 0 8px 16px rgba(20, 80, 74, 0.12);
}

.creche-intro h2,
.section-title-row h2{
    color: var(--color-teal-900);
    margin: 0 0 12px;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.creche-intro p,
.section-title-row p,
.team-card p{
    line-height: 1.65;
    font-family: "Inter", sans-serif;
}

.creche-intro p + p{
    margin-top: 10px;
}
.creche-highlights{
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
}
.creche-highlights li{
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid rgba(20, 80, 74, 0.12);
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f8ef 100%);
    padding: 8px 10px;
    line-height: 1.55;
    font-family: "Inter", sans-serif;
}
.creche-highlights i{
    color: var(--color-teal-900);
    font-size: 1.1rem;
    line-height: 1.3;
    margin-top: 2px;
}

.section-title-row{
    margin-bottom: 16px;
}
.section-title-row p{
    margin: 0;
    opacity: .86;
}
.section-title-row p i{
    color: var(--color-teal-900);
    font-size: 1rem;
    margin-right: 4px;
    vertical-align: text-top;
}

.carousel{
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
}

.carousel-viewport{
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(20, 80, 74, .18);
    background: #f5f6e8;
}

.carousel-track{
    display: flex;
    transition: transform .45s ease;
    will-change: transform;
}

.carousel-slide{
    min-width: 100%;
    margin: 0;
    aspect-ratio: 16 / 9;
}

.carousel-slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Evite l'effet etire uniquement sur la page "Notre foyer". */
.page-notre-foyer .carousel-slide{
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-notre-foyer .carousel-slide img{
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Evite l'effet etire sur les pages creches detail. */
.page-creche-belvaux .carousel-slide,
.page-creche-soleuvre .carousel-slide{
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-creche-belvaux .carousel-slide img,
.page-creche-soleuvre .carousel-slide img{
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.carousel-btn{
    border: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.7rem;
    color: #fff;
    background: linear-gradient(180deg, var(--color-teal-900), #0f3f3a);
    transition: transform .2s ease, background-color .2s ease;
}

.carousel-btn:hover{
    transform: translateY(-1px) scale(1.04);
    background: var(--color-gold-600);
}

.carousel-btn:active{
    transform: scale(.96);
}

.carousel-btn:focus-visible,
.carousel-dots button:focus-visible{
    outline: 2px solid var(--color-gold-claire-600);
    outline-offset: 2px;
}

.carousel-dots{
    margin-top: 14px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.carousel-dots button{
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: rgba(20, 80, 74, 0.26);
    transition: transform .2s ease, background-color .2s ease;
}

.carousel-dots button.is-active{
    background: var(--color-gold-600);
    transform: scale(1.2);
}

.team-grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.team-card{
    border: 1px solid rgba(20, 80, 74, 0.18);
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f8ef 100%);
    padding: 18px;
    transition: transform .25s ease, border-color .25s ease;
}

.team-card:hover{
    transform: translateY(-3px);
    border-color: var(--color-gold-600);
}

.team-card h3{
    color: var(--color-teal-900);
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.team-card p{
    margin: 0 0 15px;
}
.team-card p:last-child{
    margin-bottom: 0;
}
.team-photo{
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(20, 80, 74, 0.16);
    margin-bottom: 10px;
}
.team-role{
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    line-height: 1.2;
    color: #fff;
    background: var(--color-teal-900);
    border-radius: 10px;
    padding: 4px 8px;
    margin-bottom: 8px;
}

@media (max-width: 1024px){
    .team-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1200px){
    .team-grid{
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px){
    .main-conteners{
        font-size: 0.95rem;
    }

    .creche-gallery,
    .creche-map-section{
        width: 100%;
        margin-inline: 0;
    }
}

@media (max-width: 700px){
    .main-conteners{
        font-size: 0.9rem;
    }

    .creche-intro,
    .creche-gallery,
    .creche-team,
    .creche-map-section{
        padding: 16px;
        border-radius: 14px;
    }

    .carousel{
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .carousel-btn{
        width: 40px;
        height: 40px;
        justify-self: center;
    }

    .carousel-btn-prev,
    .carousel-btn-next{
        order: 2;
    }

    .carousel-viewport{
        order: 1;
    }

    .team-grid{
        grid-template-columns: 1fr;
    }

    .creche-map{
        height: 280px;
    }
}
