/* ==========================================================================
   CSS SOCIÉTÉ DE GESTION - VERSION CORRIGÉE
   Modifications ciblées sur les sections RESPONSIVE uniquement
   Échelle typographique cohérente pour mobile
   ========================================================================== */

/* ==========================================================================
   0. VARIABLES CSS PERSONNALISÉES
   ========================================================================== */

:root {
    /* Couleurs principales */
    --cmw-primary: #0F3F3C;
    --cmw-teal: #298F8E;
    --cmw-accent: #06E0B8;
    --cmw-dark: #083636;
    
    /* Texte - OPTIMISÉ pour contraste 50+ */
    --cmw-text-body: #1a2928;
    --cmw-text-dark: #0d1f1e;
    --cmw-text-muted: #3d4a49;
    --cmw-text-label: #4a5958;
    
    /* Fonds */
    --cmw-bg-light: #EFEEE7;
    --cmw-bg-subtle: #f5f5f2;
    
    /* Bordures - légèrement plus visibles */
    --cmw-border: rgba(15, 63, 60, 0.10);
    --cmw-border-hover: rgba(15, 63, 60, 0.18);
    
    /* Ombres - plus prononcées */
    --cmw-shadow: rgba(8, 54, 54, 0.10);
    --cmw-shadow-hover: rgba(8, 54, 54, 0.15);
    
    /* Rayons */
    --cmw-radius: 12px;
    --cmw-radius-sm: 8px;
    --cmw-radius-lg: 20px;
    
    /* Transitions */
    --cmw-transition: all 0.3s ease;
}

/* ==========================================================================
   1. FOND DE PAGE ET RESET
   ========================================================================== */

.single-societe_gestion .inside-article {
    max-width: 100%;
    padding: 0;
}

/* Fond crème global avec :has() */
html:has(.cmw-gerant-container),
body:has(.cmw-gerant-container) {
    background-color: #EFEEE7 !important;
}



/* Cacher headers par défaut */
body:has(.cmw-gerant-container) .entry-header,
body:has(.cmw-gerant-container) .page-header,
body:has(.cmw-gerant-container) article > header,
body:has(.cmw-gerant-container) .site-footer h1,
body:has(.cmw-gerant-container) footer h1 {
    display: none !important;
}

/* ==========================================================================
   3. CONTAINER PRINCIPAL
   ========================================================================== */

.cmw-gerant-container {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--cmw-text-body);
    font-size: 17px;
    line-height: 1.85;
    letter-spacing: 0.01em;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2rem 80px;
    background-color: var(--cmw-bg-light);
    overflow-x: hidden;
}

/* Sélection de texte */
.cmw-gerant-container ::selection {
    background: rgba(6, 224, 184, 0.25);
    color: var(--cmw-dark);
}

/* ==========================================================================
   4. SECTIONS - CARDS BLANCHES
   ========================================================================== */

.cmw-gerant-container .cmw-section {
    margin-bottom: 56px;
    width: auto;
    position: relative;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
    background: #ffffff;
    border-radius: var(--cmw-radius-lg);
    padding: 52px 56px;
    box-shadow: 0 6px 35px var(--cmw-shadow);
    border: 1px solid var(--cmw-border);
    overflow: hidden;
    max-width: 100%;
}

.cmw-gerant-container .cmw-section:last-child {
    margin-bottom: 0;
}

/* Plus d'espace avant certaines sections */
.cmw-section--strategy {
    margin-top: 20px;
}

.cmw-section--profile {
    margin-top: 20px;
}

/* Section About - hérite des styles de .cmw-section */
.cmw-section--about {
    /* Pas de styles spécifiques */
}

/* ==========================================================================
   FUNDS PERFORMANCE WRAPPER
   ========================================================================== */

.cmw-funds-performance {
    /* Wrapper sémantique pour les données de performance */
}

.cmw-performance--unlocked {
    /* État débloqué - visible */
}

.cmw-performance-table {
    /* Hérite de .cmw-funds-table */
}

/* ==========================================================================
   6. SECTION TITLES
   ========================================================================== */

.cmw-gerant-container .cmw-section-title {
    color: var(--cmw-primary);
    font-family: 'Cormorant Garamond','Cormorant Garamond Repli', Georgia, serif;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin: 0 0 40px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--cmw-border);
    position: relative;
}

.cmw-gerant-container .cmw-section-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--cmw-primary), var(--cmw-accent));
    border-radius: 2px;
}

/* ==========================================================================
   7. HERO HEADER
   ========================================================================== */

.cmw-hero-header {
    background: #ffffff;
    border-radius: var(--cmw-radius-lg);
    padding: 40px 48px;
    margin-top: 32px;
    margin-bottom: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    box-shadow: 0 6px 35px var(--cmw-shadow);
    border: 1px solid var(--cmw-border);
    position: relative;
}

.cmw-hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    right: 40px;
    height: 4px;
    background: linear-gradient(90deg, var(--cmw-primary), var(--cmw-accent), transparent);
    border-radius: 0 0 3px 3px;
}

.cmw-hero-header-content {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
}

/* LOGO */
.cmw-hero-logo {
    width: 100px;
    height: 100px;
    min-width: 100px;
    padding: 12px;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid rgba(15, 63, 60, 0.1);
    box-shadow: 0 4px 15px rgba(8, 54, 54, 0.08);
}

.cmw-hero-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.cmw-hero-logo img + .cmw-hero-logo-fallback,
.cmw-hero-logo img ~ .cmw-hero-logo-fallback {
    display: none !important;
}

.cmw-hero-logo-fallback {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--cmw-primary);
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 63, 60, 0.06), rgba(6, 224, 184, 0.08));
    border-radius: 10px;
    text-transform: uppercase;
}

.cmw-hero-info {
    flex: 1;
}

.cmw-hero-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.cmw-badge-category {
    background: linear-gradient(135deg, var(--cmw-primary), var(--cmw-teal));
    color: white;
    padding: 5px 14px;
    border-radius: 15px;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* H1 TITRE */
h1.cmw-hero-title,
.cmw-hero-title {
    font-family: 'Cormorant Garamond','Cormorant Garamond Repli', Georgia, serif !important;
    font-size: clamp(28px, 4vw, 40px) !important;
    font-weight: 600 !important;
    color: var(--cmw-dark) !important;
    margin: 10px 0 10px 0 !important;
    line-height: 1.2 !important;
    display: block !important;
    visibility: visible !important;
}

.cmw-hero-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 0;
}

