/* 1. VARIÁVEIS E RESET BÁSICO */
:root {
    --primary-color: #00028a; /* Azul Escuro (Corporativo) */
    --secondary-color: #22aeff; /* Laranja (Ação/Destaque) */
    --text-color: #333333;
    --light-text-color: #555555;
    --card-background: #ffffff;
    --bg-light: #f4f7f9;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    --border-radius: 8px;
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);

    /* Cores adicionais para benefícios/ícones */
    --icon-color-primary: #0077B6; /* Azul claro */
    --icon-color-secondary: #FF5722; /* Laranja vibrante */
    --icon-color-tertiary: #6A0572; /* Roxo */
    --icon-color-quaternary: #2E8B57; /* Verde */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Sora', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden; /* Evita scroll horizontal em alguns casos */
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary-color);
}

/* Títulos das seções */
h1, h2, h3 {
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}
h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

/* Seções de informação genéricas */
.info-section {
    padding: var(--spacing-xl) 0;
}
.bg-light-section {
    background-color: var(--bg-light);
}

/* 2. BOTÕES GERAIS */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(34, 174, 255, 0.4);
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #192ee6; /* Um azul mais escuro ou mais vibrante */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(34, 174, 255, 0.6);
}

.center-btn {
    display: block;
    margin: var(--spacing-lg) auto 0;
    max-width: 350px; /* Limita a largura do botão central */
    text-align: center;
    justify-content: center;
}

.btn-nav { /* Botão de contato no nav */
    
    color: var(--primary-color);
    box-shadow: none;
    padding: 8px 18px;
    font-size: 0.9rem;
}
.btn-nav:hover {
    background-color: var(--bg-light);
    color: var(--secondary-color);
    transform: translateY(-1px);
}


/* 3. CABEÇALHO (STICKY) */
.main-header {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.header-logo-img {
    max-height: 50px; /* Ajuste para o tamanho da sua logo */
    width: auto;
    display: block;
}

.main-nav a {
    margin-left: var(--spacing-md);
    font-size: 1rem;
    font-weight: 600;
    color: var(--card-background);
}

.main-nav a:hover {
    color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--card-background);
}


/* 4. SEÇÃO HERO (LANDING PAGE) */
.hero-landing-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2b1cff 100%);
    color: white;
    padding: 20px;
    margin-bottom: var(--spacing-lg);
}

.hero-landing-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

.hero-text-form {
    flex: 0 0 50%;
    max-width: 50%;
    min-width: 0;
}

.hero-tagline {
    font-size: 1rem;
    font-weight: bold;
    color:#4cbdff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    opacity: 100%;
}

.hero-landing-content h1 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    line-height: 1.2;
    color: white; /* Cor do título na hero */
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-form-hero {
    background-color: rgba(255, 255, 255, 0.15); /* Fundo semi-transparente */
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-top: var(--spacing-md);
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.contact-form-hero h3 {
    color: white;
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}
.contact-form-hero input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s;
}
.contact-form-hero input::placeholder {
    color: var(--light-text-color);
}
.contact-form-hero input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(34, 174, 255, 0.3);
}
.contact-form-hero .btn-primary {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
}
.form-message {
    margin-top: 10px;
    text-align: center;
    font-weight: 600;
}


/* Define a largura do lado da imagem */
.hero-image-container {
    flex: 0 0 50%; /* Não cresce (0), não encolhe (0), base de 50% */
    max-width: 100%; /* Garante que não ultrapasse 50% do container */
    min-width: 0; 
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative; 
    padding-top: 50px; 
    padding-bottom: 50px; 
}

/* A imagem dentro do container */
.hero-main-image {
    /* ... mantenha seus estilos de mask-image e z-index aqui ... */
    max-width: 100%; /* Garante que a imagem se ajuste aos 50% do container */
    height: auto;
    border-radius: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: block;
    position: relative; 
    z-index: 2; 

    /* Estilização para a parte inferior esfumaçada (manter) */
    mask-image: linear-gradient(to bottom, black 5%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 5%, transparent 100%);
}

