/* ==========================================================================
   RESET E VARIÁVEIS GLOBAIS
   ========================================================================== */
:root {
    /* Cores principais */
    --primary: #0F172A;
    --primary-light: #1E293B;
    --secondary: #3B82F6;
    --secondary-light: #60A5FA;
    --accent: #1D4ED8;
    --success: #3B82F6;
    --warning: #3b82f6;
    --danger: #EF4444;
    
    /* Tons neutros */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(15,23,42,0.9) 0%, rgba(30,41,59,0.8) 100%);
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Espaçamentos */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Tipografia */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    /* Layout */
    --container-max: 1200px;
    --header-height: 90px; /* Aumentado para acomodar logo maior */
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeSpeed;
}

html {
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    will-change: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input, textarea {
    font-family: inherit;
}

/* ==========================================================================
   UTILITÁRIOS
   ========================================================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    contain: layout style;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-header h2 {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 25%, #60a5fa 50%, #93c5fd 75%, #dbeafe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-4);
    text-shadow: 0 4px 8px rgba(30, 64, 175, 0.1);
    letter-spacing: -0.025em;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    border-radius: 2px;
}

.section-header p {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-bar {
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    color: white !important;
    padding: 8px 0;
    font-size: 14px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    transition: transform 0.3s ease;
    will-change: transform;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-4);
    color: white !important;
}

.top-bar-left {
    display: flex;
    align-items: center;
    color: white !important;
}

.top-bar-text {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: white !important;
}

.top-bar-text i {
    color: #FFD700 !important;
    animation: pulse 2s infinite;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.5));
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: white !important;
}

.top-bar-phone-label {
    display: flex;
    align-items: center;
    color: var(--white);
}

.top-bar-phone-label i {
    animation: bounce 1s infinite alternate;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
}

.top-bar-phone-number {
    color: var(--white);
    font-weight: 700;
    transition: all 0.3s ease;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.15);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.top-bar-phone-number:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

@keyframes bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-2px); }
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.05);
    }
}

/* ==========================================================================
   HEADER FIXO E RESPONSIVO
   ========================================================================== */
.header {
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    contain: layout style;
    will-change: transform;
}

/* Header quando grudado no topo - mais sólido e bonito */
.header[style*="transform: translateY(-40px)"] {
    background: rgba(255, 255, 255, 0.99);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 64, 175, 0.1);
    box-shadow: 
        0 4px 30px rgba(30, 64, 175, 0.12),
        0 2px 15px rgba(0, 0, 0, 0.05);
    padding-top: 20px;
    padding-bottom: 10px;
    position: relative;
}

/* Adicionar extensão branca acima do header para preencher espaço */
.header[style*="transform: translateY(-40px)"]::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    z-index: -1;
}

/* Adicionar extensão branca abaixo do header para suavizar transição */
.header[style*="transform: translateY(-40px)"]::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    z-index: -1;
}

.navbar {
    height: 90px; /* Altura específica para acomodar logo maior */
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Navbar quando header está grudado no topo - mais espaçoso */
.header[style*="transform: translateY(-40px)"] .navbar {
    height: 100px;
    padding: 15px var(--space-4);
}

/* Logo menor quando header está grudado - mais elegante */
.header[style*="transform: translateY(-40px)"] .logo {
    height: 55px;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header[style*="transform: translateY(-40px)"] .nav-brand {
    padding: var(--space-1) var(--space-3);
    border-radius: 40px;
    box-shadow: 
        0 2px 15px rgba(30, 64, 175, 0.2),
        0 1px 5px rgba(0, 0, 0, 0.05);
}

/* Links com cor azul quando header está grudado */
.header[style*="transform: translateY(-40px)"] .nav-link {
    color: #1E40AF;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(30, 64, 175, 0.1);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-2) var(--space-4);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    border-radius: 50px;
    box-shadow: 
        0 4px 20px rgba(30, 64, 175, 0.15),
        0 2px 10px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(30, 64, 175, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: logoEntrance 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 0.3s;
    opacity: 1;
}

.nav-brand::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transform: rotate(-45deg);
    transition: transform 0.6s ease;
    z-index: 1;
}

.nav-brand:hover::before {
    transform: rotate(-45deg) translate(50%, 50%);
}

.nav-brand:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 30px rgba(30, 64, 175, 0.25),
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(30, 64, 175, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 1) 100%);
}

.logo {
    height: 70px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 2px 8px rgba(30, 64, 175, 0.2));
    z-index: 2;
    position: relative;
}

.logo:hover {
    transform: scale(1.08) rotate(2deg);
    filter: drop-shadow(0 4px 15px rgba(30, 64, 175, 0.35));
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(30, 64, 175, 0.1);
    letter-spacing: -0.02em;
    z-index: 2;
    position: relative;
    transition: all 0.3s ease;
}

.nav-brand:hover .brand-text {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(30, 64, 175, 0.2);
}

/* Animação especial para entrada da logo */
@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}



/* Efeito de brilho periódico na logo */
@keyframes logoPulse {
    0%, 100% {
        box-shadow: 
            0 4px 20px rgba(30, 64, 175, 0.15),
            0 2px 10px rgba(0, 0, 0, 0.05),
            inset 0 1px 0 rgba(255, 255, 255, 0.7);
    }
    50% {
        box-shadow: 
            0 6px 25px rgba(30, 64, 175, 0.25),
            0 3px 15px rgba(0, 0, 0, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
}

.nav-brand:not(:hover) {
    animation: logoPulse 4s ease-in-out infinite;
    animation-delay: 2s;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
    position: relative;
    padding: var(--space-2) 0;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--secondary);
}

.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

/* Seção de contatos no header */
.contact-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.btn-call {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    background: #25D366; /* Verde oficial do WhatsApp */
    color: var(--white);
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}

.btn-call:hover {
    background: #1DA851; /* Tom mais escuro de verde no hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35); /* Sombra com tom de verde */
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #1D4ED8; /* Azul escuro */
    color: var(--white);
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.phone-number:hover {
    background: #1E3A8A; /* Azul ainda mais escuro no hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.40); /* Sombra azul mais escura */
}

.phone-number i {
    font-size: 0.85rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 44px;
    height: 44px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: #000000 !important;
    transition: var(--transition);
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ==========================================================================
   AJUSTE DO CONTEÚDO PRINCIPAL PARA HEADER FIXO
   ========================================================================== */
main#main-content, main.pagina-servico {
    padding-top: calc(var(--header-height, 80px) + 40px);
    margin-top: 0 !important;
    box-sizing: border-box;
}

/* ==========================================================================
   PRÉ-LOADER OTIMIZADO
   ========================================================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estado de carregamento do body */
body.loading {
    overflow: hidden;
    height: 100vh;
}

body.loaded {
    overflow-y: auto;
    transition: overflow 0.1s ease;
}

/* Performance otimizada para mobile */
@media (max-width: 768px) {
    .spinner {
        width: 50px;
        height: 50px;
        border-width: 4px;
        animation: spin 0.6s linear infinite;
        box-shadow: none;
    }
    
    .preloader-logo {
        max-width: 100px;
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
        animation: none;
    }
    
    #preloader {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* Reduzir animações para usuários com preferência */
@media (prefers-reduced-motion: reduce) {
    .spinner {
        animation: spin 1.5s linear infinite;
        box-shadow: none;
    }
    
    .preloader-logo {
        animation: none;
    }
    
    #preloader {
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }
}

/* ==========================================================================
   HERO SECTION APRIMORADA
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: calc(var(--header-height) + 40px);
    contain: layout style;
    will-change: auto;
}

/* ===== FORÇAR EXIBIÇÃO DOS SERVIÇOS PRINCIPAIS - PRIORIDADE MÁXIMA ===== */
section#servicos .services-grid:not(.services-additional .services-grid),
.services .container .services-grid:first-of-type,
.services .services-grid:first-child {
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-height: none !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Garantir cards dos serviços principais visíveis */
.services .services-grid:first-of-type .service-card {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-background {
    position: absolute;
    inset: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.85) 0%, 
        rgba(30, 41, 59, 0.80) 50%, 
        rgba(51, 65, 85, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-4);
    text-align: center;
    color: var(--white);
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-4);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text .highlight {
    color: var(--secondary-light);
    position: relative;
}

.hero-text .highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
    border-radius: 2px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: var(--space-8);
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
}

/* Badges de Credibilidade */
.hero-badges {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-full);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: var(--transition);
}

.badge:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.badge i {
    color: var(--secondary-light);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-16);
    flex-wrap: wrap;
}

