﻿:root {
    --bg: #0b1020;
    --surface: #111735;
    --card: #151c3f;
    --text: #e8ecff;
    --muted: #b8c0ff;
    --brand: #7c9cff;
    --brand-2: #9ef0ff;
    --ok: #7cf6c4;
    --warn: #ffd36e;
    --radius: 18px;
    --shadow: 0 10px 30px rgba(0,0,0,.25);
    --maxw: 1150px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: radial-gradient(1200px 600px at 20% -10%, rgba(124,156,255,.25), transparent 60%), radial-gradient(800px 500px at 90% 0%, rgba(158,240,255,.22), transparent 60%), var(--bg);
    color: var(--text);
    line-height: 1.6;
    height: 100%;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 20px;
}


/* NAV */
header.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in oklab, var(--surface) 88%, transparent);
    border-bottom: 1px solid color-mix(in oklab, var(--text) 12%, transparent);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: .2px;
}

    .brand .logo {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        background-image: url('../images/logo.png'); /* caminho da sua imagem */
        background-size: cover; /* cobre todo o div */
        background-position: center;
        box-shadow: var(--shadow);
    }


nav a {
    opacity: .9;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 999px;
}

    /*nav a:hover {
        background: color-mix(in oklab, var(--brand) 20%, transparent);
    }*/

.nav-links {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}


.answer {
    margin-top: 8px;
    color: var(--muted);
}

main#conteudo-principal {
    padding: 40px 0; /* respiro entre nav e rodapé */
    overflow-y: auto; /* garante altura mínima */
    flex: 1;
}

footer {
    margin-top: 40px;
    background: var(--surface);
    padding: 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 3 colunas iguais */
    gap: 20px;
    align-items: start;
}

    .footer-grid iframe {
        max-width: 100%;
    }

faq {
    margin-top: 40px;
    background: var(--surface);
    padding: 20px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 colunas iguais */
    gap: 20px;
    align-items: start;
}

    .faq-grid iframe {
        max-width: 100%;
    }

.contact-box {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    max-width: 500px;
    margin: 40px auto;
}

    .contact-box h2 {
        margin-top: 0;
        margin-bottom: 16px;
        color: var(--brand);
    }

    .contact-box label {
        display: block;
        margin: 10px 0 4px;
        font-weight: 600;
        font-size: 14px;
        color: var(--text);
    }

.input {
    width: 100%;
    padding: 10px 12px;
    border-radius: var(--radius);
    border: 1px solid color-mix(in oklab, var(--text) 15%, transparent);
    background: var(--surface);
    color: var(--text);
    font-size: 14px;
    margin-bottom: 12px;
    resize:none;
}

    .input::placeholder {
        color: var(--muted);
        opacity: 0.8;
    }

.btn {
    display: inline-block;
    padding: 10px 18px;
    background: var(--brand);
    border: none;
    border-radius: var(--radius);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .btn:hover {
        background: var(--brand-2);
    }

.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

    .hero h1 {
        font-size: 3rem;
        margin-bottom: 20px;
        color: var(--brand-2);
    }

    .hero .lead {
        font-size: 1.2rem;
        margin-bottom: 30px;
        color: var(--muted);
    }

.cta {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn.ghost {
    background: transparent;
    border: 2px solid var(--brand);
    color: var(--brand);
}

.features {
    padding: 80px 20px;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.feature-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 35px rgba(0,0,0,.35);
    }

    .feature-card h3 {
        margin-top: 0;
        margin-bottom: 12px;
        color: var(--brand);
    }

.cta-final {
    text-align: center;
    padding: 80px 20px;
}

    .cta-final h2 {
        font-size: 2rem;
        margin-bottom: 12px;
    }

.margin-bottom-12 {
    margin-bottom: 12px;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--brand);
}

.section-sub {
    text-align: center;
    color: var(--muted);
    margin-bottom: 40px;
}

.topics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.topic-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 28px 22px;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .topic-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, .35);
    }

.chip {
    display: inline-block;
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 999px;
    background: color-mix(in oklab, var(--brand) 25%, transparent);
    color: var(--brand-2);
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: .2px;
}

.topic-card h3 {
    margin: 0 0 10px;
    color: var(--text);
    font-size: 1.3rem;
}

.topic-card p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.topic-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .topic-meta li {
        background: color-mix(in oklab, var(--surface) 60%, transparent);
        border-radius: 999px;
        padding: 6px 12px;
        font-size: 0.8rem;
        color: var(--brand);
        font-weight: 600;
    }

.topic-card .btn {
    align-self: start;
    margin-top: auto;
}

.quiz {
    background: var(--card);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    animation: fadeIn .3s ease;
}

    .quiz h3 {
        margin-bottom: 12px;
        color: var(--brand-2);
    }

    .quiz button {
        display: block;
        width: 100%;
        text-align: left;
        padding: 12px 15px;
        margin: 8px 0;
        background: var(--surface);
        border: 1px solid color-mix(in oklab, var(--brand) 20%, transparent);
        border-radius: var(--radius);
        color: var(--text);
        font-size: 1rem;
        cursor: pointer;
        transition: .2s;
    }

        .quiz button:hover {
            background: color-mix(in oklab, var(--brand) 15%, transparent);
        }

        .quiz button.respondido {
            pointer-events: none;
            opacity: 0.9;
        }

/* esconder suavemente */
.hide {
    display: none !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
