/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

/* FONTS */

.masquer-faq{
    display: none !important;
}



@font-face {
    font-family: 'Le Murmure_Regular';
    src:    url('fonts/Le_Murmure-Regular_web.eot');
    src:    url('fonts/Le_Murmure-Regular_web.eot?#iefix') format('embedded-opentype'),
            url('fonts/Le_Murmure-Regular_web.woff') format('woff'),
            url('fonts/Le_Murmure-Regular_web.woff2') format('woff2'),
            url('fonts/Le_Murmure-Regular_web.ttf') format('truetype'),
            url('fonts/Le_Murmure-Regular_web.svg#svgFontName') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Basteleur';
    src: url('fonts/Basteleur-Bold.woff2') format('woff2'),
        url('fonts/Basteleur-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Basteleur';
    src: url('fonts/Basteleur-Bold.woff2') format('woff2'),
        url('fonts/Basteleur-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Le Murmure';
    src: url('fonts/LeMurmure-Regular.woff2') format('woff2'),
        url('fonts/LeMurmure-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DM Sans';
    src: url('fonts/DMSans-Regular.woff2') format('woff2'),
        url('fonts/DMSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Turnpike';
    src: url('fonts/Turnpike.woff2') format('woff2'),
        url('fonts/Turnpike.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* GENERALS */

html, body {
    height: 100%;
    overscroll-behavior-y: none;
}
#post-36962 > div > div{
    display: flex;
    align-items: center;
    height: 100%;
}
.box-container{
    margin-left: 0px!important;
}
.tmb > .t-inside{
    z-index: 1;
}
.page-id-36764{
    background: url('/wp-content/uploads/2025/04/Group-26-4.svg');
    background-color: #FFEB8A;
    height: 100;
}
.page-id-36962{
    background: url('/wp-content/uploads/2025/04/Group-27-5.svg');
    background-color: #F7D8D8;
    height: 100%;
}
.container-header-menu-nav {
    position: fixed;
    top: 0;
}
.special-header-menu{
    position: fixed;
    top: 0;
}
.special-header-menu picture img{
    position: static;
}
.post-36805 > div > div > div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 90vh;
    overflow: scroll;
}

/* KEYFRAMES */

@keyframes appear-boisson{
    from{
        opacity: 0;
        transform: translateX(-50px);
        transition: all ease 0.2s;
    }to{
        opacity: 1;
        transform: translateX(50px);
        transition: all ease 0.2s;
    }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(20px); }
}

/* MENU PÄGE */

/* header */

.restaurant-header{
    padding: 15px 15px 10px 15px;
}
.header-menu{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 1;
}
.header-menu a{
    background-color: #129144;
    width: 100%;
    height: 30px;
    padding-left: 20px;
}
.header-menu > picture {
    display: contents;
}
.header-menu > picture > img{
    width: 100%;
    max-height: 64px;
    object-fit: cover;
}
.box-container{
    width: 100%!important;
}
.logo-background{
    background-color: white;
}
.container-top-menu{
    background-color: white;
    background: url('/wp-content/uploads/2025/04/Group-27-2.svg');
    background-repeat: repeat;
    object-fit: cover;
    width: 100%;
    height: 50px;
}

/* nav */

.menu-anchor-nav ul{
    display: flex;
    gap: 30px;
    align-items: center;
    padding: 5px 16px 0 16px;
    overflow: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    margin-top: 0px!important;
}
.menu-anchor-nav ul::-webkit-scrollbar {
    display: none;
}
.menu-anchor-nav ul li{
    padding: 8px 0;
}
.menu-anchor-nav ul li button{
    width: max-content;
    font-weight: 600;
    font-size: 14px;
    line-height: 14px;
    letter-spacing: 0;
    font-family: 'Poppins';
    padding: 0!important;
    background-color: transparent;
}

/* PARTS OF THE MENU */

.menu-restaurant h2, .menu-restaurant h3{
    font-family: 'Poppins';
}


.menu-restaurant > section:nth-child(6n+1),
.menu-restaurant > section:nth-child(6n+7),
.menu-restaurant > section:nth-child(6n+13)
{
    background-color: #f8dcdc;
}
.menu-restaurant > section:nth-child(6n+2),
.menu-restaurant > section:nth-child(6n+8),
.menu-restaurant > section:nth-child(6n+14) {
    background-color: #E4C9DE;
}
.menu-restaurant > section:nth-child(6n+3),
.menu-restaurant > section:nth-child(6n+9),
.menu-restaurant > section:nth-child(6n+15) {
    background-color: #90B698;
}
.menu-restaurant > section:nth-child(6n+4),
.menu-restaurant > section:nth-child(6n+10),
.menu-restaurant > section:nth-child(6n+16) {
    background-color: #AED4DE;
}
.menu-restaurant > section:nth-child(6n+5),
.menu-restaurant > section:nth-child(6n+11),
.menu-restaurant > section:nth-child(6n+17) {
    background-color: #F3723C;
}
.menu-restaurant > section:nth-child(6n),
.menu-restaurant > section:nth-child(6n+6),
.menu-restaurant > section:nth-child(6n+12),
.menu-restaurant > section:nth-child(6n+18) {
    background-color: #f3513c;
}
.menu-section h2 {
    margin-top: 0!important;
    padding: 15px;
    hyphens: auto;
    word-break: normal;
    overflow-wrap: break-word;
}

.category-description p {
    font-size: 10px;
    margin-top: 0!important;
    padding: 0px 15px 15px 15px;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
    font-family: 'Turnpike', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.container_products_category{
    display: flex!important;
    flex-wrap: wrap;
    justify-content: space-around;
    position: relative;
}
.container_products_category::after{
    content: "";
    height: 1px;
    border: 1px solid black;
    background-color: black;
    width: 100%;
    position: absolute;
    top: 0;
}
.container_products_category div{
    position: relative;
}
.row-products .menu-item {
    width: 50%;
    position: relative;
}
.row-products .menu-item:first-child::after {
    content: "";
    width: 1px;
    background-color: black;
    position: absolute;
    top: 0;
    right: -10px;
    height: 100%;
}
.row-products-mixed .menu-item:first-child::after {
    border-right: 1px dashed black;
    background: none;
}
.menu-item{
    padding: 10px;
    position: relative;
    padding: 25px 15px;
}
.menu-item h3{
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0;
    margin-top: 0!important;
    word-break: break-word;
    hyphens: auto;
}
.menu-description p{
    font-size: 12px!important;
    font-weight: 400;
    line-height: 12px!important;
    letter-spacing: 0;
}

/* BOTTOM PART */

.container-bottom-menu{
    background-repeat: repeat;
    object-fit: cover;
    padding: 50px 10px;
    display: flex;
    width: 100%;
    margin-bottom: 75px;
    display: flex;
    justify-content: center;
}
.no-background-menu{
    background-color: transparent!important;
    background: inherit!important;
}
.container-bottom-menu img{
    height: 40px;
}
.container_products_category {
    display: flex;
    flex-direction: column;
}
.row-products {
    display: flex;
    border-bottom: 1px solid #000;
    gap: 20px;
}
.menu-item h3 {
    font-weight: 600;
    margin-bottom: 4px;
}
.menu-description p {
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}
.menu-price .h3{
    margin: 5px 0;
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 0;
    text-decoration: none!important;
}
.menu-item.full-width {
    width: 100% !important;
}
.row-products .menu-item.full-width:first-child::after{
    content: none;
}
.menu-item-image-only{
    display: flex;
    justify-content: center;
    align-items: center;
}
.menu-small-image{
    position: absolute!important;
    right: 5px;
    bottom: 5px;
}
.menu-small-image img{
    max-width: 55px;
}

/* RESTAURANTS PAGE */

.container-list-restaurants{
    height: 100%;
}
.background-list-restaurants{
    background: url('/wp-content/uploads/2025/04/Group-27-2.svg');
    background-repeat: repeat;
    background-color: white;
}
.restaurant-item{
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}
* {
    -webkit-tap-highlight-color: transparent!important;
}
.restaurant-item a {
    width: 100%;
}
.restaurants-list{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.restaurants-list h1{
    font-size: 64px;
    font-weight: 600;
    line-height: 64px;
    letter-spacing: 0;
    font-family: 'Le Murmure_Regular';
}
.image-wrapper {
    position: relative;
    display: flex;
    width: 100%;
    overflow: hidden;
    border: 1.5px solid #2C60AD;
}
.image-wrapper:hover img{
    transform: scale(1.05);
    transition: all ease-in 0.3s;
}
.image-wrapper img{
    object-fit: cover;
    height: 160px;
    width: 100%;
    min-width: inherit;
    box-sizing: border-box;
    transition: all ease-in 0.3s;
}

@media(min-width: 483px){
    .image-wrapper img{
        min-width: 363px !important;
    }
}


.restaurant-description{
    position: absolute;
    left: 20px;
    bottom: 20px;
    background-color: white;
    border-radius: 5px;
}
.restaurant-description p{
    color: #2C60AD;
    font-weight: 600;
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 0;
    padding: 10px;
    margin-top: 0!important;
}
.restaurant-title{
    font-weight: 600;
    font-size: 16px!important;
    line-height: 16px;
    letter-spacing: 0px;
    color: #2C60AD;
    margin-top: 10px;
}
.container-all-restaurants{
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
}
.container-btn-all-menus, .container-btn-all-menus a {
    display: flex;
    justify-content: end;
    gap: 5px;
    width: 100%;
}
.container-btn-all-menus a{
    font-weight: 600;
    font-size: 14px;
    line-height: 14px;
    letter-spacing: 0;
    color: #000;
    font-family: 'POPPINS';
    position: relative;
    transition: all ease-in 0.2s;
}
.container-btn-all-menus a:hover{
    transform: scale(1.02);
    transition: all ease-in 0.2s;
}

/* RETURN BUTTON */

.container-return-button{
    position: fixed;
    bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    left: 0;
    z-index: 1;
}
.container-return-button a{
    transition: all ease-in 0.3s;
}
.container-return-button a:hover{
    transform: scale(1.02);
    transition: all ease-in 0.3s;
}
.no-margin-return{
    margin-bottom: 0px!important;
    background: none!important;
}
.return-btn-page-boissons{
    position: fixed;
    bottom: 30px;
}

/* ALL RESTAURANTS PAGE */

.restaurant-top-header{
    background: url('/wp-content/uploads/2025/04/Group-27-2.svg');
    background-repeat: repeat;
}
.scroll-to-section{
    padding: 0;
}
.menu-anchor-nav ul li.active{
    position: relative;
    display: flex;
    flex-direction: column;
}
.menu-anchor-nav ul li.active::after{
    content: '';
    position: absolute;
    bottom: 0;
    height: 1px;
    border: 1px solid black;
    width: 100%;
}
.menu-anchor-nav ul li:hover, .menu-anchor-nav ul li:focus, .scroll-to-section:hover, .scroll-to-section:focus{
    background-color: transparent!important;
}

/* POPUP BOISSONS */

.appear-boisson{
    animation: appear-boisson 0.2s forwards;
}

/* Optionnel : Ajuster pour les navigateurs qui ne supportent pas env() */
@supports not (bottom: env(safe-area-inset-bottom)) {
    .container-popup-boisson {
        bottom: 0;
    }
}
.container-popup-boisson{
    min-height: 100dvh;
    position: fixed;
}
.subcontainer-popup-boisson{
    position: fixed;
    bottom: 0dvh;
    left: 5%;
}
.subcontainer-popup-boisson{
    visibility: hidden;
    opacity: 0;
}
.subcontainer-popup-boisson.visible {
    opacity: 1;
    visibility: visible;
}
.container-popup-boisson .subcontainer-popup-boisson img{
    position: relative;
}
.container-popup-boisson .subcontainer-popup-boisson p{
    position: absolute;
    font-weight: 600;
    font-size: 10px;
    line-height: 10px;
    letter-spacing: 0px;
    text-align: center;
    width: 75%;
    top: 2px;
    left: 58px;
    padding: 0 25px;
}   
.subcontainer-popup-boisson {
    opacity: 0;
    visibility: hidden;
    transition: visibility 0.3s linear;
}
.subcontainer-popup-boisson.visible {
    visibility: visible;
    animation: fadeIn 0.3s forwards;
}
.subcontainer-popup-boisson.hiding {
    visibility: visible;
    animation: fadeOut 0.3s forwards;
}
.container-entire-page-menu{
    background: url('/wp-content/uploads/2025/04/Group-27-2.svg');
    background-repeat: repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}
.special-container-entire-page-menu{
    padding-top: 0px!important;
}
.subcontainer-entire-page-menu{
    max-width: 1200px;
    width: 100%;
}

/* MENU NAV */

.page-id-36764 .wpb_row.row-inner{
    display: flex!important ;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: 50px!important;
    max-width: 1200px;
}
.image-column img, #row-petite-faim img, #row-grosse-faim img, #sans-alcool img, #alcool img, #fete-musique img{
    transition: all ease-in 0.3s;
}
.image-column img:hover, #row-petite-faim img:hover, #row-grosse-faim img:hover, #sans-alcool img:hover, #alcool img:hover, #fete-musique img:hover {
    transform: scale(1.05);
    cursor: pointer;
    transition: all ease-in 0.3s;
}

/* BOISSONS PAGE */

.restaurant-item a:hover .image-wrapper-boissons img{
    transform: scale(1.1);
    transition: all ease-out 0.3s;
}
.restaurant-item a h3{
    transition: all ease-in 0.1s;
}
.restaurant-item a:hover h3{
    color: rgb(31, 50, 133);
    transition: all ease-in 0.1s;
}
.image-wrapper-boissons{
    overflow: hidden;
    height: 160px !important;
    border: 1.5px solid #3081C4;
}
.image-wrapper-boissons img{
    width: 100%;
    height: 160px;
    object-fit: cover;
    min-width: inherit;
    object-position: center center;
    box-sizing: border-box;
    object-position: center 80%;
    transition: all ease-in 0.3s;
}
@media(min-width: 483px){
    .image-wrapper-boissons img{
        min-width: 361px !important;
    }
}
.container-all-boissons{
    max-width: inherit!important;
}
.boissons-thumb{
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.sub-sub-sub-category-title{
    font-size: 18px!important;
    padding-left: 15px;
    text-decoration: underline;
}

/* NAVIGATION MENU */

    /* EATING AND DRINKING */

    .navigation-menu {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0;
    }
    .header-menu {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    .header-logo {
        height: auto;
        display: inline-block;
        position: fixed;
        top: 0;
    }
    .images-container {
        padding: 20px 0;
        margin-top: 50px;
    }
    .image-row {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-bottom: 20px;
    }
    .image-row.two-columns {
        flex-wrap: wrap;
    }
    .image-row.single-column {
        justify-content: center;
    }
    .image-column {
        flex: 1;
        max-width: 207px;
        cursor: pointer;
    }
    .section-image {
        width: 100%;
        max-width: 325px;
        height: auto;
    }

    /* ALCOOL OR NOT ALCOOL */

    .margin-boissons{
        margin-top: 50px;
    }
    #scroll-top-eye{
        transition: all ease-in 0.1s;
    }
    #scroll-top-eye:hover{
        transform: scale(1.05);
        transition: all ease-in 0.2s;
    }
    .title-resto{
        font-size: 48px!important;
        line-height: 48px;
        font-family: "Le Murmure_Regular";
        font-weight: 600;
        letter-spacing: 0;
    }
    .restaurant-description-menus p{
        font-size: 12px;
        font-weight: 400;
        line-height: 12px;
        letter-spacing: 0;
        font-family: 'Poppins';
    }

/* AXEPTIO */

button#axeptio_main_button.hbteqn {
    left: auto !important;
    right: 20px !important;
    bottom: 10px !important;
    transform: translate(0, 0) !important;
}

/* RESPONSIVE */
@media(max-width: 456px){
    .return-btn-menu{
        justify-content: end!important;
        left: -6%!important;
    }
}

@media(min-width: 483px){
    .header-menu > picture >img{
        max-height: 90px;
    }
    #axeptio_main_button{
        left: 90%!important;
    }
    .menu-anchor-nav ul{
        padding: 25px 16px 0 16px;
    }
    .title-resto{
        font-size: 60px!important;
        line-height: 60px;
    }
    .restaurant-description-menus p{
        font-size: 14px;
        line-height: 14px;
    }
    .menu-item h3{
        font-size: 15px;
    }
}
@media(min-width: 570px){
    .margin-boissons{
        margin-top: 100px;
    }
    .container-top-menu{
        height: 85px;
    }
}
@media(min-width: 600px){
    .menu-anchor-nav ul{
        padding: 50px 16px 0 16px;
    }
}
@media(min-width: 675px){
    .header-menu > picture > img{
        max-height: 125px;
    }
    .container-bottom-menu img{
        height: 45px;
    }
    .title-resto{
        font-size: 72px!important;
        line-height: 72px;
    }
    .restaurant-description-menus p{
        font-size: 17px;
        line-height: 17px;
    }
    .menu-item h3{
        font-size: 18px;
    }
}
@media(min-width: 891px){
    .header-menu > picture >img{
        max-height: 120px;
    }
}
@media(min-width: 901px){
    .container-bottom-menu img{
        height: 55px;
    }
    .title-resto{
        font-size: 90px!important;
        line-height: 90px;
    }
    .restaurant-description-menus p{
        font-size: 17px;
        line-height: 17px;
    }
}
@media(min-width: 1316px){
    .container-popup-boisson {
        left: 150px;
    }
}
@media(min-width: 1516px){
    .container-popup-boisson {
        left: 20%;
    }
}
@media(min-width: 1690px){
    .container-popup-boisson {
        left: 25%;
    }
}
@media(min-width: 2340px){
    .container-popup-boisson {
        left: 30%;
    }
}
@media(min-width: 2900px){
    .header-menu > picture >img{
        max-height: 170px;
    }
    .container-popup-boisson {
        left: 35%;
    }
    .container-entire-page-menu{
        padding-top: 150px;
    }
}


/* HEIGHT RESPONSIVE ONLY */

@media(max-height: 822px){
    .section-image {
        max-width: 255px;
    }
}
@media(max-height: 734px){
    .section-image {
        max-width: 235px;
    }
}
@media(max-height: 598px){
    .section-image {
        max-width: 180px;
    }
}
@media(max-height: 492px){
    .section-image {
        max-width: 130px;
    }
}
@media(max-height: 400px){
    .section-image {
        max-width: 110px;
    }
}




/* clément proposition : */

/* Version améliorée avec effet de chevauchement plus prononcé */

.COMMANDEMENTS {
    position: relative;
    padding: 0px 20px;
    overflow: visible;
    position: relative;
    border-top: 1px solid #000!important;
}

.COMMANDEMENTS .wpb_column {
    overflow: visible;
}

/* Container pour chaque commandement - C'EST ICI LE BACKGROUND ET BORDER */
.COMMANDEMENTS .row-internal {
    position: relative;
    max-width: 70vw;
    margin: auto;
    background: #ffffff;
    border: 1px solid #000000;
    border-radius: 12px;
    padding: 25px;
    transform-origin: center;
    transition: all 0.3s ease;
    box-shadow: 3px 6px 12px rgba(0, 0, 0, 0.15);
}

/* Les cellules individuelles (pas de background ni border) */
.COMMANDEMENTS .uncell {
    position: relative;
    z-index: 1;
}

/* Effet hover sur le row-internal */
/* .COMMANDEMENTS .row-internal:hover {
    z-index: 100 !important;
    transform: scale(1.05) rotate(0deg) translateY(-10px) !important;
    box-shadow: 6px 12px 24px rgba(0, 0, 0, 0.25);
} */



/* Commandement 02 - Penché à droite, plus visible */
.COMMANDEMENTS .row-internal:nth-child(2) {
    transform: rotate(-7.5deg) translateX(0);
    z-index: 2;
    margin-bottom: 40px; /* Chevauchement vertical important */
}

/* Commandement 03 - Au centre, légèrement incliné */
.COMMANDEMENTS .row-internal:nth-child(3) {
    transform: rotate(1.5deg) translateX(90px);
    z-index: 3;
    margin-bottom: -45px; /* Chevauchement vertical important */
}

/* Image cake à gauche du commandement 03 */
.COMMANDEMENTS .row-internal:nth-child(3)::before {
    content: '';
    position: absolute;
    left: -230px;
    top: 50%;
    transform: translateY(-50%) rotate(-15deg);
    width: 200px;
    height: 200px;
    background-image: url(https://lacommune.co/saint-etienne/wp-content/uploads/2026/01/cake.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 10;
}

/* Commandement 04 - À droite avec rotation prononcée */
.COMMANDEMENTS .row-internal:nth-child(4) {
    transform: rotate(-1deg) translateX(-30px);
    z-index: 4;
    margin-bottom: 40px; /* Chevauchement vertical important */
}

/* Commandement 05 - En bas à gauche */
.COMMANDEMENTS .row-internal:nth-child(5) {
    transform: rotate(-7.5deg) translateX(40px);
    z-index: 5;
    margin-bottom: 80px; /* Chevauchement vertical important */
}

/* Commandement 06 - En haut légèrement à gauche */
.COMMANDEMENTS .row-internal:nth-child(6) {
    transform: rotate(6deg) translateX(-30px);
    z-index: 6;
    margin-bottom: 60px; /* Chevauchement vertical important */
}

/* Image blading à droite du commandement 06 */
.COMMANDEMENTS .row-internal:nth-child(6)::after {
    content: '';
    position: absolute;
    right: -110px;
    top: 7%;
    transform: translateY(-50%) rotate(-15deg);
    width: 250px;
    height: 250px;
    background-image: url(https://lacommune.co/saint-etienne/wp-content/uploads/2026/01/blading.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 10;
}

/* Style pour les titres */
.COMMANDEMENTS .uncode_text_column p {
    margin: 0;
    padding: 0;
    left: 600px!important;
}

.COMMANDEMENTS .uncode_text_column p:first-child {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 8px;
    line-height: 1;
}

.COMMANDEMENTS .uncode_text_column p:nth-child(2) {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.2;
}

.COMMANDEMENTS .uncode_text_column p:nth-child(3) {
    font-size: 1rem;
    line-height: 1.5;
}

/* Responsive - Annule les effets sur mobile */
@media (max-width: 991px) {
    .COMMANDEMENTS .row-internal {
        margin-bottom: 30px;
        transform: rotate(0deg) translateX(0) !important;
    }
    
    /* Cache les images sur tablette */
    .COMMANDEMENTS .row-internal:nth-child(3)::before,
    .COMMANDEMENTS .row-internal:nth-child(6)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .COMMANDEMENTS .row-internal {
        margin-bottom: 15px!important;
    }
    
    .COMMANDEMENTS {
        padding: 0px 15px;
    }
    
    /* Cache les images sur mobile */
    .COMMANDEMENTS .row-internal:nth-child(3)::before,
    .COMMANDEMENTS .row-internal:nth-child(6)::after {
        display: none;
    }

    .commandements-5 p {
        top: -110px !important;
        left: 0px !important;
    }
}


.commandements-5 p {
    position: relative !important;
    bottom: 0 !important;
    top: -70px !important;
    left: 80px !important;
    color: #000 !important;
    font-family: Poppins !important;
    font-size: 15px !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: normal !important;
    border-top: 1px solid #000 !important;
    border-left: 1px solid #000 !important;
    border-right: 1px solid #000 !important;
    border-bottom: none !important;
    display: inline-block !important;
    padding: 5px 15px !important;
    border-top-right-radius: 15px !important;
    background: #fefef8 !important;
}


.Rejoignez{
    overflow: visible;
    position: relative;
    border-top: 1px solid #000!important;
}

.Rejoignez div{
    padding-top: 0!important;
}
.rejoindre p {
    position: relative !important;
    bottom: 0 !important;
    top: -29px !important;
    left: -190px !important;
    color: #000 !important;
    font-family: Poppins !important;
    font-size: 15px !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: normal !important;
    border-top: 1px solid #000 !important;
    border-left: 1px solid #000 !important;
    border-right: 1px solid #000 !important;
    border-bottom: none !important;
    display: inline-block !important;
    padding: 5px 15px !important;
    border-top-right-radius: 15px !important;
    background: #00a66a !important;
}


.Rejoignez h1 {
    color: #FFF !important;
    text-align: center !important;
    font-family: Basteleur !important;
    font-size: 48px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 24px !important; /* 50% */
}

.Rejoignez p {
    color: #FFF;
    text-align: center;
    font-family: Poppins;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 155.556% */
}

#Rejoignez a.custom-link {
    color: #FFF!important;
    text-align: center!important;
    font-family: Poppins!important;
    font-size: 18px!important;
    font-style: normal!important;
    font-weight: 400!important;
    line-height: 28px!important; /* 155.556% */
    text-transform: uppercase!important;
    padding: 3px 10px!important;
}


/* Centrer le conteneur parent */
/* .Rejoignez .row-internal .row-child .wpb_row {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
  }
  
/* Optionnel : ajuster la largeur des colonnes si besoin */
/* .Rejoignez .row-internal .wpb_column.col-lg-6 {
flex: 0 0 auto !important;
max-width: fit-content !important;
} */

/* Premier bouton aligné à droite */
.Rejoignez .row-internal .wpb_column:first-child .uncont {
display: flex !important;
justify-content: flex-end !important;
}

/* Deuxième bouton aligné à gauche */
.Rejoignez .row-internal .wpb_column:last-child .uncont {
display: flex !important;
justify-content: flex-start !important;
}

/* S'assurer que les boutons sont bien alignés */
.Rejoignez .row-internal .btn-container {
display: inline-flex !important;
}

.Rejoignez .row-internal .wpb_column:last-child .uncont span a {
background: #00a66a !important;
color: #fff !important;
border-color: #FFFFFF !important;
border-width: 1px !important;
}


.Rejoignez > div:first-of-type {
    padding-bottom: 60px!important;
}



/* Forcer la première rangée en grille 3 colonnes */
.Engagements {
    background-color:#FFFDE9 !important;
}

/* style commune-header */

/* ============================================
   STYLES PERSONNALISÉS POUR LA COMMUNE
   Bordures et backgrounds uniquement
   ============================================ */

/* Bordure sur le conteneur principal */
.commune-header > .row-parent > .row-inner {
    border: 1px solid #000000 !important;
    border-radius: 20px !important;
    background-color: #FFFDE9 !important;
    margin: 0 !important;
    padding: 36px !important;
}

/* Bordure et background "Nous rejoindre" (premier bouton) */
.commune-header .row-internal .wpb_column.col-lg-6:first-child .uncol {
    border: 1px solid #000000 !important;
    border-radius: 15px !important;
    background-color: #AED4DE !important;
}

/* Bordure et background "Nos valeurs" (deuxième bouton) */
.commune-header .row-internal .wpb_column.col-lg-6:nth-child(2) .uncol {
    border: 1px solid #000000 !important;
    border-radius: 15px !important;
    background-color: #FFEB1A !important;
}

/* Image à droite - hauteur adaptée au contenu de gauche */
/* Forcer la colonne parente à avoir une hauteur */
.commune-header .wpb_column.col-lg-4:last-child {
    min-height: 400px !important;
    position: relative !important;
}

/* Stickers à cheval sur l’image de droite : St-stickers + 1500.svg */
.header-privat .wpb_column:has(#gallery-163523) {
    position: relative !important;
}
.header-privat .wpb_column:has(#gallery-163523)::before {
    content: "";
    position: absolute;
    top: 290px;
    left: -155px;
    width: 230px;
    height: 140px;
    background-image: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/St-stickers-scaled.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 99999;
    pointer-events: none;
    transform: rotate(10deg)!important;
}

.header-privat .wpb_column:has(#gallery-163523)::after {
    content: "";
    position: absolute;
    top: 100px;
    left: -75px;
    width: 221px;
    height: 193px;
    background-image: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/1500.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 99999;
    pointer-events: none;
    transform: rotate(10deg);
}

.commune-header .wpb_column.col-lg-4:last-child .uncol {
    height: 100% !important;
}

.commune-header .wpb_column.col-lg-4:last-child .uncoltable {
    height: 100% !important;
}

.commune-header .wpb_column.col-lg-4:last-child .uncell {
    height: 100% !important;
}

.commune-header .wpb_column.col-lg-4:last-child .uncont {
    height: 100% !important;
}

.commune-header .wpb_column.col-lg-4:last-child .isotope-system {
    height: 100% !important;
}

.commune-header .wpb_column.col-lg-4:last-child .isotope-wrapper {
    height: 100% !important;
}

.commune-header .wpb_column.col-lg-4:last-child .isotope-container {
    height: 100% !important;
}

.commune-header .wpb_column.col-lg-4:last-child .tmb {
    height: 100% !important;
    width: 100% !important;
}

.commune-header .wpb_column.col-lg-4:last-child .t-inside {
    height: 100% !important;
}

.commune-header .wpb_column.col-lg-4:last-child .t-entry-visual {
    height: 100% !important;
}

.commune-header .wpb_column.col-lg-4:last-child .t-entry-visual-tc {
    height: 100% !important;
}

.commune-header .wpb_column.col-lg-4:last-child .t-entry-visual-cont {
    height: 100% !important;
    position: relative !important;
}

.commune-header .wpb_column.col-lg-4:last-child .dummy {
    display: none !important;
}

.commune-header .wpb_column.col-lg-4:last-child img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.commune-header .row-internal .wpb_column.col-lg-6 .uncol {
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    max-width: 220px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px 5px !important;
    margin: 0  !important;
}

/* Centrage du texte dans les carrés */
.commune-header .row-internal .wpb_column.col-lg-6 .uncode_text_column {
    text-align: center !important;
    margin: 0 !important;
}

.commune-header .row-internal .wpb_column.col-lg-6 .uncont {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
}

/* Adapter les images dans les carrés - FORCER MÊME HAUTEUR */
/* Agrandir les images dans les carrés (nous rejoindre / nos valeurs) */
.commune-header .row-internal .wpb_column.col-lg-6 .uncode-single-media-wrapper img {
    width: 140px !important;   /* ajuste ici (120 / 140 / 160 selon ton goût) */
    height: 140px !important;
    object-fit: contain !important; 
    display: block !important;
    margin: 0px auto 0 !important;
}


.tmb.tmb-iso-w4.tmb-iso-h4.tmb-light.tmb-overlay-text-anim.tmb-overlay-anim.tmb-overlay-middle.tmb-overlay-text-left.tmb-image-anim.tmb-bordered.tmb-id-39436.tmb-media-first.tmb-media-last.tmb-content-overlay.tmb-no-bg.tmb-lightbox.tmb-iso {
    width: auto !important;
}

.tmb.tmb-id-39436 {
    width: auto !important;
    max-width: 100% !important;
    position: relative !important;
}


.commune-header .wpb_column:last-child .isotope-container {
    height: 100% !important;
}

.commune-header .wpb_column:last-child .tmb {
    height: 100% !important;
    width: auto !important;
    max-width: 100% !important;
}



.commune-header .row .wpb_row .col-lg-6 * {
    height: 100% !important;
    box-sizing: border-box; /* pour éviter que padding/border casse la hauteur */
}

.commune-header-img .t-entry-visual img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* 'contain' si tu veux tout voir, mais avec espaces */
    display: block !important;
    position: absolute !important; /* pour remplir le parent */
    top: 0 !important;
    left: 0 !important;
    border-radius: 20px;
}

.commune-header-img .t-entry-visual {
    border: none !important;
}

/* .commune-header-text {
    max-width: 80% !important;
} */

.commune-header-text p {
    color: #000;
    font-family: Poppins;
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}


/* Image 40% et z-index : uniquement sur la page Privatisez (header-privat) */
.header-privat .commune-header-text p img {
    width: 40%!important;
    height: auto!important;
    margin-left: 0!important;
    position: relative!important;
    z-index: 50!important;
}


/* Cible le paragraphe dans la colonne texte */
/* 1. On transforme le conteneur principal en point de repère */
.commune-header {
    position: relative; /* Indispensable pour que le sticker se colle à CE bloc */
    z-index: 1;         /* S'assure que le bloc est bien géré */
    /* Pas de overflow:hidden ici, sinon le sticker sera coupé s'il dépasse ! */
}

/* 2. On crée le sticker "À propos" */
.commune-header::before {
    content: "";
    position: absolute;
    /* Réglages pour faire "dépasser" le sticker du cadre */
    top: -22px;
    left: -1%;
    width: 150px;
    height: 150px;
    
    background-image: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/about.png');
    background-size: contain;
    background-repeat: no-repeat;
    
    z-index: 10;  /* On force le sticker à être AU-DESSUS de tout (texte, images) */
    pointer-events: none; /* Permet de cliquer sur le texte "en dessous" si besoin */
}

/* ============================================
   Header privat (page Privatisez) – .header-privat
   Surcharges uniquement, n’impacte pas la page d’origine (.commune-header sans .header-privat)
   ============================================ */
.commune-header.header-privat::before {
    display: none !important;
}

.header-privat .commune-header-text p {
    color: #000 !important;
    font-family: Basteleur, serif !important;
    font-size: 48px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 64px !important;
}

/* Premier bouton : fond F7D8D8 (au lieu de AED4DE) */
.header-privat .row-internal .wpb_column.col-lg-6:first-child .uncol {
    background-color: #F7D8D8 !important;
}

/* Deuxième bouton : fond AED4DE (au lieu de FFEB1A) */
.header-privat .row-internal .wpb_column.col-lg-6:nth-child(2) .uncol {
    background-color: #AED4DE !important;
}

/* Image galerie à droite : hauteur 80% */
.header-privat .commune-header-img .t-entry-visual img {
    height: 80% !important;
}

/* 3. (Important) On rend le logo "LA COMMUNE" visible */
/* Dans votre HTML, il est bloqué à width="1", on doit forcer sa taille */
.commune-header-text img {
    width: auto !important;    
    height: 28px !important;   /* Hauteur ajustée pour correspondre au texte */
    vertical-align: middle;    /* Aligne le logo avec le texte */
    margin-right: 5px;
    display: inline-block;
}




.commune-header-3 p{
    color: #000;
    font-family: Poppins;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px; /* 116.667% */
    text-transform: uppercase;
}

.commune-header-3 .uncode-single-media {
    margin: 0px!important;
}


.commune-header-3 .wpb_column.col-lg-6 {
    width: auto !important;
}

.commune-header-3 .wpb_column.col-lg-6:first-child {
    padding-right: 0!important;
    padding-left: 0!important;
}

.commune-header-3 .wpb_column.col-lg-6:last-child {
    padding-left: 0px!important; /* ← Changez ce nombre pour l'espacement souhaité */
}

.commune-header-3 .uncol {
    display: inline-block!important;
    width: auto!important;
}


@media (min-width: 960px) {
    .commune-header-3 .row .wpb_row {
        margin-left: 0px !important; /* force uniquement sur cette section */
    }
}

.commune-header-3 .row .wpb_row{
    min-width: 75%!important;
}

.commune-header .wpb_column.col-lg-4,
.commune-header .wpb_column.col-lg-4 .uncol,
.commune-header .wpb_column.col-lg-4 .uncont,
.commune-header .wpb_column.col-lg-4 #gallery-163523,
.commune-header .wpb_column.col-lg-4 .isotope-wrapper,
.commune-header .wpb_column.col-lg-4 .isotope-container,
.commune-header .wpb_column.col-lg-4 .tmb,
.commune-header .wpb_column.col-lg-4 .t-inside,
.commune-header .wpb_column.col-lg-4 .t-entry-visual {
    height: 100% !important;
}


@media (min-width: 1350px) {
    .commune-header .wpb_column.col-lg-8 {
        padding: 0 !important;
    }
}


/**
 * Custom CSS pour la galerie d'équipe - Images rectangulaires portrait
 * Version corrigée avec object-fit renforcé
 */

/* Container principal - Ratio portrait */
.custom-team-gallery .tmb-img-ratio .dummy {
    padding-top: 140% !important;
}

/* IMPORTANT : Forcer le positionnement absolu du conteneur parent */
.custom-team-gallery .t-entry-visual-cont {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 20px;
}

/* Forcer l'image à couvrir sans déformation */
.custom-team-gallery .t-entry-visual-cont img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    max-width: none !important;
    max-height: none !important;
}

