/**
 * La Gérine - Styles personnalisés
 * Utilisation de clamp() pour le responsive fluide
 */

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

body,
p,
li,
a {
    font-family: var(--font-primary);
    font-size: clamp(18px, 1.5vw + 0.5rem, 22px);
    line-height: 1.4;
    color: var(--color-white);
}

html {
    overflow-x: hidden;
}

body {
    background-color: var(--color-white) !important;
}

h1, h2, h4, h5, h6 {
    font-family: var(--font-primary) !important;
}

h3 {
    font-family: var(--font-accent) !important;
}

h2 {
    font-size: clamp(40px, 5vw + 1rem, 60px);
    font-weight: 900 !important;
    margin-bottom: clamp(30px, 4vw, 50px);
}

h3 {
    font-size: clamp(28px, 3vw + 0.5rem, 35px);
}

h4 {
    font-size: clamp(22px, 2.5vw + 0.3rem, 28px);
    font-weight: 700;
}

/* ==========================================================================
   BANDEAU TOP
   ========================================================================== */

.bandeau {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    color: var(--color-black);
    text-align: center;
    padding: 3px 0;
    font-family: var(--font-primary);
    font-size: clamp(12px, 1.2vw + 0.3rem, 18px);
    font-weight: 400;
}

.bandeau a {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 900;
}

.bandeau a:hover {
    opacity: 0.8;
}

/* Admin bar adjustment */
.admin-bar .bandeau {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .bandeau {
        top: 46px;
    }
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

#navbar,
.site-header {
    padding-top: clamp(40px, 5vw + 1rem, 70px);
    font-weight: 700;
    font-family: var(--font-primary);
    font-size: clamp(18px, 2vw + 0.3rem, 25px);
    z-index: 99;
}

.site-header .logo,
#navbar .logo {
    width: clamp(180px, 25vw + 2rem, 365px);
    height: auto;
}

.nav-menu a,
#navbar ul li a {
    color: var(--color-white);
    padding: 0 clamp(8px, 1vw, 15px);
    text-decoration: none;
}

.nav-menu a:hover,
#navbar ul li a:hover {
    color: var(--color-gold);
}

/* Titre de section (h2 à 60px) */
.title-section {
    font-size: 60px !important;
    font-weight: 900 !important;
}

/* ==========================================================================
   SECTIONS COMMUNES
   ========================================================================== */

.section-beige {
    background: url('../img/fond-legumes.png') top center no-repeat;
    background-color: var(--color-beige);
    color: var(--color-text-dark);
}

.section-dark {
    background-color: var(--color-dark);
    color: var(--color-white);
}

/* Typo globale pour sections fond foncé */
.section-dark p,
.section-dark li,
.section-dark a,
.evenements p,
.evenements li,
.evenements a,
.espaces p,
.espaces li,
.espaces a {
    font-family: var(--font-primary);
    font-size: clamp(20px, 1.5vw + 0.5rem, 22px);
    line-height: 1.4;
    color: var(--color-white);
}

.section-white {
    background-color: var(--color-white);
    color: var(--color-text-dark);
}

/* Titre élégant Sacramento */
.title-elegant {
    font-family: var(--font-accent);
    font-weight: 400;
    color: var(--color-gold-light);
    font-size: clamp(50px, 7vw + 1rem, 85px);
}

/* ==========================================================================
   SECTION MENUS
   ========================================================================== */

.menus {
    background: var(--color-white);
    color: var(--color-black);
    padding-top: clamp(50px, 6vw, 85px);
    padding-bottom: clamp(60px, 8vw, 100px);
}

.menus .container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(15px, 3vw, 20px);
    gap: clamp(20px, 3vw, 40px);
}

.menus .menu-left h2 {
    font-size: 60px;
    font-weight: 900 !important;
    color: var(--color-black);
}

.menus .menu-left {
    width: 100%;
    flex: 1 1 300px;
    max-width: 40%;
    display: flex;
    flex-direction: column;
}

