/* ===== Variáveis ===== */
:root {
    /* Cores principais */
    --primary-color: #4a6bff;
    --primary-dark: #3755cc;
    --primary-light: #7b92ff;
    --secondary-color: #ff6b6b;
    --accent-color: #4ecdc4;
    
    /* Cores de background */
    --bg-light: #ffffff;
    --bg-dark: #0f172a;
    --bg-grey: #f8f9fa;
    
    /* Cores de texto */
    --text-dark: #1e293b;
    --text-medium: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    
    /* Efeitos e gradientes */
    --primary-gradient: linear-gradient(135deg, #4a6bff 0%, #6b8aff 100%);
    --secondary-gradient: linear-gradient(135deg, #ff6b6b 0%, #ffa28b 100%);
    --accent-gradient: linear-gradient(135deg, #4ecdc4 0%, #2ee8c9 100%);
    
    /* Sombras */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    
    /* Fontes */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Fira Code', monospace;
    
    /* Arredondamentos */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 2rem;
    
    /* Transições */
    --transition-fast: 0.3s ease;
    --transition-normal: 0.5s ease;
    --transition-slow: 0.8s ease;
    
    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;
    
    /* Novas variáveis de animação */
    --animation-fade: 0.8s ease-out;
    --animation-slide: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --animation-bounce: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Tema escuro */
[data-theme="dark"] {
    --bg-light: #0f172a;
    --bg-dark: #1e293b;
    --bg-grey: #1e293b;
    
    --text-dark: #e2e8f0;
    --text-medium: #cbd5e1;
    --text-light: #94a3b8;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.3);
}

/* ===== Estilos Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden; /* Prevenir rolagem horizontal em toda a página */
    width: 100%;
    position: relative;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden; /* Garantir que não haja rolagem horizontal */
    width: 100%;
    max-width: 100vw; /* Limitar a largura máxima ao viewport */
    position: relative;
    transition: background-color var(--transition-normal);
    line-height: 1.6;
}

/* Fix para borda branca no mobile e contenção de conteúdo */
.container {
    width: 100%;
    max-width: 100%;
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
    overflow: visible; /* Alterado de overflow-x: hidden para permitir conteúdo fluir */
}

/* Garantir que seções não tenham scrolls próprios */
section {
    overflow: visible;
}

/* Corrigir scrollbars em elementos específicos */
.chatbot-messages {
    overflow-y: auto; /* Manter scroll apenas no chat que precisa */
}

.navbar-collapse {
    overflow-y: auto; /* Manter scroll apenas no menu mobile que precisa */
}

/* Media query para adicionar espaçamento na seção hero apenas em desktop */
@media (min-width: 992px) {
    .hero-content {
        padding-left: var(--spacing-lg);
    }
}

@media (max-width: 576px) {
    html, 
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
    
    .container {
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        overflow: visible;
    }
    
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    [class*="col-"] {
        padding-left: 10px;
        padding-right: 10px;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.section-header {
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

[data-theme="dark"] .section-header h2 {
    color: var(--text-white);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto;
}

.gradient-text {
    background: var(--primary-gradient);
    background-size: 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
    display: inline-block;
}

/* Ajuste para o tema escuro */
[data-theme="dark"] .gradient-text {
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.2));
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.loader-text {
    display: flex;
    margin-top: var(--spacing-sm);
}

.loader-text span {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 600;
    animation: pulse 1s ease-in-out infinite alternate;
}

.loader-text span:nth-child(1) { animation-delay: 0.1s; }
.loader-text span:nth-child(2) { animation-delay: 0.2s; }
.loader-text span:nth-child(3) { animation-delay: 0.3s; }
.loader-text span:nth-child(4) { animation-delay: 0.4s; }
.loader-text span:nth-child(5) { animation-delay: 0.5s; }
.loader-text span:nth-child(6) { animation-delay: 0.6s; }
.loader-text span:nth-child(7) { animation-delay: 0.7s; }

#loader-circle {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 4;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: dash 2s ease-in-out infinite;
}

@keyframes dash {
    0% { stroke-dashoffset: 200; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -200; }
}

@keyframes pulse {
    0% { opacity: 0.4; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

/* ===== Partículas de fundo ===== */
.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-light);
    opacity: 0.1;
    animation: float 15s ease-in-out infinite;
}

.particle:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 30%;
    left: 80%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 70%;
    left: 20%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    width: 120px;
    height: 120px;
    top: 80%;
    left: 70%;
    animation-delay: 6s;
}

.particle:nth-child(5) {
    width: 70px;
    height: 70px;
    top: 40%;
    left: 40%;
    animation-delay: 8s;
}

.particle:nth-child(6) {
    width: 90px;
    height: 90px;
    top: 20%;
    left: 60%;
    animation-delay: 10s;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* ===== Header e Navegação ===== */
.header-area {
    width: 100%;
    position: relative;
    z-index: 999;
}

.navbar {
    padding: 15px 0;
    background-color: transparent;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background-color: var(--bg-light);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

[data-theme="dark"] .navbar.scrolled {
    background-color: var(--bg-dark);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 80px;
    transition: all var(--transition-normal);
}

.logo-light {
    display: block;
    transition: all var(--transition-normal);
}

.logo-dark {
    display: none;
    transition: all var(--transition-normal);
}

.notebook-light {
    display: block;
    transition: all var(--transition-normal);
}

.notebook-dark {
    display: none;
    transition: all var(--transition-normal);
}

[data-theme="dark"] .logo-light {
    display: none;
}

[data-theme="dark"] .logo-dark {
    display: block;
}

[data-theme="dark"] .notebook-light {
    display: none;
}

[data-theme="dark"] .notebook-dark {
    display: block;
}

.navbar-scrolled .logo-light {
    display: none;
}

.navbar-scrolled .logo-dark {
    display: block;
}

[data-theme="dark"] .navbar-scrolled .logo-dark {
    display: none;
}

[data-theme="dark"] .navbar-scrolled .logo-light {
    display: block;
}

.navbar-toggler {
    border: none;
    padding: 0;
    outline: none;
    box-shadow: none;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(74, 107, 255, 0.25);
}

[data-theme="dark"] .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(123, 146, 255, 0.25);
}

.navbar-toggler-icon {
    width: 24px;
    height: 24px;
    background-image: none !important;
    position: relative;
}

.navbar-toggler-icon:before,
.navbar-toggler-icon:after,
.navbar-toggler-icon span {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    position: absolute;
    left: 0;
    transition: all var(--transition-fast);
}

.navbar-toggler-icon:before {
    top: 0;
}

.navbar-toggler-icon:after {
    bottom: 0;
}

.navbar-toggler-icon span {
    top: 50%;
    transform: translateY(-50%);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span {
    opacity: 0;
}

.navbar-toggler:hover .navbar-toggler-icon:before {
    transform: translateY(-2px);
}

.navbar-toggler:hover .navbar-toggler-icon:after {
    transform: translateY(2px);
}

.nav-link {
    font-weight: 500;
    padding: 8px 16px;
    color: var(--text-dark);
    position: relative;
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

[data-theme="dark"] .nav-link {
    color: var(--text-white);
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
    color: var(--primary-light);
}

.nav-link i {
    margin-right: 5px;
    font-size: 0.9rem;
}

.theme-switch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.theme-switch:hover {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

/* Invertendo os ícones de tema claro/escuro */
.theme-switch i.fa-moon {
    display: block; /* Visível no modo claro */
}

.theme-switch i.fa-sun {
    display: none; /* Oculto no modo claro */
}

[data-theme="dark"] .theme-switch i.fa-moon {
    display: none; /* Oculto no modo escuro */
}

[data-theme="dark"] .theme-switch i.fa-sun {
    display: block; /* Visível no modo escuro */
}

/* ===== Divider de Ondas ===== */
.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    overflow: hidden;
    z-index: 2;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 150px;
    min-height: 150px;
}

.wave-divider svg path {
    transition: all 0.5s ease;
}

/* Regras específicas para as ondas de cada seção */
/* Hero para Benefícios */
.hero-section .wave-divider svg path {
    fill: var(--bg-light) !important; /* Cor da seção Benefícios */
}

/* Benefícios para Como Funciona */
.beneficios-section .wave-divider svg path {
    fill: var(--bg-grey) !important; /* Cor da seção Como Funciona */
}

/* Como Funciona para Portfolio */
.como-funciona-section .wave-divider svg path {
    fill: var(--bg-light) !important; /* Cor da seção Portfolio */
}

/* Portfolio para Depoimentos */
.portfolio-section .wave-divider svg path {
    fill: var(--bg-grey) !important; /* Cor da seção Depoimentos */
}

/* Depoimentos para Planos */
.depoimentos-section .wave-divider svg path {
    fill: var(--bg-light) !important; /* Cor da seção Planos */
}

/* Planos para FAQ */
.planos-section .wave-divider svg path {
    fill: var(--bg-grey) !important; /* Cor da seção FAQ */
}

/* FAQ para CTA */
.faq-section .wave-divider svg path {
    fill: #4a6bff !important;
    fill-opacity: 1 !important;
}

/* Ajustes para tema escuro */
[data-theme="dark"] .hero-section .wave-divider svg path {
    fill: var(--bg-dark) !important;
}

[data-theme="dark"] .beneficios-section .wave-divider svg path {
    fill: #ffffff !important; /* Cor da seção Como Funciona no tema escuro */
}

[data-theme="dark"] .como-funciona-section .wave-divider svg path {
    fill: var(--bg-dark) !important;
}

[data-theme="dark"] .portfolio-section .wave-divider svg path {
    fill: #ffffff !important; /* Cor da seção Depoimentos no tema escuro */
}

[data-theme="dark"] .depoimentos-section .wave-divider svg path {
    fill: var(--bg-dark) !important;
}

[data-theme="dark"] .planos-section .wave-divider svg path {
    fill: var(--bg-grey) !important;
}

.footer-wave {
    position: absolute;
    top: -1px;
    bottom: auto;
    transform: rotate(180deg);
}

.footer-wave svg {
    height: 150px;
    min-height: 150px;
}

/* ===== Hero Section ===== */
.hero-section {
    background: var(--primary-gradient);
    padding: 180px 0 240px;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .hero-section {
    background: linear-gradient(135deg, #1a2d5e 0%, #2a417e 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--text-white);
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    animation: fadeInUp 1.2s ease;
}

.hero-btns {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    animation: fadeInUp 1.4s ease;
}

.btn {
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 50px;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn i {
    margin-left: 8px;
    transition: transform var(--transition-fast);
}

.btn:hover i {
    transform: translateX(8px);
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(74, 107, 255, 0.3);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-primary:after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    z-index: -1;
    transition: all 0.5s ease;
}

.btn-primary:hover:after {
    left: 100%;
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: rgba(74, 107, 255, 0.1);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-section .btn-outline-primary {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
}

.hero-section .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    animation: fadeInUp 1.6s ease;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-item span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    font-family: var(--font-secondary);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    font-family: var(--font-secondary);
    white-space: nowrap;
    display: inline-block;
    animation: countUp 2s ease-out forwards;
    opacity: 0;
}

.stat-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.hero-image img {
    position: relative;
    z-index: 2;
    filter: drop-shadow(var(--shadow-lg));
    animation: float 6s ease-in-out infinite;
}

.shape-1,
.shape-2 {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    right: -50px;
    z-index: 1;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -30px;
    left: -30px;
    z-index: 1;
}

.floating-element {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 3;
    animation: float 5s ease-in-out infinite;
    animation-delay: 1s;
}

.device-frame {
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
    padding: 15px;
    box-shadow: var(--shadow-lg);
}

.device-mockup {
    display: flex;
    align-items: center;
    gap: 10px;
}

.device-mockup i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.device-mockup p {
    margin: 0;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Animação de contador */
.counter {
    display: inline-block;
    animation: countUp 2s ease-out forwards;
    opacity: 0;
}

@keyframes countUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Benefícios Section ===== */
.beneficios-section {
    padding: var(--spacing-xxl) 0 calc(var(--spacing-xxl) + 160px);
    background-color: var(--bg-light);
    position: relative;
    margin-bottom: -1px;
}

[data-theme="dark"] .beneficios-section {
    background-color: var(--bg-dark);
}

.beneficio-card {
    background: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    height: 100%;
    z-index: 1;
}

[data-theme="dark"] .beneficio-card {
    background: var(--bg-dark);
    box-shadow: var(--shadow-lg);
}

.beneficio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transition: height 0.4s ease;
}

.beneficio-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.18);
}

.beneficio-card:hover::before {
    height: 8px;
}

.beneficio-card .card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: var(--text-white);
    font-size: 1.5rem;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.beneficio-card:hover .card-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 5px 15px rgba(74, 107, 255, 0.3);
}

.beneficio-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.beneficio-card p {
    color: var(--text-medium);
    margin-bottom: 0;
    line-height: 1.7;
}

/* ===== Como Funciona Section ===== */
.como-funciona-section {
    padding: var(--spacing-xxl) 0 calc(var(--spacing-xxl) + 160px);
    position: relative;
    background-color: var(--bg-grey);
    margin-bottom: -1px;
}

[data-theme="dark"] .como-funciona-section {
    background-color: #ffffff;
}

.como-funciona-section.bg-light {
    background-color: var(--bg-grey);
}

[data-theme="dark"] .como-funciona-section.bg-light {
    background-color: #ffffff;
}

[data-theme="dark"] .como-funciona-section .section-header h2 {
    color: #1a2d5e;
}

[data-theme="dark"] .como-funciona-section .section-header p {
    color: #1a2d5e;
}

[data-theme="dark"] .como-funciona-section .timeline-content p {
    color: var(--text-white);
}

.timeline {
    position: relative;
    padding: var(--spacing-xl) 0;
}

.timeline:before {
    content: '';
    position: absolute;
    width: 4px;
    height: 100%;
    background: var(--primary-gradient);
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    border-radius: var(--border-radius-lg);
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--primary-color);
    transition: all 0.4s ease;
}

[data-theme="dark"] .timeline-dot {
    background: var(--bg-dark);
    color: var(--primary-light);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.2);
    background: var(--primary-gradient);
}

.timeline-item:hover .timeline-dot i {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

.timeline-content {
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    width: 80%;
    max-width: 500px;
    margin-top: var(--spacing-md);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
}

[data-theme="dark"] .timeline-content {
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-content:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--bg-light);
    transform: rotate(45deg);
    top: -10px;
    left: 50%;
    margin-left: -10px;
    transition: all var(--transition-normal);
}

[data-theme="dark"] .timeline-content:before {
    background: var(--bg-dark);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
}

[data-theme="dark"] .timeline-content h3 {
    color: var(--primary-light);
}

.timeline-content p {
    color: var(--text-medium);
    margin-bottom: 0;
}

[data-theme="dark"] .timeline-content p {
    color: var(--text-light);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ===== Portfolio Section ===== */
.portfolio-section {
    padding: 100px 0;
    background-color: var(--bg-light);
    position: relative;
}

[data-theme="dark"] .portfolio-section {
    background-color: var(--bg-dark);
}

.portfolio-filter {
    margin-bottom: 40px;
}

.filter-btn {
    background: none;
    border: none;
    padding: 8px 20px;
    margin: 0 5px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-gray);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.filter-btn:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--bs-primary), var(--bs-info));
    transition: all 0.3s ease;
}

.filter-btn.active, 
.filter-btn:hover {
    color: var(--bs-primary);
}

.filter-btn.active:before,
.filter-btn:hover:before {
    width: 100%;
}

.portfolio-grid {
    margin-top: 30px;
}

.portfolio-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

[data-theme="dark"] .portfolio-card {
    background: var(--bg-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.portfolio-card .portfolio-img img {
    width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-img img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--bs-primary-rgb), 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.overlay-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary);
    font-size: 20px;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.portfolio-card:hover .overlay-icon {
    transform: translateY(0);
}

.portfolio-info {
    padding: 20px;
}

.portfolio-info h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.portfolio-info p {
    color: var(--text-gray);
    margin-bottom: 15px;
}

.portfolio-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.portfolio-tags span {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    background: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
}

.portfolio-results {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(var(--bs-primary-rgb), 0.1);
}

.result-item {
    text-align: center;
}

.result-item .result-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--bs-primary);
    display: block;
}

.result-item small {
    font-size: 0.8rem;
    color: var(--bs-gray-600);
}

[data-theme="dark"] .result-item small {
    color: rgba(255, 255, 255, 0.7);
}

/* ===== Depoimentos Section ===== */
.depoimentos-section {
    padding: var(--spacing-xxl) 0 calc(var(--spacing-xxl) + 160px);
    background-color: var(--bg-grey);
    position: relative;
    margin-bottom: -1px;
}

[data-theme="dark"] .depoimentos-section {
    background-color: #ffffff;
}

.depoimentos-section.bg-light {
    background-color: var(--bg-grey);
}

[data-theme="dark"] .depoimentos-section.bg-light {
    background-color: #ffffff;
}

[data-theme="dark"] .depoimentos-section .section-header h2 {
    color: #1a2d5e;
}

[data-theme="dark"] .depoimentos-section .section-header p {
    color: #1a2d5e;
}

/* Regra para texto nos metric-cards com tema escuro */
[data-theme="dark"] .depoimentos-section .metric-card p {
    color: #1a2d5e;
}

/* Novo estilo para o grid de depoimentos */
.testimonials-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.testimonial-card {
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .testimonial-card {
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-light);
    opacity: 0.3;
    margin-bottom: var(--spacing-sm);
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    flex-grow: 1;
}

[data-theme="dark"] .testimonial-text {
    color: var(--text-light);
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: var(--spacing-sm);
    border: 3px solid var(--primary-color);
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 3px;
    color: var(--text-dark);
}

[data-theme="dark"] .author-info h4 {
    color: var(--text-white);
}

.author-info p {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.rating {
    color: #FFD700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.rating i {
    margin-right: 2px;
}

.fa-star-half-alt {
    position: relative;
    z-index: 1;
}

.fa-star-half-alt:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: #f8f9fa;
    z-index: -1;
}

[data-theme="dark"] .fa-star-half-alt:after {
    background: #1e293b;
}

.far.fa-star {
    color: rgba(255, 215, 0, 0.3);
}

/* Responsividade para os depoimentos */
@media (max-width: 767.98px) {
    .testimonial-card {
        margin-bottom: 20px;
    }
}

/* ===== Planos Section ===== */
.planos-section {
    padding: var(--spacing-xxl) 0 calc(var(--spacing-xxl) + 160px);
    background-color: var(--bg-light);
    position: relative;
    margin-bottom: -1px;
}

[data-theme="dark"] .planos-section {
    background-color: var(--bg-dark);
}

.plano-card {
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    background: var(--bg-light);
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    height: 100%;
    z-index: 1;
}

[data-theme="dark"] .plano-card {
    background: var(--bg-dark);
}

.plano-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.plano-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.18);
}