.cmw-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--cmw-text-muted);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
}

.cmw-hero-meta-item svg {
    color: var(--cmw-teal);
    opacity: 0.7;
}

.cmw-hero-quick-stats {
    display: flex;
    gap: 24px;
}

.cmw-hero-stat {
    text-align: center;
    padding: 20px 28px;
    background: white;
    border-radius: 12px;
    min-width: 110px;
    border: 1px solid var(--cmw-border);
    transition: var(--cmw-transition);
}

.cmw-hero-stat:hover {
    border-color: var(--cmw-border-hover);
    box-shadow: 0 4px 15px var(--cmw-shadow);
}

.cmw-hero-stat-value {
    font-family: 'Cormorant Garamond','Cormorant Garamond Repli', Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--cmw-dark);
    display: block;
    line-height: 1.2;
}

.cmw-hero-stat-label {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    color: var(--cmw-text-label);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-top: 8px;
    display: block;
    line-height: 1.3;
}

/* ==========================================================================
   8. TOOLTIP - ICÔNE INFO
   ========================================================================== */

.cmw-tooltip-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    cursor: help;
    vertical-align: middle;
}

.cmw-tooltip-trigger svg {
    width: 16px;
    height: 16px;
    color: var(--cmw-teal);
    opacity: 0.7;
    transition: all 0.2s ease;
}

.cmw-tooltip-trigger:hover svg,
.cmw-tooltip-trigger:focus svg {
    opacity: 1;
    color: var(--cmw-primary);
    transform: scale(1.1);
}

.cmw-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--cmw-primary);
    color: #ffffff;
    padding: 16px 20px;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
    text-transform: none;
    letter-spacing: 0;
    white-space: normal;
    width: 280px;
    text-align: left;
    box-shadow: 0 8px 25px rgba(15, 63, 60, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 100;
    pointer-events: none;
}

.cmw-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--cmw-primary);
}

.cmw-tooltip-trigger:hover .cmw-tooltip,
.cmw-tooltip-trigger:focus .cmw-tooltip {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cmw-tooltip-trigger:focus {
    outline: 2px solid var(--cmw-accent);
    outline-offset: 2px;
    border-radius: 50%;
}

/* ==========================================================================
   10. INTRO CARD
   ========================================================================== */

.cmw-intro-card {
    background: linear-gradient(135deg, white 0%, rgba(6, 224, 184, 0.04) 100%);
    border-radius: 0 var(--cmw-radius) var(--cmw-radius) 0;
    position: relative;
    animation: cmwFadeInUp 0.5s ease-out 0.2s backwards;
}

.cmw-intro-card::after {
    content: '"';
    position: absolute;
    bottom: 8px;
    right: 16px;
    font-size: 64px;
    color: rgba(6, 224, 184, 0.18);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.cmw-intro-card p {
    font-size: 18px !important;
    line-height: 2.05 !important;
    color: var(--cmw-text-body) !important;
    margin: 0 0 20px 0 !important;
}

.cmw-intro-card p:last-child {
    margin-bottom: 0 !important;
}

/* ==========================================================================
   11. FUNDS TABLE
   ========================================================================== */

.cmw-funds-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.cmw-funds-table thead {
    background: linear-gradient(180deg, #f8f9f8 0%, #f3f4f3 100%);
}

.cmw-funds-table th {
    padding: 18px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--cmw-text-muted);
    border-bottom: 1px solid var(--cmw-border);
    white-space: nowrap;
}

.cmw-funds-table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--cmw-border);
    color: var(--cmw-text-body);
    font-size: 16px;
    line-height: 1.6;
}

.cmw-funds-table tbody tr:last-child td {
    border-bottom: none;
}

/* Alternance de lignes */
.cmw-funds-table tbody tr:nth-child(even) {
    background: rgba(239, 238, 231, 0.4);
}

.cmw-funds-table tbody tr:hover {
    background: rgba(6, 224, 184, 0.08);
}

/* ==========================================================================
   12. CONTENT BLOCKS
   ========================================================================== */

.cmw-content-block {
    max-width: 100%;
}

.cmw-content-block h2 {
    color: var(--cmw-primary);
    font-family: 'Cormorant Garamond','Cormorant Garamond Repli', Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.4px;
    margin: 56px 0 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--cmw-border);
    position: relative;
}

.cmw-content-block h2:first-child {
    margin-top: 8px;
}

.cmw-content-block h2::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 55px;
    height: 3px;
    background: linear-gradient(90deg, var(--cmw-primary), var(--cmw-accent));
}

.cmw-content-block h3 {
    color: var(--cmw-primary);
    font-family: 'Cormorant Garamond','Cormorant Garamond Repli', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    margin: 52px 0 24px;
    padding-left: 16px;
    padding-top: 0;
    border-left: 4px solid var(--cmw-accent);
    letter-spacing: -0.2px;
    line-height: 1.3;
}

.cmw-content-block h3:first-child {
    margin-top: 0;
}

/* H3 après un tableau ou une liste */
.cmw-content-block table + h3,
.cmw-content-block ul + h3,
.cmw-content-block ol + h3 {
    margin-top: 56px;
}

/* Quand H3 ne suit PAS un H2 (milieu de contenu) */
.cmw-content-block p + h3,
.cmw-content-block ul + h3,
.cmw-content-block ol + h3,
.cmw-content-block table + h3,
.cmw-content-block blockquote + h3 {
    margin-top: 48px;
}

/* Quand H2 est suivi directement d'un H3 */
.cmw-content-block h2 + h3 {
    margin-top: 4px;
}

.cmw-content-block h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--cmw-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 40px 0 18px;
}

/* Style par défaut avec puce */
.cmw-content-block h4::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--cmw-accent);
    border-radius: 2px;
    flex-shrink: 0;
}

/* Quand H4 suit un H2 ou H3 */
.cmw-content-block h2 + h4,
.cmw-content-block h3 + h4 {
    margin-top: 8px;
}

/* Évaluation positive (atouts) */
.cmw-content-block h4.cmw-eval-positive {
    color: #0d5d5c;
}

.cmw-content-block h4.cmw-eval-positive::before {
    content: '✓';
    color: #06E0B8;
    font-weight: 700;
    font-size: 18px;
    width: auto;
    height: auto;
    background: none;
}

/* Évaluation attention (risques) */
.cmw-content-block h4.cmw-eval-warning {
    color: #8a4a35;
}