/* ✅ Ce sélecteur générique suffit et fonctionne pour toutes les images */
.custom-team-gallery .t-entry-visual-cont img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    max-width: none !important;
    max-height: none !important;
}

/* Forcer sur le lien conteneur aussi */
.custom-team-gallery .t-entry-visual-cont a {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* S'assurer que le conteneur visuel principal est bien positionné */
.custom-team-gallery .t-entry-visual {
    position: relative !important;
    width: 100% !important;
}

.custom-team-gallery .t-entry-visual-tc {
    position: relative !important;
    width: 100% !important;
}

/* Responsive */
@media (max-width: 768px) {
    .custom-team-gallery .tmb-img-ratio .dummy {
        padding-top: 140% !important;
    }
}

@media (max-width: 480px) {
    .custom-team-gallery .tmb-img-ratio .dummy {
        padding-top: 135% !important;
    }
    .commune-header .row.full-width.row-parent {
        padding: 20px!important;
    }
    .commune-header .row.full-width.row-parent .row-inner {
        padding: 15px!important;
    }
    .commune-header-text p {
        font-size: 24px!important;
    }
    .commune-header-text p img {
        width: 65%!important;
        margin-left: 0!important;
    }
    .commune-header::before{
        top: -40px!important;
        left: -20px!important;
    }
    .commune-header-3 .row .wpb_row{
        margin: 0 auto !important;
    }

}



.custom-team-text p{
    position: relative !important;
    bottom: 0 !important;
    top: -34px !important;
    left: -38px !important;
    color: #000 !important;
    font-family: Poppins !important;
    font-size: 15px !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: normal !important;
    border-top: 1px solid #000 !important;
    border-left: 1px solid #000 !important;
    border-right: 1px solid #000 !important;
    border-bottom: none !important;
    display: inline-block !important;
    padding: 5px 15px !important;
    border-top-right-radius: 15px !important;
    background: #fefef8 !important;
}

.custom-team{
    border-top: 1px solid #000 !important;
    margin: 35px 0px!important;
}

.custom-team .row.full-width.row-parent{
    padding-top: 0px !important;
}


.custom-team-gallery h3 {
    color: #080A0A;
    font-family: Basteleur;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.custom-team-gallery p {
    color: #080A0A;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}




.Engagements-text-2 {
    display: flex !important;
    gap: 24px !important;
}

.accessibilite-culturelle,
.approvisionnement-local {
    flex: 1 1 0 !important; /* grow, shrink, basis 0 = même taille */
    min-width: 0 !important; /* CRUCIAL : permet au flex-item de rétrécir */
    max-width: 50% !important; /* sécurité : max la moitié */
    
    border-radius: 20px !important;
    background: #FFF !important;
    padding: 24px !important;
    
    /* Empêcher le contenu de déborder */
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
}

.accessibilite-culturelle {
    border: 3px solid #F18BAD !important;
}

.approvisionnement-local {
    border: 3px solid #2F81C4 !important;
}

.Engagements-text-multi .col-lg-4 .uncode_text_column {
    border-radius: 20px !important;
    border: 3px solid #00A66A !important;
    background: #FFF !important;
    padding: 32px !important;
    height: 100% !important;
}


.Engagements-text-multi .col-lg-4 .uncont {
    height: 100% !important;
}

.Engagements-text-multi .text-lead {
    border-radius: 20px !important;
    border: 3px solid #907DB9 !important;
    background: #FFF !important;
    padding: 32px !important;
}

.Engagements-text-multi h3{
    color: #000 !important;
}

/* Accessibilité culturelle - Ramen */
.accessibilite-culturelle {
    position: relative !important;
    overflow: hidden !important;
}

.accessibilite-culturelle::before {
    content: "" !important;
    position: absolute !important;
    bottom: -40px !important;
    right: -40px !important;
    width: 312.003px !important;
    height: 334.999px !important;
    background-image: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/ramen-shade.svg') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    opacity: 1 !important;
    filter: drop-shadow(0 0 0 rgba(244, 151, 182, 0.20)) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

.accessibilite-culturelle > * {
    position: relative !important;
    z-index: 1 !important;
}

/* Approvisionnement local - Blading */
.approvisionnement-local {
    position: relative !important;
    overflow: hidden !important;
}

.approvisionnement-local::before {
    content: "" !important;
    position: absolute !important;
    bottom: -60px !important;
    right: -60px !important;
    width: 389.747px !important;
    height: 328.005px !important;
    background-image: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/blading-shade.svg') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    opacity: 1 !important;
    filter: drop-shadow(0 0 0 rgba(47, 129, 196, 0.10)) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

.approvisionnement-local > * {
    position: relative !important;
    z-index: 1 !important;
}

/* Responsabilité environnementale - Brocoli */
.Engagements-text-multi .col-lg-4 .uncode_text_column {
    position: relative !important;
    overflow: hidden !important;
}

.Engagements-text-multi .col-lg-4 .uncode_text_column::before {
    content: "" !important;
    position: absolute !important;
    bottom: -80px !important;
    right: -80px !important;
    width: 539.293px !important;
    height: 643.216px !important;
    background-image: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/brocoli-shade.svg') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    opacity: 1 !important;
    filter: drop-shadow(0 0 0 rgba(0, 166, 106, 0.10)) !important;
    pointer-events: none !important;
    z-index: 0 !important;
    position: absolute;
    right: -134.07px;
    top: 31.391px;
}

.Engagements-text-multi .col-lg-4 .uncode_text_column > * {
    position: relative !important;
    z-index: 1 !important;
}

/* Soutien aux artistes - Tongue */
.Engagements-text-multi .text-lead {
    position: relative !important;
    overflow: hidden !important;
}

.Engagements-text-multi .text-lead::before {
    content: "" !important;
    position: absolute !important;
    bottom: -30px !important;
    right: -30px !important;
    width: 281.003px !important;
    height: 257.002px !important;
    background-image: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/tongue-shade.svg') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    opacity: 1 !important;
    filter: drop-shadow(0 0 0 rgba(144, 125, 185, 0.15)) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

.Engagements-text-multi .text-lead > * {
    position: relative !important;
    z-index: 1 !important;
}

.Engagements-title p{
    position: relative !important;
    bottom: 0 !important;
    top: -34px !important;
    left: -30px !important;
    color: #000 !important;
    font-family: Poppins !important;
    font-size: 15px !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: normal !important;
    border-top: 1px solid #000 !important;
    border-left: 1px solid #000 !important;
    border-right: 1px solid #000 !important;
    border-bottom: none !important;
    display: inline-block !important;
    padding: 5px 15px !important;
    border-top-right-radius: 15px !important;
    background: #FFFDE9 !important;
}

.Engagements .row.double-top-padding.double-bottom-padding.single-h-padding.full-width.row-parent{
    padding-top: 0px !important;
}

.custom-team-gallery h3,
.COMMANDEMENTS h3,
.Engagements h3,
.Rejoignez h3{
    font-family: 'Basteleur', sans-serif !important;
    font-weight: bold !important;
}

.commandements-number p:first-of-type {
    font-family: 'Le Murmure_Regular', sans-serif !important;

}

/* Bloc #clem-fonctionnement : ne pas appliquer Le Murmure au premier paragraphe */
#clem-fonctionnement .commandements-number p:first-of-type {
    font-family: inherit !important;
    color: #000!important;
    font-family: Poppins!important;
    font-size: 16px!important;
    font-style: normal!important;
    font-weight: 400!important;
    line-height: normal!important;
}

.commandements-number h3{
    margin-bottom: 27px !important;
}


.Engagements-text-multi .col-lg-8 {
    width: 50%!important;
}


@media (max-width: 480px) {
    .COMMANDEMENTS .row-internal{
        max-width: 100%!important;
    }
    .COMMANDEMENTS .row.full-width.row-parent{
        padding: 36px 0!important;
    }
    .rejoindre p {
        top: -29px !important;
        left: -35px !important;
    }
    .green-bloc p:first-of-type { 
        padding: 5px 15px !important;
    }
    .green-bloc p:first-child{ 
        padding: 5px 15px !important;
    }

}


/* Forcer les colonnes à être pleine largeur et centrées sur mobile */
@media (max-width: 768px) {
    /* Le row qui contient les boutons */
    .Rejoignez .row-internal {
        display: block !important;
        text-align: center !important;
    }

    /* Chaque colonne contenant un bouton */
    .Rejoignez .row-internal .wpb_column {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 1rem !important; /* espace entre les boutons */
        text-align: center !important;
    }

    /* Conteneur du bouton */
    .Rejoignez .btn-container {
        display: inline-block !important;
        width: auto !important;
        text-align: center !important;
    }
}




/* ============================================
   COMMUNE EVENT FORM – Formulaire 3 étapes (shortcode [commune_form])
   Étape 1 : 2 cartes (Espace complet / Espace partiel)
   Étape 2 : options partiel (affichée si partiel)
   Étape 3 : Compléter le formulaire
   ============================================ */

.commune-event-form-wrapper {
    margin: 0 auto;
    padding: 20px 15px 60px;
}

/* Bloc #form-privat : fond FFFDE9 uniquement dans la div Compléter le formulaire */
#form-privat .commune-event-form-wrapper {
    background-color: transparent;
}

.commune-event-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Titre d’étape avec numéro */
.commune-event-step-title {
    font-family: 'Basteleur', 'Le Murmure_Regular', sans-serif;
    font-size: 1.75rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    color: #000;
}

.commune-event-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/star-form.png') center/contain no-repeat;
    color: #000;
    font-size: 1.75rem;
    font-weight: bold;
}

/* Cartes formule – centrées, même largeur et même hauteur */
.commune-event-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    max-width: 100%;
    margin: 0 auto;
}

@media (max-width: 1025px) {
    .commune-event-cards {
        gap: 35px;
    }
}

.commune-event-card {
    position: relative;
    width: 470px;
    max-width: 100%;
    min-width: 0;
    background: #fff;
    border: 1px solid #000;
    border-radius: 16px;
    padding: 20px;
    padding-top: 26px;
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    font-family: Poppins, sans-serif;
    box-shadow: 3px 6px 12px rgba(0, 0, 0, 0.12);
}

.commune-event-card:nth-child(1) {
    transform: rotate(-4deg);
    z-index: 1;
    margin-right: -8px;
}
.commune-event-card:nth-child(2) {
    transform: rotate(4deg);
    z-index: 2;
    margin-left: -8px;
}

/* Anneau en haut à droite : image Ellipse-1.svg */
.commune-event-card::before {
    content: "";
    position: absolute;
    top: -37px;
    right: -36px;
    left: auto;
    width: 72px;
    height: 68px;
    background: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/Ellipse-1.svg') center/contain no-repeat;
    z-index: 2;
}

/* Petit point gris à l’intersection (à placer avec top/right) */
.commune-event-card::after {
    content: "";
    position: absolute;
    top: 21px;
    right: 19px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #b0b0b0;
    z-index: 1;
}

.commune-event-card:hover {
    box-shadow: 6px 12px 24px rgba(0, 0, 0, 0.18);
}
.commune-event-card:nth-child(1):hover {
    transform: rotate(-4deg) translateY(-4px);
}
.commune-event-card:nth-child(2):hover {
    transform: rotate(4deg) translateY(-4px);
}

.commune-event-card.selected {
    border: 3px solid #000;
    box-shadow: 4px 8px 16px rgba(0, 0, 0, 0.2);
}
.commune-event-card.selected:nth-child(1) {
    transform: rotate(-4deg);
}
.commune-event-card.selected:nth-child(2) {
    transform: rotate(4deg);
}
.commune-event-card.selected:nth-child(1):hover {
    transform: rotate(-4deg) translateY(-4px);
}
.commune-event-card.selected:nth-child(2):hover {
    transform: rotate(4deg) translateY(-4px);
}

.commune-event-card-title {
    display: block;
    font-family: 'Basteleur', sans-serif;
    font-size: 1.4rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
    color: #000;
}

.commune-event-card-tag {
    display: inline-block;
    background: #F3723C;
    color: #000;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.commune-event-card-desc {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0 0 1rem 0;
    color: #333;
}

.commune-event-card-features {
    list-style: none;
    margin: 0 0 1rem 0;
    padding: 0;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #333;
}

.commune-event-card-features li {
    padding-left: 1.85em;
    position: relative;
}

.commune-event-card-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 1.25em;
    height: 1.25em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Carte 1 – Espace complet : people, map, song, fork, wifi, calendar */
.commune-event-card:nth-child(1) .commune-event-card-features li:nth-child(1)::before { background-image: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/Icon-peaple.svg'); }
.commune-event-card:nth-child(1) .commune-event-card-features li:nth-child(2)::before { background-image: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/Icon-map.svg'); }
.commune-event-card:nth-child(1) .commune-event-card-features li:nth-child(3)::before { background-image: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/Icon-song.svg'); }
.commune-event-card:nth-child(1) .commune-event-card-features li:nth-child(4)::before { background-image: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/Icon-fork.svg'); }
.commune-event-card:nth-child(1) .commune-event-card-features li:nth-child(5)::before { background-image: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/Icon-wifi.svg'); }
.commune-event-card:nth-child(1) .commune-event-card-features li:nth-child(6)::before { background-image: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/Icon-calendar.svg'); }

/* Carte 2 – Espace partiel (Lyon 4 items, Saint-Étienne 6 items) : people, map, song, fork, fork (bar/cuisine), wifi */
.commune-event-card:nth-child(2) .commune-event-card-features li:nth-child(1)::before { background-image: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/Icon-peaple.svg'); }
.commune-event-card:nth-child(2) .commune-event-card-features li:nth-child(2)::before { background-image: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/Icon-map.svg'); }
.commune-event-card:nth-child(2) .commune-event-card-features li:nth-child(3)::before { background-image: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/Icon-song.svg'); }
.commune-event-card:nth-child(2) .commune-event-card-features li:nth-child(4)::before { background-image: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/Icon-fork.svg'); }
.commune-event-card:nth-child(2) .commune-event-card-features li:nth-child(5)::before { background-image: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/Icon-fork.svg'); }
.commune-event-card:nth-child(2) .commune-event-card-features li:nth-child(6)::before { background-image: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/Icon-wifi.svg'); }

.commune-event-card-price {
    display: block;
    font-family: 'Basteleur', sans-serif;
    font-size: 1.25rem;
    font-weight: bold;
    color: #000;
    margin-top: 8px;
}

/* Section options Espace partiel – même étoile pour le numéro */
.commune-event-options-partiel .commune-event-step-title .commune-event-step-num {
    background: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/star-form.png') center/contain no-repeat;
}

/* Titre étape avec "Voir le plan" à côté */
.commune-event-step-title--with-plan {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 1.5rem;
}

.commune-event-step-title-text {
    flex: 1;
    min-width: 0;
}

.commune-form-plan-btn {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    background: transparent;
    border: 1px solid #000;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.commune-form-plan-btn:hover {
    background: #000;
    color: #fff;
}

.commune-event-options-card {
    /* pas de boîte autour : seulement les cartes espaces */
}

.commune-event-options-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.commune-event-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: Poppins, sans-serif;
    font-size: 1rem;
    font-weight: 500;
}

.commune-event-option input {
    width: 20px;
    height: 20px;
    accent-color: #00a66a;
}

.commune-event-option-label {
    user-select: none;
}

/* Options Espace partiel : cartes au format commune-espaces – style renforcé */
#commune-options-partiel .commune-event-options-card {
    /* pas de boîte : uniquement les cartes espaces visibles */
}

.commune-event-options-card .commune-espaces-list--form,
#commune-options-partiel .commune-espaces-list.commune-espaces-list--form {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1.75rem;
}

/* Carte option : layout icône + titre + description, style plus marqué */
.commune-espaces-card--option {
    position: relative;
    cursor: pointer;
    display: grid !important;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0.5rem 1.25rem;
    align-items: start;
    padding: 1.25rem 1.35rem;
    background: #fff;
    border: 2px solid #e0ddd4;
    border-radius: 16px;
    min-height: 88px;
    transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease, background 0.2s ease;
    overflow: hidden;
}

.commune-espaces-card--option:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(240, 136, 153, 0.15);
    border-color: #000;
}

.commune-espaces-card--option:has(input:checked) {
    border: 2px solid #F08899;
    background: #fefef8;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(240, 136, 153, 0.25);
}

/* Placement explicite des éléments dans la carte option */
.commune-espaces-card--option .commune-espaces-option-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.commune-espaces-card--option .commune-espaces-card-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    grid-column: 1;
    grid-row: 1;
    padding: 6px;
    box-sizing: border-box;
    background: #FFFDE9;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.commune-espaces-card--option .commune-espaces-card-title {
    margin: 0;
    font-family: 'Basteleur', Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #000;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    line-height: 1.2;
}

.commune-espaces-card--option .commune-espaces-card-desc {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.45;
    color: #444;
    grid-column: 1 / -1;
    grid-row: 2;
    font-family: Poppins, sans-serif;
}

.commune-espaces-option-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Bloc « Compléter le formulaire » – 2 colonnes côte à côte, même largeur */
.commune-event-form-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
    align-items: stretch;
    border: 1px solid #000;
    border-radius: 20px;
    padding: 28px 24px;
}
#form-privat .commune-event-form-block {
    background-color: #FFFDE9;
}

/* Titre dans la colonne gauche – plus gros */
.commune-event-form-block-title {
    color: #000!important;
    text-align: center!important;
    font-family: Basteleur!important;
    font-size: 32px!important;
    font-style: normal!important;
    font-weight: 400!important;
    line-height: 64px!important; /* 200% */
    gap: 12px!important;
}

/* Même taille et fond que l’étape 1 (Sélectionner votre formule) */
.commune-event-form-block-title .commune-event-step-num {
    width: 80px;
    height: 80px;
    font-size: 1.75rem;
    background: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/star-form.png') center/contain no-repeat;
    color: #000;
}

/* Colonne gauche : hauteur 100 %, personnage en bas */
.commune-event-form-left {
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.commune-event-form-intro {
    margin-bottom: 1.5rem;
}

.commune-event-form-intro p {
    color: #000;
    font-family: Poppins, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    margin: 0 0 0.5rem 0;
}

.commune-event-form-intro p:last-of-type {
    margin-bottom: 1.5rem;
}

/* Personnage buble.svg tout en bas : la zone prend l’espace restant, contenu aligné en bas */
.commune-event-form-character {
    margin-top: auto;
    flex: 1 1 0;
    min-height: 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.commune-form-buble {
    width: 200px;
    height: auto;
    max-width: 100%;
    display: block;
}

.commune-form-sign {
    position: absolute;
    top: 135px;
    right: 115px;
    height: 35px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    object-position: center bottom;
    transform: rotate(145deg);
}
/* Colonne droite (formulaire) – même largeur que la gauche */
.commune-event-form-fields {
    min-width: 0;
}

.commune-event-form-fields .commune-form-row--3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

/* Bouton ENVOYER dans le bloc formulaire événement : blanc, bordure noire */
.commune-event-form-block .commune-form-submit {
    background-color: transparent!important;
    color: #000;
    border: 1px solid #000;
    color: #000;
    text-align: center !important;
    font-family: Poppins !important;
    font-size: 18px;
    font-style: normal;
    font-weight: 400 !important;
    line-height: 28px;
    text-transform: uppercase;
}

.commune-event-form-block .commune-form-submit:hover {
    background: #f5f5f5;
}

/* [commune_form] – Responsive tablette et mobile */
@media (max-width: 768px) {
    #form-privat .row.full-width.row-parent {
        padding: 0 !important;
    }
    .commune-event-step-title--with-plan .commune-form-plan-btn {
        flex-basis: 100%;
        margin-top: 0.25rem;
    }
    .commune-event-form-character {
        display: none !important;
    }
    .commune-event-cards {
        flex-direction: column;
        align-items: center;
        max-width: 100%;
    }
    .commune-event-card {
        max-width: 100%;
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .commune-event-card:nth-child(1),
    .commune-event-card:nth-child(2) {
        transform: none;
    }
    .commune-event-card:hover,
    .commune-event-card.selected:nth-child(1),
    .commune-event-card.selected:nth-child(2),
    .commune-event-card.selected:nth-child(1):hover,
    .commune-event-card.selected:nth-child(2):hover {
        transform: translateY(-4px);
    }
    .commune-event-form-fields .commune-form-row--3 {
        grid-template-columns: 1fr;
    }
    .commune-event-form-block {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .commune-event-step-title {
        font-size: 1.35rem;
    }
    .commune-event-card {
        padding: 18px;
    }
    /* Cartes options partiel : titre → image → description (mobile uniquement) */
    .commune-espaces-card--option {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }
    .commune-espaces-card--option .commune-espaces-card-title {
        order: 1;
    }
    .commune-espaces-card--option .commune-espaces-card-icon {
        order: 2;
        margin: 0 auto;
    }
    .commune-espaces-card--option .commune-espaces-card-desc {
        order: 3;
    }
}

/* ============================================
   COMMUNE FORM – Champs communs (labels, inputs, bouton)
   ============================================ */

.commune-form-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px 60px;
    background-color: #FFFDE9;
}

.commune-form-main-title {
    font-family: 'Le Murmure_Regular', sans-serif;
    font-size: 48px;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    color: #000;
}

.commune-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Section = bloc avec sticker label */
.commune-form-section {
    position: relative;
    overflow: visible;
}

.commune-form-section-label {
    position: relative;
    top: -12px;
    left: 0;
    display: inline-block;
    color: #000;
    font-family: Poppins, sans-serif;
    font-size: 15px;
    font-weight: 800;
    line-height: normal;
    border: 1px solid #000;
    border-bottom: none;
    border-top-right-radius: 15px;
    padding: 5px 15px;
    background: #fefef8;
    margin-bottom: 0;
    z-index: 2;
}

.commune-form-section--project .commune-form-section-label { background: #AED4DE; }
.commune-form-section--prefs .commune-form-section-label { background: #FFEB1A; }

/* Carte = conteneur blanc bordé */
.commune-form-card {
    background: #fff;
    border: 1px solid #000;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 3px 6px 12px rgba(0, 0, 0, 0.15);
    position: relative;
}

/* Lignes et champs */
.commune-form-row {
    margin-bottom: 0.25rem;
}

.commune-form-row:last-child {
    margin-bottom: 0;
}

.commune-form-row--2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.commune-form-field {
    margin: 0;
}

.commune-form-field label {
    display: block;
    color: #000;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    margin-bottom: 6px;
}

.commune-form-field .required {
    color: #f3513c;
}

.commune-form-field input[type="text"],
.commune-form-field input[type="email"],
.commune-form-field input[type="tel"],
.commune-form-field select,
.commune-form-field textarea {
    width: 100%;
    font-family: Poppins, sans-serif;
    font-size: 16px;
    padding: 12px 16px;
    border: 1px solid #000;
    border-radius: 12px;
    background: #fff;
    color: #000;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.commune-form-field input:focus,
.commune-form-field select:focus,
.commune-form-field textarea:focus {
    outline: none;
    border-color: #2C60AD;
    box-shadow: 0 0 0 2px rgba(44, 96, 173, 0.2);
}

.commune-form-field textarea {
    min-height: 120px;
    resize: vertical;
}

/* Bouton submit */
.commune-form-actions {
    display: flex;
    justify-content: right;
    padding-top: 1rem;
}

.commune-form-submit {
    font-family: Poppins, sans-serif;
    font-size: 18px;
    font-weight: 600;
    padding: 14px 40px;
    background: #00a66a;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.2s ease-in, background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.commune-form-submit:hover {
    transform: scale(1.02);
    background: #008f5a;
}

/* Responsive formulaire */
@media (max-width: 768px) {
    .commune-form-row--2 {
        grid-template-columns: 1fr;
    }

    .commune-form-main-title {
        font-size: 36px;
    }

    .commune-form-card {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .commune-form-wrapper {
        padding: 15px 10px 40px;
    }

    .commune-form-section-label {
        font-size: 13px;
        padding: 4px 12px;
    }
}

/* ==========================================================================
   Section "Projetez-vous!" / 6 espaces [commune_espaces]
   ========================================================================== */
#clem-espaces {
    background: #FFFDE9;
}

#clem-espaces  .row.full-width.row-parent{
padding-left: 0!important;
padding-right: 0!important;
padding-bottom: 0!important;
}



.commune-espaces {
    margin: 0;
    padding: 0;
}

.commune-espaces-hero {
    background: #26B163;
    padding: 1.2rem 1.5rem;
    text-align: center;
    border-top-right-radius: 130px !important;
}

.commune-espaces-hero-title {
    color: #FFF!important;
    font-family: Basteleur!important;
    font-size: 64px!important;
    font-style: normal!important;
    font-weight: 400!important;
    line-height: 80px!important; /* 125% */
    margin: 40px auto!important;
}

.commune-espaces-section {
    background: #FFFDE9;
    padding: 2rem 1.5rem 2.5rem;
    position: relative;
    border-top: 1px solid #000;


}

.commune-espaces-label {
    position: relative !important;
    bottom: 0 !important;
    top: -66px !important;
    left: -25px !important;
    color: #000 !important;
    font-family: Poppins, sans-serif !important;
    font-size: 15px !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: normal !important;
    border-top: 1px solid #000 !important;
    border-left: 1px solid #000 !important;
    border-right: 1px solid #000 !important;
    border-bottom: none !important;
    display: inline-block !important;
    padding: 5px 15px !important;
    border-top-right-radius: 15px !important;
    background: #FFFDE9 !important;
}

.commune-espaces-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-bottom: 0.5rem;
}

.commune-espaces-title {
    color: #000!important;
    font-family: Basteleur!important;
    font-size: 36px!important;
    font-style: normal!important;
    font-weight: 400!important;
    line-height: 80px!important; /* 222.222% */
    margin: 0!important;
}

.commune-espaces-plan-btn {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    background: transparent;
    border: 1px solid #000;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.commune-espaces-plan-btn:hover {
    background: #000;
    color: #fff;
}

/* Modal plan (injectée dans wp_footer pour ne pas être coupée par overflow du thème) */
.commune-espaces-plan-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.commune-espaces-plan-modal--open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.commune-espaces-plan-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.commune-espaces-plan-modal-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.commune-espaces-plan-modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    padding: 0;
    font-size: 28px;
    line-height: 1;
    color: #000;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    z-index: 2;
}

.commune-espaces-plan-modal-close:hover {
    opacity: 1;
}

.commune-espaces-plan-modal-img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    display: block;
}

/* Modal "Voir le plan" du formulaire – affiche commune-espaces-grid (carte + liste) */
.commune-form-plan-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.commune-form-plan-modal--open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.commune-form-plan-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.commune-form-plan-modal-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1;
    overflow: auto;
}

.commune-form-plan-modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    padding: 0;
    font-size: 28px;
    line-height: 1;
    color: #000;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    z-index: 2;
}

.commune-form-plan-modal-close:hover {
    opacity: 1;
}

.commune-espaces-grid--modal {
    max-width: 900px;
    gap: 2rem;
    padding-top: 1rem;
}

.commune-espaces-grid--modal .commune-espaces-list {
    gap: 1.25rem 1.5rem;
}

.commune-espaces-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.commune-espaces-map {
    position: relative;
}

.commune-espaces-map-img {
    width: 100%;
    height: auto;
    display: block;
}

.commune-espaces-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem 1.5rem;
}

/* Carte : image à gauche, titre à droite, description en dessous */
.commune-espaces-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0.35rem 1rem;
    align-items: start;
}

.commune-espaces-card-icon {
    width: 48px;
    height: auto;
    object-fit: contain;
    display: block;
    grid-column: 1;
    grid-row: 1;
}

.commune-espaces-card-title {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #000;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
}

.commune-espaces-card-desc {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #333;
    grid-column: 1 / -1;
    grid-row: 2;
}

.commune-espaces-cta {
    margin-top: 2rem;
    text-align: right;
}

.commune-espaces-btn {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    border: 1px solid #000;
    border-radius: 50px;
    letter-spacing: 0.08em;
    text-decoration: none;
    background: transparent;
    text-align: center;
    font-family: Poppins;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    text-transform: uppercase;
}

.commune-espaces-btn:hover {
    background: #000;
    color: #fff;
}

/* commune_espaces – responsive (tablette + mobile) */
@media (max-width: 768px) {
    .commune-espaces-hero {
        border-top-right-radius: 70px !important;
    }
    .commune-espaces-hero-title {
        font-size: 38px !important;
    }
    .commune-espaces-title {
        line-height: 45px !important;
    }
}

@media (max-width: 900px) {
    .commune-espaces-grid {
        grid-template-columns: 1fr;
    }

    .commune-espaces-map {
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .commune-espaces-list {
        grid-template-columns: 1fr;
    }

    .commune-espaces-cta {
        text-align: center;
    }
}

/* ============================================
   BIEN MANGER – Trois formats (id clem-bien-manger)
   Fond #F7D8D8, label style commune-espaces, titre Basteleur, cartes blanches
   ============================================ */
#clem-bien-manger {
    background-color: #F7D8D8 !important;
}

#clem-bien-manger .row-parent,
#clem-bien-manger .row-inner {
    background-color: transparent !important;


}

/* "Bien manger" : même style que .commune-espaces-label (sticker) */
#p-bien-manger p {
    position: relative !important;
    bottom: 0 !important;
    top: -34px !important;
    left: -220px !important;
    color: #000 !important;
    font-family: Poppins, sans-serif !important;
    font-size: 15px !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: normal !important;
    border-top: 1px solid #000 !important;
    border-left: 1px solid #000 !important;
    border-right: 1px solid #000 !important;
    border-bottom: none !important;
    display: inline-block !important;
    padding: 5px 15px !important;
    border-top-right-radius: 15px !important;
    background: #F7D8D8 !important;
}

/* Titre : Basteleur, 36px, line-height 80px */
#clem-bien-manger .column_parent .vc_custom_heading_wrap .heading-text h2,
#clem-bien-manger .column_parent h2 {
    color: #000 !important;
    font-family: Basteleur, serif !important;
    font-size: 36px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 80px !important;
    text-align: left !important;
}

/* Cartes : fond blanc, bordure, texte noir */
#clem-bien-manger .column_child .uncell {
    background-color: #fff !important;
    border: 1px solid #000 !important;
    border-radius: 16px !important;
    color: #000;
    padding: 1.5rem !important;
    box-shadow: 3px 6px 12px rgba(0, 0, 0, 0.08);
}

