/* =========================================
   1. VARIABLES & FONDATIONS
   ========================================= */
:root {
    --bg-dark: #0a0a12;
    --primary: #9b51e0;
    --secondary: #ff00ff;
    --text-light: #e0e0e0;
    --glass-bg: rgba(25, 25, 35, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Outfit', sans-serif; 
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Empêcher le scroll quand le menu mobile est ouvert */
body.no-scroll { overflow: hidden; }

/* Scrollbar personnalisée */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--secondary); }

/* Utilitaires globaux */
.text-center { text-align: center; }
.mt-4 { margin-top: clamp(40px, 8vw, 80px); }
.mb-4 { margin-bottom: clamp(40px, 8vw, 80px); }
.p-4 { padding: 30px; }

/* =========================================
   2. ANIMATIONS (REVEAL & HALO)
   ========================================= */
.bg-halo {
    position: fixed; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(155, 81, 224, 0.15), transparent 60%);
    z-index: -1; pointer-events: none; animation: pulse 10s infinite alternate;
}

@keyframes pulse { 0% { transform: scale(1); } 100% { transform: scale(1.1); } }

/* Apparition au Scroll (JS) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   3. HEADER & NAVIGATION
   ========================================= */
.main-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 25px 5%; background: rgba(10,10,18,0.8);
    backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100;
    transition: all 0.4s ease;
}

.main-header.scrolled {
    padding: 10px 5%;
    background: rgba(10, 10, 18, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.logo a { color: #fff; text-decoration: none; font-size: 1.8rem; font-weight: 800; letter-spacing: 2px;}
.logo span { color: var(--primary); }

nav a { color: var(--text-light); text-decoration: none; margin-left: 20px; font-weight: 600; transition: 0.3s;}
nav a:hover { color: var(--secondary); }

/* Bouton Hamburger Mobile */
.mobile-toggle {
    display: none;
    flex-direction: column; justify-content: space-between;
    width: 30px; height: 20px; background: transparent;
    border: none; cursor: pointer; z-index: 1000;
}
.mobile-toggle span {
    width: 100%; height: 2px; background-color: var(--text-light);
    transition: all 0.3s ease;
}
.mobile-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); background-color: var(--secondary); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background-color: var(--secondary); }

/* =========================================
   4. COMPOSANTS (BOUTONS & GLASSMORPHISM)
   ========================================= */
.btn-neon {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    padding: 10px 25px; border-radius: 30px; color: #fff !important;
    text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(155, 81, 224, 0.5); transition: 0.3s;
    display: inline-block;
	text-decoration: none;
}
.btn-neon:hover { box-shadow: 0 0 25px rgba(255, 0, 255, 0.8); transform: translateY(-2px); }

.glassmorphism {
    background: var(--glass-bg); backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border); border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* =========================================
   5. SECTIONS D'ACCUEIL (HERO, PROMO, GRILLES)
   ========================================= */
/* Hero Section */
.hero {
    height: clamp(50vh, 70vh, 800px); background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center; text-align: center;
    position: relative; overflow: hidden;
}
.hero h1 { 
    font-size: clamp(2.5rem, 6vw, 5.5rem); color: #fff; text-shadow: 0 0 20px rgba(0,0,0,0.8); 
    line-height: 1.1; margin-bottom: 20px; animation: fadeInDown 1s ease-out;
}
.hero h1 span { color: var(--secondary); text-shadow: 0 0 10px var(--secondary); }
.hero p { 
    font-size: clamp(1rem, 2vw, 1.4rem); margin-top: 10px; opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

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

/* Promo Box (Monétisation) */
.promo-box {
    display: flex; align-items: center; margin: 40px auto; width: 90%; max-width: 1000px;
    overflow: hidden;
}
.promo-img { width: 40%; object-fit: cover; }
.promo-text { padding: 30px; width: 60%; }
.promo-text h2 { margin-bottom: 15px; color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); }
.promo-text p { margin-bottom: 25px; }

/* Grille Tarots */
.section-title { text-align: center; font-size: clamp(2rem, 4vw, 2.5rem); margin: 50px 0 30px; color: #fff; }
.tarot-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px; padding: 0 5%; max-width: 1200px; margin: auto;
}
.tarot-card {
    text-align: center; padding: 20px; text-decoration: none; color: #fff;
    transition: 0.4s; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center;
}
.tarot-card:hover { transform: translateY(-10px); border-color: var(--primary); box-shadow: 0 0 20px rgba(155, 81, 224, 0.4); }
.tarot-card img { width: 200px; height: 209px; border-radius: 10px; margin-bottom: 15px; object-fit: cover; }
.badge-new { position: absolute; top: 10px; right: -30px; background: var(--secondary); padding: 5px 30px; transform: rotate(45deg); font-size: 0.8rem; font-weight: bold; }

/* Grille Horoscopes */
.astro-section { padding: 20px 0; }
.astro-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px; 
    padding: 0 5%; 
    max-width: 1000px; 
    margin: 0 auto;
}
.astro-card {
    text-align: center; padding: 20px 10px; text-decoration: none; color: #fff;
    transition: all 0.4s ease; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.astro-card:hover { transform: translateY(-8px); border-color: var(--secondary); box-shadow: 0 0 25px rgba(255, 0, 255, 0.3); }
/* Le cercle design pour l'image du signe */
.astro-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #ffffff; /* Fond blanc pour fusionner avec le fond de tes images */
    border: 3px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 0 15px rgba(155, 81, 224, 0.5);
    transition: all 0.4s ease;
    overflow: hidden; /* Permet de couper l'image en cercle parfait */
}

