/* =====================================================================
   ABEPRO Design System 2026, Componentes
   BEM (Block__Element--Modifier). Mobile-first.
   Depende de tokens.css
   ===================================================================== */

/* ---------------------------------------------------------------------
   0. Reset / base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--neutral-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Inter tem x-height alto: sem este tracking o texto corrido fica largo. */
  font-optical-sizing: auto;
  font-feature-settings: 'liga' 1, 'calt' 1;
  letter-spacing: -0.006em;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-500); text-decoration: none; transition: color var(--duration-fast) var(--ease-default); }
a:hover { color: var(--brand-600); }
ul, ol { list-style: none; padding: 0; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--brand-400); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; font-synthesis: none; }
h4, h5, h6 { font-family: var(--font-sans); font-weight: 600; }

.wrap { width: 100%; max-width: var(--wrap-max); margin: 0 auto; padding: 0 var(--wrap-pad); }

/* Compensar header sticky ao navegar por âncoras */
[id] { scroll-margin-top: 160px; }

/* Tamanho-base dos ícones (regras de componente abaixo sobrepõem por especificidade).
   Evita SVGs sem dimensão assumirem o tamanho-padrão gigante do navegador. */
.icn { width: 18px; height: 18px; flex-shrink: 0; vertical-align: -0.15em; }
.utility__link .icn, .utility__org .icn { width: 14px; height: 14px; }
.breadcrumb__sep .icn { width: 13px; height: 13px; }
.badge .icn { width: 13px; height: 13px; }
.section__link .icn { width: 16px; height: 16px; }
.card__meta .icn, .footer__contact-item .icn { width: 14px; height: 14px; }

/* Tipografia utilitária */
.overline {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-500);
  margin-bottom: 14px;
}
.overline--accent { color: var(--accent-600); }
.lead { font-size: var(--text-lg); line-height: 1.7; color: var(--neutral-700); }
.muted { color: var(--neutral-500); }
.data { font-family: var(--font-mono); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Métricas por família.
   Optima Black Italic  -> títulos de display (hero, seção, página, banner, números)
   Inter                -> texto corrido E títulos pequenos (cards, listas, colunas)
   A Optima é uma display face: as hastes contrastadas pesam em corpo pequeno,
   por isso card e lista ficam na Inter. */

/* Números alinhados em colunas e listas */
.data, .numstat__value, .timeline__year, .nb-page { font-variant-numeric: tabular-nums; }

/* Caixa-alta pequena na Inter */
.tag, .play-bb__tag { letter-spacing: 0.08em; }
.btn, .header__nav a, .nb-filter { letter-spacing: 0; }

/* Títulos em Optima: sem síntese de peso ou inclinação, e tracking de display */
.hero__title, .section__title, .page-head__title, .cta-banner__title,
.nb-slide__title, .play-bb__title, .card__event-name, .numstat__value {
  font-synthesis: none;
  letter-spacing: -0.005em;
  word-spacing: 0.02em;
}

/* Títulos pequenos em Inter: peso 600 e o tracking negativo que a Inter pede */
.card__title, .infocard__title, .megamenu__feature-title, .sitemap-col__title,
.timeline__title, .play-row__title, .partner, .wa__head-tx strong,
.worldmap__tooltip strong {
  font-weight: 600;
  letter-spacing: -0.014em;
}

.numstat__value { letter-spacing: 0.01em; word-spacing: normal; font-variant-numeric: tabular-nums lining-nums; }

/* ---------------------------------------------------------------------
   1. Skip link
   --------------------------------------------------------------------- */
.skip-link {
  position: absolute; top: -200%; left: 16px;
  background: var(--brand-700); color: #fff;
  padding: 10px 18px; border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: 600; font-size: 14px; z-index: var(--z-skip);
  transition: top var(--duration-base) var(--ease-out);
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------------------------------------------------------------------
   2. Barra de utilidades
   --------------------------------------------------------------------- */
.utility {
  background: var(--white);
  border-bottom: 1px solid var(--neutral-100);
  color: var(--brand-800);
  font-size: 12.5px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='44'%3E%3Cpath d='M-10 44 Q35 -4 90 44' fill='none' stroke='%23002B65' stroke-opacity='0.05' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: top center;
}
.utility__inner { max-width: var(--wrap-max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding: 8px var(--wrap-pad); flex-wrap: wrap; }
.utility__links { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.utility__link {
  color: var(--brand-800); font-weight: 500; display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: var(--radius-sm); transition: color var(--duration-fast), background var(--duration-fast);
}
.utility__link:hover { color: var(--brand-600); background: var(--brand-50); }
.utility__right { display: flex; align-items: center; gap: 14px; }
.utility__phone { color: var(--brand-700); font-weight: 700; display: inline-flex; align-items: center; gap: 7px; }
.utility__phone:hover { color: var(--brand-600); }
.utility__phone .icn { width: 14px; height: 14px; }
.utility__a11y { display: inline-flex; gap: 4px; align-items: center; }
.utility__a11y-btn {
  background: var(--neutral-100); border: none; color: var(--brand-700);
  width: 26px; height: 26px; border-radius: var(--radius-sm); cursor: pointer; font-weight: 700; font-size: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--duration-fast), color var(--duration-fast);
}
.utility__a11y-btn:hover, .utility__a11y-btn[aria-pressed="true"] { background: var(--brand-600); color: #fff; }
.utility__a11y-btn .icn { width: 15px; height: 15px; }

/* ---------------------------------------------------------------------
   3. Header
   --------------------------------------------------------------------- */
/* Masthead = header + menu, fixos no topo (full-width). A barra de utilidades rola. */
.masthead { position: sticky; top: 0; z-index: var(--z-header); background: var(--white); box-shadow: var(--shadow-sm); transition: background var(--duration-base) var(--ease-default), box-shadow var(--duration-base) var(--ease-default), border-color var(--duration-base); }
.header { background: var(--white); transition: background var(--duration-base) var(--ease-default); }
.header__inner { max-width: var(--wrap-max); margin: 0 auto; display: flex; align-items: center; gap: var(--space-3); padding: 16px var(--wrap-pad); transition: padding var(--duration-base) var(--ease-default); }
.header__logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.header__logo img { height: 68.75px; width: auto; transition: height var(--duration-base) var(--ease-default); } /* +25% e +10% sobre os 50px originais */
.header__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: auto; }

/* Barra do menu de navegação (abaixo do header) */
.nav-menu { background: var(--white); border-top: 1px solid var(--neutral-100); }
.nav-menu__inner { max-width: var(--wrap-max); margin: 0 auto; padding: 0 var(--wrap-pad); }

/* Estado condensado (ao rolar): uma linha + efeito glassmorphism */
.masthead.is-stuck { background: rgba(255,255,255,.7); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6); box-shadow: var(--shadow-md); border-bottom: 1px solid rgba(255,255,255,.55); }
.masthead.is-stuck .header { background: transparent; }
body.is-contrast .masthead.is-stuck { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } /* acessibilidade: sem vidro no alto contraste */
.masthead.is-stuck .header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-top: 9px; padding-bottom: 9px; }
.masthead.is-stuck .header__logo { justify-self: start; }
.masthead.is-stuck .header__inner .nav { justify-self: center; }
.masthead.is-stuck .header__actions { justify-self: end; margin-left: 0; }
.masthead.is-stuck .header__logo img { height: 46px; }
.masthead.is-stuck .nav-menu { display: none; }
.masthead.is-stuck .header__inner .nav__link { padding: 10px 11px; font-size: 14px; }
.masthead.is-stuck .header__actions .btn--desktop { width: 44px; min-height: 44px; height: 44px; padding: 0; }
.masthead.is-stuck .header__actions .btn--desktop span { display: none; }
.masthead.is-stuck .header__actions .btn--desktop .icn { width: 19px; height: 19px; }
/* ABEPRO Play no header condensado: botão-ícone (play) em azul mais claro, no estilo do "Faça parte" */
.nav__link--iconbtn .nav__ic { display: none; }
.masthead.is-stuck .header__inner .nav__link--iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: var(--radius-md); background: var(--brand-400); color: #fff; }
.masthead.is-stuck .header__inner .nav__link--iconbtn:hover { background: var(--brand-500); }
.masthead.is-stuck .header__inner .nav__link--iconbtn::after { display: none; }
.masthead.is-stuck .header__inner .nav__link--iconbtn .nav__txt { display: none; }
.masthead.is-stuck .header__inner .nav__link--iconbtn .nav__ic { display: inline-flex; align-items: center; justify-content: center; }
.masthead.is-stuck .header__inner .nav__link--iconbtn .icn { width: 19px; height: 19px; }
.header__icon-btn {
  width: 42px; height: 42px; border: 1px solid var(--neutral-200); background: var(--white);
  border-radius: var(--radius-md); color: var(--brand-700); cursor: pointer; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--duration-fast), border-color var(--duration-fast);
}
.header__icon-btn:hover { background: var(--brand-50); border-color: var(--brand-300); }
.header__icon-btn .icn { width: 19px; height: 19px; }
.header__burger {
  display: none; background: none; border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-md); width: 44px; height: 42px; cursor: pointer;
  color: var(--brand-700); align-items: center; justify-content: center; flex-shrink: 0;
}
.header__burger .icn { width: 24px; height: 24px; }

