:root {
    --primary: #2563eb;
    --primary-alt: #3b82f6;
    --secondary: #f97316;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-white: #ffffff;
    --bg-mesh: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    --card-glow: rgba(37, 99, 235, 0.1);
}

.color-primary { color: var(--primary) !important; }
.color-secondary { color: var(--secondary) !important; }

html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    background-image: 
        radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(249, 115, 22, 0.03) 0px, transparent 50%);
    line-height: 1.6;
}

h1, h2, h3, .navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
}

/* Background patterns */
.grid-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px), 
                      linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

.circuit-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url('../img/circuit-pattern.png');
    background-size: 800px;
    background-repeat: repeat;
    opacity: 0.04;
    z-index: -2;
    pointer-events: none;
    filter: grayscale(1);
}

/* Mesh Background Elements */
.mesh-glow {
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--primary-alt), transparent 70%);
    filter: blur(100px);
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
    animation: floating 10s infinite alternate ease-in-out;
}

.glow-wrapper {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

@keyframes floating {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 100px) scale(1.2); }
}

/* Navbar - Ultra Sleek */
.navbar {
    padding: 0.5rem 0;
    min-height: 95px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.navbar.shadow-sm {
    padding: 0.5rem 0;
    min-height: 75px;
    background: rgba(255, 255, 255, 0.9);
}

.navbar-brand img {
    height: 80px !important;
    width: auto !important;
    max-height: 80px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.shadow-sm .navbar-brand img {
    height: 65px !important;
    max-height: 65px !important;
}

.nav-link {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem !important;
    letter-spacing: 1px;
    margin: 0 15px;
    color: var(--text-main) !important;
    opacity: 0.7;
    transition: all 0.3s;
}

.nav-link:hover, .nav-link.active {
    opacity: 1;
    color: var(--primary) !important;
}

/* Hero Section - High Impact */
.hero {
    position: relative;
    padding: 70px 0 80px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('../img/banner.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero h1 {
    font-size: 5.2rem;
    line-height: 1;
    margin-bottom: 25px;
    letter-spacing: -3px;
    color: #000;
}

.hero h1 span.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 900px;
    margin: 0 auto 50px;
    font-weight: 500;
}

/* Global Section Spacing */
section {
    padding: 100px 0;
}

/* CTA Buttons - Premium */
.btn-cta {
    background: #000;
    color: #fff;
    padding: 22px 50px;
    font-weight: 800;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.4s;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.btn-cta:hover {
    transform: scale(1.05);
    background: var(--primary);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.3);
}

.btn-outline-custom {
    padding: 22px 50px;
    font-weight: 800;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: 2px solid #000;
    color: #000;
    background: transparent;
}

.btn-outline-custom:hover {
    background: #000;
    color: #fff;
}

/* Stats Section - Dynamic Cards */
.stats {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.stat-card {
    height: 100%;
    background: white;
    padding: 50px 40px;
    border-radius: 30px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0,0,0,0.03);
    text-align: center;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.stat-card h3 {
    font-size: 3.5rem;
    margin-bottom: 0;
    background: linear-gradient(135deg, #000, #444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card p {
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

/* Service Tiles - Modern Glass */
.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 60px 40px;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 150%; height: 150%;
    background: radial-gradient(circle, var(--card-glow), transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-20px);
    border-color: var(--primary);
    box-shadow: 0 40px 80px rgba(0,0,0,0.1);
}

.service-card:hover::after { transform: translate(-50%, -50%) scale(1); }

.service-icon {
    font-size: 3rem;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card h3 { 
    font-size: 1.6rem; 
    margin-bottom: 15px; 
    font-weight: 800;
}

.service-card p { 
    color: var(--text-muted); 
    font-size: 1rem; 
    line-height: 1.7; 
}

/* Custom Section Header */
.section-title {
    margin-bottom: 60px;
    text-align: center;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: #000;
}

.section-title p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-title.text-start p {
    margin: 0;
}

.divider {
    height: 6px;
    width: 60px;
    background: #000;
    margin: 0 auto;
    border-radius: 50px;
}

.section-title.text-start .divider {
    margin: 0;
}

/* Pricing Cards - Ultra Clean */
.price-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    margin-bottom: 15px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.price-card:hover {
    transform: translateX(10px);
    border-color: var(--primary);
    box-shadow: 10px 10px 30px rgba(0,0,0,0.05);
}

.price-info h5 {
    margin-bottom: 5px;
    font-weight: 800;
    font-size: 1.2rem;
}

.price-info p {
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.price-value {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary);
}

/* Rating Box - Tech Style */
.rating-box {
    transition: all 0.3s;
    border: 3px solid transparent;
}

.rating-box:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
}

/* Custom Dividers */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
    margin: 80px 0;
}

/* Contact & Footer - Professional Dark Accent */
.contact-card {
    background: #000;
    color: #fff;
    border-radius: 40px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-card h3 { font-size: 2.2rem; margin-bottom: 15px; }
.contact-card p { opacity: 0.7; font-size: 1rem; margin-bottom: 30px; max-width: 400px; }

.contact-map {
    width: 100%;
    margin-bottom: 30px;
    filter: grayscale(0.2) contrast(1.1);
}
.contact-map iframe { display: block; }

.btn-whatsapp, .btn-location {
    background: #fff;
    color: #000;
    padding: 12px 25px;
    border-radius: 100px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
    font-size: 0.9rem;
}

.btn-whatsapp:hover {
    background: #25D366; /* WhatsApp Green */
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.btn-location:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.contact-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

footer {
    background: #fff;
    padding: 120px 0 60px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-logo {
    height: 70px;
    width: auto;
    margin-bottom: 25px;
}

.footer-link {
    color: var(--text-muted);
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 12px;
    display: block;
    transition: color 0.3s;
}

.footer-link:hover { color: #000; }

.benefit-icon-wrapper {
    min-width: 60px;
    height: 60px;
    background: #000;
    color: #fff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s;
}

.benefit-item:hover .benefit-icon-wrapper {
    background: var(--primary);
    transform: scale(1.1);
}

.about-img-wrapper {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    width: 100%;
}

.about-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary), transparent);
    opacity: 0.2;
    z-index: 1;
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-img-wrapper:hover .about-img {
    transform: scale(1.08);
}

/* Mobile Optimizations */
@media (max-width: 991px) {
    section { padding: 60px 0; }
    .hero h1 { font-size: 3.2rem; letter-spacing: -2px; }
    .hero { 
        padding: 90px 0 60px; 
        background-attachment: scroll;
    }
    .hero p { font-size: 1.1rem; margin-bottom: 35px; }
    .stat-card { margin-bottom: 20px; padding: 40px 30px; }
    .stat-card h3 { font-size: 2.8rem; }
    .navbar-brand img { height: 60px; }
    .navbar { padding: 0.8rem 0; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.8rem; }
    .section-title h2 { font-size: 2.2rem; }
    .contact-card { padding: 40px 20px; }
}

@media (max-width: 576px) {
    .hero h1 { font-size: 2.2rem; letter-spacing: -1px; }
    .hero { padding: 60px 0 40px; }
    .hero .badge { margin-bottom: 1.5rem !important; }
    .btn-cta, .btn-outline-custom { 
        width: 100%; 
        justify-content: center; 
        padding: 16px 25px;
        font-size: 0.95rem;
    }
    .stats { margin-top: -30px; }
    .service-card { padding: 35px 25px; }
}

/* Advanced LGPD Cookie Banner */
.lgpd-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: 95%;
    max-width: 1100px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(0, 102, 255, 0.2);
    color: #fff;
    padding: 30px 40px;
    border-radius: 30px;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.lgpd-banner.show {
    transform: translateX(-50%) translateY(0);
}

.lgpd-content {
    flex: 1;
}

.lgpd-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.85;
}

.lgpd-content a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

.lgpd-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-lgpd {
    padding: 12px 25px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Manage Button - Outline */
.btn-lgpd-manage {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}
.btn-lgpd-manage:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Reject Button - Subtle */
.btn-lgpd-reject {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    color: #bbb;
}
.btn-lgpd-reject:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Accept Button - Solid */
.btn-lgpd-accept {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: #fff;
}
.btn-lgpd-accept:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.4);
}

/* Close icon */
.lgpd-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: color 0.3s;
}
.lgpd-close:hover {
    color: #fff;
}

@media (max-width: 991px) {
    .lgpd-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px 50px;
        bottom: 20px;
        gap: 25px;
    }
    .lgpd-actions {
        width: 100%;
        flex-direction: column;
    }
    .btn-lgpd {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar {
        min-height: 80px !important;
        height: auto !important;
    }
    .navbar .container {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }
    .navbar-collapse {
        background: white;
        margin-top: 15px;
        padding: 20px;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .nav-link {
        margin: 10px 0 !important;
        padding: 10px !important;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .navbar-brand img {
        height: 45px !important;
        max-height: 45px !important;
    }
    .navbar.shadow-sm .navbar-brand img {
        height: 40px !important;
        max-height: 40px !important;
    }
}
