/* Brascast Ajuda - estilos consolidados (tokens, base, navbar, layout, páginas) */

/* Fontes locais */
@font-face {
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/redhatdisplay-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/redhatdisplay-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/jetbrainsmono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Tokens */
:root {
  --green: #178d72;
  --green-dark: #0f6b55;
  --green-light: #e8f5f1;
  --green-mid: #2aad8e;
  --text: #0f1e1b;
  --text-muted: #5a7069;
  --bg: #ffffff;
  --bg-soft: #f5faf8;
  --border: #d8eae5;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --font: 'Red Hat Display', sans-serif;
  --nav-h: 72px;
  --shadow-sm: 0 1px 3px rgba(15,30,27,.06), 0 4px 16px rgba(15,30,27,.06);
  --shadow-md: 0 2px 8px rgba(15,30,27,.08), 0 12px 40px rgba(15,30,27,.10);
}

/* Base */
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* Utility */
.container { max-width: 1600px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font); font-weight: 600; font-size: 15px; border-radius: 10px; padding: 13px 24px; transition: all .18s; cursor: pointer; border: none; }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn--outline:hover { border-color: var(--green); color: var(--green); background: var(--green-light); }
.btn--white { background: #fff; color: var(--green); }
.btn--white:hover { background: rgba(255,255,255,.92); }
.btn--lg { font-size: 16px; padding: 15px 30px; border-radius: 12px; }
.btn--sm { font-size: 13px; padding: 9px 18px; border-radius: 8px; }

/* Footer */
.footer { background: #0a1a16; color: rgba(255,255,255,.7); padding: 64px 0 0; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-brand .footer-logo { display: inline-flex; margin-bottom: 18px; }
.footer-brand .footer-logo img { height: 32px; width: auto; display: block; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 460px; color: rgba(255,255,255,.5); }
.footer-social { display: flex; gap: 8px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.6);
  transition: background .18s, color .18s, transform .18s;
}
.footer-social a:hover { background: var(--green); color: #fff; transform: translateY(-2px); }
.footer-social a svg { width: 16px; height: 16px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,.5); transition: color .15s; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.05); gap: 18px; flex-wrap: wrap; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.3); }
.footer-bottom-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,.3); transition: color .15s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* Navbar fixa */
.bl-navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); transition: box-shadow .2s, background .2s; }
.bl-navbar.scrolled { box-shadow: 0 2px 12px rgba(15,30,27,.06); background: rgba(255,255,255,.96); }
.bl-navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.bl-navbar-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; flex-shrink: 0; }
.bl-navbar-logo img { height: 26px; }
.bl-navbar-logo-text { font-size: 17px; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.bl-navbar-logo-text strong { color: var(--green); font-weight: 800; }
.bl-navbar-logo-label {
  display: inline-flex; align-items: center;
  height: 26px;
  padding: 0 0 0 12px;
  margin-left: 10px;
  color: var(--green); font-weight: 700; font-size: 13px;
  line-height: 1;
  position: relative;
}
.bl-navbar-logo-label::before {
  content: ''; position: absolute;
  left: 0; top: 5px; bottom: 5px;
  width: 1px;
  background: var(--border);
}
.bl-navbar-links { display: flex; align-items: center; gap: 26px; list-style: none; padding: 0; margin: 0 0 0 auto; }
.bl-navbar-links a { font-size: 14px; font-weight: 500; color: var(--text-muted); text-decoration: none; transition: color .15s; padding: 8px 0; }
.bl-navbar-links a:hover { color: var(--text); }
.bl-navbar-links a.active { color: var(--green); font-weight: 700; }
.bl-navbar-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.bl-navbar-hamburger { display: none; width: 36px; height: 36px; border-radius: 8px; background: transparent; border: none; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.bl-navbar-hamburger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 1px; }

/* Menu mobile (drawer da direita) */
.bl-mobile-menu { position: fixed; inset: 0; z-index: 2000; visibility: hidden; }
.bl-mobile-menu.is-open { visibility: visible; }
.bl-mobile-backdrop { position: absolute; inset: 0; background: rgba(15,30,27,.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s ease; }
.bl-mobile-menu.is-open .bl-mobile-backdrop { opacity: 1; }
.bl-mobile-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(380px, 88vw);
  background: #fff;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  box-shadow: -10px 0 32px rgba(15,30,27,.18);
  overflow-y: auto;
}
.bl-mobile-menu.is-open .bl-mobile-panel { transform: translateX(0); }
.bl-mobile-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.bl-mobile-close { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-soft); color: var(--text); display: inline-flex; align-items: center; justify-content: center; transition: background .15s, color .15s; cursor: pointer; }
.bl-mobile-close:hover { background: var(--green-light); color: var(--green); }
.bl-mobile-links { list-style: none; padding: 14px 12px; margin: 0; }
.bl-mobile-links li { margin: 0; }
.bl-mobile-links a { display: block; padding: 12px 14px; font-size: 16px; font-weight: 600; color: var(--text); border-radius: 10px; transition: background .15s, color .15s; }
.bl-mobile-links a:hover, .bl-mobile-links a.active { background: var(--green-light); color: var(--green); }
.bl-mobile-section { padding: 6px 12px 12px; border-top: 1px solid var(--border); }
.bl-mobile-section-label { display: block; padding: 10px 14px 4px; font-size: 11px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; }
.bl-mobile-cat-list { list-style: none; padding: 0; margin: 0; }
.bl-mobile-cat-list a { display: block; padding: 10px 14px; font-size: 15px; font-weight: 500; color: var(--text); border-radius: 8px; transition: background .15s, color .15s; }
.bl-mobile-cat-list a:hover, .bl-mobile-cat-list a.is-active { background: var(--green-light); color: var(--green); font-weight: 700; }
.bl-mobile-foot { margin-top: auto; padding: 18px 22px; border-top: 1px solid var(--border); }
.bl-mobile-foot .btn { width: 100%; justify-content: center; }
body.menu-open { overflow: hidden; }

