/* =========================================================
   KA3 FINANCE — STYLE.CSS
   Arquivo padrão de estilos do app Quiz
   ========================================================= */


/* =========================================================
   1. BASE
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;

    background:
        radial-gradient(circle at top left, #f3e8ff 0%, transparent 30%),
        radial-gradient(circle at bottom right, #ede9fe 0%, transparent 30%),
        #f8f6fb;

    color: #222;
}

p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

h1,
h2,
h3,
h4,
h5 {
    color: #4c1164;
}


/* =========================================================
   2. COMPONENTES GERAIS
   ========================================================= */

.tag-topo {
    display: inline-block;
    background: #efe5f8;
    color: #4c1164;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: bold;
}

.text-purple {
    color: #5A1785;
}


/* =========================================================
   3. BOTÕES
   ========================================================= */

.botao {
    display: inline-block;
    background: linear-gradient(135deg, #4c1164, #6d1c8f);
    color: white !important;
    text-decoration: none;
    padding: 18px 36px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(76, 17, 100, 0.20);
    text-align: center;
}

.botao:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(76, 17, 100, 0.28);
    color: white !important;
}

.botao-whatsapp {
    display: inline-block;
    background-color: #2E9E5B;
    color: white !important;
    text-decoration: none;
    border-radius: 16px;
    padding: 18px 36px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 28px;
    box-shadow: 0 12px 24px rgba(46, 158, 91, 0.25);
    transition: 0.3s;
    text-align: center;
}

.botao-whatsapp:hover {
    background-color: #257f49;
    color: white !important;
    transform: translateY(-2px);
}


/* =========================================================
   4. HOME / HERO
   ========================================================= */

.hero {
    max-width: 1200px;
    margin: auto;
    padding: 40px 30px 120px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
}

.hero-texto {
    text-align: left;
}

.hero-texto h1 {
    font-size: 64px;
    line-height: 1.1;
    color: #4c1164;
    margin: 20px 0;
}

.hero-texto p {
    font-size: 22px;
    line-height: 1.7;
    color: #666;
    max-width: 700px;
}

.hero-box {
    background: linear-gradient(135deg, #4c1164, #151284);
    color: white;
    padding: 50px;
    border-radius: 30px;
    text-align: left;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.hero-box h3 {
    font-size: 32px;
    line-height: 1.4;
    color: white;
}

.hero-box p {
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    margin-top: 20px;
}


/* =========================================================
   5. FORMULÁRIOS
   ========================================================= */

form {
    background: white;
    max-width: 600px;
    margin: 50px auto;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

form p {
    text-align: left;
}

input {
    width: 100%;
    padding: 16px;
    margin-top: 10px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 16px;
}


/* =========================================================
   6. NAVBAR
   ========================================================= */

.navbar {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 25px 30px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #4c1164;
}

.menu {
    display: flex;
    gap: 30px;
}

.menu a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: 0.3s;
}

.menu a:hover {
    color: #4c1164;
}

.botao-nav {
    background: #4c1164;
    color: white;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: bold;
    transition: 0.3s;
}

.botao-nav:hover {
    background: #151284;
    color: white;
}


/* =========================================================
   7. CARDS GERAIS
   ========================================================= */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: white;
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 420px;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.10);
}

.card h3 {
    font-size: 28px;
    color: #4c1164;
    margin-bottom: 20px;
}

.card p {
    font-size: 18px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 30px;
    flex-grow: 1;
}

.card .botao {
    margin-top: auto;
}


/* =========================================================
   8. RESULTADO DO DIAGNÓSTICO
   ========================================================= */

.resultado-card {
    background: white;
    max-width: 900px;
    margin: 50px auto;
    padding: 50px;
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
}

.resultado-card h1 {
    color: #4c1164;
    font-size: 46px;
    margin: 24px 0;
}

.resultado-descricao {
    max-width: 760px;
    margin: 0 auto 40px;
}

.resultado-section {
    margin-top: 45px;
}

.resultado-section h2 {
    color: #4c1164;
    font-size: 34px;
    margin-bottom: 30px;
}

.pilar {
    text-align: left;
    margin-bottom: 22px;
}

.pilar h5 {
    color: #222;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.progress {
    height: 30px;
    border-radius: 999px;
    background-color: #e9ecef;
    overflow: hidden;
}

.progress-bar {
    background-color: #5A1785 !important;
    font-weight: bold;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin: 55px 0 35px;
}