/* Estatísticas Aprimoradas */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.stat-item {
    text-align: center;
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--secondary-light);
    margin-bottom: var(--space-2);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: var(--space-1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-description {
    font-size: var(--font-size-xs);
    opacity: 0.8;
    line-height: 1.4;
}

/* ==========================================================================
   MICROINTERAÇÕES E ANIMAÇÕES
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: transform, opacity;
    backface-visibility: hidden;
    perspective: 1000px;
    transform: translateZ(0);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   ACESSIBILIDADE
   ========================================================================== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* ==========================================================================
   RESPONSIVIDADE DO HEADER E NAVEGAÇÃO
   ========================================================================== */

/* Desktop - Menu sempre visível */
@media (min-width: 992px) {
    .nav-menu {
        display: flex !important;
        position: static;
        background: transparent;
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        flex-direction: row;
        gap: var(--space-8);
        padding: 0;
        height: auto;
        width: auto;
        z-index: auto;
        justify-content: center;
        align-items: center;
        overflow: visible;
    }
    
    .menu-toggle {
        display: none !important;
    }
    
    .nav-actions {
        display: flex;
    }
    
    .contact-section,
    .desktop-contact-buttons {
        display: flex !important;
        align-items: center;
    }
    
    .mobile-contact-buttons {
        display: none !important;
    }
}

/* Tablet e Mobile - Menu responsivo */
@media (max-width: 991px) {
    .top-bar {
        height: 45px !important; /* Aumentado para 45px */
        background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
        border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    }
    
    .header {
        height: 80px;
        top: 45px !important; /* Ajustado para nova altura da top bar */
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    }
    
    .top-bar-content {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important; /* Fonte maior */
        justify-content: space-between;
        align-items: center;
        height: 100%;
        color: white !important;
    }
    
    .top-bar-left,
    .top-bar-right {
        font-weight: 700 !important;
        color: white !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
    }
    
    .top-bar-text {
        color: white !important;
        font-weight: 700 !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
    }
    
    .top-bar-text i {
        color: #FFD700 !important;
        filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.5)) !important;
        font-size: 1rem !important;
    }
    
    .logo {
        height: 55px;
    }
    
    .nav-brand {
        padding: var(--space-1) var(--space-3);
        border-radius: 35px;
        gap: var(--space-2);
    }
    
    .brand-text {
        font-size: 1.2rem;
    }
    
    /* Menu Mobile Interativo Melhorado */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 120px 2rem 2rem 2rem;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9999;
        display: flex;
        flex-direction: column;
        gap: 0;
        justify-content: flex-start;
        align-items: center;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    /* Melhorar interação touch */
    .nav-menu.active {
        touch-action: pan-y;
    }
    
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 100%;
        background: 
            radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
        z-index: -1;
    }
    
    .nav-menu li {
        width: 100%;
        max-width: 300px;
        margin-bottom: 0.5rem;
        transform: translateY(30px);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-menu.active li {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.25s; }
    
    .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem 1.5rem;
        border-radius: 15px;
        background: white;
        text-align: center;
        font-weight: 600;
        font-size: 1.1rem;
        width: 100%;
        color: var(--primary);
        text-decoration: none;
        border: 2px solid transparent;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    }
    
    .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
        transition: left 0.5s ease;
    }
    
    .nav-link:hover::before {
        left: 100%;
    }
    
    .nav-link:hover, .nav-link.active {
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
        border-color: rgba(255, 255, 255, 0.2);
    }
    
    /* Botões de contato no menu mobile */
    .nav-menu::after {
        content: '';
        width: 100%;
        max-width: 300px;
        padding: 2rem 0 0 0;
        margin-top: 1rem;
        border-top: 1px solid rgba(59, 130, 246, 0.1);
    }
    
    .mobile-contact-buttons {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(59, 130, 246, 0.1);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-btn-whatsapp, .mobile-btn-call {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.8rem;
        padding: 1rem 1.5rem;
        border-radius: 15px;
        font-weight: 600;
        font-size: 1rem;
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-btn-whatsapp {
        background: linear-gradient(135deg, #25D366, #128C7E);
        color: white;
    }
    
    .mobile-btn-whatsapp:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    }
    
    .mobile-btn-call {
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        color: white;
    }
    
    .mobile-btn-call:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    }
    
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .contact-section,
    .desktop-contact-buttons {
        display: none !important; /* Ocultar na versão desktop em mobile */
    }
    
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 45px;
        height: 45px;
        background: white;
        border-radius: 10px;
        border: 2px solid rgba(59, 130, 246, 0.1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10000;
        cursor: pointer;
        position: relative;
    }
    
    .menu-toggle:hover {
        background: #333333;
        border-color: #333333;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }
    
    .menu-toggle:hover span {
        background: white !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    }
    
    .menu-toggle span {
        display: block;
        width: 24px;
        height: 3px;
        background: #000000 !important;
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: center;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }
    
    .menu-toggle span:nth-child(1) {
        margin-bottom: 5px;
    }
    
    .menu-toggle span:nth-child(2) {
        margin-bottom: 5px;
    }
    
    .menu-toggle.active {
        background: #333333;
        border-color: #333333;
    }
    
    .menu-toggle.active span {
        background: white !important;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    main#main-content, main.pagina-servico {
        padding-top: calc(80px + 45px); /* Ajustado para nova altura da top bar */
    }
}

/* Mobile pequeno */
@media (max-width: 480px) {
    .top-bar {
        height: 45px !important;
        background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
        border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    }
    
    .header {
        height: 70px;
        top: 45px !important;
    }
    
    .top-bar-content {
        flex-direction: row;
        gap: 0.25rem !important; /* Gap menor */
        text-align: center;
        padding: 0.5rem 0.5rem !important; /* Padding menor */
        justify-content: space-between;
        align-items: center;
        height: 100%;
        color: white !important;
        flex-wrap: nowrap;
    }
    
    .top-bar-left,
    .top-bar-right {
        font-size: 0.7rem !important; /* Fonte menor */
        font-weight: 700 !important;
        color: white !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
        display: flex;
        align-items: center;
        gap: 0.25rem;
        flex: 1;
        white-space: nowrap;
        overflow: hidden;
    }
    
    .top-bar-left {
        justify-content: flex-start;
    }
    
    .top-bar-right {
        justify-content: flex-end;
    }
    
    .top-bar-text {
        display: flex !important;
        align-items: center;
        gap: 0.25rem;
        font-weight: 700 !important;
        color: white !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
        font-size: 0.7rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Ocultar texto original para mobile pequeno */
    .top-bar-text {
        font-size: 0 !important;
    }
    
    /* Ícones visíveis */
    .top-bar-text i {
        font-size: 0.8rem !important;
        margin-right: 0.25rem;
    }
    
    /* Texto personalizado para mobile pequeno */
    .top-bar-left .top-bar-text::after {
        content: "10+ anos";
        font-size: 0.7rem !important;
        font-weight: 700 !important;
        color: white !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    }
    
    .top-bar-right .top-bar-text::after {
        content: "30min";
        font-size: 0.7rem !important;
        font-weight: 700 !important;
        color: white !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    }
    
    .top-bar-text i {
        font-size: 0.8rem !important; /* Ícone menor */
        color: #FFD700 !important;
        filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.6)) !important;
        animation: pulse 2s infinite;
        flex-shrink: 0;
    }
    
    .logo {
        height: 50px;
    }
    
    .nav-brand {
        padding: var(--space-1) var(--space-2);
        border-radius: 30px;
        gap: var(--space-2);
    }
    
    .brand-text {
        font-size: 1.1rem;
    }
    
    .nav-menu {
        padding: 100px 1.5rem 1.5rem 1.5rem;
    }
    
    .nav-menu li {
        max-width: 280px;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.9rem 1.2rem;
    }
    
    .mobile-contact-buttons {
        max-width: 280px;
    }
    
    .mobile-btn-whatsapp, .mobile-btn-call {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .menu-toggle {
        width: 42px;
        height: 42px;
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid rgba(30, 64, 175, 0.15);
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3px;
        padding: 6px;
        transition: all 0.3s ease;
    }
    
    .menu-toggle span {
        width: 22px;
        height: 3px;
        background: #000000 !important;
        border-radius: 2px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }
    
    main#main-content, main.pagina-servico {
        padding-top: calc(70px + 45px); /* Ajustado para nova altura da top bar */
    }
}