.cmw-content-block h4.cmw-eval-warning::before {
    content: '⚠';
    color: #D97757;
    font-weight: 700;
    font-size: 16px;
    width: auto;
    height: auto;
    background: none;
}

.cmw-content-block p {
    font-size: 17px !important;
    line-height: 2 !important;
    margin-bottom: 24px !important;
    color: var(--cmw-text-body) !important;
    letter-spacing: 0.015em;
}

.cmw-content-block strong {
    color: var(--cmw-dark);
    font-weight: 700;
}

.cmw-content-block ul,
.cmw-content-block ol {
    padding-left: 0;
    margin: 32px 0;
    list-style: none;
}

.cmw-content-block li {
    padding-left: 32px;
    margin-bottom: 18px;
    position: relative;
    font-size: 17px !important;
    line-height: 1.9;
    color: var(--cmw-text-body);
}

.cmw-content-block ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--cmw-primary), var(--cmw-accent));
    border-radius: 50%;
}

.cmw-content-block ol {
    counter-reset: item;
}

.cmw-content-block ol li::before {
    content: counter(item);
    counter-increment: item;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 14px;
    font-weight: 800;
    color: var(--cmw-primary);
}

.cmw-content-block em {
    color: var(--cmw-text-muted);
    font-style: normal;
    background: rgba(6, 224, 184, 0.12);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 16px;
}

/* Tables in content blocks */
.cmw-content-block table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0 32px;
    font-size: 14px;
    border-radius: var(--cmw-radius-sm);
    overflow: hidden;
    border: 1px solid var(--cmw-border);
}

.cmw-content-block th,
.cmw-content-block td {
    padding: 16px 18px;
    text-align: left;
    border-bottom: 1px solid var(--cmw-border);
    line-height: 1.6;
}

.cmw-content-block th {
    background: linear-gradient(180deg, #f8f9f8 0%, #f3f4f3 100%);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--cmw-text-muted);
}

/* Alternance de lignes */
.cmw-content-block tbody tr:nth-child(even) {
    background: rgba(239, 238, 231, 0.4);
}

.cmw-content-block tbody tr:hover {
    background: rgba(6, 224, 184, 0.08);
}

/* Liens dans content */
.cmw-content-block a {
    color: var(--cmw-primary);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    transition: all 0.2s ease;
}

.cmw-content-block a:hover {
    color: var(--cmw-teal);
    text-decoration-thickness: 2px;
}

/* Si un titre suit un tableau */
.cmw-content-block table + h2 {
    margin-top: 56px;
}

/* ==========================================================================
   13. CONTACT CARD
   ========================================================================== */

.cmw-contact-card {
    background: linear-gradient(135deg, var(--cmw-bg-light) 0%, var(--cmw-bg-subtle) 100%);
    padding: 40px;
    border-radius: var(--cmw-radius);
    border: 1px solid var(--cmw-border);
    max-width: 420px;
}

.cmw-address {
    font-style: normal;
    margin-bottom: 28px;
    line-height: 2.1;
}

.cmw-address p {
    margin: 0 0 8px;
    font-size: 17px !important;
    color: var(--cmw-text-body) !important;
}

.cmw-section--contact .cmw-contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    max-width: 100%;
}

.cmw-contact-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: linear-gradient(135deg, var(--cmw-primary), var(--cmw-teal));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(15, 63, 60, 0.2);
}

/* ==========================================================================
   16. BOUTONS GÉNÉRIQUES
   ========================================================================== */

.cmw-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    min-height: 48px;
}

.cmw-btn--secondary {
    background: transparent;
    color: var(--cmw-primary) !important;
    border: 2.5px solid var(--cmw-primary);
}

.cmw-btn--secondary:hover {
    background: var(--cmw-primary);
    color: white !important;
}

/* Focus visible pour accessibilité */
.cmw-btn:focus,
.cmw-gerant-container a:focus {
    outline: 3px solid var(--cmw-accent);
    outline-offset: 3px;
}

/* ==========================================================================
   17. ANIMATIONS
   ========================================================================== */

@keyframes cmwFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   SECTION MÉTHODOLOGIE
   ========================================================================== */

.cmw-section--methodology {
    background: linear-gradient(135deg, #ffffff 0%, rgba(239, 238, 231, 0.3) 100%);
}

.cmw-methodology-content p {
    font-size: 17px !important;
    line-height: 2 !important;
    margin-bottom: 24px !important;
}

.cmw-methodology-warning {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(217, 119, 87, 0.08);
    border-left: 4px solid #D97757;
    padding: 20px 24px;
    border-radius: 0 12px 12px 0;
    margin: 32px 0;
}

.cmw-methodology-warning svg {
    color: #D97757;
    flex-shrink: 0;
    margin-top: 2px;
}

.cmw-methodology-warning p {
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: var(--cmw-text-dark) !important;
}

/* Neutralise le style auto des <p> avec <strong> à l'intérieur du warning */
.cmw-methodology-warning p,
.cmw-methodology-warning p:has(> strong:first-child),
.cmw-methodology-warning p:has(> strong) {
    background: transparent !important;
    border-left: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

.cmw-methodology-link {
    margin-top: 28px !important;
    margin-bottom: 0 !important;
}

.cmw-methodology-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cmw-primary) !important;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 2px solid var(--cmw-accent);
    transition: all 0.2s ease;
}

.cmw-methodology-link a:hover {
    color: var(--cmw-teal) !important;
    gap: 12px;
}

.cmw-methodology-link a svg {
    transition: transform 0.2s ease;
}

.cmw-methodology-link a:hover svg {
    transform: translateX(4px);
}

/* Disclaimer simplifié */
.cmw-methodology-disclaimer {
    font-size: 15px !important;
    font-style: italic;
    color: var(--cmw-text-muted) !important;
    margin: 24px 0 !important;
    padding: 16px 20px;
    background: rgba(239, 238, 231, 0.5);
    border-radius: 8px;
}

/* CTA intégré à la section Méthodologie */
.cmw-methodology-cta {
    background: linear-gradient(135deg, var(--cmw-primary) 0%, var(--cmw-teal) 100%);
    border-radius: 12px;
    padding: 32px;
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cmw-methodology-cta-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
    min-width: 280px;
}

.cmw-methodology-cta-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.cmw-methodology-cta-text h3 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: white !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    border: none !important;
}

.cmw-methodology-cta-text p {
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 !important;
}

.cmw-methodology-cta-text strong {
    color: var(--cmw-accent);
}

