:root {
    /* Color Palette - Premium Dark Theme */
    --primary: #050B14;
    /* Deepest Navy/Black */
    --primary-light: #0A1428;
    --secondary: #0070F3;
    /* Action Blue */
    --secondary-glow: rgba(0, 112, 243, 0.4);
    --accent: #00D1FF;
    /* Electric Cyan */
    --white: #FFFFFF;
    --text-main: #E5E7EB;
    /* Light Gray for readability on dark */
    --text-muted: #9CA3AF;
    --success: #22C55E;
    /* WhatsApp Green */
    --warning: #FACC15;
    /* High-Visibility Yellow */
    --danger: #EF4444;

    /* Spacing & Borders */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 40px;
    --shadow-glow: 0 0 30px var(--secondary-glow);

    /* Transitions */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default;
}

a,
button,
input,
.card {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

html {
    scroll-behavior: smooth;
    background-color: var(--primary);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--primary);
}

::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--white);
}

/* Interactive Background Elements */
.glow-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: var(--secondary-glow);
    filter: blur(150px);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 120px 0;
}

.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.5rem;
    border-radius: 100px;
    font-weight: 700;
    gap: 12px;
    transition: var(--transition-smooth);
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
    box-shadow: 0 10px 20px -10px var(--secondary);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px var(--secondary);
}

.btn-whatsapp {
    background: var(--success);
    color: var(--white);
    box-shadow: 0 10px 20px -10px var(--success);
}

.btn-whatsapp:hover {
    transform: scale(1.05);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Header */
header {
    background: rgba(5, 11, 20, 0.8);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-links li {
    display: flex;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 5px 15px;
    border-radius: 100px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a.active {
    background: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 20px var(--secondary-glow);
}

/* Page Headers (for sub-pages) */
.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Sticky Contact Bar (Mobile) */
.sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primary);
    padding: 12px 20px;
    z-index: 5000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Grid for Bairros/Regions */
.region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 3rem;
}

.region-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.region-item:hover {
    color: var(--white);
    background: rgba(0, 112, 243, 0.1);
    border-color: var(--secondary);
}

/* About Section Text */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .sticky-bar {
        display: grid;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .floating-wa-container {
        bottom: 85px;
    }

    /* Move up to not block bar */
}

.logo span b {
    color: var(--secondary);
    text-shadow: 0 0 15px var(--secondary);
}



/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    /* Alerta: Garante que o conteúdo não fique atrás do header fixo */
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 112, 243, 0.1) 0%, transparent 70%);
}

.hero-h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.95;
    margin-bottom: 2rem;
    background: linear-gradient(to bottom, #fff 40%, rgba(255, 255, 255, 0.5));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Why Us Section */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.check-item {
    display: flex;
    gap: 20px;
}

.check-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 112, 243, 0.1);
    border: 2px solid var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 5px;
}

.check-item h4 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}


/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.img-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.img-container img {
    width: 100%;
    display: block;
    transform: scale(1.01);
    transition: var(--transition-smooth);
}

.img-container:hover img {
    transform: scale(1.05);
}

.exp-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--secondary);
    color: var(--white);
    padding: 25px 35px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 112, 243, 0.4);
    z-index: 10;
}

.exp-badge h2 {
    font-size: 2.5rem;
    line-height: 1;
}

.exp-badge p {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* White CTA Section (Now Dark) */
.white-cta {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.white-cta h2 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.white-cta p {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}


.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--secondary);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6), 0 0 20px var(--secondary-glow);
}

.service-card i {
    color: var(--secondary);
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 0 10px var(--secondary-glow));
}

.service-link {
    background: rgba(0, 112, 243, 0.1);
    color: var(--secondary);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 112, 243, 0.2);
}

.service-link:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateX(5px);
    box-shadow: 0 10px 20px -5px var(--secondary-glow);
}

/* WhatsApp Floating */
.floating-wa-container {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 15px;
}

.floating-wa-text {
    background: white;
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    animation: slide-in 0.5s ease-out 2s backwards;
    position: relative;
    white-space: nowrap;
}

.floating-wa-text::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent white;
}

@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.floating-wa {
    width: 70px;
    height: 70px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(34, 197, 94, 0.4);
    animation: wa-pulse 3s infinite;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 25px rgba(34, 197, 94, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 5000;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(5, 11, 20, 0.98);
    backdrop-filter: blur(20px);
    z-index: 4000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-overlay.active {
    right: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-h1 {
        font-size: 4rem;
    }

    .services-grid,
    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .why-us-grid {
        gap: 40px;
    }

    .img-container {
        order: -1;
        /* Image first on mobile */
    }

    .exp-badge {
        right: 0;
        bottom: 20px;
        padding: 15px 25px;
    }

    .exp-badge h2 {
        font-size: 1.8rem;
    }

    .white-cta h2,
    .section-padding h2 {
        font-size: 2.5rem !important;
    }

    .mobile-menu-overlay {
        background: rgba(5, 11, 20, 0.95);
        backdrop-filter: blur(15px);
        justify-content: flex-start;
        padding-top: 100px;
    }

    .mobile-nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.5s ease;
    }

    .mobile-menu-overlay.active .mobile-nav-links li {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu-overlay.active .mobile-nav-links li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .mobile-menu-overlay.active .mobile-nav-links li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .mobile-menu-overlay.active .mobile-nav-links li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .mobile-menu-overlay.active .mobile-nav-links li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .floating-wa-container {
        bottom: 20px;
        right: 20px;
    }

    .floating-wa {
        width: 60px;
        height: 60px;
    }
}
}