
/* --- CONFIGURATION DES COULEURS ET POLICES --- */
:root {
    --background: #F4e6d6;/*** #EEEBE0; !!! */
    --background-card : #ffd6a529;
    --background-price-card : #ffd6a529;/*rgba(241, 245, 242, 0.5);  bg-secondary/50 */
    --nav-background : #e8c8a8;/*#fcf6f1;*//*** #ebe7d6; !!! */
    --footer-background : #e8c8a8;
    --primary: #6e1f1d;/*** #B87537;*/ /* Vert thérapeutique !!! */
    --foreground: #6e1f1d;         /* Texte sombre principal */
    --muted-foreground: #6e1f1d; /*** #5C6B73; !!! */   /* Texte secondaire */
    --secondary: #F1F5F2;          /* Fond des petites cartes d'infos */
    --border: #E2E8F0;
    --custom-bg: #FCF6F1;/* Fond page fbf4f0*/
    --white: #FFFFFF;
    --txt-foreground: #6e1f1d;/*** #B08973;*/ /* Marron rose !!! */
    --txt-green-d: #B87537;
    --txt-green-sombre:#91302b;
    --border: rgba(47, 62, 70, 0.15);     /* Bordures subtiles */
    --btn-color: #6e1f1d;
    --border-price-card: #6e1f1d;

    --txt-step-num: #6e1f1d;
    --primary-foreground: #B08973;
    --primary-light: #fbf4f0;
    --primary-light-hover: #6e1f1d;
    --secondary: #EEEBE0;                 /* Beige / Crème */
    --secondary-light: #ffd6a529;
    --secondary-hover: rgba(238, 235, 224, 0.6);         /* Texte adouci */
    --border: rgba(47, 62, 70, 0.15);     /* Bordures subtiles */
    --border-faq:#9597951c;
    --font-serif: 'Comfortaa', cursive; /* titres */
    --font-sans: 'Montserrat', sans-serif;/* Paragraphes / boutons / menus */
}

/* --- STYLES GÉNÉRAUX --- */
body {

    background-color: var(--custom-bg);
    color: var(--foreground);
    font-family: var(--font-sans);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
/* IMAGE 1 : EN HAUT À DROITE */
/* body::before {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background-image: url('/images/public/bg-haut.webp');
    background-repeat: no-repeat;
    background-position: right top;
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
    background-size: contain;
} */

/* IMAGE 2 : EN BAS À GAUCHE */
/* body::after {
    content: "";
    position: fixed;
    bottom: 0;
    left: 0;
    width: 450px;
    height: 485px;
    background-image: url('/images/public/bg-bas.webp');
    background-repeat: no-repeat;
    background-position: left bottom;
    opacity: 0.1; 
    z-index: -1;
    pointer-events: none;
    background-size: contain;
} */

/* --- CONFIGURATION MOBILE (Écrans inférieurs à 768px) --- */
@media (max-width: 767px) {
    body::before {
        width: 200px;  /* Largeur réduite pour mobile */
        height: 200px; /* Hauteur réduite pour mobile */
    }

    body::after {
        width: 225px;  /* Largeur réduite pour mobile */
        height: 243px; /* Hauteur réduite pour mobile (conserve le ratio d'origine) */
    }
}

/* Sécurité absolue contre le débordement à droite sur mobile */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative;
}
/* --- CONTAINER PRINCIPAL --- */
.section {
    padding: 8rem 0; /* Équivalent à py-32 md:py-40 */
}

@media (min-width: 768px) {
    .section { padding: 11rem 0; }
}

.container {
    max-width: 80rem; /* max-w-7xl (1280px) */
    margin: 0 auto;
    padding: 0 1.5rem; /* px-6 md:px-8 */
}

@media (min-width: 768px) {
    .container { padding: 0 2rem; }
}

/* --- EN-TÊTE DE SECTION --- */
.header-content {
    /* max-width: 42rem; max-w-2xl */
    margin-bottom: 5rem; /* mb-20 */
    text-align: center;
}

.subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--txt-foreground);
    margin-bottom: 1rem;
    font-weight: 600;
}

.title {
    font-family: var(--font-serif);
    font-size: 2.25rem; /* text-4xl */
    line-height: 1.25;
    margin: 0;
    color: var(--txt-green-d)
}

@media (min-width: 768px) {
    .title { font-size: 3rem; } /* md:text-5xl */
}
@media (min-width: 1024px) {
    .title { font-size: 3.75rem; } /* lg:text-6xl */
}

