/**
 * MD Solutions Technology - CSS Moderno UX/UI
 * Site totalmente recriado com design profissional
 */

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0a20c7;
    --secondary: #0f0d1d;
    --accent: #3c72fc;
    --gradient: linear-gradient(135deg, #0a20c7, #1e3c72);
    --text-dark: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Container System */
.header-container,
.hero-container,
.brands-container,
.about-container,
.services-container,
.contact-container,
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
.section-subtitle {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.title-highlight {
    display: block;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 32, 199, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

/* Preloader Tecnológico */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(167, 56, 219, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease;
    overflow: hidden;
}

.preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 2rem;
    position: relative;
}

/* Elementos Visuais Tecnológicos */
.preloader-visual {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 2rem;
}

.tech-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.circle-outer, .circle-middle, .circle-inner, .circle-core {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    animation: rotate 3s linear infinite;
}

.circle-outer {
    width: 180px;
    height: 180px;
    top: 10px;
    left: 10px;
    border-color: rgba(59, 130, 246, 0.3);
    animation-duration: 4s;
    animation-direction: reverse;
}

.circle-middle {
    width: 140px;
    height: 140px;
    top: 30px;
    left: 30px;
    border-color: rgba(167, 56, 219, 0.5);
    animation-duration: 3s;
}

.circle-inner {
    width: 100px;
    height: 100px;
    top: 50px;
    left: 50px;
    border-color: rgba(34, 197, 94, 0.4);
    animation-duration: 2s;
    animation-direction: reverse;
}

.circle-core {
    width: 60px;
    height: 60px;
    top: 70px;
    left: 70px;
    border: none;
    background: linear-gradient(45deg, #3b82f6, #a855f7, #22c55e);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

.core-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: corePulse 1.5s ease-in-out infinite;
}

/* Partículas Flutuantes */
.tech-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #60a5fa;
    border-radius: 50%;
    animation: float 4s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.8);
}

.particle-1 { top: 20%; left: 10%; animation-delay: 0s; }
.particle-2 { top: 30%; right: 15%; animation-delay: 0.5s; background: #a855f7; }
.particle-3 { bottom: 25%; left: 20%; animation-delay: 1s; background: #22c55e; }
.particle-4 { top: 15%; right: 30%; animation-delay: 1.5s; }
.particle-5 { bottom: 20%; right: 10%; animation-delay: 2s; background: #a855f7; }
.particle-6 { top: 40%; left: 5%; animation-delay: 2.5s; background: #22c55e; }

/* Linhas de Conexão */
.tech-connections {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #60a5fa, transparent);
    animation: connectionPulse 3s ease-in-out infinite;
}

.connection-1 {
    width: 80px;
    top: 30%;
    left: 20%;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.connection-2 {
    width: 60px;
    top: 60%;
    right: 25%;
    transform: rotate(-30deg);
    animation-delay: 1s;
}

.connection-3 {
    width: 70px;
    bottom: 35%;
    left: 15%;
    transform: rotate(120deg);
    animation-delay: 2s;
}

/* Status Tecnológico */
.preloader-text {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loading-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.tech-text {
    font-family: 'Inter', sans-serif !important;
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5) !important;
    animation: textGlow 2s ease-in-out infinite alternate !important;
    letter-spacing: -0.02em !important;
    line-height: 1.1 !important;
}

.tech-highlight {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.6rem !important;
    font-weight: 500 !important;
    background: linear-gradient(45deg, #3b82f6, #a855f7, #22c55e) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-size: 200% 200% !important;
    animation: gradientShift 3s ease-in-out infinite !important;
    letter-spacing: -0.01em !important;
    line-height: 1.2 !important;
}

.loading-subtitle {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    animation: fadeInOut 2s ease-in-out infinite !important;
    text-shadow: 0 0 15px rgba(96, 165, 250, 0.3) !important;
}

/* Barra de Progresso Tecnológica */
.preloader-progress-tech {
    width: 300px;
    max-width: 80vw;
    margin-bottom: 2rem;
}

.progress-track {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #a855f7, #22c55e, #3b82f6);
    background-size: 200% 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
    animation: progressShine 2s linear infinite;
}

.progress-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
    border-radius: 5px;
    animation: glowSweep 3s ease-in-out infinite;
}

.progress-percentage {
    font-family: 'Inter', sans-serif !important;
    margin-top: 1rem !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #60a5fa !important;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.5) !important;
    letter-spacing: -0.01em !important;
}

/* Status de Carregamento */
.loading-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: statusPulse 1s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
}

.status-text {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* Animações */
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

@keyframes corePulse {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); opacity: 0.8; }
    50% { transform: translateY(-10px); opacity: 1; }
}

@keyframes connectionPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes textGlow {
    0% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
    100% { text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 40px rgba(59, 130, 246, 0.3); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes progressShine {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes glowSweep {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

/* Responsividade do Preloader Tecnológico */
@media (max-width: 768px) {
    .preloader-visual {
        width: 160px;
        height: 160px;
        margin-bottom: 1.5rem;
    }
    
    .circle-outer {
        width: 140px;
        height: 140px;
    }
    
    .circle-middle {
        width: 110px;
        height: 110px;
        top: 25px;
        left: 25px;
    }
    
    .circle-inner {
        width: 80px;
        height: 80px;
        top: 40px;
        left: 40px;
    }
    
    .circle-core {
        width: 50px;
        height: 50px;
        top: 55px;
        left: 55px;
    }
    
    .tech-text {
        font-size: 1.6rem;
        font-weight: 700;
        letter-spacing: -0.02em;
    }
    
    .tech-highlight {
        font-size: 1.3rem;
        font-weight: 500;
        letter-spacing: -0.01em;
    }
    
    .loading-subtitle {
        font-size: 0.95rem !important;
        font-weight: 600 !important;
    }
    
    .preloader-progress-tech {
        width: 250px;
    }
    
    .progress-percentage {
        font-size: 1rem;
    }
    
    .particle {
        width: 4px;
        height: 4px;
    }
}

@media (max-width: 480px) {
    .preloader-visual {
        width: 120px;
        height: 120px;
        margin-bottom: 1rem;
    }
    
    .circle-outer {
        width: 110px;
        height: 110px;
        top: 5px;
        left: 5px;
    }
    
    .circle-middle {
        width: 85px;
        height: 85px;
        top: 17.5px;
        left: 17.5px;
    }
    
    .circle-inner {
        width: 60px;
        height: 60px;
        top: 30px;
        left: 30px;
    }
    
    .circle-core {
        width: 35px;
        height: 35px;
        top: 42.5px;
        left: 42.5px;
    }
    
    .core-pulse {
        width: 15px;
        height: 15px;
    }
    
    .tech-text {
        font-size: 1.3rem;
        font-weight: 700;
        letter-spacing: -0.02em;
    }
    
    .tech-highlight {
        font-size: 1.1rem;
        font-weight: 500;
        letter-spacing: -0.01em;
    }
    
    .loading-subtitle {
        font-size: 0.85rem !important;
        font-weight: 600 !important;
        letter-spacing: 1px !important;
    }
    
    .preloader-progress-tech {
        width: 200px;
    }
    
    .progress-percentage {
        font-size: 0.875rem;
    }
    
    .loading-status {
        font-size: 0.75rem;
    }
    
    .status-dot {
        width: 6px;
        height: 6px;
    }
    
    .particle {
        width: 3px;
        height: 3px;
    }
    
    .connection {
        height: 1px;
    }
    
    .connection-1 { width: 60px; }
    .connection-2 { width: 45px; }
    .connection-3 { width: 50px; }
}

/* Header - Design Responsivo Moderno */
.header-area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 13, 29, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0;
}

.header-area.scrolled {
    background: rgba(15, 13, 29, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.scroll-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient);
    width: 0%;
    transition: width 0.1s ease;
    z-index: 1001;
}

.header__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.header__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    position: relative;
    gap: 1rem;
}

@media (max-width: 767px) {
    .header__main {
        height: 60px;
        padding: 0 10px;
    }
}

.header-area .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1002;
}

.header-area .logo img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.header-area .logo:hover img {
    transform: scale(1.05);
}

@media (max-width: 767px) {
    .header-area .logo img {
        height: 35px;
    }
}

.main-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-nav {
    display: none;
}

@media (min-width: 992px) {
    .header-nav {
        display: block;
    }
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

@media (min-width: 1200px) {
    .nav-list {
        gap: 2.5rem;
    }
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;
}

@media (min-width: 1200px) {
    .nav-link {
        font-size: 16px;
    }
}

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

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

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

.header-actions {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 1200px) {
    .header-actions {
        display: flex;
        gap: 2rem;
    }
}

.header-cta.btn-one {
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-cta.btn-one:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 32, 199, 0.3);
}

.header-contact-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-contact-info .contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(10, 32, 199, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.header-contact-info .contact-icon:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.header-contact-info .contact-info .contact-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-contact-info .contact-info .contact-value {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

.header-contact-info .contact-info .contact-value a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-contact-info .contact-info .contact-value a:hover {
    color: var(--primary);
}

.bars {
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    outline: none;
    position: relative;
    z-index: 1001;
}

.bars i {
    color: var(--white);
    font-size: 18px;
    transition: all 0.3s ease;
}

.bars:hover {
    background: var(--primary);
    transform: scale(1.05);
}

.bars:hover i {
    color: var(--white);
    transform: scale(1.1);
}

@media (min-width: 992px) {
    .bars {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .bars {
        display: flex !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .bars:hover {
        background: var(--primary) !important;
        border-color: var(--primary) !important;
    }
    
    /* Esconder menu desktop em mobile */
    .header-nav {
        display: none !important;
    }
    
    .header-actions {
        display: none !important;
    }
}

/* Mobile Sidebar - Design Moderno */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: var(--white);
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    will-change: transform;
}

.mobile-sidebar.active {
    right: 0;
}

.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9997;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s ease;
}

/* Quando o sidebar está ativo, mostrar o overlay */
.mobile-sidebar.active + .mobile-sidebar-overlay,
.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.mobile-sidebar-content {
    padding: 1.5rem;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: var(--white);
    position: relative;
    z-index: 9999;
}

.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    margin: -20px -20px 20px -20px;
    border-bottom: none;
    min-height: 72px;
}

.mobile-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.mobile-logo img {
    width: 196px;
    height: 42px;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

.mobile-close-btn {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-close-btn:hover {
    background: rgba(10, 32, 199, 0.1);
    color: var(--primary);
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-item {
    margin-bottom: 0.25rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 15px;
}

.mobile-nav-link:hover {
    background: rgba(10, 32, 199, 0.08);
    color: var(--primary);
    transform: translateX(4px);
}

/* Estilos do mobile sidebar - extras para garantir funcionamento */
.mobile-contact,
.mobile-social,
.mobile-cta {
    padding: 1rem 0;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
}

.mobile-contact-title,
.mobile-social-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
}

.mobile-contact-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.mobile-contact-value {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
}

.mobile-social-links {
    display: flex;
    gap: 0.75rem;
}

.mobile-social-link {
    width: 40px;
    height: 40px;
    background: rgba(10, 32, 199, 0.1);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
}

/* Hero Section - Totalmente Responsivo */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
        height: 90vh;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 450px;
        height: 85vh;
    }
}

.hero-slider {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 10;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.8s ease;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: none; /* Ocultar elementos decorativos */
}

.hero-shape {
    position: absolute;
    opacity: 0.7;
}

.hero-shape img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(10, 32, 199, 0.2));
}

.hero-shape-1 {
    top: 10%;
    left: 5%;
    width: 80px;
    animation: slideInLeft 2s ease-out;
}

.hero-shape-2 {
    top: 20%;
    right: 10%;
    width: 60px;
    animation: slideInRight 2s ease-out;
}

.hero-shape-3 {
    bottom: 30%;
    right: 5%;
    width: 70px;
    animation: slideInRight 2.5s ease-out;
}

.hero-shape-4 {
    bottom: 10%;
    right: 15%;
    width: 100px;
    animation: float 6s ease-in-out infinite;
}

.hero-shape-5 {
    top: 50%;
    right: 20%;
    width: 50px;
    animation: rotate 10s linear infinite;
}

.hero-shape-6 {
    bottom: 40%;
    left: 10%;
    width: 60px;
    animation: rotateY 8s linear infinite;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .hero-content {
        max-width: 100%;
        padding: 0 20px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-content {
        max-width: 100%;
        padding: 0 15px;
        margin: 0 auto;
    }
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.2;
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.875rem;
        line-height: 1.3;
        max-width: 100%;
    }
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero-description {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
}

.hero-actions {
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .hero-actions {
        margin-top: 1.5rem;
    }
}

.btn-hero {
    padding: 16px 32px;
    font-size: 1.125rem;
    background: var(--white);
    color: var(--primary);
}

@media (max-width: 768px) {
    .btn-hero {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .btn-hero {
        padding: 12px 24px;
        font-size: 0.9rem;
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.hero-slider .hero-pagination.swiper-pagination {
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    width: auto !important;
    transform: translateX(-50%) !important;
    z-index: 20;
}

.hero-slider .hero-pagination.swiper-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5) !important;
    width: 12px !important;
    height: 12px !important;
    margin: 0 8px !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
}

.hero-slider .hero-pagination.swiper-pagination .swiper-pagination-bullet-active {
    background: var(--white) !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8) !important;
}

/* Brands Carousel Section */
.brands-section-carousel {
    background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.brands-section-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(10, 32, 199, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(60, 114, 252, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.brands-container-carousel {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.brands-header {
    text-align: center;
    margin-bottom: 3rem;
}

.brands-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    position: relative;
    display: inline-block;
}

.brands-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.brands-carousel {
    position: relative;
    padding: 0 20px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.brands-carousel:hover {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

/* Força movimento contínuo infinito - efeito letreiro */
.brands-carousel .swiper-wrapper {
    transition-timing-function: linear !important;
    will-change: transform;
}

/* Animação contínua quando autoplay está ativo */
.brands-carousel.swiper-autoplay .swiper-wrapper {
    animation: none; /* Remove qualquer animação CSS que possa interferir */
}

/* Garante que o movimento seja fluido e contínuo */
.brands-carousel .swiper-slide {
    will-change: transform;
    backface-visibility: hidden;
}

.brands-carousel-slide {
    height: 140px !important;
    width: 240px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box;
}

.brand-logo-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.5);
    transition: all 0.4s ease;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 120px;
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.brand-logo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(10, 32, 199, 0.3);
    background: linear-gradient(145deg, #ffffff, #f8fafc);
}

.brand-logo-card img {
    max-height: 60px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    filter: grayscale(0%) opacity(1);
    transition: all 0.4s ease;
    display: block;
    margin: 0 auto;
    background: transparent;
    border: none;
    outline: none;
}

/* Fallback para caso a imagem não carregue */
.brand-logo-card img[src=""],
.brand-logo-card img:not([src]),
.brand-logo-card img[src="#"] {
    display: none;
}

/* Placeholder enquanto a imagem carrega */
.brand-logo-card img {
    background-color: rgba(226, 232, 240, 0.1);
}

/* Force image loading */
.brands-carousel img {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Garantir que as imagens sejam sempre visíveis */
.brand-logo-card img {
    min-width: 20px;
    min-height: 20px;
}

.brand-logo-card:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}



/* Modern About Section */
.about-section-modern {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
}

.about-container-modern {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-header {
    text-align: center;
    margin-bottom: 4rem;
}

.about-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.about-main-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.2;
    margin: 0;
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text-column {
    padding-right: 2rem;
}

.about-intro {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.about-features-list {
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 16px;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

.about-cta {
    margin-top: 2rem;
}

.btn-about-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gradient);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(10, 32, 199, 0.3);
}

.btn-about-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10, 32, 199, 0.4);
    color: var(--white);
    text-decoration: none;
}

.about-visual-column {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.stats-overlay {
    display: none; /* Removida - estatísticas agora estão no card abaixo da imagem */
}

.stat-item {
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-text-column {
        padding-right: 0;
    }
    
    .about-main-title {
        font-size: 2.5rem;
    }
    
    .brands-carousel {
        padding: 0 20px;
    }
    
    .brand-logo-card {
        padding: 1.5rem;
        height: 100px;
        max-width: 180px;
    }
    
    .brand-logo-card img {
        max-height: 50px;
        max-width: 130px;
    }
    
    .brands-title {
        font-size: 1.25rem;
    }
    
    .stats-overlay {
        flex-direction: column;
        gap: 1rem;
    }
    
    .brands-section-carousel {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .brands-carousel {
        padding: 0 15px;
    }
    
    .brand-logo-card {
        padding: 1rem;
        height: 80px;
        max-width: 160px;
    }
    
    .brand-logo-card img {
        max-height: 40px;
        max-width: 110px;
    }
    
    .brands-title {
        font-size: 1.125rem;
    }
}

/* Services Section - Totalmente Responsivo */
.services-section {
    padding: 5rem 0;
    background: var(--gray-50);
}

@media (max-width: 768px) {
    .services-section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .services-section {
        padding: 3rem 0;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        gap: 1.25rem;
        margin-bottom: 2rem;
        padding: 0 10px;
    }
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 32, 199, 0.8), rgba(30, 60, 114, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-image-overlay {
    opacity: 0;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.service-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon img {
    transform: scale(1.1) rotate(5deg);
}

.service-content {
    padding: 2rem;
}

@media (max-width: 768px) {
    .service-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .service-content {
        padding: 1.25rem;
    }
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .service-title {
        font-size: 1.375rem;
        margin-bottom: 0.875rem;
    }
}

@media (max-width: 480px) {
    .service-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
}

.service-link {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--primary);
}

.service-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.service-feature svg {
    color: var(--primary);
    flex-shrink: 0;
}

.service-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.btn-service {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.services-cta {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.services-cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.services-cta-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Section - Responsividade Avançada */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') center/50px 50px;
    opacity: 0.3;
    pointer-events: none;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    position: sticky;
    top: 2rem;
}

.section-header {
    margin-bottom: 3rem;
}

.contact-methods {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding: 2rem 1.75rem;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.contact-method:hover::before {
    transform: scaleY(1);
}

.contact-method:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(10, 32, 199, 0.15);
    border-color: rgba(10, 32, 199, 0.1);
}

.contact-method-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    border-radius: 20px;
    flex-shrink: 0;
    position: relative;
    margin-bottom: 0.5rem;
}

.contact-method-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-method:hover .contact-method-icon::after {
    opacity: 0.2;
}

.contact-method-content {
    flex: 1;
    text-align: center;
}

.contact-method-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    text-align: center;
}

.contact-method-value {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    display: block;
    transition: color 0.3s ease;
    text-align: center;
}

.contact-method-value:hover {
    color: var(--accent);
}

.contact-method-description {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.5;
    text-align: center;
}

.contact-social {
    text-align: center;
    padding: 1.75rem;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-social-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-social-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.contact-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-social-link:hover::before {
    opacity: 1;
}

.contact-social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(10, 32, 199, 0.4);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

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

.contact-form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-form-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-form-description {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input,
.form-select,
.form-textarea {
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(10, 32, 199, 0.1);
    transform: translateY(-2px);
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.form-actions {
    text-align: center;
    margin-top: 2.5rem;
}

.btn-submit {
    position: relative;
    padding: 18px 40px;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-submit:hover::before {
    opacity: 1;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(10, 32, 199, 0.4);
}

.btn-loading {
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: inline;
}

/* Responsividade Avançada */
@media (max-width: 1024px) {
    .contact-grid {
        gap: 3rem;
    }
    
    .contact-info {
        position: static;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 4rem 0;
    }
    
    .contact-container {
        padding: 0 15px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .contact-form-title {
        font-size: 1.75rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-method {
        padding: 1.5rem 1.25rem;
        gap: 1rem;
    }
    
    .contact-method-icon {
        width: 52px;
        height: 52px;
        border-radius: 18px;
    }
    
    .contact-method-icon::after {
        border-radius: 20px;
    }
    
    .contact-social {
        padding: 1.5rem;
    }
    
    .contact-social-links {
        gap: 0.75rem;
    }
    
    .contact-social-link {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-container {
        padding: 0 10px;
    }
    
    .contact-grid {
        gap: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .contact-form-title {
        font-size: 1.5rem;
    }
    
    .contact-form-description {
        font-size: 0.9rem;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
    
    .contact-method {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .contact-method-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
    
    .contact-method-title {
        font-size: 1rem;
    }
    
    .contact-method-value {
        font-size: 1rem;
    }
    
    .contact-method-description {
        font-size: 0.8rem;
    }
    
    .contact-social {
        padding: 1.25rem;
    }
    
    .contact-social-title {
        font-size: 1.125rem;
    }
    
    .contact-social-links {
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .contact-social-link {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
    
    .btn-submit {
        padding: 16px 32px;
        font-size: 1rem;
        width: 100%;
    }
}

@media (max-width: 360px) {
    .contact-form-wrapper {
        padding: 1.25rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-method-icon {
        align-self: center;
    }
}

/* Footer */
.footer-modern {
    background: var(--secondary);
    color: var(--white);
}

.footer-main {
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    text-decoration: none;
}

.footer-logo img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.footer-logo:hover img {
    transform: scale(1.05);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-link-item {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--white);
}

.footer-contact-info {
    display: grid;
    gap: 1.5rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 8px;
    flex-shrink: 0;
}

.footer-contact-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.25rem;
}

.footer-contact-value {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

.footer-cta {
    margin-top: 2rem;
}

.btn-footer {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-footer:hover {
    background: var(--white);
    color: var(--primary);
}

.footer-newsletter {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem 0;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

@media (max-width: 768px) {
    .newsletter-content {
        gap: 1.5rem;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .newsletter-content {
        gap: 1rem;
        padding: 0 10px;
    }
}

.newsletter-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.newsletter-description {
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-input-group {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
}

@media (max-width: 480px) {
    .newsletter-input-group {
        flex-direction: column;
        border-radius: 8px;
        max-width: 100%;
    }
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    outline: none;
    font-size: 1rem;
}

.newsletter-btn {
    padding: 12px 20px;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
}

.newsletter-btn:hover {
    background: var(--accent);
}

.newsletter-privacy {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.footer-copyright,
.footer-credits {
    color: rgba(255, 255, 255, 0.8);
}

.footer-heart {
    color: #e53e3e;
    font-size: 1.2em;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10, 32, 199, 0.3);
}

/* Cookie Notice Moderno */
.cookie-notice-modern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-notice-modern.show {
    opacity: 1;
    visibility: visible;
}

.cookie-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cookie-card {
    position: relative;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 480px;
    width: 100%;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-notice-modern.show .cookie-card {
    transform: scale(1) translateY(0);
}

.cookie-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 0;
}

.cookie-icon-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 16px;
    color: var(--white);
    animation: cookieIconPulse 2s ease-in-out infinite;
}

.cookie-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 8px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    transform: scale(1.1);
}

.cookie-body {
    padding: 1rem 1.5rem;
}

.cookie-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.cookie-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.cookie-benefits {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.cookie-benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: rgba(10, 32, 199, 0.05);
    border-radius: 12px;
    border-left: 3px solid var(--primary);
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 6px;
    color: var(--white);
    flex-shrink: 0;
}

.cookie-benefit span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
}

.cookie-actions-modern {
    display: flex;
    gap: 0.75rem;
    padding: 0 1.5rem;
}

.btn-cookie-accept-modern,
.btn-cookie-decline-modern {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.btn-cookie-accept-modern {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    box-shadow: 0 4px 12px rgba(10, 32, 199, 0.3);
}

.btn-cookie-accept-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 32, 199, 0.4);
}

.btn-cookie-decline-modern {
    background: rgba(0, 0, 0, 0.06);
    color: var(--text-dark);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-cookie-decline-modern:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.cookie-footer {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
}

.cookie-policy-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cookie-policy-link:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

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

/* Responsividade do Cookie Notice */
@media (max-width: 768px) {
    .cookie-notice-modern {
        padding: 1rem;
    }
    
    .cookie-card {
        max-width: 100%;
        border-radius: 20px;
    }
    
    .cookie-header {
        padding: 1.25rem 1.25rem 0;
    }
    
    .cookie-body {
        padding: 1rem 1.25rem;
    }
    
    .cookie-actions-modern {
        flex-direction: column;
        padding: 0 1.25rem;
        gap: 0.5rem;
    }
    
    .cookie-footer {
        padding: 1rem 1.25rem 1.25rem;
    }
    
    .cookie-title {
        font-size: 1.25rem;
    }
    
    .cookie-benefits {
        gap: 0.5rem;
    }
    
    .cookie-benefit {
        padding: 0.625rem;
    }
}

@media (max-width: 480px) {
    .cookie-notice-modern {
        padding: 0.5rem;
        align-items: flex-end;
    }
    
    .cookie-card {
        border-radius: 16px;
    }
    
    .cookie-icon-modern {
        width: 40px;
        height: 40px;
    }
    
    .cookie-title {
        font-size: 1.125rem;
    }
    
    .cookie-description {
        font-size: 0.85rem;
    }
}

/* Animations */
@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 0.7;
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateY {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}

/* Responsive Design */
@media (min-width: 768px) {
    .header-nav {
        display: block;
    }
    
    .contact-info {
        display: block;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }
    
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    

}

@media (min-width: 1200px) {
    .hero-title {
        font-size: 5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.hidden {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Container e Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* Font Awesome Icons */
.fa-regular,
.fa-solid,
.fa-brands {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands";
    font-weight: 900;
}

.fa-regular {
    font-weight: 400;
}

/* Utility Classes - Bootstrap Style */
.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.d-flex {
    display: flex !important;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.align-items-center {
    align-items: center !important;
}

.gap-2 {
    gap: 0.5rem !important;
}

.gap-4 {
    gap: 1.5rem !important;
}

@media (min-width: 576px) {
    .d-sm-block {
        display: block !important;
    }
    .d-sm-none {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .d-md-block {
        display: block !important;
    }
    .d-md-none {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .d-lg-block {
        display: block !important;
    }
    .d-lg-none {
        display: none !important;
    }
}

@media (min-width: 1200px) {
    .d-xl-flex {
        display: flex !important;
    }
    .d-xl-block {
        display: block !important;
    }
    .d-xl-none {
        display: none !important;
    }
}

/* Garantir que todas as imagens tenham lazy loading adequado */
img {
    max-width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Melhorar o carregamento das brands */
.brand-item img {
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
    object-fit: contain;
    max-height: 60px;
}

.brand-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Shapes com fallback */
.hero-shape img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(10, 32, 199, 0.2));
}

/* Service icons com fallback */
.service-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon img {
    transform: scale(1.1) rotate(5deg);
}

/* Preloader logo */
.preloader-logo {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-logo img {
    width: 200px;
    height: auto;
    max-width: 90vw;
    object-fit: contain;
    filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 24px rgba(255, 255, 255, 0.1));
    animation: logoFloat 4s ease-in-out infinite;
    border-radius: 12px;
}

@keyframes logoFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 24px rgba(255, 255, 255, 0.1));
    }
    50% { 
        transform: translateY(-8px) scale(1.02);
        filter: drop-shadow(0 16px 48px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 32px rgba(255, 255, 255, 0.15));
    }
}

/* ===== RESPONSIVIDADE GLOBAL ADICIONAL ===== */

/* Seções de Conteúdo Responsivas */
@media (max-width: 1024px) {
    .container {
        max-width: 960px;
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .section-description {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    /* Botões responsivos */
    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    /* Espaçamentos das seções */
    .brands-section-carousel,
    .about-section-modern,
    .services-section,
    .contact-section {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 12px;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.875rem;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .section-description {
        font-size: 0.95rem;
    }
    
    /* Botões para telas muito pequenas */
    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
        display: block;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
        text-align: center;
    }
    
    /* Espaçamentos reduzidos */
    .brands-section-carousel,
    .about-section-modern,
    .services-section,
    .contact-section {
        padding: 2.5rem 0;
    }
}

@media (max-width: 400px) {
    .container {
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .section-description {
        font-size: 0.9rem;
    }
    
    /* Ultra compacto para smartphones pequenos */
    .brands-section-carousel,
    .about-section-modern,
    .services-section,
    .contact-section {
        padding: 2rem 0;
    }
    
    /* Ajustes de carrossel para telas pequenas */
    .brands-carousel-slide {
        height: 100px !important;
        width: 180px !important;
    }
    
    .brand-logo-card {
        height: 80px;
        padding: 1rem;
    }
    
    .brand-logo-card img {
        max-height: 50px;
    }
}

/* Orientação landscape em mobile */
@media (max-width: 896px) and (orientation: landscape) {
    .hero-section {
        min-height: 400px;
        height: 80vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .brands-section-carousel,
    .about-section-modern,
    .services-section,
    .contact-section {
        padding: 2rem 0;
    }
}

/* Tablets em modo portrait */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .brands-carousel-slide {
        width: 200px !important;
    }
}

/* Melhorias para acessibilidade e touch */
@media (max-width: 768px) {
    /* Aumentar área de toque */
    .nav-link,
    .mobile-nav-link,
    .btn-primary,
    .btn-secondary,
    .footer-social-link,
    .contact-social-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Espaçamento adequado para toque */
    .mobile-nav-item {
        margin-bottom: 0.5rem;
    }
    
    /* Garantir que texto seja legível */
    body {
        font-size: 16px; /* Evita zoom automático no iOS */
    }
}

/* Estados de foco melhorados para mobile */
@media (max-width: 768px) {
    button:focus,
    a:focus,
    input:focus,
    textarea:focus {
        outline: 2px solid var(--primary);
        outline-offset: 2px;
    }
}

/* Ajustes finais para garantir que nada quebre */
* {
    max-width: 100%;
}

img,
video,
iframe {
    height: auto;
    max-width: 100%;
}

/* Scrollbar responsivo */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 6px;
    }
    
    ::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
    
    ::-webkit-scrollbar-thumb {
        background: var(--primary);
        border-radius: 3px;
    }
}

/* ===== CORREÇÕES ESPECÍFICAS PARA MOBILE ===== */

/* Garantir que o botão hamburguer sempre apareça em mobile */
@media (max-width: 991px) {
    .bars {
        display: flex !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .bars:hover {
        background: var(--primary) !important;
        border-color: var(--primary) !important;
    }
    
    /* Esconder menu desktop em mobile */
    .header-nav {
        display: none !important;
    }
    
    .header-actions {
        display: none !important;
    }
}

/* Correções para texto cortado */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .hero-section {
        width: 100vw;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .hero-container {
        width: 100%;
        max-width: 100vw;
        padding: 0 15px;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        margin: 0;
        box-sizing: border-box;
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
        word-break: break-word;
        white-space: normal;
        max-width: 100%;
        padding: 0 5px;
    }
    
    .hero-description {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1.5rem !important;
        padding: 0 5px;
        max-width: 100%;
        word-wrap: break-word;
    }
    
    .btn-hero {
        font-size: 0.9rem !important;
        padding: 12px 20px !important;
        max-width: 280px;
        margin: 0 auto;
        display: block;
        width: auto;
    }
}

/* Correções extras para telas muito pequenas */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
        padding: 0 10px;
    }
    
    .hero-description {
        font-size: 0.85rem !important;
        padding: 0 10px;
    }
    
    .hero-content {
        padding: 0 5px;
    }
    
    .hero-container {
        padding: 0 10px;
    }
}

/* Ajustes do header para garantir posicionamento correto */
@media (max-width: 991px) {
    .header__main {
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 15px;
    }
    
    .logo {
        flex: 0 0 auto;
        z-index: 1001;
    }
    
    .bars {
        flex: 0 0 auto;
        margin-left: auto;
        z-index: 1001;
    }
}

/* Garantir que o site não tenha scroll horizontal */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

/* Ajustes para todas as seções em mobile */
@media (max-width: 768px) {
    .brands-section-carousel,
    .about-section-modern,
    .services-section,
    .contact-section {
        padding-left: 0;
        padding-right: 0;
        margin: 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .brands-container-carousel,
    .about-container-modern,
    .container {
        padding-left: 15px;
        padding-right: 15px;
        margin: 0 auto;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* Debug: garantir que elementos não transbordem */
@media (max-width: 768px) {
    .hero-title,
    .hero-description,
    .section-title,
    .about-main-title {
        max-width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }
}

/* ===== CORREÇÕES FINAIS MOBILE SIDEBAR ===== */

/* Garantir que o mobile sidebar funcione corretamente */
@media (max-width: 991px) {
    .mobile-sidebar {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        right: -320px !important;
        width: 320px !important;
        height: 100vh !important;
        background: #ffffff !important;
        z-index: 99999 !important;
        transition: right 0.3s ease !important;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2) !important;
    }
    
    .mobile-sidebar.active {
        right: 0 !important;
    }
    
    .mobile-sidebar-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(0, 0, 0, 0.5) !important;
        z-index: 99998 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s ease !important;
    }
    
    .mobile-sidebar-overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .mobile-sidebar-content {
        height: 100vh !important;
        overflow-y: auto !important;
        padding: 20px !important;
        background: #ffffff !important;
    }
    
    .mobile-logo img {
        width: 196px !important;
        height: 42px !important;
        filter: brightness(0) invert(1) !important;
        object-fit: contain !important;
    }
    
    .mobile-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 15px 20px !important;
        margin: -20px -20px 20px -20px !important;
        background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%) !important;
        border-bottom: none !important;
        min-height: 72px !important;
    }
    
    .mobile-close-btn {
        background: rgba(255, 255, 255, 0.2) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        border-radius: 8px !important;
        width: 40px !important;
        height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        backdrop-filter: blur(10px) !important;
        color: white !important;
    }
    
    .mobile-close-btn:hover {
        background: rgba(255, 255, 255, 0.3) !important;
        transform: rotate(90deg) !important;
    }
    
    .mobile-nav-list {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .mobile-nav-item {
        margin-bottom: 8px !important;
    }
    
    .mobile-nav-link {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 12px 16px !important;
        color: #2d3748 !important;
        text-decoration: none !important;
        border-radius: 8px !important;
        transition: all 0.3s ease !important;
        background: transparent !important;
    }
    
    .mobile-nav-link:hover {
        background: rgba(10, 32, 199, 0.08) !important;
        color: #0a20c7 !important;
        transform: translateX(4px) !important;
    }
}

/* Fix z-index conflicts */
.mobile-sidebar {
    z-index: 99999 !important;
}

.mobile-sidebar-overlay {
    z-index: 99998 !important;
}

.header-area {
    z-index: 1000 !important;
}

/* Debug: garantir visibilidade */
.mobile-sidebar.active {
    display: block !important;
    visibility: visible !important;
} 

/* ===== PRELOADER MELHORADO - EFEITOS ESPECIAIS ===== */

/* Adicionar efeito de partículas/brilho no fundo */
.preloader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(96, 165, 250, 0.15) 2px, transparent 2px),
        radial-gradient(circle at 80% 50%, rgba(34, 197, 94, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 60% 20%, rgba(96, 165, 250, 0.12) 1.5px, transparent 1.5px);
    background-size: 100px 100px, 120px 120px, 80px 80px, 150px 150px;
    animation: sparkle 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes sparkle {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Melhorar a animação float existente */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px) scale(1);
    }
    50% { 
        transform: translateY(-10px) scale(1.02);
    }
}

/* Adicionar glow effect ao texto da empresa */
.preloader-company {
    background: linear-gradient(45deg, #ffffff, #f0f9ff, #ffffff);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Animação pulsante para o spinner */
.preloader-spinner {
    animation: spin 1s linear infinite, pulse 2s ease-in-out infinite !important;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 4px 30px rgba(255, 255, 255, 0.3);
        transform: scale(1.05);
    }
}

/* Responsividade do preloader */
@media (max-width: 768px) {
    .preloader-content {
        padding: 1.5rem;
    }
    
    .preloader-logo img {
        width: 160px;
    }
    
    .preloader-company {
        font-size: 1.4rem;
    }
    
    .preloader-welcome {
        font-size: 0.9rem;
    }
    
    .preloader-progress {
        width: 180px;
    }
    
    .preloader-spinner {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .preloader-content {
        padding: 1rem;
    }
    
    .preloader-logo img {
        width: 140px;
    }
    
    .preloader-company {
        font-size: 1.2rem;
    }
    
    .preloader-welcome {
        font-size: 0.8rem;
    }
    
    .preloader-progress {
        width: 150px;
    }
    
    .preloader-spinner {
        width: 30px;
        height: 30px;
        border-width: 2px;
    }
}

/* ===== FALLBACKS E MELHORIAS PARA IMAGENS ===== */

/* Garantir que todas as imagens sejam carregadas corretamente */
img {
    display: block !important;
    max-width: 100%;
    height: auto;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Fallback para imagens que não carregam */
.image-fallback {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px dashed #cbd5e1;
    min-height: 60px;
    display: block;
}

/* Melhorar carregamento das imagens dos serviços */
.service-image img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
}

.service-icon img {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain !important;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px;
}

/* Melhorar imagens dos brands */
.brand-logo-card img {
    width: 100% !important;
    height: auto !important;
    max-height: 60px !important;
    object-fit: contain !important;
    filter: grayscale(0%) opacity(1) !important;
    background: transparent !important;
}

/* Hero background images */
.hero-slide {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* About section image */
.about-image-wrapper img {
    width: 100% !important;
    height: auto !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

/* Force load all images immediately */
img[loading="lazy"] {
    opacity: 1 !important;
}

/* Preload critical images */
.hero-slide[data-background] {
    background-size: cover !important;
    background-position: center !important;
}

/* Ensure brand images are visible */
.brands-carousel .swiper-slide img {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Image loading states */
.image-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Error handling for broken images */
.broken-image {
    min-height: 60px;
    background: #f1f5f9;
}

/* Service cards with better image handling */
.service-card .service-image {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.service-card .service-icon {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

/* Brand carousel improvements */
.brands-carousel-slide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.brand-logo-card {
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(226, 232, 240, 0.5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 120px !important;
}

/* Responsive image improvements */
@media (max-width: 768px) {
    .service-image {
        height: 180px !important;
    }
    
    .about-image-wrapper {
        margin-bottom: 2rem;
    }
    
    .brand-logo-card {
        min-height: 100px !important;
    }
    
    .brand-logo-card img {
        max-height: 50px !important;
    }
}

@media (max-width: 480px) {
    .service-image {
        height: 160px !important;
    }
    
    .brand-logo-card {
        min-height: 80px !important;
    }
    
    .brand-logo-card img {
        max-height: 40px !important;
    }
}

/* About Info Card - Novo quadrado abaixo da imagem */
.about-info-card {
    margin-top: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
}

.card-stats {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.1);
}

.card-stats .stat-item {
    text-align: center;
    flex: 1;
}

.card-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.card-stats .stat-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
}

.info-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.info-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(10, 32, 199, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(10, 32, 199, 0.1);
    transform: translateY(-2px);
}

.highlight-item i {
    color: var(--primary);
    font-size: 1.25rem;
    width: 20px;
    text-align: center;
}

.highlight-item span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

.info-card-description {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

/* Responsive adjustments for info card */
@media (max-width: 768px) {
    .about-info-card {
        margin-top: 1.5rem;
        padding: 1.5rem;
    }
    
    .card-stats {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .card-stats .stat-number {
        font-size: 2rem;
    }
    
    .card-stats .stat-label {
        font-size: 0.8125rem;
    }
    
    .info-card-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .info-highlights {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .highlight-item {
        padding: 0.625rem;
    }
    
    .highlight-item i {
        font-size: 1rem;
    }
    
    .highlight-item span {
        font-size: 0.8125rem;
    }
    
    .info-card-description {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .about-info-card {
        margin-top: 1rem;
        padding: 1.25rem;
    }
    
    .card-stats {
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .card-stats .stat-number {
        font-size: 1.75rem;
    }
    
    .card-stats .stat-label {
        font-size: 0.75rem;
    }
    
    .info-card-title {
        font-size: 1.125rem;
    }
}