:root {
  --aciv-blue: #4663b3;
  --aciv-blue-dark: #3a5499;
  --aciv-heading: #54595f;
  --aciv-title: #333333;
  --aciv-ink: #4a4a4a;
  --aciv-muted: #adadad;
  --aciv-crumb: #c6c6c6;
  --aciv-line: #f1f1f1;
  --aciv-paper: #f5f5f5;
  --aciv-container: 1200px;
  --aciv-content: 1140px;
  --aciv-yellow: #fdd247;
  --aciv-el-primary: #6ec1e4;
  --aciv-el-text: #7a7a7a;
}

/* ==========================================================================
   NormalizaÃ§Ã£o
   O restante desta folha foi escrito sobre o preflight do Tailwind, que os
   protÃ³tipos carregavam pelo CDN. Reproduzido aqui na mesma ordem, para que
   as regras seguintes continuem partindo do mesmo estado inicial.
   ========================================================================== */
*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}
body { margin: 0; line-height: inherit; }
hr { height: 0; color: inherit; border-top-width: 1px; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; margin: 0; }
p, figure, blockquote, pre, dl, dd { margin: 0; }
ol, ul, menu { list-style: none; margin: 0; padding: 0; }
img, svg, video, canvas, iframe, embed, object { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}
button, select { text-transform: none; }
button, [type='button'], [type='reset'], [type='submit'] {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
  cursor: pointer;
}
a { color: inherit; text-decoration: inherit; }
:disabled { cursor: default; }
::placeholder { opacity: 1; color: #9ca3af; }
[hidden] { display: none; }

html { scroll-behavior: smooth; }
body {
  font-family: Poppins, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--aciv-ink);
  background: #fff;
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--aciv-blue);
  color: #fff !important;
  padding: 8px 16px;
  font-size: 13px;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
}

a { color: var(--aciv-blue); text-decoration: none; }
a:hover { color: var(--aciv-blue-dark); }

