/* ===================================
   VARIABLES
   =================================== */
:root {
    --beige: #F3E9D9;
    --mint: #ECFFF5;
    --black: #1A1A1A;
    --grey: #4A4A4A;
    --white: #FFFFFF;

    --section-x-padding: 4vw;
}

/* ===================================
   TYPOGRAPHIE
   =================================== */
@font-face {
    font-family: 'Optima';
    src: url('fonts/Optima_Roman.woff2') format('woff2'),
        url('fonts/Optima_Roman.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Optima', serif;
    color: var(--black);
    background-color: var(--beige);
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--black);
}

a {
    text-decoration: none;
    color: var(--black);
}

a:visited {
    color: var(--black);
}

a:hover {
    text-decoration: none;
}

a.btn-dark:visited {
    color: var(--white);
}

/* ===================================
   UTILITAIRES
   =================================== */
.bg-beige {
    background-color: var(--beige);
}

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

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

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

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

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

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

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

/* ===================================
   LAYOUT
   =================================== */
.container-fluid {
    padding-left: var(--section-x-padding);
    padding-right: var(--section-x-padding);
}

.post,
.page {
    margin: 0;
}

/* ===================================
   SELECTEUR DE LANGUE
   =================================== */
.language-switcher {
    display: flex;
    gap: 10px;
}

.lang-link {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s;
}

.lang-link:hover {
    background: var(--black);
}

.lang-link.active {
    background: var(--black);
    color: #fff;
}

.site-header.scrolled .lang-link.active {
    color: var(--white);
}

.site-header.scrolled .lang-link:hover {
    color: var(--white);
}

/* ===================================
   HEADER TRANSPARENT & STICKY
   =================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 20px 0;
}

.site-header.scrolled {
    background: #F3E9D9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
}

/* Logo container - Centrage */
.site-header .col-md-4.text-center a {
    display: inline-block;
    position: relative;
}

/* Logo switcher avec fade */
.site-header .logo-white,
.site-header .logo-black {
    max-height: 70px;
    transition: all 0.3s ease-in-out;
    opacity: 1;
}

.site-header .logo-white {
    margin-top: 10px;
}


.site-header .logo-black {
    display: none;
    opacity: 0;
}

.site-header .logo-white {
    display: block;
    opacity: 1;
}

.site-header.scrolled .logo-white,
.site-header.scrolled .logo-black {
    max-height: 50px;
}

.site-header.scrolled .logo-black {
    display: block;
    opacity: 1;
}

.site-header.scrolled .logo-white {
    display: none;
    opacity: 0;
}



/* Menu & liens - Blanc par défaut */
.site-header .nav {
    display: flex;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-header .nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.site-header .nav a:hover {
    opacity: 0.8;
}

/* Langue - Blanc par défaut */
.site-header .language-switcher a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

body:not(.home) .site-header .language-switcher a {
    color: var(--black);
}

body:not(.home) .lang-link.active {
    color: var(--white) !important;
}

body:not(.home) .site-header .language-switcher a:hover {
    color: var(--white) !important;
}

/* Bouton - Inversé sur transparent */
.site-header .btn {
    background: var(--black);
    color: #fff;
    border: 2px solid var(--black);
    transition: all 0.3s ease;
}

.site-header .btn:hover {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

body:not(.home) .site-header .btn:hover {
    background: transparent;
    color: var(--black);
    border: 2px solid var(--black);
}

/* Header scrolled - Texte noir */
.site-header.scrolled .nav a,
.site-header.scrolled .language-switcher a {
    color: var(--black);
}

/* Bouton scrolled - Style normal */
.site-header.scrolled .btn {
    background: var(--black);
    color: var(--white);
    border: 2px solid var(--black);
}

.site-header.scrolled .btn:hover {
    background: #fff;
    color: #000;
}

/* Menu item actif */
.nav .current-menu-item a {
    text-decoration: underline;
    pointer-events: none;
    cursor: default;
}

/* Menu noir par défaut (toutes les pages sauf accueil) */
body:not(.home) .site-header .nav a {
    color: #000;
}

body:not(.home) .site-header .lang-item a {
    color: #000;
}

body:not(.home) .site-header .logo-white {
    display: none;
    opacity: 0;
}

body:not(.home) .site-header .logo-black {
    display: block;
    opacity: 1;
}

/* Espacement entre header et contenu (sauf accueil) */
body:not(.home) .site-header+* {
    margin-top: 120px;
}


/*MENU MOBILE*/

/* Breakpoint custom à 1429px */
.menu-toggle-wrapper {
    display: none;
}

.main-navigation-wrapper {
    display: block;
}

.language-switcher,
.btn-reservation {
    display: flex !important;
}

/* Bouton hamburger */
.menu-toggle {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    color: var(--white);
}

.site-header.scrolled .menu-toggle {
    color: var(--black);
}

body:not(.home) .menu-toggle {
    color: var(--black);
}

/* Menu mobile */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: -webkit-fill-available;
    background: var(--beige);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
}
.mobile-navigation {
    text-align: center;
    margin-bottom: 2rem;
}
.mobile-menu-footer {
    margin-top: auto;
    padding-top: 2rem;
}



.mobile-menu.active {
    transform: translateX(0);
}



.menu-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
}