/* Botão "soft", secundário claro (estilo "Atendimento e Contato" do CREA) */
.btn--soft { background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); }
.btn--soft:hover { background: var(--brand-100); color: var(--brand-800); }

/* Barra de busca deslizante sob o header */
.header__searchbar { max-height: 0; overflow: hidden; background: var(--neutral-50); transition: max-height var(--duration-slow) var(--ease-out); }
.header__searchbar.is-open { max-height: 100px; border-top: 1px solid var(--neutral-100); }
.header__searchbar-in { max-width: var(--wrap-max); margin: 0 auto; padding: 14px var(--wrap-pad); }
.search--bar { padding: 0; }
.search--bar .search__input { padding: 11px 46px 11px 42px; font-size: var(--text-md); }
.search__close { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--neutral-500); width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.search__close:hover { background: var(--neutral-100); }

/* Campo de busca */
.search { position: relative; width: 100%; }
.search__icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--neutral-400); pointer-events: none; }
.search__input {
  width: 100%; padding: 9px 14px 9px 40px; font-family: var(--font-sans); font-size: var(--text-base);
  color: var(--neutral-800); background: var(--white);
  border: 1.5px solid var(--neutral-200); border-radius: var(--radius-pill); outline: none;
  transition: border-color var(--duration-base), background var(--duration-base);
}
.search__input:focus { border-color: var(--brand-500); background: var(--white); }
.search__input::placeholder { color: var(--neutral-400); }

/* ---------------------------------------------------------------------
   4. Botões
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1);
  font-family: var(--font-sans); font-weight: 600; font-size: 13.5px; line-height: 1;
  padding: 8px 18px; min-height: 38px; border-radius: var(--radius-md); border: none; cursor: pointer;
  text-decoration: none; white-space: nowrap; user-select: none;
  transition: background var(--duration-fast) var(--ease-default),
              color var(--duration-fast) var(--ease-default),
              border var(--duration-fast) var(--ease-default),
              transform var(--duration-fast) var(--ease-spring),
              box-shadow var(--duration-fast) var(--ease-default);
}
.btn svg { width: 17px; height: 17px; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--brand-600); color: #fff; }
.btn--primary:hover { background: var(--brand-700); color: #fff; }
.btn--secondary { background: var(--brand-50); color: var(--brand-600); border: 1.5px solid var(--brand-200); }
.btn--secondary:hover { background: var(--brand-100); color: var(--brand-700); }
.btn--ghost { background: transparent; color: var(--neutral-600); border: 1.5px solid var(--neutral-200); }
.btn--ghost:hover { border-color: var(--brand-500); color: var(--brand-500); }
.btn--accent { background: var(--accent-600); color: #fff; }
.btn--accent:hover { background: var(--accent-700); color: #fff; }
.btn--navy { background: var(--brand-800); color: #fff; }
.btn--navy:hover { background: var(--brand-900); color: #fff; }
.btn--white { background: #fff; color: var(--brand-800); }
.btn--white:hover { background: var(--neutral-100); color: var(--brand-900); }
.btn--link { background: transparent; color: var(--brand-500); padding: 4px 2px; min-height: 0; }
.btn--link:hover { color: var(--brand-600); text-decoration: underline; }
.btn--sm { padding: 6px 12px; min-height: 32px; font-size: 12.5px; }
.btn--lg { padding: 11px 24px; min-height: 46px; font-size: 15px; }
.btn--xl { padding: 13px 30px; min-height: 52px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled], .btn--disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }

/* ---------------------------------------------------------------------
   5. Navegação principal + Mega-menu
   --------------------------------------------------------------------- */
.nav { width: 100%; }
.nav__list { display: flex; align-items: stretch; gap: 2px; }
/* O item vira flex para que <a> e <button> ocupem a mesma altura da linha.
   Sem isso o botão do mega-menu não herda o line-height do site e fica alguns
   pixels mais baixo que os links simples, desalinhando os rótulos. */
.nav__item { position: static; display: flex; }
.nav__link {
  display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--neutral-700);
  font-size: 14.5px; font-weight: 600; line-height: 1.4; padding: 14px 16px; cursor: pointer; background: none; border: none;
  font-family: var(--font-sans); white-space: nowrap; box-shadow: inset 0 0 0 var(--brand-500);
  transition: color var(--duration-fast), background var(--duration-fast), box-shadow var(--duration-fast);
}
.nav__link:hover, .nav__link:focus-visible, .nav__item.is-open > .nav__link { color: var(--brand-600); background: transparent; box-shadow: inset 0 -3px 0 var(--brand-400); }
.nav__link[aria-current="page"] { color: var(--brand-700); background: transparent; box-shadow: inset 0 -3px 0 var(--brand-500); }
/* Indicador de foco do menu = sublinhado (acima); sem a caixa de outline nas laterais */
.nav__link:focus, .nav__link:focus-visible { outline: none; }
.nav__link .icn { width: 15px; height: 15px; opacity: .7; transition: transform var(--duration-base); }
.nav__item.is-open > .nav__link .icn { transform: rotate(180deg); }

/* Mega-menu */
.megamenu {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border: 1px solid var(--neutral-200); border-top: var(--border-brand);
  box-shadow: var(--shadow-lg); border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
  z-index: var(--z-megamenu); overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out), visibility var(--duration-base);
}
.nav__item.is-open .megamenu { opacity: 1; visibility: visible; transform: translateY(0); }
.megamenu__inner { position: relative; z-index: 1; max-width: var(--wrap-max); margin: 0 auto; display: grid; grid-template-columns: repeat(var(--mm-cols, 3), minmax(160px, 1fr)) minmax(240px, 300px); gap: var(--space-4); padding: var(--space-4) var(--wrap-pad); }
.megamenu__col { min-width: 0; }
.megamenu__head { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-500); border-bottom: 1px solid var(--neutral-100); padding-bottom: 8px; margin-bottom: 10px; }
.megamenu__links { display: flex; flex-direction: column; gap: 2px; }
.megamenu__link { display: block; font-size: 13px; color: var(--neutral-800); padding: 5px 8px; border-radius: var(--radius-sm); transition: color var(--duration-fast), background var(--duration-fast); }
.megamenu__link:hover { color: var(--brand-500); background: var(--brand-50); }
.megamenu__sub { padding-left: 12px; border-left: 2px solid var(--neutral-100); margin: 2px 0 4px 8px; }
.megamenu__feature { background: var(--brand-50); border-radius: var(--radius-lg); padding: var(--space-2); display: flex; flex-direction: column; gap: 8px; }
.megamenu__feature-tag { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-600); }
.megamenu__feature-title { font-family: var(--font-sans); font-weight: 600; font-size: 15px; color: var(--brand-800); line-height: 1.3; }
.megamenu__feature-text { font-size: 12.5px; color: var(--neutral-600); }
.megamenu__decorator { position: absolute; bottom: 0; right: 0; width: 48%; max-width: 420px; opacity: .15; pointer-events: none; z-index: 0; }

/* ---------------------------------------------------------------------
   6. Mobile drawer
   --------------------------------------------------------------------- */
.drawer-overlay { position: fixed; inset: 0; background: rgba(15,23,35,.5); z-index: var(--z-drawer); opacity: 0; visibility: hidden; transition: opacity var(--duration-base); }
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: var(--white);
  z-index: calc(var(--z-drawer) + 1); transform: translateX(100%); transition: transform var(--duration-slow) var(--ease-out);
  display: flex; flex-direction: column; box-shadow: var(--shadow-xl);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--neutral-200); }
.drawer__head img { height: 36px; }
.drawer__close { background: none; border: none; cursor: pointer; color: var(--neutral-600); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-md); }
.drawer__close:hover { background: var(--neutral-100); }
.drawer__body { overflow-y: auto; padding: var(--space-2); flex: 1; }
.drawer__cta { padding: var(--space-2) var(--space-3); border-top: 1px solid var(--neutral-200); display: grid; gap: 8px; }
.acc { border-bottom: 1px solid var(--neutral-100); }
.acc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; background: none; border: none; padding: 13px 8px; font-family: var(--font-sans); font-size: 15px; font-weight: 600; color: var(--brand-800); cursor: pointer; text-align: left; }
.acc__btn svg { width: 18px; height: 18px; transition: transform var(--duration-base); color: var(--neutral-400); }
.acc__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.acc__panel { display: none; padding: 0 8px 12px; }
.acc__panel.is-open { display: block; }
.acc__link { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; font-size: 14px; color: var(--neutral-700); border-radius: var(--radius-sm); }
.acc__link:hover { background: var(--brand-50); color: var(--brand-600); }
.acc__group { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-500); padding: 10px 12px 4px; }

/* ---------------------------------------------------------------------
   7. Hero, banner rotativo arredondado (460px)
   --------------------------------------------------------------------- */
.hero { background: var(--neutral-50); padding: var(--space-5) 0 var(--space-2); }
.hero__viewport { position: relative; }
.hero__track { position: relative; height: 460px; border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-md); background: var(--brand-900); }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; text-decoration: none; transition: opacity var(--duration-xslow) var(--ease-default), visibility var(--duration-xslow); }
.hero__slide.is-active { opacity: 1; visibility: visible; }