/* Caixa do tema (OceanWP): page-header e footer-bottom */
.container { width: var(--aciv-container); max-width: 90%; margin: 0 auto; padding: 0; }
/* Caixa do Elementor: header, nav, conteÃºdo e widgets do rodapÃ© */
.container-e { width: var(--aciv-content); max-width: 90%; margin: 0 auto; padding: 0; }

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--aciv-line);
}
.header-top { padding: 30px 0; }
.header-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 12px;
}
.site-logo { display: flex; justify-content: center; }
.site-logo img { width: 80%; max-width: 440px; height: auto; }
.header-left { min-width: 0; }
.header-cta { display: flex; justify-content: flex-end; }
.menu-toggle {
  display: none;
  border: 0;
  color: #fff;
  background: transparent;
  padding: 12px;
  font-size: 13px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.btn-aciv {
  display: inline-block;
  background: var(--aciv-blue);
  color: #fff !important;
  border-radius: 4px;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 15px 30px;
  text-align: center;
  transition: background-color 0.2s ease;
}
/* O CTA do header nÃ£o muda de cor no hover em produÃ§Ã£o (post-1979 nÃ£o define :hover). */
.btn-aciv:hover { background: var(--aciv-blue); color: #fff !important; }
/* BotÃ£o de conteÃºdo: .elementor-button base â€” 12px 24px / radius 3 / 15px */
.btn-aciv-sm { font-size: 15px; padding: 12px 24px; border-radius: 3px; }
/* Páginas internas: hover no azul escuro. Em produção era o amarelo, que com o
   texto branco não chega a 1,5:1 de contraste. Os dois botões da home usam cinza. */
.btn-aciv-sm:hover { background: var(--aciv-blue-dark); color: #fff !important; }
.btn-aciv-home:hover { background: var(--aciv-heading); color: #fff !important; }
/* Os botÃµes de conteÃºdo das pÃ¡ginas de serviÃ§o sÃ£o centralizados (elementor-align-center) */
.btn-center { text-align: center; }
/* FormulÃ¡rio das internas: coluna de 66% centralizada (col-16 / col-66 / col-16) */
.form-col { width: 66%; margin: 40px auto 0; }
@media (max-width: 767px) { .form-col { width: 100%; } }
.btn-aciv-white {
  background: #fff;
  color: #000 !important;
  font-family: Roboto, sans-serif;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 3px;
}
.btn-aciv-white:hover { background: #f3f3f3; color: #000 !important; }
.btn-aciv-on-brand {
  background: #fff;
  color: #000 !important;
  font-family: Roboto, sans-serif;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 3px;
}
.btn-aciv-on-brand:hover { background: #f3f3f3; color: #000 !important; }

/* Nav */
.nav-bar {
  background: var(--aciv-blue);
  text-align: center;
}
.main-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 10px 0;
  gap: 0;
}
.main-menu > li { position: relative; }
.main-menu > li > a,
.main-menu > li > span.menu-link {
  display: block;
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  line-height: 40px;
  padding: 0 15px;
  white-space: nowrap;
}
.main-menu > li > a:hover,
.main-menu > li > span.menu-link:hover,
.main-menu > li.is-current > a,
.main-menu > li.is-current > span.menu-link { color: #e8eeff; }
.main-menu .nav-arrow {
  margin-left: 6px;
  font-size: 11px;
}
.dropdown-panel {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: #fff;
  min-width: 215px;
  z-index: 40;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.dropdown:hover > .dropdown-panel,
.dropdown:focus-within > .dropdown-panel { display: block; }
.dropdown-panel a {
  display: block;
  color: var(--aciv-blue);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  line-height: 1.2;
  padding: 12px 15px;
}
.dropdown-panel a:hover,
.dropdown-panel .menu-link:hover { background: var(--aciv-paper); color: var(--aciv-blue-dark); }
.dropdown-panel .menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--aciv-blue);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  line-height: 1.2;
  padding: 12px 15px;
  cursor: default;
}
.dropdown-panel .dropdown { position: relative; }
.dropdown-panel .dropdown > .dropdown-panel {
  left: 100%;
  top: 0;
  min-width: 240px;
}
.dropdown-panel.align-right { left: auto; right: 0; }
.dropdown-panel.align-right .dropdown > .dropdown-panel {
  left: auto;
  right: 100%;
}

.mobile-menu {
  display: none;
  background: var(--aciv-blue);
  color: #fff;
  padding: 12px 20px 20px;
}
.mobile-menu a,
.mobile-menu button.mobile-acc {
  display: block;
  width: 100%;
  background: none;
  border: 0;
  color: #fff;
  padding: 8px 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: Poppins, sans-serif;
  text-align: left;
  cursor: pointer;
}
/* A seta indica que o item abre subníveis e gira quando o painel está aberto. */
.mobile-menu button.mobile-acc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mobile-acc-arrow {
  flex: 0 0 auto;
  font-size: 14px;
  transition: transform 0.2s ease;
}
.mobile-acc[aria-expanded="true"] > .mobile-acc-arrow { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) {
  .mobile-acc-arrow { transition: none; }
}
.mobile-menu .mobile-sub { display: none; padding-left: 14px; }
.mobile-menu .mobile-sub.is-open { display: block; }
.mobile-menu .mobile-sub .mobile-acc { font-weight: 500; }
.mobile-menu.is-open { display: block; }

/* Page header (OceanWP) */
.page-header {
  background: var(--aciv-paper);
  padding: 34px 0;
}
.centered-page-header { text-align: center; }
.page-header-title {
  margin: 0;
  font-family: Poppins, sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--aciv-title);
}
.site-breadcrumbs {
  margin-top: 8px;
  font-size: 13px;
  color: var(--aciv-crumb);
}
.site-breadcrumbs a { color: var(--aciv-blue); }
.site-breadcrumbs .icon-home { font-size: 14px; }
.site-breadcrumbs .trail-items { list-style: none; margin: 0; padding: 0; }
.site-breadcrumbs .trail-item { display: inline-block; }
.site-breadcrumbs [aria-current="page"] { color: var(--aciv-blue); }
.breadcrumb-home { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.breadcrumb-sep { margin: 0 6px; color: var(--aciv-crumb); }

.content-wrap { padding: 60px 10px; }

.section-title {
  font-family: Poppins, sans-serif;
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
  color: var(--aciv-heading);
  text-align: center;
  margin: 0;
}
.section-title-left { text-align: left; }
.section-rule {
  width: 64px;
  height: 3px;
  background: var(--aciv-blue);
  margin: 14px auto 36px;
  border: 0;
}
.section-rule-left { margin-left: 0; }

/* Home slider */
.home-slider {position: relative;/* background: #1a2a4a; */}

/* Os banners sÃ£o todos 1430x350. Fixar a altura em 350px cortava o topo e a
   base assim que a largura da tela saÃ­a desse valor; a proporÃ§Ã£o declarada
   deixa a imagem inteira Ã  mostra em qualquer largura.
   Vale também no celular: a 390px o banner fica com 95px de altura. Uma altura
   fixa aqui só encolheria a arte — em 180px o `cover` cortaria 47% da largura,
   e o texto do anunciante sai junto. Enquanto o slider servir a mesma peça
   1430x350 para todas as telas, este é o limite: legibilidade no celular pede
   arte própria, não CSS. */
.home-slider .slide a { display: block; }

.home-slider .slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1430 / 350;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Controles do carrossel

   Três exigências guiaram estas regras:

   1. Contraste (WCAG 1.4.11). As setas ficam sobre o banner, cuja cor varia de
      quase branco a quase preto — branco puro sobre banner claro dava 1,09:1.
      A pastilha escura a 65% traz o ícone para 5,8:1 no pior caso.
   2. Alvo de toque (WCAG 2.5.5). Setas e pontos têm 44x44px de área clicável;
      no caso dos pontos, quem desenha o círculo é o <span> interno, então o
      botão pode crescer sem que o ponto cresça junto.
   3. Foco visível (WCAG 2.4.7). O anel branco com halo escuro em volta se
      enxerga tanto sobre banner claro quanto escuro.
   -------------------------------------------------------------------------- */

.home-slider .owl-nav button.owl-prev,
.home-slider .owl-nav button.owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.65);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.home-slider .owl-nav button.owl-prev { left: 16px; }
.home-slider .owl-nav button.owl-next { right: 16px; }
.home-slider .owl-nav button.owl-prev span,
.home-slider .owl-nav button.owl-next span {
  /* O glifo tem folga à direita; este recuo o recentra na pastilha. */
  margin-top: -4px;
}
.home-slider .owl-nav button:hover {
  background: rgba(17, 24, 39, 0.85);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.home-slider .owl-nav button.disabled { opacity: 0.45; }

/* Indicadores sobre a faixa inferior do banner. O recuo negativo é a altura de
   um botão, de modo que a base deles encoste na base da imagem.
   O ponto branco com contorno escuro se enxerga sobre qualquer banner: no
   claro quem o define é o contorno (8,1:1), no escuro é o próprio branco
   (16,7:1). Só o <span> desenha o círculo, então o botão pode ter os 44px de
   alvo sem que o ponto cresça junto. */
.home-slider .owl-dots {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  margin-top: -44px;
  line-height: 0;
}
.home-slider .owl-dots button.owl-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: none;
  cursor: pointer;
}
.home-slider .owl-dots button.owl-dot span {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.7);
  transition: background 0.2s ease, transform 0.2s ease;
}
.home-slider .owl-dots button.owl-dot:hover span { background: rgba(255, 255, 255, 0.9); }
.home-slider .owl-dots button.owl-dot.active span {
  background: #fff;
  transform: scale(1.3);
}

/* Um anel branco com halo escuro se enxerga sobre qualquer banner. */
.home-slider .owl-nav button:focus-visible,
.home-slider .owl-dots button.owl-dot:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(17, 24, 39, 0.8);
}

@media (prefers-reduced-motion: reduce) {
  .home-slider .owl-nav button,
  .home-slider .owl-dots button.owl-dot span { transition: none; }
  .home-slider .owl-dots button.owl-dot.active span { transform: none; }
}

@media (max-width: 767px) {
  .home-slider .owl-nav button.owl-prev { left: 6px; }
  .home-slider .owl-nav button.owl-next { right: 6px; }
}

/* Antes do plugin assumir, os slides ficam empilhados; esconder os seguintes
   evita o salto na primeira pintura. */
.home-slider .owl-carousel:not(.owl-loaded) .slide:not(:first-child) { display: none; }

/* News cards (Elementor posts) */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.news-card {
  background: #fff;
  box-shadow: 0 0 10px 0 rgba(0,0,0,.15);
}
.news-card-media { position: relative; }
.news-card-media img { width: 100%; height: 220px; object-fit: cover; display: block; }
.news-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--aciv-blue);
  color: #fff;
  font-family: Roboto, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  padding: 7.2px 14.4px;
  border-radius: 999px;
}
.news-avatar {
  position: absolute;
  left: 20px;
  bottom: -22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #cfd4dc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  border: 3px solid #fff;
  overflow: hidden;
}
.news-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card-body { padding: 36px 30px 0; }
.news-card-title {
  font-family: Roboto, sans-serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--aciv-heading);
  margin: 0 0 16px;
}
.news-card-title a { color: var(--aciv-heading); }
.news-card-title a:hover { color: var(--aciv-blue); }
.news-read {
  display: inline-block;
  color: var(--aciv-blue);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 18px;
}
.news-meta {
  font-family: "Roboto Slab", serif;
  font-size: 12px;
  color: var(--aciv-muted);
  padding: 15px 30px;
  border-top: 1px solid #eee;
  margin-top: 8px;
}

