/* Importando uma fonte bonita do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

/* Reset Básico e Estilos Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #121212; /* Um fundo escuro, tema cinema */
    color: #ffffff; /* Texto branco */
}

/* ========= ESTILOS DO BLOCO 1: HERO SECTION ========= */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1574375927938-d5a98e8ffe85?q=80&w=2070');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: #E50914;
    color: #ffffff;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #f6121d;
}

/* ================================================= */
/* ========= RESPONSIVIDADE PARA CELULARES ========= */
/* ================================================= */

@media (max-width: 768px) {

    /* --- GERAL --- */
    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    .section-subtitle {
        font-size: 1rem;
    }

    /* --- HERO (BLOCO 1) --- */
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    .hero-content p {
        font-size: 1rem;
    }

    /* --- COMO FUNCIONA (BLOCO 4) --- */
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    .step-card {
        flex-basis: 80%;
        max-width: 400px;
        margin-bottom: 20px;
    }

    /* --- PREÇOS (BLOCO 5) --- */
    .pricing-card.featured {
        transform: scale(1); /* Remove o destaque de tamanho no celular para economizar espaço */
    }
    .pricing-card.featured:hover {
        transform: translateY(-10px); /* Mantém o hover */
    }

    /* --- CHAT (BLOCO 8) --- */
    .chat-popup {
        /* Ajusta o chat para ocupar mais a tela no celular */
        width: 90%;
        bottom: 80px;
        right: 5%;
    }
    .floating-chat-btn {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
     .floating-chat-btn img {
        width: 35px;
        height: 35px;
    }
}
/* ========= CABEÇALHO E TÍTULOS DE SEÇÃO PADRONIZADOS ========= */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ================================================= */
/* ========= RESPONSIVIDADE PARA CELULARES ========= */
/* ================================================= */

@media (max-width: 768px) {

    /* --- GERAL --- */
    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    .section-subtitle {
        font-size: 1rem;
    }

    /* --- HERO (BLOCO 1) --- */
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    .hero-content p {
        font-size: 1rem;
    }

    /* --- COMO FUNCIONA (BLOCO 4) --- */
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    .step-card {
        flex-basis: 80%;
        max-width: 400px;
        margin-bottom: 20px;
    }

    /* --- PREÇOS (BLOCO 5) --- */
    .pricing-card.featured {
        transform: scale(1); /* Remove o destaque de tamanho no celular para economizar espaço */
    }
    .pricing-card.featured:hover {
        transform: translateY(-10px); /* Mantém o hover */
    }

    /* --- CHAT (BLOCO 8) --- */
    .chat-popup {
        /* Ajusta o chat para ocupar mais a tela no celular */
        width: 90%;
        bottom: 80px;
        right: 5%;
    }
    .floating-chat-btn {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
     .floating-chat-btn img {
        width: 35px;
        height: 35px;
    }
}

/* ========= ESTILOS DO BLOCO 2: O PROBLEMA ========= */
.problem-section {
    padding: 80px 20px;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.problem-card {
    background-color: #1f1f1f;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #333;
    text-align: center;
}

.problem-card i {
    font-size: 3rem;
    color: #E50914;
    margin-bottom: 15px;
}

.problem-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* ========= ESTILOS DO BLOCO 2.5: O BARATO SAI CARO ========= */
.value-proposition {
    background-color: #000000;
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.value-proposition i {
    font-size: 3.5rem;
    color: #E50914;
    margin-bottom: 20px;
}

.value-proposition h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.value-proposition p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e0e0e0;
}

.value-proposition p strong {
    color: #ffffff;
}

/* ========= ESTILOS DO BLOCO 3: A SOLUÇÃO ========= */
.solution-section {
    background-color: #1f1f1f;
    padding: 80px 20px;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-card {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid #E50914;
    transition: transform 0.3s ease;
    text-align: center;
}

.solution-card:hover {
    transform: translateY(-10px);
}

.solution-card i {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 15px;
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.solution-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* ========= ESTILOS DO BLOCO 4: COMO FUNCIONA ========= */
.how-it-works-section {
    padding: 80px 20px;
}

.steps-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    flex-basis: 30%;
    min-width: 280px;
    padding: 20px;
    text-align: center;
}

.step-card i {
    font-size: 3.5rem;
    color: #E50914;
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.step-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* ================================================= */
/* ========= RESPONSIVIDADE PARA CELULARES ========= */
/* ================================================= */

@media (max-width: 768px) {

    /* --- GERAL --- */
    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    .section-subtitle {
        font-size: 1rem;
    }

    /* --- HERO (BLOCO 1) --- */
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    .hero-content p {
        font-size: 1rem;
    }

    /* --- COMO FUNCIONA (BLOCO 4) --- */
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    .step-card {
        flex-basis: 80%;
        max-width: 400px;
        margin-bottom: 20px;
    }

    /* --- PREÇOS (BLOCO 5) --- */
    .pricing-card.featured {
        transform: scale(1); /* Remove o destaque de tamanho no celular para economizar espaço */
    }
    .pricing-card.featured:hover {
        transform: translateY(-10px); /* Mantém o hover */
    }

    /* --- CHAT (BLOCO 8) --- */
    .chat-popup {
        /* Ajusta o chat para ocupar mais a tela no celular */
        width: 90%;
        bottom: 80px;
        right: 5%;
    }
    .floating-chat-btn {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
     .floating-chat-btn img {
        width: 35px;
        height: 35px;
    }
}
/* ========= ESTILOS DO BLOCO 5: PLANOS E PREÇOS ========= */
.pricing-section {
    background-color: #000000;
    padding: 80px 20px;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Garante que todos os cards tenham a mesma altura */
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background-color: #1f1f1f;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    flex-basis: 350px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.pricing-card.featured {
    border: 2px solid #E50914;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: -45px;
    background-color: #E50914;
    color: white;
    padding: 5px 40px;
    font-weight: bold;
    font-size: 0.9rem;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.card-header h3 {
    font-size: 1.8rem;
    color: white;
}

.card-header p {
    color: #ccc;
    margin-bottom: 20px;
}

.card-price {
    margin-bottom: 30px;
    font-weight: bold;
    color: white;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.card-price .currency {
    font-size: 1.5rem;
    margin-right: 5px;
}

.pricing-card .card-price span:not(.currency):not(.period) {
    font-size: 3.5rem;
    line-height: 1;
}

.card-price .period {
    font-size: 1rem;
    color: #ccc;
    margin-left: 5px;
}

.pricing-card .card-price.custom-combo {
    flex-direction: column;
    align-items: center;
}

.pricing-card .card-price.custom-combo .currency {
    align-self: center;
    margin-bottom: 5px;
    font-size: 1rem;
    font-weight: normal;
    color: #ccc;
}

.card-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.card-features li {
    text-align: left;
    margin-bottom: 15px;
    color: #ccc;
    display: flex;
    align-items: center;
}

.card-features li i {
    color: #E50914;
    margin-right: 10px;
    font-size: 1.2rem;
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid #E50914;
    color: #E50914;
}

.cta-button.secondary:hover {
    background-color: #E50914;
    color: white;
}

/* ========= ESTILOS DO BLOCO 6: PROVA SOCIAL ========= */
.testimonials-section {
    padding: 80px 20px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: #1f1f1f;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.testimonial-quote {
    color: #e0e0e0;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-quote::before {
    content: '“';
    font-size: 3rem;
    color: #E50914;
    font-weight: bold;
    line-height: 0;
    display: block;
    margin-bottom: 10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-weight: bold;
}

.testimonial-author i {
    font-size: 2rem;
    margin-right: 10px;
    color: #ccc;
}

/* ========= ESTILOS DO BLOCO 7: FAQ ========= */
.faq-section {
    padding: 80px 20px;
    background-color: #000000;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #1f1f1f;
    border: 1px solid #333;
    border-radius: 5px;
    margin-bottom: 10px;
}

.faq-question {
    padding: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 2rem;
    color: #E50914;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px 20px 20px;
    color: #cccccc;
    line-height: 1.7;
    border-top: 1px solid #333;
}

.faq-item[open] summary ~ * {
    animation: sweep 0.5s ease-in-out;
}

@keyframes sweep {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ========= ESTILOS DO BLOCO FINAL: RODAPÉ ========= */
.site-footer {
    background-color: #1f1f1f;
    border-top: 1px solid #333;
    padding: 50px 20px;
    text-align: center;
    color: #ccc;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-brand {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.site-footer p {
    margin-bottom: 25px;
    line-height: 1.6;
}

.footer-contact-button {
    background-color: transparent;
    border: 2px solid #E50914;
    color: #E50914;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 40px;
}

.footer-contact-button:hover {
    background-color: #E50914;
    color: white;
}

.footer-legal {
    border-top: 1px solid #444;
    padding-top: 25px;
}

.footer-legal p {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0;
}

/* ========= ESTILOS DO BLOCO 8: BATE-PAPO / FAQ INTERATIVO (VERSÃO 2.0) ========= */

/* Estilo do "boneco" flutuante (sem alterações) */
.floating-chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #E50914;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
    border: none; /* Garante que não tenha borda */
}
.floating-chat-btn:hover { transform: scale(1.1); }
.floating-chat-btn img { width: 40px; height: 40px; object-fit: contain; }

/* Estilo da Janela de Chat (sem alterações) */
.chat-popup {
    position: fixed; bottom: 100px; right: 30px; width: 350px;
    max-width: 90%; background-color: #2a2a2a; border-radius: 15px;
    box-shadow: 5px 5px 20px rgba(0,0,0,0.4); overflow: hidden;
    z-index: 999; opacity: 0; visibility: hidden;
    transform: translateY(20px); transition: all 0.4s ease;
}
#chat-popup:target { opacity: 1; visibility: visible; transform: translateY(0); }
.chat-header {
    background-color: #1f1f1f; padding: 15px; display: flex;
    justify-content: space-between; align-items: center; color: white;
}
.chat-header h3 { margin: 0; font-size: 1.2rem; }
.chat-close-btn { color: white; text-decoration: none; font-size: 1.8rem; font-weight: bold; }
.chat-messages { padding: 15px; max-height: 350px; overflow-y: auto; }

/* Estilos da Conversa (ATUALIZADOS) */
.message { margin-bottom: 15px; }
.bot-message p {
    background-color: #3f3f3f; padding: 12px;
    border-radius: 15px 15px 15px 0; color: #e0e0e0;
    line-height: 1.5; margin: 0;
}
.user-options .faq-button { /* MUDAMOS de .faq-link para .faq-button */
    display: block; width: 100%; background-color: transparent;
    border: 2px solid #E50914; color: #E50914; padding: 10px;
    border-radius: 15px; text-align: center; margin-bottom: 10px;
    transition: all 0.3s ease; cursor: pointer; font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
}
.user-options .faq-button:hover { background-color: #E50914; color: white; }

/* NOVOS ESTILOS para as respostas e botão de voltar */
.answer-panel {
    display: none; /* Começam escondidos */
    background-color: #E50914;
    color: white;
    padding: 15px;
    border-radius: 15px 15px 0 15px; /* Balão de resposta invertido */
    animation: fadeIn 0.5s ease;
}
.answer-panel p {
    margin: 0 0 15px 0;
    line-height: 1.5;
}
.back-button {
    background: none; border: none; color: white;
    cursor: pointer; font-family: 'Poppins', sans-serif;
    font-size: 0.9rem; font-weight: bold; padding: 5px;
}
.back-button:hover { text-decoration: underline; }

/* Animação para a resposta aparecer */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

/* ================================================= */
/* ========= ESTILOS PARA ANIMAÇÕES DE SCROLL ======== */
/* ================================================= */

/* Por padrão, os elementos com a classe 'hidden' começam invisíveis e um pouco para baixo */
.hidden {
    opacity: 0;
    filter: blur(5px); /* Efeito de desfoque */
    transform: translateX(-100%); /* Começa fora da tela, à esquerda */
    transition: all 1s; /* Duração da animação */
}

/* Quando a classe 'show' é adicionada (pelo JavaScript), o elemento volta ao normal */
.show {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}

/* Opcional: Adiciona um atraso diferente para cada card, criando um efeito cascata */
.problem-card:nth-child(2),
.solution-card:nth-child(2),
.step-card:nth-child(2),
.pricing-card:nth-child(2),
.testimonial-card:nth-child(2) {
    transition-delay: 200ms;
}

.problem-card:nth-child(3),
.solution-card:nth-child(3),
.step-card:nth-child(3),
.pricing-card:nth-child(3),
.testimonial-card:nth-child(3) {
    transition-delay: 400ms;
}

.problem-card:nth-child(4),
.solution-card:nth-child(4) {
    transition-delay: 600ms;
}

/* Garante que elementos com hover não "pulem" em prioridade */
@media(prefers-reduced-motion) {
    .hidden {
        transition: none;
    }
}