/* Conteneur du titre de carte : flex pour centrage */
#clem-bien-manger .column_child .heading-text.el-text {
    display: flex !important;
    justify-content: left;
}

#clem-bien-manger .column_child h3 {
    color: #000 !important;
    font-family: Basteleur, serif !important;
    font-size: 24px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    text-transform: uppercase !important;
    margin-bottom: 1rem !important;
}

#clem-bien-manger .column_child .uncode_text_column p {
    color: #000 !important;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Image dans chaque carte : bordure noire, coins arrondis */
#clem-bien-manger .column_child .uncode-single-media-wrapper,
#clem-bien-manger .column_child .t-entry-visual .uncode-single-media-wrapper {
    border-radius: 12px !important;
    overflow: hidden;
}

/* Bordure haute uniquement sur les rows avec ce groupe de classes */
#clem-bien-manger .row.double-top-padding.double-bottom-padding.single-h-padding.full-width.row-parent {
    border-top: 1px solid #000;
    padding-top: 0!important;
    padding-bottom: 140px!important;
}

@media (max-width: 768px) {
    #clem-bien-manger .column_parent .vc_custom_heading_wrap .heading-text h2,
    #clem-bien-manger .column_parent h2 {
        line-height: 45px !important;
    }
    #p-bien-manger p {
        left: 30px !important;
    }
}

