/* ===================================
   Marcondes Engenharia - CSS Moderno
   Design Ultra Profissional e Atraente
   =================================== */

/* 1. Variáveis CSS Avançadas */
:root {
    /* Cores Primárias da Empresa */
    --primary-color: #014467;
    --primary-dark: #002c47;
    --primary-light: #e6f2f7;
    --secondary-color: #96989a;
    --accent-color: #014467;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --error-color: #EF4444;
    
    /* Cores de Texto */
    --text-dark: #0F172A;
    --text-gray: #475569;
    --text-light: #94A3B8;
    --text-white: #FFFFFF;
    
    /* Backgrounds */
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-gray: #F1F5F9;
    --bg-dark: #0F172A;
    --bg-darker: #020617;
    
    /* Bordas */
    --border-light: #E2E8F0;
    --border-gray: #CBD5E1;
    --border-dark: #475569;
    
    /* Sombras Modernas */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-primary: 0 20px 25px -5px rgba(1, 68, 103, 0.1), 0 8px 10px -6px rgba(1, 68, 103, 0.1);
    
    /* Gradientes Modernos */
    --gradient-primary: linear-gradient(135deg, #014467 0%, #96989a 100%);
    --gradient-secondary: linear-gradient(135deg, #96989a 0%, #014467 100%);
    --gradient-success: linear-gradient(135deg, #014467 0%, #10B981 100%);
    --gradient-warm: linear-gradient(135deg, #96989a 0%, #014467 100%);
    --gradient-cool: linear-gradient(135deg, #014467 0%, #96989a 100%);
    --gradient-dark: linear-gradient(135deg, #014467 0%, #002c47 100%);
    --gradient-glass: linear-gradient(135deg, rgba(1, 68, 103, 0.1) 0%, rgba(150, 152, 154, 0.05) 100%);
    
    /* Transições */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Bordas Radianas */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

/* 2. Reset Avançado */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 3. Typography Avançada */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    letter-spacing: -0.025em;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(20deg); }
}

/* 4. Top Header Moderno */
.top-header {
    background: var(--bg-darker);
    padding: 0.75rem 0;
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
}

.top-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: slide 3s infinite;
}

@keyframes slide {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.top-header .contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.top-header .contact-info span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.top-header .contact-info a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.top-header .contact-info a:hover {
    color: var(--accent-color);
    transform: translateY(-1px);
}

.top-header .contact-info i {
    color: var(--accent-color);
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    transition: var(--transition-bounce);
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* 5. Navbar Ultra Moderno */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 0;
    transition: var(--transition-normal);
    z-index: 1000;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
    display: flex;
    align-items: center;
    transition: var(--transition-normal);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
    margin: 0 0.25rem;
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
    background: var(--primary-light);
    transform: translateY(-2px);
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.1;
    transition: var(--transition-normal);
}

.navbar-nav .nav-link:hover::before {
    left: 0;
}

/* 6. Botões Ultra Modernos */
.btn {
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-xl);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-bounce);
    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: var(--transition-fast);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
    color: white;
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-white {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    color: var(--primary-color);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Botão com efeito pulse */
.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(1, 68, 103, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(1, 68, 103, 0); }
}

/* 7. Hero Section Épico */
.hero-section {
    background: var(--bg-darker);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 102, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 170, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 40% 40%, rgba(255, 107, 53, 0.1) 0%, transparent 20%);
    animation: float 20s ease-in-out infinite;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.min-vh-80 {
    min-height: 80vh;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(1, 68, 103, 0.15);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(1, 68, 103, 0.3);
    backdrop-filter: blur(10px);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 20px rgba(1, 68, 103, 0.3); }
    to { box-shadow: 0 0 30px rgba(1, 68, 103, 0.5); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 600px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 900;
    text-shadow: 0 0 20px rgba(1, 68, 103, 0.5);
}

.stat-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Garantir que os botões ficam lado a lado em telas maiores */
@media (min-width: 576px) {
    .hero-cta {
        flex-wrap: nowrap;
    }
    
    .hero-cta .btn {
        white-space: nowrap;
    }
}

/* Hero Image com Efeitos 3D */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
    perspective: 1000px;
}

.hero-shape-1,
.hero-shape-2,
.hero-shape-3 {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    z-index: 1;
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    animation: float 8s ease-in-out infinite;
    top: 10%;
    left: 10%;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    background: var(--gradient-secondary);
    animation: float 10s ease-in-out infinite reverse;
    bottom: 20%;
    right: 20%;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    background: var(--gradient-success);
    animation: float 6s ease-in-out infinite;
    top: 40%;
    right: 10%;
}

.hero-main-img {
    position: relative;
    max-width: 100%;
    height: auto;
    max-height: 500px;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5; /* Increased z-index to appear in front */
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-xl);
    animation: floatIcon 4s ease-in-out infinite;
    z-index: 10; /* Ensure they appear on top */
}

.floating-icon.icon-1 {
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.floating-icon.icon-2 {
    top: 25%;
    right: 20%;
    animation-delay: 1s;
}

.floating-icon.icon-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.1); }
}