.plano-card:hover::before {
    opacity: 1;
    height: 7px;
}

.plano-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 2;
}

.plano-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: var(--text-white);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: var(--border-radius-lg);
    z-index: 1;
}

.plano-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .plano-header {
    border-color: rgba(255, 255, 255, 0.1);
}

.plano-header h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

[data-theme="dark"] .plano-header h3 {
    color: var(--text-white);
}

.preco {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.valor {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.periodo {
    font-size: 1rem;
    color: var(--text-dark);
    margin-left: 5px;
}

[data-theme="dark"] .periodo {
    color: var(--text-light);
}

.plano-features {
    list-style: none;
    padding: 0;
    margin-bottom: var(--spacing-lg);
}

.plano-features li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .plano-features li {
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.05);
}

.plano-features li:last-child {
    border-bottom: none;
}

.plano-features i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-grey);
    position: relative;
    margin-bottom: 0;
    border-bottom: none;
}

[data-theme="dark"] .faq-section {
    background-color: var(--bg-dark);
}

[data-theme="dark"] .faq-section .section-header h2,
[data-theme="dark"] .faq-section .section-header p {
    color: #1a2d5e;
}

[data-theme="dark"] .faq-section .section-header p {
    color: var(--text-white);
}

/* Novos estilos para cards de FAQ */
.faq-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    border-left: 4px solid var(--primary-color);
    transform: translateY(0);
}

