/* ==========================================================================
   PALETTE "TRANSE HOLOTROPIQUE" (CLINIQUE & PROFONDEUR)
   ========================================================================== */
:root {
    --blanc-cabinet: #FAF9F8;    /* Un blanc très légèrement "poudré" (apaisant) */
    --blanc-pur: #FFFFFF;        
    --texte: #2B262D;          /* Un noir avec une pointe de violet très subtile */
    
    /* LA COULEUR PRINCIPALE (Remplace le Vert Sauge/Bleu Ardoise) */
     --sauge: #3A3246;           /* Indigo/Améthyste Sombre : L'inconscient, la profondeur, le mystère contenu */
    
    /* LA COULEUR D'ACCENT (Remplace le Sable) */
    --ocre: #A64B35;  /* Terre de Sienne Brûlée / Feu : L'énergie vitale, le souffle, la racine chamanique */
    
    --gris-leger: #EFECEF;       /* Un gris perle très doux pour séparer les blocs */
    --font-titres: 'Lora', serif;
    --font-texte: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* ==========================================================================
   RESET DES LIENS (Anti Bleu / Anti Violet par défaut)
   ========================================================================== */
a, a:link, a:visited, a:active {
    color: inherit; /* Force le lien à prendre la couleur du texte qui l'entoure */
    text-decoration: none; /* Enlève le soulignement natif */
    transition: var(--transition);
}

/* Style élégant pour les liens glissés DANS le texte (ex: Bibliographie, liens Maps) */
p a, li a, .biblio-list a {
    color: var(--ocre); /* On utilise le "Feu/Terre de Sienne" pour indiquer qu'on peut cliquer */
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent; /* Prépare un soulignement invisible pour l'animation */
}

/* Animation au survol pour les liens dans le texte */
p a:hover, li a:hover, .biblio-list a:hover {
    color: var(--sauge); /* Bascule vers l'Indigo profond au survol */
    border-bottom: 1px solid var(--sauge); /* Fait apparaître un soulignement élégant */
}

body { 
    font-family: var(--font-texte); 
    background-color: var(--blanc-cabinet); 
    color: var(--texte); 
    line-height: 1.7; 
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

/* NAVIGATION */
.site-header { background: white; padding: 1.5rem 0; border-bottom: 1px solid var(--gris-leger); sticky; top: 0; z-index: 100; }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }
.logo { text-decoration: none; }
.logo-name { font-family: var(--font-titres); font-size: 1.5rem; color: var(--sauge); font-weight: 600; display: block; }
.logo-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #555555; /* Gris foncé solide au lieu de opacity 0.6 */
    font-weight: 500;
}

.main-nav ul { list-style: none; display: flex; gap: 2.5rem; }
.main-nav a { text-decoration: none; color: var(--texte); font-weight: 600; font-size: 0.9rem; transition: var(--transition); }
.main-nav a:hover { color: var(--ocre); }

/* SECTIONS COMMUNES */
.page-header { padding: 8rem 0 5rem; text-align: center; background: white; }
.subtitle {
    display: block;
    color: var(--ocre);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700; /* On force le gras pour le contraste */
}

h1 { font-family: var(--font-titres); font-size: clamp(2.5rem, 5vw, 4rem); color: var(--sauge); line-height: 1.1; }
h2 { font-family: var(--font-titres); font-size: 2.2rem; color: var(--sauge); margin: 3rem 0 1.5rem; }

.content-section { padding: 5rem 0; }
.text-block { max-width: 850px; margin: 0 auto; }
.lead { font-size: 1.25rem; font-weight: 400; color: var(--texte); opacity: 0.9; margin-bottom: 2rem; }

/* GRILLES & CARTES */
.grid-2-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin: 3rem 0; }
.services-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); /* Force 3 colonnes sur une ligne */
    gap: 2rem; 
    padding: 4rem 0; 
}


.service-card, .feature-card { 
    background: white; padding: 3.5rem 2.5rem; border-radius: 15px; 
    border: 1px solid var(--gris-leger); transition: var(--transition);
}
.service-card:hover { transform: translateY(-10px); border-color: var(--sauge); box-shadow: 0 20px 40px rgba(0,0,0,0.04); }
.btn-link { color: var(--sauge); font-weight: 700; text-decoration: none; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; display: inline-block; margin-top: 1.5rem; }

/* BLOCS SPÉCIFIQUES */
.quote-box { margin: 4rem 0; padding: 3rem; background: var(--gris-leger); border-left: 4px solid var(--ocre); font-style: italic; font-size: 1.1rem; }
.clinical-note { margin: 3rem 0; padding: 2.5rem; border: 1px solid var(--sauge); border-radius: 12px; background: rgba(115, 140, 122, 0.03); }
.collab-box { padding: 3.5rem; border: 1px solid var(--sauge); border-radius: 20px; text-align: center; background: white; }
.grof-quote { margin: 5rem 0; padding: 3rem; font-family: var(--font-titres); font-size: 1.5rem; text-align: center; border-top: 1px solid var(--gris-leger); border-bottom: 1px solid var(--gris-leger); color: var(--sauge); }


