/* ===== PAGE LAYOUT PRO ===== */
/* html, body {
    height: 100%;
} */

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* ==================== RESET & VARIABLES ==================== */

/* Reset CSS : supprime les marges/paddings par défaut des navigateurs */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* box-sizing: border-box fait que la largeur totale inclut padding et border */
}

/* Définition des variables CSS (couleurs, polices, ombres) */
:root {
    /* Palette Violet et Or - Style africain premium */
    --primary: #5B2C6F;       /* Violet profond - sagesse, spiritualité, confiance */
    --primary-dark: #4A235A;  /* Violet sombre pour survols */
    --primary-light: #7D3C98; /* Violet clair */
    --text-violet: #66109E;   /* Violet logo - couleur textes */
    --secondary: #D4AF37;     /* Or - prestige, succès, lumière */
    --secondary-dark: #B7952B;/* Or foncé pour survols */
    --accent-gold: #F1C40F;   /* Or brillant - énergie, optimisme */
    --accent-purple: #8E44AD; /* Violet vif - créativité */
    --text-dark: #1A1A2E;     /* Bleu nuit très sombre - lisibilité */
    --text-light: #4A4A68;    /* Gris-violet clair */
    --text-muted: #9B9BB0;    /* Gris moyen */
    --bg-light: #F8F6FC;      /* Fond violet très léger */
    --bg-cream: #FDF8F0;      /* Fond crème pour chaleur */
    --white: #ffffff;         /* Blanc */
    --shadow: 0 14px 30px -12px rgba(91, 44, 111, 0.15), 0 10px 20px -15px rgba(0,0,0,0.05);
    --border-radius: 16px;    /* Arrondi standard des bordures */
    --transition: all 0.3s ease; /* Transition douce pour les animations */
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
    50% {
        transform: scale(1.03);
        text-shadow: 0 0 30px rgba(56, 178, 172, 0.25);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

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

.hero-subtitle,
.section-title,
.about-title,
.docteur-badge,
.docteur-titre,
.contact-card h3,
.service-card h3,
.pilier-card h3 {
    opacity: 0;
    transform: translateY(18px);
    animation: textRise 1s ease-out forwards;
}

/* Hero animation delays — sizing defined in the Hero Section below */
.hero-title {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1s ease-out forwards;
    animation-delay: 0.25s;
}
/* .hero-subtitle,
.hero-signature,
.hero-text {
    opacity: 0;
    transform: translateX(-40px);
    animation: slideInLeft 1s ease-out forwards;
}

.hero-subtitle  { animation-delay: 0.55s; }
.hero-text      { animation-delay: 0.65s; }
.hero-signature { animation-delay: 0.85s; } */

.hero-subtitle,
.hero-signature,
.hero-text {
    opacity: 0;
    transform: translateX(-40px);
    animation: slideInLeft 1s ease-out forwards;
}

.hero-subtitle  { animation-delay: 0.55s; }
.hero-text      { animation-delay: 0.65s; }
.hero-signature { animation-delay: 0.85s; }

.hero-text .highlight-text {
    color: var(--accent-gold);
    font-weight: 600;
}

.section-title {
    animation-delay: 0.3s;
}

.about-title {
    animation-delay: 0.35s;
}

.docteur-badge {
    animation-delay: 0.2s;
}

.docteur-titre {
    animation-delay: 0.4s;
}

.contact-card h3 {
    animation-delay: 0.25s;
}

.service-card h3,
.pilier-card h3 {
    animation-delay: 0.25s;
}

.hero-title span.highlight {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 600;
    font-style: italic;
    color: var(--accent-gold);
    animation: pulseGlow 3.5s ease-in-out infinite;
    letter-spacing: 0.05em;
}

/* [SAUVEGARDE] hero-content textRise supprimé — géré dans le bloc Hero Section */

.section-title:hover,
.hero-title:hover {
    transform: translateX(0) scale(1.01);
}

.section-title,
.about-title,
.docteur-titre {
    animation: textRise 0.95s ease-out forwards;
}


body {
    font-family: 'Poppins', sans-serif;
    /* Police Poppins importée depuis Google Fonts */
    color: var(--text-dark);
    line-height: 1.6;
    /* Hauteur de ligne pour une bonne lisibilité */
    background-color: var(--white);
    overflow-x: hidden;
    /* Cache le débordement horizontal */
    padding-top: 75px; /* Compense la navbar fixed */
}

/* Conteneur centralisé : limite la largeur max et centre le contenu */
.container {
    max-width: 1280px;
    margin: 0 auto;
    /* margin: 0 auto centre horizontalement */
    padding: 0 24px;
}

/* ==================== TYPOGRAPHIE ==================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
}

body, p, a, li, button, span, div {
    font-family: 'Poppins', sans-serif;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

/* mobile hero handled in hero section above */

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

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.section-subtitle .title-accent {
    color: var(--text-violet) !important;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* ==================== HEADER & NAVIGATION ==================== */

.header {
    top: 0;
    left: 0;
    width: 100%;
    min-height: 75px;              /* réduit — était 90px */
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.10);
    z-index: 1000;
    position: fixed;
    /* Transition activée après chargement par .transitions-ready */
}

.header.transitions-ready {
    transition: transform 0.32s ease,
                box-shadow 0.32s ease,
                background 0.32s ease,
                min-height 0.32s ease;
}

/* Navbar compacte après 60px de scroll */
.header-scrolled {
    min-height: 60px;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 3px 20px rgba(91, 44, 111, 0.15);
}
.header-scrolled .header-inner {
    min-height: 60px;
}
.header-scrolled .logo-img {
    height: 38px;
    max-height: 38px;
    transition: height 0.3s ease, max-height 0.3s ease;
}

/* Scroll vers le bas → cache la navbar */
.header-hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem 0 1rem;
    min-height: 75px;   /* réduit — était 90px */
}

.logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

/* [SAUVEGARDE LOGO CSS] logo.png → logo3.jpg → logo5.jpeg → Logo_principalKonoula.png */
.logo-img {
    height: 48px;       /* réduit — était 58px */
    max-height: 48px;
    width: auto;
    display: block;
    margin-right: 1.5rem;
}

.nav-list {
    display: flex;
    gap: 0.65rem;
    list-style: none;
    /* Supprime les puces de liste */
    align-items: center;
}

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

.nav-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.85rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    padding: 0.3rem 0.7rem;
    border-radius: 25px;
    position: relative;
    line-height: 1.2;
}

