/*
Theme Name: Hypnose Poids Plume
Theme URI: https://hypnose-poids-plume.com
Author: Robin TCA
Author URI: https://hypnose-poids-plume.com
Description: Thème WordPress personnalisé et optimisé pour Hypnose Poids Plume
Version: 1.0.0
License: GPL v2 or later
Text Domain: hypnose-poids-plume
*/

/* ========================================
   VARIABLES GLOBALES
   ======================================== */
:root {
    --tca-primary: #008074;
    --tca-primary-dark: #1a6670;
    --tca-violet: #7d4490;
    --tca-violet-dark: #643673;
    --tca-background: #fbfbf7;
    --tca-surface: #ffffff;
    --tca-text: #13343b;
    --tca-text-secondary: #626c71;
    --tca-border: rgba(94, 82, 64, 0.15);
    --tca-border-light: rgba(94, 82, 64, 0.08);
    --tca-radius: 12px;
    --tca-radius-sm: 8px;
    --tca-shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --tca-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --tca-shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --tca-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   RESET ET BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--tca-text);
    background: var(--tca-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   NORMALISATION DES TITRES
   ======================================== */
h1, h2, h3 {
    text-transform: uppercase; /* Met les titres en majuscules */
    font-weight: 500 !important; /* Standardise l'épaisseur de police */
}

/* Standardisation des couleurs des titres */
h1 {
    color: var(--tca-primary);
}

h2, h3 {
    color: var(--tca-text);
}

 
strong, b {
    color: #008074;
}

/* ========================================
   EFFET POUR L'ENCART HERO CLIQUABLE
   ======================================== */
.hero-author-box-link {
    display: inline-block; /* Permet d'appliquer la transformation */
    text-decoration: none;
    transition: transform 0.2s ease-in-out;
}

.hero-author-box-link:hover {
    transform: scale(1.03); /* Léger zoom au survol */
}
/* ========================================
   HEADER
   ======================================== */
.site-header {
    background: var(--tca-surface);
    box-shadow: var(--tca-shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.site-logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--tca-primary);
    text-decoration: none;
    transition: var(--tca-transition);
}

.site-logo a:hover {
    color: var(--tca-violet);
}
/* ========================================
   NAVIGATION PRINCIPALE - REMPLACE TOUT LE CODE EXISTANT
   ======================================== */

/* Navigation principale - Desktop */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-navigation ul.primary-menu {
    align-items: center; 
}

.main-navigation ul.primary-menu > li {
    white-space: nowrap; 
}

.main-navigation a {
    color: var(--tca-text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--tca-transition);
    position: relative;
}

.main-navigation a:hover {
    color: var(--tca-primary);
}

/* Effet de soulignement au survol */
.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--tca-primary);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Supprime l'effet de soulignement pour le bouton spécial */
.main-navigation .menu-item.bouton-menu-tca > a::after {
    display: none !important;
}

.main-navigation .menu-item.bouton-menu-tca > a:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    transition: all 0.2s ease-in-out;
}

/* ========================================
   SOUS-MENUS - DESKTOP
   ======================================== */

.main-navigation .menu-item-has-children {
    position: relative;
}

/* Style du sous-menu sur Desktop */
@media (min-width: 769px) {
    .main-navigation .sub-menu {
        list-style: none;
        padding: 10px 0;
        margin: 0;
        background: var(--tca-surface);
        border: 1px solid var(--tca-border-light);
        box-shadow: var(--tca-shadow-md);
        border-radius: var(--tca-radius-sm);
        min-width: 200px;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 100;
        visibility: hidden;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.2s ease-in-out;
    }

    .main-navigation .menu-item-has-children:hover > .sub-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .main-navigation .sub-menu li {
        width: 100%;
    }

    .main-navigation .sub-menu a {
        display: block;
        padding: 8px 20px;
        color: var(--tca-text);
        white-space: nowrap;
    }

    .main-navigation .sub-menu a:hover {
        background-color: #f7f9fa;
        color: var(--tca-primary);
    }
    
    /* Cache le bouton toggle sur desktop */
    .submenu-toggle {
        display: none !important;
    }
}

/* ========================================
   MENU MOBILE - STYLES COMPLETS
   ======================================== */

/* Overlay de fond */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Empêche le scroll quand le menu est ouvert */
body.menu-open {
    overflow: hidden;
}

/* Styles mobile */
@media (max-width: 768px) {
    /* Menu navigation mobile */
    .main-navigation {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: var(--tca-surface);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: 1001;
        overflow-y: auto;
    }
    
    .main-navigation.active {
        right: 0;
    }
    
    /* Supprime la croix X */
    .main-navigation::before {
        display: none !important;
    }
    
    /* Liste du menu principal */
    .main-navigation ul {
        list-style: none;
        margin: 0;
        padding: 80px 0 30px;
        flex-direction: column;
        gap: 0;
    }
    
    .main-navigation li {
        border-bottom: 1px solid var(--tca-border-light);
    }
    
    .main-navigation a {
        display: block;
        padding: 15px 30px;
        color: var(--tca-text);
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .main-navigation a:hover,
    .main-navigation a:focus {
        background: var(--tca-background);
        color: var(--tca-primary);
        padding-left: 35px;
    }
    
    /* Supprime la ligne de survol sur mobile */
    .main-navigation a::after {
        display: none;
    }
    
    /* SOUS-MENUS TOUJOURS VISIBLES SUR MOBILE */
    .main-navigation .sub-menu {
        display: block !important;
        position: static !important;
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        max-height: none !important;
    }
    
    /* Cache le bouton toggle (+) */
    .submenu-toggle {
        display: none !important;
    }
    
    /* Cache la flèche du menu "Plus" */
    .main-navigation .nav-link span[style*="gray"] {
        display: none !important;
    }
    
    /* Style pour les liens des sous-menus */
    .main-navigation .sub-menu a {
        padding-left: 50px;
        font-size: 14px;
        color: var(--tca-text-secondary);
        background: var(--tca-background);
    }
    
    .main-navigation .sub-menu a:hover {
        background: var(--tca-background);
        color: var(--tca-primary);
        padding-left: 55px;
    }
    
    /* Indicateur visuel pour les sous-menus */
    .main-navigation .sub-menu li {
        border-left: 3px solid var(--tca-primary);
        margin-left: 30px;
        border-bottom: 1px solid var(--tca-border-light);
    }
    
    /* Dernier élément sans bordure */
    .main-navigation li:last-child,
    .main-navigation .sub-menu li:last-child {
        border-bottom: none;
    }
}
 
/* ===========================
   FOOTER STYLES
   =========================== */
 

.site-footer-simple {
    background-color: #1f2c38; /* Fond sombre */
    padding: 30px 0;
    margin-top: 60px;
}

/* On centre le conteneur du menu */
.site-footer-simple .footer-navigation-simple {
    text-align: center;
}

/* On transforme la liste verticale en une ligne horizontale */
.site-footer-simple .footer-navigation-simple ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; /* Centre les liens horizontalement */
    flex-wrap: wrap; /* Permet aux liens de passer à la ligne sur mobile */
    gap: 15px 30px; /* Espace vertical et horizontal entre les liens */
}