/* --- GROUPES : CONTRE-INDICATIONS MÉDICALES --- */
.warning-box { 
    background: #FFF9F7; 
    border: 1px solid #FFEDE8; 
    border-radius: 20px; 
    padding: 3rem; 
    margin-top: 3rem;
}
.warning-box h3 { 
    color: #C04B2C; 
    font-family: var(--font-texte);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.warning-box h3::before { content: "⚠️"; }

.contra-list { 
    column-count: 2; /* Sépare la liste en deux colonnes sur desktop */
    column-gap: 40px;
    margin-bottom: 2rem;
}
.contra-list p { font-size: 0.95rem; color: #444; opacity: 0.9; }

.warning-footer { 
    padding-top: 1.5rem; 
    border-top: 1px solid #FFD8CC; 
    font-weight: 600; 
    color: #C04B2C; 
    font-size: 0.95rem;
}

/* RESPONSIVE : On repasse sur une seule ligne pour mobile */
@media (max-width: 900px) {
    .services-grid { grid-template-columns: 1fr; }
    .contra-list { column-count: 1; }
}

/* ==========================================================================
   BLOC TARIFS STARK (LIGNES DE PRIX AVEC POINTILLÉS)
   ========================================================================== */
.pricing-box {
    max-width: 800px;
    margin: 4rem auto;
    background: white;
    padding: 4rem;
    border-radius: 20px;
    border: 1px solid var(--gris-leger);
    box-shadow: 0 20px 50px rgba(0,0,0,0.03);
}

.pricing-box h2 {
    font-size: 1.6rem;
    color: var(--sauge);
    margin-bottom: 3rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* La ligne magique */
.price-item {
    display: flex;
    align-items: baseline; /* Aligne le bas du texte et du prix */
    margin-bottom: 1.5rem;
    gap: 10px;
}

.price-label {
    font-weight: 500;
    color: var(--texte);
    font-size: 1rem;
    white-space: nowrap; /* Empêche le titre de se couper trop vite */
}

/* Les pointillés dynamiques */
.price-dots {
    flex: 1;
    border-bottom: 2px dotted var(--gris-leger);
    height: 1px;
    opacity: 0.8;
}

.price-value {
    font-family: var(--font-titres);
    color: var(--ocre);
    font-weight: 700;
    font-size: 1.2rem;
    white-space: nowrap;
}

/* La note d'annulation stylisée */
.price-note {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--blanc-cabinet);
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--texte);
    border-left: 4px solid var(--sauge);
    font-style: italic;
    opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .price-item { flex-direction: column; align-items: flex-start; gap: 5px; }
    .price-dots { display: none; }
    .price-value { font-size: 1.4rem; margin-top: 5px; }
    .pricing-box { padding: 2rem; }
}
/* Gestion des tarifs avec description longue */
.price-item-complex {
    margin-bottom: 2rem;
}

.price-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.price-description {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--texte);
    opacity: 0.7;
    line-height: 1.5;
    max-width: 90%; /* Évite que le texte ne s'étale trop sous le prix */
}

/* On s'assure que les pointillés ne touchent pas le texte si c'est trop long */
.price-label {
    white-space: normal; /* Permet le retour à la ligne du label si besoin sur mobile */
    max-width: 60%;
}

/* Bloc Remboursement / CPAM */
.refund-info {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px dashed var(--sauge);
}

.refund-info h3 {
    font-family: var(--font-texte);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--sauge);
    margin-bottom: 1rem;
}

.refund-info p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--texte);
    opacity: 0.85;
}



/* FOOTER */
.main-footer { background: var(--sauge); color: white; padding: 6rem 0 3rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 4rem; }
.footer-bottom { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 0.8rem; opacity: 0.6; }

@media (max-width: 800px) {
    .grid-2-cols { grid-template-columns: 1fr; }
    h1 { font-size: 2.8rem; }
}
/* --- BIO : RESTAURATION DES DIPLÔMES --- */

.diploma-list-stark {
    list-style: none;
    padding: 0;
}

.diploma-list-stark li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--texte);
}

/* Le petit point "Sauge" minimaliste avant chaque diplôme */
.diploma-list-stark li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: var(--sauge);
    border-radius: 50%;
}

/* ==========================================================================
   BOUTON BACK TO TOP (ZEN-STARK)
   ========================================================================== */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--sauge);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

/* État affiché */
#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Survol chamanique */
#backToTop:hover {
    background-color: var(--ocre);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(200, 130, 98, 0.3);
}

