:root {
    --bg-dark: #0b1120;
    --bg-card-dark: #1e293b;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --cyan: #06b6d4;
    --whatsapp: #22c55e;
    --whatsapp-hover: #16a34a;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
}

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

body {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
}

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

/* Topbar */
.topbar {
    background-color: #060a14;
    color: #94a3b8;
    font-size: 0.82rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.topbar i {
    color: var(--cyan);
    margin-right: 5px;
}

/* Header */
.header {
    background-color: rgba(11, 17, 32, 0.96);
    backdrop-filter: blur(10px);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
    flex-shrink: 0;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.logo h1 {
    font-size: 1.18rem;
    font-weight: 800;
    margin: 0;
    white-space: nowrap;
    letter-spacing: -0.3px;
}

.logo small {
    display: block;
    font-size: 0.72rem;
    color: #38bdf8;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-menu a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #38bdf8;
}

.btn-whats-header {
    background-color: var(--whatsapp);
    color: var(--white) !important;
    padding: 9px 16px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
    transition: transform 0.2s, background 0.2s;
}

.btn-whats-header:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: radial-gradient(circle at top right, #1e3a8a 0%, #0b1120 65%);
    color: var(--white);
    padding: 75px 0 85px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.4);
    color: #67e8f9;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero h2 {
    font-size: 2.55rem;
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.05rem;
    color: #cbd5e1;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #1d4ed8);
    color: var(--white);
    padding: 14px 26px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
    transition: transform 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-outline-light {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.22);
    color: var(--white);
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: background 0.2s;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
}

.hero-features-card {
    background: rgba(30, 41, 59, 0.75);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 28px;
    backdrop-filter: blur(8px);
}

.hero-features-card h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: #38bdf8;
}

.hero-feature-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.hero-feature-item i {
    color: var(--whatsapp);
    font-size: 1.15rem;
    margin-top: 3px;
}

.hero-feature-item strong {
    display: block;
    font-size: 0.92rem;
}

.hero-feature-item span {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Sections */
.section {
    padding: 75px 0;
}

.bg-white {
    background-color: var(--white);
}

.bg-dark-sec {
    background-color: var(--bg-dark);
    color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.section-tag {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary);
    background: #dbeafe;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.05rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.4px;
}

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

/* Vitrine de Licenças (Carro-Chefe) */
.grid-produtos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 25px;
}

.card-produto {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: all 0.25s ease;
}

.card-produto:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
}

.badge-destaque {
    position: absolute;
    top: -13px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    color: var(--white);
    font-size: 0.74rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.prod-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.prod-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #eff6ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    flex-shrink: 0;
}

.prod-img-custom {
    width: 100%;
    height: 150px;
    object-fit: contain;
    background: #f8fafc;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 14px;
}

.prod-title-box h3 {
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.3;
}

.prod-title-box span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.prod-price-box {
    background: #f8fafc;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 18px;
    border-left: 4px solid var(--primary);
}

.preco-antigo {
    font-size: 0.82rem;
    color: #94a3b8;
    text-decoration: line-through;
    display: block;
}

.preco-atual {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
}

.prod-benefits {
    list-style: none;
    margin-bottom: 24px;
}

.prod-benefits li {
    font-size: 0.88rem;
    color: #334155;
    margin-bottom: 9px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.prod-benefits li i {
    color: var(--whatsapp);
    margin-top: 4px;
    font-size: 0.85rem;
}

.btn-comprar-whats {
    background-color: var(--whatsapp);
    color: var(--white);
    text-decoration: none;
    padding: 13px 18px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, transform 0.2s;
}

.btn-comprar-whats:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-2px);
}

/* Cards de Serviços com Resumo Expansível (Sem precisar sair da página) */
.grid-servicos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 26px;
}

.card-servico {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.serv-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0369a1;
    background: #e0f2fe;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 14px;
    width: fit-content;
}

.serv-icon {
    width: 54px;
    height: 54px;
    background: var(--bg-dark);
    color: #38bdf8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.card-servico h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.serv-resumo {
    font-size: 0.93rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.serv-detalhes-box {
    display: none;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px;
    font-size: 0.86rem;
    color: #334155;
    margin-bottom: 18px;
    line-height: 1.65;
}

.serv-detalhes-box.open {
    display: block;
}

.serv-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.btn-detalhes-serv {
    background: #f1f5f9;
    color: var(--text-main);
    border: 1px solid #cbd5e1;
    padding: 9px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

.btn-orcamento-serv {
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    padding: 9px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Quem Somos */
.quem-somos-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 45px;
    align-items: center;
}

.quem-somos-img img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* Página de Downloads */
.grid-downloads {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 22px;
}

.card-download {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.card-download:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.dl-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.dl-badge {
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.dl-host {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.card-download h3 {
    font-size: 1.12rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.card-download p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.btn-dl-externo {
    background: var(--bg-dark);
    color: var(--white);
    text-decoration: none;
    padding: 11px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}

.btn-dl-externo:hover {
    background: var(--primary);
}

/* Rodapé com Cadeado Discreto */
.footer {
    background: #060a14;
    color: #94a3b8;
    padding: 55px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer h3, .footer h4 {
    color: var(--white);
    margin-bottom: 12px;
}

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

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

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #38bdf8;
}

.footer-bottom {
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
}

.cadeado-discreto {
    color: #334155;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.cadeado-discreto:hover {
    color: #64748b;
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background: var(--whatsapp);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
    z-index: 999;
    text-decoration: none;
}

@media (max-width: 980px) {
    .topbar-right { display: none; }
    .menu-toggle { display: block; }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        padding: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .nav-menu.active { display: flex; }
    .hero-grid, .quem-somos-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero h2 { font-size: 1.95rem; }
}