/* Services */
.services-band { background: var(--aciv-paper); padding: 70px 0; }
.service-item { display: flex; gap: 16px; align-items: flex-start; }
.service-icon {
  /* width: 70px; */
  /* height: 40px; */
  border-radius: 50%;
  background: var(--aciv-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.service-item h3 {
  font-family: Poppins, sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--aciv-heading);
  margin: 0 0 8px;
}

/* Curriculo banner */
.curriculo-banner {
  position: relative;
  min-height: 280px;
  background: center/cover no-repeat url("/wp-content/uploads/2019/09/banco-de-curriulos.png");
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.curriculo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(70, 99, 179, 0.72);
}
.curriculo-banner .inner { position: relative; z-index: 1; padding: 48px 20px; }
.curriculo-banner h2 {
  font-family: Poppins, sans-serif;
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
  margin: 0 0 12px;
  color: #fff;
}
.curriculo-banner p { font-size: 22px; margin: 0 0 24px; color: #fff; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: center;
  padding: 70px 0;
}
.about-grid img { width: 100%; height: auto; display: block; }
.about-grid h2 { text-align: left; }
.about-grid p { margin: 18px 0 24px; }

.partners-band { background: var(--aciv-paper); padding: 70px 0 80px; }
.partners-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px;
}
.partners-track img {
  height: 64px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

/* Newsletter */
.newsletter-band {
  background: var(--aciv-blue);
  color: #fff;
  text-align: center;
  padding: 56px 20px;
}
.newsletter-band h2 {
  font-family: Poppins, sans-serif;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -1.5px;
  line-height: 1.2;
  margin: 0 0 10px;
  color: #fff;
}
.newsletter-band p { margin: 0 0 22px; }
.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 8px;
  max-width: 640px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  max-width: 360px;
  background: #fff;
  color: var(--aciv-ink);
}

/* Footer */
.site-footer { background: #fff; }
.footer-widgets {
  background: var(--aciv-paper);
  padding: 40px 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.footer-logo { width: 120px; height: auto; margin-bottom: 16px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li {
  color: #545454;
  font-size: 16px;
  line-height: 2.5em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-list i { color: var(--aciv-blue); font-size: 14px; width: 18px; }
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 30px;
}
.footer-links li {
  break-inside: avoid;
  font-size: 16px;
  line-height: 1.4;
  padding: 7px 0;
}
.footer-links a { color: #545454; }
.footer-links a:hover { color: var(--aciv-blue); }
.footer-links-arrow {
  margin-right: 8px;
  font-size: 12px;
  color: var(--aciv-muted);
  transition: color 0.2s ease;
}
.footer-links a:hover .footer-links-arrow { color: var(--aciv-blue); }
.footer-widgets h4 {
  font-family: Roboto, sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--aciv-blue);
  text-align: left;
  position: relative;
  margin: 0 0 16px;
  padding-bottom: 10px;
}
.footer-widgets h4::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 10px;
  border-bottom: 3px solid var(--aciv-blue);
}
.footer-social iframe,
.fb-embed {
  width: 100%;
  max-width: 360px;
  height: 140px;
  border: 0;
  margin: 0;
  display: block;
}
#footer-bottom {
  background: #fff;
  color: #000;
  font-size: 12px;
  line-height: 1;
  padding: 15px 0;
  text-align: center;
}
#footer-bottom a { color: #000; }

/* Inner content */
.prose-aciv h2 {
  font-family: Roboto, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--aciv-blue);
  margin: 1.5rem 0 0.75rem;
  text-align: center;
}
.prose-aciv h3 { font-weight: 600; margin: 1.25rem 0 0.5rem; }
.prose-aciv ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.prose-aciv li { margin-bottom: 0.35rem; }

/* --- ConteÃºdo interno (camada Elementor) ---
   O widget text-editor forÃ§a Roboto 400 e a cor global de texto; o parÃ¡grafo
   herda margin 0 0 20px do OceanWP, nÃ£o o 1rem do Tailwind. --- */
.prose-aciv {
  font-family: Roboto, sans-serif;
  font-weight: 400;
  color: var(--aciv-el-text);
}
.prose-aciv p { margin: 0 0 20px; }
.prose-aciv p:last-child { margin-bottom: 0; }

