/* ========================================
   VARIÁVEIS E PALETA DE CORES 2026
   ======================================== */
:root {
    /* Cores Principais */
    --primary: #0052cc;
    --primary-light: #0066ff;
    --primary-dark: #003d99;
    --primary-50: #f0f5ff;
    
    /* Cores Secundárias */
    --secondary: #00d4ff;
    --secondary-light: #33e0ff;
    --secondary-dark: #00b0d4;
    
    /* Neutros */
    --white: #ffffff;
    --dark: #1a1a2e;
    --gray-900: #1f2937;
    --gray-800: #2d3748;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    
    /* Acentos */
    --accent-green: #10b981;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-orange: #f59e0b;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Espaçamento */
    --spacing-unit: 1rem;
}

/* ========================================
   RESET E ESTILOS GLOBAIS
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    color: var(--gray-900);
    background-color: var(--white);
    line-height: 1.6;
    letter-spacing: 0.5px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-light);
}

/* ========================================
   HEADER - NAVEGAÇÃO PREMIUM
   ======================================== */
.navbar-premium {
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.logo-navbar {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-navbar:hover {
    transform: scale(1.05);
}

.nav-premium {
    font-weight: 500;
    color: var(--gray-700) !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-premium::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-premium:hover {
    color: var(--primary) !important;
}

.nav-premium:hover::after {
    width: 100%;
}

.btn-contact-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white) !important;
    border-radius: 8px;
    padding: 8px 24px !important;
    font-weight: 600;
}

.btn-contact-header:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-banner {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    overflow: hidden;
    min-height: 100vh;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(51, 224, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 50%;
    animation: float-reverse 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-block;
    background: rgba(51, 224, 255, 0.2);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(51, 224, 255, 0.3);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.hero-buttons .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.hero-buttons .btn-outline-primary {
    color: var(--white);
    border: 2px solid var(--white);
    background: transparent;
}

.hero-buttons .btn-outline-primary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

.hero-image {
    font-size: 200px;
    color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.section-about {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
}

.about-image {
    position: relative;
}

.logo-about {
    max-width: 300px;
    width: 100%;
    filter: drop-shadow(0 10px 30px rgba(0, 82, 204, 0.15));
    animation: float 6s ease-in-out infinite;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.about-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    text-align: center;
}

.about-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary-50);
    border-radius: 12px;
    margin-left: auto;
    margin-right: auto;
}

.about-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.about-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    background: var(--primary-50);
}

.value-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.value-card h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.value-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.section-services {
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
    position: relative;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-50), var(--secondary));
    background: var(--primary-50);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.service-card h5 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   PARTNERS SECTION
   ======================================== */
.section-partners {
    background: var(--white);
}

.partner-card {
    background: var(--white);
    padding: 2rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.05), rgba(51, 224, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.partner-card:hover::before {
    opacity: 1;
}

.partner-card img {
    max-width: 100%;
    max-height: 100px;
    filter: grayscale(30%);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.partner-card:hover img {
    filter: grayscale(0%) drop-shadow(0 4px 8px rgba(0, 82, 204, 0.2));
    transform: scale(1.05);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.section-contact {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.section-contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(51, 224, 255, 0.1);
    border-radius: 50%;
}

.section-contact::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 50%;
}

.contact-info {
    position: relative;
    z-index: 2;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary);
    min-width: 30px;
}

.contact-item h6 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.contact-item a {
    color: var(--white);
}

.contact-item a:hover {
    color: var(--secondary);
}

.contact-form {
    position: relative;
    z-index: 2;
}

.contact-form .form-label {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--gray-900);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.contact-form .form-control:focus {
    background: var(--white);
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(51, 224, 255, 0.1);
    color: var(--gray-900);
}

.contact-form .form-control::placeholder {
    color: var(--gray-500);
}

.text-white-70 {
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   FOOTER
   ======================================== */
.footer-premium {
    background: linear-gradient(180deg, var(--gray-900) 0%, var(--dark) 100%);
    color: var(--gray-300);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-700);
}

.footer-section {}

.footer-title {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-text {
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* ========================================
   SEÇÕES - TÍTULOS E SUBTÍTULOS
   ======================================== */
.section-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-contact .section-title {
    color: var(--white);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    font-weight: 500;
    margin-bottom: 3rem;
}

.section-contact .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.section-text {
    color: var(--gray-700);
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .about-cards {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .contact-form .form-control-lg {
        padding: 0.75rem;
        font-size: 1rem;
    }

    .section-about,
    .section-services,
    .section-partners,
    .section-contact {
        padding: 3rem 0 !important;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .logo-navbar {
        height: 40px;
    }

    .nav-premium {
        font-size: 0.95rem;
    }

    .partner-card {
        min-height: 120px;
        padding: 1.5rem 1rem;
    }

    .partner-card img {
        max-height: 80px;
    }

    .contact-item {
        gap: 1rem;
    }

    .section-about,
    .section-services,
    .section-partners,
    .section-contact {
        padding: 2rem 0 !important;
    }
}

/* ========================================
   ANIMAÇÕES
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-visible {
    animation: fadeInUp 0.6s ease-out;
}

/* ========================================
   UTILITÁRIOS
   ======================================== */
.py-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-lg-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (max-width: 992px) {
    .py-lg-6 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* ========================================
   OVERRIDE BOOTSTRAP
   ======================================== */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 82, 204, 0.25);
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

/* Scrollbar customizado */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}