/* ═══════════════════════════════════════════════════════════════
   🎨 CSS BLOG - STYLE ÉLÉGANT TROPICAL PREMIUM
   Design : Inspiré du logo Jess.bdigital
   Typographie : Playfair Display Italic (titres) + Lora (texte)
   Palette : Tropical (#00C9A7, #FFD700, bleu-vert profond)
   ═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────
   🌴 FOND TROPICAL PREMIUM
   ───────────────────────────────────────────────────────────── */
.blog-hero,
.article-container {
    background: 
        radial-gradient(ellipse at top right, rgba(0, 201, 167, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, #0a1628 0%, #1a3a52 50%, #0f2a3f 100%);
    position: relative;
    overflow: hidden;
}

.blog-hero::before,
.article-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M100,20 Q120,60 140,100 Q120,140 100,180 Q80,140 60,100 Q80,60 100,20' fill='%2300C9A7' opacity='0.03'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

/* Feuilles tropicales décoratives */
.tropical-leaf {
    position: absolute;
    width: 200px;
    height: 200px;
    opacity: 0.05;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50,10 Q30,30 20,50 Q30,70 50,90 L50,10' fill='%23FFD700'/%3E%3Cpath d='M50,10 Q70,30 80,50 Q70,70 50,90 L50,10' fill='%23FFD700'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    pointer-events: none;
}

.leaf-1 {
    top: 10%;
    left: 5%;
    animation: sway 15s ease-in-out infinite;
}

.leaf-2 {
    bottom: 10%;
    right: 5%;
    transform: rotate(180deg);
    animation: sway 12s ease-in-out infinite reverse;
}

@keyframes sway {
    0%, 100% { transform: rotate(0deg) translateX(0); }
    50% { transform: rotate(5deg) translateX(10px); }
}

/* ─────────────────────────────────────────────────────────────
   📝 TYPOGRAPHIE ÉLÉGANTE
   ───────────────────────────────────────────────────────────── */

/* Hero Title - Italique élégant TURQUOISE TROPICAL */
.blog-hero .hero-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-style: italic;
    font-size: 3.5rem;
    color: #00C9A7 !important; /* TURQUOISE TROPICAL */
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 201, 167, 0.3);
}

/* Article Title - OR TROPICAL */
.article-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-style: italic;
    font-size: 3.5rem;
    color: #FFD700 !important; /* OR TROPICAL */
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(255, 215, 0, 0.3);
}

.hero-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* Blog Card Title - OR TROPICAL */
.blog-card-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-style: italic;
    font-size: 1.8rem;
    color: #FFD700 !important; /* OR TROPICAL */
    margin: 1rem 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-card-title {
    color: #00C9A7 !important; /* TURQUOISE au hover */
}

/* Article H2 - Sous-titres élégants */
.article-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 2rem;
    color: #00C9A7;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    border-left: 5px solid #FFD700;
    padding-left: 1.5rem;
    line-height: 1.3;
}

/* Texte - Police lisible et élégante */
.article-content p,
.article-content li,
.blog-card-excerpt {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    line-height: 1.9;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
}

.article-content strong {
    color: #FFD700;
    font-weight: 600;
}

.article-content em {
    font-style: italic;
    color: #00C9A7;
}

/* ─────────────────────────────────────────────────────────────
   🎨 HERO SECTION
   ───────────────────────────────────────────────────────────── */
.blog-hero {
    padding: 8rem 2rem 6rem;
    text-align: center;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* ─────────────────────────────────────────────────────────────
   📰 BLOG GRID
   ───────────────────────────────────────────────────────────── */
.blog-section {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, #0a1628 0%, #1a3a52 100%);
}

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

.blog-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 3rem;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
    backdrop-filter: blur(10px);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 201, 167, 0.2);
    border-color: rgba(0, 201, 167, 0.3);
}

.blog-card.featured {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
}

.blog-card-image {
    position: relative;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #00C9A7, #FFD700);
    color: #0a1628;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.blog-date,
.blog-category {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem;
    color: #00C9A7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-read-more {
    display: inline-block;
    margin-top: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #FFD700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    color: #00C9A7;
    transform: translateX(10px);
}

/* ─────────────────────────────────────────────────────────────
   📄 ARTICLE PAGE
   ───────────────────────────────────────────────────────────── */
.article-container {
    padding: 6rem 2rem;
    min-height: 100vh;
}

.article-hero {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.article-date,
.article-category {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: #00C9A7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-author {
    font-family: 'Lora', serif;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    padding: 4rem 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    backdrop-filter: blur(10px);
}

.article-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.8rem;
    position: relative;
}

.article-content ul li::before {
    content: '✨';
    position: absolute;
    left: -2rem;
}

/* Boxes stylisés */
.highlight-box {
    background: linear-gradient(135deg, rgba(0, 201, 167, 0.1), rgba(255, 215, 0, 0.1));
    border-left: 5px solid #00C9A7;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 12px;
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    line-height: 1.8;
}

.highlight-box.danger {
    border-left-color: #ff6b6b;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(255, 215, 0, 0.1));
}

.highlight-box.success {
    border-left-color: #00C9A7;
}

.quote-box {
    background: rgba(255, 215, 0, 0.05);
    border-left: 5px solid #FFD700;
    padding: 2rem 2rem 2rem 3rem;
    margin: 3rem 0;
    border-radius: 12px;
    position: relative;
}

.quote-box::before {
    content: '"';
    position: absolute;
    left: 1rem;
    top: 1rem;
    font-size: 4rem;
    color: rgba(255, 215, 0, 0.2);
    font-family: 'Playfair Display', serif;
}

.quote-box p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.3rem;
    color: #FFD700;
    margin: 0;
}

/* Listes spéciales */
.check-list li,
.values-list li {
    list-style: none;
    padding-left: 0;
}

.check-list li::before {
    content: '✔️';
}

.values-list li::before {
    content: '✨';
}

/* CTA Article */
.article-cta {
    max-width: 800px;
    margin: 4rem auto;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 201, 167, 0.1), rgba(255, 215, 0, 0.1));
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.article-cta h3 {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 2rem;
    color: #FFD700;
    margin-bottom: 1rem;
}

.article-cta p {
    font-family: 'Lora', serif;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.cta-button-large {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #00C9A7, #FFD700);
    color: #0a1628;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 201, 167, 0.3);
}

.cta-button-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 201, 167, 0.4);
}

.article-back {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
}

.article-back a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: #00C9A7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-back a:hover {
    color: #FFD700;
}

/* ─────────────────────────────────────────────────────────────
   🎯 CTA SECTION
   ───────────────────────────────────────────────────────────── */
.cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #1a3a52 0%, #0a1628 100%);
    text-align: center;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 1rem;
}

.cta-text {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

/* ─────────────────────────────────────────────────────────────
   📱 RESPONSIVE
   ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .blog-hero .hero-title,
    .article-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .blog-card.featured {
        grid-template-columns: 1fr;
    }
    
    .article-content {
        padding: 2rem 1.5rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
        padding-left: 1rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}