.site-footer-simple .footer-navigation-simple a {
    color: #aeb9c4;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.site-footer-simple .footer-navigation-simple a:hover {
    color: var(--tca-violet); /* Touche de couleur au survol */
}
/* Réseaux sociaux */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #3498db;
    transform: translateY(-3px);
}

.social-links .social-icon {
    font-size: 0;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: #95a5a6;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #3498db;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Bouton retour en haut */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #3498db;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* Widget area si utilisé */
.footer-widgets .widget {
    margin-bottom: 20px;
}

.footer-widgets .widget-title {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* ========================================
   CONTENU PRINCIPAL
   ======================================== */
/* Alignement pour le tableau de comparaison */
.tableau-comparaison td {
    text-align: center;    /* Centre le texte horizontalement */
    vertical-align: middle; /* Centre le texte verticalement */
}

.content-area {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
}

.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    color: var(--tca-text);
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
}

.entry-content {
    font-size: 18px;
    line-height: 1.8;
}

.entry-content h2 {
    margin: 30px 0 20px;
    color: var(--tca-primary);
}

.entry-content h3 {
    margin: 25px 0 15px;
    color: var(--tca-text);
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content ul,
.entry-content ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.entry-content li {
    margin-bottom: 10px;
}

/* ========================================
   BOUTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--tca-transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--tca-primary), var(--tca-violet));
    color: white;
    box-shadow: 0 4px 12px rgba(125, 68, 144, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(125, 68, 144, 0.3);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

/* ========================================
   PAGINATION
   ======================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-numbers {
    padding: 8px 15px;
    background: var(--tca-surface);
    color: var(--tca-text);
    text-decoration: none;
    border-radius: var(--tca-radius-sm);
    transition: var(--tca-transition);
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--tca-primary);
    color: white;
}

/* ========================================
   ARTICLES TCA
   ======================================== */
.single-tca_article .entry-title {
    color: var(--tca-primary);
    margin-bottom: 30px;
}

.single-tca_article .entry-thumbnail {
    margin-bottom: 30px;
    border-radius: var(--tca-radius);
    overflow: hidden;
}

.single-tca_article .entry-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}
/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    /* Navigation mobile */
    .main-navigation {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: var(--tca-surface);
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
    }
    
    .main-navigation.active {
        right: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 20px;
    }
    
    .main-navigation a::after {
        display: none;
    }
    
    /* Autres styles responsive */
    .entry-title {
        font-size: 28px;
    }
    
    .site-container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .entry-title {
        font-size: 24px;
    }
    
    .entry-content {
        font-size: 16px;
    }
}

/* =======================================
   SECTION ARTICLES TCA EN HYPNOSE
   ======================================== */

/* Style pour le conteneur principal de la section */
.articles-tca-section {
    background-color: #eef7f2; /* Couleur de fond vert d'eau très clair */
    padding: 80px 20px; /* Espace intérieur (80px en haut/bas, 20px sur les côtés) */
    text-align: center; /* Centre le texte de tous les éléments enfants */
}

/* Style pour le titre principal de la section */
.articles-tca-section .section-title {
    font-size: 36px; /* Taille de la police */
    color: #333; /* Couleur du texte */
    margin-bottom: 20px; /* Marge en bas */
    font-weight: 600; /* Épaisseur de la police */
}

/* Style pour le paragraphe de description sous le titre */
.articles-tca-section .section-description {
    font-size: 18px;
    color: #666;
    max-width: 800px; /* Largeur maximale pour que le texte ne soit pas trop étiré */
    margin: 0 auto 50px auto; /* Centre le paragraphe horizontalement et ajoute une marge en bas */
    line-height: 1.7; /* Hauteur de ligne pour une meilleure lisibilité */
}

/* Conteneur pour les deux cartes (utilise Flexbox pour l'alignement) */
.articles-categories {
    display: flex;
    justify-content: center; /* Centre les cartes horizontalement */
    gap: 40px; /* Espace entre les deux cartes */
    flex-wrap: wrap; /* Permet aux cartes de passer à la ligne sur les petits écrans */
}

/* Style pour chaque carte individuelle */
.category-card {
    background-color: #ffffff; /* Fond blanc */
    padding: 40px; /* Espace intérieur */
    border-radius: 12px; /* Coins arrondis */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Ombre légère */
    text-align: center;
    flex: 1; /* Permet aux cartes de prendre une largeur égale */
    max-width: 450px; /* Largeur maximale pour chaque carte */
    min-width: 300px; /* Largeur minimale */
}

/* Titre à l'intérieur de la carte (ex: "Perte de Poids") */
.category-card h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Paragraphe de description à l'intérieur de la carte */
.category-card p {
    font-size: 16px;
    color: #777;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Bouton à l'intérieur de la carte */
.btn-outline {
    display: inline-block; /* Nécessaire pour appliquer padding et marges */
    padding: 14px 28px; /* Espace intérieur du bouton */
    border: 2px solid #2d886d; /* Bordure verte (couleur à ajuster) */
    color: #2d886d; /* Couleur du texte */
    text-decoration: none; /* Supprime le soulignement du lien */
    border-radius: 50px; /* Coins très arrondis pour une forme de pilule */
    font-weight: bold;
    transition: all 0.3s ease; /* Animation douce pour le survol */
}

/* Effet au survol de la souris sur le bouton */
.btn-outline:hover {
    background-color: #2d886d; /* Le fond devient vert */
    color: #ffffff; /* Le texte devient blanc */
}

/* =======================================
   ADAPTATION POUR LES MOBILES (RESPONSIVE)
   ======================================== */
@media (max-width: 768px) {
    .articles-categories {
        flex-direction: column; /* Les cartes se placent les unes sous les autres */
        align-items: center; /* Centre les cartes verticalement */
    }

    .category-card {
        max-width: 100%; /* La carte prend toute la largeur disponible */
    }

    .articles-tca-section .section-title {
        font-size: 28px; /* Titre légèrement plus petit sur mobile */
    }
}

/* ========================================
   STYLES POUR LES ARTICLES (SINGLE.PHP)
   ======================================== */

/* En-tête de l'article */
.single-post .entry-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--tca-border-light);
}