/* Seções */
.bl-section { padding: 56px 0; }
.bl-section--first { padding-top: calc(64px + 48px); }

/* Layout 2 colunas (página de categoria) */
.bl-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.bl-main { min-width: 0; }
.bl-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 88px; align-self: start; }

/* Sidebar — card genérico */
.bl-sidebar-card { background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 14px; }
.bl-sidebar-card-title { font-size: 13px; font-weight: 800; color: var(--text); letter-spacing: .08em; text-transform: uppercase; padding-bottom: 12px; border-bottom: 1px solid var(--border); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.bl-sidebar-card-title svg { width: 13px; height: 13px; color: var(--green); }

/* Lista de categorias na sidebar */
.bl-cat-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.bl-cat-list a { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; font-size: 16px; font-weight: 600; color: var(--text); text-decoration: none; border-radius: 8px; transition: color .15s, background .15s; }
.bl-cat-list a:hover { color: var(--green); background: var(--green-light); }
.bl-cat-list a.is-active { color: var(--green); background: var(--green-light); }

/* Sidebar banner CTA */
.bl-sidebar-banner {
  display: block;
  background: linear-gradient(155deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  border-radius: 16px;
  padding: 24px 22px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.bl-sidebar-banner::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  pointer-events: none;
}
.bl-sidebar-banner::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  pointer-events: none;
}
.bl-sidebar-banner > * { position: relative; }
.bl-sidebar-banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,.18);
  padding: 5px 10px;
  border-radius: 99px;
  margin-bottom: 14px;
}
.bl-sidebar-banner-eyebrow svg { opacity: .9; }
.bl-sidebar-banner h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 8px;
  text-wrap: balance;
}
.bl-sidebar-banner p {
  font-size: 16.5px;
  line-height: 1.5;
  color: rgba(255,255,255,.85);
  margin: 0 0 18px;
}
.bl-sidebar-banner .btn {
  width: 100%;
  justify-content: center;
  background: #fff;
  color: var(--green-dark);
  font-weight: 800;
  font-size: 16px;
  transition: background .15s;
}
.bl-sidebar-banner .btn:hover { background: #f0fbf7; transform: none; box-shadow: none; }

/* Cabeçalho da página de categoria */
.bl-cat-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--border); }
.bl-cat-head h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.02em; color: var(--text); margin: 0; }