.menus ul.menu-choix {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media screen and (max-width: 768px) {
    .menus .menu-left {
        max-width: 100%;
    }
}

.menus ul.menu-choix {
    padding-left: 0;
    line-height: clamp(35px, 4vw + 1rem, 55px);
    list-style: none;
    margin: 0;
}

.menus ul.menu-choix li {
    font-size: clamp(22px, 2vw + 0.5rem, 30px);
    color: var(--color-gold);
    position: relative;
    cursor: pointer;
    transition: color 0.3s ease;
    padding-bottom: 15px;
    font-weight: 600;
}

.menus ul.menu-choix li span {
    background: var(--color-white);
    position: relative;
    z-index: 1;
    padding-right: 10px;
}

.menus ul.menu-choix li.active {
    color: var(--color-black);
    margin-left: clamp(0px, 2vw, 20px);
}

.menus ul.menu-choix li.active::after {
    content: '';
    border-top: solid 1px var(--color-black);
    position: absolute;
    top: 50%;
    left: 50%;
    right: 100px;
}


.menus ul.menu-choix li:hover {
    color: var(--color-black);
}

.menus .menu-right {
    position: relative;
    flex: 1 1 400px;
    min-height: 500px;
}

.menus .menu {
    position: absolute;
    inset: 0;
    background: var(--color-beige);
    display: none;
    padding: 0;
    min-height: 500px;
}

.menus .menu.active {
    display: block;
}

.menus .menu-pic {
    position: absolute;
    left: -100px;
    top: 50px;
}

.menus .menu-pic img {
    max-width: 100%;
    height: auto;
    display: block;
}

.menus .menu-description {
    margin-left: 300px;
    padding: 75px 30px;
    line-height: 25px;
    color: var(--color-black);
}

.menus .menu-description p,
.menus .menu-description a:not(.btn),
.menus .menu-description li {
    color: var(--color-black);
}

.menus .menu-description h2 {
    font-size: 35px;
    margin-bottom: 30px;
    color: var(--color-black);
}

.menus .menu .btn {
    background: var(--color-gold);
    color: var(--color-white);
    padding: clamp(10px, 1.5vw, 15px) clamp(40px, 6vw, 80px);
    border-radius: 0;
    font-size: clamp(18px, 1.5vw + 0.3rem, 22px);
    text-decoration: none;
    display: block;
    text-align: left;
    margin-top: clamp(20px, 3vw, 30px);
    max-width: fit-content;
    transition: background 0.3s ease;
    position: relative;
    z-index: 5;
}

.menus .menu .btn:hover {
    background: var(--color-black);
    color: var(--color-white);
}

/* Responsive menus */
@media screen and (max-width: 768px) {
    .menus {
        padding-top: 40px;
        padding-bottom: 0px;
    }

    .menus .container {
        flex-direction: column;
        gap: 15px;
    }

    .menus .menu-left {
        max-width: 100%;
        text-align: center;
    }

    .menus .menu-left h2 {
        font-size: 45px;
        margin-bottom: 10px;
    }

    .menus .menu-left {
        position: relative;
    }

    .menus .menu-left::after {
        content: '';
        position: absolute;
        right: 0;
        bottom: 0;
        width: 60px;
        height: 50px;
        background: linear-gradient(to right, transparent, var(--color-white));
        pointer-events: none;
        z-index: 2;
    }

    .menus ul.menu-choix {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0;
        padding: 0 30px 8px 0;
        margin: 0;
        line-height: 1.4;
        list-style: none !important;
        scrollbar-width: none;
    }

    .menus ul.menu-choix::-webkit-scrollbar {
        display: none;
    }

    .menus .menu-left {
        flex: 1 1 100px;
    }

    .menus ul.menu-choix li {
        padding: 5px 10px;
        font-size: 20px;
        white-space: nowrap;
        flex-shrink: 0;
        list-style: none !important;
    }

    .menus ul.menu-choix li::marker {
        content: none;
        display: none;
    }

    .menus ul.menu-choix li::before,
    .menus ul.menu-choix li::after {
        content: none !important;
        display: none !important;
    }

    .menus ul.menu-choix li.active {
        margin-left: 0;
    }

    .menus ul.menu-choix li.active::after {
        display: none !important;
    }

    .menus .container {
        padding: 0;
    }

    .menus .menu-right {
        min-height: auto;
        flex: 1 1 100%;
        width: 100%;
    }

    .menus .menu {
        position: relative;
        min-height: auto;
    }

    .menus .menu-pic {
        position: relative;
        left: auto;
        top: auto;
        width: 60%;
        margin: 0 auto;
        padding-top: 30px;
    }

    .menus .menu-pic img {
        width: 100%;
    }

    .menus .menu-description {
        margin-left: 0;
        padding: 30px 20px;
        text-align: center;
    }

    .menus .menu .btn {
        margin: 20px auto 0;
        text-align: center;
    }
}

/* ==========================================================================
   SECTION ÉVÉNEMENTS
   ========================================================================== */

.evenements {
    background: var(--color-white);
    color: var(--color-text-dark);
    padding-top: clamp(50px, 6vw, 85px);
    padding-bottom: clamp(60px, 8vw, 100px);
}

@media screen and (max-width: 576px) {
    .evenements {
        background: var(--color-dark);
        color: var(--color-white);
        border-bottom: solid 1px var(--color-white);
    }
}

.evenements h2 {
    text-align: center;
    margin-bottom: clamp(30px, 4vw, 50px);
    font-size: 60px;
    font-weight: 900 !important;
}

.evenements .swiper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(15px, 3vw, 20px);
    position: relative;
}