.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media--grad-1 { background: linear-gradient(120deg, var(--brand-800) 0%, var(--brand-500) 100%); }
.hero__media--grad-2 { background: linear-gradient(120deg, var(--brand-900) 0%, var(--deco-teal) 130%); }
.hero__media--grad-3 { background: linear-gradient(120deg, var(--brand-950) 0%, var(--brand-600) 100%); }
.hero__media--grad-4 { background: linear-gradient(120deg, var(--brand-900) 0%, var(--accent-600) 135%); }
.hero__media--video { background-size: 220% 220%; animation: heroPan 16s ease-in-out infinite; }
@keyframes heroPan { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.hero__deco { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(95deg, rgba(0,18,40,.85) 0%, rgba(0,18,40,.55) 42%, rgba(0,18,40,.1) 72%, rgba(0,18,40,0) 100%); }
.hero__overlay--center { background: linear-gradient(0deg, rgba(0,18,40,.72) 0%, rgba(0,18,40,.42) 55%, rgba(0,18,40,.32) 100%); }

.hero__content { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 0 clamp(28px, 6%, 72px); max-width: 640px; }
.hero__content--center { max-width: none; align-items: center; text-align: center; padding: 0 28px; }
.hero__tag { align-self: flex-start; }
.hero__content--center .hero__tag { align-self: center; }
.hero__title { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: clamp(1.45rem, 5vw, 2.45rem); line-height: 1.18; max-width: 560px; overflow-wrap: anywhere; }
.hero__content--center .hero__title { max-width: 780px; }
.hero__sub { color: rgba(255,255,255,.82); font-size: clamp(.95rem, 1.4vw, 1.07rem); line-height: 1.55; max-width: 500px; }
.hero__content--center .hero__sub { max-width: 620px; }
.hero__cta { align-self: flex-start; margin-top: 6px; }
.hero__imglink { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 600; font-size: 14px; margin-top: 4px; }
.hero__imglink .icn { transition: transform var(--duration-base); }
.hero__slide--image:hover .hero__imglink .icn { transform: translateX(4px); }
.hero__videoflag { position: absolute; top: 18px; right: 18px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; background: rgba(0,18,40,.55); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: var(--radius-pill); }
.hero__videoflag .icn { width: 12px; height: 12px; }

.hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.92); border: none; color: var(--brand-700); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); z-index: 4; transition: background var(--duration-fast), transform var(--duration-fast); }
.hero__arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.hero__arrow .icn { width: 22px; height: 22px; }
.hero__arrow--prev { left: 16px; }
.hero__arrow--next { right: 16px; }
.hero__controls { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 4; display: flex; align-items: center; justify-content: center; gap: 14px; }
.hero__dots { display: flex; gap: 8px; }
.hero__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.45); border: none; cursor: pointer; padding: 0; transition: background var(--duration-base), transform var(--duration-base); }
.hero__dot.is-active { background: #fff; transform: scale(1.2); }
.hero__pp { background: rgba(255,255,255,.2); border: none; color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.hero__pp:hover { background: rgba(255,255,255,.35); }
.hero__pp .icn { width: 13px; height: 13px; }

/* Faixa Números ABEPRO, fundo igual ao da seção do hero (#F3F6F9); números em blocos brancos */
.numbers-band { background: var(--neutral-50); padding: var(--space-2) 0 var(--space-6); }
.numbers-band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.numbers-band .numstat { display: flex; align-items: center; gap: 14px; padding: 22px 20px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.numstat__icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: var(--radius-lg); background: var(--brand-50); color: var(--brand-600); display: inline-flex; align-items: center; justify-content: center; }
.numstat__icon .icn { width: 24px; height: 24px; }
.numstat__value { font-family: var(--font-display); font-weight: 600; font-size: 32px; color: var(--brand-800); line-height: 1; }
.numstat__suffix { color: var(--accent-600); }
.numstat__label { font-size: 12.5px; color: var(--neutral-500); margin-top: 4px; }

/* ---------------------------------------------------------------------
   8. Strip de Ações Rápidas
   --------------------------------------------------------------------- */
/* =====================================================================
   Faixa de chamada para associação (home, acima das ações rápidas)
   ---------------------------------------------------------------------
   Duas colunas: 2/3 de copy sobre fundo sólido e 1/3 reservado para a
   foto. O degradê cobre a esquerda inteira e abre a partir de ~62%, para
   que a imagem só apareça no terço da direita.
   TROCAR A IMAGEM: basta redefinir --join-img abaixo (um arquivo local
   em assets/img/ ou outra URL). Se o arquivo faltar, sobra o fundo azul.
   ===================================================================== */
.joinband {
  --join-img: url("https://images.unsplash.com/photo-1524178232363-1fb2b075b655?w=1200&q=80&auto=format&fit=crop");
  position: relative; min-height: 158px; margin-bottom: var(--space-4);
  border-radius: var(--radius-xl); overflow: hidden; background-color: var(--brand-900);
  background-image: var(--join-img); background-size: cover; background-position: 78% center;
}
.joinband::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--brand-900) 0%, var(--brand-900) 62%, rgba(0,26,58,.78) 72%, rgba(0,26,58,.5) 100%);
}
/* Grade de terços exatos: o padding fica nas colunas, não no contêiner,
   senão as frações deixariam de bater com o corte do degradê. */
.joinband__in { position: relative; z-index: 1; width: 100%; min-height: 158px; display: grid; grid-template-columns: 2fr 1fr; align-items: center; }
.joinband__copy { padding: 26px 30px; min-width: 0; }
.joinband__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.15; color: #fff; margin: 0; }
.joinband__text { font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.82); margin: 9px 0 0; max-width: 520px; }
.joinband__cta { display: flex; justify-content: center; padding: 26px 20px; }

/* CTA de associação: destaque próprio, fora da escala dos botões comuns.
   O ícone vive num disco que desliza no hover, junto com o botão. */
/* Mesma caixa de .btn--lg (min-height 46px) para alinhar lado a lado;
   o que distingue é a cor e o disco do ícone, não o tamanho. */
.btn--join {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 10px 8px 24px; min-height: 46px; border: 0; border-radius: var(--radius-pill);
  font-family: var(--font-sans); font-size: 15px; font-weight: 700; line-height: 1;
  color: var(--brand-950); text-decoration: none; white-space: nowrap; cursor: pointer;
  background: linear-gradient(135deg, var(--accent-400) 0%, var(--accent-500) 55%, var(--accent-600) 100%);
  box-shadow: 0 10px 26px rgba(0,26,58,.35), 0 0 0 0 rgba(235,176,80,.5);
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base);
}
.btn--join:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,26,58,.42), 0 0 0 5px rgba(235,176,80,.22); color: var(--brand-950); }
.btn--join:active { transform: translateY(0); }
.btn--join:focus-visible { outline: 3px solid var(--accent-400); outline-offset: 3px; }
.btn--join__ico { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: rgba(0,26,58,.16); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; transition: background var(--duration-base), transform var(--duration-base) var(--ease-out); }
.btn--join:hover .btn--join__ico { background: rgba(0,26,58,.28); transform: translateX(3px); }
@media (max-width: 767px) { .btn--join { width: 100%; justify-content: space-between; } }

@media (max-width: 1023px) {
  .joinband { background-position: 88% center; }
  .joinband__copy { padding: 24px; }
  .joinband::after { background: linear-gradient(90deg, var(--brand-900) 0%, var(--brand-900) 60%, rgba(0,26,58,.8) 72%, rgba(0,26,58,.55) 100%); }
}
@media (max-width: 767px) {
  /* No celular não sobra largura para o terço da imagem: a foto vira
     fundo do bloco inteiro, escurecida o bastante para o texto. */
  .joinband__in { grid-template-columns: 1fr; }
  .joinband__copy { padding: 24px 24px 0; }
  .joinband__cta { padding: 16px 24px 24px; }
  .joinband::after { background: linear-gradient(180deg, rgba(0,26,58,.92) 0%, rgba(0,26,58,.86) 100%); }
  .joinband__cta .btn { width: 100%; justify-content: center; }
}

.quick { background: var(--white); padding: var(--space-6) 0; }
.quick__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-3); }
.quick__item {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--neutral-200); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm);
  color: inherit;
  transition: box-shadow var(--duration-base) var(--ease-default), transform var(--duration-base) var(--ease-default), border-color var(--duration-base);
}
.quick__item:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--brand-200); }

/* A imagem é fundo do cartão inteiro, não uma faixa. O espaço de 150px
   no topo existe só para dar respiro à foto — sem moldura, sem linha.
   O corpo entra por cima com um véu branco que nasce transparente, para
   a imagem escoar até o texto sem corte. */
