/* Variáveis de Cores */
:root {
    --primary-orange: #FFA500; /* Laranja vibrante */
    --secondary-black: #000000; /* Preto puro */
    --text-light: #FFFFFF; /* Texto para fundos escuros */
    --text-dark: #333333; /* Texto para fundos claros */
    --bg-dark-section: #1a1a1a; /* Um preto um pouco mais suave para seções */
    --bg-light-section: #f0f0f0; /* Um cinza claro para seções */
    --border-color: #555555; /* Cor de borda sutil */
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Rolagem suave para âncoras */
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light-section);
    -webkit-font-smoothing: antialiased; /* Para melhor renderização de fontes */
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* Header */
header {
    background-color: var(--secondary-black);
    color: var(--text-light);
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2em;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Seções Gerais */
.section {
    padding: 80px 0;
    text-align: center;
}

.section h2, .section h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 40px;
    font-size: 2.5em;
    color: var(--text-dark);
}

.section h3 {
    font-size: 2em;
}

.section.dark-bg {
    background-color: var(--bg-dark-section);
    color: var(--text-light);
}

.section.dark-bg h2, .section.dark-bg h3 {
    color: var(--text-light);
}

/* Hero Section (Seção Principal) */
.hero-section {
    background: var(--secondary-black); /* Cor de fundo */
    color: var(--text-light);
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh; /* Ocupa boa parte da altura da tela */
    text-align: center;
}

.hero-section h2 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--text-light);
}

.hero-section p {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Botão WhatsApp */
.btn-whatsapp {
    display: inline-block;
    background-color: var(--primary-orange);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 50px; /* Borda arredondada para um visual moderno */
    text-decoration: none;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.4); /* Sombra sutil */
}

.btn-whatsapp:hover {
    background-color: #ff8c00; /* Laranja um pouco mais escuro no hover */
    transform: translateY(-3px); /* Efeito de "levantar" */
}

.btn-whatsapp.large-btn {
    font-size: 1.4em;
    padding: 18px 40px;
}

/* Grids para Cards (Propostas, Passos, Benefícios) */
.proposal-grid, .steps-grid, .benefits-grid {
    display: grid;
    gap: 30px; /* Espaço entre os cards */
    margin-top: 50px;
    justify-content: center;
}

.proposal-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 3 colunas em telas maiores */
}

.steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* 3 colunas em telas maiores */
}

.benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 4 colunas em telas maiores */
}

.proposal-card, .step-card, .benefit-item {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Estilo para cards em seções com fundo escuro */
.section.dark-bg .proposal-card,
.section.dark-bg .step-card,
.section.dark-bg .benefit-item {
    background-color: #2c2c2c; /* Um cinza escuro para os cards */
    color: var(--text-light);
}

.proposal-card:hover, .step-card:hover, .benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.proposal-card h4, .step-card h4, .benefit-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4em;
    margin-bottom: 15px;
    color: var(--primary-orange); /* Títulos dos cards em laranja */
}

/* Estilo para os cards de Passo (números) */
.step-card {
    text-align: center;
    position: relative;
    padding-top: 60px; /* Espaço para o número do passo */
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-orange);
    color: var(--text-light);
    border-radius: 50%; /* Círculo perfeito */
    font-size: 2em;
    font-weight: 700;
    position: absolute;
    top: -30px; /* Posiciona o círculo acima do card */
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 10px rgba(255, 165, 0, 0.3);
}

/* Estilo para os ícones de Benefícios */
.benefit-item .icon {
    font-size: 3em;
    margin-bottom: 15px;
    color: var(--primary-orange);
    display: block;
    text-align: center;
}

/* Tabela de Preços e Porcentagens */
.pricing-table {
    margin-top: 50px;
    overflow-x: auto; /* Para tabelas responsivas em telas pequenas */
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    background-color: var(--text-light); /* Fundo branco para a tabela */
    color: var(--text-dark);
    border-radius: 8px;
    overflow: hidden; /* Garante que o border-radius funcione */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Estilo para tabela em seção com fundo escuro */
.section.dark-bg .data-table {
    background-color: #2c2c2c; /* Fundo escuro para a tabela */
    color: var(--text-light);
}

.data-table th, .data-table td {
    padding: 18px 25px;
    text-align: left;
    border-bottom: 1px solid #eee; /* Linha divisória clara */
}

.section.dark-bg .data-table th, .section.dark-bg .data-table td {
    border-bottom: 1px solid #444; /* Linha divisória escura para fundo escuro */
}

.data-table thead {
    background-color: var(--primary-orange);
    color: var(--text-light);
}

.data-table th {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1em;
}

.data-table tbody tr:nth-child(even) {
    background-color: #f9f9f9; /* Linhas zebradas para melhor legibilidade */
}

.section.dark-bg .data-table tbody tr:nth-child(even) {
    background-color: #3a3a3a; /* Linhas zebradas para fundo escuro */
}

.data-table tbody tr:hover {
    background-color: #ffe0b3; /* Cor ao passar o mouse */
}

.section.dark-bg .data-table tbody tr:hover {
    background-color: #4a4a4a; /* Cor ao passar o mouse em fundo escuro */
}

.note {
    margin-top: 20px;
    font-size: 0.9em;
    color: #666;
}

.section.dark-bg .note {
    color: #bbb;
}


/* Footer */
footer {
    background-color: var(--secondary-black);
    color: #888;
    text-align: center;
    padding: 40px 0;
    font-size: 0.9em;
}

/* Responsividade para Telas Menores */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
        min-height: 60vh;
    }

    .hero-section h2 {
        font-size: 2.5em;
    }

    .hero-section p {
        font-size: 1.1em;
    }

    .section {
        padding: 60px 0;
    }

    .section h2, .section h3 {
        font-size: 2em;
    }

    /* Cards em coluna única em telas pequenas */
    .proposal-grid, .steps-grid, .benefits-grid {
        grid-template-columns: 1fr;
    }

    /* Centraliza cards quando em coluna única */
    .proposal-card, .step-card, .benefit-item {
        margin: 0 auto;
        max-width: 400px;
    }

    .data-table th, .data-table td {
        padding: 12px 15px; /* Menor padding para mobile */
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8em;
    }

    .hero-section h2 {
        font-size: 2em;
    }

    .hero-section p {
        font-size: 1em;
    }

    .btn-whatsapp {
        padding: 12px 25px;
        font-size: 1em;
    }

    .btn-whatsapp.large-btn {
        font-size: 1.2em;
        padding: 15px 30px;
    }
    
    .section h2, .section h3 {
        font-size: 1.8em;
    }
        .back-btn {
            position: absolute;
            top: 20px;
            left: 20px;
            font-size: 2em;
            color: #ff7f00;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        .back-btn:hover {
            color: #fff;
            transform: translateX(-5px);
        }