/* Importação de fontes */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

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

/* Header */
header {
    background-color: #2c3e50; /* Azul escuro */
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
}

.logo img {
    height: 40px; /* Ajuste o tamanho do logo */
    margin-right: 10px;
}

header ul {
    list-style: none;
    display: flex;
}

header ul li {
    margin-left: 20px;
}

header ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

header ul li a:hover {
    color: #1abc9c; /* Verde água */
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to right, #3498db, #2980b9); /* Gradiente azul */
    color: #fff;
    padding: 80px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Altura mínima para a seção */
}

.hero-content {
    max-width: 600px;
    margin-right: 40px;
    text-align: left;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content h2 {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 400;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 40px;
}

.hero-image img {
    max-width: 500px; /* Ajuste o tamanho da imagem/GIF do chatbot */
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Botões */
.btn-primary {
    display: inline-block;
    background-color: #1abc9c; /* Verde água */
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #16a085;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background-color: #e67e22; /* Laranja */
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #d35400;
    transform: translateY(-2px);
}

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

.section h2 {
    font-size: 38px;
    margin-bottom: 50px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 15px;
}

.section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #1abc9c;
    border-radius: 2px;
}

.alt-background {
    background-color: #ecf0f1; /* Cinza claro */
}

/* Benefícios */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.benefit-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-item h3 {
    font-size: 22px;
    color: #3498db;
    margin-bottom: 10px;
}

.benefit-item p {
    font-size: 16px;
    color: #555;
}

/* Como Funciona */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.how-it-works-grid .step {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.how-it-works-grid .step:hover {
    transform: translateY(-5px);
}

.how-it-works-grid .step img {
    max-width: 100px; /* Ajuste o tamanho das imagens de passo */
    margin-bottom: 20px;
}

.how-it-works-grid .step h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.how-it-works-grid .step p {
    font-size: 16px;
    color: #555;
}

/* Preços */
.pricing-table {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; /* Para quebrar linha em telas menores */
}

.pricing-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 350px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.pricing-card.featured {
    border-color: #1abc9c;
    box-shadow: 0 8px 20px rgba(26, 188, 156, 0.3);
}

.pricing-card h3 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.pricing-card .price {
    font-size: 48px;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 20px;
}

.pricing-card .price span {
    font-size: 18px;
    font-weight: 400;
    color: #777;
}

/* INÍCIO DO BLOCO DE ESTILOS DA SEÇÃO DE PREÇOS (VERSÃO FINAL CONSOLIDADA) */

/* Estilo para o seletor de Anual/Mensal */
.pricing-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    background-color: #e0e0e0; /* Fundo do toggle */
    border-radius: 25px;
    padding: 5px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
    width: fit-content; /* Se ajusta ao conteúdo */
    margin-left: auto;
    margin-right: auto;
}

.pricing-toggle .toggle-btn {
    background-color: transparent;
    border: none;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 600;
    color: #555;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px; /* Largura mínima para os botões */
    text-align: center;
    z-index: 10; /* Garante que o botão esteja acima de outros elementos */
    position: relative; /* Necessário para z-index */
    pointer-events: auto; /* Garante que o botão seja clicável */
}

.pricing-toggle .toggle-btn.active {
    background-color: #1abc9c; /* Verde água */
    color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Estilo para o selo "Mais Vendido" */
.badge-best-seller {
    background-color: #e74c3c; /* Vermelho */
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 20px;
    position: absolute;
    top: -15px; /* Ajuste para posicionar acima do card */
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    white-space: nowrap; /* Evita que o texto quebre linha */
    z-index: 5;
}

/* Ajuste para o card destacado para acomodar o selo */
.pricing-card.featured {
    position: relative; /* Necessário para posicionar o badge */
    padding-top: 50px; /* Aumenta o padding para o badge não sobrepor o título */
    top: -10px; /* Para dar um leve destaque vertical */
    border-color: #1abc9c;
    box-shadow: 0 8px 20px rgba(26, 188, 156, 0.3);
}

/* Estilo para o texto de desconto */
.discount-text {
    background-color: #27ae60; /* Verde escuro */
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 600;
    margin-bottom: 15px; /* Espaçamento abaixo do texto de desconto */
    display: block; /* Garante que ele ocupe sua própria linha */
    text-align: center; /* Centraliza o texto dentro do bloco */
}


/* Ajuste para os botões dentro dos cards */
.pricing-card .btn-primary,
.pricing-card .btn-secondary {
    margin-top: auto;
    width: 80%;
    text-align: center;
}

/* --- ESTILOS DOS ITENS DA LISTA DE PREÇOS (REESCRITO COM MAIS CUIDADO) --- */

/* Placeholder para o ícone de checkmark (Unicode) - Aplicado diretamente ao ::before do <i> */
.pricing-card ul li i.icon-check::before {
    content: '✔'; /* Unicode checkmark */
    display: inline-block; /* Para que possa ser dimensionado e posicionado */
    color: #1abc9c; /* Cor do checkmark */
    font-weight: bold; /* Deixa o checkmark bold, se a fonte suportar */
    font-size: 18px; /* Tamanho do checkmark */
    line-height: 1; /* Garante que o line-height do checkmark não cause espaço extra */
    vertical-align: middle; /* Alinha o checkmark verticalmente com o texto */
    
    /* Evitar qualquer margem extra que possa ter sido adicionada */
    margin-right: 0; 
}

/* Ajustes para os itens da lista nos cards de preço - USANDO FLEXBOX ROBUSTO */
.pricing-card ul li {
    font-size: 16px;        /* Tamanho da fonte base para o texto da lista */
    line-height: 1.5;       /* Espaçamento entre as linhas para evitar sobreposição */
    margin-bottom: 10px;    /* Espaçamento entre os itens da lista */
    color: #555;            /* Cor padrão do texto */
    text-align: left;       /* Garante alinhamento do texto à esquerda */
    
    display: flex;          /* Habilita o Flexbox para alinhar ícone e texto */
    align-items: flex-start; /* Alinha os itens (ícone e texto) no topo da linha */
    gap: 10px;              /* Espaçamento entre o ícone e o texto */
}

/* Estilo para a tag <i> que contém o ícone de checkmark */
.pricing-card ul li i {
    flex-shrink: 0;         /* Impede que o ícone diminua em telas pequenas */
    width: 20px;            /* Define uma largura fixa para o ícone */
    height: 20px;           /* Define uma altura fixa para o ícone */
    
    /* Zera margens/paddings ou posicionamento conflitantes das tentativas anteriores */
    margin: 0;
    padding: 0;
    position: static;
    top: auto;
    left: auto;
    
    /* A tag <i> em si pode ser transparente ou ter tamanho 0, o checkmark vem do ::before */
    font-size: 0; /* Zera o font-size para a tag <i>, só o ::before importa */
    line-height: 0; /* Zera line-height para evitar espaço extra da tag <i> */
    overflow: hidden; /* Oculta qualquer conteúdo que possa vazar */
}

/* Garante que os números não tenham negrito extra nem cor diferente */
.pricing-card ul li .highlight-num {
    font-weight: normal; /* Garante que não haja negrito, mesmo se a classe for usada */
    color: inherit;      /* Herda a cor do pai (cinza) */
    font-size: 1em;      /* Tamanho normal, sem aumento */
}

/* FIM DO BLOCO DE ESTILOS DA SEÇÃO DE PREÇOS (VERSÃO FINAL CONSOLIDADA) */


/* FAQ */
.faq-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    text-align: left;
}

.faq-item h3 {
    color: #3498db;
    font-size: 20px;
    margin-bottom: 10px;
    cursor: pointer; /* Indica que é clicável para expandir/recolher */
}

.faq-item p {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
}


/* Contato */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    width: auto;
    padding: 12px 30px;
}

