/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-color: #0a0a0a; /* DNSLink dark */
    --surface-color: rgba(38, 38, 38, 0.6); /* DNSLink surface */
    --primary-color: #a3e635; /* DNSLink green */
    --primary-hover: #84cc16; /* DNSLink darker green for hover */
    --accent-color: #a3e635; /* DNSLink green */
    --text-main: #ECEFF4;
    --text-muted: #94A3B8;
    --border-color: rgba(255, 255, 255, 0.05);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.relative { position: relative; }
.z-10 { z-index: 10; }
.text-green { color: var(--accent-color); }

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    font-weight: 800;
}

.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.accent-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, #f8fafc 0%, #a3e635 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px auto;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 30px 0; /* Aumentado de 20px */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding: 15px 0; /* Aumentado de 10px */
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

.logo-img {
    height: 85px; /* De 55px para 85px */
    width: auto;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 12px rgba(163, 230, 53, 0.3));
}

.navbar.scrolled .logo-img {
    height: 65px;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.desktop-menu a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.desktop-menu a:hover {
    color: var(--primary-color);
}

.desktop-menu .btn-primary {
    color: #fff;
    margin-left: 30px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: #0a0a0a;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(163, 230, 53, 0.2);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(163, 230, 53, 0.4);
    color: #0a0a0a;
}

.btn-primary.large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: 30px;
    padding: 16px 24px;
    border: 1px solid rgba(163, 230, 53, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    white-space: nowrap;
}

.btn-outline:hover {
    background: rgba(163, 230, 53, 0.15);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(163, 230, 53, 0.15);
}

/* Certifications Section */
.certifications-section {
    padding: 60px 0;
    background: #f8fafc; /* Light background as in the user's reference */
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.cert-badge {
    display: inline-block;
    background: rgba(0, 0, 0, 0.05);
    color: #64748b;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
}

.cert-grid img {
    max-width: 100px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
}

.cert-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-image: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.75) 0%, rgba(10, 10, 10, 1) 100%);
    z-index: 1;
}

.badge {
    display: inline-block;
    background: rgba(163, 230, 53, 0.1);
    color: var(--accent-color);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid rgba(163, 230, 53, 0.2);
    letter-spacing: 0.5px;
}

/* Glass & Cards */
.glass {
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

.glass-panel {
    background: linear-gradient(180deg, rgba(38,38,38,0.8) 0%, rgba(10,10,10,0.8) 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
}
.p-5 { padding: 60px; }

/* Bento Grid (Modern Soluções) */
.solutions-section {
    padding: 120px 0;
    position: relative;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 24px;
    margin-top: 60px;
}

.bento-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-large {
    grid-column: span 2;
    grid-row: span 2;
}

.card-medium {
    grid-column: span 1;
    grid-row: span 2;
}

.card-small {
    grid-column: span 1;
    grid-row: span 1;
    justify-content: center; /* Centraliza conteúdo nos cards sem imagem de fundo */
}

/* Background Image & Overlay */
.card-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform 0.8s ease;
}

.bento-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.4) 50%, rgba(10, 10, 10, 0) 100%);
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 40px;
}

.card-large .card-content { padding: 50px; }

