/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    line-height: 1.6;
    padding: 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3.5rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    width: 100%;
    margin: 0;
}

/* Titre principal */
.hero h1 {
    font-size: 2.6rem;
    margin-bottom: 1.8rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
    background: linear-gradient(to right, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description */
.description-container {
    max-width: 800px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 2;
}

.description-main {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    letter-spacing: 0.3px;
    font-style: italic;
}

.description-tags {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.description-tag {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.4rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.description-tag:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Statistiques */
.stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 1.2rem;
}

.stat-item {
    text-align: center;
    background: rgba(255,215,0,0.08);
    padding: 0.9rem 1.3rem;
    border-radius: 14px;
    border: 1px solid rgba(255,215,0,0.2);
    transition: all 0.3s ease;
    min-width: 100px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.stat-item:hover {
    transform: translateY(-2px);
    border-color: rgba(255,215,0,0.4);
    box-shadow: 0 4px 15px rgba(255,215,0,0.15);
    background: rgba(255,215,0,0.12);
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffd700;
    display: block;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    margin-bottom: 0.2rem;
}

.stat-item:hover .stat-number {
    transform: scale(1.03);
    color: #ffffff;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.9);
    margin-top: 0.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 0;
    }
    
    .hero {
        padding: 2.5rem 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .description-main {
        font-size: 1.2rem;
    }
    
    .stats {
        gap: 0.8rem;
        padding: 1rem;
    }
    
    .description-tags {
        gap: 0.8rem;
    }
    
    .stat-item {
        min-width: 90px;
        padding: 0.8rem 1.1rem;
    }
}

@media (max-width: 480px) {
    .stats {
        gap: 0.6rem;
        padding: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-item {
        min-width: 80px;
        padding: 0.7rem 0.9rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .hero h1 {
        font-size: 1.9rem;
    }
    
    .description-main {
        font-size: 1.1rem;
    }
}

/* Section des dernières histoires */
.latest-stories-section {
    padding: 60px 0;
    background: #fff;
}
.stories-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    gap: 20px;
}
.stories-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
    white-space: nowrap;
    flex-shrink: 0;
}
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.story-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e9eaf6 100%);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(100,100,150,0.10);
    border: 1.5px solid #e3e8f0;
    padding: 0;
    margin-bottom: 2rem;
    transition: box-shadow 0.2s, border 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
}
.story-card:hover {
    box-shadow: 0 12px 40px rgba(100,100,150,0.13);
    border-color: #b3b8d0;
    transform: translateY(-4px) scale(1.01);
}
.story-content {
    padding: 2rem 1.5rem 1.2rem 1.5rem;
    display: flex;
    flex-direction: column;
    min-height: 220px;
}
.story-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.7rem;
}
.story-header-left {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.story-category {
    background: linear-gradient(90deg, #6a82fb 0%, #fc5c7d 100%);
    color: #fff;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    display: inline-block;
}
.story-stats {
    display: flex;
    gap: 0.7rem;
    color: #6a82fb;
    font-size: 1rem;
    align-items: center;
    font-weight: 500;
}
.story-stats i {
    color: #fc5c7d;
    margin-left: 0.2rem;
}
.story-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.7rem;
    line-height: 1.3;
    transition: color 0.2s, text-decoration 0.2s;
    text-align: center;
    word-break: break-word;
}
.story-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.story-link:hover .story-title {
    text-decoration: underline;
    color: #6a82fb;
}
.story-card:hover .story-title {
    text-decoration: none;
}
.story-excerpt {
    color: #444;
    margin-bottom: 1.2rem;
    line-height: 1.6;
    font-size: 1.05rem;
    text-align: justify;
}
.story-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
    color: #6a82fb;
    margin-top: auto;
    width: 100%;
    gap: 0.5rem;
}
.story-meta .author {
    order: 1;
    flex: 0 1 auto;
    justify-content: flex-end;
    text-align: right;
    font-weight: 500;
    overflow: visible;
    text-overflow: unset;
    white-space: normal;
    color: #6a82fb;
}
.story-meta .date {
    order: 2;
    flex: 0 0 auto;
    text-align: center;
    color: #b3b8d0;
    font-weight: 400;
    font-size: 0.92em;
    margin: 0 0.7rem;
}
.story-meta .new-badge {
    order: 3;
    flex: 0 0 auto;
    justify-content: flex-start;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    font-size: 0.78em;
    min-width: 0;
    padding: 0.18em 0.9em;
    border-radius: 16px;
    background: #4fc3f7;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.new-badge {
    background: #4fc3f7;
    color: #fff;
    padding: 0.2rem 0.8rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-right: 0.5rem;
    display: inline-block;
}
.error-message {
    background: #ffe3e3;
    color: #ff4757;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
}
.no-results {
    text-align: center;
    padding: 3rem 0;
    color: #666;
}
.no-results i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 1rem;
}
.no-results h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}
@media (max-width: 600px) {
    .story-content {
        padding: 1.2rem 0.7rem 0.7rem 0.7rem;
    }
    .story-title {
        font-size: 1.1rem;
    }
    .story-meta {
        font-size: 0.87rem;
        gap: 0.2rem;
    }
    .story-meta .date {
        margin: 0 0.2rem;
    }
}
.stories-cta {
    text-align: center;
    margin-top: 40px;
}
.btn.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.13);
    transition: all 0.3s;
    border: none;
    position: relative;
    overflow: hidden;
}
.btn.btn-premium:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.18);
}
.btn.btn-premium .btn-icon {
    font-size: 1.3rem;
    transition: transform 0.3s;
}
.btn.btn-premium:hover .btn-icon {
    transform: translateX(5px);
}
.btn-header {
    padding: 10px 20px !important;
    font-size: 0.95rem !important;
    border-radius: 25px !important;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: auto !important;
    width: auto !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* Section Pourquoi choisir */
.features-section {
    padding: 60px 0 40px 0;
    background: #f8f9fa;
}
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.section-header h2 {
    font-size: 2.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.7rem;
}
.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    font-weight: 400;
}
.features-grid-premium {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.feature-card-premium {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.09);
    padding: 2.2rem 2rem 1.5rem 2rem;
    flex: 1 1 280px;
    max-width: 350px;
    min-width: 260px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}