.title em {
    font-style: normal;
    color: var(--txt-foreground);
}

.description {
    font-size: 1.125rem; /* text-lg */
    color: var(--muted-foreground);
    margin-top: 1.5rem;
}
/* --- SECTION HERO --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    padding-top: 10rem;
    padding-bottom: 5rem;
    width: 100%;
}

@media (min-width: 768px) {
    .hero-content { padding-top: 8rem; padding-bottom: 7rem; }
}

.hero-grid {
    grid-template-columns: 1fr;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid { grid-template-columns: repeat(2, 1fr); }
}

.section-tagline {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--txt-green-sombre);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 400;
    line-height: 1.15;
    color: var(--foreground);
}

@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.25rem; } }

.hero-title em, .section-title em {
    font-style: italic;
    color: var(--primary);
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-top: 2rem;
    max-width: 28rem;
    line-height: 1.65;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
    justify-content: center;
}

.btn-black { background-color: var(--foreground); color: var(--background); }
.btn-black:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-outline { border: 1px solid rgba(10, 10, 10, 0.2); color: var(--foreground); }
.btn-outline:hover { background-color: rgba(10, 10, 10, 0.04); }

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
}

.stat-num { font-size: 2rem; color: var(--primary); margin-bottom: 0.25rem; }
.stat-txt { font-size: 0.75rem; color: var(--muted-foreground); letter-spacing: 0.05em; text-transform: uppercase; }

/* Conteneur d'image Hero et Halos Lumineux */
.hero-image-wrapper { position: relative; }

.image-frame-hero {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    max-height: 70vh;
    margin: 0 auto;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
}

@media (min-width: 1024px) { .image-frame-hero { margin-left: auto; margin-right: 0; } }

.image-frame-hero img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.image-frame-hero:hover img { transform: scale(1.03); }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.08), transparent);
}

.blur-halo-1 {
    position: absolute;
    bottom: -1.5rem; left: -1.5rem;
    width: 8rem; height: 8rem;
    background-color: var(--primary-light);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
}

.blur-halo-2 {
    position: absolute;
    top: -1.5rem; right: -1.5rem;
    width: 6rem; height: 6rem;
    background-color: var(--secondary);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
}

.arrow-down-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--muted-foreground);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -8px); }
    60% { transform: translate(-50%, -4px); }
}
        /* Grilles adaptatives */
.grid { display: grid; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

/* --- GALERIE PHOTOS --- */
.photo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .col-span-2 {
        grid-column: span 2 / span 2;
    }
}

.img-wrapper {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.aspect-video { aspect-ratio: 16 / 9; }
.aspect-square { aspect-ratio: 1 / 1; }

@media (min-width: 768px) {
    .md-aspect-auto { aspect-ratio: auto; }
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.photo-grid div:hover img { transform: scale(1.02); }

/* --- STYLES GENERIQUES EN REPLACEMENT DES CLASSES TAILWIND --- */
.font-serif { font-family: var(--font-serif); }
.font-sans { font-family: var(--font-sans); }

/* Utilitaires de conteneur */
.max-w-7xl {
    max-width: 90rem;
    margin: 0 auto;
    width: 100%;
}
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }

@media (min-width: 768px) {
    .px-8 { padding-left: 2rem; padding-right: 2rem; }
    .py-40 { padding-top: 10rem; padding-bottom: 10rem; }
}

/* Grilles adaptatives */
.grid { display: grid; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

/* Éléments interactifs globaux */
button, .btn-link {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

.btn-full {
    border-radius: 9999px;
    padding: 1rem 2rem;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    font-weight: 500;
}
/* --- GRILLE DES 3 BLOCS INFOS --- */
.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

@media (min-width: 768px) {
    .info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.info-card {
    background-color: var(--primary);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    color:var(--background);
}

.icon-svg {
    color: var(--background);
    margin-bottom: 1rem;
}

.card-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.card-head .icon-svg { margin-bottom: 0; flex-shrink: 0; }
.card-head .card-title { margin: 0; }

.card-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin: 0 0 0.75rem 0;
    color: var(--background);
}

.card-text {
    font-size: 0.875rem;
    color: var(--background);
    margin: 0;
}

.hours-space {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 0.25rem;
    font-size: 0.875rem;
}
.hours-row:last-child {
    border-bottom: none;
}

.hours-row .day { color: var(--background); }
.hours-row .time { font-weight: 500; }
.hours-row .closed { color: var(--background); font-weight: 600; }

/* Liste à puces de la carte atouts */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--background);
}
.feature-item-prepare {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--primary);
}
.feature-item svg{
    color:var(--background);
}

