/* ============================================================
   tema-sinibref.css — Identidade visual alinhada ao redesign de
   referência (https://novo.sinibref-inter.org.br/): paleta,
   tipografia e reskin do cabeçalho/rodapé/home.

   Carregado por último em views/_head.ejs (depois de style.css,
   cabecalho.css, components.css, modal.css), então as regras
   daqui sobrepõem o tema base sem precisar reescrevê-lo.
   Paleta extraída do tailwind.config embutido no site de
   referência (cores "brand"/"flag"/"ink"/"paper"/"mist").
   ============================================================ */

:root {
  --sin-ink: #0A1B33;
  --sin-brand: #185CBC;
  --sin-brand-400: #3B7AD2;
  --sin-brand-600: #1450A4;
  --sin-brand-900: #0A2247;
  --sin-brand-950: #06152E;
  --sin-flag: #EC3136;
  --sin-flag-light: #F26B6F;
  --sin-flag-dark: #C81F24;
  --sin-paper: #F7F9FC;
  --sin-mist: #ECF1F8;
  --sin-shadow-card: 0 14px 44px -18px rgba(10, 27, 51, .2);
  --sin-shadow-trust: 0 28px 70px -22px rgba(10, 27, 51, .4);
  --sin-shadow-glow-brand: 0 0 0 1px rgba(24, 92, 188, .25), 0 12px 40px -8px rgba(24, 92, 188, .55);
}

/* ---- Tipografia: Inter no corpo, Merriweather nos títulos ---- */
body {
  font-family: 'Inter', system-ui, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Merriweather', Georgia, serif;
}

/* ============================================================
   MOLDURA DA PÁGINA -- no site novo o <body> é bg-mist com lg:p-6 e todo o
   conteúdo fica num <main> max-w-[1440px] bg-paper, lg:rounded-[2.75rem],
   shadow-trust, overflow-hidden (a "margem" nas laterais e no topo). Aqui o
   equivalente do <main> é o <div class="page"> que já envolve toda página
   (o tema já dá overflow:hidden nele, então os cantos cortam o conteúdo).
   ============================================================ */
body {
  background-color: var(--sin-mist);
  color: var(--sin-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: rgba(24, 92, 188, .22); color: var(--sin-ink); }

.page {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  background-color: var(--sin-paper);
  /* "mesh" do site novo: manchas radiais azul/vermelho bem suaves */
  background-image:
    radial-gradient(at 18% 22%, rgba(24, 92, 188, .14) 0, transparent 45%),
    radial-gradient(at 82% 12%, rgba(236, 49, 54, .10) 0, transparent 40%),
    radial-gradient(at 70% 78%, rgba(24, 92, 188, .12) 0, transparent 45%),
    radial-gradient(at 28% 88%, rgba(236, 49, 54, .07) 0, transparent 42%);
  background-size: 180% 180%;
  animation: sinGradientShift 14s ease infinite;
}
@media (min-width: 1024px) {
  body { padding: 24px; }
  .page {
    border-radius: 44px; /* 2.75rem do site novo (lá o rem é 16px; aqui o tema usa 10px) */
    box-shadow: var(--sin-shadow-trust);
  }
}

/* ============================================================
   EFEITOS COMPARTILHADOS (header, hero, cards) -- mesmas animações
   e utilitários de novo.sinibref-inter.org.br, reescritos em CSS
   puro (lá é Tailwind CDN; aqui convive com Bootstrap, então nada
   de framework novo -- só as classes que o layout usa).
   ============================================================ */
@keyframes sinGlowPulse { 0%, 100% { opacity: .4; } 50% { opacity: .85; } }
@keyframes sinSpinSlow { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes sinSpinRev { from { transform: rotate(0); } to { transform: rotate(-360deg); } }
@keyframes sinGradientShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes sinRippleAnim { to { transform: scale(4); opacity: 0; } }

.nav-underline { position: relative; }
.nav-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--sin-brand), var(--sin-flag));
  transition: width .35s cubic-bezier(.16, 1, .3, 1);
}
.nav-underline:hover::after { width: 100%; }