.evenements .swiper .swiper-pagination {
    position: absolute;
    left: 0;
    width: 100%;
    padding-left: 60%;
    text-align: center;
    z-index: 10;
    margin-top: 0;
    pointer-events: auto;
}

.evenements .evenement {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.evenements .evenement .pic {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    z-index: 2;
}

.evenements .evenement .pic img {
    width: 100%;
    height: auto;
    display: block;
}

.evenements .evenement .description {
    background: var(--color-dark);
    color: var(--color-white);
    text-align: center;
    padding: 140px 0px;
    padding-left: 60%;
    padding-right: 50px;
    margin-top: 0px;
    margin-left: 50px;
    position: relative;
    z-index: 1;
    transform: translateY(50px);
}

/* Dots sous le bouton (desktop) */
.evenements .swiper .swiper-pagination {
    bottom: 70px;
}

@media screen and (max-width: 768px) {
    .evenements h2 {
        font-size: 45px;
        line-height: 1em;
    }

    .evenements .evenement .pic {
        position: relative;
        width: 100%;
        top: auto;
        left: auto;
    }

    .evenements .evenement .description {
        margin-left: 0;
        padding: 40px 20px 50px;
        padding-left: 10px;
        transform: none;
    }

    /* Dots en dessous du contenu en mobile */
    .evenements .swiper .swiper-pagination {
        position: relative;
        bottom: 5px;
        padding-left: 0;
        margin-top: 0px;
        text-align: center;
    }
}

.evenements .evenement .description h3 {
    font-family: var(--font-accent);
    font-weight: 400;
    color: var(--color-white);
    font-size: clamp(40px, 4vw, 45px);
}

.evenements .evenement .description .date {
    font-weight: 700;
    font-style: italic;
    font-family: var(--font-primary);
    font-size: clamp(20px, 2vw + 0.3rem, 25px);
    margin-top: clamp(25px, 3vw, 40px);
    margin-bottom: clamp(25px, 3vw, 40px);
}

.evenements .evenement .description .date::before,
.evenements .evenement .description .date::after {
    display: block;
    content: '';
    border-top: solid 1px var(--color-gray);
    height: 1px;
    width: clamp(70px, 10vw, 105px);
    margin: 0 auto;
}

.evenements .evenement .description .date::before {
    margin-bottom: 10px;
}

.evenements .evenement .description .date::after {
    margin-top: 10px;
}

.evenements .evenement .description p {
    color: var(--color-gray);
}

.evenements .evenement .description a {
    color: var(--color-gold);
}

.evenements .evenement .description .btn {
    background: var(--color-gold);
    color: var(--color-white);
    padding: 5px clamp(20px, 3vw, 30px);
    font-size: clamp(16px, 1.2vw + 0.3rem, 18px);
    border-radius: 0;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.evenements .evenement .description .btn:hover {
    background: #cd9724;
}

/* Swiper pagination */
.swiper-pagination {
    margin-top: clamp(20px, 3vw, 40px);
    position: relative;
}


.swiper-pagination-bullet {
    position: relative;
    background: var(--color-gold);
    opacity: 1;
    margin: 0 10px !important;
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    background: var(--color-gold);
}

.swiper-pagination-bullet-active::before {
    content: '';
    position: absolute;
    z-index: -1;
    border: solid 1px var(--color-gold);
    border-radius: 100%;
    padding: 14px;
    left: -10px;
    top: -10px;
}

/* ==========================================================================
   BOUTONS
   ========================================================================== */

.btn-gold {
    background: var(--color-gold);
    color: var(--color-white);
    padding: clamp(8px, 1vw + 0.3rem, 12px) clamp(30px, 4vw, 50px);
    border-radius: 0;
    font-size: clamp(18px, 1.5vw + 0.3rem, 22px);
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-gold:hover {
    background: var(--color-black);
    color: var(--color-white);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

#copyright,
.site-footer {
    background: var(--color-white);
    color: var(--color-black);
    padding: 20px;
    font-size: clamp(12px, 1vw + 0.2rem, 15px);
    text-align: center;
}

#copyright a,
.site-footer a {
    color: var(--color-gold);
    text-decoration: none;
}

#copyright a:hover,
.site-footer a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   UTILITAIRES
   ========================================================================== */

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--color-gold);
}

.bg-dark {
    background-color: var(--color-dark);
}

.bg-beige {
    background-color: var(--color-beige);
}

.bg-white {
    background-color: var(--color-white);
}

/* Container */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 clamp(15px, 3vw, 20px);
}

/* ==========================================================================
   FIXES GENERATEPRESS
   ========================================================================== */

/* Masquer le titre de la page d'accueil */
.home .entry-title,
.home .page-header,
body.page-template-default.home h1.entry-title {
    display: none !important;
}

/* Forcer le fond blanc sur le body */
body {
    background-color: var(--color-white) !important;
}

/* Bandeau pousse le body vers le bas */
body.home {
    padding-top: 30px;
}

/* Header GeneratePress - transparent par-dessus le hero */
.home .site-header {
    background-color: transparent !important;
    position: absolute !important;
    top: 0px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
}

.site-header .inside-header {
    padding: clamp(20px, 4vw, 40px) clamp(15px, 3vw, 30px);
    max-width: 1300px;
    margin: 0 auto;
}

/* Logo dans le header */
.site-header .site-logo img,
.site-header .custom-logo,
.site-header .logo {
    max-width: clamp(180px, 25vw + 2rem, 365px);
    height: auto;
}

/* Navigation GeneratePress */
.main-navigation,
.main-navigation .inside-navigation {
    background-color: transparent !important;
}

.main-navigation {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: clamp(16px, 1.2vw + 0.2rem, 22px);
}

.main-navigation .main-nav ul {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.main-navigation .main-nav ul li a {
    color: var(--color-white) !important;
    text-decoration: none;
    padding: 0 clamp(8px, 1vw, 15px);
    white-space: nowrap;
}

.main-navigation .main-nav ul li a:hover {
    color: var(--color-gold) !important;
}


/* Header : logo à gauche, menu à droite sur une ligne */
.site-header .inside-header.grid-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
}

/* Navigation inline dans le header */
.site-header .inside-header #site-navigation,
.site-header .inside-header nav#site-navigation,
.site-header .inside-header .main-navigation.sub-menu-right {
    flex: 1 1 auto !important;
    width: auto !important;
    float: none !important;
    clear: none !important;
    background: transparent !important;
    position: static !important;
}

.site-header #site-navigation .inside-navigation.grid-container {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    width: auto !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
}