/* Hero da home com busca grande */
.aj-hero { position: relative; padding: calc(64px + 56px) 0 56px; background: linear-gradient(180deg, var(--green-light) 0%, #fff 100%); text-align: center; }
.aj-hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aj-hero-bg::before { content: ''; position: absolute; top: -120px; right: -100px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(23,141,114,.12), transparent 60%); }
.aj-hero-bg::after { content: ''; position: absolute; bottom: -160px; left: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(23,141,114,.08), transparent 65%); }
.aj-hero-inner { position: relative; max-width: 720px; margin: 0 auto; z-index: 2; }
.aj-hero h1 { font-size: clamp(28px, 3.8vw, 44px); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; color: var(--text); margin-bottom: 12px; text-wrap: balance; }
.aj-hero h1 .accent { color: var(--green); }
.aj-hero-desc { font-size: 16px; color: var(--text-muted); margin-bottom: 28px; }

/* Ícones de helpdesk flutuando no hero */
.aj-hero-deco { position: absolute; color: var(--green); opacity: 0; animation: ajHeroFloat 7s ease-in-out infinite; }
.aj-hero-deco--bubble1 { top: 18%; left: 8%; width: 56px; height: 56px; opacity: .14; animation-delay: 0s; transform: rotate(-12deg); }
.aj-hero-deco--bubble2 { top: 64%; right: 11%; width: 46px; height: 46px; opacity: .12; animation-delay: 1.4s; transform: rotate(18deg); }
.aj-hero-deco--bubble3 { top: 26%; right: 22%; width: 32px; height: 32px; opacity: .18; animation-delay: 2.8s; transform: rotate(-6deg); }
.aj-hero-deco--q1 { top: 42%; left: 14%; width: 30px; height: 30px; opacity: .22; animation-delay: .7s; }
.aj-hero-deco--q2 { top: 22%; right: 9%; width: 24px; height: 24px; opacity: .22; animation-delay: 3.4s; }
.aj-hero-deco--headset { bottom: 16%; left: 22%; width: 38px; height: 38px; opacity: .16; animation-delay: 2s; }
.aj-hero-deco--lifesaver { top: 12%; left: 38%; width: 28px; height: 28px; opacity: .14; animation-delay: 1s; }
@keyframes ajHeroFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -12px; }
}

