/* Estilos compartilhados - Soluções e páginas secundárias */
:root {
    --bg-dark: #0a0e14;
    --bg-card: #141922;
    --accent: #00d4aa;
    --accent-hover: #00f5c4;
    --text: #e6edf3;
    --text-muted: #8b949e;
    --border: #21262d;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
}

.top-bar {
    background: #fff;
    padding: 0.5rem 0 0;
}

.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.5rem;
}

.top-bar-links { display: flex; align-items: flex-end; gap: 0.5rem; }
.top-bar-buttons { display: flex; align-items: center; gap: 0.5rem; }

.top-bar a {
    color: #4b5563;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 8px 8px 0 0;
    transition: background 0.2s, color 0.2s;
}

.top-bar a:hover { color: #111; }

.top-bar a.ativo {
    background: #0d1117;
    color: #fff;
    font-weight: 500;
}

.top-bar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.25s ease;
    letter-spacing: 0.02em;
}
.top-bar-btn.webmail {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}
.top-bar-btn.webmail:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
    transform: translateY(-1px);
}
.top-bar-btn.area-cliente {
    background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
    color: #0d1117;
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.35);
}
.top-bar-btn.area-cliente:hover {
    background: linear-gradient(135deg, #00f5c4 0%, #00d4aa 100%);
    box-shadow: 0 4px 14px rgba(0, 212, 170, 0.45);
    transform: translateY(-1px);
}
@media (max-width: 768px) {
    .top-bar-inner { flex-wrap: wrap; }
    .top-bar-buttons { order: -1; width: 100%; justify-content: flex-end; margin-bottom: 0.25rem; }
}

.nav-main {
    background: #0d1117;
    padding: 0.75rem 0;
}

.nav-main-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.85rem;
}

.nav-logo { width: 270px; height: 80px; object-fit: contain; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    list-style: none;
    flex: 1;
    justify-content: flex-end;
    white-space: nowrap;
}

.nav-menu > li { position: relative; }
.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.84rem;
    padding: 0.45rem 0.5rem;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-menu a:hover { color: var(--accent); }