.insight-card {
    background: white;
    border-radius: 24px;
    padding: 40px 28px;
    min-height: 310px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.07);
    border: 1px solid #f1e8f8;
}

.insight-card h4 {
    color: #222;
    font-size: 24px;
    margin-bottom: 18px;
}

.insight-card h3 {
    color: #3b7299;
    font-size: 32px;
    margin-bottom: 22px;
}

.insight-card p {
    font-size: 18px;
    color: #555;
}

.resultado-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 35px;
}

.resultado-actions .botao,
.resultado-actions .botao-whatsapp {
    width: 100%;
    max-width: 620px;
}


/* =========================================================
   9. SEÇÕES DA HOME
   ========================================================= */

.beneficios,
.publico,
.conteudos,
.newsletter {
    margin-top: 120px;
}

.beneficios-topo,
.publico-topo,
.conteudos-topo {
    text-align: center;
    margin-bottom: 60px;
}

.beneficios-topo h2,
.publico-topo h2,
.conteudos-topo h2,
.newsletter-box h2 {
    font-size: 52px;
    line-height: 1.2;
    color: #4c1164;
    margin-top: 25px;
}

.beneficios-grid,
.publico-grid,
.conteudos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 30px;
}

.beneficio-card,
.conteudo-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.beneficio-card:hover,
.conteudo-card:hover {
    transform: translateY(-6px);
}

.beneficio-card h3,
.conteudo-card h3 {
    color: #4c1164;
    font-size: 28px;
    margin-bottom: 20px;
}

.publico-card {
    background: linear-gradient(135deg, #4c1164, #151284);
    color: white;
    padding: 40px;
    border-radius: 24px;
    transition: 0.3s;
    box-shadow: 0 15px 40px rgba(76,17,100,0.15);
}

.publico-card:hover {
    transform: translateY(-6px);
}

.publico-card h3 {
    color: white;
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 20px;
}

.publico-card p {
    color: rgba(255,255,255,0.85);
}

.cta-final {
    margin-top: 120px;
    margin-bottom: 120px;
}

.cta-box {
    background: linear-gradient(135deg, #4c1164, #151284);
    color: white;
    padding: 90px 60px;
    border-radius: 36px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(76,17,100,0.20);
}

.cta-box h2 {
    color: white;
    font-size: 58px;
    line-height: 1.15;
    margin: 30px auto;
    max-width: 850px;
}

.cta-box p {
    font-size: 22px;
    color: rgba(255,255,255,0.85);
    max-width: 800px;
    margin: 0 auto 40px;
}

.cta-box .botao {
    background: white;
    color: #4c1164 !important;
}

.newsletter {
    margin-bottom: 120px;
}

.newsletter-box {
    background: white;
    padding: 80px 60px;
    border-radius: 36px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}


/* =========================================================
   10. FOOTER
   ========================================================= */

.footer {
    background: #1f1630;
    color: white;
    padding: 80px 40px 40px;
    margin-top: 120px;
    border-radius: 36px 36px 0 0;
}

.footer-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-brand h3 {
    color: white;
    font-size: 36px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    max-width: 400px;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 22px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin-bottom: 14px;
}

.footer-links a:hover {
    color: white;
}

.footer-copy {
    text-align: center;
    margin-top: 60px;
    color: rgba(255,255,255,0.5);
    font-size: 15px;
}


/* =========================================================
   11. RESPONSIVO
   ========================================================= */

@media (max-width: 900px) {

    .navbar {
        flex-direction: column;
        gap: 20px;
    }

    .menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-texto {
        text-align: center;
    }

    .hero-texto h1 {
        font-size: 42px;
    }

    .hero-box {
        padding: 40px 28px;
    }

    .cta-box {
        padding: 60px 30px;
    }

    .cta-box h2,
    .newsletter-box h2,
    .beneficios-topo h2,
    .publico-topo h2,
    .conteudos-topo h2 {
        font-size: 38px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .resultado-card {
        margin: 30px 16px;
        padding: 32px 22px;
    }

    .resultado-card h1 {
        font-size: 34px;
    }

    .insights-grid {
        grid-template-columns: 1fr;
    }

    .insight-card {
        min-height: auto;
    }
}

@media (max-width: 520px) {

    p {
        font-size: 16px;
    }

    .botao,
    .botao-whatsapp {
        width: 100%;
        padding: 16px 20px;
        font-size: 16px;
    }

    .resultado-card {
        padding: 28px 18px;
    }

    .resultado-section h2 {
        font-size: 28px;
    }

    .insight-card h3 {
        font-size: 28px;
    }
}