.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: center;
}

.mobile-nav li {
    margin-bottom: 2rem;
}

.mobile-nav a {
    font-size: 1.5rem;
    text-decoration: none;
    color: #000;
    font-weight: 500;
}



.language-switcher-mobile {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.language-switcher-mobile .lang-link {
    text-decoration: none;
    color: var(--grey);
    font-weight: 500;
}

.language-switcher-mobile .lang-link.active {
    color: var(--white);
}

.language-switcher-mobile .lang-link:hover {
    color: var(--white);
}

/* Desktop : au-dessus de 1429px */
@media (min-width: 1429px) {

    .menu-toggle-wrapper,
    .mobile-menu {
        display: none !important;
    }
}

/* Mobile : en dessous de 1429px */
@media (max-width: 1428px) {
    .menu-toggle-wrapper {
        display: block !important;
    }

    .main-navigation-wrapper {
        display: none !important;
    }

    .language-switcher,
    .btn-reservation {
        display: none !important;
    }

    /* Logo centré absolu en mobile */
    .site-header .row {
        position: relative;
    }

    .logo-wrapper {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: auto;

    }

    .header-right-wrapper {
        opacity: 0;
        pointer-events: none;
    }
}





/* ===================================
   HERO FULLSCREEN
   =================================== */
.hero-image-wrapper {
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    position: relative;
}

/* Overlay sombre */
.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-text {
    width: 90%;
    max-width: 1200px;
    z-index: 2;
}

.hero-text h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

/* Hero image fullscreen sur mobile */
@media (max-width: 768px) {
    .hero-image-wrapper {
        height: 100vh;
        overflow: hidden;
    }

    .hero-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .hero-text h1 {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }

    .site-header .nav {
        gap: 15px;
        font-size: 14px;
    }
}

/* ===================================
   FRONT PAGE
   =================================== */

.home-bg1 {
    position: relative;
    background-image: url(https://reformerraum.com/wp-content/themes/reformerraum/img/bg-1.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 800px;
    padding: 100px 0px;
}

.home-bg1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.home-bg1 .row {
    min-height: 600px;
}

.home-bg1 h3 {
    z-index: 1;
    line-height: 1.5;
}

.blcTxtHome p {
    font-size: 1.2rem;
}

/*Swiper home*/
/* SECTION TARIFS SWIPER */

/* Empêche le scroll horizontal sur toute la page */
body {
    overflow-x: hidden;
}

.tarifs-section {
    overflow: hidden;
    background-color: var(--mint);
}

/* ================================
   ALIGNEMENT "CONTAINER" À GAUCHE
   + SWIPER FULL WIDTH À DROITE
   (structure attendue :
   .col-lg-5 .tarifs-left  |  .col-lg-7 .tarifs-right
   ================================ */

/* Le bloc texte doit s'aligner comme un .container Bootstrap */
.tarifs-left {
    padding-left: 12px;
    padding-right: 12px;
}

.tarifs-left p {
    font-size: 1.2rem;
}

/* Valeurs "pixel perfect" Bootstrap container (BS5) */
@media (min-width: 576px) {
    .tarifs-left {
        padding-left: calc((100vw - 540px) / 2);
        padding-right: 24px;
    }
}

@media (min-width: 768px) {
    .tarifs-left {
        padding-left: calc((100vw - 720px) / 2);
        padding-right: 24px;
    }
}

@media (min-width: 992px) {
    .tarifs-left {
        padding-left: calc((100vw - 960px) / 2);
        padding-right: 24px;
    }
}

@media (min-width: 1200px) {
    .tarifs-left {
        padding-left: calc((100vw - 1140px) / 2);
        padding-right: 24px;
    }
}

@media (min-width: 1400px) {
    .tarifs-left {
        padding-left: calc((100vw - 1320px) / 2);
        padding-right: 24px;
    }
}

/* Petit gap entre texte et swiper */
.tarifs-right {
    padding-left: 24px;
}









.faq-section {
    background: #f6ecdf;
    /* beige doux comme l’exemple */
}

.faq-title {
    font-family: serif;
    font-size: 3.2rem;
    line-height: 1;
    margin-bottom: 1rem;
}

.faq-subtitle {
    max-width: 260px;
    margin-bottom: 2rem;
    color: #222;
}

.faq-btn {
    border-radius: 999px;
    padding: .85rem 1.8rem;
    font-size: .9rem;
    letter-spacing: .04em;
}

/* Accordion style */
.faq-item {
    background: #fff;
    border: 0;
    border-radius: 3em !important;
    margin-bottom: 1rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .06);
    overflow: hidden;
    /* important pour garder les arrondis */
}

/* Bouton */
.faq-item .accordion-button {
    border-radius: 999px;
    padding: 1.2rem 1.6rem;
    font-weight: 500;
    background: #fff;
    box-shadow: none;
}

.faq-item .accordion-button:focus {
    box-shadow: none;
}

.faq-item .accordion-button:not(.collapsed) {
    background: #fff;
    color: #111;
}

/* Corps : on casse l’arrondi du body, mais le parent garde l’arrondi */
.faq-item .accordion-body {
    padding: 0 1.6rem 1.4rem;
    color: #555;
}

/* Chevron un peu plus fin */
.faq-item .accordion-button::after {
    background-size: 1rem;
    transform: rotate(0deg);
}

.faq-item .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}




