.flex-shrink-0 { flex-shrink: 0; }

/* --- SECTION COMPLÈTE MAP --- */
.map-section-header {
    margin-top: 4rem;
}

.map-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.map-title-block {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color:var(--muted-foreground);
}

.map-title-block h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin: 0;
}

.btn-group {
    display: flex;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.25);
    /* width:60%; */
    justify-content: center;
    background-color:var(--txt-foreground);
    color:var(--white);
}
.btn:hover{background-color:var(--white);color:var(--txt-foreground);}
.btn-dark {
    background-color: var(--foreground);
    color: var(--white);
}
.btn-dark:hover { opacity: 0.8; }

.btn-light {
    background-color: var(--white);
    color: var(--foreground);
    border: 1px solid var(--border);
}
.btn-light:hover { background-color: rgba(241, 245, 242, 0.6); }

/* --- ENCART DE LA MAP AVEC L'EFFET HOVER PROPRE --- */
.map-wrapper {
    position: relative;
    height: 420px;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

/* Filtre d'opacité graphique */
.map-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgb(175, 139, 116) 0%, rgb(232, 235, 228) 100%);
    mix-blend-mode: multiply;
    opacity: 0.35;
    transition: opacity 0.5s ease;
}

/* Déclenchement au survol : on retire l'opacité du filtre */
.map-wrapper:hover .map-overlay {
    opacity: 0;
}

.map-wrapper iframe {
    border: 0;
    display: block;
    width: 100%;
    height: 100%;
}

/* Tag d'adresse flottant */
.map-tag {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    z-index: 20;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 0.75rem;
    padding: 0.625rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    pointer-events: none;
}

.map-tag p {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 500;
}
/* ==========================================================================
STYLE DE LA NAVIGATION RESPONSIVE (SANS TAILWIND & SANS JS)
========================================================================== */
/* --- 1. CONFIGURATION DU MENU DESKTOP --- */
.nav-desktop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: none; /* Caché sur mobile */
    background-color: var(--nav-background);/* #ebe5d0f0; #e3dbc1f0; Votre couleur de fond */
    border-bottom: 1px solid rgba(122, 148, 129, 0.3); /* Bordure basse subtile avec votre couleur de texte */
    opacity: 0.95;
}

@media (min-width: 992px) {
    .nav-desktop { 
        display: block; /* S'affiche sur les grands écrans */
    }
}

.nav-inner {
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--txt-foreground); /* Votre couleur de texte */
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-item:hover {
    opacity: 0.75; /* Effet de survol doux */
}

/* Le Bouton Prendre RDV */
.nav-btn-rdv {
    background-color: var(--btn-color); /* Inversion pour faire ressortir le bouton */
    color: var(--white);
    padding: 0.65rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.25);
}

.nav-btn-rdv:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    background-color:var(--white);
    color:var(--txt-foreground);
}

/* --- 2. CONFIGURATION DU MENU MOBILE --- */
.nav-mobile {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: block;
    background-color: #e3dbc1f0;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .nav-mobile { 
        display: none; 
    }
}

/* Barre du haut fixe contenant le logo et le bouton burger */
.nav-mobile-bar {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(122, 148, 129, 0.3); 
    position: relative;
    z-index: 1001; 
    background-color: var(--nav-background);
    width: 100%;
    box-sizing: border-box;
}

/* Bouton burger */
.btn-burger {
    background: transparent;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Empêche le bouton de se faire écraser à droite */
}

/* Le volet/rideau qui va glisser (fermé par défaut) */
.nav-mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    background-color: var(--nav-background);
    width: 100%;
    box-sizing: border-box;
    
    /* --- Système de glissement --- */
    max-height: 0;            
    overflow: hidden;         
    padding: 0 1.5rem;        
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out; 
}

/* Classe activée par le JavaScript lors du clic (ouvert) */
.nav-mobile-menu.open {
    max-height: 450px; /* Légèrement augmenté pour laisser de la place aux boucles PHP */
    padding-top: 1rem;
    padding-bottom: 2rem;     
    border-bottom: 1px solid rgba(122, 148, 129, 0.3); 
}