/* ============================================
   BIEN BOIRE – Un bar sur-mesure (id clem-bien-boire)
   Même structure que bien-manger, fond #AED4DE, label #p-bien-boire
   ============================================ */
#clem-bien-boire {
    background-color: #AED4DE !important;
}

#clem-bien-boire .row-parent,
#clem-bien-boire .row-inner {
    background-color: transparent !important;
}

/* "bien boire" : sticker (top/left différents de bien-manger) */
#p-bien-boire p {
    position: relative !important;
    bottom: 0 !important;
    top: -70px !important;
    left: 500px !important;

    color: #000 !important;
    font-family: Poppins, sans-serif !important;
    font-size: 15px !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: normal !important;
    border-top: 1px solid #000 !important;
    border-left: 1px solid #000 !important;
    border-right: 1px solid #000 !important;
    border-bottom: none !important;
    display: inline-block !important;
    padding: 5px 15px !important;
    border-top-right-radius: 15px !important;
    background: #AED4DE !important;
}

/* Titre principal : Basteleur, 36px, line-height 80px */
#clem-bien-boire .column_parent .vc_custom_heading_wrap .heading-text h2,
#clem-bien-boire .column_parent h2 {
    color: #000 !important;
    font-family: Basteleur, serif !important;
    font-size: 36px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 80px !important;
    text-align: left !important;
}

