:root {
    --color-dark-blue: #0a1628;
    --color-petrol-blue: #0d2847;
    --color-light-green: #7ed957;
    --color-dark-green: #5fb832;
    --color-white: #ffffff;
    --color-light-gray: #94a3b8;
    --color-check-green: #22c55e;
    --color-error-red: #ef4444;
    --color-card-bg: rgba(255, 255, 255, 0.05);
    --color-card-bg-dark: rgba(0, 0, 0, 0.2);
    --color-text-dark: #1e293b;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--color-dark-blue);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-light-green);
    color: var(--color-dark-blue);
}

.btn-primary:hover {
    background-color: var(--color-dark-green);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-light-green);
    border-color: var(--color-light-green);
}

.btn-secondary:hover {
    background-color: var(--color-light-green);
    color: var(--color-dark-blue);
}

/* Removido regra .btn-whatsapp::before */

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background-color: var(--color-petrol-blue);
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4); /* Escurecimento */
    z-index: 2; /* Abaixo do conteúdo (z-index: 10) e acima do fundo */
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-light-green);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 4em;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 900;
}

.hero h1 span {
    color: var(--color-light-green);
}

.hero p {
    color: var(--color-light-gray);
    margin-bottom: 30px;
    font-size: 1.1em;
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

.hero-mascot {
    position: absolute;
    right: 50px;
    bottom: 0;
    width: 400px; /* Ajustar conforme necessário */
    z-index: 5;
}

.hero-mascot img {
    width: 100%;
    height: auto;
}

/* Seções */
section {
    padding: 100px 0;
    text-align: center;
}

.section-title {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 800;
}

.section-subtitle {
    color: var(--color-light-gray);
    margin-bottom: 50px;
}

/* Seção Problema */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.problem-card {
    background-color: var(--color-card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: left;
    min-height: 200px;
}

.problem-card h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.problem-card p {
    color: var(--color-light-gray);
}

/* Seção Comparação */
.comparison-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
}

.comparison-card {
    background-color: var(--color-card-bg-dark);
    padding: 40px;
    border-radius: 15px;
    width: 45%;
    text-align: left;
}

.comparison-card h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.comparison-card ul {
    list-style: none;
    text-align: left; /* Garantir alinhamento à esquerda */
}

.comparison-card li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    text-align: left; /* Garantir alinhamento à esquerda */
}

.comparison-card .icon-x {
    color: var(--color-error-red);
    margin-right: 10px;
    font-weight: bold;
}

.comparison-card .icon-check {
    color: var(--color-check-green);
    margin-right: 10px;
    font-weight: bold;
}

.comparison-card.no-zapicash h3 {
    color: var(--color-error-red);
}

.comparison-card.with-zapicash h3 {
    color: var(--color-check-green);
}

/* Seção Como Funciona */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.how-it-works-card {
    padding: 30px;
    border-radius: 15px;
}

.how-it-works-card .icon {
    font-size: 3em;
    color: var(--color-light-green);
    margin-bottom: 20px;
}

.how-it-works-card h4 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.how-it-works-card p {
    color: var(--color-light-gray);
}

/* Seção Dashboard */
.dashboard-content {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 50px;
}

.dashboard-text {
    flex: 1;
}

.dashboard-text ul {
    list-style: none;
    margin-top: 30px;
    text-align: left; /* Garantir alinhamento à esquerda */
}

.dashboard-text li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    text-align: left; /* Garantir alinhamento à esquerda */
}

.dashboard-text li .icon {
    font-size: 1.5em;
    color: var(--color-light-green);
    margin-right: 15px;
}

.dashboard-image {
    flex: 1;
}

.dashboard-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Seção Planos */
.plans-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.plan-card {
    background-color: var(--color-card-bg-dark);
    padding: 40px;
    border-radius: 15px;
    width: 400px;
    text-align: left;
    position: relative;
    border: 2px solid transparent;
}

.plan-card.highlight {
    border-color: var(--color-light-green);
}

.plan-card .badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--color-light-green);
    color: var(--color-dark-blue);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
}

.plan-card h4 {
    font-size: 1.5em;
    margin-bottom: 5px;
    color: var(--color-light-gray);
}

.plan-card .price {
    font-size: 3em;
    font-weight: 900;
    margin-bottom: 20px;
}

.plan-card .price small {
    font-size: 0.5em;
    font-weight: normal;
    color: var(--color-light-gray);
}

.plan-card ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left; /* Garantir alinhamento à esquerda */
}

.plan-card li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--color-light-gray);
    text-align: left; /* Garantir alinhamento à esquerda */
}

.plan-card li .icon-check {
    color: var(--color-check-green);
    margin-right: 10px;
    font-weight: bold;
}

