/* Global Header */
.direto-global-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
    padding: 1.5rem 0;
}

/* Scroll Effect applied via JS */
.direto-global-header.scrolled {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
}

.direto-global-header nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.direto-global-header .logo img {
    height: 40px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

.direto-global-header .menu {
    display: flex;
    gap: 2rem;
}

.direto-global-header .menu a {
    font-weight: 400;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color 0.2s;
    text-decoration: none !important;
}

.direto-global-header .menu li {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.direto-global-header .menu li.active a,
.direto-global-header .menu li.active > a {
    color: var(--text-primary);
    border-bottom: none !important;
    box-shadow: none !important;
}

.direto-global-header .menu li.active::after,
.direto-global-header .menu li.active a::after {
    display: none !important;
}

.direto-global-header .menu a:hover {
    color: var(--text-primary);
}

.direto-global-header .actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Global Footer */
.direto-global-footer {
    background: var(--bg-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

#main-content {
    padding-top: 100px;
    min-height: calc(100vh - 300px);
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: block;
        margin-left: 1rem;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .direto-global-header nav {
        flex-wrap: wrap;
    }
    
    .direto-global-header .menu {
        display: none;
        width: 100%;
        order: 4;
    }
    
    .direto-global-header.mobile-open .menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(12px);
        padding: 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    /* Make Área do Cliente smaller on very small screens if needed */
    .btn-area-cliente {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
}
/* Global Footer - Premium Dark Green Design */
.direto-global-footer {
    background-color: #020a06;
    background-image: 
        radial-gradient(ellipse at center top, rgba(0, 230, 118, 0.05) 0%, transparent 70%),
        repeating-linear-gradient(to right, rgba(0, 230, 118, 0.03) 0px, transparent 1px, transparent 20px),
        repeating-linear-gradient(to bottom, rgba(0, 230, 118, 0.03) 0px, transparent 1px, transparent 20px);
    border-top: 1px solid rgba(0, 230, 118, 0.1);
    padding: 5rem 2rem 2rem;
    margin-top: 4rem;
    font-family: var(--font-base);
    color: #94a3b8;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

/* Col 1: Brand */
.footer-brand .footer-logo img {
    height: 45px;
    margin-bottom: 1.5rem;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #94a3b8;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s;
}

.footer-socials a:hover {
    border-color: #00E676;
    color: #00E676;
    background: rgba(0, 230, 118, 0.05);
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 230, 118, 0.03);
    border: 1px solid rgba(0, 230, 118, 0.1);
    padding: 1rem;
    border-radius: 8px;
    width: fit-content;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #00E676;
    border-radius: 50%;
    box-shadow: 0 0 10px #00E676;
}

.footer-status div {
    display: flex;
    flex-direction: column;
}

.footer-status strong {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-status span {
    color: #00E676;
    font-size: 0.8rem;
}

/* Col 2, 3, 4: Links */
.footer-links h4, .footer-contact h4 {
    color: #00E676;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
}

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

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    color: #f8fafc;
    font-size: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.footer-links ul li a span {
    color: #00E676;
    font-size: 0.8rem;
    opacity: 0.5;
    transition: opacity 0.3s, transform 0.3s;
}

.footer-links ul li a:hover {
    color: #00E676;
}

.footer-links ul li a:hover span {
    opacity: 1;
    transform: translateX(3px);
}

/* Col 5: Contact */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    color: #00E676;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.footer-contact .contact-item span:last-child {
    color: #f8fafc;
    font-size: 0.75rem;
}

.contact-item a, .contact-item div > span:last-child {
    color: #00E676;
    font-weight: 500;
    font-size: 0.75rem;
}

.footer-security-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 230, 118, 0.05);
    border: 1px solid rgba(0, 230, 118, 0.2);
    padding: 1.2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.footer-security-box i {
    color: #00E676;
    font-size: 2rem;
}

.footer-security-box p {
    color: #f8fafc;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

/* Bottom Bar */
.footer-bottom {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #64748b;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.footer-badges span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
}

.footer-badges i {
    color: #00E676;
}

.footer-made-with i {
    color: #00E676;
}

/* Responsive */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-brand {
        grid-column: span 3;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .footer-badges {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer-brand {
        grid-column: span 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-socials {
        justify-content: center;
    }
    .footer-contact {
        display: none;
    }
}