.badge-mini {
    display: inline-block;
    background: rgba(163, 230, 53, 0.1);
    color: var(--accent-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    margin-bottom: 20px;
    border: 1px solid rgba(163, 230, 53, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.bento-card h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    font-weight: 800;
}

.card-large h3 { font-size: 2.4rem; }

.bento-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 90%;
}

.card-features {
    list-style: none;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.card-features li {
    font-size: 0.9rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-features li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
}

.text-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.text-link:hover { padding-left: 5px; }

/* Bento Hover Effects */
.bento-card:hover {
    transform: translateY(-8px);
    border-color: rgba(163, 230, 53, 0.5);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 20px rgba(163, 230, 53, 0.1);
}

.bento-card:hover .card-image-bg {
    transform: scale(1.08);
}

/* Infraestrutura Ultra Pro Max (Dashboard Style) */
/* Infraestrutura Ultra Pro Max (Dashboard Style) */
.infra-bento-section {
    padding: 100px 0;
    background: #060606;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(163, 230, 53, 0.08) 0%, transparent 60%),
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 100% 100%, 50px 50px, 50px 50px;
    position: relative;
    overflow: hidden;
}

.badge-tech {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(15, 23, 42, 0.6);
    padding: 10px 25px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--accent-color);
    border: 1px solid rgba(163, 230, 53, 0.2);
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.live-indicator {
    color: rgba(255,255,255,0.5);
    font-size: 0.65rem;
}

.dot-pulse {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-color);
    animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

.infra-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 155px; 
    gap: 12px;
    margin-top: 25px;
}

/* Explicit Grid Rules */
.ib-card.ib-hero { grid-column: 1 / 3; grid-row: 1; }
.ib-card.vertical { grid-column: 3; grid-row: 1 / 3; }
.ib-card:nth-child(3) { grid-column: 1; grid-row: 2; }
.ib-card:nth-child(4) { grid-column: 2; grid-row: 2; }
.ib-card:nth-child(5) { grid-column: 1 / 3; grid-row: 3; }
.ib-card:nth-child(6) { grid-column: 3; grid-row: 3; }

.ib-card {
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.ib-card.ib-hero { 
    grid-column: 1 / 3; 
    grid-row: 1; 
    background: rgba(163, 230, 53, 0.08) !important;
    border: 1px solid rgba(163, 230, 53, 0.25) !important;
    min-height: 155px;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 5;
    backdrop-filter: blur(20px);
}

/* Glow Effects */
.blue-glow { background: rgba(59, 130, 246, 0.2) !important; box-shadow: 0 0 15px rgba(59, 130, 246, 0.4); }
.green-glow { background: rgba(163, 230, 53, 0.2) !important; box-shadow: 0 0 15px rgba(163, 230, 53, 0.4); }
.red-glow { background: rgba(239, 68, 68, 0.2) !important; box-shadow: 0 0 15px rgba(239, 68, 68, 0.4); }
.cyan-glow { background: rgba(6, 182, 212, 0.2) !important; box-shadow: 0 0 15px rgba(6, 182, 212, 0.4); }
.orange-glow { background: rgba(249, 115, 22, 0.2) !important; box-shadow: 0 0 15px rgba(249, 115, 22, 0.4); }

.glass-pro {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(20px);
}

.glass-pro:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(163, 230, 53, 0.2) !important;
}

.ib-content {
    padding: 20px; 
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    opacity: 1;
    z-index: 10;
}

.ib-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.ib-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.ib-tag {
    font-size: 0.5rem;
    font-weight: 900;
    color: rgba(255,255,255,0.3);
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.ib-tag.technical {
    background: rgba(163, 230, 53, 0.12);
    color: var(--accent-color);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(163, 230, 53, 0.2);
}

.ib-card h3 {
    font-size: 1.05rem;
    margin-bottom: 2px;
    color: #fff;
    font-weight: 700;
    font-family: 'Outfit';
}

.ib-card p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
    margin-top: 4px;
}

/* Metric Display & Sparklines */
.ib-metric-box {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.metric .label {
    display: block;
    font-size: 0.55rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 2px;
}

.metric .value {
    font-family: 'Outfit';
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
}

.sparkline-container {
    flex: 1;
    height: 20px;
}

.anim-line {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: draw-spark 4s ease-out infinite;
}

@keyframes draw-spark {
    0% { stroke-dashoffset: 500; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -500; }
}

/* Vertical Card Styles */
.ib-list {
    list-style: none;
    margin: 25px 0;
}

.ib-list li {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ib-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
}

.ib-footer-metric {
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
}

/* NOC Card & Radar */
.row-flex {
    flex-direction: row !important;
    align-items: center;
    gap: 40px;
}

.ib-text { flex: 1; }

.ib-visual {
    width: 120px;
    display: flex;
    justify-content: center;
}

.radar-box { position: relative; width: 80px; height: 80px; }

.radar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(rgba(163, 230, 53, 0.2) 0%, transparent 70%);
    border: 1px solid rgba(163, 230, 53, 0.3);
    position: relative;
    animation: radar-pulse 3s infinite linear;
}

.radar::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    transform-origin: left center;
    animation: radar-sweep 3s infinite linear;
}

@keyframes radar-pulse {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.1; }
    100% { transform: scale(1); opacity: 0.3; }
}

@keyframes radar-sweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.radar-text {
    position: absolute;
    bottom: -15px;
    width: 100%;
    text-align: center;
    font-size: 0.5rem;
    font-weight: 900;
    color: var(--accent-color);
}

/* Hover States Pro */
.ib-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(163, 230, 53, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.ib-card:hover .ib-icon-box {
    transform: rotate(5deg) scale(1.1);
}

/* Responsive Infrastructure Bento */
@media (max-width: 1024px) {
    .infra-bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }
    .ib-card.hero, .ib-card.vertical, .ib-card[style*="column: span 2"] {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .infra-bento-grid { grid-template-columns: 1fr; }
    .ib-card { grid-column: span 1 !important; grid-row: span 1 !important; }
    .row-flex { flex-direction: column !important; text-align: center; }
    .ib-visual { margin-top: 30px; }
}

/* Features */
.features-section {
    padding: 140px 0;
    background: linear-gradient(0deg, rgba(163, 230, 53, 0.02) 0%, transparent 100%);
    border-top: 1px solid rgba(255,255,255,0.02);
}

.relative { position: relative; }

.floating-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    z-index: 5;
}