/* Masquer le toggle mobile dans le header */
.site-header #mobile-menu-control-wrapper {
    display: none !important;
}

#site-navigation .main-nav ul {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

#site-navigation .main-nav ul li {
    display: flex !important;
    align-items: center;
}

#site-navigation .main-nav ul li a {
    color: var(--color-white) !important;
    padding: 0 15px !important;
    white-space: nowrap;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 25px;
    line-height: 1;
}

#site-navigation .main-nav ul li a:hover {
    color: var(--color-gold) !important;
}

/* Séparateurs entre items */
#site-navigation .main-nav ul li + li {
    border-left: 1px solid var(--color-white);
}

#site-navigation .main-nav ul li::before,
#site-navigation .main-nav ul li::after,
.main-navigation .main-nav ul li + li::before,
.main-navigation .main-nav ul li + li::after {
    content: none !important;
    display: none !important;
}

/* Masquer les toggles en desktop */
@media screen and (min-width: 769px) {
    #site-navigation .menu-toggle,
    #mobile-menu-control-wrapper {
        display: none !important;
    }
    #site-navigation .main-nav {
        display: block !important;
    }
}

/* Masquer la recherche GP */
.home .site-header .search-item,
.home .site-header .navigation-search,
.home .site-header button[aria-label="Open Search Bar"] {
    display: none !important;
}