.nav-list a:hover {
    color: var(--white);
    background: var(--primary);
    transform: translateY(-2px);
    text-shadow: none;
}

.nav-list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-list a:hover::after {
    width: 100%;
}

/* ===== APPOINTMENT BUTTON ===== */
.btn-appointment {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.4rem 0.85rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.8rem;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 0.4rem;
    border: 2px solid var(--primary);
    white-space: nowrap;
}

.btn-appointment:hover {
    background: transparent;
    color: var(--text-violet) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(91, 44, 111, 0.3);
}

.btn-appointment i {
    font-size: 0.85rem;
}

/* ===== DROPDOWN MENU ===== */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.nav-dropdown-toggle::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle::after {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 0.5rem 0;
    min-width: 220px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown-menu:hover {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Keep dropdown visible when hovering over menu itself */
.nav-dropdown-menu:hover {
    display: block;
    opacity: 1;
    visibility: visible;
}

.nav-dropdown:hover .nav-dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-menu li {
    margin: 0;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-dropdown-menu a:hover {
    background: var(--primary);
    color: var(--white) !important;
    border-left-color: var(--primary);
    padding-left: 2rem;
    transform: none;
}

/* Mobile dropdown */
@media (max-width: 768px) {
    .nav-dropdown-menu {
        position: static;
        display: none;
        background: var(--bg-light);
        box-shadow: none;
        padding-left: 1rem;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    .nav-dropdown.active .nav-dropdown-menu {
        display: block;
    }
    
    .nav-dropdown-menu a {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }
}


/* Bouton menu mobile (caché par défaut, apparaît sur petits écrans) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Responsive : menu mobile */
@media (max-width: 992px) {
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        /* Caché à gauche de l'écran */
        width: 85%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        transition: var(--transition);
        z-index: 999;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    }

    .nav.active {
        left: 0;
        /* Quand actif, glisse vers la droite */
    }

    .nav-list {
        flex-direction: column;
        padding: 2rem;
        gap: 0.5rem;
    }

    .nav-list a {
        color: var(--text-dark);
        font-size: 1rem;
        padding: 0.6rem 1rem;
        width: 100%;
        text-align: left;
    }

    .nav-list a:hover {
        background: var(--primary);
        color: var(--white);
    }

    .btn-appointment {
        margin: 1rem 0 0 0;
        width: 100%;
        justify-content: center;
    }

    .mobile-menu-btn {
        display: block;
        /* Affiche le bouton hamburger */
    }
}

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

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 40px;
    /* Boutons très arrondis */
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

/* [SAUVEGARDE BTN] Ancien : background: var(--primary) uni — dégradé violet→or sur demande client */
/* Bouton primaire — violet uni, flèche dorée */
.btn-primary {
    background: var(--primary) !important;
    color: var(--white) !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(91,44,111,0.3);
}
.btn-primary:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(91,44,111,0.5);
    color: var(--white) !important;
}

.btn-secondary {
    background: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    font-weight: 600;
}

.btn-secondary:hover {
    background: var(--accent-gold);
    color: #3A4A4A;
    border-color: var(--accent-gold);
}

.btn-outline {
    background: transparent;
    color: var(--text-violet);
    border: 2px solid var(--primary);
    font-weight: 600;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Bouton Or - Accents optimisme */
.btn-gold {
    background: var(--accent-gold);
    color: #3A4A4A;
    font-weight: 700;
}

.btn-gold:hover {
    background: #C4991F;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(212, 175, 55, 0.3);
}

/* Bouton Orange - Energie bienveillante */
.btn-orange {
    background: var(--accent-orange);
    color: var(--white);
    font-weight: 700;
}

.btn-orange:hover {
    background: #D47840;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(232, 148, 94, 0.3);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.125rem;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== HERO SECTION ==================== */

@keyframes arrowBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════════════════════════════════
   HERO — Fidèle image 1 référence client
   Photo plein écran, texte superposé gauche
   Proportions : texte ~45%, photo visible ~55%
   ═══════════════════════════════════════════════ */
.hero {
    position: relative;
    height: calc(100vh - 75px);
    min-height: 560px;
    overflow: hidden;
    background: #f5f0f8;
}

/* Photo plein écran en arrière-plan */
.hero-bg {
    position: absolute;
    inset: 0;
    /* Image 3 (desktop) — panoramique, espace blanc naturel à gauche */
    background: url("Image/psy_hero_desktop.jpg") center top / cover no-repeat;
    z-index: 0;
}

/* Léger voile blanc à gauche pour lisibilité du texte — la photo reste nette */
.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0.85) 0%,
        rgba(255,255,255,0.65) 25%,
        rgba(255,255,255,0.25) 42%,
        rgba(255,255,255,0.05) 58%,
        transparent 70%
    );
}

/* Contenu texte — réparti sur toute la hauteur */
.hero-overlay-content {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 52%;
    max-width: 560px;
    padding: 90px 0 60px 5vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
}

.hero > .hero-overlay-content {
    position: absolute;
    top: 0; left: 0; bottom: 0;
}

/* Titre */
.hero-main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.15;
    margin: 0;
}
.hero-title-accent {
    color: #66109E;
    font-style: italic;
    display: block;
}