.faq-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .faq-card {
    background-color: var(--bg-dark);
    border-left: 4px solid var(--primary-light);
}

.faq-card-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
}

.faq-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(74, 107, 255, 0.1) 0%, rgba(74, 107, 255, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all var(--transition-fast);
}

[data-theme="dark"] .faq-icon {
    background: linear-gradient(135deg, rgba(123, 146, 255, 0.2) 0%, rgba(123, 146, 255, 0.3) 100%);
    color: var(--primary-light);
}

.faq-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
    flex: 1;
    transition: color var(--transition-fast);
}

[data-theme="dark"] .faq-card-header h3 {
    color: var(--text-white);
}

.faq-toggle {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all var(--transition-fast);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

[data-theme="dark"] .faq-toggle {
    color: var(--primary-light);
}

.faq-toggle .fa-minus {
    position: absolute;
    opacity: 0;
    transform: rotate(-90deg);
}

.faq-card.active .faq-toggle .fa-plus {
    opacity: 0;
    transform: rotate(90deg);
}

.faq-card.active .faq-toggle .fa-minus {
    opacity: 1;
    transform: rotate(0);
}

.faq-card-body {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-normal);
    opacity: 0;
}

.faq-card.active .faq-card-body {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
    opacity: 1;
}

.faq-card-body p {
    margin-bottom: 0;
    color: var(--text-medium);
    line-height: 1.7;
}

