/* Police principale */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

/* Import Inter si nécessaire */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ========================================
   🎨 SECTION NOMBRES
   ======================================== */
        /* 🎨 AJOUTS MINIMAUX - Seulement ce qui manque à style-claude.css */
        
        /* Variables backgrounds pour style-unifie.css */
     
        
    
        .titre-principal {
            color: var(--theme-primary) !important;
        }
        

        
        .axe-header {
            border: 1px solid var(--theme-primary) !important;
        }
        

        /* Tout le reste utilise style-claude.css */
  
/* Styles pour le tableau des compatibilités amélioré */
.compatibilites-grid {
    display: grid;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.compatibilite-groupe {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
        margin-bottom: 1.2rem; /* espace entre les groupes */

}

.compatibilite-groupe.excellent {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
}

.compatibilite-groupe.tres-bon {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
}

.compatibilite-groupe.bon {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fefce8 100%);
}

.compatibilite-groupe.defi {
    border-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fefce8 100%);
}

.compatibilite-groupe h5 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.compatibilite-item {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.compatibilite-item:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.9);
}

.compatibilite-item:last-child {
    margin-bottom: 0;
}

.nombre-compat {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Couleurs spécifiques pour chaque nombre */
.nombre-compat.nombre-1 { background: #e74c3c; }
.nombre-compat.nombre-2 { background: #ff8c00; }
.nombre-compat.nombre-3 { background: #ffd700; color: #333; }
.nombre-compat.nombre-4 { background: #32cd32; }
.nombre-compat.nombre-5 { background: #00ced1; }
.nombre-compat.nombre-6 { background: #87ceeb; color: #333; }
.nombre-compat.nombre-7 { background: #1e3a8a; }
.nombre-compat.nombre-8 { background: #8b5cf6; }
.nombre-compat.nombre-9 { background: #4b0082; }

.compat-details {
    flex: 1;
    line-height: 1.4;
    text-align: left !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.compat-details strong {
    color: #2d3748;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.compat-details span {
    color: #6b7280;
    font-size: 0.9rem;
    font-style: italic;
}

.compatibilite-conseil {
    margin-top: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #8b5cf6;
}

.compatibilite-conseil h5 {
    color: #8b5cf6;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.compatibilite-conseil p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.compatibilite-conseil p:last-child {
    margin-bottom: 0;
    text-align: center;
    font-weight: 600;
    color: #6366f1;
}

/* Responsive */
@media (max-width: 768px) {
    .compatibilite-item {
        flex-direction: column !important;
        text-align: center !important;
        gap: 0.75rem;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .nombre-compat {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        line-height: 1 !important;
    }
    
    .compat-details {
        text-align: center !important;
    }
    
    .compat-details strong {
        font-size: 0.95rem;
    }
    
    .compat-details span {
        font-size: 0.85rem;
    }
}


      .h4-souligne {
            position: relative;
            display: inline-block;
            padding-bottom: 0.5rem;
            margin-bottom: 1rem;
        }
        
       /* == .h4-souligne::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--theme-primary);
            border-radius: 2px;
        }

   
/* ========================================
   📋 CSS CTA BLOCKS PREMIUM V5 - À remplacer dans style-unifie.css
   ======================================== */

/* ========================================
   AJOUTS POUR STYLE-NOMBRES.CSS - MIGRATION INLINE
   ======================================== */

/* Classes spécifiques aux pages nombres - PAS dans style-base.css */

/* Bordure principale - élément en avant (spécifique champ sémantique) */
.bordure-principale {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--theme-primary);
}

/* Élément principal mis en avant (SEULEMENT si différent de style-base) */
.element-principal {
    border: 3px solid var(--theme-primary);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
}

/* Boîte principale avec couleur dynamique */
.fond-principal {
    background: rgba(245, 158, 11, 0.1); /* Fallback */
    border-left: 3px solid var(--theme-primary);
}

@supports (background: color-mix(in srgb, red, blue)) {
    .fond-principal {
        background: color-mix(in srgb, var(--theme-primary) 10%, transparent);
    }
}

/* Surcharges spécifiques aux grilles dans les pages nombres */
/* .grid-3 a {
    color: var(--theme-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: 1px solid var(--theme-primary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.3s ease;
} */

.grid-3 a:hover {
    background: var(--theme-primary);
    color: white;
    transform: translateY(-2px);
}

/* Surcharges des titres dans les éléments principaux */
.element-principal h3 {
    color: var(--theme-primary);
}

/* Sections spécifiques champ sémantique */
.content-enhanced-soft {
    margin-bottom: 3rem;
}

.content-enhanced-soft h3 + p {
    color: #666;
    font-style: italic;
    text-align: center;
    margin-bottom: 2rem;
}

/* Responsive spécifique aux éléments principaux */
@media (max-width: 968px) {
    .element-principal {
        transform: none;
    }
    
    .bordure-principale {
        padding: 1rem;
    }
}

@media (max-width: 640px) {
    .bordure-principale {
        padding: 1rem;
    }
    
    .grid-3 a {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Annule les effets de survol sur les liens d'images */
.card a:has(img) {
    transform: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.card a:has(img):hover {
    transform: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Ou plus spécifique pour vos images */
.card img {
    transition: opacity 0.3s ease;
}

.card a:hover img {
    opacity: 0.9;
    transform: none !important;
}


/* ========================================
   CHAMP SÉMANTIQUE - MIGRATION DES STYLES INLINE
   ======================================== */

/* Section highlights des concepts */
.concepts-highlights {
    margin-bottom: 3rem;
}

/* Cards de concepts principaux */
.concept-card-primary {
    text-align: center;
    border: 3px solid var(--theme-primary);
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.concept-card-secondary {
    text-align: center;
    border: 2px solid #ddd;
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 12px;
}

.concept-card-primary h3,
.concept-card-secondary h3 {
    margin-bottom: 0.5rem;
    color: var(--theme-primary);
    font-weight: 700;
}

.concept-subtitle {
    font-style: italic;
    color: #666;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.concept-card-secondary .concept-subtitle {
    color: #888;
}

.concept-link {
    color: var(--theme-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--theme-primary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.3s ease;
}

.concept-link:hover {
    background: var(--theme-primary);
    color: white;
    transform: translateY(-2px);
}

/* Sections des axes */
.axe-section {
    margin-bottom: 3rem;
}

.axe-description {
    color: #666;
    font-style: italic;
    text-align: center;
}

/* Cards des axes */
.axe-card {
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
}

.axe-card h3 {
    color: #666;
    font-weight: 600;
}

.axe-card-primary {
    border: 3px solid var(--theme-primary);
    padding: 1.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
}

.axe-card-primary h3 {
    color: var(--theme-primary);
    font-weight: 700;
}

/* Highlight boxes dans les axes */
.axe-card .highlight-box {
    background: rgba(248, 249, 250, 0.8);
    border-left: 3px solid #e2e8f0;
    padding: 0.75rem;
    border-radius: 4px;
}

.axe-card .highlight-box p {
    margin: 0;
}

.axe-card-primary .highlight-box.fond-principal {
    background: rgba(245, 158, 11, 0.1);
    border-left: 3px solid var(--theme-primary);
}

/* Support pour les navigateurs modernes */
@supports (background: color-mix(in srgb, red, blue)) {
    .axe-card-primary .highlight-box.fond-principal {
        background: color-mix(in srgb, var(--theme-primary) 10%, transparent);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .axe-card-primary {
        transform: none;
    }
}

@media (max-width: 640px) {
    .concept-card-primary,
    .concept-card-secondary {
        padding: 1rem;
    }
    
    .concept-subtitle {
        font-size: 1.1rem;
    }
    
    .concept-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .axe-card,
    .axe-card-primary {
        padding: 1rem;
    }
}

/* Bordure secondaire - éléments en arrière-plan */
.bordure-secondaire {
    text-align: center;
    border: 2px solid #ddd;
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* MÊME OMBRE que bordure-principale */
}

.bordure-secondaire h3 {
    margin-bottom: 0.5rem;
    color: #666;
    font-weight: 600;
}

.bordure-secondaire p {
    font-style: italic;
    color: #888;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.bordure-secondaire a {
    color: #666;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid #666;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.3s ease;
}

.bordure-secondaire a:hover {
    background: #666;
    color: white;
    transform: translateY(-2px);
}



  /* Styles pour les matrices */
        .section-grid {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr 1fr;
            gap: 2rem;
            margin: 3rem;
            align-items: start;
        }
        
        .monde-card {
            background: white;
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        
        .monde-spirituel {
            border-left: 4px solid #8b5cf6;
        }
        
        .matrice-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 2rem 0;
        }
        
        .matrice-row {
            display: flex;
            justify-content: center;
            margin-bottom: 1rem;
        }
        
        .matrice-numbers {
            display: flex;
            gap: 8px;
        }
        
        .number-box {
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            font-weight: bold;
            border-radius: 8px;
            color: white;
        }
        
        .number-yellow {
            background: linear-gradient(135deg, #f7cc62 0%, #fdd77a 100%);
        }
        
        .number-red {
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8a80 100%);
        }
        
        .number-cyan {
            background: linear-gradient(135deg, #20b2aa 0%, #48d1cc 100%);
        }
        
        .matrice-description {
            text-align: center;
            padding: 1rem;
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%);
            border-radius: 8px;
            margin: 1rem 0;
        }
        
        .matrice-description p {
            margin: 0;
            font-size: 0.85rem;
            color: #666;
            line-height: 1.;
        }
        

        
        /* Styles pour les Trois Mondes */
        .monde-box {
            padding: 0.8rem 1.5rem;
            border-radius: 8px;
            text-align: center;
            min-width: 150px;
            color: white;
            margin-bottom: 1rem;
        }
        
        .monde-box h4 {
            margin: 0;
            font-size: 1rem;
            font-weight: bold;
        }
        
        .monde-archetype {
            background: linear-gradient(135deg, #f7cc62 0%, #fdd77a 100%);
        }
        
        .monde-microcosme {
            background: linear-gradient(135deg, #ff6b6b 0%, #ff8a80 100%);
        }
        
        .monde-macrocosme {
            background: linear-gradient(135deg, #20b2aa 0%, #48d1cc 100%);
        }
        
        /* Styles pour descriptions en bas */
        .descriptions-grid {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 2rem;
            margin: 0 3rem 3rem 3rem;
        }
        
        .description-card {
            text-align: center;
            padding: 1.5rem;
            border-radius: 12px;
            border-left: 4px solid;
        }
        
        .description-archetype {
            background: linear-gradient(135deg, rgba(247, 204, 98, 0.1) 0%, rgba(253, 215, 122, 0.05) 100%);
            border-left-color: #f7cc62;
        }
        
        .description-microcosme {
            background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 138, 128, 0.05) 100%);
        }
        
        .description-macrocosme {
            background: linear-gradient(135deg, rgba(32, 178, 170, 0.1) 0%, rgba(72, 209, 204, 0.05) 100%);
            border-left-color: #20b2aa;
        }
        
        .description-card h4 {
            margin: 0 0 1rem 0;
            font-size: 1.2rem;
        }
        
        .description-card p {
            margin: 0;
            font-size: 0.9rem;
            color: #333;
            line-height: 1.6;
        }
        
        .color-archetype { color: #f7cc62; }
        .color-microcosme { color: #ff6b6b; }
        .color-macrocosme { color: #20b2aa; }
        
        /* Section header */
        .header-section-v1 {
            text-align: center;
            margin-bottom: 2rem;
        }
        
        .header-section-v1 h2 {
            color: #333;
            margin-bottom: 0.5rem;
        }
        