/* Ligne or */
.hero-gold-line {
    width: 120px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
    flex-shrink: 0;
}

/* Sous-titre */
.hero-subtitle-new {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.88rem, 1.2vw, 1rem);
    font-weight: 400;
    color: #444;
    line-height: 1.7;
    margin: 0;
    opacity: 0;
    animation: heroFadeUp 0.6s ease 1.2s forwards;
}

/* Citation signature */
.hero-citation {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin: 0;
}
.hero-citation-bar {
    display: inline-block;
    width: 3px;
    min-height: 0;
    background: var(--secondary);
    border-radius: 2px;
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0;
    animation: heroBarGrow 0.4s ease 1.9s forwards;
}
@keyframes heroBarGrow {
    0%   { min-height: 0; opacity: 0; }
    100% { min-height: 28px; opacity: 0.45; }
}
.hero-citation em {
    font-family: 'Playfair Display', serif;
    font-size: clamp(0.85rem, 1.1vw, 0.98rem);
    font-style: italic;
    color: #555;
    line-height: 1.6;
    opacity: 0;
    animation: heroFadeUp 0.6s ease 2.3s forwards;
}

/* 3 icônes — animation séparée au chargement */
.hero-icons-row {
    display: flex;
    flex-direction: row;
    gap: 1.2rem;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
}

/* ═══════════════════════════════════════
   ANIMATIONS HERO — séquence complète
   Durée totale : ~3.5s
   ═══════════════════════════════════════ */

/* 1. LIGNE OR — grandit de gauche à droite après le titre */
@keyframes heroLineGrow {
    0%   { width: 0; opacity: 0; }
    100% { width: 120px; opacity: 1; }
}
.hero-anim-line {
    width: 0 !important;
    opacity: 0;
    animation: heroLineGrow 0.5s ease 0.9s forwards;
}

/* 2. FONDU + MONTÉE douce — sous-titre, citation texte, stats */
@keyframes heroFadeUp {
    0%   { opacity: 0; transform: translateY(16px); }
    100% { opacity: 1; transform: translateY(0); }
}
.hero-anim-fade {
    opacity: 0;
    animation: heroFadeUp 0.6s ease forwards;
}

/* 3. BARRE CITATION — grandit de haut en bas */
.hero-anim-bar {
    min-height: 0 !important;
    opacity: 0;
    animation: heroBarGrow 0.4s ease 1.9s forwards;
}

/* 4. ICÔNES — rebond élastique depuis le bas */
@keyframes iconFadeIn {
    0%   { opacity: 0; transform: translateY(25px) scale(0.88); }
    65%  { opacity: 1; transform: translateY(-4px) scale(1.04); }
    85%  { transform: translateY(2px) scale(0.98); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-icon-anim {
    opacity: 0;
    animation: iconFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-icon-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}
.hero-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(91,44,111,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-violet);
    border: 1.5px solid rgba(91,44,111,0.12);
    flex-shrink: 0;
}
.hero-icon-gold {
    background: rgba(212,175,55,0.08);
    color: var(--secondary);
    border-color: rgba(212,175,55,0.25);
}
.hero-icon-item span {
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    color: #555;
    line-height: 1.3;
}

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: nowrap;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    color: #666;
    margin: 0;
    white-space: nowrap;
    opacity: 0;
    animation: heroFadeUp 0.6s ease 5.4s forwards;
}
.hero-stats i { color: var(--secondary); margin-right: 3px; }
.hero-stats-sep { color: rgba(91,44,111,0.3); }

/* Flèche scroll */
.hero-scroll-arrow {
    position: absolute;
    bottom: 22px;
    left: 25%;
    transform: translateX(-50%);
    z-index: 10;
    color: rgba(91,44,111,0.4);
    font-size: 1.3rem;
    text-decoration: none;
    animation: arrowBounce 1.8s ease-in-out infinite;
    transition: color 0.2s;
}
.hero-scroll-arrow:hover { color: var(--secondary); }

/* ── VERSION ACTIVE — image mobile dédiée, affichée intégralement (ratio exact 1280:1133) ── */
/* ── VERSION ACTIVE — image unique en fond, texte limité à la zone claire de la photo ── */
@media (max-width: 600px) {
    .hero {
        position: relative;
        height: auto;
        min-height: 0;
        padding: 0 0 5.5rem 0;
        background: #ffffff;
        overflow: hidden;
    }
    .hero-bg {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 5.5rem;
        background-image: url("Image/psy_hero_mobile.jpg");
        background-size: cover;
        background-position: 80% 10%;
        z-index: 0;
    }
    .hero-bg::after {
        content: "";
        position: absolute;
        inset: 0;
        background:
            linear-gradient(to right, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.8) 45%, rgba(255,255,255,0.25) 62%, transparent 72%),
            linear-gradient(to bottom, transparent 78%, #ffffff 100%);
    }

    /* .hero-bg::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, transparent 78%, #ffffff 100%);
    } */
    /* .hero-bg::after { content: none; } */
     /* le fondu est déjà dans la photo, pas besoin d'en rajouter un */

    .hero > .hero-overlay-content {
        position: static;
        width: 62%;
        max-width: 62%;
        padding: 1.6rem 3vw 0 5vw;
        gap: 0.8rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        z-index: 2;
    }
    .hero-main-title { font-size: clamp(1.5rem, 6.8vw, 2.1rem); min-height: 2.3em; position: relative; z-index: 5; }
    .hero-stats { flex-wrap: wrap; white-space: normal; font-size: 0.65rem; gap: 0.3rem; }
    .hero-stats-sep { display: none; }
    .hero-scroll-arrow { display: none; }

    .hero-icons-row {
        position: absolute;
        left: 0; right: 0; bottom: 0;
        width: 100%;
        margin: 0;
        padding: 0.9rem 4vw;
        background: transparent;
        z-index: 3;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: nowrap;
        gap: 0.4rem;
    }
    .hero-icon-item { flex-direction: column; align-items: center; text-align: center; gap: 0.35rem; }
    .hero-icon-item span { font-size: 0.6rem; line-height: 1.2; }
}