/* Estilização e Animação dos Cubos Flutuantes */
.floating-cube {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1); /* Branco semi-transparente */
    border-radius: 22%; /* Transforma em círculo arredondado */
    filter: blur(2px); /* Efeito de blur leve */
    z-index: 1; /* Fica atrás da imagem principal */
    animation-duration: 15s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

/* Tamanhos, posições e delays para cada cubo */
.cube-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 15%;
    animation-name: float-animation-1;
    animation-delay: 0s;
}
.cube-2 {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 5%;
    animation-name: float-animation-2;
    animation-delay: 3s;
    animation-duration: 18s;
}
.cube-3 {
    width: 100px;
    height: 100px;
    bottom: 10%;
    right: 20%;
    animation-name: float-animation-3;
    animation-delay: 6s;
    animation-duration: 16s;
}
.cube-4 {
    width: 70px;
    height: 70px;
    top: 20%;
    right: 5%;
    animation-name: float-animation-1;
    animation-delay: 9s;
    animation-duration: 20s;
}
.cube-5 {
    width: 90px;
    height: 90px;
    bottom: 30%;
    left: 25%;
    animation-name: float-animation-2;
    animation-delay: 12s;
    animation-duration: 17s;
}

.cube-6 {
    width: 100px;
    height: 100px;
    bottom: 40%;
    left: 50%;
    animation-name: float-animation-3;
    animation-delay: 12s;
    animation-duration: 17s;
}

/* Keyframes para animação de flutuação e movimento */
@keyframes float-animation-1 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    25% { transform: translate(20px, -15px) scale(1.05); opacity: 0.9; }
    50% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    75% { transform: translate(-10px, 20px) scale(0.95); opacity: 0.7; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
}

@keyframes float-animation-2 {
    0% { transform: translate(0, 0) scale(0.9); opacity: 0.7; }
    30% { transform: translate(-25px, 10px) scale(1); opacity: 0.8; }
    60% { transform: translate(0, 0) scale(0.9); opacity: 0.7; }
    90% { transform: translate(15px, -20px) scale(1.02); opacity: 0.9; }
    100% { transform: translate(0, 0) scale(0.9); opacity: 0.7; }
}

@keyframes float-animation-3 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.9; }
    40% { transform: translate(10px, 25px) scale(0.98); opacity: 0.8; }
    80% { transform: translate(-20px, -10px) scale(1.03); opacity: 0.95; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.9; }
}

/* 5. SEÇÃO LOGOS DE CLIENTES */
.clients-section {
    padding: var(--spacing-lg) 0;
    text-align: center;
}
.clients-section h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}
.client-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    align-items: center;
    justify-items: center;
    margin-bottom: var(--spacing-lg);
}
.client-logos-grid img {
    max-width: 80%;
    height: auto;
    
    transition: filter 0.3s, transform 0.3s;
}
.client-logos-grid img:hover {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

/* 6. SEÇÃO DE BENEFÍCIOS */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.benefit-card {
    background-color: var(--card-background);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--secondary-color); /* Linha de destaque */
}
.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}
.benefit-card i {
    font-size: 3rem;
    margin-bottom: 15px;
}
.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}
.benefit-card p {
    color: var(--light-text-color);
}
/* Cores para os ícones */
.benefit-card .icon-primary { color: var(--icon-color-primary); }
.benefit-card .icon-secondary { color: var(--icon-color-secondary); }
.benefit-card .icon-tertiary { color: var(--icon-color-tertiary); }
.benefit-card .icon-quaternary { color: var(--icon-color-quaternary); }


/* 7. POR QUE NOS ESCOLHER */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}
.why-choose-item {
    text-align: center;
    background-color: var(--card-background);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: background-color 0.3s, transform 0.3s;
}
.why-choose-item:hover {
    background-color: var(--bg-light);
    transform: translateY(-5px);
}
.why-choose-item i {
    font-size: 2.8rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.why-choose-item h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.why-choose-item p {
    color: var(--light-text-color);
}

/* 8. COMO AJUDAMOS (Serviços) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}
.service-card {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    padding: var(--spacing-md) var(--spacing-md) 0;
    color: var(--primary-color);
}
.service-card p {
    color: var(--light-text-color);
    font-size: 0.95rem;
    margin-bottom: 15px;
    padding: 0 var(--spacing-md);
    flex-grow: 1;
}
.service-card .post-read-more {
    margin-top: auto;
    display: block;
    font-weight: bold;
    color: var(--secondary-color);
    padding: 0 var(--spacing-md) var(--spacing-md);
}

/* 9. QUEM SOMOS */
.about-us-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap; /* Permite quebrar em telas menores */
}
.about-us-text {
    flex: 1;
    min-width: 300px; /* Garante que o texto não fique muito estreito */
}
.about-us-text h2 {
    text-align: left;
    margin-bottom: var(--spacing-md);
}
.about-us-text p {
    margin-bottom: var(--spacing-sm);
    color: var(--light-text-color);
}
.about-us-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}
.about-us-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}