.spotlight { position: relative; }
.spotlight::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(24, 92, 188, .16), transparent 60%);
  pointer-events: none;
}
.spotlight:hover::before { opacity: 1; }

.gradient-border { position: relative; border-radius: inherit; }
.gradient-border::before {
  content: "";
  position: absolute; inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: linear-gradient(130deg, var(--sin-brand), var(--sin-flag), var(--sin-brand));
  background-size: 200% 200%;
  animation: sinGradientShift 6s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: "";
  position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}
.btn-shine:hover::after { left: 140%; }

.ripple { position: relative; overflow: hidden; }
.ripple > .rp {
  position: absolute;
  border-radius: 9999px;
  transform: scale(0);
  background: rgba(255, 255, 255, .5);
  animation: sinRippleAnim .6s ease-out;
  pointer-events: none;
}

[data-reveal] {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(30px);
  transition: opacity .8s ease, filter .8s ease, transform .8s cubic-bezier(.16, 1, .3, 1);
}
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal].in { opacity: 1; filter: blur(0); transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1 !important; filter: none !important; transform: none !important; }
}

#progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  z-index: 100001;
  background: linear-gradient(90deg, var(--sin-brand), var(--sin-flag));
  box-shadow: 0 0 12px rgba(24, 92, 188, .6);
  transition: width .1s linear;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--sin-flag);
  margin-bottom: 8px;
}

.btn-pill, .btn-pill-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-decoration: none;
  cursor: pointer;
  transition: all .25s ease;
  border: none;
}
.btn-pill {
  background: var(--sin-brand);
  color: #fff;
  box-shadow: var(--sin-shadow-card);
}
.btn-pill:hover {
  background: var(--sin-brand-600);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--sin-shadow-glow-brand);
  transform: scale(1.03);
}
.btn-pill-outline {
  background: #fff;
  color: var(--sin-brand);
  border: 2px solid var(--sin-brand);
}
.btn-pill-outline:hover {
  background: var(--sin-mist);
  color: var(--sin-brand-600);
}

/* Faixa escura do topo (top utility bar do site novo): bg brand-950, texto
   paper/80, 0.68rem. margin:0 porque o tema tem "h1 + * { margin-top: 20px }"
   e esta faixa vem logo depois do <h1> oculto de SEO. */