.quick__bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; transition: transform var(--duration-slow) var(--ease-out); }
.quick__item:hover .quick__bg { transform: scale(1.06); }
.quick__media { position: relative; z-index: 1; display: block; height: 150px; margin: 0; padding: 0; }
.quick__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px; flex: 1;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0, var(--white) 38px); }
.quick__icon { flex-shrink: 0; width: 50px; height: 50px; border-radius: var(--radius-lg); background: var(--brand-50); color: var(--brand-600); display: inline-flex; align-items: center; justify-content: center; transition: background var(--duration-base), color var(--duration-base); }
.quick__icon .icn { width: 26px; height: 26px; }
.quick__item:hover .quick__icon { background: var(--brand-500); color: #fff; }
.quick__label { font-weight: 700; font-size: 16px; color: var(--brand-800); line-height: 1.25; }
.quick__sub { font-size: 13px; color: var(--neutral-500); line-height: 1.5; }
.quick__arrow { position: absolute; top: 22px; right: 20px; width: 30px; height: 30px; border-radius: var(--radius-md); background: var(--neutral-50); color: var(--brand-500); display: inline-flex; align-items: center; justify-content: center; transition: background var(--duration-base), color var(--duration-base), transform var(--duration-base); }
.quick__arrow .icn { width: 16px; height: 16px; }
.quick__item:hover .quick__arrow { background: var(--brand-500); color: #fff; transform: translateX(3px); }

/* ---------------------------------------------------------------------
   9. Seção padrão
   --------------------------------------------------------------------- */
.section { padding: var(--space-8) 0; }
.section--sm { padding: var(--space-6) 0; }
.section--alt { background: var(--neutral-50); }
.section--brand { background: var(--brand-800); color: #fff; }
.section__header { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-6); flex-wrap: wrap; }
.section__title { font-family: var(--font-display); font-size: clamp(1.55rem, 4.5vw, var(--text-3xl)); font-weight: 600; color: var(--brand-800); line-height: 1.25; }
.section--brand .section__title { color: #fff; }
.section__sub { font-size: var(--text-md); color: var(--neutral-600); margin-top: 12px; max-width: 640px; line-height: 1.6; }
.section--brand .section__sub { color: rgba(255,255,255,.75); }
/* Faixa azul com texto estreito (CTA institucional): conteúdo sempre centralizado e legível sobre o fundo escuro */
.section--brand .layout--narrow { text-align: center; }
.section--brand .layout--narrow .prose ul, .section--brand .layout--narrow .prose ol { display: inline-flex; text-align: left; }
.section--brand .prose, .section--brand .prose p, .section--brand .prose li { color: rgba(255,255,255,.82); }
.section--brand .prose h2, .section--brand .prose h3 { color: #fff; }
.section--brand .prose .overline, .section--brand .overline--accent { color: var(--accent-400); }
.section--brand .prose a:not(.btn) { color: var(--accent-400); }
.section--brand .prose blockquote { color: rgba(255,255,255,.85); border-left-color: var(--accent-400); }
.section--brand .btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.section--brand .btn--ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.1); }
.section__link { font-size: var(--text-sm); font-weight: 600; color: var(--brand-500); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.section__link svg { width: 16px; height: 16px; }
.section__link:hover { color: var(--brand-600); gap: 9px; }

/* Grids reutilizáveis */
.grid { display: grid; gap: var(--space-3); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------------------------------------------------------------------
   10. Tags / Chips (filtros)
   --------------------------------------------------------------------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: var(--radius-pill);
  font-family: var(--font-sans); font-size: var(--text-sm); font-weight: 500; background: var(--white);
  border: 1.5px solid var(--neutral-200); color: var(--neutral-600); cursor: pointer;
  transition: background var(--duration-base), border-color var(--duration-base), color var(--duration-base);
}
.tag:hover { background: var(--brand-50); border-color: var(--brand-200); color: var(--brand-600); }
.tag.is-active { background: var(--brand-800); border-color: var(--brand-800); color: #fff; }

/* ---------------------------------------------------------------------
   11. Badges / pills de status
   --------------------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: var(--radius-sm);
  font-family: var(--font-sans); font-size: var(--text-xs); font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
}
.badge--brand { background: var(--brand-100); color: var(--brand-700); }
.badge--accent { background: var(--accent-100); color: var(--accent-700); }
.badge--success { background: var(--success-100); color: var(--success-700); }
.badge--warning { background: var(--warning-100); color: var(--accent-700); }
.badge--error { background: var(--error-100); color: var(--error-600); }
.badge--neutral { background: var(--neutral-100); color: var(--neutral-700); }
.badge--on-dark { background: var(--accent-600); color: #fff; }

/* ---------------------------------------------------------------------
   12. Cards
   --------------------------------------------------------------------- */
.card {
  background: var(--white); border: 1px solid var(--neutral-200); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; overflow: hidden;
  transition: box-shadow var(--duration-base) var(--ease-default), transform var(--duration-base) var(--ease-default), border-color var(--duration-base);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* Card de notícia */
.card--news .card__thumb { height: 165px; position: relative; background: var(--brand-700); }
.card__thumb { display: block; }
.card__thumb-img { width: 100%; height: 100%; object-fit: cover; }
.card__thumb--grad-1 { background: linear-gradient(135deg, var(--brand-700), var(--brand-500)); }
.card__thumb--grad-2 { background: linear-gradient(135deg, var(--brand-800), var(--deco-teal)); }
.card__thumb--grad-3 { background: linear-gradient(135deg, var(--brand-900), var(--brand-600)); }
.card__thumb--grad-4 { background: linear-gradient(135deg, var(--accent-700), var(--accent-500)); }
.card__thumb-badge { position: absolute; top: 12px; left: 12px; }
.card__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; }
.card__play span { width: 54px; height: 54px; border-radius: 50%; background: rgba(0,0,0,.4); backdrop-filter: blur(2px); display: flex; align-items: center; justify-content: center; transition: transform var(--duration-base), background var(--duration-base); }
.card:hover .card__play span { transform: scale(1.08); background: var(--accent-600); }
.card__play svg { width: 22px; height: 22px; margin-left: 3px; }
.card__body { padding: var(--space-3); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__chip { font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--brand-500); }
.card__title { font-family: var(--font-sans); font-weight: 600; font-size: 16px; color: var(--neutral-900); line-height: 1.4; }
.card--news .card__title { font-size: 15px; }
.card__title a { color: inherit; }
.card__title a:hover { color: var(--brand-600); }
.card__text { font-size: 13.5px; color: var(--neutral-600); line-height: 1.6; }
.card__meta { font-size: var(--text-xs); color: var(--neutral-500); display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 6px; }
.card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.card__meta svg { width: 13px; height: 13px; }

/* Card de evento, capa (2/3) + corpo (1/3), altura dobrada */
.card--event { display: grid; grid-template-rows: 2fr 1fr; height: 620px; }
.card__event-cover { position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: var(--space-3); background-size: cover; background-position: center; }
.card__event-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,18,40,.82), rgba(0,18,40,.32) 48%, rgba(0,18,40,.05)); }
.card__event-cover::after { content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.06); }
.card__event-cover-in { position: relative; z-index: 1; }
.card__event-name { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 3vw, 26px); color: #fff; line-height: 1.15; }
.card__event-full { font-size: 12.5px; color: rgba(255,255,255,.82); margin-top: 6px; line-height: 1.35; }
/* Logotipo do evento (home): sem placa, em destaque sobre a capa azul,
   centralizado na área livre acima do nome, com 30px de margem das bordas */
.card__event-logo { display: none; position: absolute; z-index: 1; left: 30px; right: 30px; top: 30px; bottom: 96px; align-items: center; justify-content: center; }
.card__event-logo img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 8px 22px rgba(0,18,40,.45)); }
.card__event-cover.has-logo .card__event-logo { display: flex; }
.has-logo .card__event-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.card__event-body { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-2); padding: var(--space-3); }
.card__event-meta { display: flex; flex-direction: column; gap: 8px; }
.card__event-row { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--neutral-600); }
.card__event-row svg { width: 16px; height: 16px; color: var(--brand-400); flex-shrink: 0; }
.card__event-cta { margin: 0; }
@media (max-width: 767px) { .card--event { height: 560px; } }