/* Style de l'image à l'intérieur */
.astro-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajuste l'image (250x277) au cercle sans la déformer */
    transition: transform 0.4s ease;
}

/* Effet au survol global de la carte astro */
.astro-card:hover .astro-circle {
    border-color: var(--secondary);
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.8);
}

/* Léger zoom de l'image au survol */
.astro-card:hover .astro-circle img {
    transform: scale(1.1);
}

.astro-card h3 {
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 10px;
}

/* =========================================
   6. PAGES INTERNES (TAROT & HOROSCOPE)
   ========================================= */
.single-tarot-container { max-width: 900px; margin: clamp(30px, 5vw, 60px) auto; padding: 0 20px; }
.tarot-header h1 { font-size: clamp(2rem, 5vw, 3.5rem); color: #fff; text-shadow: 0 0 20px rgba(155, 81, 224, 0.5); margin-bottom: 15px; }
.short-desc { font-size: 1.2rem; color: #bbb; margin: 20px 0; }

.iframe-container { width: 100%; min-height: 600px; margin: 30px 0; padding: 10px; }
.iframe-container iframe { width: 100%; height: 600px; border: none; border-radius: 10px; background: transparent; }

/* Zone de texte longue (SEO) optimisée pour la lecture */
.long-desc {
    background: rgba(15, 15, 22, 0.6); padding: clamp(20px, 5vw, 50px);
    border-radius: 20px; border: 1px solid rgba(255,255,255,0.05);
}
.long-desc p { font-size: 1.15rem; color: #d1d1e0; margin-bottom: 25px; letter-spacing: 0.3px; line-height: 1.8; }
.long-desc h2, .long-desc h3 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 40px 0 20px 0; position: relative; padding-left: 20px; }
.long-desc h2::before, .long-desc h3::before {
    content: ''; position: absolute; left: 0; top: 10%; height: 80%; width: 4px;
    background: var(--primary); border-radius: 4px; box-shadow: 0 0 10px var(--primary);
}

/* =========================================
   7. WIDGETS (CHATBOX & FAQ)
   ========================================= */
/* Fake Chatbox */
.chatbox-container {
    position: fixed; bottom: 20px; right: 20px; width: 320px;
    background: var(--bg-dark); border: 1px solid var(--primary);
    border-radius: 15px; box-shadow: 0 0 30px rgba(155,81,224,0.3); z-index: 1000;
    transition: all 0.5s ease;
}
.chatbox-container.hidden { transform: translateY(150%); opacity: 0; }
.chatbox-header {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    padding: 15px; border-radius: 15px 15px 0 0; display: flex; align-items: center; color: #fff; font-weight: bold;
}
.status-dot { width: 10px; height: 10px; background: #00ff00; border-radius: 50%; margin-right: 10px; box-shadow: 0 0 10px #00ff00; }
#close-chat { margin-left: auto; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }
.chatbox-body { padding: 15px; height: 150px; overflow-y: auto; background: var(--glass-bg); }
.message { background: rgba(255,255,255,0.1); padding: 10px; border-radius: 10px; font-size: 0.9rem; margin-bottom: 10px; }
.chatbox-footer { padding: 15px; text-align: center; }
.chat-btn { display: block; background: var(--secondary); color: #fff; text-decoration: none; padding: 10px; border-radius: 8px; font-weight: bold; transition: 0.3s;}
.chat-btn:hover { background: var(--primary); }

/* FAQ Accordéon */
.diana-faq-section {
    margin: 50px 0; padding: 30px; background: var(--glass-bg);
    border: 1px solid var(--glass-border); border-radius: 15px;
    backdrop-filter: blur(12px); box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}
.diana-faq-section h2 { text-align: center; color: #fff; margin-bottom: 30px; font-size: clamp(1.5rem, 3vw, 2rem); text-shadow: 0 0 15px rgba(155, 81, 224, 0.5); }
.diana-accordion-item {
    margin-bottom: 15px; border: 1px solid rgba(155, 81, 224, 0.3); border-radius: 10px;
    background: rgba(10, 10, 18, 0.6); overflow: hidden; transition: all 0.3s ease;
}
.diana-accordion-item:hover { border-color: var(--primary); box-shadow: 0 0 15px rgba(155, 81, 224, 0.2); transform: translateX(5px); }
.diana-accordion-btn {
    width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px;
    background: transparent; border: none; color: var(--text-light); font-size: 1.1rem;
    font-weight: 600; text-align: left; cursor: pointer; font-family: 'Outfit', sans-serif; transition: color 0.3s ease;
}
.diana-accordion-btn:hover { color: #fff; }
.diana-icon { font-size: 1.8rem; font-weight: 300; color: var(--primary); transition: transform 0.4s ease, color 0.4s ease; display: inline-block; text-shadow: 0 0 8px var(--primary); }
.diana-accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out, opacity 0.4s ease-out; opacity: 0; padding: 0 20px; }
.diana-accordion-content p { margin: 0; padding-bottom: 20px; color: #ccc; line-height: 1.6; font-weight: 300; }
.diana-accordion-item.active { border-color: var(--secondary); box-shadow: 0 0 20px rgba(255, 0, 255, 0.2); background: rgba(20, 15, 30, 0.8); transform: translateX(0); }
.diana-accordion-item.active .diana-accordion-btn { color: #fff; }
.diana-accordion-item.active .diana-icon { transform: rotate(45deg); color: var(--secondary); text-shadow: 0 0 10px var(--secondary); }
.diana-accordion-item.active .diana-accordion-content { opacity: 1; }


/* =========================================
   9. NOUVEAUX BLOCS SEO ACCUEIL
   ========================================= */

/* Section Split Image/Texte (SEO Introduction) */
.seo-split-section {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1100px;
    margin: clamp(40px, 8vw, 80px) auto;
    padding: 0 5%;
}

.split-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    padding: 10px; /* Effet de cadre de verre */
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    display: block;
    transition: transform 0.5s ease;
}

.split-image:hover img {
    transform: scale(1.05);
}

.split-text {
    flex: 1;
    padding: 40px;
}

.split-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.split-text h2 span {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

.split-text p {
    margin-bottom: 15px;
    color: #ccc;
    font-size: 1.1rem;
}

/* Grille Features (Pourquoi nous choisir) */
.features-section {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 5%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    padding: 30px;
    text-align: center;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 0 15px var(--primary);
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

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

.feature-card h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-card p {
    color: #bbb;
    font-size: 1rem;
}

/* Responsive pour les nouveaux blocs */
@media (max-width: 850px) {
    .seo-split-section {
        flex-direction: column;
    }
    .split-image, .split-text {
        width: 100%;
    }
    .split-text {
        padding: 25px;
    }
}


/* =========================================
   8. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================= */

/* Tablettes & Petits écrans PC */
@media (max-width: 992px) {
    /* Menu Mobile Full Screen */
    .mobile-toggle { display: flex; }
    
    .nav-links {
        position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background: rgba(10, 10, 18, 0.95); backdrop-filter: blur(20px);
        display: flex; flex-direction: column; justify-content: center; align-items: center;
        transform: translateY(-100%); transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
        z-index: 999;
    }
    
    .nav-links.active { transform: translateY(0); }
    nav a { margin: 15px 0; font-size: 1.5rem; }
    .mobile-btn-neon { margin-top: 30px; font-size: 1.2rem !important; padding: 15px 40px !important; }

    /* Ajustement Fake Chatbox */
    .chatbox-container { width: calc(100% - 40px); bottom: 20px; right: 20px; left: 20px; }
}

/* Mobiles */
@media (max-width: 768px) {
    /* Box Promo */
    .promo-box { flex-direction: column; border-radius: 20px; text-align: center; }
    .promo-img { width: 100%; height: 250px; border-radius: 20px 20px 0 0; }
    .promo-text { width: 100%; padding: 25px 20px; }
    
    /* Iframe Responsive Mobile */
    .iframe-container { padding: 0; min-height: 500px; border-radius: 20px; overflow: hidden; }
    .iframe-container iframe { border-radius: 0; }
}


/* =========================================
   10. FOOTER IMPACTANT
   ========================================= */

.main-footer {
    background: rgba(10, 10, 18, 0.9);
    border-top: 1px solid rgba(155, 81, 224, 0.3);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

/* Ligne néon subtile en haut du footer */
.main-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
}

.footer-cta {
    padding: clamp(40px, 5vw, 60px) 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: radial-gradient(circle at center, rgba(155,81,224,0.1), transparent 70%);
}

.footer-cta h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: #fff;
    margin-bottom: 10px;
}

.footer-cta h2 span {
    color: var(--secondary);
    text-shadow: 0 0 10px var(--secondary);
}

.footer-cta p {
    color: #ccc;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(40px, 5vw, 60px) 5%;
}

.footer-logo a {
    font-size: 1.5rem;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 2px;
    background: var(--primary);
    box-shadow: 0 0 5px var(--primary);
}

.footer-desc {
    color: #a0a0b0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 15px;
}

.text-small {
    font-size: 0.85rem;
    font-style: italic;
    opacity: 0.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0a0b0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(5px);
    text-shadow: 0 0 8px rgba(255, 0, 255, 0.4);
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    background: #05050a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #666;
    font-size: 0.9rem;
}

/* Responsive ajustements pour le Footer */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a:hover {
        transform: translateY(-2px); /* Changement de l'axe sur mobile pour le hover */
    }
}

/* =========================================
   11. NOUVELLES SECTIONS IMAGES
   ========================================= */

/* Grille Modes de Consultation */
.consultation-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 5%;
}

.consultation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.consultation-card {
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease;
}

.consultation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(155, 81, 224, 0.3);
}

.consultation-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 3px solid var(--primary);
}

.consultation-content {
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.consultation-content h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.consultation-content p {
    color: #ccc;
    margin-bottom: 25px;
}

/* Section Parallax SEO (Grande image de fond) */
.parallax-seo-section {
    background-attachment: fixed; /* L'effet Parallax magique ! */
    background-position: center;
    background-size: cover;
    padding: 100px 5%;
    border-top: 1px solid rgba(155, 81, 224, 0.3);
    border-bottom: 1px solid rgba(155, 81, 224, 0.3);
}

.parallax-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* Layout Zig-Zag */
.zigzag-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.zigzag-row.reverse {
    flex-direction: row-reverse;
}

.zigzag-img {
    flex: 1;
}

.zigzag-img img {
    width: 100%;
    border-radius: 15px;
    display: block;
}

/* Traitement spécifique pour l'image portrait (300x500) */
.portrait-img img {
    max-width: 300px;
    margin: 0 auto;
}

.zigzag-text {
    flex: 1;
}

.zigzag-text h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.zigzag-text p {
    color: #e0e0e0;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Responsive Nouveaux Blocs */
@media (max-width: 900px) {
    .parallax-seo-section {
        background-attachment: scroll; /* On désactive le parallax sur mobile pour les perfs */
    }
    
    .zigzag-row, .zigzag-row.reverse {
        flex-direction: column;
        text-align: center;
    }
    
    .portrait-img img {
        max-width: 100%;
    }
}


/* =========================================
   12. CORRECTION PROMO BOX FIXE (IMAGE COVER)
   ========================================= */

.promo-box-fixed {
    align-items: stretch; /* Force l'image et le texte à faire la même hauteur */
    padding: 0; /* Enlève les marges internes pour que l'image touche les bords */
}

.promo-img-wrapper {
    width: 45%;
    position: relative; /* Indispensable pour l'image absolue */
    min-height: 250px;
}

.promo-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* L'image remplit l'espace parfaitement sans déformation */
}

@media (max-width: 768px) {
    .promo-box-fixed {
        flex-direction: column;
    }
    .promo-img-wrapper {
        width: 100%;
        position: relative;
        height: 250px; /* On impose une hauteur fixe sur mobile */
    }
}


/* =========================================
   13. TITRES DE CATÉGORIES (APPLICATIONS)
   ========================================= */

.category-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    padding-bottom: 10px;
    position: relative;
    text-shadow: 0 0 10px rgba(155, 81, 224, 0.4);
}

/* Soulignement néon sous chaque catégorie */
.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    box-shadow: 0 0 8px var(--secondary);
}

.category-block {
    padding-top: 20px;
}

/* =========================================
   14. AMÉLIORATIONS PAGE TAROT (INTRO & PROMO)
   ========================================= */

/* Harmonisation du texte court avec le texte long */
.intro-text {
    font-size: 1.15rem;
    color: #d1d1e0;
    line-height: 1.8;
    letter-spacing: 0.3px;
    max-width: 900px;
    margin: 0 auto;
    text-align: left; /* Aligné à gauche pour faciliter la lecture des paragraphes/H2 */
}

/* Si l'introduction contient des titres (H2/H3), on leur applique le style Néon */
.intro-text h2, .intro-text h3 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin: 30px 0 15px 0;
    position: relative;
    padding-left: 20px;
}
.intro-text h2::before, .intro-text h3::before {
    content: '';
    position: absolute; left: 0; top: 10%; height: 80%; width: 4px;
    background: var(--primary);
    border-radius: 4px;
    box-shadow: 0 0 10px var(--primary);
}

/* Nouvelle Box Promo Intégrée au Thème */
.theme-promo-box {
    display: flex;
    align-items: stretch; /* Force l'image et le texte à faire exactement la même hauteur */
    overflow: hidden;
    padding: 0;
    border-radius: 20px;
}

.theme-promo-img {
    width: 45%;
    display: flex; /* Supprime l'espace vide sous l'image */
}

.theme-promo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recadre intelligemment l'image de 650x433 sans l'écraser */
    min-height: 280px;
}