[data-theme="dark"] .faq-card-body p {
    color: var(--text-light);
}

.faq-card.active {
    box-shadow: var(--shadow-lg);
}

.faq-card.active .faq-icon {
    background: var(--primary-gradient);
    color: white;
    transform: rotate(360deg);
}

/* Efeito de destaque ao passar o mouse */
.faq-card:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.faq-card:hover:after {
    transform: translateX(100%);
}

/* Responsividade FAQ */
@media (max-width: 768px) {
    .faq-card-header {
        padding: 1.2rem;
    }
    
    .faq-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1rem;
    }
    
    .faq-card-header h3 {
        font-size: 1rem;
    }
    
    .faq-card.active .faq-card-body {
        padding: 0 1.2rem 1.2rem;
    }
}

@media (max-width: 576px) {
    .faq-card-header {
        padding: 1rem;
    }
    
    .faq-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }
    
    .faq-card-header h3 {
        font-size: 0.95rem;
    }
    
    .faq-card.active .faq-card-body {
        padding: 0 1rem 1rem;
    }
}

/* ===== CTA Section ===== */
.cta-section {
    padding: var(--spacing-xxl) 0 var(--spacing-xxl);
    background: var(--primary-gradient);
    position: relative;
    margin-top: 0;
}

[data-theme="dark"] .cta-section {
    background: linear-gradient(135deg, #1a2d5e 0%, #2a417e 100%);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--text-white);
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
}

/* Estilo para as informações no CTA */
.cta-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    padding: 12px 15px;
}