/* Menu toggle mobile - masquer tant qu'aucun menu n'est assigné */
.site-header .menu-toggle,
.site-header .mobile-menu-control-wrapper,
.site-header #mobile-menu-control-wrapper,
.site-header button.menu-toggle {
    display: none !important;
}

/* ==========================================================================
   BURGER MENU MOBILE
   ========================================================================== */

.burger-toggle {
    display: none;
    position: absolute;
    top: clamp(45px, 5vw + 1rem, 75px);
    right: clamp(15px, 3vw, 30px);
    z-index: 10001;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.burger-bar {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--color-white);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.burger-toggle[aria-expanded="true"] .burger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-toggle[aria-expanded="true"] .burger-bar:nth-child(2) {
    opacity: 0;
}

.burger-toggle[aria-expanded="true"] .burger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.97);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-overlay-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.mobile-overlay-nav ul li {
    margin: 0;
    padding: 0;
}

.mobile-overlay-nav ul li a {
    display: block;
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 700;
    padding: 12px 20px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-overlay-nav ul li a:hover {
    color: var(--color-gold);
}

@media screen and (max-width: 768px) {
    .burger-toggle {
        display: flex;
    }

    #site-navigation,
    .site-header .inside-header #site-navigation {
        display: none !important;
    }

    .site-header .inside-header.grid-container {
        justify-content: flex-start !important;
    }
}

/* Contenu principal - pas de padding/margin qui décale */
.home .site-content {
    background-color: transparent;
    padding: 0;
    margin: 0;
}

.home #content {
    margin-top: 0;
    padding-top: 0;
}

.home .inside-article {
    background-color: transparent;
    padding: 0;
    margin: 0;
}

