/* =====================================================================
   Alpha GX — Folha de estilo principal
   Organização:
   1. Tokens / reset
   2. Tipografia
   3. Layout / utilitários
   4. Botões
   5. Cabeçalho / navegação
   6. Rodapé
   7. Componentes (cards, listas, formulários, breadcrumb...)
   8. Seções específicas (hero, home, produto, blog, legal)
   9. Responsivo
===================================================================== */

/* 1. TOKENS ---------------------------------------------------------- */
:root {
    --blue-700: #143a9e;
    --blue-600: #1c4fd0;
    --blue-500: #2f63e6;
    --blue-50:  #eef3fd;
    --navy-900: #0e1b2e;
    --navy-800: #142339;
    --navy-700: #1d3050;

    --ink:        #1b2432;
    --ink-soft:   #384253;
    --muted:      #5c6775;
    --muted-soft: #8a94a3;
    --line:       #e4e7ec;
    --line-soft:  #eef0f3;
    --surface:    #f6f8fb;
    --surface-2:  #f0f3f8;
    --white:      #ffffff;

    --success: #1c7c4a;
    --success-bg: #e8f5ee;
    --danger:  #b5342a;
    --danger-bg: #fbecea;
    --warning-bg: #fdf3e3;

    --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

    --container: 1180px;
    --radius-sm: 8px;
    --radius:    12px;
    --radius-lg: 18px;

    --shadow-xs: 0 1px 2px rgba(14, 27, 46, .06);
    --shadow-sm: 0 1px 2px rgba(14, 27, 46, .05), 0 2px 6px rgba(14, 27, 46, .06);
    --shadow-md: 0 6px 16px rgba(14, 27, 46, .08), 0 2px 4px rgba(14, 27, 46, .05);
    --shadow-lg: 0 18px 45px rgba(14, 27, 46, .12);

    --transition: 160ms ease;
}

/* RESET ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.25rem; }
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 2px; border-radius: 3px; }

.skip-link {
    position: absolute;
    left: 12px; top: -60px;
    z-index: 100;
    background: var(--navy-900); color: #fff;
    padding: .6rem 1rem; border-radius: 0 0 8px 8px;
    transition: top var(--transition);
}
.skip-link:focus { top: 0; text-decoration: none; }

/* 2. TIPOGRAFIA ---------------------------------------------------- */
h1, h2, h3, h4 { line-height: 1.18; font-weight: 600; letter-spacing: -0.015em; color: var(--navy-900); }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.05rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); }
h4 { font-size: 1.0625rem; }
p { text-wrap: pretty; }

.eyebrow {
    display: inline-block;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--blue-600);
    margin-bottom: .85rem;
}
.lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.22rem); color: var(--ink-soft); line-height: 1.6; }
.text-muted { color: var(--muted); }