/* 10. SEÇÃO DE CONTATO FINAL */
.contact-section {
    background: linear-gradient(90deg, var(--primary-color) 0%, #00003b 100%);
    color: white;
    padding: var(--spacing-xl) 0;
}
.contact-content {
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
    flex-wrap: wrap;
}
.contact-info {
    flex: 1;
    min-width: 300px;
}
.contact-info h2 {
    color: white;
    text-align: left;
    margin-bottom: var(--spacing-md);
}
.contact-info p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}
.contact-info ul {
    list-style: none;
    padding: 0;
}
.contact-info ul li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 1rem;
    color: #f0f0f0;
}
.contact-info ul li i {
    margin-right: 10px;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.contact-form {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.95);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 350px;
}
.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: 1.8rem;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    color: var(--text-color);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(34, 174, 255, 0.2);
}
.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}
.contact-form .btn-primary {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
}


/* 11. RODAPÉ (FOOTER) */
.footer {
    background-color: var(--text-color); /* Fundo mais escuro */
    color: #fff;
    padding-top: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    padding-bottom: var(--spacing-lg);
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary-color); /* Títulos em laranja */
}

.footer-col p, .footer-col a {
    font-size: 0.9rem;
    color: #ccc;
    display: block;
    margin-bottom: 8px;
}

.footer-col a:hover {
    color: white;
}

.footer-col i {
    margin-right: 8px;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding: 15px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #999;
}


/* 12. BOTÃO FLUTUANTE (FAB) - WHATSAPP */
.fab-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Cor do WhatsApp */
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.6);
    z-index: 999;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.fab-btn:hover {
    background-color: #1DA851; /* Tom mais escuro do verde */
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.8);
}