/* ── MOBILE UNIQUEMENT (téléphones, PAS les tablettes) ── */
/* @media (max-width: 600px) {
    .hero {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        height: auto;
        min-height: 0;
        overflow: hidden;
        padding: 0 0 5.5rem 0;
    }
    .hero-bg {
        position: static;
        order: 2;
        width: 42%;
        flex-shrink: 0;
        background-image: url("Image/psy_hero_mobile.jpg");
        background-size: cover;
        background-position: 70% 15%;
    }
    .hero-bg::after { content: none; }
    .hero > .hero-overlay-content {
        position: static;
        order: 1;
        width: 58%;
        max-width: 58%;
        padding: 1.4rem 3vw 1.4rem 5vw;
        gap: 0.8rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    .hero-main-title { font-size: clamp(1.5rem, 6.5vw, 2rem); }
    .hero-stats { flex-wrap: wrap; white-space: normal; font-size: 0.62rem; gap: 0.3rem; }
    .hero-stats-sep { display: none; }
    .hero-scroll-arrow { display: none; }
    .hero-icons-row {
        position: absolute;
        left: 0; right: 0; bottom: 0;
        width: 100%;
        margin: 0;
        padding: 0.9rem 4vw;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: nowrap;
        gap: 0.4rem;
    }
    .hero-icon-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.35rem;
    }
    .hero-icon-item span { font-size: 0.6rem; line-height: 1.2; }
} */
/* @media (max-width: 600px) {
    .hero {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        height: auto;
        min-height: 0;
        overflow: hidden;
        padding: 0;
    }
    .hero-bg {
        position: static;
        order: 2;
        width: 42%;
        flex-shrink: 0;
        background-image: url("Image/psy_hero_mobile.jpg");
        background-size: cover;
        background-position: center 20%;
    }
    .hero-bg::after {
        content: none;
    }
    .hero > .hero-overlay-content {
        position: static;
        order: 1;
        width: 58%;
        max-width: 58%;
        padding: 1.4rem 3vw 1.4rem 5vw;
        gap: 0.8rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    .hero-main-title { font-size: clamp(1.5rem, 6.5vw, 2rem); }
    .hero-icons-row { gap: 0.6rem; flex-wrap: wrap; }
    .hero-icon-item span { font-size: 0.62rem; }
    .hero-stats { flex-wrap: wrap; white-space: normal; font-size: 0.62rem; gap: 0.3rem; }
    .hero-stats-sep { display: none; }
    .hero-scroll-arrow { display: none; }
} */
/* @media (max-width: 600px) {
    .hero {
        height: auto;
        min-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    .hero-bg {
        position: absolute;
        inset: 0;
        height: 100%;
        background-image: url("Image/psy_hero_mobile.jpg");
        background-position: center 20%;
    }
    .hero-bg::after {
        background: linear-gradient(
            180deg,
            rgba(255,255,255,0.95) 0%,
            rgba(255,255,255,0.75) 38%,
            rgba(255,255,255,0.25) 60%,
            transparent 80%
        );
    }
    .hero > .hero-overlay-content {
        position: relative;
        width: 100%;
        max-width: 100%;
        padding: 1.8rem 6vw 2.5rem;
        gap: 1rem;
    }
    .hero-main-title { font-size: clamp(1.9rem, 7.5vw, 2.5rem); }
    .hero-icons-row { gap: 0.8rem; flex-wrap: wrap; }
    .hero-stats { flex-wrap: wrap; white-space: normal; font-size: 0.7rem; gap: 0.4rem; }
    .hero-stats-sep { display: none; }
    .hero-scroll-arrow { display: none; }
} */
/* @media (max-width: 600px) {
    .hero {
        height: calc(100vh - 70px);
        min-height: 560px;
        padding-top: 0;
        padding-bottom: 0;
    }
    .hero-bg {
        position: absolute;
        inset: 0;
        height: 100%;
        background-image: url("Image/psy_hero_mobile.jpg");
        background-position: center 20%;
    }
    .hero-bg::after {
        background: linear-gradient(
            180deg,
            rgba(255,255,255,0.95) 0%,
            rgba(255,255,255,0.75) 38%,
            rgba(255,255,255,0.25) 60%,
            transparent 80%
        );
    }
    .hero > .hero-overlay-content {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        width: 100%;
        max-width: 100%;
        padding: 1.8rem 6vw 1.5rem;
        gap: 1rem;
        justify-content: space-between;
    }

    .hero-main-title { font-size: clamp(1.9rem, 7.5vw, 2.5rem); }
    .hero-icons-row { gap: 0.8rem; flex-wrap: wrap; }
    .hero-stats { flex-wrap: wrap; white-space: normal; font-size: 0.7rem; gap: 0.4rem; }
    .hero-stats-sep { display: none; }
    .hero-scroll-arrow { display: none; }
} */


/* Neutraliser anciens styles hero */
.hero-slides, .hero-grid, .hero-content,
.hero-text, .hero-tagline, .hero-signature,
.hero-buttons, .hero-social-proof,
.hero-slide, .hero-left, .hero-right,
.hero-photo, .hero-btns-new,
.hero-btn-primary, .hero-btn-secondary { display: none !important; }