.cmw-methodology-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: var(--cmw-accent);
    color: var(--cmw-primary) !important;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(6, 224, 184, 0.3);
    transition: all 0.3s ease;
    min-height: 50px;
}

.cmw-methodology-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 224, 184, 0.4);
    color: var(--cmw-primary) !important;
}

/* ==========================================================================
   SECTION ANALYSE
   ========================================================================== */

.cmw-section--analysis {
    margin-top: 24px;
}

/* Espacement réduit entre Performance et Analyse (sections liées) */
.cmw-section--performance + .cmw-section--analysis {
    margin-top: 32px;
}

/* ==========================================================================
   PERFORMANCE SCOPE & NOTES
   ========================================================================== */

.cmw-perf-scope {
    font-size: 15px !important;
    color: var(--cmw-text-muted) !important;
    margin-bottom: 24px !important;
    padding: 12px 16px;
    background: rgba(239, 238, 231, 0.5);
    border-radius: 8px;
    border-left: 3px solid var(--cmw-teal);
}

.cmw-perf-note {
    font-size: 14px !important;
    color: var(--cmw-text-muted) !important;
    margin-top: 16px !important;
    font-style: italic;
}

/* ==========================================================================
   SOMMAIRE DYNAMIQUE (Table of Contents)
   ========================================================================== */

/* Container du sommaire */
.cmw-toc {
    background: #ffffff;
    border-radius: var(--cmw-radius);
    padding: 24px 28px;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px var(--cmw-shadow);
    border: 1px solid var(--cmw-border);
    position: relative;
}

.cmw-toc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 3px;
    background: linear-gradient(90deg, var(--cmw-primary), var(--cmw-accent), transparent);
    border-radius: 0 0 2px 2px;
}

/* Header du sommaire */
.cmw-toc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--cmw-border);
}

.cmw-toc-header svg {
    color: var(--cmw-primary);
    flex-shrink: 0;
}

.cmw-toc-header span {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--cmw-text-muted);
}

/* Liste des liens */
.cmw-toc-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: toc-counter;
}

.cmw-toc-list li {
    counter-increment: toc-counter;
    margin: 0;
    padding: 0;
}

.cmw-toc-list li::before {
    display: none;
}

.cmw-toc-list a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--cmw-bg-light);
    border-radius: 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--cmw-text-body);
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.cmw-toc-list a::before {
    content: counter(toc-counter);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--cmw-primary);
    color: white;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

.cmw-toc-list a:hover {
    background: white;
    border-color: var(--cmw-accent);
    color: var(--cmw-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--cmw-shadow);
}

.cmw-toc-list a:hover::before {
    background: var(--cmw-accent);
    color: var(--cmw-primary);
}

/* Focus pour accessibilité */
.cmw-toc-list a:focus-visible {
    outline: 3px solid var(--cmw-accent);
    outline-offset: 2px;
}

/* Scroll smooth pour les ancres */
html {
    scroll-behavior: smooth;
}

/* Offset pour le header fixe */
.cmw-section[id] {
    scroll-margin-top: 100px;
}

/* ==========================================================================
   BADGES QUARTILES
   ========================================================================== */

.cmw-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.cmw-badge--q1 {
    background: rgba(6, 224, 184, 0.15);
    color: #0d5d5c;
}

.cmw-badge--q2 {
    background: rgba(41, 143, 142, 0.15);
    color: #298F8E;
}

.cmw-badge--na {
    background: rgba(93, 106, 105, 0.12);
    color: var(--cmw-text-muted);
    font-style: italic;
}