.home .entry-content {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Supprimer le container GP qui contraint la largeur */
.home .site-content .content-area,
.home .site-main {
    margin: 0;
    padding: 0;
}

/* Supprimer les contraintes de largeur GP sur la homepage */
.home #page,
.home .site,
.home .site-content,
.home #content {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Contenu Gutenberg après le hero */
.site-content-gutenberg {
    position: relative;
    z-index: 10;
    background-color: transparent;
    width: 100vw;
}

/* Footer GeneratePress */
.site-footer {
    background-color: var(--color-white);
    color: var(--color-black);
}

.site-footer a {
    color: var(--color-gold);
}

/* ==========================================================================
   SECTION INTRO (fond beige)
   ========================================================================== */

.section-intro,
.wp-block-group.section-intro {
    background: url('../img/fond-legumes.png') top center no-repeat;
    background-color: var(--color-beige) !important;
    background-size: 90% auto;
    color: var(--color-text-dark);
    text-align: center;
    width: 100%;
    padding: clamp(60px, 8vw, 85px) 20px clamp(180px, 20vw, 250px);
}

.section-intro > .wp-block-group__inner-container,
.section-intro > div {
    max-width: 900px;
    margin: 0 auto;
}

.section-intro h2 {
    color: var(--color-text-dark);
    font-size: clamp(40px, 5vw + 1rem, 60px);
    margin-bottom: clamp(20px, 3vw, 40px);
}

.section-intro p {
    color: var(--color-text-dark);
    font-size: 22px;
    line-height: 1.4;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .section-intro,
    .wp-block-group.section-intro {
        background-image: none !important;
        padding: 50px 20px 120px;
    }

    .section-intro p {
        font-size: 18px;
    }
}

/* ==========================================================================
   SECTION CHEF
   ========================================================================== */

.section-chef,
.wp-block-group.section-chef {
    background-color: transparent !important;
    padding: 0 !important;
    position: relative;
    width: 100%;
    margin-top: -150px;
    z-index: 10;
}

.section-chef .chef-card,
.section-chef .wp-block-columns.chef-card {
    background-color: var(--color-black);
    color: var(--color-gray);
    margin-bottom: 0;
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    gap: 0 !important;
    overflow: visible;
}

.section-chef .chef-card .wp-block-column:first-child,
.section-chef .chef-card .chef-photo {
    padding: 0 !important;
    margin: 0 !important;
    flex-basis: 50% !important;
    max-width: 50%;
}

.section-chef .chef-card .wp-block-column:first-child figure,
.section-chef .chef-card .wp-block-column:first-child .wp-block-image {
    margin: 0 !important;
    padding: 0;
    line-height: 0;
}

.section-chef .chef-card .wp-block-column:first-child img,
.section-chef .chef-card .chef-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.section-chef .chef-card .wp-block-column:last-child,
.section-chef .chef-card .chef-description {
    padding: clamp(40px, 5vw, 60px) clamp(30px, 5vw, 70px);
    color: var(--color-gray);
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-basis: 50% !important;
    max-width: 50%;
}

.section-chef .chef-card h3 {
    font-family: var(--font-accent);
    font-size: clamp(35px, 4vw, 45px);
    color: var(--color-gold-light);
    font-weight: 400;
    margin-bottom: 15px;
}

.section-chef .chef-card p {
    color: var(--color-gray);
    font-size: clamp(14px, 1.2vw + 0.3rem, 22px);
    line-height: 1.4;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .section-chef,
    .wp-block-group.section-chef {
        margin-top: -80px;
    }

    .section-chef .chef-card,
    .section-chef .wp-block-columns.chef-card {
        flex-direction: column !important;
        max-width: 100%;
        margin: 0 15px;
    }

    .section-chef .chef-card .wp-block-column:first-child,
    .section-chef .chef-card .chef-photo {
        flex-basis: auto !important;
        max-width: 100%;
    }

    .section-chef .chef-card .wp-block-column:last-child,
    .section-chef .chef-card .chef-description {
        flex-basis: auto !important;
        max-width: 100%;
        padding: 40px 25px 80px;
    }

    .section-chef .chef-card p {
        font-size: 16px;
    }
}

/* Losange horaires */
.section-horaires,
.wp-block-group.section-horaires {
    background-color: transparent !important;
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: center;
    margin-top: -60px;
    padding-bottom: clamp(60px, 8vw, 100px);
    position: relative;
    z-index: 11;
}

.section-horaires > .wp-block-group__inner-container,
.section-horaires > div {
    width: 210px;
    height: 210px;
    max-width: 210px;
    max-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
}

.section-horaires > .wp-block-group__inner-container::before,
.section-horaires > div::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-dark);
    transform: rotate(45deg);
    z-index: 0;
}

.section-horaires > .wp-block-group__inner-container::after,
.section-horaires > div::after {
    content: '';
    position: absolute;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    border: dashed 1px var(--color-gray);
    transform: rotate(45deg);
    z-index: 0;
    pointer-events: none;
}

.section-horaires .wp-block-heading,
.section-horaires h3,
.section-horaires p {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--color-white) !important;
    font-family: var(--font-primary) !important;
    font-weight: 700;
    margin: 0 !important;
    padding: 0;
    font-size: 30px;
    padding-bottom: 10px;
}

.section-horaires p {
    font-size: 20px;
    line-height: 1.3;
}

@media screen and (max-width: 768px) {
    .section-horaires,
    .wp-block-group.section-horaires {
        margin-top: -50px;
        padding-bottom: 40px;
    }

    .section-horaires > .wp-block-group__inner-container,
    .section-horaires > div {
        width: 170px;
        height: 170px;
        max-width: 170px;
        max-height: 170px;
    }

    .section-horaires .wp-block-heading,
    .section-horaires h3 {
        font-size: 22px;
    }

    .section-horaires p {
        font-size: 16px;
    }
}