.info-item i {
    color: var(--primary-light);
    font-size: 1.2rem;
}

.info-item p {
    margin-bottom: 0; /* Remover margem do parágrafo dentro do item */
    font-size: 1rem;
    color: var(--text-white);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: 0; /* Remover margem após os botões */
}

.btn-success {
    background-color: #25D366;
    border-color: #25D366;
    color: white;
    font-weight: 600;
    padding: 1.2rem 2.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    font-size: 1.1rem;
}

.btn-success:hover {
    background-color: #22c55e;
    border-color: #22c55e;
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(37, 211, 102, 0.4);
}

.btn-success:active, 
.btn-success:focus {
    background-color: #1ea952;
    border-color: #1ea952;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.5);
}

.fab.fa-whatsapp {
    font-size: 1.3rem;
    animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

/* ===== Footer Section ===== */
.footer-section {
    position: relative;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.footer-main {
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-widget {
    margin-bottom: var(--spacing-lg);
}

.logo-footer {
    height: 40px;
    margin-bottom: var(--spacing-md);
}

.footer-tax {
    font-size: 0.9rem;
    margin-top: var(--spacing-sm);
    opacity: 0.7;
}

.widget-title {
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-light);
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 10px;
    color: var(--primary-color);
    transition: all var(--transition-fast);
    opacity: 0;
    transform: translateX(-5px);
}

.footer-links a:hover {
    color: var(--text-white);
    text-decoration: none;
    padding-left: 5px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-white);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-gradient);
    color: var(--text-white);
    transform: translateY(-3px);
}