.nav-mobile-item {
    color: var(--primary);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    padding: 0.25rem 0;
    display: block;
}

.nav-mobile-btn-rdv {
    background-color: var(--btn-color);
    color: #EEEBE0;
    text-align: center;
    text-decoration: none;
    padding: 0.8rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    display: block;
}

.center{text-align:center;}

/* --- ANIMATION --- */
/* --- CONFIGURATION DES SECTIONS --- */
.reveal-section {
    align-items: center;
    overflow: hidden; /* Sécurité anti-débordement horizontal */
}

/* --- ÉTATS INITIAUX (Cachés) --- */
.reveal-fade {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* --- ÉTAT FINAL GLOBAL (Quand .active est ajouté par JS) --- */
.reveal-fade.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translateX(0); /* Valable pour le glissement */
}

/* 1. Configuration du lien et SUPPRESSION DE LA BARRE BLEUE MOBILE */
.animated-link {
    position: relative;
    color: var(--primary);
    text-decoration: none;
    padding-bottom: 6px;
    cursor: pointer;
    display: inline-block;

    /* SOLUTION ICI : Supprime l'effet de flash bleu/gris sur iOS et Android */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* 2. La ligne de surlignage */
.animated-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--txt-foreground);
    transition: width 0.25s ease-in-out; 
}

/* 3. Effet Survol sur Ordinateur uniquement */
@media (hover: hover) {
    .animated-link:hover::after {
        width: 100%;
    }
}

/* 4. Maintien du surlignage si le lien est actif */
.animated-link.is-active::after {
    width: 100% !important;
}

.animated-link.is-active {
    color: var(--txt-foreground) !important;
}

/* ==========================================================================
   AJUSTEMENTS SPÉCIFIQUES POUR LE MOBILE (< 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .reveal-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* OPTIONNEL : Adoucir le glissement sur mobile */
    /* Sur un petit écran, un décalage de 100px peut faire "sauter" le texte de trop loin. 
       On réduit le décalage à 40px sur mobile pour un effet beaucoup plus élégant et fluide. */
    .reveal-left {
        transform: translateX(-40px);
    }
    .reveal-right {
        transform: translateX(40px);
    }
    
    /* On peut aussi accélérer un tout petit peu la transition sur mobile (0.6s) 
       car l'utilisateur fait défiler l'écran (scroll) beaucoup plus vite avec son pouce. */
    .reveal-left, .reveal-right, .reveal-fade {
        transition-duration: 0.6s;
    }
}

/* --- SECTION COMPRENDRE --- */
.txt-rose{ color: var(--txt-foreground); }
.txt-green{ color: var(--txt-green-d); }
.heart-icon{ color: var(--txt-foreground); text-align:center;font-size:0.95rem;}
.heart-icon-mobile{ color: var(--txt-foreground); text-align:center;font-size:0.8rem;}
.section-title {
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--foreground);
}

@media (min-width: 768px) { .section-title { font-size: 3.25rem; } }

.title-max-w { max-w: 42rem; }
.desc-mt { text-align:justify;font-size: 1.125rem; color: var(--muted-foreground); margin-top: 1.5rem; line-height: 1.65; }

/* Piliers / Avantages */
.pillars-grid {
    grid-template-columns: 1fr;
    margin-top: 8rem;
}

@media (min-width: 768px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillars-grid { grid-template-columns: repeat(4, 1fr); } }

.pillar-card {
    padding: 1rem;
    transition: transform 0.3s ease;
}
.pillar-card:hover { transform: translateY(-4px); }

/* Apparition au scroll des cartes (déclenchée par .active via le JS de index.php) */
.pillar-card.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.pillar-card.reveal-up.active { opacity: 1; transform: translateY(0); }
.pillar-card.reveal-up.active:hover { transform: translateY(-4px); transition: transform 0.3s ease; }
.pillar-card.reveal-up:nth-child(2) { transition-delay: 0.15s; }
.pillar-card.reveal-up:nth-child(3) { transition-delay: 0.3s; }
.pillar-card.reveal-up:nth-child(4) { transition-delay: 0.45s; }
.pillar-card.reveal-up.active:hover { transition-delay: 0s; }

.icon-box {
    width: 3.5rem; height: 3.5rem;
    border-radius: 1rem;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--txt-foreground);
    transition: background-color 0.3s ease;
}
.pillar-card:hover .icon-box { background-color: var(--nav-background);color:var(--primary-light) }