.site-topbar {
  position: relative;
  z-index: 1000;
  margin: 0;
  background: var(--sin-brand-950);
  color: rgba(247, 249, 252, .8);
  font-size: .68rem;
}
.site-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 8px 20px;
}
@media (min-width: 992px) { .site-topbar-inner { padding: 8px 40px; } }
.site-topbar-texto { display: none; margin: 0; letter-spacing: .025em; }
@media (min-width: 640px) { .site-topbar-texto { display: flex; align-items: center; gap: 8px; } }
.site-topbar-texto i { color: var(--sin-flag-light); font-size: 14px; }
.site-topbar-social { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.site-topbar-social a { color: inherit; font-size: 16px; line-height: 1; transition: color .2s; }
.site-topbar-social a:hover { color: #F7F9FC; }
.site-topbar-social a.is-whatsapp:hover { color: #34d399; }
.site-topbar-social a.is-youtube:hover { color: #ef4444; }

/* ============================================================
   CABEÇALHO -- idêntico ao <header> do site novo (valores medidos com
   getComputedStyle em novo.sinibref-inter.org.br):
   sticky top-0 z-50 bg-paper/85 backdrop-blur-xl border-b border-ink/10;
   nav px-6 lg:px-12 py-3.5 gap-6; logo h-10 lg:h-12; links 10.88px bold
   uppercase tracking-wider brand-900/75; busca em pílula bg-mist.
   O tema usa rem de 10px, então tudo aqui está em px.
   position:sticky de verdade: dentro do .page (overflow:hidden) ele não
   gruda e rola com a página -- é assim também no site novo (dentro do
   <main overflow-hidden>), então o comportamento é o mesmo.
   ============================================================ */
.site-header {
  margin-top: 0; /* o tema tem "h1 + * { margin-top: 20px }" e o header vem logo depois do <h1> de SEO */
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(247, 249, 252, .85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(10, 27, 51, .1);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
}
@media (min-width: 1024px) { .site-header-inner { padding: 14px 48px; } }

.site-logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.site-logo img { height: 40px; width: auto; display: block; transition: transform .3s; }
@media (min-width: 1024px) { .site-logo img { height: 48px; } }
.site-logo:hover img { transform: scale(1.03); }

/* Menu horizontal: no site novo aparece a partir de xl (1280px). Aqui a
   página é um cartão 48px mais estreito e o menu tem o dropdown extra
   "Contribuição Sindical", então só entra quando cabe de verdade (1440px);
   abaixo disso vale o hambúrguer (mesmos links). Sem overflow:hidden de
   propósito -- cortaria o dropdown. */
.site-nav-desktop { display: none; }
@media (min-width: 1440px) { .site-nav-desktop { display: flex; align-items: center; } }

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item { position: relative; }
.nav-item-contato { display: none; }
.nav-link {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 10.88px;
  line-height: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: rgba(10, 34, 71, .75);
  text-decoration: none;
  white-space: nowrap;
  background: none;
  border: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: color .15s;
}
.nav-link:hover, .nav-link.is-active { color: #0A2247; text-decoration: none; }
.nav-item.active > .nav-link { color: var(--sin-brand); }
@media (min-width: 1536px) {
  .nav-links { gap: 24px; }
  .nav-link { font-size: 11.52px; }
}

/* Dropdown "Importante Saber": .drop absolute left-0 top-full pt-3 w-64 >
   bg-paper border border-ink/10 rounded-2xl shadow-trust p-2; itens
   px-4 py-2.5 rounded-xl text-xs font-medium. O pt-3 (12px) mantém o hover. */
.nav-drop {
  position: absolute;
  left: 0; top: 100%;
  padding-top: 12px;
  width: 256px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .25s ease;
  z-index: 60;
}
.site-nav-desktop .has-drop:hover > .nav-drop,
.has-drop.is-open > .nav-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop-box {
  background: var(--sin-paper);
  border: 1px solid rgba(10, 27, 51, .1);
  border-radius: 16px;
  box-shadow: var(--sin-shadow-trust);
  padding: 8px;
}
.nav-drop-box a {
  display: block;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: rgba(10, 34, 71, .75);
  text-decoration: none;
  white-space: normal;
  transition: all .15s;
}
.nav-drop-box a:hover { background: var(--sin-mist); color: var(--sin-brand); text-decoration: none; }
.nav-drop-chevron { flex-shrink: 0; transition: transform .2s; }

.site-header-actions { display: flex; align-items: center; gap: 12px; }

/* Busca: hidden md:flex items-center gap-2 bg-mist border border-ink/10
   rounded-full pl-4 pr-1.5 py-1.5 focus-within:border-brand/40
   focus-within:ring-2 focus-within:ring-brand/10; input text-xs w-28
   focus:w-36; botão w-7 h-7 rounded-full bg-brand text-paper */
.site-search {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--sin-mist);
  border: 1px solid rgba(10, 27, 51, .1);
  border-radius: 9999px;
  padding: 6px 6px 6px 16px;
  transition: all .15s;
}
@media (min-width: 768px) { .site-search { display: flex; } }
.site-search:focus-within {
  border-color: rgba(24, 92, 188, .4);
  box-shadow: 0 0 0 2px rgba(24, 92, 188, .1);
}
.site-search input {
  background: transparent;
  border: none;
  box-shadow: none;
  outline: none;
  padding: 0;
  height: auto;
  font-size: 12px;
  line-height: 16px;
  color: #0A2247;
  width: 112px;
  transition: width .15s;
}
.site-search input:focus { width: 144px; }
.site-search input::placeholder { color: rgba(10, 34, 71, .4); }
.site-search button {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sin-brand);
  color: var(--sin-paper);
  border: none;
  padding: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .15s;
}
.site-search button:hover { background: var(--sin-brand-600); }

/* Hambúrguer: xl:hidden w-10 h-10 rounded-full border border-ink/15 bg-paper */
.site-menu-toggle {
  display: flex;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(10, 27, 51, .15);
  background: var(--sin-paper);
  color: #0A2247;
  padding: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color .15s;
}
.site-menu-toggle:hover { background: var(--sin-mist); }
@media (min-width: 1440px) { .site-menu-toggle { display: none; } }

/* Painel mobile: xl:hidden border-t border-ink/10 bg-paper/95 backdrop-blur-xl;
   interno px-6 py-5 space-y-1; links px-4 py-3 rounded-xl text-sm semibold
   uppercase tracking-wide brand-900/80 hover:bg-mist hover:text-brand */
.site-mobile-menu {
  display: none;
  border-top: 1px solid rgba(10, 27, 51, .1);
  background: rgba(247, 249, 252, .95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.site-mobile-menu.is-open { display: block; }
@media (min-width: 1440px) { .site-mobile-menu { display: none !important; } }
.site-mobile-menu-inner { padding: 20px 24px; }
.site-mobile-menu .nav-links { flex-direction: column; align-items: stretch; gap: 4px; }
.site-mobile-menu .nav-link {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: .025em;
  color: rgba(10, 34, 71, .8);
}
.site-mobile-menu .nav-link:hover { background: var(--sin-mist); color: var(--sin-brand); }
.site-mobile-menu .nav-link::after { display: none; }
.site-mobile-menu .nav-drop-chevron { width: 16px; height: 16px; }
.site-mobile-menu .has-drop.is-open .nav-drop-chevron { transform: rotate(180deg); }
.site-mobile-menu .nav-drop {
  position: static;
  opacity: 1; visibility: visible; transform: none;
  padding: 4px 0 0 12px;
  width: auto;
  display: none;
}
.site-mobile-menu .has-drop.is-open > .nav-drop { display: block; }
.site-mobile-menu .nav-drop-box { background: transparent; border: none; box-shadow: none; padding: 0; }
.site-mobile-menu .nav-drop-box a { padding: 10px 16px; font-size: 12px; color: rgba(10, 34, 71, .65); }
.site-search-mobile { display: flex; width: 100%; margin-top: 12px; padding: 8px 6px 8px 16px; }
.site-search-mobile input { flex: 1; width: auto; font-size: 14px; line-height: 20px; }
.site-search-mobile input:focus { width: auto; }
.site-search-mobile button { width: 32px; height: 32px; }
.site-mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 14px 20px;
  border-radius: 9999px;
  background: var(--sin-brand);
  color: var(--sin-paper);
  font-size: 11.2px;
  line-height: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-decoration: none;
  box-shadow: var(--sin-shadow-card);
  transition: all .15s;
}
.site-mobile-cta:hover { background: var(--sin-brand-600); color: var(--sin-paper); text-decoration: none; }


/* Menu do usuário (Visitante / Minha Conta): flutuante e fora da navbar
   -- fica fixo na tela (não rola com a página) e independente do
   cabeçalho, que agora rola normalmente. top:122px pra ficar sempre
   abaixo da linha do cabeçalho (faixa 32px + 69~77px) quando ele está visível no
   topo da página, sem sobrepor logo/busca/hamburguer. */
.menu-usuario-flutuante-wrapper {
  position: fixed;
  top: 122px;
  right: 20px;
  z-index: 1000;
}
.menu-usuario-flutuante > li > a {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  padding: 7px 14px 7px 10px;
}
@media (max-width: 480px) { .menu-usuario-flutuante-wrapper { top: 112px; right: 12px; } }
/* ≥1024px a página vira um cartão com 24px de respiro (body padding) e
   max-width 1440px: desce o botão pelo padding e mantém ele dentro do cartão. */
@media (min-width: 1024px) {
  .menu-usuario-flutuante-wrapper {
    top: 152px; /* 24 (body) + 32 (faixa) + 77 (header) + 19 */
    right: calc(max(24px, (100vw - 1440px) / 2) + 16px);
  }
}
.site-mobile-menu .dropdown-flutuante::before { display: none; }

/* ============================================================
   HERO -- moldura escura com gradiente, brilhos e grade de pontos,
   envolvendo o carrossel Swiper já existente (views/banner.ejs).
   ============================================================ */
.hero-wrap {
  position: relative;
  overflow: hidden;
  background: var(--sin-brand-950);
  padding: 44px 16px 36px;
}
@media (min-width: 992px) { .hero-wrap { padding: 64px 32px 48px; } }
.hero-bg-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom right, var(--sin-brand-900), var(--sin-brand-950), var(--sin-ink));
}
.hero-bg-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .4;
}
.hero-glow {
  position: absolute;
  width: 26rem; height: 26rem;
  border-radius: 50%;
  filter: blur(70px);
  animation: sinGlowPulse 6s ease-in-out infinite;
  pointer-events: none;
}
.hero-glow-a { top: -6rem; right: -4rem; background: rgba(59, 122, 210, .25); }
.hero-glow-b { bottom: -6rem; left: -4rem; background: rgba(236, 49, 54, .2); animation-delay: 1.6s; }
.hero-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .08);
  transform: translate(-50%, -50%);
  pointer-events: none;
  display: none;
}
@media (min-width: 1200px) {
  .hero-ring { display: block; }
  .hero-ring-a { width: 820px; height: 820px; animation: sinSpinSlow 60s linear infinite; }
  .hero-ring-b { width: 1100px; height: 1100px; border-color: rgba(236, 49, 54, .07); animation: sinSpinRev 80s linear infinite; }
}
.hero-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; text-align: center; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--sin-flag-light);
  margin: 0 0 28px;
}
.hero-eyebrow-line { display: inline-block; width: 32px; height: 1px; background: rgba(242, 107, 111, .7); }
.hero-frame { position: relative; width: 100%; }
.hero-frame .gradient-border {
  border-radius: 1.75rem;
  padding: 8px;
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(20px);
  box-shadow: var(--sin-shadow-trust);
}
.hero-frame #banner-principal { border-radius: 1.3rem; box-shadow: none; }