.theme-promo-content {
    width: 55%;
    padding: clamp(20px, 4vw, 40px);
}

.theme-promo-content h2 {
    color: #fff;
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    margin-bottom: 15px;
}

.theme-promo-content p {
    color: #ccc;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Responsive de la nouvelle box */
@media (max-width: 768px) {
    .theme-promo-box {
        flex-direction: column;
    }
    .theme-promo-img {
        width: 100%;
    }
    .theme-promo-img img {
        height: 250px;
    }
    .theme-promo-content {
        width: 100%;
        text-align: center;
    }
}



/* =========================================
   15. SECTION BLOG & ARTICLES
   ========================================= */

/* Grille du Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 0 5%;
    margin-bottom: 80px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(155, 81, 224, 0.3);
}

.blog-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img-wrapper img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 0.9rem;
    color: #a0a0b0;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.blog-card-content h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.read-more {
    margin-top: auto;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: 0.3s;
}

.blog-card:hover .read-more {
    color: var(--primary);
    letter-spacing: 1px;
}

/* Page Article Seul */
.single-article-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 5%;
}

.article-main-img {
    width: 100%;
    height: clamp(300px, 50vh, 500px);
    border-radius: 20px;
    overflow: hidden;
    padding: 10px; /* Cadre de verre */
}