/* Cartes : fond blanc, bordure, texte noir */
#clem-bien-boire .column_child .uncell {
    background-color: #fff !important;
    border: 1px solid #000 !important;
    border-radius: 16px !important;
    color: #000;
    padding: 1.5rem !important;
    box-shadow: 3px 6px 12px rgba(0, 0, 0, 0.08);
}

#clem-bien-boire .column_child .heading-text.el-text {
    display: flex !important;
    justify-content: left;
}

/* Espace entre titre h3 et image : margin-top 0 sur le bloc média */
#clem-bien-boire .column_child .uncode-single-media.text-left {
    margin-top: 0 !important;
}

/* Cartes bien-boire : h3 avec police Basteleur 24px */
#clem-bien-boire .column_child h3 {
    color: #000 !important;
    font-family: Basteleur, serif !important;
    font-size: 24px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    margin-bottom: 1rem !important;
}

#clem-bien-boire .column_child .uncode-single-media-wrapper,
#clem-bien-boire .column_child .t-entry-visual .uncode-single-media-wrapper {
    border-radius: 12px !important;
    overflow: hidden;
}

#clem-bien-boire .row.full-width.row-parent {
    border-top: 1px solid #000;
}

@media (max-width: 768px) {
    #clem-bien-boire .column_parent .vc_custom_heading_wrap .heading-text h2,
    #clem-bien-boire .column_parent h2 {
        line-height: 45px !important;
    }
    #p-bien-boire p {
        left: 80px !important;
    }
}