.hero-wrap .swiper-button-next,
.hero-wrap .swiper-button-prev {
  background-color: rgba(6, 21, 46, .7);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .2);
}
.hero-wrap .swiper-button-next:hover,
.hero-wrap .swiper-button-prev:hover { background-color: var(--sin-brand); color: #fff; }
.hero-wrap .swiper-pagination-bullet { background: rgba(255, 255, 255, .3); opacity: 1; }
.hero-wrap .swiper-pagination-bullet-active { background: var(--sin-flag-light); width: 22px; border-radius: 5px; }

/* ============================================================
   SEÇÕES DA HOME -- cabeçalho padrão (eyebrow + título + texto) e
   largura/paddings consistentes entre as seções.
   ============================================================ */
.home-section { padding-left: 16px; padding-right: 16px; max-width: 1600px; margin: 0 auto; }
@media (min-width: 992px) { .home-section { padding-left: 40px; padding-right: 40px; } }
.home-section-head { margin-bottom: 36px; }
.home-section-head.home-section-head-center { text-align: center; }
.home-section-head .eyebrow { display: block; }
.home-section-head h2 { font-size: 28px; font-weight: 700; color: var(--sin-ink); letter-spacing: -.01em; margin: 0; }
@media (min-width: 992px) { .home-section-head h2 { font-size: 34px; } }
.home-section-head p { font-size: 14px; color: rgba(10, 27, 51, .55); max-width: 560px; margin: 10px 0 0; }
.home-section-head.home-section-head-center p { margin-left: auto; margin-right: auto; }
.home-section-noticias, .home-section-lives { padding-top: 48px; padding-bottom: 32px; }
.home-section-lives { background: rgba(236, 241, 248, .6); }

/* ---- Cards "serviços" (jurídico / boleto / atendimento) ----
   Mesmos valores do bloco #servicos do site novo (Tailwind: grid-cols-1
   md:grid-cols-3 gap-6; card bg-paper border border-ink/10 rounded-2xl p-7
   hover:border-brand hover:shadow-glow-brand; ícone w-12 h-12 rounded-xl
   bg-brand/10 -> group-hover:bg-brand, Lucide w-5 h-5 text-brand ->
   text-paper; seta arrow-up-right w-4 h-4 text-brand-900/30 -> brand;
   h3 serifada text-lg bold; p text-sm leading-relaxed). */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  display: block;
  background: var(--sin-paper);
  border: 1px solid rgba(10, 27, 51, .1);
  border-radius: 16px;
  padding: 28px;
  text-align: left;
  white-space: normal; /* o tema põe nowrap em links; sem isso o texto não quebra no mobile */
  min-width: 0;
  text-decoration: none;
  color: inherit;
  transition: all .3s ease;
}
/* o tema tem a[href^="mailto:"] { white-space: nowrap }, mais específico que .service-card */
.services-grid a.service-card { white-space: normal; }
.service-card:hover {
  border-color: var(--sin-brand);
  box-shadow: var(--sin-shadow-glow-brand);
  text-decoration: none;
  color: inherit;
}
.service-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }
.service-card-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(24, 92, 188, .1);
  color: var(--sin-brand);
  transition: background-color .15s, color .15s;
}
.service-card:hover .service-card-icon { background: var(--sin-brand); color: var(--sin-paper); }
.service-card-svg { width: 20px; height: 20px; display: block; }
.service-card-arrow {
  width: 16px; height: 16px;
  color: rgba(10, 34, 71, .3);
  transition: color .15s;
}
.service-card:hover .service-card-arrow { color: var(--sin-brand); }
.service-card h3 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
  color: #0A2247;
  margin: 0 0 8px;
}
.service-card p {
  font-size: 14px;
  line-height: 1.625;
  color: rgba(10, 34, 71, .6);
  margin: 0;
}
.service-card p + .service-card-phone { margin-top: 4px; }
.service-card-phone {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--sin-brand);
  transition: color .15s;
}
.service-card:hover .service-card-phone { color: var(--sin-brand-600); }