/* ==========================================================================
   SEÇÃO SERVIÇOS - ESTILOS APRIMORADOS
============================================================================= */

.services {
    padding: 8rem 0 10rem 0;
    background: linear-gradient(135deg, var(--background-light) 0%, rgba(255, 255, 255, 0.98) 100%);
    overflow: visible;
}

/* Removido: .services::before - eliminando padrão de grid azul para design mais limpo */

/* Grid de Serviços - Layout 3 Colunas Responsivo */
.services-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    contain: layout;
    opacity: 1 !important;
    visibility: visible !important;
    max-height: none !important;
}

/* Garantir que os serviços principais estejam sempre visíveis */
.services > .container > .services-grid {
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Cards de Serviço Premium - Inteiramente Clicáveis */
.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(30, 64, 175, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    will-change: transform;
    contain: layout style;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.25);
}

/* Container das Imagens dos Serviços */
/* Container das imagens - configuração geral */
.service-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Container específico para os 3 serviços principais */
.services > .container > .services-grid:first-of-type .service-image {
    height: 280px;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

/* Container dos serviços adicionais mantém altura original */
.services-additional .service-image {
    height: 250px;
    background: var(--gray-100);
}

/* Imagens dos serviços principais preenchendo todo o espaço */
.services > .container > .services-grid:first-of-type .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px 12px 0 0;
}

/* Imagens dos serviços adicionais preenchendo todo o espaço */
.services-additional .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px 8px 0 0;
}

/* Imagens gerais */
img {
    max-width: 100%;
    height: auto;
    will-change: auto;
}

picture {
    display: block;
    width: 100%;
    height: 100%;
}

/* Badge do Serviço */
.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.service-badge i {
    font-size: 0.9rem;
}

/* Conteúdo do Card */
.service-content {
    padding: 1.75rem;
}

.service-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.875rem;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(30, 64, 175, 0.1);
    transition: all 0.3s ease;
    letter-spacing: -0.02em;
}

/* Títulos nos serviços principais */
.services > .container > .services-grid:first-of-type .service-content h3 {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Títulos nos serviços adicionais - variações de azul */
.services-additional .service-card:nth-child(3n+1) .service-content h4 {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-additional .service-card:nth-child(3n+2) .service-content h4 {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-additional .service-card:nth-child(3n+3) .service-content h4 {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Melhorias para títulos h4 dos serviços adicionais */
.services-additional .service-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.875rem;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(30, 64, 175, 0.1);
    transition: all 0.3s ease;
    letter-spacing: -0.02em;
}

.service-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #374151;
    margin-bottom: 1.25rem;
    text-align: justify;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover .service-description {
    color: #1f2937;
    transform: translateY(-1px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Highlights do Serviço */
.service-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.08), rgba(59, 130, 246, 0.08));
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #1e40af;
    border: 1px solid rgba(30, 64, 175, 0.1);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.12), rgba(59, 130, 246, 0.12));
    transform: translateY(-1px);
}

.highlight-item i {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Lista de Features */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-medium);
}

.service-features li:last-child {
    margin-bottom: 0;
}

.service-features i {
    color: var(--success);
    font-size: 0.9rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

/* Hover Effect para Card Inteiro */
.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(30, 64, 175, 0.25),
        0 8px 16px rgba(30, 64, 175, 0.20);
    border-color: rgba(30, 64, 175, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
}

/* Animação de brilho nos títulos ao fazer hover */
.service-card:hover .service-content h3,
.service-card:hover .service-content h4 {
    transform: translateY(-2px);
    animation: textGlow 2s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 2px 4px rgba(30, 64, 175, 0.1);
    }
    50% {
        text-shadow: 0 4px 8px rgba(30, 64, 175, 0.2), 0 0 16px rgba(30, 64, 175, 0.1);
    }
}

.service-card:hover::before {
    opacity: 1;
}

/* Hover para os 3 serviços principais - preenchimento total */
.services > .container > .services-grid:first-of-type .service-card:hover .service-image img {
    transform: scale(1.05);
}

/* Hover para serviços adicionais - preenchimento total */
.services-additional .service-card:hover .service-image img {
    transform: scale(1.05);
}

/* Remover sublinhado padrão de link */
.service-card:focus {
    outline: 3px solid rgba(var(--primary-rgb), 0.3);
    outline-offset: 2px;
}

/* Toggle de Serviços */
.services-toggle {
    text-align: center;
    margin: 4rem 0 4rem 0;
}

.toggle-services-btn {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    border: none;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
    position: relative;
    overflow: hidden;
}

.toggle-services-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(30, 64, 175, 0.4);
}

.toggle-services-btn:active {
    transform: translateY(-1px);
}

.toggle-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
}

.toggle-services-btn[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

.toggle-services-btn[aria-expanded="true"] .toggle-text::after {
    content: " Especializados";
}

/* Serviços Principais - Sempre Visíveis */
.services-grid:first-of-type {
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Serviços Adicionais - Ocultos por padrão */
.services-additional {
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    max-height: 0;
    margin-top: 0;
    visibility: hidden;
}

/* Melhorias visuais para serviços adicionais */
.services-additional .service-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.services-additional .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 0 0 8px 8px;
}

.services-additional .service-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.15);
    border-color: rgba(30, 64, 175, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 50%, #e2e8f0 100%);
}