/* 13. RESPONSIVIDADE */
@media (max-width: 900px) {
    .main-nav {
        display: none; /* Oculta a navegação no mobile */
        flex-direction: column;
        background-color: var(--primary-color);
        position: absolute;
        top: 80px; /* Altura do header */
        left: 0;
        width: 100%;
        padding: var(--spacing-md);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .main-nav.active {
        display: flex; /* Mostra o menu quando ativo */
    }
    .main-nav a {
        margin: 10px 0;
        padding: 10px 0;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .main-nav a:last-child {
        border-bottom: none;
    }
    .main-nav .btn-nav {
        margin-top: 10px;
        color: var(--primary-color);
        background-color: white;
    }
    .main-nav .btn-nav:hover {
        background-color: var(--bg-light);
        color: var(--secondary-color);
    }
    
    .menu-toggle {
        display: block; /* Mostra o ícone de menu */
    }

    /* HERO Section */
    .hero-landing-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text-form {
        max-width: 100%;
        order: 1; /* Move o formulário para baixo no mobile */
    }
    .hero-image-container {
        order: 2; /* Move a imagem para cima no mobile */
        margin-bottom: var(--spacing-md);
        justify-content: center;
    }
    .hero-landing-content h1 {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* Outras seções */
    h2 {
        font-size: 2rem;
    }
    .info-section {
        padding: var(--spacing-lg) 0;
    }

    .client-logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: var(--spacing-sm);
    }
    .client-logos-grid img {
        max-width: 80px;
    }

    .about-us-content {
        flex-direction: column;
        text-align: center;
    }
    .about-us-text h2 {
        text-align: center;
    }
    .about-us-text .btn-primary {
        margin: var(--spacing-md) auto;
    }

    .contact-content {
        flex-direction: column;
        align-items: center;
    }
    .contact-info, .contact-form {
        min-width: unset;
        width: 100%;
        text-align: center;
    }
    .contact-info h2 {
        text-align: center;
    }
    .contact-info ul {
        text-align: left;
        display: inline-block; /* Para centralizar a lista ul */
    }
    .contact-info ul li {
        justify-content: flex-start;
    }

    /* Rodapé */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col h3 {
        margin-top: var(--spacing-md);
        color: white; /* Para destacar mais no footer escuro */
    }
    .footer-col p, .footer-col a {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    /* Reduz espaçamento geral no mobile */
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .fab-btn {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 1.5rem;
    }
}

@media (max-width: 500px) {
    .hero-landing-content h1 {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .contact-form-hero h3, .contact-form h3 {
        font-size: 1.4rem;
    }
}

/* 14. SEÇÃO PÁGINA DE OBRIGADO (THANK YOU PAGE) */
.thank-you-section {
    background-color: var(--card-background); /* Fundo branco ou claro */
    padding: var(--spacing-xl) 0;
    text-align: center;
    min-height: 70vh; /* Garante que o conteúdo ocupe a maior parte da tela */
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-section .container {
    max-width: 800px; /* Limita a largura do texto para melhor leitura */
}

.success-icon {
    font-size: 5rem;
    color: #4CAF50; /* Verde de sucesso (pode ajustar para um verde mais Licitte se preferir) */
    margin-bottom: var(--spacing-md);
}

.thank-you-section h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.thank-you-message {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.thank-you-subtext {
    font-size: 1.1rem;
    color: var(--light-text-color);
    margin-bottom: var(--spacing-lg);
}

.thank-you-actions {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap; /* Garante que os botões quebrem em telas menores */
}

/* Novo estilo de botão secundário (para o "Ver Nossos Serviços") */
.btn-secondary-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
    cursor: pointer;
}

.btn-secondary-action:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.trust-message {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-md);
    border-top: 1px dashed #eee;
    color: var(--light-text-color);
    font-style: italic;
}

/* Responsividade para a Thank You Page */
@media (max-width: 600px) {
    .success-icon {
        font-size: 4rem;
    }
    .thank-you-section h2 {
        font-size: 2rem;
    }
    .thank-you-message {
        font-size: 1rem;
    }
    .thank-you-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-primary, .btn-secondary-action {
        width: 100%;
        margin: 5px 0;
    }
}

/* 6. SEÇÃO DEPOIMENTOS (CARROSSEL) */
/* OBS: Usei o número 6 para manter a ordem do seu CSS original */

.testimonials-slider {
    display: flex;
    overflow-x: auto; /* Permite a rolagem horizontal */
    scroll-snap-type: x mandatory; /* Para rolagem suave */
    -webkit-overflow-scrolling: touch;
    gap: var(--spacing-md);
    padding: var(--spacing-sm); /* Adiciona um pouco de padding para o efeito visual */
    margin-bottom: var(--spacing-md);
}

/* Esconder a barra de rolagem (opcional, mas melhora o visual) */
.testimonials-slider::-webkit-scrollbar {
    display: none;
}
.testimonials-slider {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.testimonial-card {
    flex: 0 0 320px; /* Largura fixa para cada card, permitindo a rolagem */
    scroll-snap-align: start; /* Alinha o card no início da rolagem */
    background-color: var(--card-background);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border-left: 5px solid var(--secondary-color);
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    color: #FFC107; /* Cor de estrela amarela */
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}
.testimonial-rating i {
    font-size: 1.1rem;
    margin-right: 2px;
}
.testimonial-rating span {
    color: var(--text-color);
    margin-left: 5px;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--light-text-color);
    font-style: italic;
    margin-bottom: var(--spacing-md);
}

.testimonial-author {
    display: flex;
    align-items: center;
    text-align: left;
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--bg-light);
}
.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid var(--secondary-color);
}
.author-name {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 2px;
}
.author-title {
    font-size: 0.9rem;
    color: var(--light-text-color);
}

/* Responsividade: garantir que o card ocupe mais espaço em telas muito pequenas */
@media (max-width: 600px) {
    .testimonial-card {
        flex: 0 0 85vw; /* Ocupa 85% da largura da viewport para dar margem */
    }
}

/* 7. SEÇÃO NÚMEROS DE SUCESSO */

.success-metrics-section {
    background-color: var(--primary-color); /* Fundo da cor principal para destaque */
    color: white;
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.metric-item {
    padding: var(--spacing-sm);
}

.metric-value {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4rem); /* Torna o número grande e responsivo */
    font-weight: 800; /* Extra bold */
    color: var(--secondary-color); /* Laranja de destaque */
    line-height: 1;
    margin-bottom: 10px;
}

.metric-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsividade: em telas pequenas, alinhar os números */
@media (max-width: 600px) {
    .metric-item {
        padding: var(--spacing-sm) 0;
    }
}


/* 12. CHAT WIDGET (Substitui o FAB do WhatsApp, ou ajuste o número da seção) */

/* Botão Flutuante (FAB) */
.chat-fab-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color); /* Laranja de Ação */
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(34, 174, 255, 0.6);
    z-index: 9999;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.chat-fab-btn:hover {
    background-color: #192ee6; /* Cor de hover ajustada */
    transform: scale(1.05);
}

.chat-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.75rem;
    font-weight: bold;
    line-height: 1;
}

