:root {
    --bg: #0f172a;
    --surface: #111827;
    --card: #131c32;
    --muted: #94a3b8;
    --text: #e2e8f0;
    --accent: #f6a524;
    --accent-2: #234d9c;
    --outline: rgba(255,255,255,0.08);
    --radius: 16px;
    --shadow: 0 20px 60px rgba(0,0,0,0.35);
    --max-width: 1100px;
    font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.hero {
    position: relative;
    min-height: 80vh;
    padding: 120px 24px 120px;
    background: radial-gradient(circle at 20% 20%, rgba(246,165,36,0.08), transparent 40%),
                radial-gradient(circle at 80% 0%, rgba(35,77,156,0.15), transparent 45%),
                linear-gradient(135deg, #0c1224 0%, #0c1832 100%);
    overflow: hidden;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/Arba Solutions logo aprovado branco 2.png") no-repeat 75% 65%;
    background-size: min(34vw, 520px);
    opacity: 0.06;
    pointer-events: none;
    filter: drop-shadow(0 12px 30px rgba(0,0,0,0.35));
}
.hero__overlay {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 60% 60%, rgba(255,255,255,0.04), transparent 55%);
    pointer-events: none;
}
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    background: rgba(12, 18, 36, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--outline);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: 0.5px; }
.brand__logo { width: 56px; height: 56px; object-fit: contain; }
.brand__name { color: var(--text); }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 100; }
.hamburger span { display: block; width: 28px; height: 3px; background: var(--text); margin: 5px 0; transition: all 0.3s ease; border-radius: 3px; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

.nav-links { display: flex; align-items: center; gap: 12px; }
.nav-links a { padding: 10px 14px; border-radius: 12px; transition: background 0.2s ease; color: var(--muted); }
.nav-links a:hover { background: var(--outline); color: var(--text); }

.hero__content { max-width: var(--max-width); margin: 80px auto 0; position: relative; z-index: 2; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-weight: 600; font-size: 12px; color: var(--accent); margin-bottom: 8px; }
.hero h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.1; margin-bottom: 16px; }
.lede { max-width: 620px; color: var(--muted); margin-bottom: 24px; }
.hero__actions { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 14px; background: var(--accent); color: #0b1220; font-weight: 700; border: 1px solid transparent; box-shadow: 0 12px 30px rgba(246,165,36,0.25); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(246,165,36,0.35); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--outline); box-shadow: none; }
.btn--ghost:hover { border-color: rgba(255,255,255,0.2); }

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; background: rgba(255,255,255,0.06); border-radius: 999px; color: var(--muted); font-size: 14px; backdrop-filter: blur(10px); border: 1px solid var(--outline); }
.pill .dot { width: 10px; height: 10px; background: var(--accent); border-radius: 50%; display: inline-block; }