/* Subseção "Outros eventos", carrossel de 2 colunas (capa · descrição · info+CTA) */
.events-more__head { margin-top: 56px; }
.events-more__title { font-size: 1.5rem; }
.events-more__cta { text-align: center; margin-top: 32px; }
.ev-nav { display: flex; gap: 8px; flex: none; }
.ev-nav__btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--neutral-200); background: var(--white); color: var(--neutral-600); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--duration-fast), border-color var(--duration-fast); }
.ev-nav__btn:hover { background: var(--neutral-50); border-color: var(--brand-300); }
.ev-nav__btn svg { width: 18px; height: 18px; }
.ev-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 4px 2px 8px; }
.ev-track::-webkit-scrollbar { display: none; }
.ev-card { flex: 0 0 calc(50% - 8px); scroll-snap-align: start; display: grid; grid-template-columns: 104px 1fr auto; gap: 16px; background: var(--white); border: 1px solid var(--neutral-100); border-radius: var(--radius-md); padding: 16px; transition: border-color var(--duration-base), box-shadow var(--duration-base); }
.ev-card:hover { border-color: var(--neutral-200); box-shadow: var(--shadow-sm); }
.ev-card__thumb { width: 104px; min-height: 104px; border-radius: var(--radius-sm); display: block; }
.ev-card__body { min-width: 0; align-self: center; }
.ev-card__badge { margin-bottom: 7px; }
.ev-card__title { font-family: var(--font-sans); font-size: 15px; font-weight: 700; line-height: 1.3; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ev-card__title a { color: var(--neutral-900); }
.ev-card__title a:hover { color: var(--brand-600); }
.ev-card__desc { font-size: 13px; color: var(--neutral-600); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ev-card__aside { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; align-self: center; min-width: 0; }
.ev-card__info { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--neutral-600); white-space: nowrap; }
.ev-card__info svg { width: 15px; height: 15px; flex: none; color: var(--brand-400); }
.ev-card__aside .btn { margin-top: 4px; }
@media (max-width: 767px) {
  .ev-card { flex: 0 0 88%; grid-template-columns: 80px 1fr; }
  .ev-card__thumb { width: 80px; min-height: 80px; }
  .ev-card__aside { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
  .ev-card__aside .btn { margin-top: 0; margin-left: auto; }
}

/* ===== Bloco de Notícias (Home): slider de destaques + feed filtrável/paginado ===== */
.newsblock { display: grid; grid-template-columns: 1fr 1.12fr; gap: var(--space-4); align-items: stretch; }
.newsblock__feature { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; }
.nb-slides { position: absolute; inset: 0; }
.nb-slide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--space-5); color: #fff; text-decoration: none; opacity: 0; visibility: hidden; transition: opacity var(--duration-base) var(--ease-default); background-size: cover; background-position: center; }
.nb-slide.is-active { opacity: 1; visibility: visible; }
.nb-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,18,40,.92), rgba(0,18,40,.45) 52%, rgba(0,18,40,.12)); }
.nb-slide > * { position: relative; z-index: 1; }
.nb-slide__badge { align-self: flex-start; margin-bottom: auto; background: var(--accent-500); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 13px; border-radius: 999px; }
.nb-slide__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.18; color: #fff; margin-top: var(--space-3); }
.nb-slide__text { font-size: 14px; color: rgba(255,255,255,.85); margin-top: 10px; max-width: 48ch; }
.nb-slide__cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: var(--space-3); background: var(--brand-600); color: #fff; font-weight: 600; font-size: 14px; padding: 11px 20px; border-radius: var(--radius-md); }
.nb-slide:hover .nb-slide__cta { background: var(--brand-500); }
.nb-slide__cta svg { width: 16px; height: 16px; }
.nb-dots { position: absolute; bottom: 16px; right: 18px; display: flex; gap: 7px; z-index: 3; }
.nb-dot { width: 9px; height: 9px; border-radius: 999px; border: 0; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; transition: width var(--duration-base), background var(--duration-base); }
.nb-dot.is-active { background: #fff; width: 22px; }
.nb-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--brand-700); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 3; box-shadow: var(--shadow-md); opacity: 0; transition: opacity var(--duration-base); }
.newsblock__feature:hover .nb-arrow, .nb-arrow:focus-visible { opacity: 1; }
.nb-arrow--prev { left: 12px; }
.nb-arrow--next { right: 12px; }
.nb-arrow svg { width: 20px; height: 20px; }
.newsblock__feed { display: flex; flex-direction: column; min-width: 0; }
.nb-filterbar { display: flex; align-items: center; gap: 6px; margin-bottom: var(--space-3); }
.nb-fnav { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--neutral-200); background: var(--white); color: var(--neutral-600); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.nb-fnav:hover { background: var(--neutral-50); }
.nb-fnav svg { width: 16px; height: 16px; }
.nb-filters { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.nb-filters::-webkit-scrollbar { display: none; }
.nb-filter { flex: none; border: 0; background: transparent; color: var(--neutral-600); font-family: var(--font-sans); font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: var(--radius-md); cursor: pointer; white-space: nowrap; }
.nb-filter:hover { background: var(--neutral-100); }
.nb-filter.is-active { background: var(--brand-50); color: var(--brand-600); }
.nb-list { display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.nb-item { display: grid; grid-template-columns: 96px 1fr; gap: var(--space-3); background: var(--white); border: 1px solid var(--neutral-100); border-radius: var(--radius-md); padding: 10px; transition: border-color var(--duration-base), box-shadow var(--duration-base); }
.nb-item:hover { border-color: var(--neutral-200); box-shadow: var(--shadow-sm); }
.nb-item__thumb { position: relative; border-radius: var(--radius-sm); overflow: hidden; display: block; min-height: 80px; }
.nb-item__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nb-item__play { position: absolute; inset: 0; margin: auto; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--brand-600); display: flex; align-items: center; justify-content: center; }
.nb-item__play svg { width: 15px; height: 15px; }
.nb-item__body { min-width: 0; display: flex; flex-direction: column; }
.nb-item__badge { margin-bottom: 5px; }
.nb-item__title { font-family: var(--font-sans); font-size: 15px; font-weight: 700; line-height: 1.3; margin: 0 0 4px; }
.nb-item__title a { color: var(--neutral-900); }
.nb-item__title a:hover { color: var(--brand-600); }
.nb-item__text { font-size: 13px; color: var(--neutral-600); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nb-item__link { font-size: 13px; font-weight: 600; color: var(--brand-600); margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 5px; }
.nb-item__link svg { width: 14px; height: 14px; }
.nb-empty { color: var(--neutral-500); padding: var(--space-4); text-align: center; }
.nb-pager { display: flex; justify-content: flex-end; gap: 6px; margin-top: var(--space-3); }
.nb-page { min-width: 34px; height: 34px; padding: 0 8px; border-radius: var(--radius-md); border: 1px solid var(--neutral-200); background: var(--white); color: var(--neutral-700); font-family: var(--font-sans); font-weight: 600; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.nb-page:hover:not([disabled]) { background: var(--neutral-50); }
.nb-page.is-active { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }
.nb-page[disabled] { opacity: .4; cursor: default; }
.nb-page svg { width: 16px; height: 16px; }
@media (max-width: 900px) {
  .newsblock { grid-template-columns: 1fr; }
  .newsblock__feature { min-height: 320px; }
}
.card-cta { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; background: var(--brand-50); color: var(--brand-500); font-weight: 600; font-size: 13px; padding: 9px 14px; border-radius: var(--radius-md); transition: background var(--duration-base), color var(--duration-base); }
.card-cta:hover { background: var(--brand-500); color: #fff; }
.card-cta svg { width: 15px; height: 15px; }

/* Card de GT / iniciativa */
.card--gt { padding: var(--space-3); gap: 10px; }
.card--gt .card__icon { width: 42px; height: 42px; border-radius: var(--radius-lg); background: var(--brand-50); color: var(--brand-600); display: inline-flex; align-items: center; justify-content: center; }
.card--gt .card__icon svg { width: 22px; height: 22px; }
.card--gt .card__type { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-500); }
.card--gt .card__title { font-size: 16px; color: var(--brand-800); }
.card--gt .card__text { flex: 1; }
.card--gt .card__link { font-size: 13px; font-weight: 600; color: var(--brand-500); display: inline-flex; align-items: center; gap: 5px; }
.card--gt .card__link:hover { gap: 8px; color: var(--brand-600); }
.card--gt .card__link svg { width: 15px; height: 15px; }

/* Card de publicação (list item) */
.publist { display: flex; flex-direction: column; border: 1px solid var(--neutral-200); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.pubitem { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-bottom: 1px solid var(--neutral-100); transition: background var(--duration-base); }
.pubitem:last-child { border-bottom: none; }
.pubitem:hover { background: var(--brand-50); }
.pubitem__icon { width: 38px; height: 38px; border-radius: var(--radius-md); background: var(--brand-50); color: var(--brand-600); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pubitem__icon svg { width: 19px; height: 19px; }
.pubitem__body { flex: 1; min-width: 0; }
.pubitem__title { font-weight: 600; font-size: 14.5px; color: var(--neutral-900); }
.pubitem__meta { font-size: 12px; color: var(--neutral-500); margin-top: 2px; }
.pubitem__cta { flex-shrink: 0; }

/* ---------------------------------------------------------------------
   13. Banner de conversão (CTA filiação)
   --------------------------------------------------------------------- */
.cta-banner { background: linear-gradient(140deg, var(--brand-900) 0%, var(--brand-600) 100%); padding: var(--space-8) 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner__inner { position: relative; z-index: 1; max-width: 920px; margin: 0 auto; }
.cta-banner__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3.5vw, 2.07rem); color: #fff; line-height: 1.25; }
.cta-banner__text { font-size: 15.5px; color: rgba(255,255,255,.72); max-width: 620px; margin: 14px auto 26px; }
.cta-banner__deco { position: absolute; inset: 0; opacity: .5; pointer-events: none; }

/* ---------------------------------------------------------------------
   14. Mundo da ABEPRO (mapa)
   --------------------------------------------------------------------- */
.worldmap { position: relative; background: var(--white); border: 1px solid var(--neutral-200); border-radius: var(--radius-2xl); padding: var(--space-3); box-shadow: var(--shadow-sm); }
.worldmap__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-3); }
.worldmap__canvas { position: relative; width: 100%; max-width: 880px; margin: 0 auto; }
.worldmap__map { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.mappin { position: absolute; transform: translate(-50%, -50%); width: 26px; height: 26px; padding: 0; border: none; background: none; cursor: pointer; z-index: 2; transition: opacity var(--duration-base); }
.mappin__dot { display: block; width: 15px; height: 15px; margin: 5.5px auto; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,18,40,.35); transition: transform var(--duration-base), box-shadow var(--duration-base); }
.mappin:hover { z-index: 4; }
.mappin:hover .mappin__dot, .mappin:focus-visible .mappin__dot { transform: scale(1.4); box-shadow: 0 2px 9px rgba(0,18,40,.45); }
.mappin--enegep .mappin__dot { background: var(--brand-500); }
.mappin--encep .mappin__dot { background: var(--deco-teal); }
.mappin--ijcieom .mappin__dot { background: var(--accent-500); }
.mappin.is-dim { opacity: .18; }
.worldmap__tooltip {
  position: absolute; transform: translate(-50%, -120%); background: var(--brand-900); color: #fff;
  padding: 8px 12px; border-radius: var(--radius-md); font-size: 12.5px; pointer-events: none; white-space: nowrap;
  box-shadow: var(--shadow-lg); opacity: 0; transition: opacity var(--duration-fast); z-index: 5;
}
.worldmap__tooltip.is-visible { opacity: 1; }
.worldmap__tooltip strong { display: block; font-family: var(--font-sans); font-weight: 600; }
.worldmap__tooltip small { color: rgba(255,255,255,.65); }
.worldmap__legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--neutral-100); font-size: 12.5px; color: var(--neutral-600); }
.worldmap__legend span { display: inline-flex; align-items: center; gap: 7px; }
.worldmap__legend i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }

