/* ===================== */
/* Reset & Body          */
/* ===================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #000000;
    --bg-card: #0c0c0c;
    --orange: #ff5a1e;
    --orange-light: #ff8a4c;
    --orange-glow: rgba(255, 90, 30, 0.55);
    --text: #f5f5f5;
    --text-dim: #b8b8b8;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, Tahoma, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden; /* verrouillé tant que l'user n'a pas cliqué IGEN */
}

body.unlocked {
    overflow-y: auto;
}

/* ===================== */
/* Background & Overlay   */
/* ===================== */
#HeroBack {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.72);
    z-index: 1;
}

/* ===================== */
/* Navbar                 */
/* ===================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 28px;
    z-index: 50;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 1.25rem;
    font-weight: 800;
}

.nav-flame {
    font-size: 1.15rem;
    line-height: 1;
    filter: drop-shadow(0 0 8px var(--orange-glow));
}

.nav-brand { color: #fff; letter-spacing: 0.3px; }

.nav-login {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 9px 20px;
    border: 1.5px solid var(--orange);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}

.nav-login:hover {
    background: var(--orange);
    box-shadow: 0 4px 18px rgba(255, 90, 30, 0.4);
}

/* Section héro : premier 100vh transparent (laisse voir le fond) */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.hero-inner {
    max-width: 720px;
}

.hero-title {
    font-size: 2.9rem;
    font-weight: 900;
    line-height: 1.08;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f0f0f0;
    text-shadow: 0 0 22px rgba(0, 0, 0, 0.6);
    margin-bottom: 18px;
}

.hero-title .o {
    color: var(--orange);
    text-shadow: 0 0 22px var(--orange-glow);
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--text-dim);
    margin-bottom: 30px;
}

.hero-cta {
    display: inline-block;
    padding: 16px 48px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--orange-light), var(--orange));
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 90, 30, 0.5);
}

/* ===================== */
/* Disclaimer Modal       */
/* ===================== */
#Disclaimer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 20px;
    transition: opacity 0.3s ease;
}

.disc-content {
    background: radial-gradient(120% 120% at 50% 0%, #1a1108 0%, #0c0c0c 55%, #050505 100%);
    border: 1px solid rgba(255, 90, 30, 0.35);
    border-radius: 18px;
    box-shadow:
        0 10px 50px rgba(0, 0, 0, 0.7),
        0 0 70px rgba(255, 90, 30, 0.12);
    padding: 40px 38px 34px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    animation: popIn 0.4s ease-out;
}

/* Logo flamme + marque */
.disc-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 22px;
}

.disc-flame {
    font-size: 1.6rem;
    line-height: 1;
    filter: drop-shadow(0 0 8px var(--orange-glow));
}

.disc-brand {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.3px;
}

/* Barre de progression */
.disc-progress-label {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.progress-track {
    width: 100%;
    height: 8px;
    background: #ffffff;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 34px;
}

.progress-fill {
    height: 100%;
    width: 5%;
    background: linear-gradient(90deg, var(--orange-light), var(--orange));
    border-radius: 999px;
    box-shadow: 0 0 10px var(--orange-glow);
}

/* Titre principal (P, pas de Hn) */
.disc-heading {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 28px;
}

.disc-heading .o {
    color: var(--orange);
    text-shadow: 0 0 18px var(--orange-glow);
}

.disc-heading .w {
    color: #f0f0f0;
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.25);
}

/* Question */
.disc-question {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 22px;
}

/* Bouton IGEN */
.disc-confirm {
    display: inline-block;
    min-width: 150px;
    padding: 14px 44px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--orange-light), var(--orange));
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.disc-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(255, 90, 30, 0.45);
}

/* Lien quitter */
.disc-leave {
    margin-top: 18px;
}

.disc-leave span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
}

.disc-leave span:hover {
    color: #fff;
}

/* ===================== */
/* Animation              */
/* ===================== */
@keyframes popIn {
    0% { opacity: 0; transform: scale(0.92); }
    100% { opacity: 1; transform: scale(1); }
}

/* ===================== */
/* Contenu (sous 100vh)   */
/* ===================== */
.content {
    position: relative;
    z-index: 3;
    background: var(--bg);
    padding: 60px 20px 80px;
}

.content article {
    max-width: 820px;
    margin: 0 auto;
    line-height: 1.8;
}

.content h1 {
    font-size: 2rem;
    margin-bottom: 22px;
    color: #fff;
    line-height: 1.2;
}

.content h1 .o { color: var(--orange); }

.content h2 {
    font-size: 1.5rem;
    margin: 36px 0 16px;
    color: var(--orange);
}

.content h3 {
    font-size: 1.2rem;
    margin: 26px 0 12px;
    color: var(--orange-light);
}

.content p {
    margin-bottom: 16px;
    color: var(--text-dim);
}

.content strong { color: #fff; }

.content ul, .content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.content li {
    margin-bottom: 8px;
    color: var(--text-dim);
}

.content blockquote {
    border-left: 3px solid var(--orange);
    padding: 12px 20px;
    margin: 22px 0;
    background: rgba(255, 90, 30, 0.06);
    border-radius: 0 8px 8px 0;
    color: #ddd;
}

.content table {
    width: 100%;
    border-collapse: collapse;
    margin: 22px 0;
}

.content th, .content td {
    padding: 12px;
    border: 1px solid #2a2a2a;
    text-align: left;
}

.content th {
    background: #161616;
    color: #fff;
}

.content td { color: var(--text-dim); }

/* CTA inline dans le contenu */
.cta-redirect {
    display: inline-block;
    margin: 10px 0;
    padding: 14px 40px;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--orange-light), var(--orange));
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-redirect:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(255, 90, 30, 0.45);
}

/* ===================== */
/* Responsive             */
/* ===================== */
@media screen and (max-width: 600px) {
    .disc-content {
        padding: 32px 22px 28px;
    }

    .disc-heading {
        font-size: 1.9rem;
    }

    .disc-question {
        font-size: 1.05rem;
    }

    .disc-brand {
        font-size: 1.2rem;
    }

    .content h1 { font-size: 1.6rem; }
    .content h2 { font-size: 1.3rem; }

    .navbar { padding: 12px 16px; }
    .nav-logo { font-size: 1.05rem; }
    .nav-login { padding: 8px 14px; font-size: 0.8rem; }
    .hero-title { font-size: 1.9rem; }
    .hero-sub { font-size: 0.92rem; }
    .hero-cta { padding: 14px 38px; font-size: 1rem; }
}
