/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    background: #2c5530;
    color: white;
    padding: 0; /* O padding foi zerado para que a barra vermelha o controle. */
    transition: background 0.3s ease;
}

.header.scrolled {
    background: #2c5530;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Correção da Barra de Anúncio no Header */
.header-announcement {
    background-color: #e61700;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
    padding: 1.1rem 0;
}

.logo p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

.nav a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #f39c12;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
    color: white;
    padding: 0 0 10px 0; /* Padding adicionado para manter o espaçamento */
    /* A linha "margin-top: 40px;" foi REMOVIDA daqui. */
    text-align: left;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(45deg);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Mais espaço para a imagem */
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    margin-top: 2.0rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-benefits {
    margin-bottom: 2rem;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.benefit-item i {
    color: #27ae60;
    font-size: 1.5rem;
}

.hero-image {
    position: relative;
    text-align: center;
}

.hero-image img {
    width: 150%; /* Aumenta o tamanho da imagem para 120% */
    height: auto; /* Mantém a proporção */
    max-width: none; /* Remove restrições no tamanho do container */
    border-radius: 0; /* Opcional: remova se não quiser bordas arredondadas */
    box-shadow: none; /* Opcional: desative sombras */
    margin: 0 auto; /* Centraliza a imagem */
    display: block; /* Remove gaps adicionais */
}

.specialty-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f39c12;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Problems Section */
.problems {
    padding: 80px 0;
    background: white;
}

.problems h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #2c5530;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.problem-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.problem-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem auto;
}

.problem-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.problem-card p {
    color: #666;
    line-height: 1.6;
}

.problem-card img {
    max-width: 100%;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.problem-intro {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
    padding: 2rem;
    background: #e8f5e8;
    border-radius: 15px;
}

/* Solution Section */
.solution {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%); /* Fundo verde */
    color: white; /* Adicionado para garantir a legibilidade do texto */
}

.solution-content {
    text-align: center;
}

.solution-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    word-break: break-word; /* Quebra palavras */
    text-align: center;
}

