/* style.css */

*
{
    box-sizing: border-box;
}

html,
body
{
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body
{
    background: #1e1e1e;
    color: white;
    font-family: Arial, sans-serif;
}

/* FIX LEAFLET MAP */

#map
{
    position: relative;
    z-index: 10;
    touch-action: pan-x pan-y;
}

.leaflet-container
{
    position: relative;
    z-index: 10;
}

/* LIVE */

.live-ticker
{
    width: 100%;
    overflow: hidden;
    background: #0f172a;
    border-bottom: 1px solid rgba(96,165,250,0.35);
    position: relative;
    z-index: 100;
}

.ticker-track
{
    display: flex;
    width: max-content;
    animation: ticker-scroll 35s linear infinite;
}

.ticker-track span
{
    white-space: nowrap;
    padding: 10px 30px;
    font-size: 15px;
    font-weight: bold;
    color: #e5e7eb;
}

@keyframes ticker-scroll
{
    from
    {
        transform: translateX(0);
    }

    to
    {
        transform: translateX(-50%);
    }
}

/* HERO */

.hero
{
    min-height: 100vh;

    background:
        linear-gradient(
            90deg,
            rgba(10,10,10,0.40) 0%,
            rgba(10,10,10,0.20) 35%,
            rgba(10,10,10,0.10) 100%
        ),
        url("images/FondTV.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* NAVBAR */

.navbar
{
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 25px 60px;

    background: rgba(0,0,0,0.25);

    backdrop-filter: blur(6px);
}

.logo img
{
    height: 110px;
}

.nav-links
{
    display: flex;
    align-items: center;
    gap: 25px;
}

.navbar a
{
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}

.navbar a:hover
{
    color: #60a5fa;
}

/* HERO CONTENT */

.hero-content
{
    max-width: 700px;

    padding-left: 60px;
    padding-top: 220px;
    padding-bottom: 120px;
}

.hero-content h1
{
    font-size: 72px;
    margin-bottom: 20px;
    line-height: 1;
}

.hero-content p
{
    font-size: 24px;
    line-height: 1.6;
    color: #d1d5db;
}

.hero-buttons
{
    margin-top: 40px;
}

.btn
{
    display: inline-block;

    padding: 15px 28px;

    background: #2563eb;

    color: white;

    text-decoration: none;

    border-radius: 10px;

    font-weight: bold;

    margin-right: 15px;

    transition: 0.2s;
}

.btn:hover
{
    transform: translateY(-2px);
}

.btn.secondary
{
    background: #374151;
}

/* SECTIONS */

.section
{
    padding: 80px 20px;

    max-width: 1000px;

    margin: auto;

    text-align: center;
}

.section h2
{
    font-size: 42px;
}

.section p
{
    font-size: 22px;
    line-height: 1.8;
    color: #d1d5db;
}

/* CARDS */

.cards
{
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    padding: 40px 60px 80px;
}

.card
{
    background: #2b2b2b;

    border-radius: 18px;

    overflow: hidden;

    transition: 0.2s;

    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.card:hover
{
    transform: translateY(-4px);
}

.card-image
{
    position: relative;

    width: 100%;
    height: 230px;

    overflow: hidden;
}

.card-image img
{
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

.card-overlay
{
    position: absolute;

    inset: 0;

    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.05),
        rgba(0,0,0,0.65)
    );
}

.card-badge
{
    position: absolute;

    bottom: 14px;
    left: 14px;

    background: rgba(37,99,235,0.9);

    padding: 8px 12px;

    border-radius: 999px;

    font-size: 13px;
    font-weight: bold;
}

.card-content
{
    padding: 25px;

    text-align: center;
}

.card h3
{
    font-size: 38px;

    margin-top: 0;
}

.card p
{
    font-size: 18px;

    line-height: 1.7;

    color: #d1d5db;
}

.feature-list
{
    display: inline-block;

    text-align: left;

    margin-top: 20px;

    color: #d1d5db;

    line-height: 1.9;
}

.card-stats
{
    margin-top: 22px;

    padding: 14px;

    border-radius: 10px;

    background: #1f1f1f;

    text-align: center;
}

.card-stats span
{
    display: block;

    margin-bottom: 5px;

    color: #cfcfcf;
}

.card-stats strong
{
    color: white;
}

.ranking-icon
{
    font-size: 52px;

    margin-bottom: 15px;
}

/* PAGES INTERNES */

.page-content
{
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px 100px;
}

.ranking-table
{
    width: 100%;
    border-collapse: collapse;

    background: rgba(15,23,42,0.92);

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

.ranking-table th
{
    background: rgba(37,99,235,0.35);

    padding: 20px;

    text-align: left;

    font-size: 15px;

    text-transform: uppercase;

    color: white;
}

.ranking-table td
{
    padding: 18px 20px;

    border-bottom: 1px solid rgba(255,255,255,0.08);

    color: #e5e7eb;

    font-size: 16px;
}

.ranking-table tr:hover
{
    background: rgba(255,255,255,0.03);
}

/* CONTACT */

.contact-box
{
    max-width: 900px;

    margin: 60px auto 30px;

    padding: 45px;

    border-radius: 24px;

    background: rgba(15,23,42,0.92);

    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.contact-box h2
{
    margin-top: 0;

    font-size: 38px;
}

.contact-form
{
    display: flex;

    flex-direction: column;

    gap: 20px;
}

.contact-form input,
.contact-form textarea
{
    width: 100%;

    padding: 18px;

    border: none;

    border-radius: 14px;

    background: #111827;

    color: white;

    font-size: 16px;
}

.contact-form textarea
{
    min-height: 180px;

    resize: vertical;
}

.contact-form button
{
    width: fit-content;

    padding: 16px 28px;

    border: none;

    border-radius: 14px;

    background: #2563eb;

    color: white;

    font-weight: bold;

    cursor: pointer;

    transition: 0.2s;
}

.contact-form button:hover
{
    background: #1d4ed8;
}

.info-box
{
    max-width: 900px;

    margin: 0 auto 100px;

    padding: 35px 45px;

    border-radius: 20px;

    background: rgba(255,255,255,0.04);
}

/* FOOTER */

footer
{
    text-align: center;

    padding: 30px;

    background: #111;

    color: #aaa;
}

/* MOBILE */

@media screen and (max-width: 768px)
{
    .live-ticker
    {
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .ticker-track span
    {
        font-size: 12px;
        padding: 8px 18px;
    }

    .hero
    {
        min-height: auto;

        background:
            linear-gradient(
                180deg,
                rgba(0,0,0,0.15) 0%,
                rgba(0,0,0,0.35) 50%,
                #151515 100%
            ),
            url("images/FondTV.png");

        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;

        padding-top: 0;
    }

    .navbar
    {
        display: flex;
        flex-direction: column;

        justify-content: center;
        align-items: center;

        gap: 12px;

        padding: 18px 14px 25px;

        background: rgba(0,0,0,0.35);

        backdrop-filter: blur(4px);

        text-align: center;
    }

    .logo
    {
        width: 100%;
        text-align: center;
    }

    .logo img
    {
        height: 90px;

        width: auto;

        display: block;

        margin: 0 auto;
    }

    .nav-links
    {
        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 10px;

        width: 100%;
    }

    .nav-links a:last-child
    {
        grid-column: span 2;
    }

    .navbar a
    {
        display: block;

        background: rgba(255,255,255,0.08);

        padding: 12px 10px;

        border-radius: 14px;

        font-size: 14px;

        text-align: center;

        font-weight: bold;
    }

    .hero-content
    {
        width: 100%;

        max-width: 100%;

        padding: 340px 22px 50px;

        text-align: center;

        background: linear-gradient(
            180deg,
            rgba(0,0,0,0),
            rgba(21,21,21,0.92) 45%,
            #151515 100%
        );
    }

    .hero-content h1
    {
        font-size: 52px;

        line-height: 1;

        margin-bottom: 22px;

        text-align: center;
    }

    .hero-content p
    {
        font-size: 20px;

        line-height: 1.6;

        text-align: center;

        color: #e5e7eb;

        max-width: 360px;

        margin: auto;
    }

    .hero-buttons
    {
        display: flex;

        flex-direction: column;

        gap: 14px;

        margin-top: 35px;
    }

    .btn
    {
        width: 100%;

        margin-right: 0;

        text-align: center;

        font-size: 18px;

        padding: 18px 20px;

        border-radius: 16px;
    }

    .cards
    {
        grid-template-columns: 1fr;

        padding: 20px 14px 50px;

        gap: 20px;
    }

    .card
    {
        width: 100%;
        overflow: hidden;
    }

    .card-image
    {
        width: 100%;
        height: 210px;
        overflow: hidden;
    }

    .card-image img
    {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .card-badge
    {
        position: relative;

        left: auto;
        bottom: auto;

        transform: none;

        display: inline-block;

        margin-top: 14px;
        margin-bottom: 6px;

        white-space: nowrap;
    }

    .card-content
    {
        width: 100%;
        text-align: center;
        padding-top: 10px;
    }

    .card h3
    {
        font-size: 28px;
        text-align: center;
    }

    .card p
    {
        font-size: 16px;
        text-align: center;

        white-space: normal;
        overflow-wrap: anywhere;
    }

    .feature-list
    {
        display: inline-block;

        text-align: left;

        margin: 20px auto;
    }

    .card-stats
    {
        text-align: center;
    }

    .section
    {
        padding: 50px 18px;
    }

    .section h2
    {
        font-size: 30px;
    }

    .section p
    {
        font-size: 17px;
    }

    .page-content
    {
        padding: 20px 14px 50px;

        overflow-x: auto;
    }

    .ranking-table
    {
        min-width: 700px;
    }

    .contact-box
    {
        margin: 25px 14px;
        padding: 25px;
    }

    .contact-box h2
    {
        font-size: 28px;
    }

    .info-box
    {
        margin: 20px 14px 50px;
        padding: 25px;
    }
}

/* NEWS */

.small-hero
{
    min-height: auto;
}

.news-page
{
    max-width: 1000px;
}

.news-header
{
    margin: 40px auto 35px;
    padding: 40px;
    border-radius: 24px;
    background: rgba(15,23,42,0.92);
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
    text-align: center;
}

.news-header h1
{
    margin: 0 0 15px;
    font-size: 56px;
}

.news-header p
{
    margin: 0 auto 20px;
    max-width: 760px;
    color: #d1d5db;
    font-size: 20px;
    line-height: 1.6;
}

#news-refresh-label
{
    display: inline-block;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(37,99,235,0.25);
    color: #bfdbfe;
    font-size: 14px;
    font-weight: bold;
}

.news-list
{
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 80px;
}

.news-item
{
    padding: 22px 26px;
    border-radius: 18px;
    background: rgba(15,23,42,0.92);
    border: 1px solid rgba(96,165,250,0.18);
    box-shadow: 0 12px 35px rgba(0,0,0,0.28);
}

.news-message
{
    font-size: 20px;
    line-height: 1.45;
    color: #f9fafb;
    font-weight: bold;
}

.news-date
{
    margin-top: 10px;
    font-size: 14px;
    color: #93c5fd;
}

.news-empty
{
    padding: 35px;
    border-radius: 18px;
    background: rgba(15,23,42,0.92);
    color: #d1d5db;
    text-align: center;
    font-size: 18px;
}

@media screen and (max-width: 768px)
{
    .news-header
    {
        margin: 20px auto 25px;
        padding: 25px 18px;
    }

    .news-header h1
    {
        font-size: 38px;
    }

    .news-header p
    {
        font-size: 16px;
    }

    .news-item
    {
        padding: 18px;
    }

    .news-message
    {
        font-size: 17px;
    }
}



/* =========================================================
   HOMEPAGE 2030 - PREMIUM IMMERSION
   ========================================================= */

.hero-content-premium
{
    max-width: 780px;
}

.hero-pill
{
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 24px;

    padding: 10px 16px;

    border-radius: 999px;

    background: rgba(15,23,42,0.74);

    border: 1px solid rgba(96,165,250,0.35);

    box-shadow: 0 10px 40px rgba(37,99,235,0.20);

    color: #bfdbfe;

    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.3px;
}

.hero-content-premium h1
{
    font-size: clamp(58px, 8vw, 108px);
    letter-spacing: -4px;

    background: linear-gradient(90deg, #ffffff, #bfdbfe, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    text-shadow: none;
}

.hero-content-premium p
{
    max-width: 720px;
    color: #e5e7eb;
}

.hero-mini-stats
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;

    margin-top: 38px;
}

.hero-mini-stats div
{
    padding: 18px 20px;

    border-radius: 18px;

    background: rgba(15,23,42,0.68);

    border: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(10px);
}

.hero-mini-stats strong
{
    display: block;

    font-size: 26px;

    color: #ffffff;
}

.hero-mini-stats span
{
    color: #cbd5e1;
    font-size: 14px;
}

.next-home
{
    position: relative;

    background:
        radial-gradient(circle at top left, rgba(37,99,235,0.18), transparent 28%),
        radial-gradient(circle at 85% 10%, rgba(14,165,233,0.12), transparent 24%),
        linear-gradient(180deg, #151515 0%, #0b1120 45%, #050816 100%);

    padding-bottom: 80px;
}

.next-section
{
    max-width: 1100px;

    margin: 0 auto;

    padding: 110px 40px 60px;

    text-align: center;
}

.section-kicker
{
    display: inline-block;

    margin-bottom: 18px;

    padding: 9px 15px;

    border-radius: 999px;

    background: rgba(37,99,235,0.18);

    border: 1px solid rgba(96,165,250,0.35);

    color: #93c5fd;

    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.4px;
}

.next-section h2,
.dashboard-copy h2,
.final-cta h2
{
    margin: 0 auto 22px;

    font-size: clamp(36px, 5vw, 68px);

    line-height: 1.02;

    letter-spacing: -2px;

    color: #ffffff;
}

.next-section p,
.dashboard-copy p,
.final-cta p
{
    max-width: 850px;

    margin: auto;

    color: #cbd5e1;

    font-size: 21px;

    line-height: 1.8;
}

.feature-showcase
{
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 0.9fr;
    gap: 26px;

    max-width: 1320px;

    margin: 0 auto;

    padding: 40px;
}

.next-card
{
    position: relative;

    min-height: 430px;

    overflow: hidden;

    padding: 34px;

    border-radius: 34px;

    background:
        linear-gradient(180deg, rgba(15,23,42,0.92), rgba(15,23,42,0.68));

    border: 1px solid rgba(148,163,184,0.16);

    box-shadow:
        0 24px 80px rgba(0,0,0,0.42),
        inset 0 1px 0 rgba(255,255,255,0.08);

    backdrop-filter: blur(16px);

    transition: 0.25s ease;
}

.next-card:hover
{
    transform: translateY(-8px);

    border-color: rgba(96,165,250,0.48);

    box-shadow:
        0 30px 100px rgba(37,99,235,0.22),
        inset 0 1px 0 rgba(255,255,255,0.10);
}

.card-wide
{
    background:
        linear-gradient(180deg, rgba(15,23,42,0.88), rgba(15,23,42,0.66)),
        url("images/FondTV.png");

    background-size: cover;
    background-position: center;
}

.card-glow,
.cta-glow
{
    position: absolute;

    width: 260px;
    height: 260px;

    right: -80px;
    top: -80px;

    background: rgba(59,130,246,0.28);

    filter: blur(70px);

    border-radius: 999px;

    pointer-events: none;
}

.card-tag
{
    display: inline-flex;

    margin-bottom: 24px;

    padding: 8px 13px;

    border-radius: 999px;

    background: rgba(37,99,235,0.32);

    color: #dbeafe;

    font-size: 13px;
    font-weight: bold;
}

.next-card h3
{
    margin: 0 0 18px;

    font-size: 42px;

    line-height: 1.05;

    letter-spacing: -1px;
}

.next-card p
{
    color: #d1d5db;

    font-size: 18px;

    line-height: 1.75;
}

.feature-list-modern
{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 30px;
}

.feature-list-modern span,
.live-chip
{
    display: inline-flex;

    padding: 10px 14px;

    border-radius: 999px;

    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.08);

    color: #e5e7eb;

    font-weight: bold;
}

.metric-strip
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;

    margin-top: 30px;
}

.metric-strip div
{
    padding: 18px;

    border-radius: 18px;

    background: rgba(2,6,23,0.55);

    border: 1px solid rgba(255,255,255,0.06);
}

.metric-strip strong
{
    display: block;

    color: #ffffff;
}

.metric-strip span
{
    display: block;

    margin-top: 6px;

    color: #94a3b8;

    font-size: 14px;
}

.accent-card
{
    background:
        radial-gradient(circle at top right, rgba(37,99,235,0.42), transparent 38%),
        linear-gradient(180deg, rgba(30,41,59,0.96), rgba(15,23,42,0.76));
}

.dashboard-preview
{
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 50px;
    align-items: center;

    max-width: 1260px;

    margin: 70px auto;

    padding: 40px;
}

.dashboard-copy
{
    padding: 30px;
}

.fake-dashboard
{
    position: relative;

    padding: 28px;

    border-radius: 32px;

    background:
        linear-gradient(180deg, rgba(15,23,42,0.94), rgba(2,6,23,0.88));

    border: 1px solid rgba(96,165,250,0.28);

    box-shadow:
        0 30px 110px rgba(0,0,0,0.55),
        0 0 80px rgba(37,99,235,0.16);

    overflow: hidden;
}

.fake-dashboard::before
{
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(120deg, transparent, rgba(96,165,250,0.09), transparent);

    transform: translateX(-100%);

    animation: scan 6s infinite;
}

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

    45%,
    100%
    {
        transform: translateX(100%);
    }
}

.fake-topbar
{
    display: flex;
    gap: 8px;

    margin-bottom: 24px;
}

.fake-topbar span
{
    width: 12px;
    height: 12px;

    border-radius: 999px;

    background: rgba(148,163,184,0.7);
}

.fake-dashboard h4
{
    position: relative;

    margin: 0 0 24px;

    font-size: 34px;
}

.fake-row
{
    position: relative;

    display: flex;
    justify-content: space-between;
    gap: 20px;

    padding: 16px 0;

    border-bottom: 1px solid rgba(255,255,255,0.08);

    color: #cbd5e1;
}

.fake-row strong
{
    color: #ffffff;
}

.fake-alert
{
    position: relative;

    margin-top: 22px;

    padding: 16px;

    border-radius: 18px;

    background: rgba(34,197,94,0.12);

    border: 1px solid rgba(74,222,128,0.26);

    color: #bbf7d0;

    font-weight: bold;
}

.world-grid
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;

    max-width: 1280px;

    margin: 0 auto 80px;

    padding: 0 40px;
}

.world-card
{
    padding: 28px;

    min-height: 230px;

    border-radius: 28px;

    background: rgba(255,255,255,0.04);

    border: 1px solid rgba(255,255,255,0.07);

    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.world-card strong
{
    display: block;

    margin-bottom: 16px;

    font-size: 24px;
}

.world-card p
{
    color: #cbd5e1;

    line-height: 1.75;
}

.final-cta
{
    position: relative;

    overflow: hidden;

    max-width: 1180px;

    margin: 40px auto 100px;

    padding: 80px 40px;

    border-radius: 38px;

    text-align: center;

    background:
        radial-gradient(circle at top, rgba(37,99,235,0.32), transparent 45%),
        linear-gradient(180deg, rgba(15,23,42,0.92), rgba(2,6,23,0.96));

    border: 1px solid rgba(96,165,250,0.28);

    box-shadow: 0 34px 120px rgba(0,0,0,0.52);
}

.final-cta .hero-buttons
{
    margin-top: 36px;
}

@media screen and (max-width: 980px)
{
    .feature-showcase,
    .dashboard-preview,
    .world-grid
    {
        grid-template-columns: 1fr;

        padding-left: 18px;
        padding-right: 18px;
    }

    .dashboard-preview
    {
        gap: 24px;
    }

    .fake-dashboard
    {
        width: 100%;
    }

    .hero-mini-stats
    {
        grid-template-columns: 1fr;
    }

    .next-card
    {
        min-height: auto;
    }
}

@media screen and (max-width: 768px)
{
    .hero-content-premium h1
    {
        letter-spacing: -2px;
    }

    .next-section
    {
        padding: 70px 18px 35px;
    }

    .next-section p,
    .dashboard-copy p,
    .final-cta p
    {
        font-size: 17px;
    }

    .next-card
    {
        padding: 26px;

        border-radius: 26px;
    }

    .next-card h3
    {
        font-size: 32px;
    }

    .dashboard-copy
    {
        padding: 0;
    }

    .final-cta
    {
        margin: 20px 14px 70px;
        padding: 45px 20px;
        border-radius: 26px;
    }
}