/* 8. Sections Base Modernos */
.section-header {
    margin-bottom: 5rem;
    text-align: center;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.section-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition-slow);
}

.section-badge:hover::before {
    left: 100%;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* 9. Seção Clientes com Carrossel */
.clients-section {
    padding: 4rem 0;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.clients-section .section-header {
    margin-bottom: 3rem;
}

.clients-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 2rem 0;
}

.clients-track {
    display: flex;
    gap: 4rem;
    animation: slideLeftContinuous 30s linear infinite;
    will-change: transform;
}

.client-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    min-width: 200px;
    height: 120px;
}

.client-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.client-logo {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: var(--transition-normal);
}

.client-item:hover .client-logo {
    filter: grayscale(0%);
    transform: scale(1.05);
}

@keyframes slideLeftContinuous {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pausar animação ao hover */
.clients-carousel:hover .clients-track {
    animation-play-state: paused;
}

/* Responsivo para clientes */
@media (max-width: 768px) {
    .clients-track {
        gap: 2rem;
        animation-duration: 20s;
    }
    
    .client-item {
        min-width: 150px;
        height: 100px;
    }
    
    .client-logo {
        max-height: 60px;
    }
}

/* 10. Services Section Ultra Moderno */
.services-section {
    padding: 6rem 0;
    background: var(--bg-light);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(0, 102, 255, 0.02) 50%, transparent 51%);
}

.service-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 3rem 2rem;
    height: 100%;
    transition: var(--transition-normal);
    border: 1px solid var(--border-light);
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--service-bg-image, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: var(--transition-slow);
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-slow);
    z-index: 2;
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-card:hover::after {
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-color);
}

.service-card > * {
    position: relative;
    z-index: 3;
}

.service-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-lg);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: var(--shadow-2xl);
}

.service-icon i {
    font-size: 2.5rem;
    color: white;
}

.service-card h4 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.service-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-gray);
    justify-content: center;
}

.service-features i {
    color: var(--success-color);
    font-size: 0.8rem;
}

/* Definir imagens de fundo para cada serviço */
.service-card[data-service="PGR"] {
    --service-bg-image: url('IMG/PGR.png');
}

.service-card[data-service="LTCAT"] {
    --service-bg-image: url('IMG/LTCAT.png');
}

.service-card[data-service="Treinamentos"] {
    --service-bg-image: url('IMG/Treinamentos e Palestras.png');
}

.service-card[data-service="Medicoes"] {
    --service-bg-image: url('IMG/Medições e Laudos Técnicos.png');
}

.service-card[data-service="Coordenacao"] {
    --service-bg-image: url('IMG/Coordenação Técnica e Controle de Exames.png');
}

.service-card[data-service="AVCB"] {
    --service-bg-image: url('IMG/AVCB.png');
}

/* 11. About Section Moderno */
.about-section {
    padding: 6rem 0;
    background: white;
    position: relative;
}

.about-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
}

.about-shape {
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--gradient-primary);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.1;
    animation: morph 15s ease-in-out infinite;
}

@keyframes morph {
    0%, 100% { 
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(0deg);
    }
    25% { 
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
        transform: rotate(90deg);
    }
    50% { 
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
        transform: rotate(180deg);
    }
    75% { 
        border-radius: 25% 75% 42% 58% / 24% 54% 46% 76%;
        transform: rotate(270deg);
    }
}