.text-bien-boire{
    color: #000!important;
    font-family: Poppins!important;
    font-size: 18px!important;
    font-style: normal!important;
    font-weight: 400!important;
    line-height: 28px!important; /* 155.556% */
}

/* ============================================
   ILS NOUS ONT FAIT CONFIANCE (id clem-confiance)
   Version simple : 3 colonnes égales, pas de flex agressif, espace avant footer
   ============================================ */
#clem-confiance {
    padding-bottom: 8rem !important;
    margin-bottom: 6rem !important;
}

#clem-confiance .row-parent,
#clem-confiance .row-inner {
    background-color: transparent !important;
}

/* Conteneur : pas de flex (évite que le bloc passe sous le footer) */
#clem-confiance .row-parent > .row-inner {
    width: 100% !important;
}

/* Tous les enfants directs (wpb_column ou column_parent) : même largeur */
#clem-confiance .row-parent > .row-inner > * {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: 33.333% !important;
    max-width: 33.333% !important;
    box-sizing: border-box !important;
}

/* Carte témoignage : style visuel */
#clem-confiance .row-internal .column_child .uncell {
    background-color: #fff !important;
    border: 1px solid #000 !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    box-shadow: 3px 6px 12px rgba(0, 0, 0, 0.08) !important;
}

#clem-confiance .row-internal .column_child .uncode_text_column p {
    margin-top: 0 !important;
}

/* Logo : max 110px */
#clem-confiance .row-internal .column_child .uncode-single-media-wrapper {
    border-radius: 12px !important;
    overflow: hidden !important;
    margin-bottom: 1rem !important;
    max-height: 110px !important;
}

#clem-confiance .row-internal .column_child .uncode-single-media-wrapper img {
    max-height: 110px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

#clem-confiance .row-internal .column_child .uncode-single-media.text-left {
    margin-top: 0 !important;
}

/* Texte : Poppins 18px / 28px */
#clem-confiance .row-internal .column_child .uncode_text_column p {
    color: #000 !important;
    font-family: Poppins, sans-serif !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 28px !important;
    margin: 0 !important;
    text-align: left !important;
}

#confiance-title h2 {
    color: #000!important;
    font-family: Basteleur!important;
    font-size: 36px!important;
    font-style: normal!important;
    font-weight: 400!important;
    line-height: 80px!important; /* 222.222% */
}

@media (max-width: 768px) {
    #confiance-title h2 {
        line-height: 45px !important;
    }
}

@media (max-width: 768px) {
    #clem-confiance .row-parent > .row-inner > * {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ============================================
   FAQ "Des questions ?" (shortcode [commune_faq])
   ============================================ */
.commune-faq {
    padding: 2rem 0;
}

.commune-faq-title {
    color: #000;
    font-family: Basteleur, serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: 80px;
    margin: 0 0 4rem 0;
}

.commune-faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 70%;
    margin: auto;
}