/* ---------------------------------------------------------------------
   15. Parceiros
   --------------------------------------------------------------------- */
.partners { background: var(--white); border-top: 1px solid var(--neutral-100); padding: var(--space-6) 0; }
.partners__track { display: flex; align-items: center; gap: var(--space-6); flex-wrap: wrap; justify-content: center; }
/* Faixa de parceiros (home). Marca em cor original, sem filtro: ver a
   nota em parceiros.css. O hover só reforça a opacidade. */
.partner { display: inline-flex; align-items: center; justify-content: center; height: 54px; opacity: .88; text-decoration: none; transition: opacity var(--duration-base); }
.partner:hover { opacity: 1; }
.partner img { max-height: 54px; max-width: 170px; object-fit: contain; }
.partner .pc-logo { filter: none; opacity: 1; }

/* ---------------------------------------------------------------------
   16. Breadcrumb + cabeçalho de página interna
   --------------------------------------------------------------------- */
.breadcrumb { padding: 14px 0; font-size: 12.5px; color: var(--neutral-500); background: var(--neutral-50); border-bottom: 1px solid var(--neutral-100); }
.breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.breadcrumb__sep { color: var(--neutral-300); }
.breadcrumb a { color: var(--neutral-500); }
.breadcrumb a:hover { color: var(--brand-500); }
.breadcrumb [aria-current="page"] { color: var(--neutral-700); font-weight: 600; }

.page-head { padding: var(--space-6) 0 var(--space-5); }
.page-head--hero { background: linear-gradient(140deg, var(--brand-800) 0%, var(--brand-600) 100%); color: #fff; padding: var(--space-8) 0; }
.page-head__overline { margin-bottom: 14px; }
.page-head--hero .page-head__overline { color: var(--accent-400); }
.page-head__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.75rem, 5.5vw, var(--text-4xl)); color: var(--brand-800); line-height: 1.18; }
.page-head--hero .page-head__title { color: #fff; }
.page-head__sub { font-size: var(--text-lg); color: var(--neutral-600); margin-top: 16px; max-width: 720px; line-height: 1.6; }
.page-head--hero .page-head__sub { color: rgba(255,255,255,.8); }

/* Layout conteúdo + sidebar */
.layout { display: grid; grid-template-columns: 1fr 300px; gap: var(--space-6); align-items: start; }
.layout--narrow { max-width: 760px; margin: 0 auto; display: block; }
.prose { font-size: 15.5px; line-height: 1.75; color: var(--neutral-800); }
.prose > * + * { margin-top: var(--space-2); }
.prose h2 { font-size: var(--text-2xl); color: var(--brand-700); margin-top: var(--space-4); line-height: 1.3; }
.prose h3 { font-size: var(--text-xl); color: var(--neutral-900); margin-top: var(--space-3); font-family: var(--font-sans); }
.prose p { color: var(--neutral-700); }
.prose ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; color: var(--neutral-700); }
.prose ol { list-style: decimal; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; color: var(--neutral-700); }
.prose a:not(.btn) { color: var(--brand-500); text-decoration: underline; }
.prose blockquote { border-left: 3px solid var(--accent-400); padding: 8px 0 8px 18px; font-family: var(--font-display); font-style: normal; font-size: var(--text-lg); color: var(--neutral-700); }
.prose img { border-radius: var(--radius-lg); margin: var(--space-3) 0; }
.prose figure figcaption { font-size: 12.5px; color: var(--neutral-500); margin-top: 6px; }
.prose hr { border: none; border-top: 1px solid var(--neutral-100); margin: var(--space-4) 0; }

/* Sidebar / índice de âncoras */
.sidebar { position: sticky; top: 96px; }
.sidebar__box { background: var(--neutral-50); border: 1px solid var(--neutral-100); border-radius: var(--radius-lg); padding: var(--space-3); margin-bottom: var(--space-3); }
.sidebar__title { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-500); margin-bottom: 12px; }
.sidebar__nav a { display: block; font-size: 13.5px; color: var(--neutral-700); padding: 6px 10px; border-left: 2px solid transparent; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.sidebar__nav a:hover, .sidebar__nav a.is-active { color: var(--brand-600); border-left-color: var(--brand-500); background: var(--brand-50); }
.contact-emails { display: flex; flex-direction: column; gap: 13px; }
.contact-emails li { display: flex; flex-direction: column; gap: 1px; }
.contact-emails__label { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-500); }
.contact-emails a { font-size: 13.5px; color: var(--neutral-700); word-break: break-word; }
.contact-emails a:hover { color: var(--brand-600); text-decoration: underline; }

/* Cartões informativos genéricos */
.infocard { background: var(--white); border: 1px solid var(--neutral-200); border-radius: var(--radius-lg); padding: var(--space-3); }
.infocard__icon { width: 46px; height: 46px; border-radius: var(--radius-lg); background: var(--brand-50); color: var(--brand-600); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.infocard__icon svg { width: 24px; height: 24px; }
.infocard__title { font-family: var(--font-sans); font-weight: 600; font-size: 18px; color: var(--brand-800); margin-bottom: 6px; }
.infocard__text { font-size: 14px; color: var(--neutral-600); line-height: 1.6; }

/* Timeline (História) */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--neutral-200); }
.timeline__item { position: relative; padding-bottom: var(--space-4); }
.timeline__item::before { content: ""; position: absolute; left: -28px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--brand-500); }
.timeline__year { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--brand-600); }
.timeline__title { font-family: var(--font-sans); font-weight: 600; font-size: 17px; color: var(--neutral-900); margin: 2px 0 6px; }
.timeline__text { font-size: 14px; color: var(--neutral-600); }

/* ---------------------------------------------------------------------
   17. Formulários
   --------------------------------------------------------------------- */
.form { display: grid; gap: var(--space-3); }
.field { display: grid; gap: 6px; }
.field--row { grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.label { font-size: 12.5px; font-weight: 600; color: var(--neutral-700); letter-spacing: .02em; }
.label .req { color: var(--error-500); }
.input, .select, .textarea {
  width: 100%; padding: 10px 14px; font-family: var(--font-sans); font-size: var(--text-base);
  color: var(--neutral-800); background: var(--neutral-50); border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-md); outline: none;
  transition: border-color var(--duration-base), background var(--duration-base);
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand-500); background: var(--white); }
.input::placeholder, .textarea::placeholder { color: var(--neutral-400); }
.input.is-error, .select.is-error { border-color: var(--error-500); background: var(--white); }
.textarea { min-height: 130px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235E7082' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field__hint { font-size: 12px; color: var(--neutral-500); }
.field__error { font-size: 12px; color: var(--error-500); }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--neutral-600); cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand-600); flex-shrink: 0; }
.form-card { background: var(--white); border: 1px solid var(--neutral-200); border-radius: var(--radius-xl); padding: var(--space-5); box-shadow: var(--shadow-sm); }

/* Alert / callout */
.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius-lg); font-size: 14px; }
.alert svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.alert--info { background: var(--brand-50); color: var(--brand-700); }
.alert--success { background: var(--success-100); color: var(--success-700); }
.alert--warning { background: var(--warning-100); color: var(--accent-700); }

/* Tabela */
.table-wrap { overflow-x: auto; border: 1px solid var(--neutral-200); border-radius: var(--radius-lg); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.table th { text-align: left; background: var(--neutral-50); color: var(--neutral-700); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; padding: 12px 16px; border-bottom: 1px solid var(--neutral-200); }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--neutral-100); color: var(--neutral-700); }
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: var(--brand-50); }