.single-post .entry-title,
.single-tca_article .entry-title {
    color: var(--tca-primary);
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 600;
}

/* ========================================
   NOUVEAU LISERÉ "EFFET LUMIÈRE" SOUS LE TITRE
   ======================================== */

/* 1. On s'assure de bien supprimer l'ancienne bordure partout avec un sélecteur plus précis */
body.single-post .entry-header,
body.single-tca-article .entry-header {
    border-bottom: none !important; /* On force la suppression de l'ancienne ligne */
    padding-bottom: 10px; /* On réduit l'espace résiduel qu'elle laissait */
}

/* 2. On prépare le titre H1 (comme avant) */
body.single-post .entry-title,
body.single-tca-article .entry-title {
    position: relative;
    padding-bottom: 20px; /* Espace pour le nouveau liseré */
}

/* 3. On crée le nouveau liseré avec l'effet de dégradé */
body.single-post .entry-title::after,
body.single-tca-article .entry-title::after {
    content: '';
    display: block;
    width: 100px; /* Plus large */
    height: 2px;  /* Hauteur du liseré */
    
    /* C'est ici que la magie opère : le dégradé crée l'effet de lumière */
    background: linear-gradient(to right, 
        transparent 0%, 
        var(--tca-violet) 30%, 
        var(--tca-violet) 70%, 
        transparent 100%
    );
    
    border-radius: 0; /* On retire l'arrondi, plus nécessaire avec un dégradé */
    
    /* Positionnement précis sous le titre */
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Méta-informations */
.entry-meta {
    font-size: 14px;
    color: var(--tca-text-secondary);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.entry-meta span {
    display: inline-flex;
    align-items: center;
}

.entry-meta span::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: var(--tca-text-secondary);
    border-radius: 50%;
    margin-right: 15px;
}

.entry-meta span:first-child::before {
    display: none;
}

.entry-meta a {
    color: var(--tca-primary);
    text-decoration: none;
}

.entry-meta a:hover {
    text-decoration: underline;
}

/* Footer de l'article */
.entry-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--tca-border-light);
}

.tags-links {
    font-size: 14px;
    color: var(--tca-text-secondary);
}

.tags-links a {
    display: inline-block;
    padding: 5px 12px;
    margin: 5px 5px 5px 0;
    background: var(--tca-background);
    color: var(--tca-text);
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    transition: var(--tca-transition);
}

.tags-links a:hover {
    background: var(--tca-primary);
    color: white;
}

/* Navigation entre articles */
.post-navigation {
    margin: 50px 0;
    padding: 30px 0;
    border-top: 1px solid var(--tca-border-light);
    border-bottom: 1px solid var(--tca-border-light);
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
}

.post-navigation .nav-next {
    text-align: right;
}

.post-navigation a {
    color: var(--tca-text);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: var(--tca-transition);
}

.post-navigation a:hover {
    color: var(--tca-primary);
    transform: translateX(5px);
}

.post-navigation .nav-previous a:hover {
    transform: translateX(-5px);
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .single-post .entry-title,
    .single-tca_article .entry-title {
        font-size: 28px;
    }
    
    .entry-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .post-navigation .nav-links {
        flex-direction: column;
        gap: 20px;
    }
    
    .post-navigation .nav-next {
        text-align: left;
    }
}

/* ========================================
   MASQUER LES ÉLÉMENTS SELON LE CONTEXTE
   ======================================== */

/* Pour les pages WordPress (pas d'en-tête du tout) */
.page-template .entry-header {
    display: none;
}

/* Alternative : Si vous voulez garder l'en-tête mais juste cacher le titre */
.page-template .entry-title {
    display: none;
}

/* Si vous voulez absolument masquer les miniatures partout */
.entry-thumbnail {
    display: none;
}

/* ========================================
   STYLES POUR LES ARTICLES (SINGLE.PHP)
   ======================================== */

/* Conteneur principal des articles - Centré et largeur limitée */
.single-post .content-area,
.single-tca_article .container,
.single-tca_article .content-area {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* En-tête de l'article */
.single-post .entry-header,
.single-tca_article .entry-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--tca-border-light);
    text-align: center;
}

.single-post .entry-title,
.single-tca_article .entry-title {
    color: var(--tca-primary);
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Contenu de l'article */
.single-post .entry-content,
.single-tca_article .entry-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--tca-text);
}

/* Style pour la date de publication */
.single-post .entry-meta,
.single-tca_article .entry-meta {
    color: var(--tca-text-secondary);
    font-size: 14px;
    opacity: 0.8;
    margin-top: -10px; /* Rapproche un peu la date du titre */
    margin-bottom: 30px; /* Ajoute de l'espace avant la ligne de séparation */
}

/* Style pour les boîtes d'information */
.info-box {
    background: #eef7f2; /* Vert d'eau très clair */
    border-left: 5px solid var(--tca-primary);
    padding: 25px 30px;
    margin: 40px 0;
    border-radius: 0 8px 8px 0;
}
.info-box p:last-child {
    margin-bottom: 0;
}
.info-box strong {
    color: var(--tca-primary);
    display: block;
    margin-bottom: 5px;
}

/* Ajoute un espace entre "Publié le" et la date dans les articles */
.posted-on time {
    margin-left: 5px;
}





/* ========================================
   AMÉLIORATION DE LA LISIBILITÉ DES ARTICLES
   ======================================== */