.solution-description {
    font-size: 1.2rem;
    color: white; /* <-- CORRIGIDO */
    line-height: 1.8;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Estilo da tabela de itens */
.solution-table {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colunas */
    gap: 2rem;
    margin-bottom: 3rem;
}

.solution-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.solution-item i {
    color: #27ae60;
    font-size: 3rem;
}

.solution-item strong {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}

.solution-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* CTA: Texto e botão centralizados */
.solution-cta p {
    font-size: 1.2rem;
    color: #ffffff;
    /*line-height: 1.8;*/
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.credentials {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(44, 85, 48, 0.9);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}

.credentials p {
    margin: 0.3rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.about-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2c5530;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c5530;
}

.specialties ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.specialties li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #f8f9fa;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-weight: 500;
}

.specialties li i {
    color: #27ae60;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background:  #2c5530;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #ffffff;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stars {
    color: #f39c12;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
}

.author {
    font-weight: 600;
    color: #333;
}

/* FAQ Section */
/* FAQ Section - Estilos Completos */
.faq {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #2c5530;
    font-size: 2.5rem;
    font-weight: 600;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-color: #27ae60;
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border: none;
    transition: all 0.3s ease;
    margin: 0;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question h3 {
    margin: 0;
    color: #2c5530;
    font-size: 1.2rem;
    font-weight: 600;
    flex: 1;
    padding-right: 20px;
}

.faq-question i {
    color: #27ae60;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    margin-left: 20px;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: white;
}

.faq-answer p {
    padding: 0 30px 30px 30px;
    margin: 0;
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

.faq-answer strong {
    color: #27ae60;
    font-weight: 600;
}

/* Active state - Quando o FAQ está aberto */
.faq-item.active {
    border-color: #27ae60;
    box-shadow: 0 5px 20px rgba(39, 174, 96, 0.2);
}

.faq-item.active .faq-question {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.faq-item.active .faq-question h3 {
    color: #27ae60;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: #2c5530;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    opacity: 1;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    color: rgb(0, 0, 0);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.cta-urgency {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f39c12;
    margin-bottom: 2rem;
}


/* Footer */
.footer {
    background: #2c5530;
    color: rgb(255, 255, 255);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #f39c12;
}

/* =================================================================== */
/* ESTILOS DO WIDGET DE CHAT FLUTUANTE                                 */
/* =================================================================== */

/* Contêiner principal do widget (não visível, apenas para organização) */
.chat-widget-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

/* A janela do chat (iframe) */
.chat-iframe {
    width: 400px;
    height: 600px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    position: absolute;
    bottom: 80px; /* Posição acima da bolha */
    right: 0;
    
    /* Animação para abrir/fechar */
    transform: scale(0);
    transform-origin: bottom right;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    visibility: hidden;
}

/* Estado aberto do iframe */
.chat-iframe.open {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
}

/* Animação para o botão de chat */
@keyframes pulse-blink {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* A "bolha" de chat clicável */
#chat-bubble {
    width: 60px;
    height: 60px;
    background-color: #27ae60;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    /* --- ADICIONE ESTA LINHA --- */
    animation: pulse-blink 2s infinite;
}

/* ADICIONE ESTES ESTILOS PARA OS BOTÕES DE CTA */
.cta-button {
    display: inline-block;
    background: #7FFF7F;
    color: #2c5530;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: #000;
}

.problem-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Responsive */
/* CSS para dispositivos mobile */
@media (max-width: 768px) {
    /* HEADER */
    .header {
        padding: 0;
        text-align: center;
    }

    .logo h1 {
        font-size: 0.8rem; /* Reduz o tamanho do texto */
        padding: 10px;
        word-break: break-word; /* Permite quebra de palavras */
        text-align: center; /* Centraliza o texto */
        font-size: 0.8rem; 
        padding: 10px;
        word-break: break-word; 
        text-align: center;
    }
    
    /* HERO SECTION */
    .hero {
        padding: 50px 20px;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column; /* Faz com que os elementos fiquem em coluna */
    }

    .hero-title {
        font-size: 3rem; /* Mantém o tamanho do título */
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 1.5rem; /* Espaço abaixo do título */
        margin-top: 0; /* Remove o espaço superior atual */
        padding-top: 0; /* Remove qualquer padding no topo */
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-benefits {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-image {
        order: -1; /* Faz a imagem aparecer primeiro */
        width: 140%; /* Garante que a imagem ocupe 100% da largura */
        margin: 10; /* Remove margens ao redor da imagem */
        margin: -20px; /* Espaço externo ao redor */
    }

    .hero-image img {
        width: 100%; /* A imagem cobre toda a tela horizontalmente */
        height: auto; /* Mantém a proporção da imagem */
        display: block; /* Remove possíveis gaps ao redor da imagem */
        margin: -30px 0 20px 0; /* Espaço superior = 40px, inferior = 10px, nenhum lateral */
    }

    .hero-text {
        padding-top: 0; /* Remove qualquer padding superior */
        margin-top: -50px; /* Move todos os elementos para cima */
    }

    /* PROBLEMS SECTION */
    .problems {
        padding: 40px 20px;
    }

    .problems h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .problems-grid {
        display: grid;
        grid-template-columns: 1fr; /* Apenas uma coluna no mobile */
        gap: 1.5rem;
    }

    .problem-card {
        padding: 20px;
        font-size: 1rem;
    }

    .problem-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    /* SOLUTION SECTION */
    .solution {
        padding: 40px 20px;
        text-align: center;
    }

    .solution-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .solution-description {
        font-size: 1rem;
        line-height: 1.5;
    }

    .solution-table {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .solution-item {
        padding: 15px;
        font-size: 1rem;
    }

    .solution-item strong {
        font-size: 1.2rem;
    }

    .solution-item p {
        font-size: 1rem;
    }

    /* ABOUT SECTION */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .credentials p {
        font-size: 0.9rem;
    }

    .about-image img {
        width: 100%; /* Adapta a imagem ao conteúdo */
    }

    /* TESTIMONIALS SECTION */
    .testimonials {
        padding: 40px 20px;
    }

    .testimonials h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .testimonial-grid {
        grid-template-columns: 1fr; /* Apenas uma coluna */
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 20px;
    }

    /* FAQ SECTION */
     .faq {
        padding: 40px 20px;
    }

    .faq h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .faq-question {
        padding: 20px;
        flex-direction: row;
        align-items: center;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
        padding-right: 15px;
    }
    
    .faq-question i {
        margin-left: 10px;
    }
    
    .faq-answer p {
        padding: 0 20px 20px 20px;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* CTA SECTION */
    .cta-section {
        padding: 40px 20px;
    }

    .cta-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    /* CONTACT SECTION */
    .contact {
        padding: 40px 20px;
    }


    .contact-item {
        flex-direction: column; /* Ajusta os itens em coluna */
        align-items: flex-start;
    }

    .contact-item h3 {
        font-size: 1.2rem;
    }

    .contact-item p {
        font-size: 1rem;
    }

    /* FOOTER */
    .footer {
        padding: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-content p {
        font-size: 0.9rem;
    }

    .social-links a {
        font-size: 1.2rem;
    }

     .chat-iframe {
        width: calc(100vw - 30px);
        height: 70vh;
        right: -10px; /* Ajuste para alinhar com a bolha */
    }
}