/* Paginação */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: var(--space-5); }
.pagination a, .pagination span { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-md); border: 1px solid var(--neutral-200); font-size: 14px; color: var(--neutral-700); padding: 0 8px; }
.pagination a:hover { border-color: var(--brand-400); color: var(--brand-600); }
.pagination .is-active { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.pagination .is-disabled { opacity: .4; pointer-events: none; }

/* Estado vazio */
.empty { text-align: center; padding: var(--space-8) var(--space-3); color: var(--neutral-500); }
.empty svg { width: 48px; height: 48px; color: var(--neutral-300); margin: 0 auto var(--space-2); }

/* Mapa do site */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.sitemap-col__title { font-family: var(--font-sans); font-weight: 600; font-size: 18px; color: var(--brand-700); padding-bottom: 10px; border-bottom: 2px solid var(--neutral-100); margin-bottom: 12px; }
.sitemap-col__group { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-500); margin: 16px 0 6px; }
.sitemap-col a { display: block; font-size: 13.5px; color: var(--neutral-700); padding: 4px 0; }
.sitemap-col a:hover { color: var(--brand-600); padding-left: 4px; }

/* ---------------------------------------------------------------------
   18. Rodapé
   --------------------------------------------------------------------- */
.footer { background: var(--white); color: var(--neutral-600); margin-top: auto; border-top: 1px solid var(--neutral-100); }
.footer__top { padding: 52px 0 40px; display: grid; grid-template-columns: 230px repeat(4, 1fr); gap: 36px; }
.footer__brand { }
.footer__logo { height: 40px; margin-bottom: 16px; }
.footer__tagline { font-size: 13px; line-height: 1.6; color: var(--neutral-600); margin-bottom: 18px; }
.footer__social { display: flex; gap: 8px; }
.footer__social a { width: 32px; height: 32px; border-radius: var(--radius-md); background: var(--neutral-50); color: var(--brand-700); display: inline-flex; align-items: center; justify-content: center; transition: background var(--duration-base), color var(--duration-base); }
.footer__social a:hover { background: var(--brand-600); color: #fff; }
.footer__social svg { width: 17px; height: 17px; }
.footer__col-title { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-800); margin-bottom: 16px; }
.footer__links { display: flex; flex-direction: column; gap: 9px; }
.footer__links a { font-size: 13px; color: var(--neutral-600); }
.footer__links a:hover { color: var(--brand-600); }
.footer__contact-item { font-size: 13px; color: var(--neutral-600); display: flex; gap: 9px; margin-bottom: 12px; }
.footer__contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--brand-500); }
.footer__contact-item a { color: var(--neutral-700); }
.footer__contact-item a:hover { color: var(--brand-600); text-decoration: underline; }
.footer__bottom { border-top: 1px solid var(--neutral-100); padding: 18px 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; font-size: 12px; color: var(--neutral-500); }
.footer__bottom-left { justify-self: start; text-align: left; }
.footer__bottom-center { justify-self: center; text-align: center; }
.footer__bottom-right { justify-self: end; text-align: right; }
.footer__bottom a { color: var(--brand-600); text-decoration: underline; transition: color var(--duration-fast); }
.footer__bottom a:hover { color: var(--brand-700); }

/* Faixa decorativa no pé do rodapé.
   Degradê do branco ao azul da marca, dividido em colunas com linhas
   pontilhadas que começam em alturas diferentes, com granulado por cima.
   Tudo estático e aria-hidden: nenhuma animação, nenhum custo de repaint. */