/* ==================== PROBLÉMATIQUE ==================== */

.problematique {
    padding: 80px 0;
    background: var(--bg-light);
}

.problematique-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Grille responsive : auto-ajustement */
    gap: 2rem;
}

.problematique-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.problematique-card:hover {
    transform: translateY(-5px);
}

.problematique-card i {
    font-size: 2.5rem;
    color: var(--text-violet);
    margin-bottom: 1rem;
}

/* Accents de couleur pour les cartes problématique */
.problematique-card:nth-child(2) i {
    color: var(--accent-gold);
}

.problematique-card:nth-child(3) i {
    color: var(--accent-orange);
}

.problematique-card h3 {
    margin-bottom: 0.5rem;
}

/* ==================== PILIERS (4 AXES) ==================== */

.piliers {
    padding: 80px 0;
}

.piliers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.pilier-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.pilier-card:hover {
    transform: translateY(-5px);
}

.pilier-icon {
    width: 80px;
    height: 80px;
    background: rgba(39, 103, 73, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.pilier-icon i {
    font-size: 2rem;
    color: var(--text-violet);
}

/* Accents de couleur pour les piliers */
.pilier-card:nth-child(1) .pilier-icon {
    background: rgba(45, 122, 109, 0.1);
}

.pilier-card:nth-child(2) .pilier-icon {
    background: rgba(212, 175, 55, 0.1);
}

.pilier-card:nth-child(2) .pilier-icon i {
    color: var(--accent-gold);
}

.pilier-card:nth-child(3) .pilier-icon {
    background: rgba(232, 148, 94, 0.1);
}

.pilier-card:nth-child(3) .pilier-icon i {
    color: var(--accent-orange);
}

.pilier-card:nth-child(4) .pilier-icon {
    background: rgba(168, 216, 216, 0.1);
}

.pilier-card:nth-child(4) .pilier-icon i {
    color: var(--secondary);
}

/* ==================== ABOUT (QUI SOMMES-NOUS) ==================== */

.about {
    padding: 80px 0;
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-badge {
    display: inline-block;
    background: rgba(129, 230, 217, 0.18);
    color: var(--secondary-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.about-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* [SAUVEGARDE] Ancien : grid 1fr 1fr — passé en colonne pour justify propre */
.mission-vision {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.mission, .vision {
    background: var(--white);
    padding: 1.2rem 1.6rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.mission p, .vision p {
    text-align: justify !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    line-height: 1.7;
    overflow-wrap: break-word;
    word-spacing: normal !important;
    margin: 0;
}

.mission h3, .vision h3 {
    text-align: left;
    margin-bottom: 0.6rem;
}

.mission h3 i, .vision h3 i {
    color: var(--text-violet);
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .mission-vision {
        grid-template-columns: 1fr;
    }
}

.about-img {
    width: 100%;
    border-radius: var(--border-radius);
    object-fit: cover;
    height: 500px;
}

/* ==================== SERVICES ==================== */

.services {
    padding: 80px 0;
}

/* ─── NOUVEAU DESIGN SERVICES — grille 3×2 + cartes horizontales ─── */
.services-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.svc-card {
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    border: 1.5px solid transparent;
}
.svc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(91,44,111,0.12);
    border-color: rgba(91,44,111,0.15);
}

.svc-card-inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.4rem 1.2rem;
    position: relative;
}

/* Icône ronde */
.svc-icon-wrap {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}
.svc-icon-violet {
    background: rgba(91,44,111,0.10);
    color: var(--text-violet);
}
.svc-icon-gold {
    background: rgba(212,175,55,0.12);
    color: #C9971A;
}
.svc-icon-lg {
    width: 68px;
    height: 68px;
    font-size: 1.75rem;
    margin: 0 auto 1.25rem;
}

/* Corps texte */
.svc-body {
    flex: 1;
    min-width: 0;
}
.svc-title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-violet);
    margin-bottom: 0.35rem;
    line-height: 1.35;
}
.svc-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.55;
    margin-bottom: 0.6rem;
}
.svc-link {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-violet);
    text-decoration: none;
    display: none;
}
.svc-link:hover { text-decoration: underline; }

/* Flèche droite (visible mobile) */
.svc-arrow {
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--text-violet);
    font-size: 1rem;
    cursor: pointer;
    padding: 0 0 0 0.5rem;
    align-self: center;
    display: none;
    transition: transform 0.2s;
}
.svc-arrow:hover { transform: translateX(3px); }

/* Desktop ≥ 900px : lien texte visible, flèche cachée */
@media (min-width: 900px) {
    .svc-link  { display: inline; }
    .svc-arrow { display: none;   }
}

/* Mobile < 900px : 1 colonne, lien caché, flèche visible */
@media (max-width: 899px) {
    .services-grid-new {
        grid-template-columns: 1fr;
    }
    .svc-link  { display: none;  }
    .svc-arrow { display: flex;  }
}

/* ─── MODAL SERVICES ─── */
.svc-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.52);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: svcFadeIn 0.2s ease;
}
.svc-modal-overlay[hidden] { display: none; }

