/*!
Theme Name:  Page Builder Framework - Child
Author:      Bastien Martin
Author URI:  
Description: Thème enfant de Page Builder Framework — Projet Anthony Grandjean Réflexologie
Version:     1.0.0
License:     GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Template:    page-builder-framework
Text Domain: page-builder-framework-child
*/

/* ===== VARIABLES ===== */
:root {
    --vert: #3A6B4A;
    --turquoise: #4A9B9B;
    --marron: #664937;
    --beige: #EFE4D0;
    --gris: #6b6b6b;
}

/* ===== TYPOGRAPHIE GLOBALE ===== */
body {
    font-family: 'Nunito', sans-serif;
}
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
}
h6 {
    font-family: 'Nunito', sans-serif;
    color: var(--turquoise);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 18px;
}

/* ===== LIENS ===== */
a {
    color: var(--turquoise);
    text-decoration: none;
}
a:hover {
    color: var(--vert);
}

/* ===== BOUTONS ===== */
.btn, .elementskit-btn, .elementor-button,
input[type="submit"],
.wpcf7 input[type="submit"] {
    font-family: 'Nunito', sans-serif;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px !important;
}

/* ===== LISTES ===== */
.elementor-widget-text-editor ul li::marker {
    color: #3A6B4A;
}

/* ===== MENU ===== */
li.menu-item-50,
li#menu-item-84 {
    display: none;
}

/* ===== ARTICLES ===== */
.single-post h1.entry-title {
    color: #664937;
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    padding: 40px 20px 20px;
    max-width: 800px;
    margin: 0 auto;
}
.single-post h1,
.single-post h2,
.single-post h3,
.single-post h4 {
    font-family: 'Cormorant Garamond', serif !important;
    color: #664937;
}
.single-post .entry-content,
.single-post .elementor-widget-text-editor p,
.single-post .elementor-widget-text-editor span,
.single-post .elementor-widget-text-editor li {
    font-family: 'Nunito', sans-serif !important;
    font-size: 18px;
    color: #6b6b6b;
    line-height: 1.8;
}
.single-post .entry-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 60px;
}
.single-post .wpbf-post-image {
    max-width: 800px;
    width: 100%;
    display: block;
    margin: 0 auto 30px;
}
.single-post .wpbf-post-image-wrapper {
    max-width: 800px;
    margin: 0 auto 30px;
}
.single-post .wpbf-main {
    width: 100%;
    max-width: 100%;
}
.single-post .footer-categories,
.single-post .post-links {
    display: none;
}

/* ===== TÉMOIGNAGES ===== */
.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 0;
}
.temoignage-card {
    background-color: #EFE4D0;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.temoignage-guillemets {
    font-size: 50px;
    color: #3A6B4A;
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 15px;
}
.temoignage-contenu {
    font-style: italic;
    font-size: 16px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
}
.temoignage-separateur {
    width: 40px;
    height: 2px;
    background-color: #4A9B9B;
    margin: 0 auto 15px;
}
.temoignage-auteur {
    font-weight: 600;
    color: #3A6B4A;
    font-size: 16px;
    margin-bottom: 5px;
}
.temoignage-date {
    color: #6b6b6b;
    font-size: 14px;
}

/* ===== HEADER ===== */

/* Ombre désactivée en mode normal */
.elementor-element-46c0e0c {
    box-shadow: none !important;
}

/* Ombre en mode sticky */
.elementor-element-46c0e0c[style*="position: fixed"] {
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.8) !important;
}

/* Logo blanc en mode normal */
.elementor-element-dc9b07a img {
    filter: brightness(0) invert(1) !important;
}

/* Logo couleur en mode sticky */
.elementor-element-46c0e0c[style*="position: fixed"] .elementor-element-dc9b07a img {
    filter: none !important;
}

/* Menu blanc en mode normal */
.elementskit-navbar-nav .menu-item a {
    color: #FFFFFF !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6) !important;
    transition: color 0.3s ease-in-out !important;
}

/* Menu vert en mode sticky */
.elementor-element-46c0e0c[style*="position: fixed"] .elementskit-navbar-nav .menu-item a {
    color: #3A6B4A !important;
    text-shadow: none !important;
}

/* Hover menu */
.elementskit-navbar-nav .menu-item a:hover,
.elementor-element-46c0e0c[style*="position: fixed"] .elementskit-navbar-nav .menu-item a:hover {
    color: #4A9B9B !important;
    text-shadow: none !important;
}

/* Bouton Contact en mode normal */
.elementor-element-d210dcc .elementor-button {
    background: transparent !important;
    border: 2px solid #FFFFFF !important;
    color: #FFFFFF !important;
    transition: all 0.3s ease-in-out !important;
}

/* Hover bouton Contact en mode normal */
.elementor-element-d210dcc .elementor-button:hover {
    background: #FFFFFF !important;
    border: 2px solid #FFFFFF !important;
    color: #CEA58B !important;
}

/* Bouton Contact en mode sticky */
.elementor-element-46c0e0c[style*="position: fixed"] .elementor-element-d210dcc .elementor-button {
    background: transparent !important;
    border: 2px solid #CEA58B !important;
    color: #664937 !important;
}

/* Hover bouton Contact en mode sticky */
.elementor-element-46c0e0c[style*="position: fixed"] .elementor-element-d210dcc .elementor-button:hover {
    background: #CEA58B !important;
    border: 2px solid #CEA58B !important;
    color: #FFFFFF !important;
}

/* ===== SLIDER HOMEPAGE ===== */
.n2-ss-section-main-content {
    padding: 13% 15% 12% 14% !important;
}

/* ===== BANNIÈRES HERO PAGES INTÉRIEURES ===== */
.hero-inner .elementskit-section-title-wraper {
    padding-left: calc((100vw - 1400px) / 2) !important;
}

/* ===== FORMULAIRE CONTACT ===== */
.cf7-grille {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.cf7-champ-plein {
    grid-column: 1 / -1;
}
.cf7-champ label,
.cf7-champ-plein label {
    display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .cf7-grille {
        grid-template-columns: 1fr;
    }
    .temoignages-grid {
        grid-template-columns: 1fr;
    }
    .elementor-element-993ab7f {
        max-width: 100% !important;
        overflow: hidden !important;
    }
    .elementor-element-1b0eef2 {
        display: none !important;
    }
    /* Bannières hero : annuler le calc() sur mobile */
    .hero-inner .elementskit-section-title-wraper {
        padding-left: 5% !important;
    }

    /* ===== HEADER MOBILE : fond beige, pas transparent ===== */
    .elementor-element-46c0e0c {
        background-color: #EFE4D0 !important;
    }
    .elementor-element-dc9b07a img {
        filter: none !important;
    }
    .elementskit-navbar-nav .menu-item a {
        color: #3A6B4A !important;
        text-shadow: none !important;
    }
    .elementor-element-d210dcc .elementor-button {
        border: 2px solid #CEA58B !important;
        color: #664937 !important;
    }
}