/* Sur mobile, on le réduit un peu */
@media (max-width: 768px) {
    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}
/* ==========================================================================
   PAGE CONTACT (STARK & ACCESSIBLE)
   ========================================================================== */
.contact-section { padding: 5rem 0 10rem; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.info-card, .schedule-card {
    background: white;
    padding: 3.5rem;
    border-radius: 20px;
    border: 1px solid var(--gris-leger);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.info-card h3, .schedule-card h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sauge);
    margin-bottom: 2rem;
}

/* Coordonnées */
.address {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.map-btn {
    display: inline-block;
    color: var(--ocre);
    font-weight: 700;
    text-decoration: underline;
    font-size: 0.9rem;
    transition: var(--transition);
}
.map-btn:hover { color: var(--sauge); }

/* Téléphone */
.phone-link {
    display: block;
    font-family: var(--font-titres);
    font-size: 2.5rem;
    color: var(--sauge);
    text-decoration: none;
    margin: 1.5rem 0 1rem;
    transition: var(--transition);
}
.phone-link:hover { color: var(--ocre); }

.phone-note {
    font-size: 0.9rem;
    opacity: 0.7;
    font-style: italic;
}

/* Table des horaires */
.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table td {
    padding: 1rem 0;
    border-bottom: 1px solid var(--gris-leger);
    font-size: 0.95rem;
}

.hours-table tr:last-child td { border-bottom: none; }

.hours-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--sauge);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .phone-link { font-size: 1.8rem; }
    .info-card, .schedule-card { padding: 2.5rem; }
}
/* ==========================================================================
   BOUTON DE CONTACT FINAL (CTA)
   ========================================================================== */
.final-cta {
    padding: 6rem 0 8rem;
    text-align: center;
}

.cta-content p {
    font-family: var(--font-titres);
    font-size: 1.2rem;
    color: var(--sauge);
    margin-bottom: 2.5rem;
    font-style: italic;
}

.btn-primary-large {
    display: inline-block;
    background-color: var(--sauge);
    color: white;
    padding: 1.2rem 3rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px; /* Forme pilule : très "contenant" et rassurant */
    box-shadow: 0 10px 20px rgba(115, 140, 122, 0.15);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Effet au survol (La couleur Ocre Chamanique s'active) */
.btn-primary-large:hover {
    background-color: var(--ocre);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(200, 130, 98, 0.25);
    color: white;
}

/* État actif (clic) */
.btn-primary-large:active {
    transform: translateY(-1px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .btn-primary-large {
        padding: 1.2rem 1.5rem;
        font-size: 0.85rem;
        width: 100%; /* Largeur pleine sur mobile pour faciliter le clic au pouce */
    }
}
/* ==========================================================================
   BLINDAGE DES BOUTONS CTA (Force le texte en BLANC)
   ========================================================================== */
.btn-primary-large, 
.btn-primary-large:link, 
.btn-primary-large:visited, 
.btn-primary-large:active {
    color: #FFFFFF !important; /* Le !important écrase le reset des liens */
}

.btn-primary-large:hover {
    color: #FFFFFF !important; /* Reste blanc même au survol */
}

/* On en profite pour sécuriser les petits boutons "En savoir plus" de l'accueil */
.btn-link, 
.btn-link:link, 
.btn-link:visited {
    color: var(--sauge) !important; 
}

.btn-link:hover {
    color: var(--ocre) !important;
}

/* --- ALERTES SPAM HAUT CONTRASTE (Score 100) --- */
.spam-alert-box {
    color: #FFFFFF !important;      /* Blanc pur garanti */
    background-color: #991B1B !important; /* Rouge Sang profond (Contraste 7.5:1) */
    padding: 10px 18px; 
    border-radius: 6px; 
    display: inline-block; 
    font-weight: 700;               /* On force le gras pour faciliter la lecture */
    font-size: 0.95rem;
    border: 1px solid #7F1D1D;      /* Bordure encore plus sombre pour le relief */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    line-height: 1.2;
}
p .spam-alert-box {
    opacity: 1 !important;
}
.spam-warning-inline {
    margin-bottom: 25px; 
    padding: 20px; 
    font-size: 0.95rem; 
    color: #333333; /* Texte sombre pour lisibilité */
    background-color: #FFF0F0; 
    border-left: 6px solid #B30000; /* Barre rouge plus épaisse pour impact visuel */
    border-radius: 4px; 
    line-height: 1.6;
}

.spam-warning-inline strong {
    color: #B30000;
}
.success-msg {
    background: #E8F5E9; 
    color: #2E7D32; 
    padding: 25px; 
    border-radius: 12px; 
    margin-bottom: 30px; 
    border: 1px solid #C8E6C9;
    line-height: 1.6;
}

/* --- FORMULAIRE STARK --- */
.stark-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--sauge); margin-bottom: 8px; text-transform: uppercase; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 15px; border: 1px solid var(--gris-leger); border-radius: 10px; font-family: inherit; font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--sauge); box-shadow: 0 0 0 4px rgba(74, 91, 105, 0.05);
}