.pillar-card h3 { font-size: 1.1rem; font-weight: bold; margin-bottom: 0.5rem; }
.pillar-card p { font-size: 0.875rem; color: var(--background); line-height: 1.6; }

/* Comment ça fonctionne */
.how-it-works-grid {
    grid-template-columns: 1fr;
    /* align-items: center; */
    margin-top: 10rem;
}

@media (min-width: 1024px) { .how-it-works-grid { grid-template-columns: repeat(2, 1fr); } }

.image-square-frame {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    max-width: 35rem;
    margin: 0 auto;
}
.image-square-frame img { width: 100%; height: 100%; object-fit: cover; }

.blur-halo-square {
    position: absolute;
    bottom: -1rem; right: -1rem;
    width: 10rem; height: 10rem;
    background-color: var(--secondary);
    border-radius: 50%;
    filter: blur(45px);
    opacity: 0.6;
    z-index: -1;
}

.steps-list { display: flex; flex-direction: column; gap: 1.25rem; }
.step-item { display: flex; align-items: start; gap: 1rem; }
.step-num { font-weight:bold;font-size: 1.5rem; color:var(--txt-step-num); margin-top: 0.6rem; }
.step-text-container { flex: 1; }
.step-text { text-align:justify;font-size: 1rem; color: var(--foreground); padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }

/* --- SECTION THERAPEUTE --- */
.bg-therapeute { background-color: var(--secondary-light); }

.therapeute-grid {
    grid-template-columns: 1fr;
    /* align-items: center; */
}
@media (min-width: 1024px) { .therapeute-grid { grid-template-columns: 1fr 1fr; gap: 6rem; } }

.therapeute-image-wrapper { position: relative; }
.image-frame-therapeute {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    max-width: 28rem;
    margin: 0 auto;
    margin-top:5rem;
}
.image-frame-therapeute img { width: 100%; height: 115%; object-fit: cover; }

.watermark-text {
    position: absolute;
    bottom: -1rem; left: 2rem;
    font-size: 5rem;
    color: rgba(10, 10, 10, 0.04);
    font-style: italic;
    user-select: none;
    line-height: 1;
}
@media (min-width: 768px) { .watermark-text { font-size: 6rem; left: 4rem; } }

.therapeute-desc-stack { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.therapeute-desc-stack p { text-align:justify;font-size: 1rem; color: var(--muted-foreground); line-height: 1.65; }

.therapeute-mini-stats {
    display: flex; gap: 2.5rem;
    margin-top: 2.5rem; padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
}
.mini-stat-item { text-align: center; }
.mini-stat-num { font-size: 1.875rem; color: var(--primary); }
.mini-stat-lbl { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.25rem; }

.certs-title { font-size: 1.25rem; margin-top: 2.5rem; margin-bottom: 1.25rem; font-weight: bold; }
.certs-list { display: flex; flex-direction: column; gap: 0.75rem; }
.cert-item { display: flex; align-items: start; gap: 0.75rem; }
.cert-icon { color: var(--primary); margin-top: 1rem; flex-shrink: 0; }
.cert-text { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.5; }

/* --- SECTION RENDEZ-VOUS & TARIFS --- */
.rendezvous-section { position: relative; overflow: hidden; }
.rendezvous-bg-media { position: absolute; inset: 0; z-index: 1; }
.rendezvous-bg-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.06; }
.rendezvous-bg-overlay { position: absolute; inset: 0; background-color: rgba(255, 255, 255, 0.94); z-index: 2; }

.rendezvous-inner { position: relative; z-index: 10; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; }
.mb-20 { margin-bottom: 5rem; }

.rendezvous-grid { grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .rendezvous-grid { grid-template-columns: repeat(2, 1fr); gap: 4rem; } }
.rendezvous-icon{color:var(--background);}
.rendezvous-reservation{text-align: center;}
.pricing-stack { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.price-card {
    background-color: var(--background-price-card);
    border-radius: 1.25rem;
    border: 1px solid var(--border-price-card);
    padding: 1rem 2rem;
    display: flex; align-items: center; justify-content: space-between;
    transition: transform 0.3s ease;
}
.price-card:hover { transform: scale(1.01); }
.price-info { display: flex; align-items: center; gap: 1rem; }
.price-icon { flex-shrink: 0; color: var(--primary); }
.price-name { font-size: 1rem; font-weight: 500; color: var(--foreground); }
.price-duration { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.25rem; display: flex; align-items: center; gap: 0.25rem; }
.price-amount { font-size: 1.875rem; color: var(--primary); }

.info-alert-box {
    background-color: var(--secondary-light);
    border-radius: 1.25rem;
    padding: 1rem;
    margin-top: 0.5rem;
    display: flex; gap: 1rem;
    align-items: start;
    border: 1px solid var(--border-price-card);
}
.info-alert-box p { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6;}

/* Formulaire ou Prise de RDV */
.booking-card {
    background-color: var(--nav-background); border: 1px solid var(--border);
    border-radius: 1.5rem; padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}
.booking-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; font-weight: 500; }
.booking-card > p { font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 2rem; }