.services-additional .service-card:hover::before {
    transform: scaleX(1);
}

.services-additional .service-content {
    padding: 1.5rem;
}

.services-additional .service-description {
    color: #475569;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.services-additional .service-card:hover .service-description {
    color: #334155;
    transform: translateY(-1px);
}

/* Melhorias para badges dos serviços adicionais */
.services-additional .service-badge {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.95), rgba(59, 130, 246, 0.95));
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    box-shadow: 0 3px 10px rgba(30, 64, 175, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.services-additional .service-card:hover .service-badge {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.4);
}

/* Diferentes tons de azul para badges dos serviços adicionais */
.services-additional .service-card:nth-child(3n+1) .service-badge {
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
}

.services-additional .service-card:nth-child(3n+2) .service-badge {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.services-additional .service-card:nth-child(3n+3) .service-badge {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.services-additional.show {
    opacity: 1;
    max-height: 5000px;
    margin-top: 3rem;
    visibility: visible;
    overflow: visible;
}

.services-additional .service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-additional.show .service-card {
    opacity: 1;
    transform: translateY(0);
}

.services-additional.show .service-card:nth-child(1) {
    transition-delay: 0.1s;
}

.services-additional.show .service-card:nth-child(2) {
    transition-delay: 0.2s;
}

.services-additional.show .service-card:nth-child(3) {
    transition-delay: 0.3s;
}



/* =============================================================================
   RESPONSIVIDADE APRIMORADA
============================================================================= */

/* Tablets Grandes (992px - 1199px) */
@media (max-width: 1199px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .service-content h3 {
        font-size: 1.3rem;
    }
    
    .service-description {
        font-size: 0.85rem;
    }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
    .services {
        padding: 6rem 0 8rem 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Tablets - Altura diferenciada para serviços principais */
    .services > .container > .services-grid:first-of-type .service-image {
        height: 300px;
    }
    
    .services > .container > .services-grid:first-of-type .service-image img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        border-radius: 12px 12px 0 0;
    }
    
    /* Serviços adicionais preenchendo todo o espaço */
    .services-additional .service-image {
        height: 280px;
    }
    
    .services-additional .service-image img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        border-radius: 8px 8px 0 0;
    }
    
    .service-content h3 {
        font-size: 1.4rem;
    }
    
    .service-description {
        font-size: 0.95rem;
    }
    
    .service-highlights {
        gap: 0.5rem;
    }
    
    .highlight-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Mobile Grande (481px - 767px) */
@media (max-width: 767px) {
    /* Top bar otimizada para mobile */
    .top-bar {
        height: 45px !important;
        background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
        z-index: 1001;
        border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    }
    
    .top-bar-content {
        padding: 0.75rem 0.75rem !important;
        font-size: 0.75rem !important; /* Fonte menor para caber */
        justify-content: space-between;
        align-items: center;
        height: 100%;
        color: white !important;
        flex-wrap: nowrap; /* Não quebrar linha */
    }
    
    .top-bar-left,
    .top-bar-right {
        font-weight: 700 !important;
        color: white !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
        display: flex;
        align-items: center;
        gap: 0.3rem;
        flex: 1; /* Distribuir espaço igualmente */
        white-space: nowrap; /* Não quebrar linha */
        overflow: hidden; /* Ocultar overflow */
    }
    
    .top-bar-left {
        justify-content: flex-start;
    }
    
    .top-bar-right {
        justify-content: flex-end;
    }
    
    .top-bar-text {
        color: white !important;
        font-weight: 700 !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
        display: flex !important;
        align-items: center;
        gap: 0.3rem;
        font-size: 0.75rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Ocultar texto original para mobile médio */
    .top-bar-text {
        font-size: 0 !important;
    }
    
    /* Ícones visíveis */
    .top-bar-text i {
        font-size: 0.9rem !important;
        margin-right: 0.3rem;
    }
    
    /* Texto personalizado para mobile médio */
    .top-bar-left .top-bar-text::after {
        content: "Especialistas 10+ anos";
        font-size: 0.75rem !important;
        font-weight: 700 !important;
        color: white !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    }
    
    .top-bar-right .top-bar-text::after {
        content: "Chegamos em 30min";
        font-size: 0.75rem !important;
        font-weight: 700 !important;
        color: white !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    }
    
    .top-bar-text i {
        color: #FFD700 !important;
        font-size: 0.9rem !important;
        filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.6)) !important;
        animation: pulse 2s infinite;
        flex-shrink: 0; /* Ícone não encolhe */
    }
    
    .header {
        top: 45px !important;
    }

    .services {
        padding: 3rem 0 6rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        border-radius: 16px;
        margin: 0 0.5rem;
        box-shadow: 0 4px 20px rgba(30, 64, 175, 0.15);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .service-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 30px rgba(30, 64, 175, 0.20);
    }
    
    /* Mobile Grande - Altura diferenciada para serviços principais */
    .services > .container > .services-grid:first-of-type .service-image {
        height: 280px;
        border-radius: 16px 16px 0 0;
    }
    
    .services > .container > .services-grid:first-of-type .service-image img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        border-radius: 16px 16px 0 0;
    }
    
    /* Serviços adicionais preenchendo todo o espaço */
    .services-additional .service-image {
        height: 260px;
    }
    
    .services-additional .service-image img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        border-radius: 16px 16px 0 0;
    }
    
    .service-content {
        padding: 1.25rem;
    }
    
    .service-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }
    
    .service-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.6;
    }
    
    .service-highlights {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .highlight-item {
        justify-content: center;
        text-align: center;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        border-radius: 25px;
    }
    
    .service-features li {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        line-height: 1.5;
    }
    
    .toggle-services-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        border-radius: 30px;
    }
    
    /* Melhorias no Hero para Mobile */
    .hero {
        padding: 0;
        min-height: 70vh;
    }
    
    .hero-content {
        padding: 2rem 1rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }
    
    .hero-badges {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .badge {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        padding: 2rem 0;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .stat-item {
        padding: 1.2rem 0.8rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(10px);
        text-align: center;
        min-height: 120px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .stat-number {
        font-size: 1.8rem;
        margin-bottom: 0.4rem;
        font-weight: 800;
        color: var(--secondary-light);
        line-height: 1;
    }
    
    .stat-label {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        line-height: 1.2;
    }
    
    .stat-description {
        font-size: 0.75rem;
        opacity: 0.9;
        line-height: 1.3;
        text-align: center;
    }
}

/* Mobile Pequeno (até 480px) */
@media (max-width: 480px) {
    .services {
        padding: 2.5rem 0 5rem 0;
    }
    
    .services-grid {
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .service-card {
        border-radius: 16px;
        margin: 0;
        overflow: hidden;
    }
    
    /* Mobile Pequeno - Altura diferenciada para serviços principais */
    .services > .container > .services-grid:first-of-type .service-image {
        height: 240px;
        border-radius: 16px 16px 0 0;
    }
    
    .services > .container > .services-grid:first-of-type .service-image img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        border-radius: 16px 16px 0 0;
    }
    
    /* Serviços adicionais preenchendo todo o espaço */
    .services-additional .service-image {
        height: 220px;
    }
    
    .services-additional .service-image img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        border-radius: 16px 16px 0 0;
    }
    
    .service-content {
        padding: 1rem;
    }
    
    .service-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
        line-height: 1.3;
    }
    
    .service-description {
        font-size: 0.85rem;
        text-align: left;
        margin-bottom: 1rem;
        line-height: 1.6;
    }
    
    .service-highlights {
        gap: 0.4rem;
        margin-bottom: 1rem;
    }
    
    .highlight-item {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
        border-radius: 20px;
    }
    
    .service-features li {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
        line-height: 1.5;
    }
    
    .toggle-services-btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        border-radius: 25px;
    }
    
    /* Melhorias específicas para mobile pequeno */
    .hero {
        min-height: 65vh;
    }
    
    .hero-content {
        padding: 1.5rem 0.5rem;
    }
    
    .hero-text h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-badges {
        gap: 0.4rem;
        margin-bottom: 1.5rem;
    }
    
    .badge {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.5rem 0;
        max-width: 100%;
    }
    
    .stat-item {
        padding: 1rem 0.6rem;
        border-radius: 10px;
        min-height: 110px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.6rem;
        margin-bottom: 0.3rem;
        font-weight: 800;
        line-height: 1;
    }
    
    .stat-label {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
        font-weight: 600;
        line-height: 1.2;
        text-align: center;
    }
    
    .stat-description {
        font-size: 0.7rem;
        opacity: 0.9;
        line-height: 1.3;
        text-align: center;
    }
    
    /* Melhorias nos botões mobile */
    .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        border-radius: 25px;
    }
    
    /* Scroll horizontal suave */
    .services-grid {
        scroll-behavior: smooth;
    }
    
    /* Animações otimizadas para mobile */
    .service-card {
        will-change: transform;
    }
    
    .service-card:active {
        transform: scale(0.98);
    }
    
    /* WhatsApp float otimizado para mobile */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 15px;
        font-size: 1.3rem;
    }
}