/* Search grande do hero */
.aj-search { display: flex; align-items: center; gap: 8px; max-width: 600px; margin: 0 auto; background: #fff; border: 1.5px solid var(--border); border-radius: 999px; padding: 6px 6px 6px 22px; box-shadow: 0 8px 32px rgba(15,30,27,.08); transition: border-color .15s, box-shadow .15s; }
.aj-search:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(23,141,114,.12), 0 8px 32px rgba(15,30,27,.08); }
.aj-search input { flex: 1; border: none; outline: none; font-family: inherit; font-size: 15px; color: var(--text); padding: 10px 0; background: transparent; }
.aj-search-submit { width: 44px; height: 44px; border-radius: 50%; background: var(--green); border: none; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, transform .15s; flex-shrink: 0; }
.aj-search-submit:hover { background: var(--green-dark); transform: scale(1.05); }
.aj-search-submit:active { transform: scale(.95); }
.aj-search-submit svg { width: 18px; height: 18px; }
.aj-hero-quick { margin-top: 20px; font-size: 13.5px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.aj-hero-quick a { color: var(--green); font-weight: 600; text-decoration: none; padding: 2px 10px; background: rgba(255,255,255,.6); border: 1px solid var(--border); border-radius: 99px; transition: background .15s, border-color .15s; }
.aj-hero-quick a:hover { background: #fff; border-color: var(--green); }

/* Dropdown de resultados da busca */
.aj-search-wrap { position: relative; max-width: 600px; margin: 0 auto; }
.aj-search-wrap .aj-search { max-width: none; margin: 0; }
.aj-search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border: 1.5px solid var(--border); border-radius: 14px; box-shadow: 0 16px 40px rgba(15,30,27,.12); overflow: hidden; z-index: 50; max-height: 420px; overflow-y: auto; text-align: left; }
.aj-search-results[hidden] { display: none; }
.aj-search-result { display: block; padding: 12px 18px; text-decoration: none; border-bottom: 1px solid var(--border); transition: background .12s; }
.aj-search-result:last-child { border-bottom: none; }
.aj-search-result:hover { background: var(--green-light); }
.aj-search-result-cat { font-size: 10.5px; font-weight: 800; color: var(--green); text-transform: uppercase; letter-spacing: .06em; }
.aj-search-result-title { font-size: 14.5px; font-weight: 700; color: var(--text); margin-top: 2px; line-height: 1.35; }
.aj-search-result mark { background: rgba(23,141,114,.18); color: var(--green-dark); padding: 0 2px; border-radius: 2px; font-weight: 800; }
.aj-search-empty { padding: 28px 22px; text-align: center; font-size: 14px; color: var(--text-muted); }
.aj-search-empty strong { color: var(--text); }
.aj-search-empty-cta { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--green); text-decoration: none; }
.aj-search-empty-cta:hover { text-decoration: underline; }

/* Seções da home */
.aj-section { padding: 64px 0; }
.aj-section--sm { padding: 40px 0; }
.aj-section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.aj-section-head h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--text); margin-bottom: 8px; text-wrap: balance; }
.aj-section-head h2 .accent { color: var(--green); }
.aj-section-head p { font-size: 15px; color: var(--text-muted); }

/* Grid de categorias da home */
.aj-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.aj-cat-card { background: #fff; border: 1.5px solid var(--border); border-radius: 16px; padding: 26px 22px 22px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.aj-cat-card:hover { border-color: var(--green); box-shadow: 0 14px 32px rgba(15,30,27,.06); transform: translateY(-2px); }
.aj-cat-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; transition: background .2s, color .2s; }
.aj-cat-icon svg { width: 20px; height: 20px; }
.aj-cat-card:hover .aj-cat-icon { background: var(--green); color: #fff; }
.aj-cat-card h3 { font-size: 17px; font-weight: 800; letter-spacing: -.01em; color: var(--text); }
.aj-cat-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; flex: 1; }
.aj-cat-count { font-size: 12px; font-weight: 700; color: var(--text-muted); margin-top: 4px; }

/* Lista simples de artigos (home + relateds) */
.aj-article-list-wrap { max-width: 1000px; margin: 0 auto; }
.aj-article-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; background: #fff; border: 1.5px solid var(--border); border-radius: 14px; overflow: hidden; }
.aj-article-list > li { border-bottom: 1px solid var(--border); }
.aj-article-list > li:last-child { border-bottom: none; }
.aj-article-item { display: flex; align-items: center; gap: 14px; padding: 16px 20px; text-decoration: none; transition: background .15s; }
.aj-article-item:hover { background: var(--green-light); }
.aj-article-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--bg-soft); color: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .15s; }
.aj-article-icon svg { width: 16px; height: 16px; }
.aj-article-item:hover .aj-article-icon { background: var(--green-light); }
.aj-article-item-info { flex: 1; min-width: 0; }
.aj-article-item-info h4 { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.35; margin-bottom: 2px; }
.aj-article-item-info span { font-size: 12.5px; color: var(--text-muted); }
.aj-article-arrow { color: var(--text-muted); flex-shrink: 0; transition: color .15s, transform .15s; }
.aj-article-item:hover .aj-article-arrow { color: var(--green); transform: translateX(3px); }

