:root {
    --bg: #020617;
    --card: #020617;
    --primary: #3b82f6;
    --text: #e5e7eb;
    --muted: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, sans-serif;
}

body {
    background: radial-gradient(circle at top left, #0f172a, #020617 70%);
    color: var(--text);
}

/* HERO */
.top {
    padding: 140px 20px;
    text-align: center;
}

.hero {
    max-width: 900px;
    margin: auto;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--muted);
}

.hero-actions {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 14px 30px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 500;
}

.btn.primary {
    background: var(--primary);
    color: #020617;
}

.btn.outline {
    border: 1px solid var(--primary);
    color: var(--primary);
}

/* CONTEÚDO */
.content {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

section {
    padding: 90px 0;
}

.info h2,
.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.info p {
    line-height: 1.7;
    max-width: 750px;
}

.info.dark {
    background: rgba(59, 130, 246, .06);
    padding: 50px;
    border-radius: 22px;
}

.steps {
    margin-top: 20px;
    list-style: none;
}

.steps li {
    margin-bottom: 10px;
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, .45);
    transition: transform .35s ease, box-shadow .35s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, .6);
}

.card h3 {
    color: var(--primary);
    margin-bottom: 12px;
}

/* CTA */
.cta {
    text-align: center;
}

.cta p {
    color: var(--muted);
}

/* FOOTER */
.footer {
    padding: 50px 20px;
    text-align: center;
    color: var(--muted);
}

/* BOT */
.chat-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: #020617;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
    z-index: 999;
}

.chat-box {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 340px;
    height: 440px;
    background: #020617;
    border-radius: 20px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .6);
    z-index: 999;
}

.chat-header {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.chat-messages {
    padding: 16px;
    flex: 1;
    overflow-y: auto;
}

.bot-msg {
    background: rgba(59, 130, 246, .15);
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.user-msg {
    background: #020617;
    border: 1px solid rgba(255, 255, 255, .06);
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 10px;
    text-align: right;
}

.chat-input {
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.chat-input input {
    flex: 1;
    padding: 14px;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 16px;
}

.chat-input button {
    padding: 14px 18px;
    background: var(--primary);
    border: none;
    cursor: pointer;
}

/* ==============================
   📱 RESPONSIVIDADE MOBILE TOTAL
   ============================== */
@media (max-width: 768px) {

    /* CONTAINER GERAL */
    body {
        overflow-x: hidden;
    }

    /* HERO */
    .top {
        padding: 100px 20px 80px;
    }

    .hero {
        max-width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.1rem;
        line-height: 1.25;
        margin-bottom: 16px;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-actions {
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .btn {
        width: 100%;
        font-size: 1rem;
        padding: 14px 20px;
        text-align: center;
    }

    /* CONTEÚDO */
    .content {
        padding: 0 20px;
    }

    section {
        padding: 70px 0;
    }

    section h2 {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .info p {
        font-size: .95rem;
        line-height: 1.65;
    }

    .info.dark {
        padding: 35px 25px;
    }

    /* LISTAS / PASSOS */
    .steps li {
        font-size: .95rem;
        line-height: 1.6;
    }

    /* CARDS */
    .cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card {
        padding: 28px;
    }

    .card h3 {
        font-size: 1.15rem;
    }

    .card p {
        font-size: .95rem;
        line-height: 1.6;
    }

    /* CTA */
    .cta {
        padding: 70px 20px;
    }

    .cta h2 {
        font-size: 1.7rem;
    }

    .cta p {
        font-size: .95rem;
        line-height: 1.6;
    }

    /* FOOTER */
    .footer {
        font-size: .9rem;
        padding: 40px 20px;
    }

    /* BOT (MANTÉM FLUTUANTE) */
    .chat-btn {
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
        bottom: 18px;
        right: 18px;
    }

    .chat-box {
        width: 300px;
        height: 400px;
        right: 12px;
        bottom: 90px;
    }

    .chat-header {
        padding: 14px;
        font-size: .95rem;
    }

    .chat-messages {
        padding: 14px;
    }

    .bot-msg,
    .user-msg {
        font-size: .9rem;
        line-height: 1.5;
    }

    .chat-input input {
        font-size: 16px;
        /* evita zoom no mobile */
        padding: 12px;
    }

    .chat-input button {
        padding: 12px 16px;
        font-size: .95rem;
    }
}

/* 📱 TELAS MUITO PEQUENAS */
@media (max-width: 480px) {

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero p {
        font-size: .95rem;
    }

    section h2 {
        font-size: 1.45rem;
    }

    .chat-box {
        width: 280px;
        height: 380px;
    }
}