/* Importing the 'Poppins' font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* Basic reset and typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f4f8; /* Light blue-gray background */
    color: #1a202c; /* Dark text */
    line-height: 1.6;
}

/* Animations on scroll */
.hidden-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hidden-element.zoom-in {
    transform: scale(0.9);
}

.is-visible.zoom-in {
    transform: scale(1);
}

/* Base layout for sections */
section,
main {
    padding: 5rem 5%;
}

.content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Background colors for sections */
.section-bg-1 {
    background: linear-gradient(180deg, #f0f4f8 0%, #ffffff 100%);
}

.section-bg-2 {
    background: linear-gradient(180deg, #ffffff 0%, #d1e1f1 100%);
}

/* -------------------------------------- */
/* HEADER & NAVIGATION */
/* -------------------------------------- */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 50;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Hamburger Menu and Navigation */
.navbar {
    display: flex;
    justify-content: flex-end;
    flex-grow: 1;
}

.navbar ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.navbar a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
    padding: 0.25rem 0;
    white-space: nowrap;
}

.navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #005A9C;
    transition: width 0.3s ease;
}

/* Garante que o item pulsante não tenha sublinhado padrão */
.navbar a:not(.highlight-pulse):hover::after {
    width: 100%;
}

.navbar a:not(.highlight-pulse):hover {
    color: #005A9C;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 60;
    position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #1a202c;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -9px;
}

.hamburger::after {
    top: 9px;
}

.menu-toggle.active .hamburger {
    background: transparent;
}

.menu-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Destaque API Oficial Meta no Menu */
@keyframes facebook-pulse {
    0% {
        color: #4b5563;
        box-shadow: none;
        background-color: transparent;
    }
    50% {
        color: #007AFF !important;
        box-shadow: 0 0 15px rgba(0, 122, 255, 0.9);
        background-color: rgba(0, 122, 255, 0.1);
    }
    100% {
        color: #4b5563;
        box-shadow: none;
        background-color: transparent;
    }
}

.navbar .highlight-pulse {
    animation: facebook-pulse 0.8s infinite;
    padding: 5px 10px; 
    border-radius: 8px;
    font-weight: 700;
    color: #1a202c !important; 
    display: flex;
    align-items: center;
    gap: 5px;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
}

.navbar .highlight-pulse:hover {
    color: #007AFF !important;
    box-shadow: 0 0 10px rgba(0, 122, 255, 0.5);
    background-color: rgba(0, 122, 255, 0.15);
    animation-play-state: paused;
}
.navbar .highlight-pulse::after {
    display: none !important; 
}
.nav-verified-img {
    width: 16px;
    height: 16px;
    margin-left: 0;
    vertical-align: middle;
}


/* -------------------------------------- */
/* MAIN CONTENT & FORM */
/* -------------------------------------- */

.main-content {
    position: relative;
    overflow: hidden;
    padding-top: 8rem;
    background-color: #f0f4f8; 
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05)),
        radial-gradient(circle at center, rgba(0,90,156,0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: moveDots 20s linear infinite;
    min-height: 100vh;
}

/* Centraliza o conteúdo principal verticalmente e horizontalmente */
.main-content .content-wrapper {
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    width: 100%; 
}

/* Dots background animation */
@keyframes moveDots {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 40px 40px;
    }
}

.content-wrapper {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Text and Form sections styling */
.text-and-form-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    align-items: center;
}

.text-content {
    text-align: center;
    color: #1a202c;
}

.text-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.text-content h1 span {
    background: linear-gradient(90deg, #005A9C, #007AFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
    display: inline-block;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.text-content h2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #005A9C;
    margin-bottom: 1.5rem;
}

.text-content p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.8;
}

/* Form styling */
.form-container {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #d1d5db;
    transition: all 0.4s ease-in-out;
    width: 100%;
}