/* ==========================================================================
   SECTION NOS ESPACES
   ========================================================================== */

.espaces {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: clamp(50px, 8vw, 100px) 0;
}

.espaces .espaces-title {
    max-width: 1400px;
    margin: 0 auto 60px;
    padding: 0 clamp(20px, 5vw, 60px);
    font-size: 60px;
    font-weight: 900 !important;
    color: var(--color-white);
}

.espaces .espace {
    display: flex;
    align-items: stretch;
    min-height: 500px;
}

.espaces .espace-text {
    width: 50%;
    flex-shrink: 0;
    max-width: 700px;
    margin-left: auto;
    padding: clamp(40px, 5vw, 80px) clamp(30px, 4vw, 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.espaces .espace-text h3 {
    font-family: var(--font-primary);
    font-size: clamp(45px, 2vw + 0.5rem, 60px);
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 20px;
}

.espaces .espace-description {
    color: var(--color-gray);
    font-size: clamp(15px, 1.2vw + 0.2rem, 18px);
    line-height: 1.7;
}

.espaces .espace-description p {
    color: var(--color-gray);
    margin-bottom: 15px;
}

.espaces .espace-img {
    width: 50%;
    flex-shrink: 0;
    overflow: hidden;
}

.espaces .espace-img img {
    width: 70%;
    height: auto;
    display: block;
}

.espaces .espace-img img {
    margin: 0 auto;
}

.swiper-espaces {
    position: relative;
}

.swiper-pagination-espaces {
    margin-top: 30px;
    position: relative;
    text-align: center;
}

.swiper-pagination-espaces .swiper-pagination-bullet {
    background: var(--color-gold);
    opacity: 1;
    margin: 0 10px !important;
    width: 10px;
    height: 10px;
}

.swiper-pagination-espaces .swiper-pagination-bullet-active {
    background: var(--color-gold);
}

.swiper-pagination-espaces .swiper-pagination-bullet-active::before {
    content: '';
    position: absolute;
    z-index: -1;
    border: solid 1px var(--color-gold);
    border-radius: 100%;
    padding: 14px;
    left: -10px;
    top: -10px;
}

@media screen and (max-width: 768px) {
    .espaces .swiper-espaces {
        padding: 0;
    }

    .espaces .swiper-espaces .swiper-slide {
        padding: 0 20px;
        box-sizing: border-box;
    }

    .espaces .espace {
        flex-direction: column;
        min-height: auto;
    }

    .espaces .espaces-title {
        font-size: 45px;
        margin-bottom: 20px;
        padding: 0 20px;
    }

    .espaces .espace-text {
        width: 100%;
        max-width: none;
        padding: 40px 20px;
        order: 3;
    }

    .espaces .espace-img {
        width: 100%;
        max-height: 100%;
        order: 2;
    }

    .espaces .espace-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .swiper-pagination-espaces {
        text-align: center;
        order: 5;
    }
}

/* ==========================================================================
   SECTION CONTACT
   ========================================================================== */

/* ==========================================================================
   ED Slider Animated (mobile)
   ========================================================================== */

@media screen and (max-width: 768px) {
    /* ED Slider Animated (mobile) - règle générique (IDs variables) */
    [id^="ed-slider-animated-"] {
        --speed: 40s;
        --bg-color: #ffffff;
        --text-color: #000000;
        --font-size: 18px;
        --font-weight: 700;
        --margin: 20px;
        --container-width: 100%;
        --item-height: 220px;
        --item-min-width: 240px;
        --radius: 0px;
        --item-spacing: 10px;
    }

    #ed-slider-animated-699ebb88b030f {
        --speed: 40s;
        --bg-color: #ffffff;
        --text-color: #000000;
        --font-size: 18px;
        --font-weight: 700;
        --margin: 20px;
        --container-width: 100%;
        --item-height: 220px;
        --item-min-width: 240px;
        --radius: 0px;
        --item-spacing: 10px;
    }
}

.section-contact,
.wp-block-group.section-contact {
    background-color: var(--color-dark);
    color: var(--color-white);
    text-align: center;
    padding: 0;
    height: clamp(450px, 45vw, 600px);
    overflow: visible;
    position: relative;
    z-index: 2;
}

.section-contact .contact-inner {
    padding: clamp(60px, 8vw, 120px) clamp(20px, 5vw, 60px) 20px;
}

.section-contact .contact-logo {
    max-width: clamp(250px, 30vw, 370px);
    margin-bottom: clamp(20px, 3vw, 35px);
}

.section-contact .contact-info {
    margin-top: 10px;
}

.section-contact .contact-address {
    font-family: var(--font-primary);
    font-size: clamp(16px, 1.2vw + 0.3rem, 20px);
    line-height: 1.6;
    color: var(--color-white);
    margin-bottom: 10px;
}

.section-contact .contact-phone {
    margin-top: 5px;
}

.section-contact .contact-phone a {
    font-family: var(--font-primary);
    font-size: clamp(18px, 1.5vw + 0.3rem, 24px);
    color: var(--color-gold);
    text-decoration: none;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.section-contact .contact-phone a:hover {
    opacity: 0.8;
}

/* Google Maps */
.section-contact .contact-map {
    max-width: 1400px;
    margin: 0 auto;
    line-height: 0;
    position: relative;
}

.section-contact .contact-map iframe {
    width: 100%;
    height: clamp(300px, 30vw, 425px);
    border: 0;
}

#copyright,
.site-footer {
    padding-top: calc(clamp(300px, 30vw, 425px) / 2 + 30px) !important;
}

@media screen and (max-width: 768px) {
    .section-contact .contact-inner {
        padding: 60px 20px 40px;
    }

    .section-contact .contact-map {
        max-width: 100%;
    }

    .section-contact .contact-map iframe {
        height: 300px;
    }

    #copyright,
    .site-footer {
        padding-top: calc(150px + 30px) !important;
    }
}

/* ==========================================================================
   HERO PLEIN ÉCRAN
   ========================================================================== */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

/* Empêcher le scroll horizontal */
body.home {
    overflow-x: hidden;
}

/* Background images desktop/mobile */
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

.hero-bg--desktop {
    display: block;
}

.hero-bg--mobile {
    display: none;
}

@media screen and (max-width: 768px) {
    .hero {
        height: 70vh;
    }

    .hero-bg--desktop {
        display: none;
    }
    .hero-bg--mobile {
        display: block;
    }
}

/* Overlay dégradé sombre (comme l'original) */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.73) 10%,
        rgba(0, 0, 0, 0.01) 99%,
        rgba(0, 0, 0, 0) 100%
    );
    pointer-events: none;
}