/* ---- Banners promocionais (Modelos de documentos / Guias / Revista / Captação) ---- */
.promo-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 576px) { .promo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .promo-grid { grid-template-columns: repeat(4, 1fr); } }
.promo-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(10, 27, 51, .1);
  background: #fff;
  box-shadow: var(--sin-shadow-card);
  transition: all .3s ease;
}
.promo-card:hover { box-shadow: var(--sin-shadow-glow-brand); transform: translateY(-5px); }
.promo-card img { width: 100%; height: auto; display: block; transition: transform .5s ease; }
.promo-card:hover img { transform: scale(1.04); }

/* ---- Estatísticas (Atendimentos em Números) ---- */
.stats-grid { display: grid; grid-template-columns: 1fr; gap: 32px; max-width: 960px; margin: 0 auto; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stats-group { background: #fff; border: 1px solid rgba(10, 27, 51, .1); border-radius: 18px; padding: 28px; box-shadow: var(--sin-shadow-card); }
.stats-group-title { font-size: 18px; font-weight: 700; color: var(--sin-ink); margin: 0 0 18px; text-align: center; }
.stat-tile { text-align: center; padding: 14px 0; }
.stat-tile + .stat-tile { border-top: 1px dashed rgba(10, 27, 51, .12); }
.stat-tile-number { font-family: 'JetBrains Mono', monospace; font-size: 34px; font-weight: 600; color: var(--sin-brand); margin: 0; line-height: 1.1; }
.stat-tile-label { font-size: 13px; color: rgba(10, 27, 51, .55); margin: 4px 0 0; }

/* ---- Cards de notícia (post-boxed) ---- */
.post-boxed {
  display: block;
  background: #fff;
  border: 1px solid rgba(10, 27, 51, .1);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--sin-shadow-card);
  transition: all .3s ease;
  height: 100%;
}
.post-boxed:hover { box-shadow: var(--sin-shadow-glow-brand); transform: translateY(-4px); }
.post-boxed-image { overflow: hidden; aspect-ratio: 16/10; }
.post-boxed-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-boxed:hover .post-boxed-image img { transform: scale(1.05); }
.post-boxed-body { padding: 22px; }
.post-boxed-title { font-family: 'Merriweather', Georgia, serif; font-size: 16px; font-weight: 700; color: var(--sin-ink); line-height: 1.4; margin-bottom: 10px; }
.post-boxed-text { font-size: 13px; color: rgba(10, 27, 51, .55); line-height: 1.6; }
.post-boxed-meta { font-size: 11px; color: rgba(10, 27, 51, .4); font-family: 'JetBrains Mono', monospace; }

/* ---- Cards de live (vídeo) ---- */
.live-card {
  border: 1px solid rgba(10, 27, 51, .1);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--sin-shadow-card);
  transition: all .3s ease;
}
.live-card:hover { box-shadow: var(--sin-shadow-glow-brand); transform: translateY(-4px); }