/* Crée un conteneur blanc et ombré pour le corps de l'article */
body.single-post .content-area > article,
body.single-tca-article .container > article {
    background-color: #ffffff; /* Fond blanc pour la "feuille" de l'article */
    padding: 40px 50px;       /* Espace intérieur confortable pour le texte */
    border-radius: 8px;       /* Coins légèrement arrondis pour un look moderne */
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.07); /* Ombre portée douce pour détacher l'article du fond */
    margin-top: 40px;         /* Espace entre le header du site et le début de l'article */
    border: 1px solid rgba(0,0,0,0.05); /* Bordure très discrète pour finir le design */
}

/* On s'assure que le conteneur principal est assez large */
body.single-post .content-area,
body.single-tca-article .container {
    max-width: 820px; /* Légèrement plus large pour accommoder le padding */
    padding-bottom: 40px; /* Espace en dessous de l'article */
}

/* On ajuste le style du titre et des métadonnées */
body.single-post .entry-header,
body.single-tca-article .entry-header {
    /* Le centrage est déjà dans votre style, on peut l'améliorer */
    border-bottom: 1px solid var(--tca-border-light);
    margin-bottom: 35px;
    padding-bottom: 20px;
}

/* Amélioration du style des citations dans les articles */
.entry-content blockquote {
    margin: 35px 0; /* Plus d'espace vertical */
    padding-left: 25px; /* Décalage vers la droite */
    border-left: 4px solid #08bbab; /* Barre de couleur sur le côté */
    font-size: 20px; /* Police légèrement plus grande */
    font-style: italic;
    color: var(--tca-text);
}

.entry-content p {
    margin-bottom: 1.5em;
}

.entry-content h2 {
    color: var(--tca-primary);
    font-size: 28px;
}

.entry-content h3 {
    margin: 1.5em 0 0.8em;
    color: var(--tca-text);
    font-size: 22px;
}

.entry-content ul,
.entry-content ol {
    margin: 1.5em 0;
    padding-left: 30px;
}

.entry-content li {
    margin-bottom: 0.5em;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    margin: 2em auto;
    display: block;
    border-radius: 8px;
}

/* Méta-informations */
.entry-meta {
    font-size: 14px;
    color: var(--tca-text-secondary);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    justify-content: center;
}

.entry-meta span {
    display: inline-flex;
    align-items: center;
}

.entry-meta span::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: var(--tca-text-secondary);
    border-radius: 50%;
    margin-right: 15px;
}

.entry-meta span:first-child::before {
    display: none;
}

.entry-meta a {
    color: var(--tca-primary);
    text-decoration: none;
}

.entry-meta a:hover {
    text-decoration: underline;
}

/* Footer de l'article */
.entry-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--tca-border-light);
}

.tags-links {
    font-size: 14px;
    color: var(--tca-text-secondary);
    text-align: center;
}

.tags-links a {
    display: inline-block;
    padding: 5px 12px;
    margin: 5px 5px 5px 0;
    background: var(--tca-background);
    color: var(--tca-text);
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    transition: var(--tca-transition);
}

.tags-links a:hover {
    background: var(--tca-primary);
    color: white;
}

/* ========================================
   NAVIGATION ENTRE ARTICLES TCA
   ======================================== */

.tca-article-navigation {
    margin: 60px 0;
    padding: 40px 0;
    border-top: 2px solid var(--tca-border-light);
    border-bottom: 2px solid var(--tca-border-light);
}

.tca-article-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.tca-article-navigation .nav-previous,
.tca-article-navigation .nav-next {
    flex: 1;
    max-width: 45%;
}