.booking-steps-vertical { display: flex; flex-direction: column; gap: 1rem; }
.b-step { display: flex; gap: 1rem; }
.b-step-num {
    width: 2rem; height: 2rem; border-radius: 50%;
    background-color: var(--background); color: var(--foreground);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.875rem; font-weight: 600; flex-shrink: 0;
    margin-top:2rem;
}
.b-step-title { font-size: 1rem; font-weight: 500; margin-bottom: 0.25rem; }
.b-step-desc { font-size: 0.875rem; color: var(--background); line-height: 1; }

.btn-booking-action {
    width: 100%; display: block; text-align: center; margin-top: 2.5rem;
    background-color: var(--primary); color: var(--primary-foreground);
    text-decoration: none; border-radius: 9999px; padding: 1rem 2rem;
    font-size: 0.875rem; font-weight: 500; letter-spacing: 0.05em;
}
.btn-booking-action:hover { opacity: 0.9; }

/*** BTN RDV ***/
.custom-appointment-btn {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    font-family: sans-serif;
    font-size: 14px;
    font-weight : 700;
    height: 45px;
    border:none;
    /* Couleurs basées sur ton identité visuelle */
    background-color: var(--background); /* Ton vert thérapeutique */
    color: var(--primary);            /* Texte blanc pour le contraste */
    padding: 0 30px;
    border-radius: 25px;     /* Bouton arrondi moderne */
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    width:100%;
    margin-top:2rem;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

/* Badge flottant Calendly (injecté par widget.js, couleurs en inline => !important) */
.calendly-badge-widget .calendly-badge-content {
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease !important;
}
.calendly-badge-widget .calendly-badge-content:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    background-color: var(--white) !important;
    color: var(--txt-foreground) !important;
}

.custom-appointment-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    background-color: var(--white);
    color: var(--txt-foreground);
}

/* --- SECTION FAQ --- */
/* .faq-section { background-color: var(--secondary-light); } */
.faq-max-w { max-w: 38rem; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }

.faq-item {
    background-color: var(--background);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
}
/* .faq-item:hover { border-color: rgba(74, 124, 89, 0.2); } */

.faq-trigger {
    width: 100%; text-align: left; padding: 1.25rem 1.5rem;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 1rem; font-weight: 500; color: var(--foreground);
}
/* --- L'ICÔNE FLÈCHE (Inchangée, rotation douce) --- */
/* --- LE CONTENEUR GLOBAL FAQ (Ombre, arrondi et bordure discrète) --- */
.faq-container-box {
    background-color: var(--background);
    border-radius: 1.5rem; /* rounded-3xl */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); /* shadow-xl */
    padding: 2rem; /* p-8 */
    border: 1px solid var(--border-faq); /* border-amber-100 (ajustable selon ton nuancier #EEEBE0) */
    margin: 0 auto 3rem auto;
    width:80%;
}

/* --- L'ÉLÉMENT DE LIGNE FAQ --- */

.faq-item:last-child {
    border-bottom: 0; /* Pas de bordure sur le dernier élément */
}

/* --- LE BOUTON COMMANDE (TRIGGER) --- */
.faq-trigger {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    padding: 1.5rem 0; /* py-6 */
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
    /* background-color: var(--nav-background); */
}

/* Texte de la question */
.faq-question-text {
    font-size: 1.125rem; /* text-lg */
    font-weight: 600; /* font-semibold */
    color: var(--txt-green-d); /* text-gray-900 */
    padding-right: 1rem;
}

/* Effet au survol : changement de couleur de la question */
.faq-trigger:hover .faq-question-text {
    color: var(--txt-foreground);
}