/* ============================================================
   RODAPÉ -- camada decorativa (brilhos + grade), ícones sociais em
   botões circulares e WhatsApp flutuante.
   ============================================================ */
.site-footer { position: relative; overflow: hidden; }
.site-footer-glow {
  position: absolute;
  width: 20rem; height: 20rem;
  border-radius: 50%;
  filter: blur(70px);
  animation: sinGlowPulse 6s ease-in-out infinite;
  pointer-events: none;
}
.site-footer-glow-a { top: -6rem; right: -4rem; background: rgba(59, 122, 210, .25); }
.site-footer-glow-b { bottom: -6rem; left: -4rem; background: rgba(236, 49, 54, .15); animation-delay: 2s; }
.site-footer-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}
.site-footer .section-40, .site-footer .section-35, .site-footer .container { position: relative; z-index: 1; }

.recaptcha-aviso {
  margin: 18px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .45);
  text-align: center;
}
.recaptcha-aviso a { color: rgba(255, 255, 255, .65) !important; text-decoration: underline; }
.recaptcha-aviso a:hover { color: #fff !important; }
@media (min-width: 768px) { .recaptcha-aviso { text-align: left; } }

.site-footer-social { display: inline-flex; align-items: center; gap: 10px; }
.site-footer-social-label { font-size: 12px; font-style: italic; color: rgba(255, 255, 255, .6); margin-right: 4px; }
.site-footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .7) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all .25s ease;
}
.site-footer-social a:hover {
  background: var(--sin-brand);
  border-color: var(--sin-brand);
  color: #fff !important;
  transform: translateY(-2px);
}