.footer__glow {
  position: relative; isolation: isolate; overflow: hidden;
  height: clamp(190px, 22vw, 320px);
  pointer-events: none; user-select: none;
  background: linear-gradient(to bottom,
    var(--white) 0%,
    rgba(216,233,251,.55) 30%,
    rgba(122,177,238,.85) 58%,
    var(--brand-500) 84%,
    var(--brand-600) 100%);
}
.footer__glow-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(7, 1fr); }
.footer__glow-grid i {
  position: relative;
  /* Cada coluna recebe um véu azul que começa numa altura própria : é o que
     cria o recorte escalonado da referência. */
  background: linear-gradient(to bottom, transparent var(--t), rgba(0,81,168,.30) 100%);
}
.footer__glow-grid i::before {
  content: ""; position: absolute; left: 0; bottom: 0; top: var(--t); width: 1px;
  background: repeating-linear-gradient(to bottom, rgba(0,43,101,.38) 0 3px, transparent 3px 9px);
}
.footer__glow-grid i:first-child::before { display: none; }
.footer__glow-grid i:nth-child(1) { --t: 46%; }
.footer__glow-grid i:nth-child(2) { --t: 14%; }
.footer__glow-grid i:nth-child(3) { --t: 62%; }
.footer__glow-grid i:nth-child(4) { --t: 8%;  }
.footer__glow-grid i:nth-child(5) { --t: 38%; }
.footer__glow-grid i:nth-child(6) { --t: 70%; }
.footer__glow-grid i:nth-child(7) { --t: 26%; }
/* Granulado: SVG estático (feTurbulence) rasterizado uma vez pelo browser. */
.footer__glow::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='1.6' intercept='-0.15'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .5;
  /* O grão entra junto com o azul: sobre o branco puro ele sujaria a
     transição com uma névoa cinza. */
  -webkit-mask-image: linear-gradient(to bottom, transparent 4%, #000 42%);
  mask-image: linear-gradient(to bottom, transparent 4%, #000 42%);
}
/* Alto contraste: a decoração sai de cena. */
body.is-contrast .footer__glow { display: none; }

/* ---------------------------------------------------------------------
   19. Cookie banner + back to top
   --------------------------------------------------------------------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; background: var(--white); border: 1px solid var(--neutral-200); border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); padding: var(--space-3); z-index: var(--z-modal); display: flex; gap: 16px; align-items: center; transform: translateY(160%); transition: transform var(--duration-slow) var(--ease-out); }
.cookie.is-visible { transform: translateY(0); }
.cookie__text { font-size: 13px; color: var(--neutral-600); flex: 1; }
.cookie__text a { text-decoration: underline; }
.cookie__actions { display: flex; gap: 8px; flex-shrink: 0; }
.to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; background: var(--brand-700); color: #fff; border: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity var(--duration-base), transform var(--duration-base), background var(--duration-base); z-index: var(--z-modal); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand-600); }
.to-top svg { width: 22px; height: 22px; }

/* Botão flutuante de WhatsApp + mini-formulário (acima do "voltar ao topo") */
.wa { position: fixed; right: 20px; bottom: 78px; z-index: var(--z-modal); display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa__fab { width: 54px; height: 54px; border-radius: 50%; border: 0; background: #25D366; color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); transition: transform var(--duration-base), background var(--duration-base); }
.wa__fab:hover { background: #1EBE5D; transform: scale(1.06); }
.wa__fab svg { width: 30px; height: 30px; }
.wa__panel { width: 320px; max-width: calc(100vw - 40px); background: var(--white); border: 1px solid var(--neutral-100); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.wa__panel[hidden] { display: none; }
.wa__head { display: flex; align-items: center; gap: 10px; padding: 13px 16px; background: #25D366; color: #fff; }
.wa__head-ic { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center; flex: none; }
.wa__head-ic svg { width: 20px; height: 20px; }
.wa__head-tx { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
.wa__head-tx strong { font-family: var(--font-sans); font-weight: 600; font-size: 15px; }
.wa__head-tx span { font-size: 12px; opacity: .9; }
.wa__close { border: 0; background: transparent; color: #fff; cursor: pointer; padding: 4px; display: flex; flex: none; }
.wa__close svg { width: 18px; height: 18px; }
.wa__form { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.wa__field { display: flex; flex-direction: column; gap: 4px; }
.wa__field > span { font-size: 12px; font-weight: 600; color: var(--neutral-700); }
.wa__field input, .wa__field select, .wa__field textarea { font-family: var(--font-sans); font-size: 14px; color: var(--neutral-900); border: 1px solid var(--neutral-200); border-radius: var(--radius-md); padding: 9px 11px; background: var(--white); width: 100%; }
.wa__field input:focus, .wa__field select:focus, .wa__field textarea:focus { outline: 2px solid var(--brand-300); outline-offset: 1px; border-color: var(--brand-400); }
.wa__field textarea { resize: vertical; min-height: 62px; }
.wa__send { margin-top: 2px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #25D366; color: #fff; font-family: var(--font-sans); font-weight: 700; font-size: 14px; border: 0; border-radius: var(--radius-md); padding: 11px 16px; cursor: pointer; transition: background var(--duration-base); }
.wa__send:hover { background: #1EBE5D; }
.wa__send svg { width: 18px; height: 18px; }
@media (max-width: 767px) { .wa { right: 16px; bottom: 140px; } }

/* ===== ABEPRO Play, seção escura com carrosséis estilo streaming ===== */
.play-section { background: linear-gradient(160deg, var(--brand-950) 0%, #07182e 60%, var(--brand-900) 100%); color: #fff; }
.play-section .overline { color: var(--accent-400); }
.play-section .section__title { color: #fff; }
.play-section .section__sub { color: rgba(255,255,255,.72); }
.play-section .section__link { color: #fff; }
.play-section .section__link:hover { color: var(--accent-400); }
.play { display: flex; flex-direction: column; gap: var(--space-5); }
.play-row__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 12px; }
.play-row__title { font-family: var(--font-sans); font-size: 1.25rem; font-weight: 600; color: #fff; }
.play-row__nav { display: flex; gap: 8px; flex: none; }
.play-nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background var(--duration-base); }
.play-nav:hover { background: rgba(255,255,255,.2); }
.play-nav svg { width: 18px; height: 18px; }
.play-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 10px 2px 22px; }
.play-track::-webkit-scrollbar { display: none; }
.play-card { position: relative; flex: none; width: 280px; height: 336px; border-radius: 10px; overflow: hidden; scroll-snap-align: start; text-decoration: none; background-size: cover; background-position: center; box-shadow: 0 6px 18px rgba(0,0,0,.35); transition: transform var(--duration-base) var(--ease-default), box-shadow var(--duration-base); }
.play-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,9,20,.92) 0%, rgba(0,9,20,.25) 50%, rgba(0,9,20,.05) 100%); }
.play-card:hover, .play-card:focus-visible { transform: scale(1.05); box-shadow: 0 16px 36px rgba(0,0,0,.55); z-index: 2; }
.play-card__badge { position: absolute; top: 10px; left: 10px; z-index: 2; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.55); }
.play-card--video .play-card__badge { background: rgba(0,81,168,.88); }
.play-card--audio .play-card__badge { background: rgba(224,152,32,.92); }
.play-card__btn { position: absolute; top: 44%; left: 50%; transform: translate(-50%,-50%); z-index: 2; width: 46px; height: 46px; border-radius: 50%; background: rgba(0,0,0,.45); border: 1.5px solid rgba(255,255,255,.7); color: #fff; display: flex; align-items: center; justify-content: center; transition: background var(--duration-base), transform var(--duration-base), border-color var(--duration-base); }
.play-card:hover .play-card__btn { background: var(--accent-500); border-color: var(--accent-500); transform: translate(-50%,-50%) scale(1.1); }
.play-card__btn svg { width: 20px; height: 20px; margin-left: 1px; }
.play-card__info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 12px 13px; display: flex; flex-direction: column; gap: 3px; }
.play-card__title { font-family: var(--font-sans); font-size: 13.5px; font-weight: 700; color: #fff; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.play-card__meta { font-size: 11.5px; color: rgba(255,255,255,.7); }
@media (max-width: 767px) { .play-card { width: 230px; height: 294px; } }

/* ===== Página interna ABEPRO Play (estilo streaming) ===== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.playpage { background: var(--brand-950); }
.play-bb { position: relative; min-height: 590px; display: flex; align-items: flex-end; color: #fff; background-size: cover; background-position: center; overflow: hidden; }
.play-bb::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,9,20,.94) 0%, rgba(0,9,20,.62) 42%, rgba(0,9,20,.2) 100%); }
.play-bb::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(to top, var(--brand-950), transparent); }
.play-bb .wrap { position: relative; z-index: 1; width: 100%; }
.play-bb__in { max-width: 600px; padding: 50px 0 192px; }
.play-bb__tag { display: inline-block; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-400); margin-bottom: 14px; }
.play-bb__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; color: #fff; margin: 0 0 16px; }
.play-bb__desc { font-size: 1.05rem; line-height: 1.6; color: rgba(255,255,255,.85); margin: 0 0 14px; }
.play-bb__meta { font-size: 13px; color: rgba(255,255,255,.6); margin: 0 0 22px; }
.play-bb__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.play-bb__btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-sans); font-weight: 700; font-size: 15px; padding: 12px 26px; border-radius: var(--radius-md); cursor: pointer; text-decoration: none; }
.play-bb__btn svg { width: 20px; height: 20px; }
.play-bb__btn--play { background: #fff; color: var(--brand-900); }
.play-bb__btn--play:hover { background: rgba(255,255,255,.85); }
.play-bb__btn--info { background: rgba(255,255,255,.18); color: #fff; }
.play-bb__btn--info:hover { background: rgba(255,255,255,.28); }
.play-rows-sec { position: relative; z-index: 2; margin-top: -28px; padding-bottom: 64px; }
.play-rows-sec .play { gap: 64px; }
@media (max-width: 767px) {
  .play-bb { min-height: 540px; }
  .play-bb__in { padding: 40px 0 128px; }
  .play-rows-sec { margin-top: -16px; }
}

/* ---------------------------------------------------------------------
   20. Acessibilidade, alto contraste & fonte ampliada
   --------------------------------------------------------------------- */
body.is-contrast {
  --neutral-800: #000000; --neutral-700: #000000; --neutral-600: #1a1a1a; --neutral-500: #262626;
  --brand-500: #003a8c; --brand-600: #002b65; --white: #ffffff; --neutral-50: #ffffff; --neutral-100: #c9c9c9; --neutral-200: #8a8a8a;
}
body.is-contrast .card, body.is-contrast .infocard, body.is-contrast .form-card { border-width: 2px; }
body.fs-lg { font-size: 16.5px; }
body.fs-xl { font-size: 18px; }

/* ---------------------------------------------------------------------
   21. Animações utilitárias
   --------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   22. Responsividade
   --------------------------------------------------------------------- */
/* Laptops menores: ações rápidas em 4 colunas (a barra de menu própria ainda cabe) */
@media (max-width: 1180px) {
  .quick__grid { grid-template-columns: repeat(4, 1fr); }
}

/* Tablet */
@media (max-width: 1023px) {
  :root { --wrap-pad: 24px; }
  .grid, .quick__grid, .numbers-band__grid { gap: var(--space-2); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .quick__grid { grid-template-columns: repeat(3, 1fr); }
  .numbers-band__grid { grid-template-columns: repeat(2, 1fr); }
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__brand { grid-column: 1 / -1; }
  .megamenu__inner { grid-template-columns: repeat(2, 1fr); }
  .megamenu__col--feature { display: none; }
  .hero__track { height: 420px; }
}

/* Tablet/abaixo: barra de menu vira hambúrguer */
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .header__burger { display: inline-flex; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
  /* Header condensado no mobile: fundo sólido (sem blur, evita jank) e layout flex simples */
  .masthead.is-stuck { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--white); }
  .masthead.is-stuck .header__inner { display: flex; }
}

/* Mobile */
@media (max-width: 767px) {
  :root { --wrap-pad: 20px; --space-8: 3rem; }
  .section { padding: var(--space-6) 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .quick__grid { grid-template-columns: repeat(2, 1fr); }
  .field--row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__bottom { grid-template-columns: 1fr; gap: 8px; text-align: center; }
  .footer__bottom-left, .footer__bottom-center, .footer__bottom-right { justify-self: center; text-align: center; }
  .cookie { flex-direction: column; align-items: stretch; text-align: center; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .utility__links { display: none; }
  .utility__inner { justify-content: flex-end; }

  /* Hero no mobile */
  .hero { padding: var(--space-3) 0; }
  .hero__track { height: 400px; }
  .hero__content, .hero__content--center { padding: 0 58px; }
  .hero__arrow { width: 44px; height: 44px; background: rgba(255,255,255,.92); }
  .hero__arrow--prev { left: 6px; }
  .hero__arrow--next { right: 6px; }
  .hero__pp { width: 40px; height: 40px; }
  .hero__dots { gap: 6px; }
  .hero__dot { width: 11px; height: 11px; }

  /* Áreas de toque >= ~44px (WCAG) */
  .header__logo img { height: 52px; }
  .utility__a11y-btn { width: 34px; height: 34px; }
  .tag { padding: 9px 14px; min-height: 40px; }
  .pagination a, .pagination span { min-width: 44px; height: 44px; }
  .footer__social a { width: 40px; height: 40px; }
  .footer__links a { display: inline-flex; align-items: center; min-height: 40px; }
  .btn--sm { min-height: 40px; }
  .card-cta { min-height: 44px; }
  /* Lista de publicações: 3 colunas não cabem em 375px; o título quebrava em
     4 linhas e o botão, centralizado, encavalava o texto. Empilha: ícone +
     texto na primeira linha, botão numa segunda alinhado à direita
     (mesmo padrão do .ev-card). */
  /* Faixa do rodapé: menos colunas para os pontilhados não virarem trama */
  .footer__glow { height: clamp(150px, 34vw, 220px); }
  .footer__glow-grid { grid-template-columns: repeat(4, 1fr); }
  .footer__glow-grid i:nth-child(n+5) { display: none; }

  .pubitem { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px 14px; }
  .pubitem__cta { grid-column: 1 / -1; justify-self: end; }

  .cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
  .cookie__actions .btn { min-height: 44px; }
  .to-top { right: 16px; bottom: 84px; width: 44px; height: 44px; }

  /* Legibilidade: não descer abaixo de ~12px em conteúdo informativo */
  .card__meta, .badge, .footer__bottom, .breadcrumb { font-size: 12px; }
}

@media (max-width: 620px) {
  .header__actions .btn--desktop { display: none; }
  .numbers-band__grid { grid-template-columns: 1fr; }
  .mappin { width: 40px; height: 40px; } /* área de toque maior no mobile */
  .mappin__dot { width: 16px; height: 16px; margin: 12px auto; }
  .worldmap__tooltip { white-space: normal; max-width: 200px; }
}

@media (max-width: 479px) {
  :root { --wrap-pad: 16px; }
  .footer__top { grid-template-columns: 1fr; }
  .quick__grid { grid-template-columns: 1fr; }
  .hero__track { height: 360px; }
  .header__logo img { height: 46px; }
}

/* ---------------------------------------------------------------------
   23. Reduce motion
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