/* ================================
   SWIPER : coupe à gauche, plein à droite
   ================================ */

/* Le wrapper qui empêche le swiper de passer sur le texte */
.tarifs-swiper-clip {
    position: relative;
    overflow: hidden;
    /* coupe tout ce qui sort à gauche */
}

/* Si tu utilises désormais container-fluid/row g-0, PAS besoin de "bleed" */
.tarifs-swiper-container {
    position: relative;
    overflow: visible;
}

/* Le swiper prend toute la largeur de la colonne droite */
.tarifsSwiper {
    width: 100%;
    overflow: visible;
    padding-bottom: 50px;
}

/* Swiper calcule les widths (NE PAS fixer width ici) */
.tarifsSwiper .swiper-wrapper {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.tarifsSwiper .swiper-slide {
    width: auto;
    /* important : pas de width fixe */
    height: auto;
    display: flex;
    /* permet à la card de remplir */
}

/* La card remplit la slide */
.tarif-card {
    width: 100%;
    height: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 30px 20px;
    position: relative;
    overflow: hidden;
    min-height: 250px;
    background: #fff;
}

/* Badge en haut à droite */
.badge-label {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
}

/* Prix */
.tarif-prix {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
    color: #000;
}

/* Description cours */
.tarif-cours {
    font-size: 1.1rem;
    color: #666;
}

/* Économie */
.tarif-economie {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Boutons de navigation */
.swiper-button-prev,
.swiper-button-next {
    width: 50px;
    height: 50px;
    border: 1px solid #000;
    border-radius: 50%;
    color: #000;
    background: #fff;
    transition: all 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #000;
    color: #fff;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next {
    right: 10px;
}

/* Responsive */
@media (max-width: 991px) {
    .tarifs-right {
        padding-left: 16px;
    }

    .tarif-card {
        min-height: 220px;
        padding: 25px 15px;
    }

    .tarif-prix {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .tarifs-right {
        padding-left: 12px;
    }

    .tarif-card {
        min-height: 200px;
        padding: 20px 15px;
    }

    .tarif-prix {
        font-size: 1.8rem;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 40px;
        height: 40px;
    }

    .swiper-button-prev:after,
    .swiper-button-next:after {
        font-size: 16px;
    }
}

/* ===================================
   FOOTER
   =================================== */
.site-footer {
    background-color: var(--black);
    color: #fff;
}

.site-footer .logo img {
    max-width: 200px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #333;
    color: white;
    transform: scale(1.1);
}

.social-icon i {
    font-size: 20px;
}

.creditsFooter {
    color: var(--white);
}

.creditsFooter a {
    color: var(--white);
}

/* ===================================
   CONTACT FORM 7
   =================================== */
/* Formulaire Contact Form 7 */
.wpcf7-form {
    max-width: 900px;
}

/* Labels */
.wpcf7-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #000;
}

.wpcf7-form .wpcf7-form-control {
    margin-top: 10px;
}

/* Texte "(obligatoire)" */
.wpcf7-form .wpcf7-form-control-wrap::before {
    content: "(*)";
    font-size: 14px;
    font-weight: 400;
    color: #666;
    margin-left: 5px;
}

/* Inputs et textarea */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #1A1A1A;
    border-radius: 25px;
    background: transparent;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #333;
}

/* Textarea spécifique */
.wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Groupe de 2 colonnes (Prénom / Nom) */
.wpcf7-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Champs pleine largeur */
.wpcf7-form>p {
    margin-bottom: 20px;
}

/* Bouton submit */
.wpcf7-form input[type="submit"] {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}

.wpcf7-form input[type="submit"]:hover {
    background: #333;
}

/* Messages de validation */
.wpcf7-not-valid-tip {
    font-size: 14px;
    color: #d00;
    margin-top: 5px;
}

.wpcf7-response-output {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
}

/* ===================================
   EVERSPORTS
   =================================== */

/* Section Eversports */
.eversports-app {
    padding: 80px 0;
}

.eversports-card {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.eversports-card .row {
    min-height: 400px;
}

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



.eversports-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #2c2c2c;
}

.eversports-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.eversports-image {
    height: 100%;
}

.eversports-image img {
    border-radius: 0 30px 30px 0;
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 991px) {
    .eversports-image img {
        border-radius: 0 0 30px 30px;
        min-height: 300px;
    }
}

/* ===================================
   TARIFS
   =================================== */

/* Cards Tarifs */
.card-tarif {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card-tarif:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Bandeaux diagonaux */
.badge-offre,
.badge-bestseller {
    position: absolute;
    top: 25px;
    right: -35px;
    width: 150px;
    padding: 8px 0;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transform: rotate(45deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.badge-offre {
    background: var(--mint);
    color: var(--black);
}

.badge-bestseller {
    background: var(--mint);
    color: var(--black);
}

/* Header Card */
.card-tarif-header {
    text-align: center;
    margin-bottom: 20px;
}

.card-tarif-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 8px;
}

.card-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Prix */
.card-tarif-price {
    text-align: center;
    margin-bottom: 30px;
}

.price {
    font-size: 56px;
    font-weight: 800;
    color: var(--black);
    line-height: 1;
}

.price sup {
    font-size: 28px;
    font-weight: 700;
}

.price-detail {
    font-size: 14px;
    color: #999;
    margin: 5px 0 0 0;
}

.economie {
    font-size: 14px;
    color: var(--grey);
    font-weight: 600;
    margin: 5px 0 0 0;
}

/* Features */
.card-tarif-features {
    flex-grow: 1;
    margin-bottom: 30px;
}

.card-tarif-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-tarif-features li {
    padding: 10px 0;
    font-size: 15px;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.card-tarif-features li:last-child {
    border-bottom: none;
}

/* Bouton */
.btn-tarif {
    display: block;
    background: #2c2c2c;
    color: #fff;
    text-align: center;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

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

/*Bandeau*/
.scrolling-banner {
    background: var(--black);
    color: white;
    padding: 12px 0;
    overflow: hidden;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

.scrolling-banner-content {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 30s linear infinite;
    padding-left: 100%;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.scrolling-banner:hover .scrolling-banner-content {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .scrolling-banner {
        padding: 10px 0;
        font-size: 14px;
    }
}

/* Cacher le bandeau quand le menu mobile est ouvert */
body:has(.mobile-menu.active) .scrolling-banner {
    display: none;
}