/* Mobile Extra Pequeno (até 360px) */
@media (max-width: 360px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 1.5rem 0;
    }
    
    .stat-item {
        padding: 1rem;
        min-height: 90px;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .stat-description {
        font-size: 0.7rem;
    }
    
    .about-image-overlay {
        position: static !important;
        background: rgba(0, 0, 0, 0.9);
        border-radius: 12px;
        margin-top: 1rem;
        padding: 1rem;
    }
}

/* ==========================================================================
   SEÇÃO SOBRE - ESTILOS APRIMORADOS
   ========================================================================== */
.about {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--background-light) 0%, rgba(255, 255, 255, 0.98) 100%);
}

/* Removido: .about::before - eliminando círculos azuis de fundo para design mais limpo */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: flex-start;
    min-height: 600px;
}

/* Header da Seção */
.about-content .section-header {
    margin-bottom: 3rem;
}

.about-content h2 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.highlight-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.about-subtitle {
    font-size: 1.3rem;
    color: var(--text-medium);
    line-height: 1.4;
    font-weight: 600;
}

/* Texto Narrativo */
.about-text {
    margin-bottom: 3rem;
}

.about-text p {
    font-size: 1.15rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1.75rem;
    text-align: left;
    font-weight: 400;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text strong {
    color: var(--primary);
    font-weight: 700;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--secondary-rgb), 0.1));
    padding: 0.1em 0.3em;
    border-radius: 4px;
}

.about-text em {
    color: var(--secondary);
    font-style: normal;
    font-weight: 600;
    position: relative;
}

/* Features Aprimoradas */
.about-features {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
    margin-bottom: 3.5rem;
}

.feature {
    display: flex;
    gap: 1.5rem;
    padding: 1.75rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    border: 1px solid rgba(var(--primary-rgb), 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(10px);
}

.feature:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(var(--primary-rgb), 0.25);
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 75px;
    height: 75px;
    background: transparent;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: transparent;
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature:hover .feature-icon {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: rgba(var(--primary-rgb), 0.1);
}

.feature:hover .feature-icon::after {
    opacity: 0;
}

.feature-icon i {
    font-size: 1.9rem;
    color: var(--primary);
    text-shadow: none;
}

.feature-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.feature-highlight {
    color: var(--accent);
    font-weight: 800;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.15), rgba(59, 130, 246, 0.15));
    padding: 0.1em 0.4em;
    border-radius: 6px;
    font-size: 1.05em;
}



/* CTA da Seção - Redesenhado */
.about-cta {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--secondary-rgb), 0.08));
    border: 2px solid rgba(var(--primary-rgb), 0.15);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.about-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 24px 24px 0 0;
}

.cta-header {
    margin-bottom: 2rem;
}

.cta-header h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.cta-description {
    font-size: 1.15rem;
    color: var(--text-medium);
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.btn-cta-main {
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.35);
    position: relative;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.btn-cta-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-cta-main:hover::before {
    left: 100%;
}

.btn-cta-main:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.45);
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.cta-benefits {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-medium);
    font-weight: 600;
}

.benefit-item i {
    color: var(--success);
    font-size: 1rem;
}

/* Imagem com Overlay de Estatísticas */
.about-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.about-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    padding: 2rem;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.stat-item {
    text-align: center;
    color: white;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   FAQ OTIMIZADA
   ========================================================================== */
.faq {
    padding: var(--space-20) 0;
    background: var(--gray-50);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
    contain: layout;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.faq-item.active {
    border-left: 5px solid var(--secondary);
}

.faq-question {
    padding: var(--space-8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--gray-100);
}

.faq-question h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    max-width: 90%;
    line-height: 1.4;
}

.faq-question i {
    color: var(--secondary);
    font-size: var(--font-size-xl);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 var(--space-8) var(--space-8);
}

.faq-answer p {
    color: var(--gray-700);
    font-size: var(--font-size-lg);
    line-height: 1.8;
    margin: 0;
    padding-top: var(--space-2);
}

/* Responsividade FAQ */
@media (max-width: 991px) {
    .faq {
        padding: var(--space-16) 0;
    }

    .faq-container {
        max-width: 100%;
        padding: 0 var(--space-4);
    }

    .faq-question {
        padding: var(--space-6);
    }

    .faq-question h3 {
        font-size: var(--font-size-lg);
        max-width: 85%;
    }

    .faq-question i {
        font-size: var(--font-size-lg);
    }

    .faq-item.active .faq-answer {
        padding: 0 var(--space-6) var(--space-6);
    }

    .faq-answer p {
        font-size: var(--font-size-base);
    }
}

@media (max-width: 767px) {
    .faq {
        padding: var(--space-12) 0;
    }

    .faq-item {
        margin-bottom: var(--space-3);
        border-radius: var(--border-radius);
    }

    .faq-question {
        padding: var(--space-5);
    }

    .faq-question h3 {
        font-size: var(--font-size-base);
        max-width: 80%;
        line-height: 1.5;
    }

    .faq-question i {
        font-size: var(--font-size-base);
    }

    .faq-item.active .faq-answer {
        max-height: 250px;
        padding: 0 var(--space-5) var(--space-5);
    }

    .faq-answer p {
        font-size: var(--font-size-sm);
        line-height: 1.6;
    }

    .faq-item:hover {
        transform: translateY(-2px);
    }
}

@media (max-width: 480px) {
    .faq {
        padding: var(--space-10) 0;
    }

    .faq-container {
        padding: 0 var(--space-3);
    }

    .faq-item {
        border-radius: var(--border-radius);
    }

    .faq-question {
        padding: var(--space-4);
    }

    .faq-question h3 {
        font-size: var(--font-size-sm);
        max-width: 75%;
        font-weight: 600;
    }

    .faq-question i {
        font-size: var(--font-size-sm);
    }

    .faq-item.active .faq-answer {
        max-height: 200px;
        padding: 0 var(--space-4) var(--space-4);
    }

    .faq-answer p {
        font-size: var(--font-size-xs);
        line-height: 1.5;
    }

    .faq-item:hover {
        transform: none;
        box-shadow: var(--shadow-md);
    }

    .faq-item.active {
        border-left: 3px solid var(--secondary);
    }
}

/* ==========================================================================
   CONTATO
   ========================================================================== */
.contact {
    padding: var(--space-24) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.contact-item {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-6);
    background: var(--gray-50);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: var(--font-size-xl);
    color: var(--white);
}

.contact-content h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--space-2);
}