.article-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* On s'assure que les images DANS le contenu de l'article soient responsive */
.long-desc img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 20px 0;
}




/* =========================================
   16. PLAN DU SITE (SITEMAP HTML)
   ========================================= */

.sitemap-section {
    margin-bottom: 30px;
}

.sitemap-title {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-left: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sitemap-title::before {
    content: '';
    position: absolute;
    left: 0; top: 10%; height: 80%; width: 4px;
    background: var(--secondary);
    border-radius: 4px;
    box-shadow: 0 0 10px var(--secondary);
}

.sitemap-list {
    list-style-type: none;
    padding-left: 15px;
}

.sitemap-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

/* Puce personnalisée néon pour la liste */
.sitemap-list li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    top: -2px;
    font-size: 1.2rem;
    text-shadow: 0 0 5px var(--primary);
}

.sitemap-list a {
    color: #d1d1e0;
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.sitemap-list a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    padding-left: 5px; /* Micro interaction : le lien glisse à droite */
}

/* Grille pour compacter les listes trop longues (Tarots / Horoscopes) */
.sitemap-grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 5px;
}

.sitemap-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(155, 81, 224, 0.3), transparent);
    margin: 40px 0;
}

/* Responsive Plan du site */
@media (max-width: 600px) {
    .sitemap-grid-list {
        grid-template-columns: 1fr; /* Une seule colonne sur mobile */
    }
}