.tca-article-navigation a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--tca-background);
    border-radius: 12px;
    text-decoration: none;
    color: var(--tca-text);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tca-article-navigation a:hover {
    background: white;
    border-color: var(--tca-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-arrow {
    font-size: 32px;
    font-weight: 600;
    color: var(--tca-primary);
    flex-shrink: 0;
}

.nav-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-label {
    font-size: 12px;
    color: var(--tca-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--tca-text);
    line-height: 1.3;
}

.nav-next a {
    justify-content: flex-end;
    text-align: right;
}

/* Lien retour catégorie */
.nav-category-link {
    text-align: center;
    margin-top: 20px;
}

.nav-category-link a {
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
    color: var(--tca-primary);
    border: 2px solid var(--tca-primary);
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-category-link a:hover {
    background: var(--tca-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 128, 116, 0.2);
}

/* Navigation standard entre articles (single.php) */
.post-navigation {
    margin: 50px 0;
    padding: 30px 0;
    border-top: 1px solid var(--tca-border-light);
    border-bottom: 1px solid var(--tca-border-light);
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
}

.post-navigation .nav-next {
    text-align: right;
}

.post-navigation a {
    color: var(--tca-text);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--tca-transition);
}

.post-navigation a:hover {
    color: var(--tca-primary);
    transform: translateX(5px);
}

.post-navigation .nav-previous a:hover {
    transform: translateX(-5px);
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .single-post .entry-title,
    .single-tca_article .entry-title {
        font-size: 28px;
    }
    
    .entry-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .tca-article-navigation .nav-links {
        flex-direction: column;
        gap: 20px;
    }
    
    .tca-article-navigation .nav-previous,
    .tca-article-navigation .nav-next {
        max-width: 100%;
    }
    
    .tca-article-navigation a {
        padding: 15px;
    }
    
    .nav-arrow {
        font-size: 20px;
    }
    
    .nav-title {
        font-size: 14px;
    }
    
    .post-navigation .nav-links {
        flex-direction: column;
        gap: 20px;
    }
    
    .post-navigation .nav-next {
        text-align: left;
    }
}

/* ========================================
   CORRECTIFS & AMÉLIORATIONS PAGE CONTACT
   ======================================== */

/* Règle le problème d'alignement de l'en-tête */
.tca-contact-header {
    text-align: center;
}

/* --- Amélioration de l'encadré "Des questions ?" --- */

.tca-faq-section {
    text-align: center; /* Centre tout le contenu */
}


/* Transforme le lien en un bouton stylisé */
.tca-faq-section .tca-contact-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    border: 2px solid var(--tca-primary);
    color: var(--tca-primary) !important;
    text-decoration: none !important;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tca-faq-section .tca-contact-btn:hover {
    background-color: var(--tca-primary);
    color: white !important;
    transform: translateY(-2px);
}


/* --- Amélioration de l'encadré "Horaires" --- */


/* Aligne le jour et l'heure sur la même ligne */
.tca-hour-item {
    display: flex;
    justify-content: space-between; /* Pousse les éléments aux extrémités */
    align-items: center;
    padding: 12px 15px;
}

.tca-hour-item .day {
    font-weight: 600;
    color: var(--tca-text);
}
/* ========================================
   MASQUER LES ÉLÉMENTS SELON LE CONTEXTE
   ======================================== */

/* Pour les pages WordPress (pas d'en-tête du tout) */
.page-template .entry-header {
    display: none;
}

/* Alternative : Si vous voulez garder l'en-tête mais juste cacher le titre */
.page-template .entry-title {
    display: none;
}

/* Si vous voulez absolument masquer les miniatures partout */
.entry-thumbnail {
    display: none;
}

/* ========================================
   NAVIGATION FLOTTANTE ARTICLES TCA
   ======================================== */

/* Boutons de navigation personnalisés */
.custom-post-nav {
    position: fixed;
    bottom: 20px;
    z-index: 999;
    background: rgba(0, 0, 0, 0.85);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 14px;
    transition: all 0.4s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Position des boutons */
.custom-post-nav.custom-post-archive {
    left: 20px;
    width: auto;
}

.custom-post-nav.custom-post-next {
    right: 20px;
    width: 250px;
}

/* État visible */
.custom-post-nav.show-on-scroll {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Animations d'entrée */
.custom-post-nav.custom-post-archive.show-on-scroll {
    animation: slideInLeft 0.4s ease forwards;
}

.custom-post-nav.custom-post-next.show-on-scroll {
    animation: slideInRight 0.4s ease forwards;
}

/* Liens */
.custom-post-nav a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-post-nav a:hover {
    color: white;
}

/* Flèches */
.nav-arrow-left,
.nav-arrow-right {
    color: rgba(255, 255, 255, 0.9);
    font-size: 32px;
    font-weight: 600;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.custom-post-nav:hover .nav-arrow-left {
    transform: translateX(-3px);
}

.custom-post-nav:hover .nav-arrow-right {
    transform: translateX(3px);
}

/* Textes */
.custom-post-nav .entry-info {
    color: rgba(255, 255, 255, 0.95);
    font-size: 12px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.custom-post-nav .entry-title {
    color: white;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

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

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

/* Hover effects */
.custom-post-nav {
    transition: all 0.3s ease;
}

.custom-post-nav:hover {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

/* Titres en majuscules */
.custom-post-nav .entry-title,
.custom-post-nav .entry-info {
    text-transform: uppercase !important;
}

/* Responsive - Tablettes */
@media (max-width: 768px) {
    .custom-post-nav {
        padding: 8px 12px;
        bottom: 15px;
    }
    
    .custom-post-nav.custom-post-archive {
        left: 15px;
    }
    
    .custom-post-nav.custom-post-next {
        right: 15px;
        max-width: 200px; /* Changé de width à max-width pour plus de flexibilité */
    }
    
    .nav-arrow-left,
    .nav-arrow-right {
        font-size: 20px;
    }
    
    .custom-post-nav .entry-info {
        font-size: 11px;
    }
    
    .custom-post-nav .entry-title {
        font-size: 12px;
    }
}

/* Responsive - Mobiles */
@media (max-width: 480px) {
    .custom-post-nav {
        padding: 6px 10px;
        bottom: 10px;
        background: rgba(0, 0, 0, 0.9);
    }
    
    .custom-post-nav.custom-post-archive {
        left: 10px;
    }
    
    .custom-post-nav.custom-post-next {
        right: 10px;
        max-width: 160px; /* Changé de width à max-width */
    }
    
    .nav-arrow-left,
    .nav-arrow-right {
        font-size: 18px;
    }
    
    .custom-post-nav .entry-info {
        font-size: 10px;
        line-height: 1.2;
    }
    
    .custom-post-nav .entry-title {
        font-size: 11px;
        -webkit-line-clamp: 2;
    }
}

/* Pour très petits écrans */
@media (max-width: 360px) {
    .custom-post-nav.custom-post-next {
        max-width: 140px; /* Changé de width à max-width */
    }
    
    .custom-post-nav .entry-title {
        font-size: 10px;
        -webkit-line-clamp: 2;
    }
}

/* Style du bouton menu mobile */
.mobile-menu-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    color: var(--tca-text);
    position: relative;
    z-index: 1002;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
    }
}

.hamburger {
    width: 24px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--tca-text);
    border-radius: 1px;
    transition: all 0.3s ease;
}

.menu-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Fix pour l'alignement du header au scroll sur mobile */
@media (max-width: 768px) {
    .site-header.scrolled .header-inner {
        align-items: center;
        justify-content: space-between;
    }
}

/* Empêche le scroll quand le menu est ouvert */
body.menu-open {
    overflow: hidden;
}

/* Assure que le menu est au-dessus de l'overlay */
@media (max-width: 768px) {
    .main-navigation {
        z-index: 1001 !important;
    }
}

/* Désactive l'ancrage de défilement pour éviter les conflits */
* {
    overflow-anchor: none;
}

/* Réactive uniquement pour le contenu principal */
.site-main,
.entry-content {
    overflow-anchor: auto;
}

/* Force la désactivation de l'overlay au démarrage */
.mobile-menu-overlay:not(.active) {
    display: none !important;
}

.mobile-menu-overlay.active {
    display: block !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
 /* ========================================
   STYLE DÉFINITIF DU MENU AU SCROLL (CORRECTIF ALIGNEMENT)
   ======================================== */

/* On prépare la transition sur les éléments qui vont changer */
.site-header .header-inner,
.site-header .custom-logo {
    transition: all 0.3s ease-in-out;
}

/* Styles lorsque le header obtient la classe .scrolled (après défilement) */
.site-header.scrolled {
    background-color: rgba(251, 251, 247, 0.98); /* Fond quasi opaque pour la lisibilité */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Ligne de séparation très fine */
}

/* Fix pour l'alignement du header au scroll */
.site-header.scrolled .header-inner {
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    align-items: center; /* Force l'alignement vertical */
    justify-content: space-between; /* Assure le bon espacement */
}

/* Fix spécifique pour mobile */
@media (max-width: 768px) {
    .site-header.scrolled .header-inner {
        padding: 10px 0;
    }
    
    /* S'assurer que le menu mobile reste accessible */
    .mobile-menu-toggle {
        z-index: 1002;
        position: relative;
    }
}

/* On réduit la taille du logo */
.site-header.scrolled .custom-logo {
    max-height: 45px;
}


/* ========================================
   STYLES POUR L'ACCESSIBILITÉ (SCREEN READER TEXT)
   ======================================== */

/* Cache visuellement les éléments destinés aux lecteurs d'écran */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

/* Fait réapparaître le lien lorsqu'on navigue au clavier (focus) */
.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}


/* ========================================
   STYLES POUR LA PAGE CONTACT
   ======================================== */

.tca-contact-page {
    --tca-primary: #008074;
    --tca-violet: #7d4490;
    --tca-background: #fbfbf7;
    --tca-surface: #ffffff;
    --tca-text: #13343b;
    --tca-text-secondary: #626c71;
    --tca-border: rgba(94, 82, 64, 0.15);
    --tca-radius: 12px;
    padding: 40px 0 60px 0;
    background: var(--tca-background);
}

.tca-contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Photo de profil en haut */
.tca-profile-image-top {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 30px;
    border: 4px solid var(--tca-primary);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(33, 128, 141, 0.3);
    display: block;
}

/* Améliore l'alignement des icônes/émojis dans les boutons */
.tca-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Ajoute un espace entre l'icône et le texte */
}


.tca-profile-image-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-top: 1px;
}

.tca-contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.tca-contact-title {
    color: var(--tca-primary) !important;
    font-size: 36px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 25px;
    text-transform: uppercase; /* Assure la cohérence avec le reste du site */
}

.tca-contact-subtitle {
    color: var(--tca-text-secondary);
    font-size: 18px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Grille principale à 2 colonnes */
.tca-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

/* COLONNE GAUCHE */
.tca-left-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

<style>
/* ========================================
    VARIABLES ET STYLES DE BASE
    ======================================== */
    .tca-faq-page {
        --tca-primary: #21808d;
        --tca-violet: #7d4490;
        --tca-background: #fbfbf7;
        --tca-surface: #ffffff;
        --tca-text: #13343b;
        --tca-text-secondary: #2e2e2e;
        --tca-border: rgba(94, 82, 64, 0.15);
        --tca-radius: 12px;
        padding: 0 0 40px 0;
        background: var(--tca-background);
        margin-top: 0 !important;
    }

    /* Suppression des espacements Enfold */
    #main .tca-faq-page,
    .container .tca-faq-page,
    .content .tca-faq-page,
    .avia-section .tca-faq-page,
    .av_section .tca-faq-page {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .tca-faq-container {
        margin: 0 auto;
        padding: 0 20px;
    }

    /* ========================================
    EN-TÊTE DE LA PAGE
    ======================================== */
    .tca-faq-header {
        text-align: center;
        margin-bottom: 40px;
        padding-top: 20px;
    }

    .tca-faq-title {
        color: var(--tca-violet) !important;
        font-size: 36px;
        margin-bottom: 20px;
        position: relative;
        padding-bottom: 25px;
    }

    .tca-faq-title::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: var(--tca-violet);
    }

    .tca-faq-subtitle {
        color: var(--tca-text-secondary);
        font-size: 18px;
        line-height: 1.6;
    }

    /* ========================================
    BARRE DE RECHERCHE
    ======================================== */
    .tca-faq-search-section {
        padding: 0px 0px 40px 0px;
        background: linear-gradient(to bottom, var(--tca-background), transparent);
    }

    .tca-search-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 600px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .tca-search-box-faq {
        width: 100%;
        position: relative;
        background: linear-gradient(145deg, #ffffff, #f8f9fa);
        border-radius: 50px;
        /* MODIFICATION : Bordure plus marquée */
        border: 2px solid var(--tca-border); 
        background-clip: padding-box;
        transition: all 0.3s ease;
    }

    .tca-search-box-faq:focus-within {
        box-shadow: 0 12px 35px rgba(125, 68, 144, 0.15);
        border-color: var(--tca-violet);
        transform: translateY(-2px);
    }

    .tca-search-box-faq__input {
        width: 100%;
        height: 60px;
        padding: 0 60px 0 24px;
        font-size: 16px;
        border: none;
        background: transparent;
        color: var(--tca-text);
        outline: none;
        border-radius: 50px;
        font-weight: 400;
        line-height: 60px;
    }

    .tca-search-box-faq__input::placeholder {
        color: var(--tca-text-secondary);
        opacity: 0.8;
        font-weight: 400;
    }

    .tca-search-box-faq__icon {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--tca-violet);
        pointer-events: none;
        z-index: 2;
        transition: all 0.3s ease;
    }

    .tca-search-results {
        text-align: center;
        margin-top: 20px;
        color: var(--tca-text-secondary);
        font-size: 14px;
        animation: fadeIn 0.3s ease;
    }

    /* ========================================
    BOUTONS DE CATÉGORIE
    ======================================== */
    .tca-faq-categories {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        margin-bottom: 40px;
    }

    /* =======================================
     MODIFICATION : Largeur max pour la liste FAQ
    ======================================== */
    .tca-faq-list {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .tca-faq-category-btn {
        background: var(--tca-surface);
        border: 1px solid var(--tca-border);
        border-radius: 25px;
        padding: 8px 20px;
        color: var(--tca-primary) !important;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 14px;
    }

    .tca-faq-category-btn:not(.active):hover {
        background: rgba(125, 68, 144, 0.1);
        border-color: var(--tca-violet);
        color: var(--tca-violet) !important;
        transform: translateY(-2px);
    }

    .tca-faq-category-btn.active {
        background: var(--tca-violet);
        color: white !important;
        border-color: var(--tca-violet);
        transform: translateY(-2px);
    }

    .tca-faq-category-btn.active:hover {
        background: var(--tca-violet);
        color: white !important;
    }

    /* Protection contre les styles Enfold */
    .main_color .tca-faq-category-btn:not(.active),
    #main .tca-faq-category-btn:not(.active) {
        color: var(--tca-text) !important;
    }

    .main_color .tca-faq-category-btn:not(.active):hover,
    #main .tca-faq-category-btn:not(.active):hover {
        color: var(--tca-violet) !important;
    }

    .main_color .tca-faq-category-btn.active,
    .main_color .tca-faq-category-btn.active:hover,
    #main .tca-faq-category-btn.active,
    #main .tca-faq-category-btn.active:hover {
        color: white !important;
    }

    /* ========================================
    ITEMS FAQ
    ======================================== */
    .tca-faq-item {
        background: var(--tca-surface);
        border-radius: var(--tca-radius);
        margin-bottom: 20px;
        border: 1px solid var(--tca-border);
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .tca-faq-item:hover {
        box-shadow: 0 4px 15px rgba(125, 68, 144, 0.1);
    }

    .tca-faq-item.hidden {
        display: none !important;
    }

    .tca-faq-item.visible {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    .tca-faq-question {
        padding: 20px 25px;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: 600;
        color: var(--tca-text);
        font-size: 16px;
        transition: all 0.3s ease;
    }

    .tca-faq-question:hover {
        background: rgba(125, 68, 144, 0.05);
    }

    .tca-faq-toggle {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: var(--tca-primary);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
        font-weight: normal;
        font-family: Arial, sans-serif;
        transition: transform 0.3s ease, background 0.3s ease;
        flex-shrink: 0;
        line-height: 1;
    }

    .tca-faq-item.open .tca-faq-toggle {
        transform: rotate(180deg);
        background: var(--tca-primary);
    }

    .tca-faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .tca-faq-item.open .tca-faq-answer {
        max-height: 2000px;
    }

    .tca-faq-answer-content {
        padding: 0 25px 25px 25px;
        color: var(--tca-text-secondary);
        line-height: 1.8;
    }

    .tca-faq-answer-content p {
        margin-bottom: 15px;
    }

    .tca-faq-answer-content ul {
        margin: 15px 0;
        padding-left: 25px;
    }

    .tca-faq-answer-content li {
        margin-bottom: 8px;
    }

    .tca-faq-answer-content strong {
        color: var(--tca-text);
        font-weight: 600;
    }

    .tca-faq-answer-content a {
        color: var(--tca-primary);
        text-decoration: none;
        font-weight: 500;
    }

    .tca-faq-answer-content a:hover {
        text-decoration: underline;
    }

    /* ========================================
    SURLIGNAGE DE RECHERCHE
    ======================================== */
    .tca-highlight {
        background: linear-gradient(120deg, rgba(125, 68, 144, 0.3) 0%, rgba(33, 128, 141, 0.3) 100%);
        padding: 2px 4px;
        border-radius: 3px;
        font-weight: 600;
    }

    /* ========================================
    MESSAGE "AUCUN RÉSULTAT"
    ======================================== */
    .tca-no-results {
        text-align: center;
        padding: 60px 20px;
        color: var(--tca-text-secondary);
        background: var(--tca-surface);
        border-radius: var(--tca-radius);
        margin: 20px 0;
        display: none;
    }

    .tca-no-results.show {
        display: block;
        animation: fadeIn 0.5s ease;
    }

    /* ========================================
    SECTION CTA (APPEL À L'ACTION)
    ======================================== */
    .tca-faq-cta {
        text-align: center;
        margin-top: 50px;
        padding: 40px;
        background: linear-gradient(135deg, rgba(125, 68, 144, 0.1) 0%, rgba(33, 128, 141, 0.1) 100%);
        border-radius: var(--tca-radius);
    }

/* ========================================
   MODIFICATION COULEURS BOUTONS CTA FAQ
   ======================================== */

/* Cible spécifiquement le bouton WhatsApp dans le CTA de la FAQ */
.tca-faq-cta .tca-faq-cta-btn[href*="wa.me"] {
    background-color: #2B8F51; /* Vert officiel de WhatsApp */
}

/* Optionnel : Assombrit le bouton WhatsApp au survol pour un meilleur effet */
.tca-faq-cta .tca-faq-cta-btn[href*="wa.me"]:hover {
    background-color: #128C7E; 
}

    .tca-faq-cta h3 {
        color: var(--tca-violet);
        margin-bottom: 20px;
        font-size: 24px;
    }

    .tca-faq-cta-btn {
        display: inline-block;
        background: var(--tca-primary);
        color: white !important;
        padding: 15px 35px;
        border-radius: 50px;
        text-decoration: none !important;
        font-weight: 600;
        transition: all 0.3s ease;
        margin-top: 10px;
    }

    .tca-faq-cta-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        color: white !important;
    }

    .tca-faq-cta-btn:first-of-type:hover {
        background: #128C7E;
    }

    .main_color .tca-faq-cta-btn,
    .main_color .tca-faq-cta-btn:hover,
    #main .tca-faq-cta-btn,
    #main .tca-faq-cta-btn:hover {
        color: white !important;
        text-decoration: none !important;
    }

    /* ========================================
    ANIMATIONS
    ======================================== */
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* ========================================
    RESPONSIVE
    ======================================== */
    @media (max-width: 768px) {
        .tca-faq-title {
            font-size: 28px;
        }

        .tca-faq-question {
            font-size: 14px;
            padding: 15px 20px;
        }

        .tca-faq-answer-content {
            padding: 0 20px 20px 20px;
        }

        .tca-search-box-faq__input {
            height: 48px;
            font-size: 14px;
        }
    }
</style>


/* Section horaires */
.tca-hours-section {
    background: var(--tca-surface);
    border-radius: var(--tca-radius);
    padding: 30px;
    text-align: center;
    border: 1px solid var(--tca-border);
}

.tca-hours-section h3 {
    color: var(--tca-text);
    margin-bottom: 20px;
    font-size: 24px;
}

.tca-hours-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 0 auto;
}

.tca-hour-item {
    padding: 10px;
    background: var(--tca-background);
    border-radius: 8px;
}

.tca-hour-item .day {
    color: var(--tca-primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.tca-hour-item .time {
    color: var(--tca-text-secondary);
}

/* COLONNE DROITE - Les moyens de contact */
.tca-right-column {
    background: linear-gradient(135deg, rgba(33, 128, 141, 0.1) 0%, rgba(33, 128, 141, 0.05) 100%);
    border-radius: var(--tca-radius);
    padding: 40px;
}

.tca-contact-content h2 {
    color: var(--tca-text);
    margin-bottom: 30px;
    font-size: 24px;
    text-align: center;
}

/* Moyens de contact */
.tca-contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tca-contact-method {
    background: var(--tca-surface);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tca-contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(33, 128, 141, 0.15);
}

.tca-contact-method h3 {
    color: var(--tca-text);
    margin-bottom: 8px;
    font-size: 18px;
    text-align: center;
}

.tca-contact-method p {
    color: var(--tca-text-secondary);
    margin-bottom: 15px;
    text-align: center;
    font-size: 17px;
}

.tca-email-display {
    color: var(--tca-primary);
    font-weight: 600;
    text-align: center;
    display: block;
    font-family: monospace;
    font-size: 15px;
}

.tca-contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    gap: 8px; /* Ajoute un espace entre l'icône et le texte */
}

.tca-contact-button svg {
    width: 18px;
    height: 18px;
    fill: white; /* Assure que l'icône est blanche */
}

.tca-contact-button:hover {
    transform: translateY(-2px);
    color: white !important;
}

/* Bouton WhatsApp avec la bonne couleur */
.tca-whatsapp-btn {
    background: #25D366; /* Vert WhatsApp */
}
.tca-whatsapp-btn:hover {
    background: #128C7E; /* Vert WhatsApp plus foncé */
}

/* Bouton Calendly */
.tca-calendly-btn {
    background: var(--tca-primary);
}
.tca-calendly-btn:hover {
    background: var(--tca-violet);
}


/* Responsive */
@media (max-width: 989px) {
    .tca-main-grid {
        grid-template-columns: 1fr;
    }
    
    .tca-contact-title {
        font-size: 28px;
    }
    
    .tca-right-column {
        padding: 30px 20px;
    }
}

 /* ========================================
   STYLES POUR LA PAGE "QUI SUIS-JE"
   ======================================== */

/* Conteneur principal de la page */
.page-qui-suis-je .entry-content {
    max-width: 850px;
    margin: 0 auto;
}

/* Section d'introduction (Héro) */
.about-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--tca-border-light);
}