/* 3. LAYOUT ------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }
.section--surface { background: var(--surface); border-block: 1px solid var(--line); }
.section--navy { background: var(--navy-900); color: #d5dceb; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .eyebrow { color: #7fa2f5; }
.section--navy .lead { color: #aebbd0; }

.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.stack > * + * { margin-top: 1rem; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.divider { height: 1px; background: var(--line); border: 0; margin-block: clamp(2rem, 5vw, 3.5rem); }

/* 4. BOTÕES ----------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: .975rem;
    line-height: 1.2;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
    white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }

.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: var(--blue-700); color: #fff; }

.btn-secondary { background: #fff; color: var(--navy-800); border-color: var(--line); box-shadow: var(--shadow-xs); }
.btn-secondary:hover { border-color: var(--muted-soft); background: var(--surface); }

.btn-ghost { background: transparent; color: var(--navy-800); }
.btn-ghost:hover { background: var(--surface-2); }

.btn-on-navy { background: #fff; color: var(--navy-900); }
.btn-on-navy:hover { background: #e9eefb; color: var(--navy-900); }
.btn-outline-navy { border-color: rgba(255,255,255,.25); color: #fff; }
.btn-outline-navy:hover { background: rgba(255,255,255,.08); color: #fff; }

.btn-lg { padding: .85rem 1.55rem; font-size: 1.02rem; }
.btn-sm { padding: .5rem .9rem; font-size: .9rem; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform var(--transition); }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* 5. CABEÇALHO --------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transition: box-shadow var(--transition);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    height: 78px;
}
.brand { display: inline-flex; align-items: center; gap: .55rem; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand__mark { height: 32px; width: 32px; flex-shrink: 0; }
.brand__custom { height: 50px; width: auto; max-width: 300px; object-fit: contain; display: block; }
.brand__text { font-size: 1.28rem; font-weight: 700; letter-spacing: -.02em; color: var(--navy-900); }
.brand__text b { color: var(--blue-600); font-weight: 700; }
.brand--light .brand__text { color: #fff; }
.brand--light .brand__text b { color: #8fb0ff; }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand .brand__custom { height: 46px; }
.site-header .brand__custom { height: 50px; }
@media (max-width: 940px) {
    .site-header .brand__custom { height: 42px; }
}
@media (max-width: 480px) {
    .site-header .brand__custom { height: 38px; max-width: 200px; }
}

.primary-nav { display: flex; align-items: center; gap: .35rem; }
.primary-nav a {
    display: block;
    padding: .55rem .8rem;
    border-radius: 7px;
    color: var(--ink-soft);
    font-weight: 500;
    font-size: .96rem;
}
.primary-nav a:hover { color: var(--navy-900); background: var(--surface-2); text-decoration: none; }
.primary-nav a.is-active { color: var(--blue-700); }

.header-actions { display: flex; align-items: center; gap: .75rem; }
.nav-toggle { display: none; padding: .4rem; border-radius: 7px; color: var(--navy-900); }
.nav-toggle:hover { background: var(--surface-2); }

/* 6. RODAPÉ ---------------------------------------------------- */
.site-footer { background: var(--navy-900); color: #a9b5c9; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.site-footer a { color: #c6d0e0; }
.site-footer a:hover { color: #fff; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 2.5rem;
}
.footer-brand p { font-size: .95rem; max-width: 32ch; color: #9aa6ba; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; letter-spacing: .02em; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .55rem; font-size: .93rem; }
.footer-contact { display: grid; gap: .6rem; font-size: .93rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: .5rem; }
.footer-contact .icon { width: 17px; height: 17px; color: #7f8da3; flex-shrink: 0; }
.footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-social a {
    display: grid; place-items: center;
    width: 38px; height: 38px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 9px;
}
.footer-social a:hover { background: rgba(255,255,255,.08); }
.footer-social .icon { width: 18px; height: 18px; }
.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
    justify-content: space-between;
    font-size: .85rem;
    color: #8894a8;
}
.footer-legal-line { color: #8894a8; font-size: .85rem; }
.footer-legal-line strong { color: #b8c2d4; font-weight: 600; }

/* 7. COMPONENTES ---------------------------------------------- */
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.card--link:hover { border-color: #cdd6e4; box-shadow: var(--shadow-md); transform: translateY(-2px); }

.feature {
    display: grid;
    gap: .7rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.feature__icon {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border-radius: 11px;
    background: var(--blue-50);
    color: var(--blue-600);
}
.feature__icon .icon { width: 22px; height: 22px; }
.feature h3 { font-size: 1.08rem; }
.feature p { font-size: .96rem; color: var(--muted); margin: 0; }

/* Product card */
.product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.product-card:hover { border-color: #cdd6e4; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-card__media {
    aspect-ratio: 16 / 10;
    background: #eef1f6;
    display: grid; place-items: center;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
/* contain: mostra a imagem inteira, sem cortar as laterais */
.product-card__media img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.product-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.product-card__cat { font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.product-card__body h3 { color: var(--navy-900); }
.product-card__body p { color: var(--muted); font-size: .97rem; margin: 0; }
.product-card__foot { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

/* Badge / status */
.badge {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .28rem .6rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1;
    border: 1px solid transparent;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--available { color: var(--success); background: var(--success-bg); }
.badge--soon { color: #9a6212; background: var(--warning-bg); }
.badge--inactive { color: var(--muted); background: var(--surface-2); }

/* Listagem de recursos com check */
.check-list { list-style: none; padding: 0; display: grid; gap: .7rem; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: .65rem; align-items: start; }
.check-list .icon { width: 20px; height: 20px; color: var(--blue-600); margin-top: 2px; }

/* Breadcrumb */
.breadcrumb { padding-block: 1.15rem; border-bottom: 1px solid var(--line); background: var(--surface); }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .88rem; color: var(--muted); }
.breadcrumb .icon { width: 14px; height: 14px; color: var(--muted-soft); }
.breadcrumb a { color: var(--muted); }
.breadcrumb li[aria-current] { color: var(--ink); font-weight: 500; }

/* Prose (legal, post) */
.prose { max-width: 720px; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { margin-top: 2.4rem; font-size: 1.5rem; }
.prose h3 { margin-top: 1.8rem; }
.prose ul, .prose ol { display: grid; gap: .5rem; }
.prose a { text-decoration: underline; }
.prose blockquote {
    border-left: 3px solid var(--blue-500);
    padding-left: 1.1rem;
    color: var(--ink-soft);
    font-style: italic;
}
.prose img { border-radius: var(--radius); border: 1px solid var(--line); }
.prose code { background: var(--surface-2); padding: .1rem .35rem; border-radius: 5px; font-size: .9em; }

/* Placeholder de imagem */
.img-placeholder {
    display: grid; place-items: center;
    background:
        linear-gradient(135deg, rgba(28,79,208,.05), rgba(28,79,208,.02)),
        repeating-linear-gradient(45deg, transparent 0 12px, rgba(14,27,46,.03) 12px 13px);
    color: var(--muted-soft);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    aspect-ratio: 16 / 10;
    text-align: center;
    padding: 1rem;
    font-size: .85rem;
}
.img-placeholder .icon { width: 30px; height: 30px; margin-bottom: .5rem; }

/* Alerts / flash */
.alert {
    border-radius: var(--radius-sm);
    padding: .95rem 1.15rem;
    font-size: .95rem;
    border: 1px solid transparent;
    display: flex; gap: .6rem; align-items: flex-start;
}
.alert .icon { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.alert--success { background: var(--success-bg); color: #145c37; border-color: #bfe2cd; }
.alert--error { background: var(--danger-bg); color: #8f281f; border-color: #f0c9c4; }
.alert--info { background: var(--blue-50); color: var(--blue-700); border-color: #cfdcf8; }

/* Formulários */
.form-grid { display: grid; gap: 1.15rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink-soft); }
.field .req { color: var(--danger); }
.field .hint { font-size: .82rem; color: var(--muted); }
.input, .textarea, .select {
    width: 100%;
    padding: .7rem .85rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.input:focus, .textarea:focus, .select:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(47, 99, 230, .15);
}
.textarea { min-height: 140px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 8. SEÇÕES ESPECÍFICAS ------------------------------------- */

/* Hero */
.hero { padding-block: clamp(3rem, 7vw, 6rem); border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: 1.15rem; }
.hero .lead { margin-bottom: 1.9rem; max-width: 40ch; }
.hero__meta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: .9rem; color: var(--muted); }
.hero__meta span { display: inline-flex; align-items: center; gap: .45rem; }
.hero__meta .icon { width: 17px; height: 17px; color: var(--blue-600); }

.hero-visual {
    position: relative;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: linear-gradient(160deg, #fbfcfe, #eef2f9);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    aspect-ratio: 4 / 3;
}
.hero-visual__frame {
    height: 100%;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.hero-visual__bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
.hero-visual__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d8dee8; }
.hero-visual__canvas { flex: 1; display: grid; place-items: center; padding: 0; color: var(--muted-soft); text-align: center; background: #eef1f6; }
.hero-visual__canvas img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.hero-visual__tag {
    position: absolute; bottom: -14px; right: 22px;
    background: #fff; border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    border-radius: 10px;
    padding: .55rem .8rem;
    font-size: .82rem; font-weight: 600; color: var(--navy-800);
    display: flex; align-items: center; gap: .45rem;
}
.hero-visual__tag .icon { width: 16px; height: 16px; color: var(--success); }

/* Faixa de confiança / princípios */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pillar { display: grid; gap: .5rem; padding-right: 1rem; }
.pillar h3 { font-size: 1.05rem; }
.pillar p { font-size: .95rem; color: var(--muted); margin: 0; }
.pillar__num { font-size: .8rem; font-weight: 700; color: var(--blue-600); letter-spacing: .05em; }

/* About split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: -1; }
.media-frame {
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    overflow: hidden;
    background: #eef1f6;
    aspect-ratio: 4 / 3;
}
.media-frame img { width: 100%; height: 100%; object-fit: contain; object-position: center; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .container { max-width: 720px; }
.cta-band h2 { margin-bottom: .9rem; }
.cta-band p { margin-bottom: 1.8rem; }
.cta-band .btn-row { justify-content: center; }

/* Solutions list (linha por produto) */
.solution-item {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: 1.75rem 0;
    border-top: 1px solid var(--line);
}
.solution-item:last-child { border-bottom: 1px solid var(--line); }
.solution-item__media {
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: #eef1f6;
    overflow: hidden;
}
.solution-item__media img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.solution-item h3 { margin-bottom: .3rem; }
.solution-item p { color: var(--muted); font-size: .97rem; margin: 0; max-width: 60ch; }
.solution-item__meta { margin-top: .7rem; display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; font-size: .85rem; color: var(--muted); }

/* Product page */
.product-hero { padding-block: clamp(2.5rem, 5vw, 4rem); }
.product-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.product-hero__logo {
    display: inline-flex; align-items: center; gap: .7rem;
    margin-bottom: 1.25rem;
}
.product-hero__logo img { height: 40px; width: auto; }
.product-hero__logo .name { font-size: 1.5rem; font-weight: 700; color: var(--navy-900); letter-spacing: -.02em; }
.product-shot {
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    overflow: hidden;
    background: #eef1f6;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 10;
}
.product-shot img { width: 100%; height: 100%; object-fit: contain; object-position: center; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-grid button {
    padding: 0;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    overflow: hidden;
    background: #eef1f6;
    aspect-ratio: 16 / 10;
    transition: border-color var(--transition), transform var(--transition);
}
.gallery-grid button:hover { border-color: var(--blue-500); transform: translateY(-2px); }
.gallery-grid img { width: 100%; height: 100%; object-fit: contain; object-position: center; }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0;
    background: rgba(9, 16, 28, .9);
    display: none;
    place-items: center;
    padding: 2rem;
    z-index: 100;
}
.lightbox.is-open { display: grid; }
.lightbox img {
    max-width: min(1100px, 92vw);
    max-height: 84vh;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    background: #fff;
}
.lightbox__close { position: absolute; top: 1rem; right: 1.25rem; color: #fff; padding: .5rem; }
.lightbox__close .icon { width: 28px; height: 28px; }

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    display: grid; place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border-radius: 999px;
    transition: background var(--transition);
}
.lightbox__nav:hover { background: rgba(255, 255, 255, .24); }
.lightbox__nav[hidden] { display: none; }
.lightbox__nav .icon { width: 26px; height: 26px; }
.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }

.lightbox__count {
    position: absolute;
    bottom: 1rem; left: 50%;
    transform: translateX(-50%);
    color: #c6d0e0;
    font-size: .85rem;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 560px) {
    .lightbox { padding: 1rem; }
    .lightbox__nav { width: 40px; height: 40px; }
    .lightbox__prev { left: .25rem; }
    .lightbox__next { right: .25rem; }
}

/* info empresarial */
.info-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.info-table dl { margin: 0; display: grid; grid-template-columns: 220px 1fr; }
.info-table dt { padding: .9rem 1.25rem; font-weight: 600; color: var(--ink-soft); background: var(--surface); border-bottom: 1px solid var(--line); }
.info-table dd { padding: .9rem 1.25rem; margin: 0; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
.info-table dl:last-child dt, .info-table dl:last-child dd { border-bottom: 0; }
.pending { color: var(--muted-soft); font-style: italic; }

/* Blog */
.post-card {
    display: flex; flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.post-card:hover { border-color: #cdd6e4; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.post-card__media { aspect-ratio: 16 / 9; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 1.35rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.post-card__meta { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.post-card__body h3 { font-size: 1.12rem; color: var(--navy-900); }
.post-card__body p { font-size: .95rem; color: var(--muted); margin: 0; }
.post-card__more { margin-top: auto; padding-top: .9rem; }

.empty-state {
    text-align: center;
    padding: clamp(3rem, 8vw, 5rem) 1.5rem;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--muted);
}
.empty-state .icon { width: 34px; height: 34px; margin: 0 auto .8rem; color: var(--muted-soft); }

.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; }
.pagination a, .pagination span {
    display: grid; place-items: center;
    min-width: 40px; height: 40px;
    padding-inline: .5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-weight: 600; font-size: .9rem;
    color: var(--ink-soft);
}
.pagination a:hover { border-color: var(--blue-500); text-decoration: none; }
.pagination .is-current { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }

/* article */
.article-header { max-width: 720px; margin-bottom: 2.5rem; }
.article-header h1 { margin-block: .6rem 1rem; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); margin-bottom: 2.5rem; max-height: 460px; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

/* Cookie consent */
.cookie-consent {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 80;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 24px rgba(14, 27, 46, .1);
    padding: 1rem 0;
}
.cookie-consent[hidden] { display: none; }
.cookie-consent__inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: space-between;
}
.cookie-consent__text { font-size: .9rem; color: var(--ink-soft); margin: 0; max-width: 62ch; }
.cookie-consent__text a { text-decoration: underline; }
.cookie-consent__actions { display: flex; gap: .6rem; flex-shrink: 0; }
@media (max-width: 620px) {
    .cookie-consent__actions { width: 100%; }
    .cookie-consent__actions .btn { flex: 1; }
}

/* 404 / maintenance */
.status-page { text-align: center; padding-block: clamp(4rem, 12vw, 8rem); }
.status-page .code { font-size: clamp(3rem, 10vw, 5rem); font-weight: 700; color: var(--blue-600); letter-spacing: -.03em; }

/* 9. RESPONSIVO ------------------------------------------------ */
@media (max-width: 1080px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
    .hero__grid, .split, .product-hero__grid, .split--reverse .split__media { grid-template-columns: 1fr; }
    .split--reverse .split__media { order: 0; }
    .hero-visual { max-width: 520px; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .pillars { grid-template-columns: 1fr; gap: 1.75rem; }
    .solution-item { grid-template-columns: 1fr; gap: 1rem; }
    .solution-item__media { max-width: 320px; }
    .info-table dl { grid-template-columns: 1fr; }
    .info-table dd { border-left: 0; }
    .info-table dt { border-bottom: 0; }
}
/* --- Navegação: colapsa para menu mobile em telas médias --- */
@media (max-width: 940px) {
    .primary-nav,
    .header-actions .btn { display: none; }
    .nav-toggle { display: block; }
    .site-header__inner { height: 70px; }

    .mobile-nav {
        display: none;
        position: fixed;
        inset: 70px 0 0;
        background: #fff;
        padding: 1.25rem 24px 2rem;
        overflow-y: auto;
        z-index: 49;
        border-top: 1px solid var(--line);
    }
    .mobile-nav.is-open { display: block; }
    .mobile-nav a {
        display: block;
        padding: .95rem .25rem;
        font-size: 1.05rem;
        font-weight: 500;
        color: var(--navy-900);
        border-bottom: 1px solid var(--line-soft);
    }
    .mobile-nav a:hover { text-decoration: none; }
    .mobile-nav .btn { margin-top: 1.5rem; width: 100%; }
    body.nav-open { overflow: hidden; }
}
@media (min-width: 941px) {
    .mobile-nav { display: none !important; }
}

@media (max-width: 760px) {
    .grid-2, .grid-3, .grid-4, .form-row { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
    .container { padding-inline: 20px; }
}
