/* --- GERAL E VARIÁVEIS --- */
:root {
    --primary-red: #d81b60;
    --black: #212121;
    --white: #FFFFFF;
    --light-gray: #f7f7f7;
    --text-color: #424242;
    --font-family: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-family); color: var(--text-color); background-color: var(--white); line-height: 1.7; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; color: var(--black); }
p { margin-bottom: 1rem; }
.section-title { text-align: center; margin-bottom: 60px; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 15px; }
.section-title p { font-size: 1.1rem; color: #616161; }

/* --- BOTÕES --- */
.btn { display: inline-block; padding: 12px 30px; border-radius: 8px; font-weight: 600; transition: all 0.3s ease; text-align: center; cursor: pointer; border: 2px solid transparent; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.5px; }
.btn-primary { background-color: var(--primary-red); color: var(--white); }
.btn-primary:hover { background-color: #c2185b; transform: translateY(-3px); }
.btn-lg { padding: 15px 40px; font-size: 1rem; }
.btn-light { background-color: var(--white); color: var(--black); }
.btn-light:hover { background-color: var(--light-gray); transform: translateY(-3px); }

/* --- CABEÇALHO --- */
.header { background-color: var(--white); border-bottom: 1px solid #eee; padding: 15px 0; position: sticky; top: 0; width: 100%; z-index: 1000; }
.navbar { display: flex; justify-content: space-between; align-items: center; }
.nav-logo img { height: 45px; }
.nav-menu { display: flex; list-style: none; gap: 40px;     align-items: center; }
.nav-link { color: var(--black); font-weight: 600; transition: color 0.3s ease; }
.nav-link:hover { color: var(--primary-red); }
.hamburger { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--black); transition: all 0.3s ease-in-out; }

/* --- HERO SECTION --- */
.hero-section { padding: 80px 0; background-color: var(--white); }
.hero-container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero-content { flex: 1; }
.hero-image { flex: 1; text-align: center; }
.hero-image img { max-width: 100%; border-radius: 15px; }
.hero-content h1 { font-size: 3rem; font-weight: 800; margin-bottom: 20px; }
.hero-content .subtitle { font-size: 1.1rem; margin-bottom: 30px; max-width: 500px; }
.hero-content .support-text { font-size: 0.9rem; color: #757575; margin-top: 15px; }

/* --- PROBLEM SECTION --- */
.problem-section { padding: 100px 0; background-color: var(--light-gray); }
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.problem-card { text-align: center; }
.problem-card i { font-size: 2.5rem; color: var(--primary-red); margin-bottom: 20px; }
.problem-card h3 { font-size: 1.25rem; margin-bottom: 10px; }

/* --- FEATURES SECTION --- */
.features-section {
    padding: 100px 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Estilo unificado, idêntico ao .problem-card */
.feature-item {
    text-align: center;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.feature-item h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

/* --- FOR WHOM SECTION --- */
.for-whom-section {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.for-whom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.for-whom-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.for-whom-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.for-whom-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background-color: #fee7f0; /* Tom de vermelho bem claro */
    display: flex;
    align-items: center;
    justify-content: center;
}

.for-whom-icon i {
    font-size: 36px;
    color: var(--primary-red);
}

.for-whom-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

/* --- CTA SECTION --- */
.cta-section { padding: 80px 0; background-color: var(--black); color: var(--white); text-align: center; }
.cta-section h2 { font-size: 2.5rem; color: var(--white); margin-bottom: 15px; }
.cta-section p { font-size: 1.1rem; max-width: 600px; margin: 0 auto 30px; color: #e0e0e0; }

/* --- FOOTER --- */
.footer { background-color: var(--light-gray); padding: 40px 0; text-align: center; }
.footer-logo { height: 45px; margin-bottom: 15px; }
.footer-slogan { font-weight: 600; color: var(--black); }

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-content .subtitle { margin-left: auto; margin-right: auto; }
    .hero-image { margin-top: 40px; }
    .problem-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .for-whom-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    h1 { font-size: 2.5rem !important; }
    h2 { font-size: 2rem !important; }
    .nav-menu { position: fixed; left: -100%; top: 76px; flex-direction: column; background-color: var(--white); width: 100%; text-align: center; transition: 0.3s; box-shadow: 0 10px 20px rgba(0,0,0,0.1); padding: 20px 0; }
    .nav-menu.active { left: 0; }
    .nav-item { margin: 1rem 0; }
    .hamburger { display: block; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .features-grid { grid-template-columns: 1fr; }
    /* ADICIONE ESTAS NOVAS REGRAS PARA O MENU MOBILE */
.nav-buttons-container {
    order: 1; /* Redundante, mas bom para clareza */
    margin-bottom: 20px; /* Adiciona margem abaixo dos botões */
    padding-bottom: 20px; /* Adiciona espaçamento interno */
    border-bottom: 1px solid #eee; /* Coloca a linha divisória abaixo */
    width: 100%;
    /* Removemos as propriedades de topo: margin-top, padding-top, border-top */
}
.navbar-buttons {
    flex-direction: column; /* Empilha os botões verticalmente */
    width: 100%;
    padding: 0 15px;
}
.nav-menu .nav-item {
    order: 2; /* Joga os links para a segunda posição */
}

.nav-menu .nav-buttons-container {
    order: 1; /* Joga os botões para a primeira posição */
}
.navbar-buttons .btn {
    width: 100%; /* Faz os botões ocuparem toda a largura */
    text-align: center;
    margin-bottom: 10px; /* Espaçamento entre os botões */
}
}
@media (max-width: 576px) {
    .problem-grid { grid-template-columns: 1fr; }
}

/* --- PRICING SECTION (CARROSSEL) --- */
.pricing-section {
    padding: 100px 0;
    background-color: var(--white);
    overflow: hidden; /* Evita que o carrossel vaze */
}

.pricing-container {
    display: flex;
    align-items: stretch;
    gap: 30px;
}

.swiper {
    width: 66%; /* Ocupa 2/3 do espaço */
    padding-bottom: 50px; /* Espaço para a paginação */
}

.swiper-slide {
    height: auto; /* Permite que os cards tenham a mesma altura */
}

.pricing-card, .pricing-card-static {
    background-color: var(--white);
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.pricing-card.popular {
    border: 2px solid var(--primary-red);
}

.pricing-card-static {
    width: 33%; /* Ocupa 1/3 do espaço */
    justify-content: center;
}

.popular-badge { display: inline-block; background-color: var(--primary-red); color: var(--white); padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; }
.pricing-card h3, .pricing-card-static h3 { font-size: 1.8rem; font-weight: 700; }
.card-subtitle { color: #757575; margin-bottom: 25px; }

.billing-toggle {
    display: flex;
    justify-content: center;
    background-color: var(--light-gray);
    border-radius: 50px;
    padding: 5px;
    margin-bottom: 25px;
}
.billing-btn {
    flex: 1;
    padding: 8px 15px;
    border: none;
    background-color: transparent;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}
.billing-btn.active {
    background-color: var(--primary-red);
    color: var(--white);
}
.discount-badge {
    background-color: #e0f2f1;
    color: #00796b;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 5px;
    margin-left: 5px;
}

.price-container { min-height: 60px; }
.price { font-size: 3rem; font-weight: 800; color: var(--black); margin-bottom: 25px; display: flex; justify-content: center; align-items: baseline; }
.price sup { font-size: 1.5rem; font-weight: 600; margin-right: 2px; }
.price span { font-size: 3rem; font-weight: 800; }
.price p { font-size: 1rem; color: #757575; margin-left: 8px; }
.price span:first-child { font-size: 1.8rem; }

.pricing-card ul, .pricing-card-static ul { list-style: none; margin-bottom: 35px; text-align: left; flex-grow: 1; }
.pricing-card ul li, .pricing-card-static ul li { margin-bottom: 12px; }
.pricing-card ul i, .pricing-card-static ul i { color: var(--primary-red); margin-right: 10px; }

.pricing-card .btn, .pricing-card-static .btn { width: 100%; }
.btn-outline { background: transparent; border: 2px solid var(--primary-red); color: var(--primary-red); }
.btn-outline:hover { background: var(--primary-red); color: var(--white); }

.swiper-pagination-bullet { background-color: #ccc; }
.swiper-pagination-bullet-active { background-color: var(--primary-red); }

.pricing-footnote { text-align: center; margin-top: 40px; padding: 0 20px; }
.pricing-footnote p { font-size: 0.9rem; color: #757575; max-width: 600px; margin: 0 auto; }

/* Responsividade para o Carrossel */
@media (max-width: 992px) {
    .pricing-container {
        flex-direction: column;
    }
    .swiper, .pricing-card-static {
        width: 100%;
    }
}

/* --- ESTILOS DO MODAL DE CADASTRO (AJUSTADO PARA TELAS BAIXAS) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    display: none;
    align-items: flex-start; /* Alinha no topo para facilitar o scroll */
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto; /* A MUDANÇA MAIS IMPORTANTE: Adiciona scroll vertical se necessário */
    padding: 5vh 0; /* Adiciona um respiro no topo e na base */
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: #fff;
    padding: 25px; /* Reduzido um pouco */
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    max-width: 450px;
    width: 90%;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    margin: auto; /* Garante o centramento mesmo com align-items: flex-start */
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close-btn:hover {
    color: var(--black);
}

.modal-header {
    text-align: center;
    margin-bottom: 20px; /* Reduzido */
}

.modal-logo {
    height: 40px;
}

.form-section-title {
    font-weight: 700;
    color: var(--black);
    margin-top: 15px; /* Reduzido */
    margin-bottom: 15px;
    font-size: 1rem;
}

.form-section-title:first-child {
    margin-top: 0;
}

.form-group {
    margin-bottom: 15px; /* Reduzido */
}

.form-group-icon {
    position: relative;
    margin-bottom: 15px;
}

.form-group-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

.form-group-icon input, .form-group-icon select {
    padding-left: 45px !important;
}

.modal-body input[type="text"], .modal-body input[type="email"], .modal-body input[type="tel"], .modal-body select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: white;
}

.modal-body select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aaa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 1em;
}

.modal-body input:focus, .modal-body select:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.2);
}

.form-group-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px; /* Reduzido */
}

.form-group-checkbox input {
    width: 18px;
    height: 18px;
}

.form-group-checkbox label {
    margin: 0;
    font-size: 0.9rem;
}

.form-group-checkbox a {
    color: var(--primary-red);
    text-decoration: underline;
    font-weight: 600;
}

.full-width {
    width: 100%;
    text-transform: uppercase;
    padding: 15px;
}

.form-footer-link {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 15px; /* Reduzido */
}

.form-footer-link a {
    color: var(--primary-red);
    font-weight: 600;
}
/* --- SEÇÃO DE VÍDEO --- */
.video-section {
    padding: 100px 0;
    background-color: var(--white);
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 900px; /* Largura máxima do vídeo */
    margin: 0 auto;
    padding-top: 56.25%; /* Proporção 16:9 para vídeos */
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-radius: 15px;
    overflow: hidden; /* Garante que o iframe fique dentro das bordas arredondadas */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- SEÇÃO DE TESTEMUNHOS --- */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-red);
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #616161;
    flex-grow: 1; /* Faz o texto ocupar o espaço disponível */
    margin-bottom: 30px;
}

.testimonial-author h4 {
    font-size: 1.2rem;
    color: var(--black);
    margin-bottom: 5px;
}

.testimonial-author span {
    font-weight: 600;
    color: #757575;
}

/* --- Responsividade para Testemunhos --- */
@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}
/* --- BOTÃO FLUTUANTE DO WHATSAPP --- */
.whatsapp-float-btn {
    position: fixed; /* Posição fixa na tela */
    width: 60px;
    height: 60px;
    bottom: 30px; /* Distância da parte inferior */
    right: 30px; /* Distância da parte direita */
    background-color: #25D366; /* Cor oficial do WhatsApp */
    color: #FFF;
    border-radius: 50%; /* Deixa o botão redondo */
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 100; /* Garante que ele fique acima dos outros elementos */
    
    /* Centraliza o ícone dentro do círculo */
    display: flex;
    justify-content: center;
    align-items: center;

    /* Animação suave */
    transition: transform 0.3s ease;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1); /* Aumenta um pouco de tamanho ao passar o mouse */
}

/* --- Estilo para o Botão de Login --- */
.btn-login {
    background-color: #007bff; /* Um tom de azul profissional */
    color: var(--white);
    border-color: #007bff;
}

.btn-login:hover {
    background-color: #0069d9; /* Um tom de azul mais escuro ao passar o mouse */
    border-color: #0062cc;
    transform: translateY(-3px);
}