/* --- VARIÁVEIS E RESET --- */
:root {
    --primary: #2563eb;
    /* Azul Vibrante */
    --primary-dark: #1e40af;
    --secondary: #7c3aed;
    /* Violeta Moderno */
    --accent: #06b6d4;
    /* Ciano Tecnológico */
    --dark: #0f172a;
    /* Azul Noite (Quase preto) */
    --light: #f8fafc;
    --white: #ffffff;
    --text-gray: #64748b;
    --gradient-main: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-hover: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    --shadow-card: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.1;
}

/* --- UTILITÁRIOS --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-padding {
    padding: 100px 0;
}

/* --- BOTÕES --- */
.btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--gradient-main);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hover);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

.btn:hover::before {
    opacity: 1;
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: none;
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

/* --- HEADER --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    color: var(--dark);
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: #0f172a;
    overflow: hidden;
}

/* Imagem de fundo com overlay futurista */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1551076805-e1869033e561?q=80&w=2000&auto=format&fit=crop') center/cover no-repeat;
    opacity: 0.4;
    mix-blend-mode: luminosity;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #0f172a 0%, rgba(15, 23, 42, 0.8) 50%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(5px);
}

.hero h1 {
    color: var(--white);
    font-size: 4.5rem;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero h1 span {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: #cbd5e1;
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 600px;
}

/* --- CARDS DE SERVIÇOS (Glassmorphism) --- */
.services {
    background-color: var(--white);
    position: relative;
}

/* Elemento decorativo */
.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    top: -100px;
    right: -200px;
    z-index: 0;
    pointer-events: none;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    group: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: #eff6ff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s;
}

.service-card:hover .icon-box {
    background: var(--gradient-main);
}

.icon-box i {
    font-size: 1.8rem;
    color: var(--primary);
    transition: all 0.3s;
}

.service-card:hover .icon-box i {
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-card p {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 24px;
}

.link-arrow {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.service-card:hover .link-arrow {
    gap: 12px;
}

/* --- SOBRE (Dark Section) --- */
.about {
    background-color: var(--dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 24px;
    filter: brightness(0.9);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--secondary);
    border-radius: 24px;
    z-index: -1;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.about-content p {
    color: #94a3b8;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat h4 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 4px;
}

.stat span {
    color: #94a3b8;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- CONTATO & LOCALIZAÇÃO --- */
.contact {
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background: var(--white);
    border-radius: 32px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.contact-info {
    background: var(--dark);
    padding: 60px 40px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Efeito de fundo no painel de contato */
.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
}

.info-content {
    position: relative;
    z-index: 2;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
}

.contact-text h5 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--white);
}

.contact-text p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.5;
}

.map-container {
    height: 100%;
    min-height: 500px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- FOOTER --- */
footer {
    background: #020617;
    color: #94a3b8;
    padding: 80px 0 30px;
    font-size: 0.95rem;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 24px;
    font-family: 'Outfit', sans-serif;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #94a3b8;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 30px;
    text-align: center;
}

/* --- BOTÃO WHATSAPP --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 64px;
    height: 64px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 2000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        margin-bottom: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 400px;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 40px;
        gap: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        clip-path: circle(0% at 100% 0);
        transition: clip-path 0.5s ease-in-out;
    }

    .nav-links.active {
        clip-path: circle(150% at 100% 0);
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .contact-info {
        padding: 40px 24px;
    }
}