.about-hero__image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 25px;
    border: 4px solid var(--tca-primary);
    box-shadow: 0 10px 30px rgba(0, 128, 116, 0.2);
}

.about-hero__title {
    font-size: 38px;
    color: var(--tca-primary);
    margin-bottom: 15px;
}

.about-hero__subtitle {
    font-size: 18px;
    color: var(--tca-text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

/* Style général des sections */
.about-section {
    margin-bottom: 50px;
}

.about-section h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
    border-bottom: 2px solid var(--tca-primary);
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

/* Encadré pour les citations ou points clés */
.about-quote {
    background: #eef7f2; /* Vert d'eau très clair */
    border-left: 4px solid var(--tca-primary);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
    font-size: 18px;
    font-style: italic;
    color: var(--tca-text);
}

/* Grille pour la vision / philosophie */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.philosophy-card {
    background: var(--tca-surface);
    padding: 25px;
    border-radius: var(--tca-radius);
    border: 1px solid var(--tca-border);
    transition: all 0.3s ease;
}

.philosophy-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--tca-shadow-md);
}

.philosophy-card__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
    color: var(--tca-primary);
}

.philosophy-card p {
    font-size: 16px;
    line-height: 1.6;
}

/* Section du programme et vidéo */
.program-section {
    background-color: var(--tca-background);
    padding: 40px;
    border-radius: var(--tca-radius);
    text-align: center;
    margin: 60px 0;
}