@media (max-width: 768px) {
    .commune-faq-list {
        width: 100%;
    }
}

.commune-faq-item:last-child {
    border-bottom: none;
}

.commune-faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
    padding: 1rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
}

.commune-faq-question {
    color: #000;
    font-family: Poppins, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 800;
    line-height: 24px;
    text-transform: uppercase;
    flex: 1;
    min-width: 0;
}

.commune-faq-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.commune-faq-icon .commune-faq-icon-svg {
    display: block;
}

.commune-faq-answer {
    padding: 0 0 1rem 0;
    color: #000;
    font-family: Poppins, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.commune-faq-answer[hidden] {
    display: none;
}

.commune-faq-trigger--open .commune-faq-icon .commune-faq-icon-svg {
    transform: rotate(45deg);
}

.commune-prochains-events-label {
    position: relative !important;
    bottom: 0 !important;
    top: -70px !important;
    left: -52px !important;
    color: #000 !important;
    font-family: Poppins, sans-serif !important;
    font-size: 15px !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: normal !important;
    border-top: 1px solid #000 !important;
    border-left: 1px solid #000 !important;
    border-right: 1px solid #000 !important;
    border-bottom: none !important;
    display: inline-block !important;
    padding: 5px 15px !important;
    border-top-right-radius: 15px !important;
    background: #fefef8 !important;
}

#clem-event{
    border-top: 1px solid #000 !important;
}

#clem-event .commune-prochains-events {
    max-width: none !important;
}

#clem-event .commune-prochains-events-btn{
    color: #000!important;
    text-align: center!important;
    font-family: Turnpike!important;
    font-size: 20px!important;
    font-style: normal!important;
    font-weight: 400!important;
    line-height: 28px!important; /* 140% */
    text-transform: uppercase!important;
}

#clem-event .commune-prochains-events-title{
    color: #000!important;
    font-family: Basteleur!important;
    font-size: 40px!important;
    font-style: normal!important;
    font-weight: 400!important;
    line-height: normal!important;
    margin-bottom: 3.5rem!important;
}

/* ============================================
   Carrousel "CE QUI NOUS REND UNIQUE" [commune_unique_carousel]
   Fond orange, label sticker, carte blanche image + texte, points de pagination
   Tous les styles sont scopés sous #clem-unique
   ============================================ */
#clem-unique {
    background-color: #ED6D33 !important;
    border-top: 1px solid #000 !important;
}

#clem-unique .commune-unique-carousel {
    position: relative;
    margin-top: 20px;
    background-color: #ED6D33;
    padding: 2rem 15px 3rem;
    font-family: Poppins, sans-serif;
    overflow: visible;
}

#clem-unique .commune-unique-carousel-label {
    position: relative !important;
    bottom: 0 !important;
    top: -102px !important;
    left: -52px !important;
    color: #000 !important;
    font-family: Poppins, sans-serif !important;
    font-size: 15px !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: normal !important;
    border-top: 1px solid #000 !important;
    border-left: 1px solid #000 !important;
    border-right: 1px solid #000 !important;
    border-bottom: none !important;
    display: inline-block !important;
    padding: 5px 15px !important;
    border-top-right-radius: 15px !important;
    background: #ED6D33 !important;
}

#clem-unique .commune-unique-carousel-viewport {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

#clem-unique .commune-unique-carousel-track {
    position: relative;
}

#clem-unique .commune-unique-carousel-slide {
    display: none;
}

#clem-unique .commune-unique-carousel-slide.is-active {
    display: block;
}

#clem-unique .commune-unique-carousel-card {
    display: grid;
    grid-template-columns: 25% 75%;
    gap: 0;
    background: #fff;
    border: 1px solid #000;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 4px 8px 24px rgba(0, 0, 0, 0.12);
}

#clem-unique .commune-unique-carousel-card-image {
    position: relative;
    padding: 1.25rem;
    aspect-ratio: auto;
    min-height: 400px;
    overflow: hidden;
    box-sizing: border-box;
    min-width: 0;
}

#clem-unique .commune-unique-carousel-card-image img {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    width: calc(100% - 2.5rem);
    height: calc(100% - 2.5rem);
    object-fit: cover;
    display: block;
    border-radius: 12px;
    border: 1px solid #000;
    box-sizing: border-box;
}

#clem-unique .commune-unique-carousel-card-content {
    margin: 1.25rem;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #000;
    border-radius: 12px;
    box-sizing: border-box;
    min-width: 0;
}

#clem-unique .commune-unique-carousel-title {
    margin: 0 0 1.25rem 0;
    padding: 0 1.75rem 1.25rem 1.75rem;
    border-bottom: 1px solid #000;
    color: #000;
    font-family: Basteleur, serif;
    font-size: 28px;
    font-weight: bold;
    line-height: 1.25;
    text-transform: uppercase;
    width: 100%;
    align-self: stretch;
}

#clem-unique .commune-unique-carousel-text {
    margin: 0;
    padding: 0 1.75rem;
    column-count: 2;
    column-gap: 2rem;
    color: #000;
    font-family: Poppins, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
}

#clem-unique .commune-unique-carousel-text p {
    margin: 0 0 1rem 0;
}

#clem-unique .commune-unique-carousel-text p:last-child {
    margin-bottom: 0;
}

#clem-unique .commune-unique-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 1.5rem;
}

#clem-unique .commune-unique-carousel-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

#clem-unique .commune-unique-carousel-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

#clem-unique .commune-unique-carousel-dot.is-active {
    background-color: #000;
    transform: scale(1.15);
}

/* #clem-unique – Responsive tablette (≤ 900px) */
@media (max-width: 900px) {
    #clem-unique .commune-unique-carousel-card {
        grid-template-columns: 1fr;
        border-top-right-radius: 24px;
        border-bottom-right-radius: 24px;
    }

    #clem-unique .commune-unique-carousel-card-image {
        aspect-ratio: 3 / 4;
        min-height: 0;
        padding: 1rem;
    }

    #clem-unique .commune-unique-carousel-text {
        column-count: 1;
    }

    #clem-unique .commune-unique-carousel-title {
        font-size: 22px;
    }

    #clem-unique .commune-unique-carousel-card-content {
        margin: 1rem;
        padding: 1.5rem 1.25rem;
    }
}

/* #clem-unique – Responsive mobile (≤ 768px) */
@media (max-width: 768px) {
    #clem-unique .commune-unique-carousel {
        margin-top: 12px;
        padding: 0 !important;
    }

    #clem-unique .commune-unique-carousel-label {
        top: -69px !important;
        left: -20px !important;
        font-size: 13px !important;
        padding: 6px 50px !important;
    }

    #clem-unique .commune-unique-carousel-viewport {
        padding: 0 5px;
    }

    #clem-unique .commune-unique-carousel-card {
        border-radius: 16px;
    }

    #clem-unique .commune-unique-carousel-card-image {
        padding: 0.75rem;
    }

    #clem-unique .commune-unique-carousel-card-image img {
        top: 0.75rem;
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        width: calc(100% - 1.5rem);
        height: calc(100% - 1.5rem);
    }

    #clem-unique .commune-unique-carousel-card-content {
        margin: 0.75rem;
        padding: 1.25rem 0;
    }

    #clem-unique .commune-unique-carousel-title {
        font-size: 20px;
        padding: 0 1rem 1rem 1rem;
    }

    #clem-unique .commune-unique-carousel-text {
        font-size: 14px;
        padding: 0 1rem;
    }

    #clem-unique .commune-unique-carousel-dots {
        margin-top: 1.25rem;
        gap: 10px;
    }

    #clem-unique .commune-unique-carousel-dot {
        width: 10px;
        height: 10px;
    }
}

/* #clem-unique – Responsive petit mobile (≤ 480px) */
@media (max-width: 480px) {
    #clem-unique .commune-unique-carousel {
        padding: 0 !important;
    }

    #clem-unique .commune-unique-carousel-label {
        top: -65px !important;
        left: -10px !important;
        font-size: 12px !important;
        padding: 5px 30px !important;
    }

    #clem-unique .commune-unique-carousel-title {
        font-size: 18px;
        padding: 0 0.75rem 0.75rem 0.75rem;
    }

    #clem-unique .commune-unique-carousel-text {
        font-size: 13px;
        padding: 0 0.75rem;
    }

    #clem-unique .commune-unique-carousel-dots {
        margin-top: 1rem;
    }
    #clem-unique .row.full-width.row-parent {
        padding-bottom: 50px!important;
    }
}


.clem-prog-col-2 .uncol,
.clem-prog-col-2 .uncoltable,
.clem-prog-col-2 .uncell,
.clem-prog-col-2 .uncont {
    height: 100%!important;
}
.clem-prog-col-2 .uncont {
    display: flex!important;
    flex-direction: column!important;
}
.clem-prog-col-2 .uncont > .uncode_text_column {
    flex: 1 1 0!important;
    min-height: 0!important;
    box-sizing: border-box!important;
}


#clem-Engagements{
    border-top: 1px solid #000!important;
}

/* Masquer toutes les balises p vides dans #clem-Engagements */
#clem-Engagements p:empty {
    display: none !important;
}
.Engagements .uncont .uncode_text_column.Engagements-text-2 > p {
    display: none !important;
}
#clem-Engagements .row.full-width.row-parent{
    padding-bottom: 90px!important;
}

#clem-Engagements .Engagements-title p{
    top: -70px!important;
    left: 40rem!important;
}

/* ============================================
   #clem-Engagements – bordures et ::before par bloc (classes perso)
   N’impacte que la section Engagements de cette page
   ============================================ */

/* Soirées musicales */
#clem-Engagements .clem-engagements-text-1 .accessibilite-culturelle {
    border: 3px solid #ED6D33 !important;
}
#clem-Engagements .clem-engagements-text-1 .accessibilite-culturelle::before {
    content: "" !important;
    position: absolute !important;
    bottom: 7px !important;
    right: 250px !important;
    width: 175px !important;
    height: 175px !important;
    background-image: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/mic.png') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    pointer-events: none !important;
    z-index: 0 !important;
}
#clem-Engagements .clem-engagements-text-1 .accessibilite-culturelle > * {
    position: relative !important;
    z-index: 1 !important;
}

/* Sport */
#clem-Engagements .clem-engagements-text-1 .approvisionnement-local {
    border: 3px solid #AED4DE !important;
}
#clem-Engagements .clem-engagements-text-1 .approvisionnement-local::before {
    content: "" !important;
    position: absolute !important;
    bottom: 15px !important;
    right: -15px !important;
    width: 175px !important;
    height: 175px !important;
    background-image: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/roller.png') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    pointer-events: none !important;
    z-index: 0 !important;
}
#clem-Engagements .clem-engagements-text-1 .approvisionnement-local > * {
    position: relative !important;
    z-index: 1 !important;
}

/* Spectacles */
#clem-Engagements .clem-engagements-text-2 .accessibilite-culturelle {
    border: 3px solid #00A66A !important;
}
#clem-Engagements .clem-engagements-text-2 .accessibilite-culturelle::before {
    content: "" !important;
    position: absolute !important;
    bottom: -5px !important;
    right: 0px !important;
    width: 210px !important;
    height: 210px !important;
    background-image: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/bulle.png') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    pointer-events: none !important;
    z-index: 0 !important;
}
#clem-Engagements .clem-engagements-text-2 .accessibilite-culturelle > * {
    position: relative !important;
    z-index: 1 !important;
}

/* Danse & bien-être */
#clem-Engagements .clem-engagements-text-2 .approvisionnement-local {
    border: 3px solid #E36426 !important;
}
#clem-Engagements .clem-engagements-text-2 .approvisionnement-local::before {
    content: "" !important;
    position: absolute !important;
    bottom: 0px !important;
    right: -10px !important;
    width: 190px !important;
    height: 190px !important;
    background-image: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/poule.png') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    pointer-events: none !important;
    z-index: 0 !important;
}
#clem-Engagements .clem-engagements-text-2 .approvisionnement-local > * {
    position: relative !important;
    z-index: 1 !important;
}