.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 998;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #059669;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: var(--sin-shadow-trust);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }
.whatsapp-float-ping {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: rgba(5, 150, 105, .6);
  animation: sinPing 1.8s cubic-bezier(0,0,.2,1) infinite;
  z-index: -1;
}
@keyframes sinPing { 75%, 100% { transform: scale(1.9); opacity: 0; } }

/* ---- Cards da home (jurídico / boleto / atendimento) ----
   Troca as bordas-de-canto decorativas do tema por cartão branco
   com sombra suave e cantos arredondados, no estilo do site novo. */
.icon-box {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 14px 44px -18px rgba(10, 27, 51, .2);
  transition: transform .25s ease, box-shadow .25s ease;
}
.icon-box:before, .icon-box:after { display: none; }
.icon-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 55px -16px rgba(10, 27, 51, .28);
}
.icon-box .bg-accent { background: var(--sin-brand) !important; }

/* ---- Botão primário (Bootstrap .btn-primary) ----
   O tema compila o dourado do bootstrap.css (--primary: #cca876) como
   hex literal em cada regra, não var() -- sem isso o botão principal
   de formulários (fale conosco, 404, eventos etc.) ficava fora da
   paleta nova mesmo com o resto da página já alinhado. */
.btn-primary {
  color: #fff;
  background-color: var(--sin-brand);
  border-color: var(--sin-brand);
}
.btn-primary:hover {
  color: #fff;
  background-color: var(--sin-brand-600);
  border-color: var(--sin-brand-600);
}
.btn-primary:focus, .btn-primary.focus {
  box-shadow: 0 0 0 .2rem rgba(24, 92, 188, .5);
}
.btn-primary.disabled, .btn-primary:disabled {
  background-color: var(--sin-brand);
  border-color: var(--sin-brand);
}
.btn-primary:not([disabled]):not(.disabled):active,
.btn-primary:not([disabled]):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: var(--sin-brand-600);
  border-color: var(--sin-brand-600);
  box-shadow: 0 0 0 .2rem rgba(24, 92, 188, .5);
}