.footer-bottom {
    padding: var(--spacing-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.footer-bottom-links a {
    color: var(--text-light);
    margin-left: 20px;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* ===== Back to Top Button ===== */
.back-to-top {
    display: none !important;
}

/* ===== Chatbot ===== */
.chatbot-container {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: 340px;
    height: 480px;
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    z-index: 999;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .chatbot-container {
    background: var(--bg-dark);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.chatbot-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-container.minimized {
    height: 60px;
    overflow: hidden;
}

.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: var(--primary-gradient);
    color: var(--text-white);
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: var(--border-radius-lg);
}

.chatbot-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-logo {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.chatbot-title h3 {
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
}

.chatbot-title .status {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.8;
}

.status i {
    font-size: 0.6rem;
    color: #4ecb71;
}

.chatbot-actions {
    display: flex;
    gap: 10px;
}

.chatbot-action, 
.chatbot-close {
    background: transparent;
    border: none;
    color: var(--text-white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.9rem;
}

.chatbot-action:hover, 
.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.chatbot-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

[data-theme="dark"] .chatbot-messages::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
}

.message {
    margin-bottom: 16px;
    position: relative;
    max-width: 85%;
    animation: messageSlideIn 0.3s ease forwards;
}

.user-message {
    margin-left: auto;
    background: var(--primary-gradient);
    color: var(--text-white);
    border-radius: 18px 18px 0 18px;
    padding: 12px 15px;
}

.bot-message {
    margin-right: auto;
    background: var(--bg-grey);
    color: var(--text-dark);
    border-radius: 18px 18px 18px 0;
    padding: 12px 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .bot-message {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
}

.welcome-message {
    background: linear-gradient(135deg, rgba(74, 107, 255, 0.1) 0%, rgba(74, 107, 255, 0.2) 100%);
    border-left: 3px solid var(--primary-color);
    border-radius: 10px;
    padding: 15px;
    color: var(--text-dark);
    max-width: 100%;
}

[data-theme="dark"] .welcome-message {
    background: linear-gradient(135deg, rgba(74, 107, 255, 0.15) 0%, rgba(74, 107, 255, 0.25) 100%);
    color: var(--text-white);
}

.message-content p {
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.message-time {
    font-size: 0.7rem;
    opacity: 0.7;
    display: inline-block;
    margin-top: 5px;
}

.chatbot-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 20px 15px;
}

.suggestion-btn {
    background: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
}

[data-theme="dark"] .suggestion-btn {
    background: var(--bg-dark);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-light);
}

.suggestion-btn:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(74, 107, 255, 0.2);
}

.suggestion-btn i {
    font-size: 0.9rem;
    color: var(--primary-color);
}

.suggestion-btn:hover i {
    color: var(--text-white);
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-grey);
    padding: 12px 15px;
    border-radius: 18px 18px 18px 0;
    margin-bottom: 16px;
    margin-left: 20px;
    width: fit-content;
    animation: messageSlideIn 0.3s ease forwards;
}

[data-theme="dark"] .typing-indicator {
    background: rgba(255, 255, 255, 0.1);
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: blink 1.4s infinite both;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

.chatbot-footer {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .chatbot-footer {
    border-color: rgba(255, 255, 255, 0.1);
}

.chatbot-input-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    background: var(--bg-grey);
    border-radius: var(--border-radius-lg);
    padding: 8px 15px;
    transition: all var(--transition-fast);
}

[data-theme="dark"] .chatbot-input-wrapper {
    background: rgba(255, 255, 255, 0.1);
}

.chatbot-input-wrapper:focus-within {
    box-shadow: 0 0 0 2px var(--primary-color);
}

.message-input {
    background: transparent;
    border: none;
    padding: 0;
    flex: 1;
    color: var(--text-dark);
    font-size: 0.95rem;
}

[data-theme="dark"] .message-input {
    color: var(--text-white);
}

.message-input:focus {
    outline: none;
}

.input-actions {
    display: flex;
    gap: 8px;
}

.emoji-btn,
.attach-btn {
    background: transparent;
    border: none;
    color: var(--text-medium);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.emoji-btn:hover,
.attach-btn:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.send-message {
    background: var(--primary-gradient);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.send-message:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--text-medium);
}

.send-message:not(:disabled):hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(74, 107, 255, 0.3);
}

/* Botão de chat */
.chat-toggle-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 998;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    border: none;
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(74, 107, 255, 0.3);
}

.toggle-default,
.toggle-close {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.toggle-close {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
}

.chat-toggle.active .toggle-default {
    transform: scale(0) rotate(180deg);
    opacity: 0;
}

.chat-toggle.active .toggle-close {
    transform: scale(1) rotate(0);
    opacity: 1;
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--secondary-color);
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    border: 2px solid var(--bg-light);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .chat-badge {
    border-color: var(--bg-dark);
}

.chat-tooltip {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    pointer-events: none;
    white-space: nowrap;
}

[data-theme="dark"] .chat-tooltip {
    background: var(--bg-dark);
    color: var(--text-white);
}

.chat-tooltip:after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 25px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--bg-light);
}

[data-theme="dark"] .chat-tooltip:after {
    border-top-color: var(--bg-dark);
}

.chat-toggle-wrapper:hover .chat-tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* Animações */
@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {
    0%, 100% { opacity: 0.4; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 107, 107, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
}

/* Responsividade */
@media (max-width: 576px) {
    .chatbot-container {
        width: calc(100% - 40px);
        right: 20px;
        bottom: 90px;
        height: 480px;
    }
    
    .chat-toggle-wrapper {
        right: 20px;
        bottom: 20px;
    }
    
    .suggestion-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* Menu mobile */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--primary-color);
        border-radius: var(--border-radius-lg);
        padding: 1rem;
        margin-top: 1rem;
        box-shadow: var(--shadow-md);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        transition: all 0.3s ease;
    }
    
    [data-theme="dark"] .navbar-collapse {
        background-color: var(--bg-dark);
        border: 1px solid var(--primary-light);
    }
    
    .navbar-nav .nav-link {
        color: var(--text-white) !important;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--text-white) !important;
        border-radius: var(--border-radius-md);
    }
    
    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }
    
    .theme-switch-wrapper {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        justify-content: center;
    }
    
    .theme-switch {
        border-color: var(--text-white);
        color: var(--text-white);
    }
}