/* Karaoké & Blind Tests */
#clem-Engagements .clem-engagements-text-3 {
    border: 3px solid #AED4DE !important;
    position: relative !important;
    overflow: hidden !important;
}
#clem-Engagements .clem-engagements-text-3::before {
    content: "" !important;
    position: absolute !important;
    bottom: 0px !important;
    right: -10px !important;
    width: 190px !important;
    height: 190px !important;
    background-image: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/bouche.png') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    pointer-events: none !important;
    z-index: 0 !important;
}
#clem-Engagements .clem-engagements-text-3 > * {
    position: relative !important;
    z-index: 1 !important;
}

/* Marchés de Créateurs */
#clem-Engagements .clem-prog-col-2-1 {
    border: 3px solid #8F7BBB !important;
    position: relative !important;
    overflow: hidden !important;
}
#clem-Engagements .clem-prog-col-2-1::before {
    content: "" !important;
    position: absolute !important;
    bottom: -20px !important;
    right: -20px !important;
    width: 300px !important;
    height: 300px !important;
    background-image: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/coeur.png') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    pointer-events: none !important;
    z-index: 0 !important;
}
#clem-Engagements .clem-prog-col-2-1 > * {
    position: relative !important;
    z-index: 1 !important;
}

/* Ateliers, talks & tables rondes */
#clem-Engagements .clem-prog-col-2-2 {
    border: 3px solid #F18BAD !important;
    position: relative !important;
    overflow: hidden !important;
}
#clem-Engagements .clem-prog-col-2-2::before {
    content: "" !important;
    position: absolute !important;
    bottom: 0px !important;
    right: -10px !important;
    width: 500px !important;
    height: 300px !important;
    background-image: url('https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/rouleau.png') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    pointer-events: none !important;
    z-index: 0 !important;
}
#clem-Engagements .clem-prog-col-2-2 > * {
    position: relative !important;
    z-index: 1 !important;
}

/* ============================================
   #clem-Engagements – Responsive : blocs empilés (un en dessous de l’autre)
   ============================================ */
@media (max-width: 991px) {
    #clem-Engagements .Engagements-text-multi .row-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }
    #clem-Engagements .Engagements-text-multi .wpb_column.col-lg-8,
    #clem-Engagements .Engagements-text-multi .wpb_column.col-lg-4 {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }
    .Engagements-text-multi .col-lg-8 {
        width: 100% !important;
    }
    #clem-Engagements .Engagements-text-2 {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    #clem-Engagements .accessibilite-culturelle,
    #clem-Engagements .approvisionnement-local {
        max-width: 100% !important;
        flex: none !important;
    }
    #clem-Engagements .Engagements-title p {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    #clem-Engagements .clem-prog-col-2 .uncont {
        flex-direction: column !important;
    }
    #clem-Engagements .clem-prog-col-2 .uncont > .uncode_text_column {
        flex: none !important;
    }
}

@media (max-width: 768px) {
    #clem-Engagements .Engagements-title p {
        left: 0 !important;
        transform: none !important;
    }
    /* #clem-Engagements .Engagements-text-2 {
        margin-top: 0 !important;
    } */
    #clem-Engagements .row.full-width.row-parent {
        padding-left: 15px !important;
        padding-right: 15px !important;
        padding-bottom: 50px !important;
    }
    /* #clem-Engagements .Engagements-text-2, */
    #clem-Engagements .accessibilite-culturelle,
    #clem-Engagements .approvisionnement-local,
    /* #clem-Engagements .Engagements-text-multi .col-lg-4 .uncode_text_column, */
    #clem-Engagements .clem-prog-col-2-2 {
        margin-bottom: 1rem !important;
    }
    #clem-Engagements .clem-engagements-text-2,
    #clem-Engagements .clem-engagements-text-2 .approvisionnement-local,
    #clem-Engagements .clem-engagements-text-1 .approvisionnement-local,
    #clem-Engagements .clem-engagements-text-3,
    #clem-Engagements .Engagements-text-multi .text-lead,
    #clem-Engagements .clem-prog-col-2-1 {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 480px) {
    #clem-Engagements .row.full-width.row-parent {
        padding-bottom: 36px !important;
    }
}

/* ============================================
   .Engagements (sans id) – Responsive : blocs empilés
   S’applique à tout bloc avec classe Engagements (ex. #row-unique-3)
   ============================================ */
@media (max-width: 991px) {
    .Engagements .Engagements-text-multi .row-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .Engagements .Engagements-text-multi .wpb_column.col-lg-8,
    .Engagements .Engagements-text-multi .wpb_column.col-lg-4 {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }
    .Engagements .Engagements-text-multi .col-lg-8 {
        width: 100% !important;
    }
    .Engagements .Engagements-text-2 {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    .Engagements .accessibilite-culturelle,
    .Engagements .approvisionnement-local {
        max-width: 100% !important;
        flex: none !important;
    }
    .Engagements .Engagements-title p {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    .Engagements .clem-prog-col-2 .uncont {
        flex-direction: column !important;
    }
    .Engagements .clem-prog-col-2 .uncont > .uncode_text_column {
        flex: none !important;
    }
}

@media (max-width: 768px) {
    .Engagements .Engagements-title p {
        left: 0 !important;
        transform: none !important;
    }
    .Engagements .row.full-width.row-parent {
        padding-left: 15px !important;
        padding-right: 15px !important;
        padding-bottom: 50px !important;
    }
    .Engagements .Engagements-text-2,
    .Engagements .accessibilite-culturelle,
    .Engagements .approvisionnement-local,
    .Engagements .Engagements-text-multi .col-lg-4 .uncode_text_column,
    .Engagements .Engagements-text-multi .text-lead,
    .Engagements .clem-prog-col-2-1,
    .Engagements .clem-prog-col-2-2 {
        margin-bottom: 1rem !important;
    }
}

@media (max-width: 480px) {
    .Engagements .row.full-width.row-parent {
        padding-bottom: 36px !important;
    }
}

#clem-fonctionnement {
    position: relative !important;
    overflow: visible !important;
    background-color: #F7D8D8 !important;
}
#clem-fonctionnement    .style-accent-bg {
    background-color: #F7D8D8 !important;
}
#clem-fonctionnement .heading-text.el-text {
    margin-bottom: 7rem !important;
}


#clem-fonctionnement .commandements-5 p {
    background: #F7D8D8 !important;
}

#clem-fonctionnement .row.full-width.row-parent {
    padding-bottom: 65px !important;
}

/* Image light.png à cheval en bas de la section */
#clem-fonctionnement::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: 14%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background-image: url(https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/light.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 10;
    pointer-events: none;
}

#clem-fonctionnement .row-internal:nth-child(3) {
    transform: rotate(-7.5deg) translateX(0px);
    z-index: 3;
    margin-bottom: 2px;
}

/* Pas d’image type cake sur clem-fonctionnement (on garde seulement le ::after planète sur nth-child(4)) */
#clem-fonctionnement .row-internal:nth-child(3)::before {
    display: none !important;
}


#clem-fonctionnement .row-internal:nth-child(4) {
    position: relative;
    transform: rotate(1.5deg) translateX(102px);
    z-index: 4;
    margin-bottom: -60px;
}

#clem-fonctionnement .row-internal:nth-child(4)::after {
    content: '';
    position: absolute;
    right: -100px;
    top: -20%;
    transform: translateY(-50%) rotate(2deg);
    width: 350px;
    height: 350px;
    background-image: url(https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/planete.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 10;
}

#clem-fonctionnement .row-internal:nth-child(5) {
    transform: rotate(-1.5deg) translateX(-15px);
    z-index: 5;
    margin-bottom: 80px;
}

/* Masquer la ligne blanche injectée par Uncode en bas de #clem-fonctionnement */
#clem-fonctionnement > div[style*="position: absolute"][style*="height"] {
    display: none !important;
}

/* ============================================
   #clem-fonctionnement – Responsive (tablette + mobile)
   Sur mobile : on enlève les ::after et ::before, on annule les rotations
   ============================================ */
@media (max-width: 991px) {
    #clem-fonctionnement .row-internal {
        margin-bottom: 30px !important;
        transform: rotate(0deg) translateX(0) !important;
    }
    #clem-fonctionnement .row-internal:nth-child(4)::after {
        display: none !important;
    }
    #clem-fonctionnement::after {
        display: none !important;
    }
    #clem-fonctionnement .heading-text.el-text {
        margin-bottom: 3rem !important;
    }
    #clem-fonctionnement .row.full-width.row-parent {
        padding-bottom: 40px !important;
    }
}

@media (max-width: 768px) {
    #clem-fonctionnement {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    #clem-fonctionnement .row-internal {
        margin-bottom: 15px !important;
        transform: rotate(0deg) translateX(0) !important;
    }
    #clem-fonctionnement .row-internal:nth-child(3)::before,
    #clem-fonctionnement .row-internal:nth-child(4)::after {
        display: none !important;
    }
    #clem-fonctionnement::after {
        display: none !important;
    }
    #clem-fonctionnement .heading-text.el-text {
        margin-top: 0 !important;
        margin-bottom: 2rem !important;
    }
    #clem-fonctionnement .heading-text.el-text h2{
        font-size: 25px!important;
    }
    #clem-fonctionnement .row.full-width.row-parent {
        padding-bottom: 30px !important;
    }
    #clem-fonctionnement .commandements-5 p {
        top: -70px !important;
        left: 40px !important;
    }
}

@media (max-width: 480px) {
    #clem-fonctionnement .heading-text.el-text {
        margin-bottom: 1.5rem !important;
    }
    #clem-fonctionnement .row.full-width.row-parent {
        padding-bottom: 24px !important;
    }
    #clem-fonctionnement .commandements-number h3 {
        font-size: 1.25rem !important;
    }
    #clem-fonctionnement .commandements-number p {
        font-size: 0.95rem !important;
    }
}

/* ============================================
   Bloc Rejoignez – variante clem-Rejoignez (nous contacter)
   ============================================ */
.clem-Rejoignez {
    border-top: 1px solid #000 !important;
    background: #00A66A !important;
}

.clem-Rejoignez .heading-text h3,
.clem-Rejoignez .vc_custom_heading_wrap h3 {
    color: #FFF !important;
    text-align: center !important;
    font-family: Basteleur, serif !important;
    font-size: 48px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
}

.clem-Rejoignez .btn-container {
    display: flex !important;
    justify-content: center !important;
}

@media (min-width: 769px) {
    .clem-Rejoignez .heading-text.el-text {
        width: 70% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .clem-Rejoignez .heading-text.el-text > *:last-child {
        margin-bottom: 0 !important;
    }
    .clem-Rejoignez .heading-text.el-text > *:first-child {
        margin-top: 0 !important;
    }
}

.clem-Rejoignez .rejoindre p {
    position: relative !important;
    bottom: 0 !important;
    top: -34px !important;
    left: 840px !important;
    color: #000 !important;
    font-family: Poppins, sans-serif !important;
    font-size: 15px !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: normal !important;
    border-top: 1px solid #000 !important;
    border-left: 1px solid #000 !important;
    border-right: 1px solid #000 !important;
    border-bottom: none !important;
    display: inline-block !important;
    padding: 5px 15px !important;
    border-top-right-radius: 15px !important;
    background: #00A66A !important;
}

@media (max-width: 768px) {
    .clem-Rejoignez .rejoindre p {
        left: 160px !important;
    }
    .clem-Rejoignez .heading-text h3,
    .clem-Rejoignez .vc_custom_heading_wrap h3 {
        font-size: 36px !important;
    }
    .green-bloc p {
        font-size: 16px !important;
    }
}

/* ============================================
   Bloc [commune_events_hero] – sticker en ::after, peut dépasser, au-dessus
   ============================================ */
.commune-events-hero {
    overflow: visible !important;
}
.commune-events-hero-inner {
    overflow: visible !important;
}
.commune-events-hero-right {
    position: relative !important;
    overflow: visible !important;
}
.commune-events-hero-right::after {
    content: '';
    position: absolute;
    top: 28%;
    left: 22%;
    width: 65%;
    height: 45%;
    background-image: url(https://lacommune.co/saint-etienne/wp-content/uploads/2026/02/St-stickers-scaled.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translate(-90%, -50%) rotate(-17deg);
    z-index: 9999;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .commune-events-hero-right::after {
        top: 15%;
        left: 60%;
    }
}


#clem-espaces {
    position: relative !important;
    background: none !important;
}

#clem-espaces::before {
    content: "" !important;
    position: absolute !important;
    top: 50px !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100% - 50px) !important;
    background: #FFFDE9 !important;
    z-index: 0 !important;
    border-top-right-radius: 130px !important;
}