/* ========================================
   AMÉLIORATIONS ESTHÉTIQUES DU BLOC "MÉTHODOLOGIE"
   ======================================== */
 

/* 1. Réduire l'espace vide dans le cadre blanc */
.tca-hero-method__philosophy {
    padding-top: 25px;    /* Réduit l'espacement en haut */
    padding-bottom: 30px; /* Réduit l'espacement en bas */
}

/* 2. Agrandir le titre "MA PHILOSOPHIE" */
.tca-philosophy-container h3 {
    font-size: 18px;   /* Taille de police augmentée (au lieu de 14px) */
    font-weight: 600;  /* Rendu un peu plus visible (au lieu de 500) */
}

/* 3. Supprimer le fond gris de la présentation de l'auteur */
#heroAuthorInfo {
    background-color: transparent !important; /* Retire le fond gris */
    padding: 10px 0 !important;
    margin-top: 20px !important;
}

/* 4. & 5. Rendre le bouton plus arrondi et non souligné */
.tca-hero-method__cta .tca-btn--large {
    border-radius: 50px; /* Rend le bouton plus arrondi (forme pilule) */
    text-decoration: none !important;
}

/* 6. Ajuster le texte de réassurance sous le bouton */
.tca-hero-method__reassurance {
    font-size: 14px;      /* Texte légèrement plus petit */
    font-style: italic;   /* Texte en italique */
    margin-top: 15px;     /* Plus d'espace par rapport au bouton */
    opacity: 0.9;         /* Le rend un peu plus discret */
}

