/* ── Mega Menu (Soluções) ── shared across landing pages */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
    display: inline-flex; align-items: center; gap: 6px;
    background: none; border: none; cursor: pointer;
    color: var(--text-secondary, #a0a0b8); font-family: inherit;
    font-size: 0.9rem; font-weight: 500; padding: 0;
    transition: color 0.2s; position: relative;
}
.nav-dropdown-toggle:hover { color: var(--text-primary, #fff); }
.nav-dropdown-toggle::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0;
    height: 2px; background: var(--accent, #0ea5e9); transition: width 0.3s;
}
.nav-dropdown-toggle:hover::after,
.nav-dropdown.open .nav-dropdown-toggle::after { width: 100%; }
.nav-dropdown-toggle .chev {
    display: inline-block; transition: transform 0.2s;
    width: 10px; height: 10px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}
.nav-dropdown.open .nav-dropdown-toggle .chev {
    transform: rotate(-135deg) translateY(-2px);
}
.mega-menu {
    position: fixed; top: 72px;
    left: 16px; right: 16px; margin: 0 auto;
    max-width: 1240px;
    transform: translateY(-8px);
    background: rgba(8, 8, 16, 0.96);
    backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
    border: 1px solid var(--border-subtle, rgba(255,255,255,0.08));
    border-radius: 20px; padding: 24px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(14,165,233,0.04);
    opacity: 0; pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 1002;
}
.nav-dropdown.open .mega-menu {
    opacity: 1; pointer-events: auto;
    transform: translateY(0);
}
.mega-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 12px;
    align-items: start;
}
.mega-grid > div { display: flex; flex-direction: column; }
.mega-category-title {
    font-size: 0.68rem; font-weight: 700;
    color: rgba(160, 160, 184, 0.7);
    text-transform: uppercase; letter-spacing: 0.1em;
    margin: 8px 12px 10px; display: flex; align-items: center; gap: 6px;
    min-height: 18px;
}
.mega-category-title a, .mega-category-title span { line-height: 1; }
.mega-category-title .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent, #0ea5e9); display: inline-block;
}
.mega-item {
    display: block; padding: 10px 12px; border-radius: 10px;
    color: var(--text-secondary, #a0a0b8); text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.mega-item:hover { background: rgba(14,165,233,0.07); transform: translateX(2px); }
.mega-item::after { display: none !important; }
.mega-item-name {
    display: flex; align-items: center; gap: 8px;
    font-weight: 600; font-size: 0.9rem;
    color: var(--text-primary, #fff); margin-bottom: 3px;
    min-height: 22px; line-height: 1.2;
}
.mega-item-desc {
    font-size: 0.76rem; line-height: 1.45;
    color: rgba(160, 160, 184, 0.85);
}
.mega-badge {
    display: inline-block; font-size: 0.58rem; font-weight: 700;
    padding: 2px 6px; border-radius: 4px;
    background: rgba(34,197,94,0.15); color: #4ade80;
    text-transform: uppercase; letter-spacing: 0.06em;
    margin-left: 6px; vertical-align: middle;
}
.mega-badge.ext { background: rgba(14,165,233,0.15); color: #38bdf8; }
.mega-badge.beta { background: rgba(168,85,247,0.18); color: #c084fc; }
.mega-featured {
    grid-column: 1 / -1;
    display: flex; gap: 12px; align-items: center;
    justify-content: space-between;
    padding: 14px 16px; margin-top: 12px;
    background: linear-gradient(135deg, rgba(14,165,233,0.08), rgba(168,85,247,0.06));
    border: 1px solid rgba(14,165,233,0.15);
    border-radius: 12px;
}
.mega-featured-text { font-size: 0.82rem; color: var(--text-secondary, #a0a0b8); }
.mega-featured-text strong { color: var(--text-primary, #fff); }
.mega-featured-link {
    font-size: 0.82rem; font-weight: 600; color: var(--accent, #0ea5e9);
    text-decoration: none; white-space: nowrap;
}
.mega-featured-link:hover { text-decoration: underline; }
.mega-badge.ai {
    background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(236,72,153,0.2));
    color: #d8b4fe;
}
@media (max-width: 1280px) {
    .mega-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .mega-grid { grid-template-columns: 1fr; }
    .mega-menu { padding: 18px; }
}