/* CTA "Não encontrou?" */
.aj-help-cta { padding: 56px 0; background: var(--bg-soft); }
.aj-help-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; max-width: 960px; margin: 0 auto; padding: 36px 44px; background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); border-radius: 20px; color: #fff; position: relative; overflow: hidden; }
.aj-help-cta-inner::before { content: ''; position: absolute; top: -80px; right: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.06); pointer-events: none; }
.aj-help-cta-content { position: relative; flex: 1; }
.aj-help-cta-content h2 { font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 6px; }
.aj-help-cta-content p { font-size: 15px; opacity: .92; line-height: 1.5; }
.aj-help-cta-actions { position: relative; display: flex; gap: 10px; flex-shrink: 0; }

/* Paginação e empty-state */
.aj-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.aj-pagination-item { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; font-size: 13.5px; font-weight: 700; color: var(--text); background: #fff; border: 1.5px solid var(--border); border-radius: 99px; text-decoration: none; transition: border-color .15s, color .15s, background .15s; }
.aj-pagination-item:hover { border-color: var(--green); color: var(--green); }
.aj-pagination-item.is-disabled { opacity: .4; cursor: not-allowed; pointer-events: none; }
.aj-pagination-info { font-size: 13px; color: var(--text-muted); }
.aj-empty-state { padding: 48px 22px; text-align: center; font-size: 15px; color: var(--text-muted); background: #fff; border: 1.5px solid var(--border); border-radius: 14px; }

/* Lista de artigos da página de categoria */
.aj-cat-articles { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; }
.aj-cat-articles > li { border-bottom: 1px solid var(--border); }
.aj-cat-articles > li:last-child { border-bottom: none; }
.aj-cat-articles .aj-article-item {
  background: transparent;
  border: none;
  border-radius: 12px;
  padding: 16px 16px 16px 0;
  gap: 14px;
  align-items: center;
  transition: background .15s ease;
}
.aj-cat-articles .aj-article-item:hover { background: var(--green-light); }
.aj-cat-articles .aj-article-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.aj-cat-articles .aj-article-icon svg { width: 18px; height: 18px; }
.aj-cat-articles .aj-article-item-info { flex: 1; min-width: 0; }
.aj-cat-articles .aj-article-item-info h4 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; color: var(--text); margin-bottom: 4px; }
.aj-cat-articles .aj-article-item-info span { font-size: 13px; color: var(--text-muted); }
.aj-cat-articles .aj-article-arrow {
  flex-shrink: 0;
  color: var(--text-muted);
  opacity: .5;
  transition: color .15s, opacity .15s, transform .2s;
}
.aj-cat-articles .aj-article-item:hover .aj-article-arrow { color: var(--green-dark); opacity: 1; transform: translateX(4px); }

/* Página de artigo — hero + video + corpo */
.aj-article-hero { padding: calc(64px + 40px) 0 28px; background: linear-gradient(180deg, var(--green-light) 0%, #fff 100%); }
.aj-article-hero-inner { max-width: 960px; margin: 0 auto; }
.aj-article-breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.aj-article-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.aj-article-breadcrumb a:hover { color: var(--green); }
.aj-article-breadcrumb-sep { opacity: .5; }
.aj-article-hero h1 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--text); margin: 6px 0 16px; text-wrap: balance; }
.aj-article-hero-meta { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--text-muted); flex-wrap: wrap; }
.aj-article-hero-meta strong { color: var(--text); font-weight: 700; }
.aj-article-video { max-width: 1000px; margin: 0 auto; padding: 24px 24px 0; }
.aj-article-video-frame { position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(15,30,27,.14), 0 4px 16px rgba(15,30,27,.06); background: #000; }
.aj-article-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.aj-article-video-caption { font-size: 13px; color: var(--text-muted); text-align: center; margin-top: 12px; }
.aj-article-video-caption svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 4px; color: #ff0000; }
.aj-article-layout { max-width: 1000px; margin: 0 auto; padding: 48px 24px 64px; }
.aj-article-body { font-size: 16px; line-height: 1.75; color: var(--text); min-width: 0; }
.aj-article-body > * + * { margin-top: 18px; }
.aj-article-body h2 { font-size: 24px; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; color: var(--text); margin-top: 36px; margin-bottom: 10px; text-wrap: balance; padding-top: 6px; }
.aj-article-body h3 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; color: var(--text); margin-top: 26px; margin-bottom: 8px; }
.aj-article-body p { color: var(--text); text-wrap: pretty; }
.aj-article-body a { color: var(--green); font-weight: 600; }
.aj-article-body a:hover { text-decoration: underline; }
.aj-article-body ul, .aj-article-body ol { padding-left: 22px; }
.aj-article-body li + li { margin-top: 6px; }
.aj-article-body strong { font-weight: 700; color: var(--text); }
.aj-article-body code { font-family: 'JetBrains Mono', monospace; font-size: .9em; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 5px; padding: 2px 6px; }
.aj-article-body blockquote { border-left: 4px solid var(--green); background: var(--green-light); padding: 14px 18px; border-radius: 0 8px 8px 0; font-size: 15px; color: var(--text); }
.aj-article-body img { max-width: 100%; border-radius: 10px; border: 1px solid var(--border); }