@keyframes svcFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.svc-modal {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2rem 2rem;
    max-width: 520px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    position: relative;
    text-align: center;
    animation: svcSlideUp 0.25s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

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

.svc-modal-close {
    position: absolute;
    top: 1rem; right: 1rem;
    background: rgba(91,44,111,0.08);
    border: none;
    color: var(--text-violet);
    width: 34px; height: 34px;
    border-radius: 50%;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.svc-modal-close:hover { background: rgba(91,44,111,0.18); }

.svc-modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.svc-modal-body {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.75;
    text-align: left;
    margin-bottom: 1.5rem;
}
.svc-modal-body p  { margin-bottom: 0.8rem; }
.svc-modal-body ul { padding-left: 1.2rem; margin-bottom: 0.8rem; }
.svc-modal-body li { margin-bottom: 0.35rem; }
.svc-modal-body em { font-style: italic; color: var(--text-light); }

.svc-modal-cta {
    display: inline-block;
    text-decoration: none;
}

/* Badge eyebrow au-dessus des titres de section —
   même style que .docteur-badge pour respecter la charte graphique */
.section-eyebrow {
    display: inline-block;
    background: rgba(232, 167, 53, 0.12);
    color: var(--secondary);
    padding: 6px 18px;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    border: none;
}

/* Accent violet sur les 2 derniers mots des titres de section */
.title-accent {
    color: var(--text-violet);
}

/* Accent doré pour sections à fond violet (ex: formations) */
.title-accent-gold {
    color: var(--secondary);
}

/* Accent violet sur les 2 derniers mots des sous-titres */
.subtitle-accent {
    color: var(--text-violet);
    display: block;
}

/* Espacement des 2 lignes dans les cartes problématique */
.problematique-card p {
    margin-bottom: 0.4rem;
}
.problematique-card p:last-child {
    margin-bottom: 0;
}

/* ==================== FORMATIONS ==================== */

.formations {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.formations .section-title, .formations .section-subtitle {
    color: var(--white);
}

.formations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.formation-card {
    background: var(--white);
    color: var(--text-dark);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.formation-card:hover {
    transform: translateY(-5px);
}

.formation-icon i {
    font-size: 2.5rem;
    color: var(--text-violet);
    margin-bottom: 1rem;
}

.formation-tag {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-top: auto;
    padding-top: 6px;
}

.formations-buttons {
    text-align: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* [SAUVEGARDE] formations-buttons : btn-secondary transparent → or */
.formations-buttons .btn-primary {
    background: var(--accent-gold) !important;
    color: var(--text-dark) !important;
    border: none !important;
    font-weight: 700;
}

.formations-buttons .btn-secondary {
    background: transparent !important;
    border: 2px solid var(--white) !important;
    color: var(--white) !important;
}

/* ==================== BÉNÉFICIAIRES ==================== */

.beneficiaires {
    padding: 80px 0;
    background: var(--bg-light);
}

.beneficiaires-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.beneficiaire-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--secondary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.beneficiaire-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(91,44,111,0.15);
}

.beneficiaire-card h3 {
    color: var(--secondary);
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.beneficiaire-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.beneficiaire-card p {
    color: var(--text-light);
}

.beneficiaire-detail {
    color: var(--text-violet);
    font-weight: 600;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* ==================== CHIFFRES CLÉS ==================== */

.chiffres {
    padding: 60px 0;
    background: var(--primary);
    color: var(--white);
}

.chiffres-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 2rem;
}

.chiffre-number {
    font-size: 3rem;
    font-weight: 700;
}

.chiffre-label {
    font-size: 1rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .chiffres-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==================== CITATION BANDEAU ==================== */
.citation-bandeau {
    background: var(--primary);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.citation-bandeau::before,
.citation-bandeau::after {
    content: "\201C";
    position: absolute;
    font-family: 'Playfair Display', serif;
    font-size: 18rem;
    color: rgba(255,255,255,0.04);
    line-height: 1;
    pointer-events: none;
}
.citation-bandeau::before { top: -2rem; left: -1rem; }
.citation-bandeau::after  { bottom: -4rem; right: -1rem; transform: rotate(180deg); }
.citation-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.8rem;
}
.citation-guillemet {
    color: var(--secondary);
    font-size: 2rem;
    flex-shrink: 0;
    opacity: 0.9;
}
.citation-texte {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.15rem, 2.2vw, 1.55rem);
    font-weight: 400;
    font-style: italic;
    color: var(--white);
    text-align: center;
    line-height: 1.55;
    max-width: 680px;
    margin: 0;
}
.citation-auteur {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.citation-trait-or {
    width: 80px;
    height: 2px;
    background: var(--secondary);
    margin: 0.9rem auto 0.7rem;
}
@media (max-width: 768px) {
    .citation-bandeau { padding: 48px 0; }
    .citation-guillemet { font-size: 1.4rem; }
    .citation-inner { gap: 1rem; }
}

/* ==================== TÉMOIGNAGES (CARROUSEL) ==================== */

.temoignages {
    padding: 80px 0;
    background: var(--bg-light);
}

.temoignages-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.temoignages-container {
    display: flex;
    transition: transform 0.5s ease;
}

.temoignage-card {
    flex: 0 0 100%;
    /* Chaque carte prend 100% de la largeur du conteneur */
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.temoignage-quote i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.temoignage-text {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.temoignage-stars {
    color: var(--secondary);
    margin-top: 1rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--secondary);
}

.prev-btn {
    left: -60px;
}

.next-btn {
    right: -60px;
}

@media (max-width: 768px) {
    .prev-btn {
        left: 10px;
    }
    .next-btn {
        right: 10px;
    }
}

/* ==================== FAQ (ACCORDÉON) ==================== */
.faq {
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.faq-column {
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid rgba(26, 77, 140, 0.12);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    appearance: none;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.faq-question:hover {
    background: rgba(39, 103, 73, 0.08);
    transform: translateX(2px);
}

.faq-question::after {
    content: '➜';
    font-size: 1rem;
    color: var(--text-violet);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
    color: var(--primary-dark);
}

.faq-item.active .faq-question::after {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    padding: 0 1.25rem;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 320px;
    opacity: 1;
    padding: 0 1.25rem 1.25rem;
}

.faq-answer p {
    margin: 0;
    color: var(--text-dark);
    line-height: 1.75;
}

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

/* ==================== PARTENAIRES ==================== */

.partenaires {
    padding: 80px 0;
    background: var(--white);
}

.partenaires-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.partenaire-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.partenaire-logo {
    max-width: 100px;
    height: auto;
    margin-bottom: 1rem;
}

.partenaire-card h3 {
    color: var(--text-violet);
    margin-bottom: 0.5rem;
}

.partenaire-card p {
    color: var(--text-light);
}

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

.contact {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.contact-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.contact-card i {
    font-size: 2rem;
    color: var(--text-violet);
    margin-bottom: 0.5rem;
}

/* Accents de couleur pour les cartes contact */
.contact-card:nth-child(2) i {
    color: var(--accent-orange);
}

.contact-card:nth-child(3) i {
    color: var(--accent-gold);
}

.contact-card a {
    color: var(--text-violet);
    text-decoration: none;
}

.contact-social {
    text-align: center;
    margin-top: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--secondary);
    border-radius: 18px;
    font-family: inherit;
    transition: var(--transition);
    background: #ffffff;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.16);
}

.form-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 1rem;
}

#formFeedback {
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

#formFeedback.success {
    color: #0f5132;
}

#formFeedback.error {
    color: #842029;
}

button.loading {
    opacity: 0.75;
    cursor: progress;
}

.btn-cancel {
    border: 2px solid var(--primary);
    background: rgba(255, 255, 255, 0.18);
    color: var(--text-violet);
    border-radius: 40px;
    padding: 12px 26px;
    transition: var(--transition);
}

.btn-cancel:hover {
    background: rgba(39, 103, 73, 0.12);
    transform: translateY(-2px);
}


@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== DOCTEUR (FONDATRICE) ==================== */

.docteur {
    padding: 80px 0;
}

.docteur-grid {
    display: grid;
    /* [SAUVEGARDE] Ancien : grid-template-columns: 1fr 1.5fr — photo réduite sur demande client */
    grid-template-columns: 0.65fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.docteur-image img,
.docteur-image-small img {
    /* [SAUVEGARDE] Ancien : width: 100% sans contrainte max-width */
    width: 75%;
    max-width: 280px;
    border-radius: var(--border-radius);
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.docteur-badge {
    display: inline-block;
    background: rgba(232, 167, 53, 0.1);
    color: var(--secondary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.docteur-titre {
    color: var(--text-violet);
    font-weight: 600;
    margin: 0.5rem 0 1rem 0;
}

.docteur-devise {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    font-style: italic;
    margin: 1.5rem 0;
    border-left: 4px solid var(--secondary);
}

/* Verset — conviction personnelle, sobre et élégant */
.docteur-verset {
    font-family: 'Playfair Display', serif;
    font-size: 0.92rem;
    font-style: italic;
    color: #000000;
    opacity: 1;
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
    padding-left: 1rem;
    border-left: 2px solid var(--accent-gold);
}

@media (max-width: 768px) {
    .docteur-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== CTA FINAL ==================== */

.cta-final {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

/* [SAUVEGARDE CTA BTN] Ancien : transparent blanc → or jaune comme référence */
.cta-content .btn-primary,
.cta-final .btn-primary,
.cta-final .btn.btn-primary,
.cta-content .btn.btn-primary.btn-large {
    background: var(--accent-gold) !important;
    background-color: var(--accent-gold) !important;
    color: var(--text-dark) !important;
    border: none !important;
    box-shadow: 0 6px 24px rgba(212,175,55,0.4);
    font-weight: 700;
    padding: 18px 48px;
    font-size: 1.05rem;
}
.cta-content .btn-primary:hover,
.cta-final .btn-primary:hover {
    background: #c9a227 !important;
    background-color: #c9a227 !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212,175,55,0.5);
}

/* ==================== BANDEAU VERSET SUPÉRIEUR ==================== */
/* [SAUVEGARDE VERSET ANIMÉ] Ancienne section animée supprimée sur demande client (surcharge).
   Remplacée par bandeau discret en haut de page. */
.verse-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: rgba(255,255,255,0.92);
    text-align: center;
    padding: 10px 20px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(0.7rem, 1.1vw, 0.88rem);
    font-style: italic;
    font-weight: 400;
    position: relative;
    z-index: 1001;
    line-height: 1.6;
}
.verse-banner-text i {
    color: var(--accent-gold);
    margin-right: 8px;
    font-size: 0.85rem;
}
.verse-banner-text em {
    color: var(--accent-gold);
    font-style: normal;
    font-weight: 600;
    margin-left: 10px;
    letter-spacing: 0.5px;
}
@media (max-width: 768px) {
    .verse-banner { font-size: 0.66rem; padding: 8px 12px; }
}

/* Cacher les restes de l'ancienne section verset si présents */
.verset-section { display: none !important; }


/* ==================== BOUTON WHATSAPP FLOTTANT ==================== */
@keyframes waPop {
    0%   { transform: scale(0) rotate(-180deg); opacity: 0; }
    70%  { transform: scale(1.15) rotate(8deg);  opacity: 1; }
    100% { transform: scale(1) rotate(0deg);    opacity: 1; }
}
@keyframes waPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5), 0 6px 24px rgba(37,211,102,0.35); }
    50%       { box-shadow: 0 0 0 14px rgba(37,211,102,0), 0 6px 24px rgba(37,211,102,0.35); }
}
@keyframes waTooltipIn {
    from { opacity: 0; transform: translateX(10px); }
    to   { opacity: 1; transform: translateX(0); }
}
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 28px;
    z-index: 9999;
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 2rem;
    box-shadow: 0 6px 24px rgba(37,211,102,0.45);
    animation: waPop 0.7s cubic-bezier(0.22,1,0.36,1) 1.5s both,
               waPulse 2.5s ease-in-out 3s infinite;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-float:hover {
    transform: scale(1.12) rotate(-8deg);
    box-shadow: 0 10px 32px rgba(37,211,102,0.55);
    animation: none;
}
.whatsapp-float:hover .whatsapp-tooltip { display: flex; }
.whatsapp-tooltip {
    display: none;
    position: absolute;
    right: 74px;
    background: #128C7E;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    animation: waTooltipIn 0.25s ease-out forwards;
}
.whatsapp-tooltip::after {
    content: "";
    position: absolute;
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
    border: 7px solid transparent;
    border-right: none;
    border-left-color: #128C7E;
}
@media (max-width: 768px) {
    .whatsapp-float { bottom: 20px; right: 16px; width: 54px; height: 54px; font-size: 1.7rem; }
}

/* Cartes avec bouton aligné en bas — même niveau horizontal */
.program-card,
.pricing-card,
.formation-card {
    display: flex !important;
    flex-direction: column !important;
}
.program-content,
.pricing-content,
.formation-content {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}
.program-button,
.pricing-button,
.formations-buttons {
    margin-top: auto !important;
}
.reveal-up    { opacity: 0; transform: translateY(50px);  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.reveal-left  { opacity: 0; transform: translateX(-50px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.reveal-right { opacity: 0; transform: translateX(50px);  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.reveal-scale { opacity: 0; transform: scale(0.85);       transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.reveal-up.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible {
    opacity: 1; transform: none;
}
.reveal-up:nth-child(1), .reveal-scale:nth-child(1) { transition-delay: 0s; }
.reveal-up:nth-child(2), .reveal-scale:nth-child(2) { transition-delay: 0.1s; }
.reveal-up:nth-child(3), .reveal-scale:nth-child(3) { transition-delay: 0.2s; }
.reveal-up:nth-child(4), .reveal-scale:nth-child(4) { transition-delay: 0.3s; }
.reveal-up:nth-child(5), .reveal-scale:nth-child(5) { transition-delay: 0.4s; }
.reveal-up:nth-child(6), .reveal-scale:nth-child(6) { transition-delay: 0.5s; }
.reveal-up:nth-child(7), .reveal-scale:nth-child(7) { transition-delay: 0.6s; }
.reveal-up:nth-child(8), .reveal-scale:nth-child(8) { transition-delay: 0.7s; }


/* Mission/Vision textes justifiés */
.mission-card p, .vision-card p,
.mission-card, .vision-card {
    text-align: justify !important;
}
.about-description { text-align: justify !important; }

/* Footer buttons horizontal */
.footer-col .btn-group, 
.footer-buttons {
    display: flex;
    flex-direction: row;
    gap: 0.8rem;
    flex-wrap: wrap;
}

/* Citation verset dans le footer */
.footer-verset {
    font-family: 'Playfair Display', serif;
    font-size: 0.78rem;
    font-style: italic;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    margin: 6px 0 8px 0;
}

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

/* .footer {
    background: #0a1a2a;
    color: #94a3b8;
    padding: 60px 0 20px 0;
    text-align: left;
} */
 .footer {
    background: #0a1a2a;
    color: #94a3b8;
    padding: 60px 80px 60px 80px;
    width: 100%;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 30px 20px;
}

.footer, .footer-col, .footer-bottom, .footer p, .footer ul {
    text-align: left !important;
}

/* 5 colonnes sur une seule ligne */
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.9fr 1.2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: start;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.footer-col p {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 4px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.92rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent-gold);
}

/* Bouton Psychologue */
.footer-psychologue-btn {
    background: none;
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--accent-gold);
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 6px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.footer-psychologue-btn i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}
.footer-psychologue-btn.open i {
    transform: rotate(180deg);
}
.footer-psychologue-btn:hover {
    background: rgba(212,175,55,0.1);
    border-color: var(--accent-gold);
}
.footer-psychologue-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    background: #1a0a2e;
    border: 1px solid var(--accent-gold);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255,255,255,0.88);
    line-height: 1.5;
    width: 240px;
    font-style: italic;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    text-align: left;
}
.footer-psychologue-btn.open .footer-psychologue-tooltip {
    display: block;
    animation: fadeIn 0.2s ease;
}

.footer-bottom {
    text-align: left;
    padding-top: 1.2rem;
    border-top: 1px solid #1e2a3a;
    font-size: 0.8rem;
}

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
}
@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-bottom {
    text-align: left;
    padding-top: 2rem;
    border-top: 1px solid #1e2a3a;
    font-size: 0.875rem;
} 
/* ===== FOOTER FULL WIDTH PRO FIX ===== */
/* .footer {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;

    padding: 60px 80px 60px 80px;
    box-sizing: border-box;
} */

/*  
 footer {
    width: 100%;
    background: linear-gradient(to right, #0d2b52, #0a1f3d);
    color: white;
    padding: 40px 80px;
    margin-top: 80px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 10px 20px;
}

.footer-section h3 {
    margin-bottom: 15px;
}

.footer-section a {
    color: #ddd;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.footer-section a:hover {
    color: #f4b400;
} */

    /* ==================== PROTECTION ANTI-COPIE ====================
       ⚠️ TEMPORAIREMENT DÉSACTIVÉE — réactiver après correction client
       Pour réactiver : décommenter le bloc body ci-dessous */

    body {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    input, textarea, select {
        -webkit-user-select: text;
        -moz-user-select: text;
        -ms-user-select: text;
        user-select: text;
    }
   

    /* Copie autorisée sur tout le site (temporaire) */
    /* body {
        -webkit-user-select: text;
        -moz-user-select: text;
        -ms-user-select: text;
        user-select: text;
    } */