/* Container do Chat */
.chat-container {
    position: fixed;
    bottom: 100px; /* Acima do FAB */
    right: 30px;
    width: 350px;
    height: 500px;
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 9998;
    display: none; /* Inicia oculto */
    flex-direction: column;
    overflow: hidden;
    transition: opacity 0.3s, transform 0.3s;
}

.chat-container.active {
    display: flex;
}

/* Header */
.chat-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.close-chat-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
}

/* Body (Área de Mensagens) */
.chat-body {
    flex-grow: 1;
    padding: var(--spacing-sm);
    overflow-y: auto;
    background-color: var(--bg-light);
}

/* Estilo das Mensagens */
.chat-message {
    display: flex;
    margin-bottom: 10px;
    max-width: 80%;
}

.message-bot {
    justify-content: flex-start;
    align-self: flex-start;
}
.message-user {
    justify-content: flex-end;
    align-self: flex-end;
    margin-left: auto;
}

.message-bot p {
    background-color: white;
    color: var(--text-color);
    padding: 10px 15px;
    border-radius: 18px 18px 18px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.message-user p {
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 15px;
    border-radius: 18px 18px 0 18px;
}

/* Input */
.chat-input-area {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
    background-color: white;
    align-items: center; /* CHAVE: Centraliza verticalmente */
}

#chatInput {
    flex-grow: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-right: 10px;
    font-size: 1.3rem;
    transition: border-color 0.3s;
}
#chatInput:focus {
    outline: none;
    border-color: var(--secondary-color);
}
#chatInput:disabled {
    background-color: #f7f7f7;
    cursor: not-allowed;
}

#sendChatBtn {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}
#sendChatBtn:hover:not(:disabled) {
    background-color: #192ee6;
}
#sendChatBtn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Responsividade */
@media (max-width: 500px) {
    .chat-container {
        width: 90vw;
        height: 70vh;
        right: 5vw;
        bottom: 90px;
    }
}

/* AJUSTES NO HEADER DO CHAT */
.chat-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Remover 'font-weight: bold;' do header se estiver no estilo anterior */
}

.chat-agent-info {
    display: flex;
    align-items: center;
}

.agent-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    border: 2px solid white;
}

.agent-name {
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.2;
}

.agent-status-line {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    opacity: 0.8;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #82ff86; /* Verde de Online */
    border-radius: 50%;
    margin-right: 5px;
    animation: pulse 1.5s infinite; /* Animação de pulso */
}

/* Animação de Pulso para Status Online */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

/* NOVO: Estilo para a animação de Digitanto */
.typing-indicator {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 10px 15px;
    border-radius: 18px 18px 18px 0;
    width: 60px; /* Largura para os pontos */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    margin: 0 2px;
    background-color: #aaa;
    border-radius: 50%;
    opacity: 0;
    animation: bounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }
.typing-indicator span:nth-child(3) { animation-delay: 0s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); opacity: 0; }
    40% { transform: scale(1.0); opacity: 1; }
}