/* FamÃ­lia A: pÃ¡ginas com tipografia prÃ³pria no Elementor */
.prose-aciv--justify p,
.prose-aciv--justify ul,
.prose-aciv--justify li { text-align: justify; }
.content-17 { font-size: 17px; }
.content-18 { font-size: 18px; }
.section-heading-36,
.section-heading-20 {
  font-family: Roboto, sans-serif;
  font-weight: 600;
  line-height: 1;
  color: var(--aciv-el-primary);
  margin: 0 0 20px;
}
.section-heading-36 { font-size: 36px; text-align: center; }
.section-heading-20 { font-size: 20px; }
/* Contato tem escala prÃ³pria em produÃ§Ã£o */
.section-heading-56,
.section-heading-26,
.section-heading-20-light {
  font-family: Roboto, sans-serif;
  line-height: 1.4;
  color: var(--aciv-el-primary);
  margin: 0 0 20px;
  text-align: center;
}
.section-heading-56 { font-size: 56px; font-weight: 700; }
.section-heading-26 { font-size: 26px; font-weight: 600; }
.section-heading-20-light { font-size: 20px; font-weight: 300; color: #000; }
/* Modificadores */
.section-heading-left { text-align: left; }
.section-heading-brand { color: var(--aciv-blue); }
/* Nota abaixo do tÃ­tulo do formulÃ¡rio: h4 17px #545454 centralizado */
.form-note { font-family: Roboto, sans-serif; font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--aciv-footer-text, #545454); text-align: center; margin: 0 0 20px; }
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 40px;
}
.mvv-grid > article { padding: 10px; }
.mvv-grid h2 {
  font-family: Roboto, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--aciv-blue);
  text-align: center;
  margin: 0 0 12px;
}
.mvv-grid p { text-align: justify; color: var(--aciv-heading); }

/* Spacer do Elementor usado entre o MVV e a galeria da HistÃ³ria */
.e-spacer { height: 50px; margin: 40px 0 30px; }

/* Galeria (widget Gallery): 4/2/1 colunas, gap 10px, proporÃ§Ã£o 3:2, overlay no hover */
.e-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.e-gallery a { position: relative; display: block; overflow: hidden; }
.e-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.e-gallery-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background-color 800ms;
}
.e-gallery a:hover .e-gallery-overlay,
.e-gallery a:focus-visible .e-gallery-overlay { background: rgba(0, 0, 0, 0.5); }
@media (max-width: 1024px) { .e-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .e-gallery { grid-template-columns: 1fr; } }

/* Archive list */
.blog-entry {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 0 0 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid #eee;
}
.blog-entry img { width: 100%; height: 187px; object-fit: cover; }
.blog-cat {
  color: var(--aciv-blue);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.blog-entry h2 {
  font-family: Poppins, sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  margin: 6px 0 10px;
}
.blog-entry h2 a { color: var(--aciv-blue); }
.blog-entry h2 a:hover { color: var(--aciv-blue-dark); }
.sidebar-box { margin-bottom: 28px; }
.sidebar-box img { width: 100%; height: auto; display: block; }
.sidebar-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--aciv-heading);
  border-left: 3px solid var(--aciv-blue);
  padding-left: 10px;
  margin: 0 0 12px;
}
.pagination { display: flex; gap: 8px; margin-top: 24px; }
.pagination a, .pagination span {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  color: var(--aciv-ink);
  font-size: 14px;
}
.pagination .current { background: var(--aciv-blue); color: #fff; border-color: var(--aciv-blue); }

/* Forms â€” em produÃ§Ã£o o formulÃ¡rio fica sobre o branco, sem caixa cinza;
   os campos Ã© que sÃ£o brancos com borda (elementor-field). */
.form-box { background: transparent; padding: 0; }
.form-box label { display: block; margin-bottom: 14px; font-size: 14px; }
.form-box input, .form-box select, .form-box textarea { background: #fff; }
input, select, textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 3px;
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
  font-family: Poppins, sans-serif;
  box-sizing: border-box;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--aciv-blue) 35%, white);
  border-color: var(--aciv-blue);
}

/* â”€â”€ Timeline (equivalente ao widget JetElements Timeline da produÃ§Ã£o) â”€â”€ */
.jet-timeline { position: relative; display: block; width: 100%; }
.jet-timeline__line {
  position: absolute;
  width: 2px;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #f2f2f2;
  overflow: hidden;
}
.jet-timeline__line-progress {
  width: 100%;
  height: 20%;
  background: var(--aciv-blue);
  transition: height 0.2s linear;
}

.jet-timeline-item {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}
.jet-timeline-item + .jet-timeline-item { margin-top: 30px; }

.timeline-item__card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 6px;
  box-shadow: 2px 2px 30px 0 rgba(156, 156, 192, 0.26);
}
.timeline-item__card-inner { z-index: 1; }
.timeline-item__card-img { margin-bottom: 10px; font-size: 0; }
.timeline-item__card-img img { max-width: 100%; height: auto; display: block; }
.timeline-item__card-content { padding: 40px; }
.timeline-item__card-title { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--aciv-title); }