.cmw-badge--q3 { background: rgba(217, 119, 87, 0.14); color: #9a4a30; }
.cmw-badge--q4 { background: rgba(217, 119, 87, 0.22); color: #7d3520; }

/* LIGNE FONDS IMMATURES */
.cmw-row--immature {
    background: rgb(247 255 253) !important;
    opacity: 0.85;
}

.cmw-row--too-early {
    background: rgb(247 255 253) !important;
    opacity: 0.85;
}

.cmw-row--immature td {
    color: var(--cmw-text-muted);
    font-style: italic;
}

/* ==========================================================================
   TABLEAUX - Hover amélioré
   ========================================================================== */

.cmw-content-block tbody tr:hover,
.cmw-funds-table tbody tr:hover {
    background: rgba(6, 224, 184, 0.12);
    box-shadow: inset 4px 0 0 var(--cmw-accent);
}

/* ==========================================================================
   ACCESSIBILITÉ - Focus visible amélioré
   ========================================================================== */

.cmw-gerant-container a:focus-visible,
.cmw-gerant-container button:focus-visible,
.cmw-tooltip-trigger:focus-visible {
    outline: 3px solid var(--cmw-accent);
    outline-offset: 4px;
    border-radius: 4px;
}

/* ==========================================================================
   SECTION AUTEUR
   ========================================================================== */

.cmw-section--author {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 16px 0 !important;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: var(--cmw-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cmw-author-tooltip-box {
    display: inline-block;
}

.cmw-author-byline {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cmw-author-by {
    color: var(--cmw-text-muted);
}

.cmw-author-tooltip-wrapper {
    position: relative;
    display: inline-block;
}

.cmw-author-name-link {
    color: var(--cmw-primary);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border-bottom: 1px dashed var(--cmw-teal);
    transition: all 0.2s ease;
}

.cmw-author-name-link:hover {
    color: var(--cmw-teal);
    border-bottom-style: solid;
}

.cmw-author-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    width: 320px;
    box-shadow: 0 8px 30px rgba(8, 54, 54, 0.15);
    border: 1px solid var(--cmw-border);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 100;
    pointer-events: none;
}

.cmw-author-tooltip-wrapper:hover .cmw-author-tooltip {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cmw-tooltip-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.cmw-tooltip-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.cmw-tooltip-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cmw-tooltip-linkedin {
    margin-left: auto;
    color: #0077B5;
    transition: transform 0.2s ease;
}

.cmw-tooltip-linkedin:hover {
    transform: scale(1.1);
}

.cmw-tooltip-role {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--cmw-teal);
    margin-bottom: 8px;
}

.cmw-tooltip-bio {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: var(--cmw-text-body);
    margin-bottom: 12px;
}

.cmw-tooltip-footer {
    padding-top: 12px;
    border-top: 1px solid var(--cmw-border);
}

.cmw-tooltip-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    color: var(--cmw-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.cmw-tooltip-footer-link:hover {
    color: var(--cmw-primary);
}

/* ==========================================================================
   18. RESPONSIVE - TABLET (max 900px)
   ========================================================================== */

@media (max-width: 900px) {
    .cmw-hero-header {
        flex-direction: column;
        align-items: stretch;
        padding: 32px;
        gap: 24px;
    }
    
    .cmw-hero-header::before {
        left: 28px;
        right: 28px;
    }
    
    .cmw-hero-quick-stats {
        justify-content: center;
    }
    
    .cmw-gerant-container .cmw-section {
        padding: 44px 40px;
    }
    
    .cmw-gerant-container .cmw-section-title {
        font-size: 28px;
    }
    
    .cmw-content-block h2 {
        font-size: 25px !important;
    }
    
    .cmw-tooltip {
        width: 250px;
        padding: 14px 18px;
        font-size: 13px;
    }
    
    .cmw-methodology-warning {
        padding: 18px 20px;
        gap: 14px;
    }
    
    .cmw-content-block h3 {
        font-size: 22px;
        padding-left: 14px;
        margin: 44px 0 20px;
    }
    
    .cmw-content-block h4 {
        font-size: 14px;
        margin: 36px 0 16px;
    }
    
    .cmw-toc {
        padding: 20px 24px;
    }
    
    .cmw-toc-list {
        gap: 8px 12px;
    }
    
    .cmw-toc-list a {
        padding: 7px 12px;
        font-size: 13px;
    }
    
    .cmw-toc-list a::before {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
}

/* ==========================================================================
   19. RESPONSIVE - MOBILE (max 768px)
   ÉCHELLE TYPOGRAPHIQUE COHÉRENTE
   
   Hiérarchie des titres :
   - H1 (hero) : 26px
   - H2 (section-title) : 22px
   - H2 (content-block) : 20px
   - H3 : 18px
   - H4 : 12px uppercase
   
   Corps de texte :
   - Paragraphe standard : 15px / line-height 1.75
   - Intro card : 16px / line-height 1.8
   - Listes : 15px / line-height 1.7
   - Notes/labels : 13px
   - Petits textes : 12px
   ========================================================================== */

@media (max-width: 768px) {
    
    /* ===== CONTAINER PRINCIPAL ===== */
    .cmw-gerant-container {
        padding: 0 1rem 50px;
        font-size: 15px;
        line-height: 1.75;
    }
    
    /* ===== SECTIONS - Cards blanches ===== */
    .cmw-gerant-container .cmw-section {
        margin-bottom: 32px;
        padding: 28px 20px;
        border-radius: 14px;
    }
    
    /* H2 Section Title - Niveau 2 de la hiérarchie */
    .cmw-gerant-container .cmw-section-title {
        font-size: 22px;
        margin-bottom: 24px;
        padding-bottom: 14px;
    }
    
    .cmw-gerant-container .cmw-section-title::after {
        width: 50px;
        height: 3px;
    }
    
    /* ===== HERO HEADER ===== */
    .cmw-hero-header {
        padding: 24px 20px;
        margin-top: 20px;
        margin-bottom: 24px;
        gap: 20px;
        border-radius: 14px;
    }
    
    .cmw-hero-header::before {
        left: 20px;
        right: 20px;
        height: 3px;
    }
    
    .cmw-hero-header-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    /* Logo */
    .cmw-hero-logo {
        width: 72px;
        height: 72px;
        min-width: 72px;
        padding: 10px;
        border-radius: 12px;
    }
    
    .cmw-hero-logo-fallback {
        font-size: 20px;
    }
    
    /* Badges */
    .cmw-hero-badges {
        justify-content: center;
        gap: 8px;
        margin-bottom: 6px;
    }
    
    .cmw-badge-category {
        font-size: 10px;
        padding: 4px 10px;
        letter-spacing: 0.4px;
    }
    
    /* H1 Titre - Niveau 1 de la hiérarchie (26px) */
    h1.cmw-hero-title,
    .cmw-hero-title {
        font-size: 26px !important;
        margin: 6px 0 !important;
        line-height: 1.25 !important;
    }
    
    /* Meta infos */
    .cmw-hero-meta {
        justify-content: center;
        gap: 12px;
    }
    
    .cmw-hero-meta-item {
        font-size: 13px;
        gap: 5px;
    }
    
    .cmw-hero-meta-item svg {
        width: 14px;
        height: 14px;
    }
    
    /* Quick Stats */
    .cmw-hero-quick-stats {
        gap: 12px;
        width: 100%;
    }
    
    .cmw-hero-stat {
        flex: 1;
        padding: 16px 12px;
        min-width: auto;
        border-radius: 10px;
    }
    
    .cmw-hero-stat-value {
        font-size: 22px;
    }
    
    .cmw-hero-stat-label {
        font-size: 10px;
        margin-top: 6px;
        letter-spacing: 0.3px;
    }
    
    /* ===== TOOLTIP ===== */
    .cmw-tooltip-trigger svg {
        width: 14px;
        height: 14px;
    }
    
    .cmw-tooltip {
        left: auto;
        right: -10px;
        transform: none;
        width: 240px;
        padding: 14px 16px;
        font-size: 13px;
        line-height: 1.6;
    }
    
    .cmw-tooltip::after {
        left: auto;
        right: 16px;
        transform: none;
    }
    
    /* ===== INTRO CARD ===== */
    .cmw-intro-card {
        padding: 24px 22px;
        border-left-width: 4px;
        border-radius: 0 12px 12px 0;
    }
    
    .cmw-intro-card::after {
        font-size: 48px;
        bottom: 4px;
        right: 10px;
    }
    
    /* Intro card paragraphe - légèrement plus grand que le body standard */
    .cmw-intro-card p {
        font-size: 16px !important;
        line-height: 1.8 !important;
        margin-bottom: 16px !important;
    }
    
    .cmw-intro-card p:last-child {
        margin-bottom: 0 !important;
    }
    
    /* ===== TABLES ===== */
    .cmw-funds-table {
        font-size: 13px;
        min-width: 520px;
    }
    
    .cmw-funds-table th {
        padding: 14px 14px;
        font-size: 10px;
        letter-spacing: 0.4px;
    }
    
    .cmw-funds-table td {
        padding: 14px 14px;
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* Tables wrapper scroll */
    .cmw-funds-performance {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -20px;
        padding: 0 20px;
    }
    
    /* Tables dans content blocks */
    .cmw-content-block table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 13px;
        margin: 20px 0 28px;
    }
    
    .cmw-content-block th,
    .cmw-content-block td {
        padding: 12px 14px;
        white-space: nowrap;
    }
    
    .cmw-content-block th {
        font-size: 10px;
    }
    
    /* ===== CONTENT BLOCKS - HIÉRARCHIE TYPOGRAPHIQUE ===== */
    
    /* H2 dans content block - Niveau 3 (20px) */
    .cmw-content-block h2 {
        font-size: 20px !important;
        margin: 40px 0 10px !important;
        padding-bottom: 12px;
        letter-spacing: -0.3px;
    }
    
    .cmw-content-block h2:first-child {
        margin-top: 0 !important;
    }
    
    .cmw-content-block h2::after {
        width: 40px;
        height: 3px;
    }
    
    /* H3 - Niveau 4 (18px) */
    .cmw-content-block h3 {
        font-size: 18px;
        margin: 36px 0 16px;
        padding-left: 12px;
        border-left-width: 3px;
        line-height: 1.35;
    }
    
    .cmw-content-block h3:first-child {
        margin-top: 0;
    }
    
    .cmw-content-block h2 + h3 {
        margin-top: 4px;
    }
    
    .cmw-content-block p + h3,
    .cmw-content-block ul + h3,
    .cmw-content-block ol + h3,
    .cmw-content-block table + h3 {
        margin-top: 36px;
    }
    
    /* H4 - Niveau 5 (12px uppercase) */
    .cmw-content-block h4 {
        font-size: 12px;
        margin: 28px 0 14px;
        gap: 8px;
        letter-spacing: 0.6px;
    }
    
    .cmw-content-block h4::before {
        width: 6px;
        height: 6px;
    }
    
    .cmw-content-block h4.cmw-eval-positive::before,
    .cmw-content-block h4.cmw-eval-warning::before {
        font-size: 14px;
    }
    
    .cmw-content-block h2 + h4,
    .cmw-content-block h3 + h4 {
        margin-top: 6px;
    }
    
    /* Paragraphes - Corps standard (15px) */
    .cmw-content-block p {
        font-size: 15px !important;
        line-height: 1.75 !important;
        margin-bottom: 18px !important;
        letter-spacing: 0.01em;
    }
    
    /* Listes (15px) */
    .cmw-content-block ul,
    .cmw-content-block ol {
        margin: 24px 0;
    }
    
    .cmw-content-block li {
        padding-left: 24px;
        font-size: 15px !important;
        margin-bottom: 12px;
        line-height: 1.7;
    }
    
    .cmw-content-block ul li::before {
        width: 6px;
        height: 6px;
        top: 9px;
    }
    
    .cmw-content-block ol li::before {
        font-size: 13px;
    }
    
    /* Texte en italique/emphase */
    .cmw-content-block em {
        font-size: 14px;
        padding: 3px 10px;
    }
    
    /* ===== CONTACT CARD ===== */
    .cmw-contact-card {
        padding: 24px;
        border-radius: 10px;
    }
    
    .cmw-address {
        line-height: 1.9;
    }
    
    .cmw-address p {
        font-size: 15px !important;
        margin-bottom: 6px;
    }
    
    .cmw-section--contact .cmw-contact-card {
        flex-direction: column;
        gap: 16px;
    }
    
    .cmw-contact-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        border-radius: 10px;
    }
    
    .cmw-contact-icon svg {
        width: 20px;
        height: 20px;
    }
    
    /* ===== BUTTONS ===== */
    .cmw-btn {
        padding: 12px 22px;
        font-size: 14px;
        min-height: 44px;
        gap: 8px;
    }
    
    /* ===== METHODOLOGY ===== */
    .cmw-methodology-content p {
        font-size: 15px !important;
        line-height: 1.75 !important;
    }
    
    .cmw-methodology-warning {
        flex-direction: column;
        gap: 12px;
        padding: 16px 18px;
        margin: 24px 0;
    }
    
    .cmw-methodology-warning svg {
        width: 22px;
        height: 22px;
    }
    
    .cmw-methodology-warning p {
        font-size: 14px !important;
        line-height: 1.65 !important;
    }
    
    .cmw-methodology-disclaimer {
        font-size: 14px !important;
        padding: 14px 16px;
    }
    
    .cmw-methodology-link a {
        font-size: 14px;
        padding: 10px 0;
        gap: 6px;
    }
    
    .cmw-methodology-cta {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
        gap: 18px;
        border-radius: 10px;
    }
    
    .cmw-methodology-cta-content {
        flex-direction: column;
        align-items: center;
        min-width: auto;
        gap: 12px;
    }
    
    .cmw-methodology-cta-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }
    
    .cmw-methodology-cta-text h3 {
        font-size: 16px !important;
        text-align: center;
    }
    
    .cmw-methodology-cta-text p {
        font-size: 14px !important;
        text-align: center;
    }
    
    .cmw-methodology-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 14px;
        min-height: 48px;
    }
    
    /* ===== PERFORMANCE SCOPE & NOTES ===== */
    .cmw-perf-scope {
        font-size: 13px !important;
        padding: 10px 14px;
        line-height: 1.6 !important;
    }
    
    .cmw-perf-note {
        font-size: 13px !important;
        line-height: 1.6 !important;
    }
    
    /* ===== TOC (Sommaire) ===== */
    .cmw-toc {
        padding: 18px 18px;
        margin-bottom: 24px;
        border-radius: 12px;
    }
    
    .cmw-toc::before {
        left: 16px;
        right: 16px;
        height: 2px;
    }
    
    .cmw-toc-header {
        margin-bottom: 14px;
        padding-bottom: 10px;
        gap: 8px;
    }
    
    .cmw-toc-header svg {
        width: 16px;
        height: 16px;
    }
    
    .cmw-toc-header span {
        font-size: 12px;
        letter-spacing: 0.4px;
    }
    
    .cmw-toc-list {
        gap: 8px;
    }
    
    .cmw-toc-list a {
        padding: 7px 12px;
        font-size: 13px;
        border-radius: 18px;
        gap: 5px;
    }
    
    .cmw-toc-list a::before {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
    
    /* Scroll margin réduit sur mobile */
    .cmw-section[id] {
        scroll-margin-top: 80px;
    }
    
    /* ===== BADGES ===== */
    .cmw-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    /* ===== SECTION AUTEUR ===== */
    .cmw-section--author {
        font-size: 13px;
        padding: 14px 0 !important;
    }
    
    .cmw-author-tooltip {
        width: 280px;
        left: auto;
        right: 0;
        transform: none;
        padding: 16px;
    }
    
    .cmw-tooltip-avatar {
        width: 48px;
        height: 48px;
    }
    
    .cmw-tooltip-role {
        font-size: 11px;
    }
    
    .cmw-tooltip-bio {
        font-size: 12px;
        line-height: 1.55;
    }
    
    .cmw-tooltip-footer-link {
        font-size: 11px;
    }
    
    /* ===== ESPACEMENTS SECTIONS ===== */
    .cmw-section--performance + .cmw-section--analysis {
        margin-top: 24px;
    }
    
    .cmw-section--strategy,
    .cmw-section--profile {
        margin-top: 16px;
    }
}

/* ==========================================================================
   20. RESPONSIVE - SMALL MOBILE (max 480px)
   Ajustements fins pour très petits écrans
   ========================================================================== */

@media (max-width: 480px) {
    
    /* Container */
    .cmw-gerant-container {
        padding: 0 0.875rem 40px;
        font-size: 15px;
    }
    
    /* Sections */
    .cmw-gerant-container .cmw-section {
        padding: 24px 16px;
        margin-bottom: 28px;
        border-radius: 12px;
    }
    
    /* H2 Section Title */
    .cmw-gerant-container .cmw-section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    /* Hero Header */
    .cmw-hero-header {
        padding: 20px 16px;
        margin-bottom: 20px;
    }
    
    .cmw-hero-logo {
        width: 64px;
        height: 64px;
        min-width: 64px;
    }
    
    /* H1 Titre */
    h1.cmw-hero-title,
    .cmw-hero-title {
        font-size: 24px !important;
    }
    
    .cmw-hero-stat-value {
        font-size: 20px;
    }
    
    .cmw-hero-stat-label {
        font-size: 9px;
    }
    
    .cmw-hero-stat {
        padding: 14px 10px;
    }
    
    /* Intro card */
    .cmw-intro-card {
        padding: 20px 18px;
    }
    
    .cmw-intro-card p {
        font-size: 15px !important;
        line-height: 1.75 !important;
    }
    
    /* Content blocks */
    .cmw-content-block h2 {
        font-size: 18px !important;
        margin: 36px 0 8px !important;
    }
    
    .cmw-content-block h3 {
        font-size: 16px;
        margin: 32px 0 14px;
        padding-left: 10px;
    }
    
    .cmw-content-block p + h3,
    .cmw-content-block table + h3 {
        margin-top: 32px;
    }
    
    .cmw-content-block h4 {
        font-size: 11px;
        margin: 24px 0 12px;
    }
    
    .cmw-content-block p {
        font-size: 15px !important;
        line-height: 1.7 !important;
        margin-bottom: 16px !important;
    }
    
    .cmw-content-block li {
        font-size: 15px !important;
        line-height: 1.65;
        margin-bottom: 10px;
        padding-left: 22px;
    }
    
    .cmw-content-block em {
        font-size: 13px;
        padding: 2px 8px;
    }
    
    /* Tooltip */
    .cmw-tooltip {
        width: 200px;
        padding: 12px 14px;
        font-size: 12px;
        right: -5px;
    }
    
    .cmw-tooltip-trigger svg {
        width: 13px;
        height: 13px;
    }
    
    /* Methodology */
    .cmw-methodology-warning {
        padding: 14px 14px;
        margin: 20px 0;
    }
    
    .cmw-methodology-warning p {
        font-size: 13px !important;
        line-height: 1.6 !important;
    }
    
    .cmw-methodology-disclaimer {
        font-size: 13px !important;
        padding: 12px 14px;
    }
    
    .cmw-methodology-cta {
        padding: 20px 16px;
    }
    
    .cmw-methodology-cta-text h3 {
        font-size: 15px !important;
    }
    
    .cmw-methodology-cta-text p {
        font-size: 13px !important;
    }
    
    /* TOC */
    .cmw-toc {
        padding: 16px 14px;
    }
    
    .cmw-toc-list {
        gap: 6px;
    }
    
    .cmw-toc-list a {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .cmw-toc-list a::before {
        width: 16px;
        height: 16px;
        font-size: 9px;
    }
    
    /* Contact */
    .cmw-contact-card {
        padding: 20px;
    }
    
    .cmw-address p {
        font-size: 14px !important;
    }
    
    /* Perf notes */
    .cmw-perf-scope,
    .cmw-perf-note {
        font-size: 12px !important;
    }
    
    /* Section auteur */
    .cmw-section--author {
        font-size: 12px;
    }
    
    .cmw-author-tooltip {
        width: 260px;
        padding: 14px;
    }
}
/* ==========================================================================
   SECTION PERFORMANCE - BLUR & UNLOCK CTA
   VERSION ÉQUILIBRÉE
   ========================================================================== */

/* ==========================================================================
   1. FUNDS WRAPPER
   ========================================================================== */

.cmw-funds-wrapper {
    position: relative;
    margin-bottom: 0;
    padding-bottom: 0;
    background: #ffffff;
}

.cmw-table-container {
    overflow-x: auto;
    border-radius: var(--cmw-radius, 12px) var(--cmw-radius, 12px) 0 0;
    border: 1px solid var(--cmw-border, rgba(15, 63, 60, 0.10));
    border-bottom: none;
    background: #ffffff;
    -webkit-overflow-scrolling: touch;
}

/* ==========================================================================
   2. FUNDS TABLE
   ========================================================================== */

.cmw-funds-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.cmw-funds-table thead {
    background: linear-gradient(180deg, #f8f9f8 0%, #f3f4f3 100%);
}

.cmw-funds-table th {
    padding: 18px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--cmw-text-muted, #3d4a49);
    border-bottom: 1px solid var(--cmw-border, rgba(15, 63, 60, 0.10));
    white-space: nowrap;
}

.cmw-funds-table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--cmw-border, rgba(15, 63, 60, 0.10));
    color: var(--cmw-text-body, #1a2928);
    font-size: 16px;
    line-height: 1.6;
}

.cmw-funds-table tbody tr:last-child td {
    border-bottom: none;
}

.cmw-funds-table tbody tr:nth-child(even) {
    background: rgba(239, 238, 231, 0.4);
}

.cmw-funds-table tbody tr:hover {
    background: rgba(6, 224, 184, 0.08);
}

/* ==========================================================================
   3. BLUR EFFECT - Cellules floutées
   ========================================================================== */

.cmw-blur {
    filter: blur(5px);
    user-select: none;
    opacity: 0.7;
    pointer-events: none;
    display: inline-block;
}

.cmw-row--blurred td {
    color: var(--cmw-text-muted, #3d4a49);
}

.cmw-row--visible {
    background: rgba(6, 224, 184, 0.06) !important;
}

.cmw-row--visible:hover {
    background: rgba(6, 224, 184, 0.12) !important;
}

/* ==========================================================================
   4. UNLOCK OVERLAY - Container statique
   ========================================================================== */

.cmw-unlock-overlay {
    position: relative;
    height: auto;
    background: none;
    display: block;
    padding: 0;
    pointer-events: auto;
}

/* ==========================================================================
   5. UNLOCK CONTENT - Bandeau visible
   ========================================================================== */

.cmw-unlock-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(6, 224, 184, 0.08) 0%, rgba(15, 63, 60, 0.06) 100%);
    border: 1px solid rgba(6, 224, 184, 0.25);
    border-radius: 0 0 var(--cmw-radius, 12px) var(--cmw-radius, 12px);
    padding: 20px 28px;
    margin: 0;
    max-width: none;
    box-shadow: inset 0 1px 0 rgba(6, 224, 184, 0.15);
    text-align: left;
    pointer-events: auto;
}

/* Icône cadenas - CACHÉE (déplacée dans le bouton) */
.cmw-unlock-icon {
    display: none;
}

/* Texte */
.cmw-unlock-text {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--cmw-text-body, #1a2928);
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   6. BOUTON - Vert flashy avec icône intégrée
   ========================================================================== */

.cmw-unlock-content .cmw-btn--primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: #06E0B8;
    color: #0F3F3C !important;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(6, 224, 184, 0.35);
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    min-height: auto;
}

/* Icône cadenas DANS le bouton */
.cmw-unlock-content .cmw-btn--primary::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230F3F3C' stroke-width='2.5'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    flex-shrink: 0;
}

.cmw-unlock-content .cmw-btn--primary:hover {
    background: #05d4ae;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 224, 184, 0.45);
}

/* ==========================================================================
   7. NOTES DE PERFORMANCE
   ========================================================================== */

.cmw-perf-scope {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: var(--cmw-text-muted, #3d4a49);
    margin-bottom: 20px;
    line-height: 1.6;
}

.cmw-perf-note {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: var(--cmw-text-muted, #3d4a49);
    margin-top: 16px;
    font-style: italic;
}

.cmw-perf-note em {
    font-style: normal;
}

/* ==========================================================================
   8. RESPONSIVE - TABLET (max 768px)
   ========================================================================== */

@media (max-width: 768px) {
    .cmw-blur {
        filter: blur(4px);
    }
    
    .cmw-unlock-content {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 14px;
    }
    
    .cmw-unlock-text {
        font-size: 14px;
    }
    
    .cmw-unlock-content .cmw-btn--primary {
        width: 100%;
        padding: 14px 24px;
        justify-content: center;
    }
    
    /* Table responsive */
    .cmw-funds-table {
        font-size: 13px;
        min-width: 500px;
    }
    
    .cmw-funds-table th {
        padding: 14px 16px;
        font-size: 10px;
    }
    
    .cmw-funds-table td {
        padding: 14px 16px;
        font-size: 14px;
    }
}

/* ==========================================================================
   9. RESPONSIVE - SMALL MOBILE (max 480px)
   ========================================================================== */

@media (max-width: 480px) {
    .cmw-blur {
        filter: blur(3.5px);
    }
    
    .cmw-unlock-content {
        padding: 16px;
        gap: 12px;
        border-radius: 0 0 10px 10px;
    }
    
    .cmw-unlock-text {
        font-size: 13px;
    }
    
    .cmw-unlock-content .cmw-btn--primary {
        font-size: 14px;
        padding: 14px 20px;
    }
    
    .cmw-unlock-content .cmw-btn--primary::before {
        width: 16px;
        height: 16px;
    }
}
/* Delta performance — fiches fonds PE */
.cmw-delta-positive {
    color: #4CAF50;
    font-weight: 700;
}

/* ===== Bloc Décryptage (tête de fiche fonds) ===== */
.cmw-decryptage-lede{
  font-size:1.15rem;
  line-height:1.6;
  color:#083636;
  font-weight:500;
  margin:0 0 1.25rem;
  padding-left:1rem;
  border-left:4px solid #06E0B8;   /* accent CMW */
}

dl.cmw-decryptage{
  display:grid;
  grid-template-columns:max-content 1fr;  /* libellé | fait, alignés */
  column-gap:1.5rem;
  row-gap:.85rem;
  margin:0 0 1.5rem;
  padding:1.25rem 1.5rem;
  background:#f4f8f7;
  border:1px solid #e0ecea;
  border-radius:10px;
}
dl.cmw-decryptage dt{
  font-weight:700;
  color:#0F3F3C;            /* primary CMW */
  white-space:nowrap;
  line-height:1.5;
}
dl.cmw-decryptage dd{
  margin:0;
  color:#1f2d2b;
  line-height:1.55;
}
dl.cmw-decryptage dd a{ color:#298F8E; text-decoration:underline; }

/* Mobile : libellé au-dessus du fait */
@media (max-width:680px){
  dl.cmw-decryptage{ grid-template-columns:1fr; row-gap:.35rem; padding:1rem 1.1rem; }
  dl.cmw-decryptage dt{ margin-top:.6rem; }
  dl.cmw-decryptage dt:first-of-type{ margin-top:0; }
  .cmw-decryptage-lede{ font-size:1.05rem; }
}

/* cmw-accordeons-fiches v3 2026-11-05 */
/* Accordéons des fiches (bascule 25LP), bureau seul : colonnes du colgroup alignées d'un accordéon à l'autre ;
   largeur réduite de la bordure gauche (1 px) pour ne pas déborder du conteneur (overflow-x:auto) ;
   en-têtes à la ligne, sinon un libellé long déborde sa colonne fixe (tableaux à 7 colonnes).
   Sous 769 px, disposition automatique et défilement horizontal du site (min-width: 500px). */
@media (min-width: 769px) {
    .cmw-collections table.cmw-performance-table {
        table-layout: fixed;
        width: calc(100% - 1px);
    }
    .cmw-collections table.cmw-performance-table th {
        white-space: normal;
    }
}