.about-img {
    position: relative;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-2xl);
    z-index: 2;
    transition: var(--transition-normal);
}

.about-img:hover {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--gradient-secondary);
    color: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-xl);
    z-index: 3;
    animation: pulse 3s infinite;
}

.experience-badge .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
}

.about-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-element {
    position: absolute;
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: var(--shadow-lg);
    animation: floatElement 5s ease-in-out infinite;
}

.floating-element.element-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element.element-2 {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

@keyframes floatElement {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.about-content {
    padding-left: 3rem;
}

.about-features {
    margin: 3rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    transition: var(--transition-normal);
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 1.5rem;
}

.feature-item h5 {
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* 12. CTA Section Épico */
.cta-section {
    padding: 6rem 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: wave 20s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-image-wrapper {
    position: relative;
}

.cta-img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    border-radius: var(--radius-2xl);
    transition: var(--transition-normal);
}

.cta-img:hover {
    transform: scale(1.05) rotate(2deg);
}

.cta-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.decoration-1,
.decoration-2 {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    animation: float 8s ease-in-out infinite;
}

.decoration-1 {
    width: 100px;
    height: 100px;
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.decoration-2 {
    width: 60px;
    height: 60px;
    bottom: -10px;
    left: -10px;
    animation-delay: 3s;
}

/* 13. Contact Section Ultra Moderno */
.contact-section {
    padding: 6rem 0;
    background: var(--bg-white);
    position: relative;
}

.contact-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 4rem 3rem;
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--border-light);
    position: relative;
    pointer-events: auto;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.form-control,
.form-select {
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    font-size: 1rem;
    transition: var(--transition-normal);
    background: var(--bg-white);
    color: var(--text-dark);
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(1, 68, 103, 0.1);
    outline: none;
    transform: translateY(-2px);
}

.form-control.is-valid,
.form-select.is-valid {
    border-color: var(--success-color);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1);
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: var(--error-color);
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1);
}

.form-control:not(:disabled):not(:read-only),
.form-select:not(:disabled) {
    cursor: text;
}

.form-select {
    cursor: pointer;
}

/* Garantir que inputs sejam clicáveis */
input, select, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
    pointer-events: auto !important;
}

.focused {
    position: relative;
}

.focused::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-lg);
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 5rem;
}

.info-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.1;
    transition: var(--transition-normal);
}

.info-item:hover::before {
    left: 0;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    transition: var(--transition-bounce);
}

.info-item:hover .info-icon {
    transform: scale(1.1) rotate(10deg);
}

.info-item h5 {
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.info-item p,
.info-item a {
    color: var(--text-gray);
    text-decoration: none;
    position: relative;
    z-index: 1;
    transition: var(--transition-normal);
}

.info-item a:hover {
    color: var(--primary-color);
}

/* 14. Footer Ultra Moderno */
.footer {
    background: var(--bg-darker);
    color: white;
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-brand img {
    height: 50px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition-bounce);
}

.footer-social a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-xl);
}

.footer h5 {
    color: white;
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-normal);
    padding: 0.5rem 0;
    border-bottom: 1px solid transparent;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(10px);
    border-bottom-color: var(--accent-color);
}

.footer-divider {
    margin: 4rem 0 2rem;
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--text-light), transparent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-light);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-normal);
}

.footer-legal a:hover {
    color: var(--accent-color);
}

/* Seção desenvolvedor no footer */
.footer-developer {
    margin-top: 1rem;
}

.developer-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    text-decoration: none;
    transition: var(--transition-normal);
    padding: 1rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.developer-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.developer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-normal);
}

.developer-link:hover .developer-logo {
    transform: scale(1.05);
}

.developer-text {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.4;
    transition: var(--transition-normal);
}

.developer-link:hover .developer-text {
    color: white;
}

/* 15. WhatsApp Widget Ultra Moderno */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    cursor: pointer;
    box-shadow: var(--shadow-2xl);
    z-index: 999;
    transition: var(--transition-bounce);
    animation: bounce 2s infinite;
    border: none;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% { transform: translateY(0); }
    40%, 43% { transform: translateY(-15px); }
    70% { transform: translateY(-7px); }
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
    animation: none;
}