/* Adicione ou modifique estas regras no seu CSS */

/* Container do Footer: Garante que o input e botão fiquem lado a lado */
.chat-footer {
    padding: 10px;
    border-top: 1px solid #ddd;
    display: flex; /* CHAVE: Usa Flexbox */
    align-items: center; /* CHAVE: Centraliza verticalmente */
    background-color: #fff; /* Fundo branco para contrastar */
}

/* Campo de Input: Deve ocupar o máximo de espaço horizontal disponível */
#chatInput {
    flex-grow: 1; /* CHAVE: Permite que o input se expanda */
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 7px;
    margin-right: 10px; /* Espaço entre o input e o botão */
    font-size: 14px;
    outline: none; /* Remove o contorno padrão ao focar */
    font-family: Sora;
}

/* Botão de Envio: Garante o tamanho e cor corretos */
#sendChatBtn {
    background-color: var(--secondary-color); /* Use sua cor primária */
    color: white;
    border: none;
    border-radius: 50%; /* Faz um botão redondo */
    width: 40px; /* Define largura */
    height: 40px; /* Define altura */
    display: flex; /* Centraliza o ícone dentro do botão */
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
    flex-shrink: 0; /* Impede que o botão encolha */
}

#sendChatBtn:hover {
    background-color: #000160; /* Uma cor mais escura no hover */
}

#sendChatBtn i {
    font-size: 16px;
    /* Adicione uma rotação para o ícone de avião de papel, se necessário */
    transform: rotate(45deg); 
}

/* Container que alinha o botão (usa a mesma lógica de alinhamento do bot) */
.chat-message.message-bot {
    /* Garante que o container se ajuste */
    max-width: 80%; 
    /* Adicione estas duas linhas se não tiver no .chat-message */
    /* display: flex; 
    justify-content: flex-start; */
}

/* O PRÓPRIO BOTÃO (fora do <p> de texto) */
.whatsapp-chat-button-outside {
    display: inline-block;
    background-color: #25D366; /* Cor verde do WhatsApp */
    color: white; /* Texto branco */
    padding: 10px 15px;
    margin-top: 5px; /* Espaço do botão para o texto anterior */
    border-radius: 25px; 
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
    /* Alinha o botão na bolha do bot */
    align-self: flex-start;
}

.whatsapp-chat-button-outside:hover {
    background-color: #128C7E;
}

/* Se você usar um ícone (como no exemplo acima) */
.whatsapp-chat-button-outside i {
    margin-left: 5px;
}

/* --- ESTILIZAÇÃO DO AVATAR NA MENSAGEM DO BOT --- */

/* O contêiner de mensagem do bot precisa ser um Flexbox para alinhar a imagem e o texto */
.chat-message.message-bot {
    display: flex; /* CHAVE: Permite que a imagem e o <p> fiquem lado a lado */
    align-items: flex-start; /* Alinha a imagem e o texto pelo topo */
    max-width: 90%; /* Ajuste a largura máxima para dar espaço à imagem */
    margin-right: auto; /* Garante que as mensagens do bot fiquem à esquerda */
}

/* Estilo da Imagem da Atendente */
.message-agent-avatar {
    width: 30px; /* Tamanho da imagem */
    height: 30px;
    border-radius: 50%; /* Faz a imagem ser redonda */
    object-fit: cover;
    margin-right: 8px; /* Espaço entre a imagem e a bolha de texto */
    flex-shrink: 0; /* Impede que a imagem encolha */
    border: 1px solid #eee; /* Borda suave opcional */
}

/* Estilo da Bolha de Mensagem do Bot (Ajuste) */
.message-bot p {
    /* Mantenha as cores de fundo e borda que você já tem */
    /* background-color: white; */
    /* ... */
    
    /* É importante que o <p> não tenha margin-top ou bottom para não desalinhar */
    margin: 0; 
    
    /* Adicione margin-left: auto; se precisar empurrar a bolha mais para a direita (menos comum) */
}

/* Ajuste o indicador de digitação (typing-indicator) */
.typing-indicator-wrapper {
    /* Adiciona a margem da imagem para que o indicador comece no lugar certo */
    margin-left: 38px; /* 30px da imagem + 8px de margin-right */
}