.section { padding: 80px 24px; background: #0c1224; }
.section--alt { background: #0d1428; }
.section__header { max-width: var(--max-width); margin: 0 auto 32px; text-align: left; }
.section__header h2 { font-size: 32px; margin-bottom: 8px; }
.section__header p { color: var(--muted); }

.grid { max-width: var(--max-width); margin: 0 auto; display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card { background: var(--card); border: 1px solid var(--outline); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 12px; }
.card ul { list-style: disc inside; color: var(--muted); display: grid; gap: 8px; }
.card--line { border-image: linear-gradient(90deg, var(--accent), var(--accent-2)) 1; }
.tag { display: inline-flex; background: rgba(246,165,36,0.15); color: var(--accent); padding: 6px 10px; border-radius: 12px; font-size: 13px; font-weight: 600; }
.card-link { display: inline-block; margin-top: 12px; padding: 8px 12px; background: transparent; border: 1px solid var(--accent); color: var(--accent); border-radius: 8px; font-weight: 600; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; font-size: 14px; }
.card-link:hover { background: rgba(246,165,36,0.1); color: var(--accent); }

.pricing { max-width: var(--max-width); margin: 0 auto; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }
.pricing__box { background: var(--card); border: 1px solid var(--outline); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.pricing__box ul { color: var(--muted); display: grid; gap: 10px; }
.pricing__calc { background: linear-gradient(135deg, rgba(246,165,36,0.08), rgba(35,77,156,0.12)); border: 1px solid var(--outline); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.pricing__calc label { display: block; margin-bottom: 8px; color: var(--muted); }
.pricing__calc input[type=range] { width: 100%; }
.calc__output { display: grid; gap: 8px; margin-top: 12px; }
.calc__output strong { color: var(--accent); }
.small { font-size: 13px; color: var(--muted); margin-top: 10px; }

.tabs { max-width: var(--max-width); margin: 32px auto 0; display: grid; gap: 16px; }
.tab-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.tab-button { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--outline); background: #0c1224; color: var(--muted); font-weight: 600; text-align: left; transition: border 0.2s ease, background 0.2s ease, color 0.2s ease; cursor: pointer; }
.tab-button.is-active { border-color: rgba(246,165,36,0.5); background: rgba(246,165,36,0.08); color: var(--text); box-shadow: 0 10px 28px rgba(246,165,36,0.12); }
.tab-panels { background: var(--card); border: 1px solid var(--outline); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.tab-panel { display: none; gap: 12px; }
.tab-panel.is-active { display: grid; }
.tab-panel[hidden] { display: none !important; }
.tab-kicker { color: var(--accent); font-weight: 700; letter-spacing: 0.5px; }
.tab-what { color: var(--muted); }
.tab-panel ul { list-style: disc inside; color: var(--muted); display: grid; gap: 6px; margin-left: 4px; }
.tab-panel h4 { margin-top: 8px; }
.tab-result { display: flex; flex-wrap: wrap; gap: 8px 12px; color: var(--text); font-weight: 700; }
.tab-model { color: var(--muted); font-weight: 600; }

.form { max-width: 680px; margin: 0 auto; display: grid; gap: 16px; background: var(--card); padding: 24px; border-radius: var(--radius); border: 1px solid var(--outline); box-shadow: var(--shadow); }
.form__row { display: grid; gap: 6px; }
.form label { font-weight: 600; }
.form input, .form select, .form textarea { padding: 12px; border-radius: 12px; border: 1px solid var(--outline); background: #0c1224; color: var(--text); font-size: 15px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid rgba(246,165,36,0.35); }
.form button { width: fit-content; }

.detail-tabs { max-width: var(--max-width); margin: 0 auto; }
.detail-tab-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 20px; }
.detail-tab-btn { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--outline); background: transparent; color: var(--muted); font-weight: 600; cursor: pointer; transition: all 0.2s ease; }
.detail-tab-btn:hover { border-color: rgba(246,165,36,0.5); }
.detail-tab-btn.is-active { border-color: var(--accent); background: rgba(246,165,36,0.08); color: var(--text); }
.detail-tab-content { background: var(--card); border: 1px solid var(--outline); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.detail-panel { display: none; }
.detail-panel.is-active { display: grid; gap: 16px; }
.detail-panel h3 { font-size: 26px; }
.detail-intro { color: var(--accent); font-weight: 700; letter-spacing: 0.5px; font-size: 14px; }
.detail-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.detail-grid h4 { margin-bottom: 8px; font-size: 16px; }
.detail-grid ul { list-style: disc inside; color: var(--muted); display: grid; gap: 6px; margin-left: 4px; }
.detail-grid p { color: var(--muted); }
.detail-results { display: flex; flex-direction: column; gap: 8px; color: var(--text); font-weight: 600; }
.detail-model { color: var(--muted); margin-top: 12px; font-weight: 500; border-top: 1px solid var(--outline); padding-top: 12px; }

.alert { padding: 12px 14px; border-radius: 12px; margin-top: 16px; font-weight: 600; }
.alert--success { background: rgba(34,197,94,0.12); color: #bbf7d0; border: 1px solid rgba(34,197,94,0.4); }
.alert--error { background: rgba(248,113,113,0.12); color: #fecdd3; border: 1px solid rgba(248,113,113,0.4); }

.whatsapp-link { color: #25d366; font-weight: 600; transition: opacity 0.3s; display: inline-flex; align-items: center; gap: 8px; }
.whatsapp-link:hover { opacity: 0.8; }
.whatsapp-icon { display: inline-block; }

.footer { padding: 40px 24px; background: #0a0f1e; border-top: 1px solid var(--outline); display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.footer__brand { display: flex; align-items: center; gap: 12px; min-width: 260px; }
.footer__brand img { width: 48px; height: 48px; object-fit: contain; }
.footer__cols { display: flex; gap: 40px; color: var(--muted); flex-wrap: wrap; }
.footer h4 { margin-bottom: 8px; color: var(--text); }
.footer ul { list-style: none; display: grid; gap: 6px; }

@media (max-width: 768px) {
    .hamburger { display: block; }
    
    .nav-links {
        position: fixed;
        top: 72px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 72px);
        background: var(--surface);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 24px;
        box-shadow: -4px 0 20px rgba(0,0,0,0.5);
        transition: right 0.3s ease;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        padding: 14px 16px;
        border-radius: 8px;
        margin-bottom: 8px;
        text-align: left;
        font-size: 1.05rem;
    }
    
    .nav-links .btn {
        margin-top: 12px;
        justify-content: center;
    }
    
    .hero__content { margin-top: 60px; }
    .hero { padding-bottom: 80px; }
}

/* Alertas */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    font-size: 0.95rem;
    border-left: 4px solid;
    background-color: rgba(255,255,255,0.05);
}

.alert--success {
    border-left-color: #10b981;
    background-color: rgba(16,185,129,0.1);
    color: #6ee7b7;
}

.alert--success strong {
    color: #10b981;
    display: block;
    margin-bottom: 4px;
}

.alert--success small {
    display: block;
    font-size: 0.85rem;
    color: #d1fae5;
    margin-top: 4px;
}

.alert--error {
    border-left-color: #ef4444;
    background-color: rgba(239,68,68,0.1);
    color: #fca5a5;
}

/* FAQ Section */
.faq-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--outline);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    border-color: rgba(246,165,36,0.3);
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text);
    font-weight: 600;
}

.faq-item p {
    color: var(--muted);
    line-height: 1.6;
}

.faq-cta {
    max-width: 600px;
    margin: 40px auto 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(246,165,36,0.08), rgba(35,77,156,0.12));
    border: 1px solid var(--outline);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.faq-cta h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text);
}

.faq-cta p {
    color: var(--muted);
    margin-bottom: 20px;
}

/* Articles Page */
.articles-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.article-card {
    background: var(--card);
    border: 1px solid var(--outline);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(0,0,0,0.4);
    border-color: rgba(246,165,36,0.3);
}

.article-tag {
    display: inline-flex;
    width: fit-content;
    background: rgba(246,165,36,0.15);
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-card h3 {
    font-size: 20px;
    color: var(--text);
    line-height: 1.3;
}

.article-card p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 15px;
}

.article-meta {
    display: flex;
    gap: 16px;
    color: var(--muted);
    font-size: 14px;
    padding-top: 8px;
    border-top: 1px solid var(--outline);
}

.topics-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.topic-card {
    background: var(--card);
    border: 1px solid var(--outline);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.topic-card h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--text);
}

.topic-card ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.topic-card li {
    color: var(--muted);
    padding-left: 20px;
    position: relative;
}

.topic-card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.newsletter-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: var(--card);
    border: 1px solid var(--outline);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.newsletter-box p {
    color: var(--muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