/* --- L'ICÔNE CHEVRON --- */
.faq-icon-chevron {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    color: #6b7280; /* text-muted-foreground */
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- LOGIQUE D'ANIMATION FLUIDE DU TEXTE (GRID SYSTEM) --- */
.faq-content {
    display: grid;
    grid-template-rows: 0fr; /* Fermé par défaut au pixel près */
    transition: grid-template-rows 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content-inner {
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.15s ease-out;
}

.faq-content-inner p {
    color: var(--primary);
    font-size: 0.875rem;
    line-height: 1.5;
    padding-bottom: 1.5rem; /* Espace interne quand c'est ouvert */
    margin: 0;
}

/* --- S'IL EST OUVERT [data-state="open"] --- */
.faq-item[data-state="open"] .faq-content {
    grid-template-rows: 1fr; /* S'ouvre instantanément à la hauteur du texte */
}

.faq-item[data-state="open"] .faq-content-inner {
    opacity: 1;
}

.faq-item[data-state="open"] .faq-icon-chevron {
    transform: rotate(180deg); /* Rotation fluide de la flèche */
}
.faq-info{
    display:grid;
    width:80%;
    margin:auto;
    margin-top:3rem;
    text-align: center;
}
.contact-svg{
    background-color: var(--white); padding: 1rem; border-radius: 1rem;
}
/* --- FOOTER --- */
.footer-main { background-color: var(--footer-background); border-top: 1px solid var(--border); padding: 0 2rem; } /* Légèrement augmenté le padding pour respirer */

/* --- LA GRILLE DE BASE (ORDINATEUR) --- */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 5rem;
    margin-bottom: 0.75rem;
    color: var(--muted-foreground);
}

/* SÉCURITÉ ANTI-TRONQUAGE : Force la première colonne à gérer correctement le texte */
.footer-grid p {
    white-space: normal;       /* Permet le retour à la ligne */
    word-break: break-word;    /* Coupe les mots si l'écran est minuscule */
    overflow-wrap: break-word; /* Recommandé pour le responsive mobile */
    margin-top: 0.25rem;
    font-size: 0.85rem;
    line-height: 1.4;
}

.footer-title {
    color: var(--foreground);
    margin-top: 0;
    margin-bottom: 0.5rem;
}

/* --- LA CORRECTION MAGIQUE D'ALIGNEMENT --- */
.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-grid ul li {
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
}

.footer-grid svg {
    color: var(--txt-foreground);
}

/* --- CORRECTION DES LIENS (Prise en compte de .nav-item et .footer-link) --- */
.footer-link {
    text-decoration: none;
    color: inherit;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}
.footer-link:hover, .nav-item:hover { 
    color: var(--foreground); 
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--txt-foreground);
    font-size: 0.875rem;
    margin-top: 0.4rem;
}

.footer-icon-heart {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0; /* Évite que l'icône de cœur se déforme sur mobile */
}

.footer-icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    flex-shrink: 0; /* Évite que les icônes de contact se déforment sur mobile */
}

.footer-contact-address {
    display: flex;
    align-items: flex-start !important;
}

.footer-timetable-item {
    display: block !important; 
    font-size: 0.875rem;
}

.footer-timetable-day {
    font-weight: 500;
    color: var(--txt-foreground);
}
.footer-bottom {
    text-align: center; /* Centre le copyright sur mobile pour un rendu plus propre */
}
.footer-copy, .footer-legal a { font-size: 0.75rem; color: var(--muted-foreground); text-decoration: none; }
/* --- COMPORTEMENT RESPONSIVE PARFAIT --- */
@media (max-width: 1024px) {
    /* Sur tablette : Passe à 2 colonnes égales */
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 2rem; }
}

@media (max-width: 640px) {
    /* Sur mobile : Passe à 1 seule colonne. Le texte prendra 100% de la largeur du téléphone */
    .footer-grid { grid-template-columns: 1fr; gap: 1rem; }
    
    .footer-bottom {
        text-align: center; /* Centre le copyright sur mobile pour un rendu plus propre */
    }
}

/* Footer collé en bas de page */
html {
    height: 100%;
}

body {
    min-height: 100vh;          /* repli */
    min-height: 100dvh;         /* mobile : tient compte de la barre d'adresse */
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;             /* le contenu prend tout l'espace libre */
}

.footer-main {
    flex-shrink: 0;
    padding: 1rem 2rem 0.5rem;  /* padding vertical condensé */
}

.footer-bottom,
.footer-copy {
    margin-bottom: 0;           /* supprime la marge qui créait la bande */
}