/* 1. IMPORTAÇÃO DE FONTES */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Orbitron:wght@400;700;900&display=swap');

/* 2. VARIÁVEIS GLOBAIS */
:root {
    --bg: #ffffff;
    --bg-soft: #f6f8fb;
    --card: #ffffff;
    --border: #e5e7eb;
    --text: #0f172a;
    --muted: #64748b;
    --accent: #2563eb;
    /* Azul principal */
    --accent-dim: #1d4ed8;
    --shadow: 0 12px 30px rgba(2, 6, 23, .08);
    --radius: 18px;
}

/* 3. RESET E BASE */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Inter, system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: 0.2s;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: min(1280px, calc(100% - 32px));
    /* px-4 em ambos os lados */
    margin-inline: auto;
    padding: 0 42px;
}

/* 4. TOP STRIP (Barra superior) */
.top-strip {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
}

.top-strip .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Força a separação entre texto e links */
    padding: 10px 0;
}

/* Correção para módulos do Joomla na Top Strip */
.top-strip .mod-custom {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.top-strip .mini-links a {
    color: var(--muted);
    margin-left: 12px;
}

/* 5. HEADER E NAVEGAÇÃO (Sticky) */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}


.nav .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Orbitron, sans-serif;
    font-weight: 900;
    color: var(--text);
    font-size: 18px;
    text-transform: uppercase;
}

.brand-badge {
    font-family: Inter, sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 999px;
    margin-left: 12px;
}

.nav-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

/* Ajuste para o Menu do Joomla */
.nav-links ul {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    border: none;
}



.nav-links a {
    color: var(--muted);
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--accent);
    text-decoration: underline;
}


/* 6. LAYOUT GRID E CARDS */
.main {
    padding: 28px 0 56px;
}

.grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 22px;
}

.img {

    width: 100%;
    height: auto;
    display: block;
}

.img-wrap {
    overflow: hidden;
    border-radius: calc(var(--radius) - 6px);
    border: 1px solid var(--border);
    background: #fff;
    margin: 0 12px;
}

.card-pad {
    display: block;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px;
}

.kicker {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}

@media (max-width: 1000px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card.pad {
    padding: 18px;
}

.card.soft {
    background: var(--bg-soft);
}

/* 7. TIPOGRAFIA DO CONTEÚDO */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Orbitron, sans-serif;
}

.h1 {

    font-weight: 900;
    font-size: clamp(28px, 4.1vw, 52px);
    line-height: 1.1;
    margin-bottom: 12px;
}

.sub {
    color: var(--muted);
    font-size: 16px;
    border-left: 3px solid var(--accent);
    padding-left: 14px;
    margin-bottom: 14px;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 11px;
    padding: 12px 16px;
    border-radius: 12px;
}

/** 8. SIDEBAR E FOOTER */
.sticky {
    position: sticky;
    top: 92px;
}

.footer {
    border-top: 1px solid var(--border);
    background: var(--bg-soft);
    padding: 26px 0;
    color: var(--muted);
    font-size: 12px;
}

.footer {
    border-top: 1px solid var(--border);
    background: var(--bg-soft);
    padding: 26px 0;
    color: var(--muted);
    font-size: 12px;
}

/* 9. RESPONSIVIDADE */
@media (max-width: 980px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .top-strip .inner,
    .nav .inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .nav-links ul {
        justify-content: center;
    }
}