/* Callouts no corpo do artigo */
.aj-article-callout { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-soft); margin-top: 18px; }
.aj-article-callout--tip { background: var(--green-light); border-color: rgba(23,141,114,.2); }
.aj-article-callout--warn { background: #fef3c7; border-color: #fde68a; }
.aj-article-callout-icon { flex-shrink: 0; color: var(--green); }
.aj-article-callout--warn .aj-article-callout-icon { color: #d97706; }
.aj-article-callout-body strong { font-size: 13.5px; display: block; margin-bottom: 3px; color: var(--text); }
.aj-article-callout-body p { font-size: 14px; color: var(--text); margin: 0 !important; }

/* Feedback "isso ajudou?" */
.aj-feedback { margin-top: 48px; padding: 24px 28px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 14px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.aj-feedback-q { font-size: 15px; font-weight: 700; color: var(--text); }
.aj-feedback-actions { display: flex; gap: 8px; }
.aj-feedback-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; background: #fff; border: 1.5px solid var(--border); border-radius: 99px; font-size: 13.5px; font-weight: 700; color: var(--text); cursor: pointer; transition: border-color .15s, color .15s, background .15s; font-family: inherit; }
.aj-feedback-btn:hover { border-color: var(--green); color: var(--green); }
.aj-feedback-btn svg { width: 14px; height: 14px; }

/* Responsivo */
@media (prefers-reduced-motion: reduce) {
  .aj-hero-deco { animation: none; }
}
@media (max-width: 1100px) {
  .bl-layout { grid-template-columns: 1fr 280px; gap: 32px; }
}
@media (max-width: 992px) {
  .bl-navbar-links { display: none; }
  .bl-navbar-hamburger { display: flex; }
  .bl-layout { grid-template-columns: 1fr; gap: 40px; }
  .bl-sidebar { position: static; flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .bl-sidebar > * { flex: 1 1 280px; min-width: 280px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .aj-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .aj-help-cta-inner { flex-direction: column; text-align: center; padding: 28px 24px; }
}
@media (max-width: 768px) {
  .bl-sidebar { flex-direction: column; gap: 16px; }
  .aj-hero { padding: calc(64px + 40px) 0 40px; }
  .aj-hero-deco--bubble3, .aj-hero-deco--q1, .aj-hero-deco--lifesaver { display: none; }
  .aj-cat-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .aj-section { padding: 40px 0; }
  .aj-feedback { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 20px; }
  .aj-article-body { font-size: 15.5px; }
  .aj-article-body h2 { font-size: 22px; }
}