.contact-content a,
.contact-content p {
    color: var(--gray-600);
    transition: var(--transition);
}

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

.contact-form {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-4);
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ==========================================================================
   FOOTER OTIMIZADO
   ========================================================================== */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: var(--space-20) 0 var(--space-12);
    border-top: 4px solid var(--secondary);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(30, 41, 59, 0.95) 0%, 
        rgba(15, 23, 42, 0.98) 100%
    );
    pointer-events: none;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1.2fr;
    gap: var(--space-16);
    margin-bottom: var(--space-16);
    align-items: start;
}

/* Seção da Logo e Marca */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.footer-logo {
    width: 180px;
    height: auto;
    margin-bottom: var(--space-6);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: var(--transition);
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.footer-brand p {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 400px;
    font-weight: 400;
}

/* Seções de Links */
.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.footer-links h4,
.footer-contact h4 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-5);
    color: var(--white);
    position: relative;
    padding-bottom: var(--space-2);
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    transform: translateX(0);
    transition: var(--transition);
}

.footer-links li:hover,
.footer-contact li:hover {
    transform: translateX(8px);
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--font-size-base);
    font-weight: 500;
    text-decoration: none;
    padding: var(--space-2) 0;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--secondary-light);
    text-shadow: 0 2px 4px rgba(96, 165, 250, 0.3);
}

.footer-contact a i {
    font-size: var(--font-size-lg);
    width: 20px;
    color: var(--secondary);
    transition: var(--transition);
}

.footer-contact a:hover i {
    color: var(--secondary-light);
    transform: scale(1.1);
}

/* Rodapé Inferior */
.footer-bottom {
    padding-top: var(--space-10);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    position: relative;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    font-weight: 400;
    margin: 0;
}

/* Responsividade do Rodapé */
@media (max-width: 991px) {
    .footer {
        padding: var(--space-16) 0 var(--space-10);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-12);
        text-align: center;
    }
    
    .footer-logo {
        width: 160px;
        margin: 0 auto var(--space-5);
    }
    
    .footer-brand p {
        max-width: none;
        text-align: center;
    }
    
    .footer-links h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links li:hover,
    .footer-contact li:hover {
        transform: translateX(0) scale(1.02);
    }
}

@media (max-width: 767px) {
    .footer {
        padding: var(--space-12) 0 var(--space-8);
    }
    
    .footer-content {
        gap: var(--space-10);
    }
    
    .footer-logo {
        width: 140px;
    }
    
    .footer-brand p {
        font-size: var(--font-size-base);
    }
    
    .footer-links h4,
    .footer-contact h4 {
        font-size: var(--font-size-lg);
    }
    
    .footer-links a,
    .footer-contact a {
        font-size: var(--font-size-sm);
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: var(--space-10) 0 var(--space-6);
    }
    
    .footer-content {
        gap: var(--space-8);
    }
    
    .footer-logo {
        width: 120px;
    }
    
    .footer-brand p {
        font-size: var(--font-size-sm);
    }
    
    .footer-links h4,
    .footer-contact h4 {
        font-size: var(--font-size-base);
        margin-bottom: var(--space-4);
    }
    
    .footer-bottom {
        padding-top: var(--space-6);
    }
    
    .footer-bottom p {
        font-size: var(--font-size-xs);
    }
}

/* ==========================================================================
   WHATSAPP FLOAT
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    width: 60px;
    height: 60px;
    background: #25D366; /* Verde oficial do WhatsApp */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #1DA851; /* Tom mais escuro de verde no hover */
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4); /* Sombra com tom de verde */
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ==========================================================================
   BOTÕES OTIMIZADOS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

/* ==========================================================================
   RESPONSIVIDADE OTIMIZADA - SEÇÃO SOBRE
   ========================================================================== */