.timeline-item__card-arrow {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #fff;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.timeline-item__meta { display: inline-block; }
.timeline-item__meta-content {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: var(--aciv-blue);
}

.timeline-item__point { margin-left: 20px; margin-right: 20px; }
.timeline-item__point-content {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--aciv-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-item__point-content .jet-elements-icon { font-size: 16px; line-height: 1; }

/* Desktop: cards alternando dos dois lados do trilho â€” a produÃ§Ã£o troca em 1025px */
@media (min-width: 1025px) {
  .jet-timeline-item:nth-child(even) { flex-direction: row-reverse; }
  .timeline-item__card { flex-grow: 1; flex-basis: 50%; max-width: 50%; order: 0; }
  .timeline-item__point { flex-shrink: 0; flex-grow: 0; order: 1; }
  .timeline-item__meta { flex-grow: 1; flex-basis: 50%; max-width: 50%; order: 2; }
  .jet-timeline-item:nth-child(odd) .timeline-item__meta { text-align: left; }
  .jet-timeline-item:nth-child(even) .timeline-item__meta { text-align: right; }
  .jet-timeline-item:nth-child(odd) .timeline-item__card-arrow { right: 0; margin-right: -10px; }
  .jet-timeline-item:nth-child(even) .timeline-item__card-arrow { left: 0; margin-left: -10px; }
  .timeline-item__card-content > .timeline-item__meta { display: none; }
}

/* AtÃ© 1024px: trilho Ã  esquerda, data volta para dentro do card */
@media (max-width: 1024px) {
  .jet-timeline__line { left: 0; transform: none; }
  .timeline-item__point { flex-grow: 0; order: 0; margin-left: 0; }
  .timeline-item__card { flex-grow: 1; order: 1; margin-left: 10px; }
  .timeline-item__card-arrow { left: 0; margin-left: -10px; }
  .jet-timeline-item > .timeline-item__meta { display: none; }
  .timeline-item__card-content > .timeline-item__meta { display: block; margin-bottom: 6px; }
}

/* Entrada dos cards */
@media (min-width: 430px) {
  .jet-timeline-item .timeline-item__card {
    opacity: 0;
    animation-duration: 1s;
    animation-fill-mode: both;
  }
  .jet-timeline-item.is--show:nth-child(odd) .timeline-item__card { animation-name: card-animation-left; }
  .jet-timeline-item.is--show:nth-child(even) .timeline-item__card { animation-name: card-animation-right; }
  @keyframes card-animation-left {
    0% { opacity: 0; transform: translateX(-400px); }
    100% { opacity: 1; transform: translateX(0); }
  }
  @keyframes card-animation-right {
    0% { opacity: 0; transform: translateX(400px); }
    100% { opacity: 1; transform: translateX(0); }
  }
}
@media (max-width: 429px) {
  .jet-timeline-item .timeline-item__card {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition: opacity 0.5s ease-out, transform 0.6s ease-out;
  }
  .jet-timeline-item.is--show .timeline-item__card { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .jet-timeline-item .timeline-item__card { opacity: 1; animation: none; transform: none; }
}


.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.88);
  z-index: 80;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lightbox.is-open { display: flex; }

/* Controles do lightbox — mesma pastilha das setas do carrossel: sobre a foto,
   que pode ser clara ou escura, só o fundo escuro a 65% garante o contraste. */
.lightbox-btn {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.65);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.lightbox-btn:hover {
  background: rgba(17, 24, 39, 0.85);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.lightbox-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(17, 24, 39, 0.8);
}
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-close { top: 16px; right: 16px; }

.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0;
  max-width: 100%;
}
.lightbox-img {
  display: block;
  max-height: 82vh;
  max-width: 100%;
  width: auto;
  height: auto;
}
/* O contador cai sobre a página, que continua visível por trás do véu — a
   pastilha o mantém legível seja qual for o texto atrás dele. */
.lightbox-count {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.65);
  color: #fff;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  letter-spacing: 0.6px;
}
.lightbox-count:empty { display: none; }

/* Com o lightbox aberto, a página atrás não rola. */
body.lightbox-aberto { overflow: hidden; }

@media (max-width: 767px) {
  .lightbox { padding: 1rem 0.5rem 1.5rem; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .lightbox-close { top: 8px; right: 8px; }
  .lightbox-img { max-height: 74vh; }
}

/* No celular em pé a foto ocupa a largura toda, e seta na lateral é seta em
   cima do assunto. Elas descem para a faixa de baixo, ao lado do contador. */
@media (max-width: 480px) {
  .lightbox-figure { padding-bottom: 60px; }
  .lightbox-img { max-height: 68vh; }
  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 20px;
    transform: none;
  }
  .lightbox-prev { left: 28px; }
  .lightbox-next { right: 28px; }
}

@media (min-width: 768px) {
  .mobile-menu,
  .mobile-menu.is-open { display: none !important; }
}
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .blog-entry, .about-grid, .footer-grid, .mvv-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .header-grid { grid-template-columns: 1fr; gap: 16px; }
  .header-left { display: none; }
  .header-cta { display: flex; justify-content: center; }
  .menu-toggle { display: inline-block; }
  .main-menu { display: none; }
  .site-logo img { width: 100%; max-width: 260px; }
  .header-top { padding: 16px 0; }
  .news-grid { grid-template-columns: 1fr; }
  .section-title, .curriculo-banner h2 { font-size: 32px; }
  .page-header-title { font-size: 24px; }
  .newsletter-form { flex-direction: column; align-items: stretch; }
  .newsletter-form input { max-width: none; }
}

/* ==========================================================================
   UtilitÃ¡rios
   Substituem o Tailwind Play CDN usado nos protÃ³tipos (cdn.tailwindcss.com),
   que nÃ£o Ã© destinado a produÃ§Ã£o. Apenas as 38 classes efetivamente usadas
   nos HTMLs, com os mesmos valores da escala padrÃ£o do Tailwind.
   ========================================================================== */