.flex-row {
    display: flex;
    align-items: center;
    gap: 80px;
}

.flex-half {
    flex: 1;
}

.features-section h2 {
    font-size: 3rem;
    line-height: 1.2;
}

.feature-list {
    list-style: none;
    margin-top: 40px;
}

.feature-list li {
    margin-bottom: 20px;
    padding-left: 35px;
    position: relative;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.feature-list li strong {
    color: var(--text-main);
    font-family: var(--font-heading);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    background: rgba(163, 230, 53, 0.1);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
}

/* Graphic Animation */
.tech-graphic {
    padding: 60px 40px;
    display: inline-block;
    position: relative;
    width: 100%;
    max-width: 400px;
}

.pulse-ring {
    width: 140px;
    height: 140px;
    background: rgba(163, 230, 53, 0.05);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    margin: 40px auto;
    position: relative;
    animation: pulse 2.5s infinite cubic-bezier(0.45, 0, 0.55, 1);
}

.status-up {
    color: var(--accent-color);
    font-family: var(--font-heading);
    letter-spacing: 3px;
    font-weight: 800;
    font-size: 1.2rem;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(163, 230, 53, 0.5);
    }
    70% {
        box-shadow: 0 0 0 40px rgba(163, 230, 53, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(163, 230, 53, 0);
    }
}

.pulse-btn {
    animation: btn-pulse 2.5s infinite;
}

@keyframes btn-pulse {
    0% { box-shadow: 0 0 0 0 rgba(163, 230, 53, 0.4); }
    70% { box-shadow: 0 0 0 25px rgba(163, 230, 53, 0); }
    100% { box-shadow: 0 0 0 0 rgba(163, 230, 53, 0); }
}

/* Footer Section */
.footer {
    padding: 80px 0 40px 0;
    border-top: 1px solid var(--border-color);
    background: rgba(10, 10, 10, 0.95);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand img {
    margin-bottom: 25px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #475569;
    font-size: 0.85rem;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

body.menu-open {
    overflow: hidden;
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Hamburguer to X Animation */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.desktop-menu {
    display: flex;
    align-items: center;
}

/* Responsive */
html, body {
    overflow-x: hidden;
    width: 100%;
}

@media (max-width: 1024px) {
    .container { padding: 0 20px !important; }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
    }

    .bento-grid {
        grid-template-columns: 1fr 1fr !important;
        grid-auto-rows: auto !important;
    }
    
    .bento-card.card-large, 
    .bento-card.card-medium, 
    .bento-card.card-small {
        grid-column: span 2 !important;
        grid-row: auto !important;
    }

    .accent-title {
        font-size: 3rem !important;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex !important;
    }

    .navbar {
        position: fixed !important;
        padding: 20px 0 !important;
        background: rgba(10, 10, 10, 0.95) !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .nav-content {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    /* Sidebar Menu */
    .desktop-menu {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 280px !important;
        height: 100vh !important;
        background: #0d0d0d !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 30px !important;
        padding: 40px !important;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        z-index: 100 !important;
        border-left: 1px solid rgba(163, 230, 53, 0.1) !important;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5) !important;
    }

    .desktop-menu.active {
        right: 0 !important;
    }

    .desktop-menu a {
        margin: 0 !important;
        width: 100% !important;
        text-align: left !important;
        font-size: 1.2rem !important;
        opacity: 0;
        transform: translateX(20px);
        transition: 0.3s 0.2s ease;
    }

    .desktop-menu.active a {
        opacity: 1;
        transform: translateX(0);
    }

    .accent-title {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
    }

    .subtitle {
        font-size: 1rem !important;
        padding: 0 10px !important;
    }

    .hero {
        padding: 140px 0 60px 0 !important;
        min-height: auto !important;
    }

    /* Soluções Bento Grid Reset */
    .bento-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .bento-card {
        grid-column: span 1 !important;
        grid-row: auto !important;
        min-height: auto !important;
    }

    .card-content {
        padding: 24px !important;
    }

    .card-large h3 { font-size: 1.8rem !important; }
    
    .card-features {
        grid-template-columns: 1fr !important;
    }

    /* Infra Bento Grid Reset */
    .infra-bento-grid {
        grid-template-columns: 1fr !important;
        grid-auto-rows: auto !important;
        gap: 15px !important;
    }
    
    .ib-card {
        grid-column: span 1 !important;
        grid-row: auto !important;
        min-height: 180px !important;
    }
    
    .row-flex {
        flex-direction: column !important;
        padding: 40px 20px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
}

@media (max-width: 480px) {
    .accent-title {
        font-size: 1.9rem !important;
    }
    
    .logo-img {
        height: 55px !important;
    }

    .btn-primary.large {
        width: 100% !important;
        padding: 15px !important;
    }
}