/* Ajustes para dispositivos muito pequenos */
@media (max-width: 575.98px) {
    .navbar-collapse {
        margin: 1rem -15px 0;
        width: calc(100% + 30px);
        border-radius: var(--border-radius-md);
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }
    
    .navbar-brand img {
        height: 70px; /* Reduzir um pouco em telas muito pequenas */
    }
    
    .navbar-toggler {
        padding: 5px 8px;
    }
    
    /* Melhorar scroll dentro do menu */
    .navbar-collapse::-webkit-scrollbar {
        width: 4px;
    }
    
    .navbar-collapse::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .navbar-collapse::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 10px;
    }
}

/* Ajustes responsivos para diversas seções */
@media (max-width: 767.98px) {
    /* Ajustes para cards de seções */
    .row > [class*="col-"] {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* Ajustes para a seção de benefícios */
    .beneficios-section {
        padding: var(--spacing-xl) 0 calc(var(--spacing-xl) + 120px);
    }
    
    .beneficio-card {
        padding: 25px;
        margin-bottom: 25px;
    }
    
    /* Ajustes para a seção de planos */
    .planos-section {
        padding: var(--spacing-xl) 0 calc(var(--spacing-xl) + 120px);
    }
    
    .plano-card {
        padding: 25px;
        margin-bottom: 25px;
    }
    
    /* Corrigir espaçamento entre seções */
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    /* Ajuste para a seção de depoimentos */
    .testimonial-card {
        margin-bottom: 25px;
    }
    
    /* Ajuste para espaçamento entre botões na hero section */
    .hero-btns {
        gap: 15px;
    }

    /* Reduzir espaçamento da seção CTA em mobile */
    .cta-section {
        padding: var(--spacing-lg) 0 var(--spacing-lg);
    }

    .cta-info {
        flex-direction: column;
        align-items: center;
    }
}

/* Media query específica para ajustar tamanho do título em telas menores (telefones) */
@media (max-width: 575.98px) {
    .section-header h2 {
        font-size: 1.5rem;
    }

    /* Ajuste para o tamanho do h1 na página principal para ficar consistente com outras páginas */
    .hero-content h1 {
        font-size: 2.2rem;
    }
}

.agendamento-info {
    max-width: 600px;
    margin: 0 auto;
}

.agendamento-info .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--bs-primary);
    margin-bottom: 0.5rem;
}

[data-theme="dark"] .agendamento-info .lead {
    color: var(--bs-primary);
}

.agendamento-info p {
    color: var(--text-gray);
    margin-bottom: 0;
}

[data-theme="dark"] .agendamento-info p {
    color: rgba(255, 255, 255, 0.7);
}

.condicoes-especiais {
    margin: 2rem auto;
    max-width: 800px;
    background: linear-gradient(45deg, var(--bs-primary), var(--bs-info));
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(var(--bs-primary-rgb), 0.2);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .condicoes-especiais {
    background: linear-gradient(45deg, var(--bs-primary), var(--bs-info));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.condicoes-especiais::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.condicoes-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.condicoes-content i {
    font-size: 2.5rem;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 50%;
}

.condicoes-text {
    flex: 1;
}

.condicoes-text h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.condicoes-text p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .condicoes-content {
        flex-direction: column;
        text-align: center;
    }
    
    .condicoes-content i {
        margin-bottom: 1rem;
    }
}