/* Contenu texte - dans un container 1400px, centré verticalement */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 3vw, 40px);
}

.hero-content-inner {
    max-width: 60%;
}

@media screen and (max-width: 1024px) {
    .hero-content-inner {
        max-width: 80%;
    }
}

@media screen and (max-width: 576px) {
    .hero-content-inner {
        max-width: 100%;
    }
    .hero-content {
        padding-bottom: 80px;
    }
}

.hero-subtitle {
    font-family: var(--font-accent);
    font-size: clamp(55px, 8vw + 1rem, 85px);
    color: var(--color-gold-light);
    font-weight: 400;
    margin: 0;
    line-height: 1;
}

@media screen and (max-width: 576px) {
    .hero-subtitle {
        font-size: clamp(50px, 12vw, 70px);
        text-align: left;
    }
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(38px, 5vw + 0.5rem, 55px);
    color: var(--color-white);
    font-weight: 700;
    margin: 0;
    margin-top: -10px;
    line-height: 1.1;
}

@media screen and (max-width: 576px) {
    .hero-title {
        font-size: clamp(36px, 10vw, 48px);
        line-height: 1;
        margin-bottom: clamp(20px, 4vw, 30px);
        text-align: left;
    }
}

.hero-text {
    font-family: var(--font-primary);
    font-size: clamp(22px, 2vw + 0.5rem, 30px);
    line-height: 1.3;
    color: var(--color-white);
    margin-top: clamp(15px, 3vw, 30px);
}

@media screen and (max-width: 576px) {
    .hero-text {
        line-height: 1.2;
        text-align: left;
    }
}