.plan-info {
    margin-top: 30px;
    color: var(--color-light-gray);
    font-size: 0.9em;
}

/* Seção FAQ */
.faq-section {
    background-color: var(--color-dark-blue);
}

.faq-list {
    max-width: 800px;
    margin: 50px auto 0;
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-top: 0;
    color: var(--color-light-gray);
}

.faq-answer.open {
    max-height: 500px; /* Valor grande o suficiente */
    padding-top: 15px;
}

/* Seção CTA Final */
.cta-final {
    background-color: var(--color-light-green);
    padding: 80px 0;
    color: var(--color-dark-blue);
    position: relative;
    overflow: hidden;
}

.cta-final h2 {
    font-size: 3em;
    font-weight: 900;
    margin-bottom: 20px;
}

.cta-final p {
    font-size: 1.2em;
    margin-bottom: 40px;
}

.cta-final .btn-dark {
    background-color: var(--color-dark-blue);
    color: var(--color-white);
    border: 2px solid var(--color-dark-blue);
}

.cta-final .btn-dark:hover {
    background-color: var(--color-petrol-blue);
}

/* Footer */
footer {
    background-color: var(--color-dark-blue);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
}

.footer-logo img {
    width: 40px;
    margin-right: 10px;
}

.footer-links a {
    margin-left: 20px;
    color: var(--color-light-gray);
}

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

.footer-copyright {
    color: var(--color-light-gray);
    font-size: 0.9em;
}

/* Página de Obrigado */
.thank-you-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--color-petrol-blue);
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    position: relative;
}

.thank-you-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4); /* Escurecimento */
    z-index: 1;
}

.thank-you-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 20px;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.thank-you-icon {
    font-size: 3em;
    color: var(--color-check-green);
    margin-bottom: 20px;
    border: 3px solid var(--color-check-green);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.thank-you-card h2 {
    font-size: 2em;
    margin-bottom: 15px;
}

.thank-you-card p {
    color: var(--color-light-gray);
    margin-bottom: 30px;
}

.next-step-box {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.next-step-box h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.next-step-box p {
    margin-bottom: 20px;
}

.back-link {
    margin-top: 20px;
    display: block;
    color: var(--color-light-gray);
}

.back-link:hover {
    color: var(--color-white);
}

/* Font Awesome Placeholder (Para ícones) */
/* Em um projeto real, seria necessário incluir a biblioteca Font Awesome */
.icon-whatsapp::before { content: ""; }
.icon-lightning::before { content: ""; }
.icon-grid::before { content: ""; }
.icon-shield::before { content: ""; }
.icon-check::before { content: ""; }
.icon-x::before { content: ""; }
.icon-arrow-right::before { content: ""; }
.icon-doc::before { content: ""; }
.icon-chart::before { content: ""; }
.icon-money::before { content: ""; }

/* Adicionando uma fonte simples para os placeholders de ícones */
@font-face {
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 900;
    font-display: auto;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-solid-900.woff2') format('woff2');
}
@font-face {
    font-family: 'Font Awesome 5 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: auto;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-brands-400.woff2') format('woff2');
}

.icon-whatsapp::before,
.icon-lightning::before,
.icon-grid::before,
.icon-shield::before,
.icon-check::before,
.icon-x::before,
.icon-arrow-right::before,
.icon-doc::before,
.icon-chart::before,
.icon-money::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

/* Removido regra .btn-whatsapp::before */

/* ==========================================================================
   Media Queries para Responsividade
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-mascot {
        width: 300px;
        right: 20px;
    }

    .dashboard-content {
        flex-direction: column;
        text-align: center;
    }

    .dashboard-text {
        order: 2;
    }

    .dashboard-image {
        order: 1;
        margin-bottom: 30px;
    }

    .dashboard-text ul {
        padding-left: 0;
    }

    .dashboard-text li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0; /* Reduz o espaçamento vertical das seções no mobile */
    }
    .hero {
        min-height: auto;
        padding-bottom: 50px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: 3em;
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-mascot {
        position: static;
        margin: 30px auto 0;
        width: 250px;
    }

    .problem-grid,
    .how-it-works-grid {
        grid-template-columns: 1fr;
    }

    .comparison-grid {
        flex-direction: column;
        gap: 30px;
    }

    .comparison-card {
        width: 100%;
    }

    .plans-grid {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .plan-card {
        width: 100%;
        max-width: 400px;
    }

    .cta-final h2 {
        font-size: 2em;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        margin-bottom: 20px;
    }

    .footer-links a {
        margin: 0 10px;
    }

    .footer-copyright {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5em;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9em;
    }

    .section-title {
        font-size: 2em;
    }

    .thank-you-card {
        padding: 30px;
    }

    .thank-you-card h2 {
        font-size: 1.5em;
    }
}