.feature-card-premium:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 10px 32px rgba(102, 126, 234, 0.15);
}
.feature-icon-container {
    font-size: 2.2rem;
    color: #ffd700;
    margin-bottom: 1.1rem;
}
.feature-highlight {
    margin-top: 1.2rem;
    font-size: 1rem;
    color: #764ba2;
    font-weight: 600;
}
.features-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}
.stat-highlight {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.08);
    padding: 1.2rem 2.2rem;
    text-align: center;
    min-width: 120px;
    margin-bottom: 1rem;
}
.stat-highlight i {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: #764ba2;
    display: block;
    margin-bottom: 0.2rem;
}
.stat-text {
    font-size: 0.9rem;
    color: #333;
}

/* Section Appel à l'action */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 50px 0;
    text-align: center;
}
.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}
.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.cta-buttons .btn-primary {
    background: #ffd700;
    color: #764ba2;
    padding: 0.8rem 2.2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    box-shadow: 0 4px 18px rgba(255,215,0,0.13);
    transition: background 0.3s, color 0.3s;
    text-decoration: none;
}
.cta-buttons .btn-primary:hover {
    background: #fff;
    color: #764ba2;
}

/* Footer (si besoin) */
footer {
    background: #f8f9fa;
    color: #333;
    padding: 2rem 0 1rem 0;
    text-align: center;
    font-size: 1rem;
    border-top: 1px solid #e0e0e0;
}

/* Container générique */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid-premium {
        flex-direction: column;
        align-items: center;
    }
    .features-stats {
        gap: 1.2rem;
    }
}
@media (max-width: 768px) {
    .latest-stories-section, .features-section, .cta-section {
        padding: 35px 0;
    }
    .stories-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .stories-title {
        font-size: 2rem;
        white-space: normal;
    }
    .btn-header {
        padding: 10px 20px !important;
        font-size: 0.95rem !important;
    }
    .features-grid-premium {
        gap: 1.2rem;
    }
    .feature-card-premium {
        padding: 1.5rem 1rem 1rem 1rem;
        max-width: 100%;
    }
    .features-stats {
        gap: 1rem;
    }
    .stat-highlight {
        padding: 1rem 1.2rem;
        min-width: 90px;
    }
    .container {
        padding: 0 0.7rem;
    }
}
@media (max-width: 480px) {
    .stories-title {
        font-size: 1.4rem;
    }
    .btn-header {
        padding: 8px 16px !important;
        font-size: 0.9rem !important;
    }
    .stories-header {
        gap: 12px;
    }
    .feature-card-premium {
        padding: 1rem 0.5rem 0.7rem 0.5rem;
    }
    .stat-highlight {
        padding: 0.7rem 0.5rem;
        min-width: 70px;
    }
    .cta-content h2 {
        font-size: 1.2rem;
    }
    .cta-content p {
        font-size: 0.95rem;
    }
} 