/* Desktop Grande (1200px+) - Já otimizado */
@media (max-width: 1199px) {
    .about-grid {
        gap: 4rem;
        min-height: 550px;
    }
    
    .about-content h2 {
        font-size: 2.4rem;
    }
    
    .about-subtitle {
        font-size: 1.2rem;
    }
    
    .feature {
        padding: 1.75rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon i {
        font-size: 1.75rem;
    }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
    .about {
        padding: 6rem 0;
    }
    
    .about-image {
        position: relative;
    }
    
    .about-image-overlay {
        position: relative;
        margin-top: 1rem;
        background: rgba(0, 0, 0, 0.85);
        border-radius: 12px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
        min-height: auto;
    }
    
    .about-content {
        order: 1;
    }
    
    .about-image {
        order: 2;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-content h2 {
        font-size: 2.2rem;
    }
    
    .about-subtitle {
        font-size: 1.15rem;
    }
    
    .about-text p {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .feature {
        text-align: left;
        padding: 1.75rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon i {
        font-size: 1.75rem;
    }
    
    .feature-content h4 {
        font-size: 1.3rem;
    }
    
    .cta-benefits {
        gap: 1.5rem;
    }
    
    .about-image img {
        height: 450px;
    }
    
    .about-stats {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}

/* Mobile (481px - 767px) */
@media (max-width: 767px) {
    .about {
        padding: 4rem 0;
    }
    
    .about-grid {
        gap: 2.5rem;
    }
    
    .about-image-overlay {
        position: static;
        background: rgba(0, 0, 0, 0.9);
        border-radius: 12px;
        margin-top: 1rem;
    }
    
    .about-content .section-header {
        margin-bottom: 2.5rem;
        text-align: center;
    }
    
    .about-content h2 {
        font-size: 1.95rem;
        line-height: 1.15;
    }
    
    .about-subtitle {
        font-size: 1.05rem;
    }
    
    .about-text {
        margin-bottom: 2.5rem;
    }
    
    .about-text p {
        font-size: 1.05rem;
        margin-bottom: 1.5rem;
        text-align: center;
        clear: both;
    }
    
    .about-features {
        gap: 1.75rem;
        margin-bottom: 3rem;
    }
    
    .feature {
        padding: 1.5rem;
        gap: 1.25rem;
    }
    
    .feature-icon {
        width: 65px;
        height: 65px;
    }
    
    .feature-icon i {
        font-size: 1.6rem;
    }
    
    .feature-content h4 {
        font-size: 1.25rem;
    }
    
    .about-cta {
        padding: 2rem;
    }
    
    .cta-header h3 {
        font-size: 1.5rem;
    }
    
    .cta-description {
        font-size: 1.05rem;
    }
    
    .btn-cta-main {
        padding: 1.1rem 2rem;
        font-size: 1.1rem;
    }
    
    .cta-benefits {
        flex-direction: column;
        gap: 1rem;
    }
    
    .about-image img {
        height: 350px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
}

/* Mobile Pequeno (até 480px) */
@media (max-width: 480px) {
    .about {
        padding: 3rem 0;
    }
    
    .about-grid {
        gap: 2rem;
    }
    
    .about-image-overlay {
        position: static;
        background: rgba(0, 0, 0, 0.9);
        border-radius: 12px;
        margin-top: 1rem;
        padding: 1.5rem;
    }
    
    .about-content .section-header {
        margin-bottom: 2rem;
    }
    
    .about-content h2 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .about-subtitle {
        font-size: 1rem;
    }
    
    .about-text {
        margin-bottom: 2rem;
    }
    
    .about-text p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
        clear: both;
    }
    
    .about-features {
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
        padding: 1.25rem;
    }
    
    .feature-icon {
        align-self: center;
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .feature-content h4 {
        font-size: 1.15rem;
    }
    
    .about-cta {
        padding: 1.75rem;
    }
    
    .cta-header h3 {
        font-size: 1.35rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .btn-cta-main {
        padding: 1rem 1.75rem;
        font-size: 1rem;
    }
    
    .about-image img {
        height: 300px;
    }
    
    .about-stats {
        padding: 1.25rem;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   SEÇÃO: TECNOLOGIA E INOVAÇÃO
   ========================================================================== */
.tech-inovation-section {
    padding: var(--space-24) 0;
    background: var(--gray-100); /* Fundo suave para contraste */
}

.tech-inovation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Layout de duas colunas */
    gap: var(--space-16);
    align-items: center;
}

.tech-content h3 {
    font-size: var(--font-size-3xl);
    color: var(--primary);
    margin-bottom: var(--space-6);
    font-weight: 700;
    line-height: 1.2;
}

.tech-content p {
    font-size: var(--font-size-lg);
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: var(--space-8);
}

.tech-features {
    list-style: none;
    padding: 0;
    margin-bottom: var(--space-10);
}

.tech-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.tech-features li i {
    font-size: var(--font-size-2xl);
    color: var(--secondary); /* Cor do ícone */
    flex-shrink: 0;
    width: 48px; /* Tamanho fixo para ícones */
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1); /* Fundo leve para o ícone */
    border-radius: var(--border-radius);
}

.tech-features li h4 {
    font-size: var(--font-size-xl);
    color: var(--primary);
    margin-bottom: var(--space-1);
    font-weight: 600;
}

.tech-features li p {
    font-size: var(--font-size-base);
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

.tech-cta {
    background: var(--primary); /* Fundo para o CTA interno */
    color: var(--white);
    padding: var(--space-8);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.tech-cta h4 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-4);
    color: var(--white);
    font-weight: 700;
}

.tech-cta .btn {
    background: var(--accent); /* Botão com cor de destaque */
    color: var(--white);
    padding: var(--space-4) var(--space-8);
    border-radius: var(--border-radius-full);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.tech-cta .btn:hover {
    background: var(--secondary); /* Hover do botão */
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.tech-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    height: auto;
    display: block;
}

/* Responsividade da Nova Seção */
@media (max-width: 992px) {
    .tech-inovation-grid {
        grid-template-columns: 1fr; /* Empilha colunas em tablets */
        gap: var(--space-12);
    }

    .tech-image {
        order: -1; /* Coloca a imagem acima do texto em mobile */
    }
}

@media (max-width: 768px) {
    .tech-inovation-section {
        padding: var(--space-16) 0;
    }

    .tech-content h3 {
        font-size: var(--font-size-2xl);
    }

    .tech-features li h4 {
        font-size: var(--font-size-lg);
    }

    .tech-features li p {
        font-size: var(--font-size-sm);
    }

    .tech-cta h4 {
        font-size: var(--font-size-xl);
    }

    .tech-cta {
        padding: var(--space-6);
    }
}

@media (max-width: 480px) {
    .tech-inovation-section {
        padding: var(--space-12) 0;
    }

    .tech-content h3 {
        font-size: var(--font-size-xl);
    }

    .tech-features li {
        flex-direction: column;
        text-align: center;
        gap: var(--space-3);
    }

    .tech-features li i {
        align-self: center;
        width: 40px;
        height: 40px;
        font-size: var(--font-size-xl);
    }

    .tech-cta h4 {
        font-size: var(--font-size-lg);
    }

    .tech-cta .btn {
        padding: var(--space-3) var(--space-6);
        font-size: var(--font-size-sm);
    }
}

/* ==========================================================================
   SEÇÃO: A IMPORTÂNCIA DA MANUTENÇÃO PREVENTIVA
   ========================================================================== */
.preventive-maintenance-section {
    padding: var(--space-24) 0;
    background: var(--gray-50); /* Fundo sutil diferente da anterior */
}

.preventive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Layout de duas colunas */
    gap: var(--space-16);
    align-items: center;
}

.preventive-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    height: auto;
    display: block;
}

.preventive-content h3 {
    font-size: var(--font-size-3xl);
    color: var(--primary);
    margin-bottom: var(--space-6);
    font-weight: 700;
    line-height: 1.2;
}

.preventive-content p {
    font-size: var(--font-size-lg);
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: var(--space-8);
}

.preventive-features {
    list-style: none;
    padding: 0;
    margin-bottom: var(--space-10);
}

.preventive-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.preventive-features li i {
    font-size: var(--font-size-2xl);
    color: var(--accent); /* Outra cor de destaque */
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(29, 78, 216, 0.1); /* Fundo leve para o ícone */
    border-radius: var(--border-radius);
}

.preventive-features li h4 {
    font-size: var(--font-size-xl);
    color: var(--primary);
    margin-bottom: var(--space-1);
    font-weight: 600;
}

.preventive-features li p {
    font-size: var(--font-size-base);
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

.preventive-cta {
    background: var(--secondary); /* Fundo para o CTA interno */
    color: var(--white);
    padding: var(--space-8);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.preventive-cta h4 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-4);
    color: var(--white);
    font-weight: 700;
}

.preventive-cta .btn {
    background: var(--primary); /* Botão com cor principal */
    color: var(--white);
    padding: var(--space-4) var(--space-8);
    border-radius: var(--border-radius-full);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.preventive-cta .btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   OTIMIZAÇÕES E ESTILOS CHAMATIVOS PARA AMBAS AS SEÇÕES
   ========================================================================== */

/* Títulos principais mais impactantes */
.tech-inovation-section .section-header h2,
.preventive-maintenance-section .section-header h2 {
    font-size: 3rem; /* Aumentar o tamanho do título principal */
    font-weight: 800; /* Mais negrito */
    line-height: 1.1;
    margin-bottom: var(--space-6);
    color: var(--text-dark);
}

/* Subtítulos de conteúdo mais chamativos */
.tech-inovation-section .tech-content h3,
.preventive-maintenance-section .preventive-content h3 {
    font-size: 2.5rem; /* Aumentar o subtítulo de conteúdo */
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

/* Parágrafos mais legíveis */
.tech-inovation-section .tech-content p,
.preventive-maintenance-section .preventive-content p {
    font-size: 1.25rem; /* Aumentar parágrafos */
    line-height: 1.7;
    color: var(--gray-700);
}

/* Ícones com sombras e animações */
.tech-inovation-section .tech-features li i,
.preventive-maintenance-section .preventive-features li i {
    box-shadow: var(--shadow-md); /* Sombra sutil nos ícones */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-inovation-section .tech-features li:hover i,
.preventive-maintenance-section .preventive-features li:hover i {
    transform: translateY(-3px); /* Pequena animação no hover do ícone */
    box-shadow: var(--shadow-lg);
}

/* Títulos das features mais destacados */
.tech-inovation-section .tech-features li h4,
.preventive-maintenance-section .preventive-features li h4 {
    font-weight: 700; /* Mais negrito */
}

/* CTAs com bordas chamativas */
.tech-inovation-section .tech-cta,
.preventive-maintenance-section .preventive-cta {
    border-left: 6px solid var(--accent); /* Borda chamativa no CTA */
    padding-left: var(--space-10); /* Ajustar padding para a borda */
    text-align: left; /* Alinhar texto do CTA à esquerda com a borda */
    box-shadow: var(--shadow-lg); /* Sombra mais pronunciada */
}

.tech-inovation-section .tech-cta .btn,
.preventive-maintenance-section .preventive-cta .btn {
    width: fit-content; /* Botão se ajusta ao conteúdo */
    margin-top: var(--space-6); /* Espaçamento acima do botão */
}

/* Fundos diferenciados */
.tech-inovation-section {
    background: var(--gray-100); /* Mantém o fundo original */
}

.preventive-maintenance-section {
    background: var(--gray-50); /* Fundo mais claro para contraste */
}

/* ==========================================================================
   RESPONSIVIDADE GERAL PARA AS NOVAS SEÇÕES
   ========================================================================== */

/* Tablets (até 992px) */
@media (max-width: 992px) {
    .preventive-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .tech-inovation-section .section-header h2,
    .preventive-maintenance-section .section-header h2 {
        font-size: 2.5rem;
    }

    .tech-inovation-section .tech-content h3,
    .preventive-maintenance-section .preventive-content h3 {
        font-size: 2rem;
    }
}

/* Mobile (até 768px) */
@media (max-width: 768px) {
    .tech-inovation-section .section-header h2,
    .preventive-maintenance-section .section-header h2 {
        font-size: 2rem;
    }

    .tech-inovation-section .tech-content h3,
    .preventive-maintenance-section .preventive-content h3 {
        font-size: 1.75rem;
    }

    .tech-inovation-section .tech-content p,
    .preventive-maintenance-section .preventive-content p {
        font-size: 1.1rem;
    }

    .tech-inovation-section .tech-cta,
    .preventive-maintenance-section .preventive-cta {
        padding: var(--space-6); /* Ajuste padding em mobile */
        text-align: center; /* Centralizar em mobile */
        border-left: none; /* Remover borda lateral em mobile */
        border-top: 4px solid var(--accent); /* Adicionar borda superior */
        padding-left: var(--space-8); /* Resetar padding lateral */
    }

    .tech-inovation-section .tech-cta .btn,
    .preventive-maintenance-section .preventive-cta .btn {
        margin-top: var(--space-4);
    }
}

/* Mobile pequeno (até 480px) */
@media (max-width: 480px) {
    .tech-inovation-section .section-header h2,
    .preventive-maintenance-section .section-header h2 {
        font-size: 1.75rem;
    }

    .tech-inovation-section .tech-content h3,
    .preventive-maintenance-section .preventive-content h3 {
        font-size: 1.5rem;
    }

    .tech-inovation-section .tech-content p,
    .preventive-maintenance-section .preventive-content p {
        font-size: 1rem;
    }

    .tech-inovation-section .tech-features li,
    .preventive-maintenance-section .preventive-features li {
        flex-direction: column;
        text-align: center;
        gap: var(--space-3);
    }

    .tech-inovation-section .tech-features li i,
    .preventive-maintenance-section .preventive-features li i {
        align-self: center;
        width: 40px;
        height: 40px;
        font-size: var(--font-size-xl);
    }

    .tech-inovation-section .tech-cta h4,
    .preventive-maintenance-section .preventive-cta h4 {
        font-size: var(--font-size-lg);
    }

    .tech-inovation-section .tech-cta .btn,
    .preventive-maintenance-section .preventive-cta .btn {
        padding: var(--space-3) var(--space-6);
        font-size: var(--font-size-sm);
    }
}

/* ===== MELHORIAS ESPECÍFICAS APENAS PARA OS 3 SERVIÇOS PRINCIPAIS ===== */

/* Garantir que as imagens dos serviços principais tenham proporção perfeita */
.services > .container > .services-grid:first-of-type .service-image picture,
.services > .container > .services-grid:first-of-type .service-image picture img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Sombra específica para os serviços principais */
.services > .container > .services-grid:first-of-type .service-image img {
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.12);
}

/* Grid de serviços principais com altura uniforme */
.services > .container > .services-grid:first-of-type .service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.services > .container > .services-grid:first-of-type .service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ==========================================================================
   MELHORIAS VISUAIS – FAQ
   ========================================================================== */

/* Container do item – inclui posicionamento relativo para pseudo-elemento */
.faq-item {
    position: relative;
}

/* Barra de destaque animada à esquerda (substitui border-left fixa) */
.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-secondary);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s ease;
    border-top-left-radius: var(--border-radius-lg);
    border-bottom-left-radius: var(--border-radius-lg);
}

.faq-item.active::before {
    transform: scaleY(1);
}

/* Ao ativar, remover a borda fixa e intensificar a sombra */
.faq-item.active {
    border-left: none;
    box-shadow: var(--shadow-xl);
}

/* Ícone dentro de círculo com gradiente para dar mais destaque */
.faq-question i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient-secondary);
    color: var(--white);
    font-size: var(--font-size-lg);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.35);
    transition: transform 0.35s ease, background 0.35s ease;
}

/* Gira o ícone para criar o efeito de "fechar" e escurece o círculo */
.faq-item.active .faq-question i {
    transform: rotate(45deg);
    background: var(--accent);
}

/* Hover suave no ícone para reforçar interatividade */
.faq-question:hover i {
    transform: rotate(90deg);
}

/* Ajuste para dispositivos menores mantendo proporções */
@media (max-width: 767px) {
    .faq-question i {
        width: 32px;
        height: 32px;
        font-size: var(--font-size-base);
    }
}

/* Ocultar botões de contato mobile quando em desktop */
@media (min-width: 992px) {
    .mobile-contact-buttons {
        display: none !important;
    }
}

/* ==========================================================================
   DEPOIMENTOS
   ========================================================================== */
.testimonials {
    padding: var(--space-24) 0;
    background: var(--gray-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-text {
    font-size: var(--font-size-base);
    color: var(--gray-700);
    margin-bottom: var(--space-6);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-weight: 600;
    color: var(--primary);
}

.testimonial-author i {
    font-size: var(--font-size-2xl);
    color: var(--secondary);
}
/* Responsivo */
@media (max-width: 767px) {
    .testimonials {
        padding: var(--space-16) 0;
    }
}