/* ========================================
   CORRECTIF POUR LE TITRE "UN PROGRAMME INTENSE"
   ======================================== */

/* Cible spécifiquement le H2 dans la section "programme" */
.program-section h2 {
    display: block; /* On le force en mode "bloc" */
    width: fit-content; /* Sa largeur s'adapte à celle du texte */
    margin-left: auto; /* Centre le bloc horizontalement */
    margin-right: auto; /* Centre le bloc horizontalement */

    /* On annule les anciennes règles de positionnement qui créaient le conflit */
    position: static;
    left: auto;
    transform: none;
}


/* Conteneur vidéo modernisé pour éviter la superposition */
.video-container {
    margin: 30px auto;
    max-width: 600px;
    position: relative;
    aspect-ratio: 16 / 9; /* Définit un ratio largeur/hauteur de 16:9 */
    overflow: hidden; /* S'assure que rien ne dépasse */
}

.video-container iframe,
.video-container .wistia_embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Liste des références */
.references-list {
    list-style: none;
    padding-left: 0;
}
.references-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}
.references-list li::before {
    content: '✓';
    color: var(--tca-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Appel à l'action final */
.final-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(0,128,116,0.05), rgba(0,128,116,0.1));
    border-radius: 20px;
}

.final-cta a {
    display: inline-block;
    padding: 16px 32px;
    background: #008074;
    color: white !important;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.final-cta a:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0,128,116,0.3);
}

/* Donner un ID à la page pour que le CSS s'applique */
.page-id-XX .entry-content {
    /* Mettez l'ID de votre page ici si besoin */
}

/* Pour mobile */
@media (max-width: 768px) {
    .about-hero__title {
        font-size: 32px;
    }
    .about-section h2 {
        font-size: 24px;
    }
}


