/**
 * CSS Spécifique - Page d'accueil
 * Hero, Ticker, Stats, CTA sections
 */

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, var(--primary) 0%, #0d1e33 50%, #142840 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(111,128,179,.14) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(45,138,94,.05) 0%, transparent 50%);
}

.hero-grid {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 120px 32px 40px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp .8s ease both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50px;
    padding: 6px 16px 6px 8px;
    margin-bottom: 28px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse-dot 2s ease infinite;
}

.hero-badge span {
    font-size: 12px;
    color: rgba(255,255,255,.7);
    font-weight: 500;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.hero-section h1 {
    font-size: clamp(36px, 4.5vw, 56px);
    color: #fff;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero-section h1 em {
    font-style: normal;
    color: var(--secondary);
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,.55);
    line-height: 1.7;
    max-width: 500px;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Stats Box */
.hero-stats {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(10px);
    animation: fadeInUp .8s ease .4s both;
}

.hero-stats .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats .stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stats .stat-number span {
    color: var(--secondary);
}

.hero-stats .stat-label {
    font-size: 13px;
    color: rgba(255,255,255,.45);
}

/* Hero Cities Tags */
.hero-cities {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.06);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.city-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50px;
    font-size: 13px;
    color: rgba(255,255,255,.7);
    font-weight: 500;
    transition: var(--tr);
}

.city-tag:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.15);
}

.city-tag .mono {
    background: rgba(255,255,255,.1);
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 11px;
}

.city-tag-more {
    background: transparent;
    border-style: dashed;
    color: rgba(255,255,255,.5);
    cursor: default;
}

/* Section après le ticker - moins d'espace */
.live-ticker + .section {
    padding-top: 50px;
    padding-bottom: 50px;
}

/* Section Notre présence - moins d'espace en haut */
.section-dark {
    padding-top: 60px;
}

/* =============================================
   LIVE TICKER
   ============================================= */
.live-ticker {
    background: var(--primary);
    padding: 14px 0;
    overflow: hidden;
    position: relative;
}

.live-ticker::before,
.live-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
}

.live-ticker::before {
    left: 0;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.live-ticker::after {
    right: 0;
    background: linear-gradient(-90deg, var(--primary), transparent);
}

.ticker-track {
    display: flex;
    gap: 40px;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.6);
    font-size: 13px;
    font-weight: 500;
}

.ticker-item .dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
}

.ticker-item strong {
    color: #fff;
    font-weight: 600;
}

/* =============================================
   SECTION BIG NUMBER
   ============================================= */
.section-big-number {
    text-align: center;
    margin-top: 48px;
}

.big-number {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary), #95a8d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.big-number-label {
    font-size: 16px;
    color: rgba(255,255,255,.4);
    margin-top: 8px;
}

/* =============================================
   CTA BLOCK SECTION
   ============================================= */
.section-cta-block {
    background: linear-gradient(135deg, var(--fog), var(--fog-warm));
    padding: 80px 0;
}

.cta-content {
    text-align: center;
}

.cta-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.cta-content .section-desc {
    margin-bottom: 32px;
}

/* =============================================
   RESPONSIVE HERO
   ============================================= */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-grid {
        padding: 80px 20px 30px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        padding: 24px;
    }

    .hero-stats .stat-number {
        font-size: 36px;
    }

    .hero-cities {
        justify-content: center;
    }

    .big-number {
        font-size: 48px;
    }
}