.contact-info {
    margin-top: 30px;
    font-size: 18px;
    color: #555;
}

.contact-info a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
}

footer p {
    margin-bottom: 5px;
}

/* Responsividade */
@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        padding: 60px 0;
    }
    .hero-content {
        margin-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 38px;
    }
    .hero-content h2 {
        font-size: 20px;
    }
    .hero-image img {
        max-width: 100%;
    }
    header nav {
        flex-direction: column;
    }
    header ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    header ul li {
        margin: 5px 10px;
    }
    .section h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 40px 0;
    }
    .hero-content h1 {
        font-size: 32px;
    }
    .hero-content h2 {
        font-size: 18px;
    }
    .hero-content p {
        font-size: 16px;
    }
    .benefits-grid, .how-it-works-grid {
        grid-template-columns: 1fr;
    }
    .pricing-table {
        flex-direction: column;
        align-items: center;
    }
    .pricing-card {
        width: 90%;
        max-width: 400px;
    }
    .contact-form {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    .logo {
        font-size: 20px;
    }
    .logo img {
        height: 35px;
    }
    header ul li {
        margin: 5px;
    }
    .hero-content h1 {
        font-size: 28px;
    }
    .hero-content h2 {
        font-size: 16px;
    }
    .section h2 {
        font-size: 28px;
    }
}