.nav-dropdown .nav-arrow { transition: transform 0.2s; }
.nav-dropdown:hover .nav-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: #161b22;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    z-index: 1000;
}
.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-dropdown-menu li { list-style: none; }
.nav-dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text);
    white-space: nowrap;
    border-radius: 0;
}
.nav-dropdown-menu a:hover {
    background: rgba(0, 212, 170, 0.1);
    color: var(--accent);
}
.nav-dropdown-menu .dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.25rem 0;
}
.nav-dropdown-menu.nav-dropdown-sistemas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    min-width: 720px;
    max-width: min(900px, calc(100vw - 2rem));
    padding: 0.75rem 0.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    border-radius: 12px;
}
.nav-dropdown:hover .nav-dropdown-menu.nav-dropdown-sistemas {
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu.nav-dropdown-sistemas li {
    margin: 0;
}
.nav-dropdown-menu.nav-dropdown-sistemas a {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    white-space: normal;
    line-height: 1.3;
    border-radius: 6px;
    margin: 0.15rem;
}
.nav-dropdown-menu.nav-dropdown-sistemas a:hover {
    background: rgba(0, 212, 170, 0.12);
}
@media (max-width: 1320px) {
    .nav-main-inner { padding: 0 1rem; }
    .nav-logo {
        width: 238px;
        height: 70px;
    }
    .nav-menu a {
        font-size: 0.8rem;
        padding: 0.42rem 0.4rem;
    }
}
@media (max-width: 1024px) {
    .nav-dropdown-menu.nav-dropdown-sistemas {
        grid-template-columns: repeat(3, 1fr);
        min-width: 540px;
    }
}
@media (max-width: 768px) {
    .nav-main-inner {
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-dropdown-menu.nav-dropdown-sistemas {
        grid-template-columns: repeat(2, 1fr);
        min-width: 320px;
        max-width: 90vw;
    }
}

/* Soluções Section */
.solucoes-section {
    background: linear-gradient(180deg, #0d1117 0%, #161b22 100%);
    padding: 4rem 2rem;
}

.solucoes-inner { max-width: 1200px; margin: 0 auto; }

.solucoes-planos h3 {
    color: #fff;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

.solucoes-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 3rem;
    max-width: 1100px;
    margin: 0 auto 4rem;
}

@media (max-width: 900px) {
    .solucoes-features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .solucoes-features { grid-template-columns: 1fr; }
}

.solucoes-features .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.solucoes-features .feature-item .check-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: #3fb950;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.2rem;
}

.solucoes-features .feature-item .check-icon svg {
    color: #fff;
    width: 14px;
    height: 14px;
}

.solucoes-features .feature-item .feature-content h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.solucoes-features .feature-item .feature-content p {
    color: #8b949e;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.solucoes-otimizado {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 0;
}

.solucoes-otimizado.branco {
    background: #fff;
    padding: 4rem 3rem;
    margin: 0 -2rem 0;
}

.solucoes-otimizado.inverso {
    margin-bottom: 4rem;
}

@media (max-width: 900px) {
    .solucoes-otimizado { grid-template-columns: 1fr; }
}

.solucoes-otimizado.inverso .solucoes-text { order: 1; }
.solucoes-otimizado.inverso .solucoes-device { order: 2; }

.solucoes-text h4 { color: #fff; font-size: 1.25rem; margin-bottom: 0.75rem; }
.solucoes-otimizado.branco .solucoes-text h4 { color: #1f2937; font-size: 1.5rem; }
.solucoes-text p { color: #8b949e; font-size: 1rem; line-height: 1.6; }
.solucoes-otimizado.branco .solucoes-text p { color: #6b7280; font-size: 1.05rem; }

.solucoes-device {
    position: relative;
    display: flex;
    justify-content: center;
}

.solucoes-laptop {
    background: #21262d;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    max-width: 360px;
}

.solucoes-otimizado.branco .solucoes-laptop {
    background: #d1d5db;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.solucoes-otimizado.branco .solucoes-clique { color: #9ca3af; }

.solucoes-laptop-screen {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    min-height: 220px;
}

.solucoes-laptop-hero {
    height: 120px;
    background: linear-gradient(180deg, #60a5fa 0%, #93c5fd 50%, #bfdbfe 100%);
}

.solucoes-laptop-header {
    background: #f6f8fa;
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: #24292f;
    font-size: 0.9rem;
}

.solucoes-laptop-content { padding: 1rem; }

.solucoes-laptop-img {
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, #eaeef2 0%, #d0d7de 100%);
}

.solucoes-phone {
    background: #21262d;
    border-radius: 24px;
    padding: 0.75rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    max-width: 200px;
}

.solucoes-phone-screen {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    min-height: 320px;
}

.solucoes-phone-header {
    background: #f6f8fa;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    color: #57606a;
}

.solucoes-phone-content { padding: 0.75rem; }
.solucoes-phone-content .logo { font-weight: 700; color: #24292f; font-size: 0.85rem; margin-bottom: 0.5rem; }
.solucoes-phone-content .section { font-size: 0.7rem; color: #57606a; margin-top: 0.5rem; }

.solucoes-clique {
    text-align: center;
    margin-top: 0.75rem;
    color: #8b949e;
    font-size: 0.85rem;
}

.solucoes-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #3fb950;
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    font-family: inherit;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.solucoes-btn:hover { background: #46c35a; }

/* Footer */
.footer {
    background: #0d1117;
    border-top: 1px solid var(--border);
    margin-top: 4rem;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 900px) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .footer-top { grid-template-columns: 1fr; } }

.footer-col h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: #e6edf3; text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }

.footer-badge {
    display: inline-block;
    background: #238636;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.35rem;
}

.footer-mid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    border-top: 1px solid var(--border);
}

.footer-redes h4 { color: #fff; font-size: 0.9rem; margin-bottom: 0.75rem; }
.footer-redes-icons { display: flex; gap: 0.5rem; }
.footer-redes a {
    width: 40px; height: 40px;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    transition: transform 0.2s;
}
.footer-redes a:hover { transform: scale(1.05); }
.footer-redes .fb { background: #1877f2; }
.footer-redes .yt { background: #ff0000; }
.footer-redes .ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

.footer-brasil {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #e6edf3;
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer-pagamentos h4 { color: #fff; font-size: 0.9rem; margin-bottom: 0.75rem; }
.footer-pagamentos-icons { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.footer-pagamentos span {
    background: #21262d;
    color: #8b949e;
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border);
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    margin-bottom: 1rem;
}

.footer-legal a { color: #e6edf3; text-decoration: none; font-size: 0.9rem; }
.footer-legal a:hover { color: var(--accent); }
.footer-legal span.sep { color: #8b949e; font-size: 0.9rem; }
.footer-copy { text-align: center; color: #8b949e; font-size: 0.85rem; }

/* WhatsApp flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    text-decoration: none;
    animation: whatsapp-pisca 1.5s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg { width: 32px; height: 32px; }

@keyframes whatsapp-pisca {
    0%, 100% { opacity: 1; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 0 rgba(37, 211, 102, 0.4); }
    50% { opacity: 1; box-shadow: 0 4px 30px rgba(37, 211, 102, 1), 0 0 0 15px rgba(37, 211, 102, 0); }
}