.form-container:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Form title with animation */
.form-title.animated-gradient {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.4;
    background: linear-gradient(90deg, #005A9C, #007AFF, #005A9C);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s ease infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Form grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 0;
    text-align: left; /* Alinha o label e input à esquerda */
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a202c;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 1rem;
    color: #1a202c;
    background-color: #ffffff;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: #999;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    background-color: #ffffff;
    border-color: #005A9C;
    box-shadow: 0 0 0 4px rgba(0, 90, 156, 0.2);
}

.button-container {
    margin-top: 2rem;
}

/* -------------------------------------- */
/* BUTTONS */
/* -------------------------------------- */

.button-primary {
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    background: linear-gradient(90deg, #005A9C, #007AFF);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.button-primary:hover {
    background: linear-gradient(90deg, #004d80, #0060d8);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.arrow-right-icon {
    transition: transform 0.3s ease-in-out;
}

.button-primary:hover .arrow-right-icon {
    transform: translateX(5px);
}

.button-tertiary {
    margin-top: 2rem;
    background-color: transparent;
    color: #005A9C;
    border-color: #005A9C;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    border: 2px solid #005A9C;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
}

.button-tertiary:hover {
    background-color: #005A9C;
    color: #ffffff;
    transform: scale(1.05);
}

.small-button {
    width: fit-content;
    padding: 0.9rem 2.5rem;
    font-size: 1rem;
    margin-top: 2rem;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 12px;
    background: linear-gradient(90deg, #005A9C, #007AFF);
}
.small-button:hover {
    background: linear-gradient(90deg, #004d80, #0060d8);
    transform: translateY(-2px);
}
.agent-ai-button {
    margin: 3rem auto 0;
    display: block;
    width: fit-content;
}

/* -------------------------------------- */
/* ADVANTAGES & AI SECTIONS */
/* -------------------------------------- */

.advantages-section {
    text-align: center;
}

.advantages-section h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 3rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.advantage-item {
    background-color: #f0f4f8;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid transparent;
}

.advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid #005A9C;
}

.advantage-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.advantage-item svg {
    width: 2rem;
    height: 2rem;
    color: #005A9C;
}

.advantage-title {
    font-weight: 600;
    font-size: 1.2rem;
    color: #1a202c;
    margin: 0;
}

.advantage-text {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
}

.agent-ai-section {
    text-align: center;
}

.agent-ai-section h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.ai-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #4a5568;
    line-height: 1.8;
}

.agent-ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.ai-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.ai-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.ai-card-title-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ai-card-title-wrapper svg {
    width: 2.5rem;
    height: 2.5rem;
    color: #005A9C;
}

.ai-title {
    font-weight: 600;
    font-size: 1.2rem;
    color: #1a202c;
    margin: 0;
}

.ai-card-text {
    color: #4a5568;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.ai-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.ai-card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    color: #4a5568;
    font-size: 0.95rem;
}

.ai-card ul li::before {
    content: '✓';
    color: #005A9C;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.1rem;
}

/* -------------------------------------- */
/* EFFICIENCY & INTERACTION */
/* -------------------------------------- */

.intelligent-interaction-section {
    color: #1a202c;
    padding: 5rem 5%;
}

.interaction-wrapper {
    flex-direction: row-reverse;
    align-items: center;
}

.image-section.interaction-image img {
    border-radius: 20px;
    object-fit: cover;
    max-width: 100%;
    height: auto;
}

.interaction-text h2 {
    font-size: 2.2rem;
    color: #1a202c;
    font-weight: 700;
    margin-bottom: 2rem;
}

.interaction-text h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #005A9C;
    margin-bottom: 1.5rem;
}

.interaction-text p {
    color: #4a5568;
    margin-bottom: 1rem;
}

.efficiency-section {
    color: #1a202c;
    text-align: center;
}

.efficiency-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.efficiency-section .text-content h2 {
    color: #1a202c;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.efficiency-section .text-content ul {
    list-style: none;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
}

.efficiency-section .text-content ul li {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.efficiency-section .text-content ul li::before {
    content: '✓';
    color: #005A9C;
    margin-right: 0.5rem;
    position: absolute;
    left: 0;
}

/* -------------------------------------- */
/* WHATSAPP INTEGRATION SECTION */
/* -------------------------------------- */
.whatsapp-integration-section {
    text-align: center;
    padding: 5rem 5%;
}

.whatsapp-integration-section h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.whatsapp-integration-section .ai-intro {
    font-size: 1.1rem;
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.whatsapp-cards-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap; /* Permite quebras em telas menores */
}

.whatsapp-card {
    flex: 1 1 450px; /* Base para o card */
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
    padding: 1.5rem;
    color: #ffffff;
}

.card-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    display: flex; /* Para alinhar o ícone */
    align-items: center;
    justify-content: center; /* Centralizado por padrão */
    gap: 5px;
}

.card-header p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.blue-bg {
    background-color: #005A9C; /* Cor da API Oficial */
}

.green-bg {
    background-color: #28a745; /* Cor da API Não Oficial (WhatsApp Green) */
}

.card-body {
    padding: 2rem;
    color: #1a202c;
}

.compliance-text {
    font-size: 0.95rem;
    color: #4a5568;
    margin-bottom: 1.5rem;
    min-height: 40px; /* Para manter o alinhamento visual */
}

.ideal-for {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.whatsapp-card ul {
    list-style: none;
    padding: 0;
}

.whatsapp-card ul li {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.whatsapp-card ul li .check-icon {
    margin-right: 0.5rem;
    color: #28a745; /* Checkmark green */
    font-weight: bold;
}


/* ESTILOS DE DESTAQUE E ÍCONES */

/* Animação de Pulsar no Menu (Rápida e Forte) */
@keyframes facebook-pulse {
    0% {
        color: #4b5563;
        box-shadow: none;
        background-color: transparent;
    }
    55% {
        color: #007AFF !important;
        box-shadow: 0 0 15px rgba(0, 122, 255, 0.9);
        background-color: rgba(0, 122, 255, 0.1);
    }
    100% {
        color: #4b5563;
        box-shadow: none;
        background-color: transparent;
    }
}

.navbar .highlight-pulse {
    animation: facebook-pulse 0.8s infinite;
    padding: 5px 10px; 
    border-radius: 8px;
    font-weight: 700;
    color: #1a202c !important; 
    display: flex;
    align-items: center;
    gap: 5px;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
}

.navbar .highlight-pulse:hover {
    color: #007AFF !important;
    box-shadow: 0 0 10px rgba(0, 122, 255, 0.5);
    background-color: rgba(0, 122, 255, 0.15);
    animation-play-state: paused;
}
.navbar .highlight-pulse::after {
    display: none !important; 
}


/* Estilos dos Ícones (API Meta) */

/* Imagem no Menu */
.nav-verified-img {
    width: 16px;
    height: 16px;
    margin-left: 0;
    vertical-align: middle;
}

/* Imagem no Card (API Oficial) */
.meta-icon.verified-img {
    width: 20px;
    height: 20px;
    margin-left: 5px;
    vertical-align: middle;
}

/* Ícone Não Oficial (REMOVIDO DO HTML, mas mantido o estilo para o caso) */
.meta-icon.unverified-icon {
    display: none; /* Garante que não apareça */
}

/* -------------------------------------- */
/* INTEGRAÇÕES - CARROSSEL LOGIC */
/* -------------------------------------- */

.integrations-section {
    padding: 5rem 5%;
    overflow: hidden; /* Importante para o carrossel */
}

.integrations-logos-wrapper {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.integrations-logos {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 4rem;
    /* Dobra a largura para que a animação de slide seja suave */
    width: 200%; 
    animation: slide 20s linear infinite;
}


@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        /* Desloca exatamente 50% da largura total */
        transform: translateX(-50%);
    }
}

.integrations-logos img {
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    cursor: pointer;
    filter: none;
}

.integrations-logos img:hover {
    transform: scale(1.1);
}


/* -------------------------------------- */
/* FAQ SECTION STYLES */
/* -------------------------------------- */
.faq-section {
    text-align: center;
    color: #1a202c;
}

.faq-section h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 3rem;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background-color: #f0f4f8;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background-color: transparent;
    border: none;
    width: 100%;
    padding: 1.5rem 2rem;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1a202c;
    transition: color 0.3s ease;
}

.faq-question:hover, .faq-question.active {
    color: #005A9C;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 2rem;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: #4a5568;
}

/* -------------------------------------- */
/* FOOTER SECTION STYLES */
/* -------------------------------------- */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 3rem 5%;
    background-color: #1a202c;
    color: #e0e0e0;
    text-align: center;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    margin: 0 1.5rem;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFC107;
}

.footer p {
    font-size: 0.9rem;
    color: #a0a0a0;
}

/* -------------------------------------- */
/* Success and Error Message Styling (ANIMAÇÕES) */
/* -------------------------------------- */
.feedback-message {
    padding: 4rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feedback-message p {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
}

.feedback-message.success p {
    color: #28a745;
}

.feedback-message.error p {
    color: #d9534f;
}

.feedback-icon {
    width: 60px;
    height: 60px;
    display: block;
    stroke-width: 3;
    stroke: #28a745;
    stroke-miterlimit: 10;
}

/* Checkmark animation */
.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: #28a745;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
	stroke: #28a745;
}

/* Error (X) animation */
.error__circle {
    stroke-dasharray: 120;
    stroke-dashoffset: 120;
    stroke: #d9534f;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.error__x {
    transform-origin: 50% 50%;
    stroke-dasharray: 160;
    stroke-dashoffset: 160;
    stroke: #d9534f;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}


/* -------------------------------------- */
/* RESPONSIVE DESIGN (Media Queries) */
/* -------------------------------------- */

@media (max-width: 1200px) {
    .plans-grid {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
    }
}

@media (max-width: 1024px) {
    .content-wrapper,
    .interaction-wrapper {
        flex-direction: column;
        gap: 3rem;
    }
    .main-content {
        padding-top: 5rem;
    }
    .image-section {
        max-width: 100%;
        display: block;
    }
    .interaction-wrapper {
        flex-direction: column;
    }
    .interaction-image {
        order: -1;
    }
    .advantages-grid,
    .agent-ai-grid {
        grid-template-columns: 1fr;
    }
    .header {
        flex-direction: row;
        justify-content: space-between;
        padding: 0.75rem 5%;
    }
    .navbar {
        top: 60px; 
    }
    .navbar ul {
        display: flex;
    }
    .navbar a {
        padding: 0.5rem 0;
    }
    .whatsapp-cards-grid {
        flex-direction: column;
        gap: 1.5rem;
    }
    .whatsapp-card {
        max-width: 450px;
        margin: 0 auto;
    }
    .intelligent-interaction-section .small-button {
        display: block;
        width: 100%;
        text-align: center;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Menu lateral mobile (Ajustado para ocupar 100% em telas menores que 600px, 
       mas mantido 60% aqui para o breakpoint de 768px para tablets estreitos) */
    .navbar {
        position: fixed;
        top: 60px;
        right: 0;
        width: 60%; /* Ajuste para tablets estreitos */
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }
    .navbar.nav-active {
        transform: translateX(0);
    }
    .navbar ul {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 1.5rem;
        width: 100%;
        padding: 2rem 1.5rem;
    }
    .navbar a {
        font-size: 1.5rem;
        color: #1a202c;
        text-decoration: none;
    }
    .menu-toggle {
        display: flex;
    }
    body {
        font-size: 14px;
    }
    section, main {
        padding: 3rem 5%;
    }
    .text-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        white-space: normal;
    }
    .text-content h1 span {
        display: inline;
        font-size: 2.2rem;
    }
    .text-content h2 {
        font-size: 1.1rem;
    }
    .form-container {
        padding: 1.5rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .button-primary {
        font-size: 1rem;
        padding: 1rem;
    }
    .whatsapp-card {
        max-width: 100%;
    }
    .whatsapp-card .card-header h4 {
        justify-content: flex-start;
        text-align: left;
    }
    .navbar .highlight-pulse {
        padding: 5px 0; 
        gap: 8px; 
        font-size: 1.5rem; 
    }
}

/* Ajuste adicional para telas extra pequenas */
@media (max-width: 600px) {
     .navbar {
        width: 100%; /* Ocupa a tela inteira em telas pequenas */
    }
}

/* Garante que o input de documento tenha margem em mobile */
@media (max-width: 768px) {
    .form-group:nth-child(2) {
        margin-bottom: 1.5rem;
    }
    .form-group:nth-child(3) {
        margin-top: 1.5rem;
    }
}