@media (max-width: 600px) {
    .stark-form .form-row { grid-template-columns: 1fr; }
}
/* ==========================================================================
   PAGE MENTIONS LÉGALES
   ========================================================================== */
.legal-doc h2 {
    font-size: 1.5rem;
    color: var(--sauge);
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gris-leger);
}

.legal-doc h3 {
    font-family: var(--font-texte);
    font-size: 1.1rem;
    color: var(--texte);
    margin: 2rem 0 1rem;
}

.legal-doc p {
    margin-bottom: 1.5rem;
    color: var(--texte);
    opacity: 0.85;
}

.legal-doc ul {
    margin-bottom: 1.5rem;
    opacity: 0.85;
}
.img-zen {
    display: block;
    width: 100%;
    max-width: 550px; /* Réduit pour plus d'élégance */
    height: auto;
    margin: 3rem auto; /* Toujours une belle respiration */
    border-radius: 15px; /* Arrondi légèrement plus fin */
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); /* Ombre plus discrète */
}

/* =============================================================
   BOUTON COOKIE CUSTOM (À GAUCHE)
   ============================================================= */
#customCookieBtn {
    position: fixed;
    bottom: 30px;
    left: 30px; /* On le force à GAUCHE pour équilibrer avec le bouton remonter */
    width: 45px;
    height: 45px;
    background-color: var(--blanc-pur);
    color: var(--sauge);
    border: 1px solid var(--gris-leger);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 9999; /* On le met par-dessus absolument tout */
    transition: var(--transition);
}

#customCookieBtn:hover {
    background-color: var(--sauge);
    color: var(--blanc-pur);
    transform: rotate(45deg); /* Petite animation Zen au survol */
}

/* On extermine l'icône par défaut de Tarteaucitron s'il essaie de forcer son affichage à droite */
#tarteaucitronIcon, .tarteaucitronSelfLabel { 
    display: none !important; 
}

/* Ajustement sur mobile */
@media (max-width: 768px) {
    #customCookieBtn {
        bottom: 20px;
        left: 20px; /* Reste à gauche sur téléphone */
        width: 40px;
        height: 40px;
    }
}

/* ==========================================================================
   AJOUTS HARMONISATION MOBILE (STARK-RESPONSIVE)
   ========================================================================== */

@media (max-width: 768px) {
    /* 1. Navigation : Centrage du logo et menu fluide */
    .nav-wrapper {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .main-nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* 2. Typographie : Réduction des tailles pour petits écrans */
    h1 { font-size: 2.2rem !important; }
    h2 { font-size: 1.7rem !important; }
    .hero-section { padding: 5rem 0 3rem !important; }
    .page-header { padding: 4rem 0 2rem !important; }
    .lead { font-size: 1.1rem; }

    /* 3. Sections : Réduction des marges excessives */
    .content-section { padding: 3rem 0 !important; }
    .final-cta { padding: 3rem 0 5rem !important; }
    .container { padding: 0 1.5rem; }

    /* 4. Grilles : Passage forcé en 1 colonne pour tous les éléments */
    .services-grid, 
    .grid-2-cols, 
    .contact-grid, 
    .warning-grid,
    .bio-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* 5. Cartes et Blocs : Adaptation des paddings */
    .service-card, 
    .feature-card, 
    .info-card, 
    .schedule-card,
    .pricing-box {
        padding: 2rem 1.5rem !important;
    }

    /* 6. Bio : On place la photo au-dessus du texte sur mobile */
    .bio-grid { display: flex; flex-direction: column; }
    .bio-aside { order: -1; margin-bottom: 2rem; }
    .bio-aside img { max-width: 100% !important; }

    /* 7. Tarifs : Nettoyage des pointillés et alignement */
    .price-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .price-dots { display: none !important; }
    .price-value { font-size: 1.3rem; }
    .price-label { white-space: normal; max-width: 100%; }

    /* 8. Contact : Téléphone plus lisible */
    .phone-link { font-size: 1.6rem !important; word-break: break-all; }
    
    /* 9. Images : Réduction des marges automatiques */
    .img-zen { margin: 2rem auto !important; }

    /* 10. Bouton Cookie & Remonter : Taille tactile */
    #customCookieBtn, #backToTop {
        width: 44px;
        height: 44px;
    }
}

/* Ajustement spécifique pour les très petits écrans (iPhone SE / etc) */
@media (max-width: 480px) {
    h1 { font-size: 1.9rem !important; }
    .btn-primary-large { width: 100%; padding: 1.2rem 1rem; font-size: 0.9rem; }
}