.block           { display: block; }
.inline-block    { display: inline-block; }
.grid            { display: grid; }
.grid-cols-4     { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.items-start     { align-items: flex-start; }
.gap-2           { gap: .5rem; }
.gap-10          { gap: 2.5rem; }
.gap-12          { gap: 3rem; }

.mt-2            { margin-top: .5rem; }
.mt-4            { margin-top: 1rem; }
.mt-6            { margin-top: 1.5rem; }
.mt-8            { margin-top: 2rem; }
.mt-10           { margin-top: 2.5rem; }
.mt-12           { margin-top: 3rem; }
.mb-3            { margin-bottom: .75rem; }
.mb-4            { margin-bottom: 1rem; }
.mb-6            { margin-bottom: 1.5rem; }
.mb-8            { margin-bottom: 2rem; }
.my-6            { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.mx-auto         { margin-left: auto; margin-right: auto; }
.space-y-8 > * + * { margin-top: 2rem; }

.p-4             { padding: 1rem; }
.pl-5            { padding-left: 1.25rem; }

.w-full          { width: 100%; }
.h-28            { height: 7rem; }
.h-80            { height: 20rem; }
.h-96            { height: 24rem; }
.max-w-full      { max-width: 100%; }
.max-w-2xl       { max-width: 42rem; }
.max-h-\[90vh\]  { max-height: 90vh; }
.max-h-\[32rem\] { max-height: 32rem; }

.border          { border: 1px solid #e5e7eb; }
.border-0        { border: 0; }
.object-cover    { object-fit: cover; }
.overflow-y-auto { overflow-y: auto; }
.list-disc       { list-style-type: disc; }
.text-sm         { font-size: .875rem; line-height: 1.25rem; }
.whitespace-pre-line { white-space: pre-line; }
.text-\[var\(--aciv-muted\)\] { color: var(--aciv-muted); }

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   Ajustes do tema
   ========================================================================== */

/* Nos protÃ³tipos o cabeÃ§alho de um submenu Ã© sempre <span>. Aqui ele continua
   clicÃ¡vel quando o item de menu tem destino prÃ³prio, como na produÃ§Ã£o. */
a.menu-link { cursor: pointer; }

/* A barra lateral vem dos widgets cadastrados: o widget de busca e os blocos
   nÃ£o trazem os wrappers que os protÃ³tipos desenham Ã  mÃ£o. */
.sidebar-box .wp-block-image { margin: 0; }
.sidebar-box img { display: block; height: auto; max-width: 100%; }

/* ==========================================================================
   Notícias e listagens: coluna de conteúdo e bloco de leituras sugeridas
   Medidas conferidas no tema anterior e no bloco #related-posts da produção.
   ========================================================================== */
/* Sem a barra lateral, o conteúdo mantém a medida que tinha ao lado dela — a
   coluna de 72% do tema anterior, menos os 30px de recuo e o filete — e fica
   centralizado na caixa. */
.blog-layout > .content-area {
  width: calc(72% - 31px);
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   CabeÃ§alho da matÃ©ria: imagem de destaque, tÃ­tulo e linha de dados
   -------------------------------------------------------------------------- */
.entry-header { margin: 0 0 12px; }
.single-post-title {
  margin: 0 0 15px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--aciv-line);
  font-family: Poppins, sans-serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.6px;
  color: var(--aciv-title);
}
article > .thumbnail { margin: 0 0 26px; }
article > .thumbnail img { width: 100%; height: auto; display: block; }

ul.meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 0 0 24px;
  padding: 0 0 10px;
  list-style: none;
  color: var(--aciv-ink);
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.6px;
}
ul.meta li {
  align-self: flex-end;
  padding-bottom: 5px;
  line-height: 1.5;
  white-space: nowrap;
}
ul.meta li::after {
  content: "-";
  padding: 0 6px;
  font-weight: 700;
}
ul.meta li:last-child::after { content: none; padding: 0; }
ul.meta li a { color: var(--aciv-ink); }
ul.meta li a:hover { color: var(--aciv-title); }
ul.meta li i {
  padding-right: 9px;
  font-size: 17px;
  vertical-align: middle;
}

/* RÃ³tulos destinados apenas a leitores de tela. */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 767px) {
  .single-post-title { font-size: 26px; }
}

#related-posts {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--aciv-line);
}
.theme-heading {
  margin: 0 0 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--aciv-heading);
}
.theme-heading .text::before {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 18px;
  color: var(--aciv-blue);
  padding-right: 6px;
}
.oceanwp-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.related-post-media { margin: 0; }
.related-post-media img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}
.related-post-title {
  margin: 12px 0 3px;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.related-post-title a { color: var(--aciv-blue); }
.related-post-title a:hover { color: var(--aciv-blue-dark); }
.related-post .published {
  display: block;
  font-size: 12px;
  color: var(--aciv-muted);
}
.related-post .published i { padding-right: 5px; }

/* Abaixo de 1024px o conteúdo ocupa a caixa inteira, como no restante do tema. */
@media (max-width: 1024px) {
  .blog-layout > .content-area { width: auto; }
}

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

/* ==========================================================================
   Contact Form 7
   O plugin envolve cada campo em <span class="wpcf7-form-control-wrap">, que Ã©
   inline por padrÃ£o. As regras abaixo dÃ£o a esse markup o mesmo desenho que os
   formulÃ¡rios tinham quando eram do Elementor.
   ========================================================================== */
.wpcf7 { margin: 0; }
.wpcf7-form { background: transparent; padding: 0; }
.wpcf7-form label {
  display: block;
  margin-bottom: 14px;
  font-size: 14px;
}
.wpcf7-form-control-wrap { display: block; }
.wpcf7-form input:not([type="submit"]),
.wpcf7-form select,
.wpcf7-form textarea { background: #fff; }
/* O botão de envio é um <input>: a regra genérica dos campos daria a ele borda
   cinza e o contorno azul de foco. Fica só o anel do teclado. */
.wpcf7-form input[type="submit"] { width: auto; border: 0; }
.wpcf7-form input[type="submit"]:focus { outline: none; }
.wpcf7-form input[type="submit"]:focus-visible {
  outline: 2px solid var(--aciv-blue);
  outline-offset: 2px;
}

/* Mensagens de validaÃ§Ã£o e de envio. */
/* Aviso de cada campo: o mesmo vermelho e a mesma entrada da caixa de retorno,
   com um ícone menor. O campo inválido troca a borda e o anel de foco para o
   vermelho, para que aviso e campo se leiam juntos. */
.wpcf7-not-valid-tip {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 6px;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  animation: aciv-notice-in 0.25s ease-out;
}
.wpcf7-not-valid-tip::before {
  content: "\f06a"; /* circle-exclamation */
  flex: none;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
  line-height: 18px; /* a altura da primeira linha de texto (13px × 1.4) */
}
.wpcf7-form .wpcf7-not-valid { border-color: #b91c1c; }
.wpcf7-form .wpcf7-not-valid:focus {
  outline-color: color-mix(in srgb, #b91c1c 30%, #fff);
}
/* Caixa de retorno do envio. O seletor repete o da folha do plugin: com um
   seletor mais curto, a margem, o padding e a borda de 2px dele venceriam.
   Cada estado troca só o tom, a cor do texto e o ícone; fundo e borda saem do
   tom. A cor da borda se repete nos estados porque as regras de estado do
   plugin são mais específicas que a base. O ícone é do Font Awesome, já carregado pelo tema, e a caixa inteira é
   aria-hidden (o plugin anuncia a mensagem em .screen-reader-response). */
.wpcf7 form .wpcf7-response-output {
  --notice-tone: var(--aciv-blue);
  --notice-ink: var(--aciv-blue-dark);
  --notice-icon: "\f05a"; /* circle-info */
  --notice-line: color-mix(in srgb, var(--notice-tone) 40%, #fff);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0 0;
  padding: 14px 18px;
  border: 1px solid var(--notice-line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--notice-tone) 12%, #fff);
  color: var(--notice-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  animation: aciv-notice-in 0.25s ease-out;
}
.wpcf7 form .wpcf7-response-output::before {
  content: var(--notice-icon);
  flex: none;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 16px;
  line-height: 21px; /* a altura da primeira linha de texto (14px × 1.5) */
}
.wpcf7 form.sent .wpcf7-response-output {
  --notice-tone: #2f8f5b;
  --notice-ink: #1f6340;
  --notice-icon: "\f058"; /* circle-check */
  border-color: var(--notice-line);
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  --notice-tone: var(--aciv-yellow);
  --notice-ink: #7a5900;
  --notice-icon: "\f071"; /* triangle-exclamation */
  border-color: var(--notice-line);
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  --notice-tone: #b91c1c;
  --notice-ink: #991b1b;
  --notice-icon: "\f057"; /* circle-xmark */
  border-color: var(--notice-line);
}
@keyframes aciv-notice-in {
  from { opacity: 0; transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .wpcf7 form .wpcf7-response-output { animation: none; }
}
.wpcf7-spinner { margin: 0 0 0 10px; }
.screen-reader-response {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* A faixa da newsletter mantÃ©m campo e botÃ£o lado a lado. */
.newsletter-form .wpcf7-form-control-wrap {
  flex: 1;
  max-width: 360px;
}
/* O botÃ£o do plugin Ã© um <input type="submit">, e nÃ£o o <button> de antes:
   sem isto ele herdaria o flex:1 destinado ao campo de e-mail. */
.newsletter-form input[type="submit"] {
  flex: 0 0 auto;
  max-width: none;
}
.newsletter-form input[type="submit"]:focus-visible { outline-color: #fff; }
.newsletter-band .wpcf7 { max-width: 640px; margin: 0 auto; }
.newsletter-form .wpcf7-response-output { text-align: center; }
.newsletter-form .wpcf7-not-valid-tip { text-align: left; }

/* Validação da newsletter: a mensagem de retorno vai para a linha de baixo, e o
   aviso do campo sai do fluxo, logo abaixo do e-mail. Assim campo e botão
   mantêm a largura e a altura que tinham antes do envio. O seletor mais longo
   vence a margem que o próprio plugin define. */
.newsletter-form { flex-wrap: wrap; }
.newsletter-form .wpcf7-form-control-wrap { position: relative; }
.newsletter-form .wpcf7-not-valid-tip {
  position: absolute;
  top: 100%;
  left: 0;
  color: #fff;
}
/* Sobre o azul da faixa o vermelho some: o alerta usa o amarelo do tema. */
.newsletter-form .wpcf7-not-valid-tip::before { color: var(--aciv-yellow); }
.newsletter-form .wpcf7-not-valid {
  border-color: var(--aciv-yellow);
  box-shadow: 0 0 0 1px var(--aciv-yellow);
}
.newsletter-form .wpcf7-not-valid:focus {
  outline-color: color-mix(in srgb, var(--aciv-yellow) 45%, #fff);
}
.wpcf7 form.newsletter-form .wpcf7-response-output {
  flex: 0 0 100%;
  justify-content: center;
  margin: 32px 0 0;
}
@media (max-width: 767px) {
  /* Em coluna o botão fica logo abaixo do campo: o aviso volta para o fluxo. */
  .newsletter-form .wpcf7-not-valid-tip { position: static; }
  .wpcf7 form.newsletter-form .wpcf7-response-output {
    flex-basis: auto;
    justify-content: flex-start;
    margin-top: 16px;
    text-align: left;
  }
}

/* ==========================================================================
   Galeria do WordPress
   O shortcode [gallery] marca o nÃºmero de colunas na classe do contÃªiner
   (.gallery-columns-4) e deixa a largura por conta do tema. Sem estas regras
   cada <figure> ocupa a linha inteira. Escalonamento conferido no tema
   anterior: duas colunas nas telas estreitas, o nÃºmero escolhido a partir de
   480px, e de cinco colunas em diante sÃ³ a partir de 768px.
   ========================================================================== */
/* O contÃªiner nÃ£o recebe margem prÃ³pria: o respiro vem do .gallery-item, como
   no tema anterior. */
.gallery-item {
  display: inline-block;
  width: 50%;
  margin: 0 0 1.5em;
  text-align: left;
  vertical-align: top;
}
.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
  display: inline-block;
  max-width: 100%;
  vertical-align: top;
  background: none;
  box-shadow: none;
}
.gallery-item a img { display: block; }

/* O corpo do texto dÃ¡ 2rem abaixo de cada imagem; dentro da galeria
   o espaÃ§amento Ã© do item, nÃ£o da miniatura. */
.gallery img { margin-bottom: 0; }

.gallery-caption {
  padding: 8px 10px;
  background: var(--aciv-paper);
  color: var(--aciv-title);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption { display: none; }

@media (min-width: 30em) {
  .gallery-item { max-width: 25%; }
  .gallery-columns-1 .gallery-item { max-width: 100%; }
  .gallery-columns-2 .gallery-item { max-width: 50%; }
  .gallery-columns-3 .gallery-item { max-width: 33.33%; }
  .gallery-columns-4 .gallery-item { max-width: 25%; }
}

@media (min-width: 48em) {
  .gallery-columns-5 .gallery-item { max-width: 20%; }
  .gallery-columns-6 .gallery-item { max-width: 16.66%; }
  .gallery-columns-7 .gallery-item { max-width: 14.28%; }
  .gallery-columns-8 .gallery-item { max-width: 12.5%; }
  .gallery-columns-9 .gallery-item { max-width: 11.11%; }
}

/* ==========================================================================
   Classes do editor do WordPress
   O editor grava o alinhamento na classe da imagem (alignleft, alignright,
   aligncenter, alignnone) e envolve legendas em .wp-caption. Sem estas regras
   toda imagem do conteÃºdo empilha em bloco.
   ========================================================================== */

/* Clearfix, aplicado pelo tema anterior via .clr â€” o conteÃºdo precisa conter
   as imagens flutuadas, senÃ£o elas vazam para a seÃ§Ã£o seguinte. */
.clr::after,
.entry-content::after,
.prose-aciv::after {
  content: "";
  display: block;
  clear: both;
}

.alignleft {
  float: left;
  margin-right: 1.5em;
}
.alignright {
  float: right;
  margin-left: 1.5em;
}
.aligncenter {
  clear: both;
  margin: 0 auto;
  text-align: center;
}
img.aligncenter,
.wp-caption.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignnone { display: block; }

/* A imagem do corpo do texto leva 2rem embaixo; a flutuada acompanha o
   parÃ¡grafo e usa a margem menor do alinhamento. */
.prose-aciv img.alignleft,
.prose-aciv img.alignright { margin-bottom: 1rem; }

.wp-caption {
  max-width: 100%;
  margin-bottom: 24px;
}
.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-bottom: 5px;
}
.wp-caption-text {
  font-size: 14px;
  font-style: italic;
  color: var(--aciv-muted);
}

.entry-content .alignwide {
  margin-left: -3%;
  width: 106%;
  max-width: 106%;
}
.entry-content .alignfull {
  margin-left: -32px;
  width: calc(100% + 64px);
  max-width: calc(100% + 64px);
}

/* Abaixo de 480px nÃ£o hÃ¡ largura para texto ao lado da imagem. */
@media (max-width: 30em) {
  .alignleft,
  .alignright {
    float: none;
    display: block;
    margin-left: 0;
    margin-right: 0;
  }
}

/* Links que abrem a imagem em tamanho cheio ganham o cursor de ampliaÃ§Ã£o. */
.prose-aciv a[href$=".jpg"] img,
.prose-aciv a[href$=".jpeg"] img,
.prose-aciv a[href$=".png"] img,
.prose-aciv a[href$=".webp"] img,
.gallery-item a img { cursor: zoom-in; }

/* --------------------------------------------------------------------------
   .container — por que a do Tailwind saiu daqui

   Nos protótipos o CDN do Tailwind era injetado depois desta folha, então quem
   vencia a cascata era a `.container` dele (largura cheia, com degraus em 640,
   768, 1024, 1280 e 1536). Ela foi reproduzida aqui por um tempo, para manter
   o layout que os protótipos mostravam.

   Só que essa caixa não tem folga lateral: abaixo de 640px o conteúdo encostava
   nas duas bordas, e o mesmo acontecia em toda tela com a largura exata de um
   degrau — 768px de um iPad em pé, 1024px deitado, 1280px de um notebook. A
   caixa do tema, declarada no topo do arquivo, resolve pelos 90%: a folga
   acompanha a tela em qualquer largura, é o que o DESIGN.md §5 define e é o que
   a produção entrega. As faixas da home ficam 80px mais estreitas no desktop —
   1200px em vez de 1280px, mais perto dos 1140px da produção.
   -------------------------------------------------------------------------- */

/* --- ConteÃºdo vindo do editor ---
   O post_content grava <h2>/<h3>/<h4> nus, sem as classes .section-heading-*
   que os templates escreviam Ã  mÃ£o. Os modificadores abaixo, aplicados ao
   invÃ³lucro por inc/pages.php, reproduzem cada escala. O acrÃ©scimo de 16px na
   margem do primeiro tÃ­tulo substitui o .mt-4 que o invÃ³lucro carregava quando
   o tÃ­tulo ficava fora dele. --- */
.prose-aciv--h36 > h2,
.prose-aciv--h36 > h3,
.prose-aciv--h36-left > h2,
.prose-aciv--h36-left > h3,
.prose-aciv--h20 > h2,
.prose-aciv--h20-brand > h2 {
  font-family: Roboto, sans-serif;
  font-weight: 600;
  line-height: 1;
  color: var(--aciv-el-primary);
  margin: 0 0 20px;
}
.prose-aciv--h36 > h2,
.prose-aciv--h36 > h3 { font-size: 36px; text-align: center; }
.prose-aciv--h36-left > h2,
.prose-aciv--h36-left > h3 { font-size: 36px; text-align: left; margin-top: 2rem; }

/* Em tela estreita 36px não cabe: "CURSOS PROFISSIONALIZANTES" (Convênios) e
   "ORIENTAÇAO AO MEI – MICROEMPREENDEDOR INDIVIDUAL" (MEI) empurravam a página
   além da largura da tela — 102px a mais em 320px. A quebra por palavra é a
   rede para o próximo título longo que entrar pelo editor. */
@media (max-width: 767px) {
  .prose-aciv--h36 > h2,
  .prose-aciv--h36 > h3,
  .prose-aciv--h36-left > h2,
  .prose-aciv--h36-left > h3 { font-size: 26px; }
}
/* A rede vale para o miolo inteiro, não só para os títulos: o conteúdo migrado
   traz `&nbsp;` no lugar de espaços comuns ("Benefício:&nbsp;Plano&nbsp;
   Odontológico&nbsp;por&nbsp;R$&nbsp;20,50"), e o navegador lê a frase como uma
   palavra só, que não quebra em tela estreita. */
.prose-aciv { overflow-wrap: break-word; }
.prose-aciv--h20 > h2 { font-size: 20px; text-align: left; }
.prose-aciv--h20-brand > h2 { font-size: 20px; text-align: center; color: var(--aciv-blue); margin-bottom: 24px; }
.prose-aciv--h36 > h2:first-child,
.prose-aciv--h36 > h3:first-child,
.prose-aciv--h20 > h2:first-child { margin-bottom: 36px; }

/* Nota abaixo do tÃ­tulo do formulÃ¡rio, quando ela vem no conteÃºdo */
.prose-aciv--h36 > h4 {
  font-family: Roboto, sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--aciv-footer-text, #545454);
  text-align: center;
  margin: 0 0 20px;
}

/* Imagens do conteÃºdo: os templates usavam .w-full */
.prose-aciv img { max-width: 100%; height: auto; display: block; margin-bottom: 2rem; }

/* ServiÃ§os da home quando o campo "Imagem" do ACF estiver preenchido */
.service-icon img {width: 100%;height: 100%;object-fit: cover;/* border-radius: 50%; */margin: 0;}