/* =========================================
   17. MENU DÉROULANT (DROPDOWN)
   ========================================= */

/* Configuration Desktop */
.dropdown {
    position: relative;
    display: inline-block;
    margin-left: 20px;
}

.dropbtn {
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 10px 0; /* Élargit la zone de clic/survol */
}

.dropdown:hover .dropbtn {
    color: var(--secondary);
}

.arrow {
    font-size: 0.7em;
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.3s ease;
}

/* Apparition de la boite en verre */
.dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Effet de rebond léger */
    z-index: 1000;
    border-top: 2px solid var(--primary);
}

.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    top: 100%;
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-content a {
    margin: 0;
    padding: 12px 20px;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 400;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

/* Micro-interaction au survol des sous-liens */
.dropdown-content a:hover {
    background: linear-gradient(90deg, rgba(155, 81, 224, 0.2), transparent);
    color: #fff;
    padding-left: 25px; /* Le texte glisse vers la droite */
    color: var(--secondary);
}

/* Adaptation pour le Menu Plein Écran (Mobile) */
@media (max-width: 992px) {
    .dropdown {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    .dropbtn {
        font-size: 1.5rem;
    }
    
    .dropdown-content {
        position: static;
        visibility: visible;
        opacity: 1;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        display: none; /* Caché par défaut sur mobile, géré par JS */
    }
    
    /* Classe gérée par le JavaScript ci-dessous */
    .dropdown.active .dropdown-content {
        display: flex;
        animation: fadeIn 0.4s ease;
    }
    
    .dropdown.active .arrow {
        transform: rotate(180deg);
        color: var(--secondary);
    }
    
    .dropdown-content a {
        font-size: 1.2rem;
        text-align: center;
        padding: 15px;
        color: #ccc;
    }

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



/* =========================================
   18. OUTIL COMPATIBILITÉ (SELECTEURS)
   ========================================= */

.astro-select {
    width: 100%;
    padding: 15px 20px;
    background: rgba(10, 10, 18, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none; /* Enlève la flèche par défaut */
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23ffffff" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
}

.astro-select:hover, .astro-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(155, 81, 224, 0.4);
}

.astro-select option {
    background: var(--bg-dark);
    color: #fff;
}