/* ============================================
   HOME.CSS - SCIENCES PO EDITION
   Page d'accueil avec charte institutionnelle
   ============================================ */

/* ============================================
   HERO SECTION - SCIENCES PO
   ============================================ */

.hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--sciencespo-navy) 0%, var(--sciencespo-navy-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(230, 20, 45, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(230, 20, 45, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(230, 20, 45, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(230, 20, 45, 0.3);
}

.hero-section h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-section .lead {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.hero-cta {
    display: inline-flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-hero-primary {
    background: var(--sciencespo-red);
    color: white;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--sciencespo-red);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(230, 20, 45, 0.4);
    background: var(--sciencespo-red-dark);
    border-color: var(--sciencespo-red-dark);
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.05rem;
    border: 2px solid rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    color: white;
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats-section {
    min-height: 40vh;
    background: white;
    display: flex;
    align-items: center;
    padding: 60px 0;
    border-bottom: 3px solid var(--sciencespo-gray-light);
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    color: var(--sciencespo-red);
    line-height: 1;
    margin-bottom: 1rem;
}

.stat-label {
    color: var(--sciencespo-gray);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* ============================================
   DATA CARDS SECTION
   ============================================ */

.data-section {
    min-height: 100vh;
    padding: 80px 0;
    background: var(--sciencespo-gray-ultralight);
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--sciencespo-navy);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--sciencespo-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Data Cards - Sciences Po Style */
.data-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--sciencespo-gray-light);
    position: relative;
}

.data-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--sciencespo-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.data-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: var(--sciencespo-red);
}

.data-card:hover::before {
    transform: scaleX(1);
}

.data-card-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--sciencespo-navy) 0%, var(--sciencespo-navy-light) 100%);
}

.data-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0.9;
}

.data-card:hover .data-card-image {
    transform: scale(1.05);
    opacity: 1;
}

.data-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--sciencespo-navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.data-card-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.data-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sciencespo-navy);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.data-card-description {
    color: var(--sciencespo-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
    font-size: 1rem;
}

.data-card-footer {
    display: flex;
    align-items: center;
    padding-top: 1.25rem;
    border-top: 2px solid var(--sciencespo-gray-light);
}

.data-card-link {
    color: var(--sciencespo-red);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.data-card-link:hover {
    gap: 0.9rem;
    color: var(--sciencespo-red-dark);
}

.data-card-link svg {
    transition: transform 0.2s ease;
}

.data-card-link:hover svg {
    transform: translateX(4px);
}

/* Coming Soon Card */
.data-card.coming-soon {
    opacity: 0.7;
    cursor: not-allowed;
    border-style: dashed;
}

.data-card.coming-soon:hover {
    transform: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.coming-soon-label {
    color: var(--sciencespo-gray);
    font-weight: 600;
    font-size: 0.95rem;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    min-height: 50vh;
    background: linear-gradient(135deg, var(--sciencespo-navy) 0%, #1a2332 100%);
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--sciencespo-red);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(230, 20, 45, 0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-section p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.btn-cta {
    background: var(--sciencespo-red);
    color: white;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--sciencespo-red);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(230, 20, 45, 0.4);
    background: var(--sciencespo-red-light);
    border-color: var(--sciencespo-red-light);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
    .data-card-image-wrapper {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
        padding: 40px 20px;
    }

    .stats-section {
        min-height: auto;
        padding: 40px 0;
    }

    .stat-item {
        padding: 1.5rem 0.5rem;
    }

    .data-section {
        min-height: auto;
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .data-card-image-wrapper {
        height: 180px;
    }

    .data-card-body {
        padding: 1.5rem;
    }

    .cta-section {
        min-height: auto;
        padding: 60px 20px;
    }
}