/* ===== 1. Cores da marca ===== */
:root {
    --grafite-escuro: #0a0b0e;
    --grafite: #16191f;
    --grafite-claro: #252a32;
    --laranja: #ff8a1e;
    --ambar: #ffb347;
    --texto: #e8e8ea;
    --texto-suave: #9aa0a8;
}

/* ===== 2. Zerando o padrão do navegador ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== 3. Base ===== */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--grafite-escuro);
    color: var(--texto);
    font-family: system-ui, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
}

a {
    color: var(--laranja);
    text-decoration: none;
}

a:hover {
    color: var(--ambar);
}

/* ===== 4. Cabeçalho ===== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background-color: var(--grafite);
    border-bottom: 2px solid var(--laranja);
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--laranja);
}

header nav ul {
    display: flex;
    gap: 24px;
    list-style: none;
}

header nav a {
    color: var(--texto);
    font-weight: 600;
}

header nav a:hover {
    color: var(--laranja);
}

/* ===== 5. Seções ===== */
section {
    max-width: 960px;
    margin: 0 auto;
    padding: 64px 24px;
    scroll-margin-top: 80px;
}

h1, h2, h3 {
    line-height: 1.2;
}

h2 {
    color: var(--laranja);
    margin-bottom: 16px;
}

p {
    margin-bottom: 12px;
}

/* ===== 6. Botão ===== */
.botao {
    display: inline-block;
    background-color: var(--laranja);
    color: var(--grafite-escuro);
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
    transition: transform 0.2s, background-color 0.2s;
}

.botao:hover {
    background-color: var(--ambar);
    color: var(--grafite-escuro);
    transform: translateY(-2px);
}

/* ===== 7. Destaque (hero) ===== */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.2rem, 7vw, 4rem);
    margin-bottom: 12px;
}

.hero p {
    color: var(--texto-suave);
    font-size: 1.15rem;
    margin-bottom: 28px;
}

/* ===== 8. Cards dos jogos ===== */
.grade-jogos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.card {
    background-color: var(--grafite);
    border: 1px solid var(--grafite-claro);
    border-radius: 12px;
    padding: 24px;
}

.card h3 {
    margin-bottom: 8px;
}

.card p {
    color: var(--texto-suave);
}

/* ===== 9. Rodapé ===== */
footer {
    text-align: center;
    padding: 32px 24px;
    border-top: 1px solid var(--grafite-claro);
    color: var(--texto-suave);
    font-size: 0.9rem;
}

/* ===== 10. Vídeo da logo ===== */
.hero-video {
    width: min(90vw, 560px);
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 0 30px rgba(255, 138, 30, 0.25);
}

/* ===== 11. Botão do menu (escondido no PC) ===== */
.menu-botao {
    display: none;
    background: none;
    border: none;
    color: var(--laranja);
    font-size: 1.8rem;
    cursor: pointer;
}

/* ===== 12. Página de texto (privacidade) ===== */
.texto h1 {
    color: var(--laranja);
    margin-bottom: 8px;
}

.texto h2 {
    font-size: 1.2rem;
    margin-top: 32px;
    margin-bottom: 8px;
}

.texto ul {
    padding-left: 20px;
    margin-bottom: 12px;
}

/* ===== 13. Celular (sempre por último) ===== */
@media (max-width: 600px) {
    header {
        flex-wrap: wrap;
    }

    .menu-botao {
        display: block;
    }

    header nav {
        display: none;
        width: 100%;
    }

    header nav.aberto {
        display: block;
    }

    header nav ul {
        flex-direction: column;
        gap: 0;
        padding-top: 12px;
    }

    header nav a {
        display: block;
        padding: 12px 0;
        border-top: 1px solid var(--grafite-claro);
    }

    section {
        padding: 48px 20px;
    }
}