/* ===========================================================
   ACCUEIL - STYLES GLOBAUX
   =========================================================== */

.hero {
    padding: 8rem 0;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.05), transparent),
        radial-gradient(circle at bottom left, rgba(245, 158, 11, 0.02), transparent);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.03) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    z-index: 0;
    animation: float 10s infinite alternate ease-in-out;
}

@keyframes float {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(30px, 30px);
    }
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 2rem;
    color: #ffffff;
    letter-spacing: -0.03em;
}

.hero-text {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 2.5rem;
}

.text-primary {
    color: var(--primary-color);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.featured-section {
    padding: 6rem 0;
    background: rgba(15, 23, 42, 0.5);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.image-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    font-size: 5rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.5;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.featured-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: block;
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.featured-image {
    height: 240px;
    position: relative;
    background: #020617;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-info {
    padding: 2rem;
}

.feat-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.featured-info h3 {
    font-size: 1.5rem;
    color: white;
}

.features {
    padding: 6rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border-radius: 20px;
    text-align: left;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.feature-image {
    height: 180px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

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

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

.feature-content {
    padding: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

.news-section {
    padding: 6rem 0;
    background: rgba(15, 23, 42, 0.4);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    height: 200px;
    width: 100%;
    position: relative;
    background: #020617;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-date {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    display: block;
}

.news-card h3 {
    margin-bottom: 1rem;
    color: white;
    font-size: 1.25rem;
    line-height: 1.4;
}

.news-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.empty-state-home {
    text-align: center;
    padding: 2rem;
}

.empty-state-home p {
    color: var(--text-muted);
}