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

:root {
    --fire: #f26522;
    --fire-2: #ff8a1e;
    --fire-glow: rgba(242, 101, 34, 0.45);
    --bg: #0a0708;
    --bg-2: #140b09;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg);
    color: #f0f0f0;
    width: 100%;
    min-height: 100vh;
}

/* Scroll bloqué tant que le gate n'est pas passé */
body.locked {
    overflow: hidden;
    height: 100vh;
}

/* ===================== */
/* HERO (100vh)          */
/* ===================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(242,101,34,0.20) 0%, rgba(242,101,34,0.05) 32%, transparent 60%),
        radial-gradient(80% 60% at 50% 100%, rgba(255,138,30,0.10) 0%, transparent 55%),
        linear-gradient(180deg, #150c09 0%, #0a0708 55%, #060404 100%);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 4, 4, 0.35);
    z-index: 1;
}

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

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

.nav-flame { font-size: 1.15rem; filter: drop-shadow(0 0 6px var(--fire-glow)); }
.nav-name { color: #fff; }
.nav-name-alt { color: var(--fire); }

.nav-login {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1.5px;
    padding: 8px 18px;
    border: 1px solid rgba(242,101,34,0.7);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}
.nav-login:hover { background: var(--fire); color: #fff; box-shadow: 0 0 18px var(--fire-glow); }

/* Hero content */
.hero-inner {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    gap: 26px;
}

.hero-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: 700;
    font-style: italic;
}
.hero-flame { font-size: clamp(1.6rem, 5vw, 2.4rem); filter: drop-shadow(0 0 12px var(--fire-glow)); }
.hero-brand { color: #fff; }
.hero-brand-alt {
    background: linear-gradient(90deg, var(--fire), var(--fire-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Loading bar (déco) */
.hero-bar {
    width: min(80%, 620px);
    height: 8px;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    overflow: hidden;
}
.hero-bar-fill {
    display: block;
    height: 100%;
    width: 5%;
    background: linear-gradient(90deg, var(--fire), var(--fire-2));
    border-radius: 20px;
    animation: fill 2.6s ease-in-out infinite alternate;
}
@keyframes fill { 0% { width: 5%; } 100% { width: 92%; } }

/* Big title */
.hero-title {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 14px;
    font-size: clamp(2rem, 8vw, 4.6rem);
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1.05;
    text-shadow: 0 0 30px rgba(0,0,0,0.6);
}
.t-orange {
    background: linear-gradient(90deg, var(--fire), var(--fire-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.t-white { color: #fff; }

/* Hero CTA (visible quand le modal est fermé) */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    padding: 16px 40px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--fire-2), var(--fire));
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 8px 28px var(--fire-glow);
    transition: transform 0.2s, box-shadow 0.2s;
    animation: ctaPulse 2s ease-in-out infinite;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 34px var(--fire-glow); }
.hero-cta .arrow { font-size: 1.25rem; }

.hero-note {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.5px;
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 8px 28px var(--fire-glow); }
    50% { box-shadow: 0 8px 40px rgba(242,101,34,0.7); }
}

/* ===================== */
/* Blocking Gate Modal   */
/* ===================== */
#Gate {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 4, 4, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1000;
    padding: 20px;
}

.gate-content {
    position: relative;
    background: linear-gradient(160deg, #1c110c 0%, #150c09 55%, #0d0705 100%);
    border: 1px solid rgba(242,101,34,0.55);
    border-radius: 18px;
    box-shadow:
        0 10px 50px rgba(0,0,0,0.6),
        0 0 60px rgba(242,101,34,0.18);
    padding: 40px 34px 30px;
    max-width: 460px;
    width: 100%;
    text-align: center;
    animation: popIn 0.4s ease-out;
}

.gate-brand {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
}
.gate-flame { filter: drop-shadow(0 0 8px var(--fire-glow)); }
.gate-brand-alt {
    background: linear-gradient(90deg, var(--fire), var(--fire-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gate-lead {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 12px;
}
.gate-sub {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
    margin-bottom: 24px;
}
.gate-question {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--fire-2);
    margin-bottom: 22px;
}

.gate-confirm {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--fire-2), var(--fire));
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.gate-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--fire-glow);
}
.gate-confirm .arrow { font-size: 1.25rem; }

.gate-leave { margin-top: 16px; }
.gate-leave span {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
}
.gate-leave span:hover { color: #fff; }

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

/* ===================== */
/* SEO Content           */
/* ===================== */
.seo-content {
    background: linear-gradient(180deg, #060404 0%, #0d0806 100%);
    padding: 20px;
}

article {
    max-width: 820px;
    margin: 0 auto;
    padding: 60px 20px 80px;
    line-height: 1.8;
}

article h1 {
    font-size: clamp(1.8rem, 5vw, 2.4rem);
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--fire), var(--fire-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}
article h2 {
    font-size: 1.5rem;
    margin: 38px 0 16px;
    color: var(--fire);
}
article h3 {
    font-size: 1.2rem;
    margin: 26px 0 12px;
    color: var(--fire-2);
}
article p { margin-bottom: 16px; color: #cfcfcf; }
article strong { color: #fff; }
article ul, article ol { margin: 16px 0; padding-left: 24px; }
article li { margin-bottom: 8px; color: #cfcfcf; }

article table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
article th, article td {
    padding: 12px;
    border: 1px solid #3a231a;
    text-align: left;
}
article th { background: #2a1710; color: #fff; }
article td { color: #cfcfcf; }

/* ===================== */
/* Responsive            */
/* ===================== */
@media screen and (max-width: 600px) {
    .navbar { padding: 12px 16px; }
    .nav-logo { font-size: 1.05rem; }
    .gate-content { padding: 32px 22px 26px; }
    .gate-lead { font-size: 0.98rem; }
    article { padding: 44px 16px 60px; }
}