.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    background: var(--bg-dark);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition-normal);
    pointer-events: none;
    box-shadow: var(--shadow-lg);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-widget {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 350px;
    background: white;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    z-index: 998;
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-bounce);
    overflow: hidden;
}

.whatsapp-widget.show {
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
}

.whatsapp-header {
    background: #25D366;
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.whatsapp-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: slide 3s infinite;
}

.whatsapp-header i {
    font-size: 1.8rem;
}

.whatsapp-header h6 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.whatsapp-header p {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.9;
}

.whatsapp-close {
    margin-left: auto;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.whatsapp-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.whatsapp-body {
    padding: 2rem;
}

.whatsapp-message {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    margin-bottom: 1.5rem;
    position: relative;
}

.whatsapp-message::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--bg-light);
}

.whatsapp-message p {
    margin: 0 0 0.75rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.whatsapp-message p:last-child {
    margin: 0;
}

.whatsapp-action {
    width: 100%;
    background: #25D366;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.whatsapp-action:hover {
    background: #1FA855;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* 16. Back to Top Ultra Moderno */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-bounce);
    z-index: 997;
    box-shadow: var(--shadow-lg);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(1, 68, 103, 0.3);
}

/* 17. Animations Avançadas */
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.counter {
    transition: var(--transition-slow);
}

/* Service button hover effects */
.service-btn {
    transition: var(--transition-normal);
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* 18. Responsive Ultra Otimizado */
@media (max-width: 1200px) {
    .about-content {
        padding-left: 2rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 4rem;
    }
    
    .hero-stats {
        gap: 2rem;
        justify-content: center;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
    
    .feature-item {
        padding: 1.25rem;
    }
    
    .contact-card {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .top-header {
        text-align: center;
        padding: 1rem 0;
    }
    
    .top-header .col-md-6:first-child {
        margin-bottom: 1rem;
    }
    
    .top-header .contact-info {
        justify-content: center;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .top-header .contact-info span {
        font-size: 0.8rem;
    }
    
    .hero-section {
        padding: 4rem 0;
        min-height: 90vh;
    }
    
    .hero-image {
        margin-top: 4rem;
        height: 400px;
    }
    
    .hero-main-img {
        max-height: 350px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-cta {
        justify-content: center;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-cta .btn {
        flex: 0 0 auto;
        min-width: 140px;
    }
    
    .services-section,
    .about-section,
    .contact-section,
    .clients-section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }
    
    .service-card {
        padding: 2.5rem 1.5rem;
    }
    
    .about-img {
        margin-bottom: 3rem;
    }
    
    .cta-img {
        margin-top: 3rem;
        max-height: 300px;
    }
    
    .contact-card {
        padding: 2.5rem 1.5rem;
    }
    
    .footer-bottom {
        text-align: center;
        justify-content: center;
        flex-direction: column;
    }
    
    .developer-link {
        align-items: center;
        text-align: center;
    }
    
    .whatsapp-widget {
        width: 320px;
        right: 20px;
        bottom: 100px;
    }
    
    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 28px;
        bottom: 25px;
        right: 25px;
    }
    
    .back-to-top {
        bottom: 25px;
        left: 25px;
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1.25rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .service-card {
        padding: 2rem 1.25rem;
    }
    
    .contact-info-grid {
        gap: 1.5rem;
        grid-template-columns: 1fr;
    }
    
    .footer-legal {
        gap: 1rem;
        font-size: 0.9rem;
        flex-direction: column;
    }
    
    .whatsapp-widget {
        width: 300px;
        right: 15px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .developer-link {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .developer-logo {
        height: 35px;
    }
    
    .developer-text {
        font-size: 0.8rem;
    }
}

/* 19. Performance Optimizations */
.hero-shape-1,
.hero-shape-2,
.hero-shape-3,
.about-shape,
.floating-icon,
.floating-element {
    will-change: transform;
}

/* 20. Accessibility Melhorada */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 21. Scrollbar Personalizada */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* 22. Selection Colors */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}