﻿:root {
  --brand-orange: #f37825;
}

/*=================================================
=                   UTILITARIAS                   =
==================================================*/
#sp-header .sp-module {
  margin-left: 15px;
}

p {
  margin-bottom: 1.3rem;
  line-height: 2.2rem;
}

body {
  color: #595959;
}

.sp-scroll-up {
  bottom: 135px !important;
  right: 45px !important;
}

.card-flush-icon {
  overflow: hidden;
  /* Garante que o bg do ícone não vaze */
  transition: transform 0.2s;
}

.card-flush-icon:hover {
  transform: translateY(-3px);
}

/* Área lateral do ícone */
.icon-side {
  width: 80px;
  /* Largura fixa para a barra lateral */
  background-color: rgba(242, 159, 5, 0.15);
  color: #F29F05;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  /* Impede que o ícone encolha */
}

.active-tab {
  color: #f37B20 !important;
  border-bottom-color: #f37B20 !important;
}

.contentpane:not(.com-sppagebuilder) {
  padding: 0;
}

.sp-page-title .breadcrumb-item+.breadcrumb-item::before {
  content: ">";
  color: #000;
}

.sp-page-title li.mod-breadcrumbs__divider.float-start {
  display: none;
}

.sp-page-title .mod-breadcrumbs__wrapper {
  padding-right: 32rem;
  padding-left: 3px;
}

.sp-page-title li.mod-breadcrumbs__item.breadcrumb-item {
  font-family: 'Open Sans', sans-serif !important;
  text-transform: uppercase;
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 5px;
  color: #000;
}

.sp-page-title li.mod-breadcrumbs__item.breadcrumb-item a {
  font-weight: 300 !important;
  font-size: 17px !important;
  color: #000;
}

.sp-page-title li.mod-breadcrumbs__item.breadcrumb-item a:hover {
  color: #ec430f !important;
}

.sp-page-title .breadcrumb {
  padding: 0 !important;
  margin: 0 !important;
}

.sp-page-title {
  margin-bottom: 50px !important;
  background: linear-gradient(90deg, #F1946B 0%, #FFFFFF 100%) !important;
  padding: 15px 0 0 !important;
}

body.section-paineis .sp-page-title {
  margin-bottom: 0 !important;
}

.sp-page-title .container {
  background: url(../images/flamboyant-laranja-sem-fundo.png) right / contain no-repeat !important;
  padding: 45px 0 !important
}

.sp-page-title h2 {
  font-weight: 400 !important;
  font-size: 67px !important;
  line-height: 130% !important;
  letter-spacing: 0.2rem !important;
  color: #141414 !important;
}

/* =================================================
   MOBILE – Page Title + Breadcrumb + Título do artigo
   ================================================= */
@media (max-width: 767.98px) {

  /* Remove o padding-right */
  .sp-page-title .mod-breadcrumbs__wrapper {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  /* Breadcrumb menor e com menos espaçamento */
  .sp-page-title li.mod-breadcrumbs__item.breadcrumb-item,
  .sp-page-title li.mod-breadcrumbs__item.breadcrumb-item a {
    font-size: 12px !important;
    letter-spacing: 2px !important;
  }

  /* Quebra linha */
  .sp-page-title .breadcrumb {
    flex-wrap: wrap;
    row-gap: 6px;
  }

  /* Área do título mais compacta */
  .sp-page-title {
    margin-bottom: 24px !important;
    padding: 10px 0 0 !important;
  }

  /* Background da container */
  .sp-page-title .container {
    background: url(../images/flamboyant-laranja-sem-fundo.png) right top / 160px auto no-repeat !important;
    padding: 18px 0 !important;
  }


  /* Título responsivo */
  .sp-page-title h2,
  .sp-page-title .sp-page-title-heading {
    font-size: clamp(30px, 8.6vw, 42px) !important;
    line-height: 1.05 !important;
    letter-spacing: 0.04rem !important;
    max-width: calc(100% - 120px);
    padding-right: 8px;
    word-break: break-word;
    hyphens: auto;
  }

  /* use o mesmo padding lateral do container do site */
  #sp-title .sp-page-title .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* breadcrumb acompanha o mesmo recuo */
  #sp-title .sp-page-title .mod-breadcrumbs__wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* H1 de artigo (com_content) */
  .article-details h1[itemprop="headline"],
  .article-details .article-header h1,
  .article-details h1 {
    font-size: clamp(30px, 9vw, 44px) !important;
    line-height: 1.08 !important;
    letter-spacing: 0.02rem !important;
    margin: 0 0 14px !important;
  }

  /* se algum artigo vem centralizado, força esquerda */
  .article-header {
    text-align: left !important;
  }

  /* Tipografia base do conteúdo no mobile (mesmo com inline styles) */
  .article-details [itemprop="articleBody"],
  .article-details [itemprop="articleBody"] p,
  .article-details [itemprop="articleBody"] li,
  .article-details .article-body,
  .article-details .article-body p,
  .article-details .article-body li {
    font-size: 16px !important;
    line-height: 1.65 !important;
  }

  .article-details [itemprop="articleBody"] p[style*="font-size"],
  .article-details [itemprop="articleBody"] span[style*="font-size"],
  .article-details .article-body p[style*="font-size"],
  .article-details .article-body span[style*="font-size"] {
    font-size: 16px !important;
  }

  .article-details [itemprop="articleBody"] p,
  .article-details [itemprop="articleBody"] li,
  .article-details .article-body p,
  .article-details .article-body li,
  .article-details [itemprop="articleBody"] p[style*="text-align"],
  .article-details .article-body p[style*="text-align"] {
    text-align: justify !important;
  }

  /* evita assimetria quando vier margin-left inline no conteúdo */
  .article-details [itemprop="articleBody"] p[style*="margin-left"],
  .article-details .article-body p[style*="margin-left"] {
    margin-right: 10px !important;
  }
}


.article-ratings-social-share,
.article-details .article-can-edit {
  display: none !important;
}

.linha-laranja,
.linha-laranja-full {
  display: inline-block;
  position: relative;
}

.linha-laranja::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 50%;
  height: 2px;
  background-color: #F29F05;
}

.linha-laranja-full::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 110%;
  height: 2px;
  background-color: #F29F05;
}

.section-spacing {
  margin-top: 100px;
}

#sp-main-body {
  padding: 0;
}

.tags>li a:hover {
  background: #f1b79c !important;
  color: #c02e21 !important;
}

a:hover,
a:focus,
a:active {
  color: #c02e21;
}

.btn-primary:hover,
.sppb-btn-primary:hover {
  border-color: #c02e21;
  background-color: #c02e21;
}

.text-hover-brand:hover {
  color: #f37825 !important;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
}

#sp-menu .sp-has-child .sp-dropdown {
  display: none !important;
}

#sp-menu .sp-has-child a::after {
  display: none !important;
}

.text-brand-orange {
  color: #f37825 !important;
}

.bg-brand-orange {
  background-color: #f37825 !important;
}

.border-brand-orange {
  border-color: #f37825 !important;
}

.text-dark-soft {
  color: #2b2623 !important;
}

.bg-dark-soft {
  background-color: #2b2623 !important;
}

.border-dark-soft {
  border-color: #2b2623 !important;
}

.text-grey-medium {
  color: #666666 !important;
}

.bg-grey-medium {
  background-color: #666666 !important;
}

.border-grey-medium {
  border-color: #666666 !important;
}

.font-serif-display {
  font-family: 'Playfair Display', serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-sans-text {
  font-family: 'Open Sans', sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ls-wide {
  letter-spacing: 0.4em !important;
}

.lh-tight-title {
  line-height: 1.3em !important;
}

/* 6. Componentes (Botão) */
.btn-custom {
  display: inline-block;
  border: 1px solid #A1A1A1;
  color: #141414 !important;
  padding: 0.625rem 1.875rem;
  background: transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  font-weight: 400 !important;
  font-size: 22px !important;
}

.btn-hover-orange:hover,
.btn-custom:hover,
.btn-custom:focus,
.btn-custom:active {
  background-color: #f37825;
  border-color: #f37825;
  color: #fff !important;
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(243, 120, 37, 0.2);
}

/*=================================================
=               SEÇÃO LONGEVIDADE             =
==================================================*/
#mapa-go-longevidade {
  background-color: red;
}

#mapa-go-longevidade img {
  background-color: white;
}


.mapa-longevidade {
  width: 707px;
  height: 707px;
  margin: 20px auto;
}

.mapa-longevidade svg {
  width: 100%;
  height: 100%;
}

/* Css para as mesorregiões */
.longevidade-section .mapa-longevidade .mesorregiao {
  fill: #0F5354;
  stroke: white;
  stroke-width: 500;
  /* Ajuste para a escala do SVG */
  transition: fill 0.3s ease;
  /* Transição suave para a cor */
  cursor: pointer;
}

.longevidade-section .mapa-longevidade .mesorregiao:hover {
  fill: #D74629;
}

.bt-longevidade {
  color: white !important;
}

.longevidade-section .area-mapa {
  padding-left: 150px;
}

.numero-infos {
  font-family: Playfair Display;
  font-weight: 700;
  font-size: 40px;
  line-height: 130%;
  letter-spacing: 4%;
  text-transform: capitalize;
  color: #D74629;

}

.numero-cobertura {
  font-family: Playfair Display;
  font-weight: 700;
  font-size: 64px;
  line-height: 130%;
  letter-spacing: 4%;
  color: #D74629;

}

.longevidade-section .dados {
  text-align: center;
}

.longevidade-section .apresentacao-mapa {
  font-family: Open Sans;
  font-weight: 400;
  font-style: Bold;
  font-size: 20px;
  line-height: 175%;
  letter-spacing: 2%;
  text-align: center;
}

/*=================================================
=               SEÇÃO FORMAÇÕES             =
==================================================*/
.topicos,
.topicos h6 {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 175%;
  letter-spacing: 10px;
  text-transform: uppercase;
  color: #F37B20;

}

.title-secoes {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 130%;
  scroll-margin-top: 100px;

}


/*=================================================
=               Seeção GOiás Social             =
==================================================*/

:root {
  --yellow:      #f5a623;
  --yellow-dark: #e09010;
  --white:       #ffffff;
  --text-light:  rgba(255, 255, 255, 0.85);
  --card-bg:     rgba(255, 255, 255, 0.12);
  --card-border: rgba(255, 255, 255, 0.2);
}

/* ── SECTION ── */
.gs-section {
  display: flex !important;
  flex-wrap: nowrap !important;
  background-color: rgba(15, 83, 84, 1);
  overflow: hidden;
  padding: 0 !important;
  margin: 0 !important;
}

/* ── LEFT COLUMN ── */
.gs-left {
  position: relative;
  padding: 0 !important;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.gs-left img {
    width: 100%;
    height: 744px;
    object-fit: cover;
    object-position: center;
    display: block;
    min-height: 100%;
    margin-top: -146px;
}

/* ── RIGHT COLUMN ── */
.gs-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 48px 40px 40px !important;
  gap: 28px;
}

/* Intro text */
.gs-intro p {
  color: var(--white);
  line-height: 1.65;
  font-family: Segoe UI Symbol;
  font-weight: 400;
  font-style: Regular;
  font-size: 20px;
  line-height: 32.5px;
  letter-spacing: 0%;
  vertical-align: middle;

}

.gs-intro p strong {
  color: var(--white);
  font-weight: 700;
}

/* CTA Button */
.gs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  padding: 10px 26px;
  background: rgba(249, 168, 38, 1);
  color: white;
  border: 2px solid var(--yellow);
  letter-spacing: 0.04em;
  border-radius: 4px;
  text-decoration: none;
  width: 290px;
  height: 56px;
  opacity: 1;
  top: 180.4px;
  left: 48px;
  gap: 8px;
  padding-top: 16px;
  padding-right: 40px;
  padding-bottom: 16px;
  padding-left: 40px;
  border-radius: 33554400px;
  font-family: Segoe UI Symbol;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0%;
  vertical-align: middle;

}

.gs-btn img {
  height: 16px;
  width: auto;
  flex-shrink: 0;
}

.gs-btn:hover {
  color: white;
  transform: translateY(-1px);
}

/* ── CARDS ── */
.gs-cards {
  display: flex;
  gap: 12px;
}

.gs-card {
  flex: 1 1 0;
  background: var(--card-bg);
  border-radius: 8px;
  padding: 16px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: background 0.2s, transform 0.2s;
  min-width: 0;
  min-height: 169px;
  opacity: 1;
  border-radius: 24px;
  border: 4px solid rgba(249, 168, 38, 1);
  background-color: white;
  box-sizing: border-box;
}

/* .gs-card:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
} */

.gs-card-icon {
  font-size: 1.2rem;
  margin-bottom: 4px;
  /* display: block; */
}
.gs-card img{
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  min-width: 28px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  display: inline-block !important;
}

.gs-card h3 {
  font-weight: 700;
  color: rgba(45, 107, 106, 1);
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  font-family: Segoe UI Symbol;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0%;
  min-width: 0;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}

.gs-card h3 > :first-child {
  flex: 1 1 auto;
  min-width: 0;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}

.gs-card h3 img {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  min-width: 28px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  align-self: flex-start;
}

.gs-card p {
  font-size: 0.72rem;
  color: rgba(54, 65, 83, 1);

  line-height: 1.55;
  flex: 1;
  margin: 0;
  font-family: Segoe UI Symbol;
  font-weight: 400;
  font-style: Regular;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0%;
  vertical-align: middle;
  

}

.gs-card > a {
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(45, 107, 106, 1);
  text-decoration: none;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  transition: opacity 0.2s;
  background: rgba(249, 168, 38, 1);
  opacity: 1;
  padding: 8px 16px;
  border-radius: 14px;
  width: 100%;
  min-height: 36px;
  box-sizing: border-box;
  text-align: center;
}

.gs-card > a:hover {
  opacity: 0.75;
}

/* .gs-card > a::after {
  content: ' →';
} */

/* ── RESPONSIVE ── */
@media (max-width: 1199px) {
  .gs-card {
    padding: 14px 12px 10px;
  }
  .gs-card h3 {
    font-size: 16px;
  }
}

@media (max-width: 991px) {
  .gs-section {
    flex-wrap: wrap !important;
  }
  .gs-left,
  .gs-right {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .gs-left img {
    height: auto;
    margin-top: 0;
    min-height: 0;
  }
  .gs-right {
    padding: 32px 24px !important;
  }
  .gs-cards {
    flex-wrap: wrap;
  }
  .gs-card {
    flex: 1 1 calc(33.333% - 12px);
  }
}

@media (max-width: 767px) {
  .gs-section {
    flex-direction: column !important;
    min-height: unset;
  }
  .gs-left {
    display: none !important;
  }
  .gs-right {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 24px 16px !important;
    gap: 20px;
  }
  .gs-btn {
    width: 100%;
    max-width: 290px;
  }
  .gs-cards {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .gs-card {
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
    height: auto;
  }
  .gs-card p {
    flex: 0 0 auto;
  }
  .gs-card h3 {
    font-size: 18px;
  }
  .gs-card p {
    font-size: 14px;
    line-height: 1.5;
  }
  .gs-card > a {
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {
  .gs-intro p {
    font-size: 16px;
    line-height: 1.6;
  }
}

/* =================================================
   Mobile – Titulo das seções - linha laranja
   ================================================= */

@media (max-width: 767.98px) {
  .title-secoes.linha-laranja {
    font-size: 32px !important;
    line-height: 1.15 !important;
    scroll-margin-top: 100px;

  }
}

.sp-formacoes .descricao-formacoes {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 175%;
}

#sp-formacoes .itens-formacoes {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 23px;
  line-height: 130%;
  /* text-align: center; */
  color: black;
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 40px;
}

#sp-formacoes .itens-formacoes:hover {
  color: #fd7e14;
  text-shadow: 2px 2px 8px rgba(255, 165, 0, 0.6);
  /* sombra suave laranja */
  transform: translateY(-3px);
  /* leve subida do texto */
}

.itens-formacoes .arrow {
  width: 14px;
  height: auto;
}

.secoes-formacoes {
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 50px;
}

.bt-padrao {
  opacity: 1;
  top: 2610px;
  left: 299px;
  gap: 10px;
  border-width: 1px;
  padding-top: 8px;
  padding-right: 32px;
  padding-bottom: 8px;
  padding-left: 32px;
  background-color: transparent;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 175%;
  text-transform: capitalize;
}

.bt-saiba-mais {
  width: 195px;
  height: 58px;
}

.bt-pag-formacoes {
  width: 270px;
  height: 58px;
}

.bt-pag-formacoes.bt-pag-cartilhas {
  width: 440px;
  text-transform: inherit;
}

#sp-formacoes .mapa-longevidade {
  width: 575px;
  height: 575px;
}

#sp-formacoes .mapa-longevidade .mesorregiao {
  fill: white;
  stroke: #ff9900;
  stroke-width: 500;
  /* Ajuste para a escala do SVG */
  transition: fill 0.3s ease;
  /* Transição suave para a cor */
  cursor: pointer;
}

#sp-formacoes .mapa-longevidade .mesorregiao:hover {
  fill: #f37825;
}


/*=================================================
=               Página Interna FORMAÇÕES             =
==================================================*/
.descricoes {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 175%;
}

/* --- CSS para o Mapa Interativo de Goiás --- */
#mapa-goias-container {
  width: 500px;
  height: 500px;
  margin: 20px auto;
}

#mapa-goias-container svg {
  width: 100%;
  height: 100%;
}

/* Css para as mesorregiões */
.mesorregiao {
  fill: #fff;
  stroke: #ff9900;
  /* Borda */
  stroke-width: 500;
  /* Ajuste para a escala do SVG */
  transition: fill 0.3s ease;
  /* Transição suave para a cor */
  cursor: pointer;
}

/* Estilo para a mesorregião destacada  */
.regiaodestaque {
  fill: #ff9900;/
}

.accordion-title {
  display: flex;
  gap: 8px;
}

.accordion-title .arrow {
  width: 14px;
  height: auto;
}

.pagina-formacoes .linha-laranja::after {
  left: 0%;
  bottom: -4px;
  width: 50%;
}

.publicacoes-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* empurra o botão para o final */
  height: 100%;
  /* opcional se estiver dentro de colunas bootstrap */
}

.publicacoes-box a {
  margin-top: auto;
  /* garante que o botão fique embaixo */
}

/* =================================================
   Mobile – ajustes Página Interna FORMAÇÕES
   ================================================= */

/* =================================================
   Seção Calendário
   Ordem: Calendário > Descrição > Mapa > 2026 + dias
   ================================================= */
@media (max-width: 767.98px) {

  /* Pega somente a ROW que contém o título #calendario */
  .pagina-formacoes h2#calendario.title-secoes {
    font-size: 38px !important;
    line-height: 1.1 !important;
  }

  /* O container pai (col-7) precisa virar 100% e comportar a ordem */
  .pagina-formacoes h2#calendario.title-secoes {
    order: 0;
  }

  /* Garante que a coluna do conteúdo (col-7) use largura total no mobile */
  .pagina-formacoes h2#calendario.title-secoes,
  .pagina-formacoes h2#calendario.title-secoes~* {
    max-width: 100%;
  }

  /* Descrição ocupa a largura toda */
  .pagina-formacoes h2#calendario.title-secoes~.descricoes {
    width: 100% !important;
    max-width: 100% !important;
    order: 1;
    font-size: 16px;
    line-height: 1.7;
    text-align: justify !important;
  }

  .pagina-formacoes p.descricoes {
    text-align: justify !important;
  }

  /* MAPA logo após o texto (mesmo estando em outra coluna/row) */
  .pagina-formacoes #mapa-goias-container {
    width: 100% !important;
    max-width: 420px;
    height: auto !important;
    margin: 16px auto 24px;
  }

  .pagina-formacoes #mapa-goias-container svg {
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  /* Se o mapa estiver na coluna col-5, empilha colocando col-5 depois da descrição */
  .pagina-formacoes .row.secoes-formacoes {
    display: flex;
    flex-direction: column;
  }

  .pagina-formacoes .row.secoes-formacoes>.col-7 {
    order: 1;
    width: 100% !important;
    max-width: 100% !important;
  }

  .pagina-formacoes .row.secoes-formacoes>.col-5 {
    order: 2;
    width: 100% !important;
    max-width: 100% !important;
    display: flex;
    justify-content: center;
  }

  /* 2026 menor */
  .pagina-formacoes .mod-category-title.title-secoes {
    font-size: 32px !important;
    line-height: 1.1 !important;
    margin-top: 8px;
  }

  /* Accordion (título + data) menor e mais legível */
  .pagina-formacoes .accordion-title {
    font-size: 18px !important;
    /* ajuste fino: 16–19 */
    line-height: 1.25 !important;
    gap: 8px;
  }

  .pagina-formacoes .accordion-title * {
    font-size: inherit !important;
    line-height: inherit !important;
  }

  /* Texto dentro do accordion (ex: "Horário e local...") */
  .pagina-formacoes .accordion-content,
  .pagina-formacoes .accordion-content p {
    font-size: 16px !important;
    line-height: 1.6 !important;
    text-align: justify !important;
  }
}

/* =================================================
   MOBILE – Formações (3 seções)
   Formação à Distância (#formacao-distancia)
   Publicação (#publicacoes)
   Materiais de Formação (#cartilhas)
   Ordem: Título > Imagem > Descrição > Botão
   ================================================= */
@media (max-width: 767.98px) {

  /* Row específica de cada seção */
  .pagina-formacoes .row.secoes-formacoes:has(h2#formacao-distancia),
  .pagina-formacoes .row.secoes-formacoes:has(h2#publicacoes),
  .pagina-formacoes .row.secoes-formacoes:has(h2#cartilhas) {
    display: flex;
    flex-direction: column;
    row-gap: 16px;
  }

  /* Colunas viram 100% */
  .pagina-formacoes .row.secoes-formacoes:has(h2#formacao-distancia)>.col-6,
  .pagina-formacoes .row.secoes-formacoes:has(h2#publicacoes)>.col-6,
  .pagina-formacoes .row.secoes-formacoes:has(h2#cartilhas)>.col-6 {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Coluna de texto (a que contém o título) fica primeiro e vira flex p/ ordenar internamente */
  .pagina-formacoes .row.secoes-formacoes:has(h2#formacao-distancia)>.col-6:has(.title-secoes),
  .pagina-formacoes .row.secoes-formacoes:has(h2#publicacoes)>.col-6:has(.title-secoes),
  .pagina-formacoes .row.secoes-formacoes:has(h2#cartilhas)>.col-6:has(.title-secoes) {
    order: 1;
    display: flex;
    flex-direction: column;
    text-align: justify !important;
  }

  /* Coluna da imagem fica em segundo */
  .pagina-formacoes .row.secoes-formacoes:has(h2#formacao-distancia)>.col-6:has(img),
  .pagina-formacoes .row.secoes-formacoes:has(h2#publicacoes)>.col-6:has(img),
  .pagina-formacoes .row.secoes-formacoes:has(h2#cartilhas)>.col-6:has(img) {
    order: 2;
    display: flex;
    justify-content: center;
  }

  /* Imagem responsiva */
  .pagina-formacoes .row.secoes-formacoes:has(h2#formacao-distancia) img,
  .pagina-formacoes .row.secoes-formacoes:has(h2#publicacoes) img,
  .pagina-formacoes .row.secoes-formacoes:has(h2#cartilhas) img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
  }

  /* Título (sempre em cima) */
  .pagina-formacoes h2#formacao-distancia,
  .pagina-formacoes h2#publicacoes,
  .pagina-formacoes h2#cartilhas {
    order: 1;
    font-size: 38px !important;
    line-height: 1.1 !important;
    word-break: break-word;
    hyphens: auto;
  }

  /* Descrição (vem depois da imagem) */
  .pagina-formacoes .row.secoes-formacoes:has(h2#formacao-distancia) .descricoes,
  .pagina-formacoes .row.secoes-formacoes:has(h2#publicacoes) .descricoes,
  .pagina-formacoes .row.secoes-formacoes:has(h2#cartilhas) .descricoes {
    order: 3;
    width: 100% !important;
    max-width: 100% !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    text-align: justify !important;
    margin-bottom: 0;
    align-self: stretch !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Botão – alguns estão dentro de <p style="text-align:end;"> */
  .pagina-formacoes .row.secoes-formacoes:has(h2#formacao-distancia) a,
  .pagina-formacoes .row.secoes-formacoes:has(h2#publicacoes) p[style*="text-align"],
  .pagina-formacoes .row.secoes-formacoes:has(h2#cartilhas) p[style*="text-align"] {
    order: 4;
    margin-top: 12px !important;
  }

  /* Centraliza o link/botão dentro do <p> */
  .pagina-formacoes .row.secoes-formacoes:has(h2#publicacoes) p[style*="text-align"] a,
  .pagina-formacoes .row.secoes-formacoes:has(h2#cartilhas) p[style*="text-align"] a,
  .pagina-formacoes .row.secoes-formacoes:has(h2#formacao-distancia) a {
    display: flex;
    justify-content: center;
    text-decoration: none;
  }

  .bt-pag-formacoes,
  .bt-pag-cartilhas {
    width: auto !important;
    height: auto !important;
    padding: 14px 24px !important;
    line-height: 1.3 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}




/* FIM página interna Formacoes */

/*=================================================
=               Sobre o Envelhecimento            =
==================================================*/
#sp-sobre-o-envelhecimento {
  background-image: url(../images/flamboyant-laranja.png);
  background-size: 520px;
  background-repeat: no-repeat;
  background-position: bottom right;
  background-color: #FAFAFA;
}

#sp-sobre-o-envelhecimento .linha-laranja::after {
  left: 40% !important;
}

#sp-sobre-o-envelhecimento .btn-outline-primary {
  display: inline-block;
  border: 1px solid #A1A1A1;
  color: #141414;
  padding: 0.625rem 1.875rem;
  background: transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  font-weight: 400 !important;
  font-size: 22px !important;
  font-family: "Playfair Display", serif !important;
  -webkit-font-smoothing: antialiased;
  border-radius: 1px;
}

#sp-sobre-o-envelhecimento .btn-outline-primary:hover,
#sp-sobre-o-envelhecimento .btn-outline-primary:focus,
#sp-sobre-o-envelhecimento .btn-outline-primary:active {
  background-color: #f37825;
  border-color: #f37825;
  color: #fff;
  box-shadow: 0 4px 12px rgba(243, 120, 37, .2);
}

/* FIM Sobre o Envelhecimento */

/*=================================================
=               Página Interna Equipe             =
==================================================*/

.logo-equipes {
  width: 321px;
  height: 145px;
  opacity: 1;
  top: 841px;
  left: 620px;
  border-radius: 5px;
  border-width: 1px;
  border: 1px solid #C1C1C1;
  display: flex;
  justify-content: center;
  /* horizontal */
  align-items: center;
  /* vertical */
}

.logos-realizacao {
  justify-content: space-between;
  margin-bottom: 30px;
}

.label-realizacao,
.logos-apoio span {
  justify-content: center;
  font-family: Playfair Display;
  font-weight: 400;
  font-size: 32px;
  line-height: 175%;
  letter-spacing: 8%;
  text-transform: capitalize;
  margin-bottom: 15px;
}

.logos-apoio {
  margin-bottom: 60px;
}

.modal {
  z-index: 99999 !important;
}

.modal-backdrop {
  z-index: 99998 !important;
}

.modal-content {
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-body {
  padding: 40px !important;
}

.logo-modal {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0 auto 30px auto;
}

.logo-modal img {
  max-width: 200px;
  height: auto;
}

.modal-body .member-card {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  border: none;
  margin-bottom: 0;
  padding: 10px;
  background: transparent;
  border: solid 1px orange;
}

.modulo-logos .modal-header {
  border-bottom: none !important;
  padding: 20px 20px 0 0;
}

.close-btn {
  width: 32px;
  height: 32px;
  border: 2px solid #ccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  color: #333;
}

@media (max-width: 768px) {
  .modal-body {
    padding: 25px !important;
  }
}

/* FIM página interna Equipe */

/*=================================================
=               Página Interna Painéis             =
==================================================*/

body.itemid-103.view-article .article-details [itemprop="articleBody"]>.row.g-4 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center !important;
}

.painel-card {
  position: relative;
  background-color: #e06422;
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  min-height: 180px;
}

.painel-card .card-lock {
  position: absolute;
  bottom: 5px;
  right: 5px;
  font-size: 1.2rem;
  opacity: 0.8;
  margin-bottom: 0 !important;
}

.painel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  color: white;
  text-decoration: none;
}

.painel-card i {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.painel-card p {
  font-weight: 600;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.4;
}

.painel-card .small-text {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  opacity: 0.85;
}

.painel-card,
.painel-card:visited,
.painel-card:hover,
.painel-card:active {
  color: white;
  text-decoration: none;
}

.acesso-cadastro {
  width: 100%;
  height: 143px;
  opacity: 1;
  background-color: #0F5354;
  color: white;
  text-align: justify;
  align-items: center;
  justify-content: space-between;
}

/* FIM página interna PAINÉIS */
#sp-footer {
  background: #FAFAFA;
}

#sp-footer ul.menu li {
  display: flex;
}

#btnVoltarTopo:hover,
#sp-footer .footer-list a:hover {
  color: #595959 !important;
}

#sp-footer ul.menu,
#sp-footer .footer-list {
  padding-left: 0;
  list-style-type: none;
  max-height: 150px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

#sp-footer ul.menu li::before {
  content: '-';
  color: #f37b20;
  font-weight: bold;
  margin-right: 8px;
}

#sp-footer #btnVoltarTopo,
#sp-footer .footer-list li a,
#sp-footer .footer-list-link,
#sp-footer .footer-contact-email,
#sp-footer .footer-contact-desc {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.75;
  color: #595959;
  font-size: 1.1rem;
}

#sp-footer .footer-title {
  font-family: 'Playfair Display', serif;
  line-height: 1.3;
  border-bottom: 1px solid #f37b20;
  font-variant-numeric: lining-nums proportional-nums;
  color: #595959;
}

#sp-footer .footer-list-link {
  font-weight: 400;
  font-size: 1rem;
  text-decoration: none;
  display: inline;
}

#btnVoltarTopo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 136px;
  height: 136px;
  background-color: #fafafa;
  border: 1px solid #ddd;
  border-radius: 50%;
}

/* =================================================
   MOBILE – Botão "Voltar ao topo"
   ================================================= */
@media (max-width: 767.98px) {

  /* Reduz o botão */
  #btnVoltarTopo {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Esconde todo o conteúdo textual */
  #btnVoltarTopo {
    font-size: 0 !important;
    line-height: 0 !important;
  }

  /* Reativa apenas o ícone */
  #btnVoltarTopo .fa-arrow-up {
    font-size: 1.6rem !important;
    display: block;
    margin: 0 auto;
    transform: translateX(1px);
  }
}


#sp-pequenos-recortes,
#sp-destaque {
  position: relative;
  overflow: hidden;
}

#sp-pequenos-recortes::before,
#sp-destaque::before {
  content: "";
  position: absolute;
  top: 0;
  right: 70%;
  width: 100%;
  height: 100%;
  background-image: url('../images/flamboyant-laranja.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right center;
  opacity: 0.10;
  z-index: 0;
}

#sp-destaque>* {
  position: relative;
  z-index: 1;
}

.imagens-vivermais {
  -webkit-mask-image:
    linear-gradient(#000, #000),
    linear-gradient(#000, #000),
    linear-gradient(#000, #000),
    linear-gradient(#000, #000),
    linear-gradient(#000, #000);

  mask-image:
    linear-gradient(#000, #000),
    linear-gradient(#000, #000),
    linear-gradient(#000, #000),
    linear-gradient(#000, #000),
    linear-gradient(#000, #000);

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-size:
    19% 80%,
    19% 100%,
    19% 80%,
    19% 60%,
    19% 100%;

  mask-size:
    19% 80%,
    19% 100%,
    19% 80%,
    19% 60%,
    19% 100%;

  -webkit-mask-position:
    0 48%,
    25% 48%,
    50% 48%,
    75% 48%,
    100% 48%;

  mask-position:
    0 48%,
    25% 48%,
    50% 48%,
    75% 48%,
    100% 48%;

  object-fit: cover;

  margin-top: 50px;
}


/* Intro video overlay */
body.no-scroll {
  overflow: hidden;
}

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fff;

  align-items: center;
  justify-content: center;
}

.intro-overlay.show {
  display: flex;
}

.intro-overlay video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mod_articles_destaques {
  padding: 50px 0;
  background-color: #FAFAFA;
  /* Apenas para visualização */
}

.hover-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.175) !important;
  /* Sobrescreve shadow-sm */
  cursor: pointer;
}

.hover-card {
  transition: transform 0.3s ease;
}

/* Remove setas padrão do Swiper */
.mod_articles_swiper .swiper-navigation-icon {
  display: none;
}

.mod_articles_swiper .container {
  position: relative;
}

/* Container das setas */
.botao-next,
.mod_articles_swiper .swiper-button-next,
.mod_articles_swiper .swiper-button-prev {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.botao-next,
.mod_articles_swiper .swiper-button-next {
  right: -25px;
}

.mod_articles_swiper .swiper-button-prev {
  left: -25px;
}

/* Ícones das setas */
.botao-next i,
.mod_articles_swiper .swiper-button-next i,
.mod_articles_swiper .swiper-button-prev i {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

/* Hover - círculo laranja aparece */
.botao-next:hover,
.mod_articles_swiper .swiper-button-next:hover,
.mod_articles_swiper .swiper-button-prev:hover {
  border-color: rgba(243, 119, 37, 0.74);
  transform: scale(1.1);
}

.botao-next:hover,
.mod_articles_swiper .swiper-button-next:hover i,
.mod_articles_swiper .swiper-button-prev:hover i {
  transform: scale(1.1);
}

/* Paginação */
.mod_articles_swiper .swiper-pagination {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  text-align: center;
  padding-bottom: 10px;
}

.mod_articles_swiper .swiper-pagination-bullet {
  background: #f37825;
  opacity: 0.3;
  width: 10px;
  height: 10px;
  margin: 0 5px;
}

.mod_articles_swiper .swiper-pagination-bullet-active {
  opacity: 1;
}

.mod-articles-readmore a:first-of-type {
  color: #141414;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  padding-right: 10px;
}

.article-list .article {
  border: 0;
}

.article-list .article h2 a {
  font-family: 'Playfair Display', serif;
  font-style: normal;
  font-weight: 400;
  font-size: 32px;
  line-height: 130%;
  text-decoration-line: underline;
  color: #141414;
}

.article-list .article h2 a::first-letter {
  text-transform: uppercase;
}

.article-list .article .article-intro-image {
  margin: 10px 0;
}


.blog-introtext {
  line-height: 175%;
  color: #595959;
  margin: 20px 0;
}

.blog-readmore a:first-of-type {
  color: #141414;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  padding-right: 10px;
}

#sp-menu .sp-megamenu-parent>li>a {
  font-size: 18px;
  white-space: nowrap;
  padding: 0 10px;
}

.offcanvas-menu .offcanvas-inner ul.menu>li>a {
  font-size: 20px;
}

@media (max-width: 1600px) {
  #sp-logo .logo-image {
    height: 60px;
  }
}

@media (max-width: 1366px) {
  .header-modules {
    margin-left: 0;
  }

  .form-control {
    font-size: 0.9rem;
  }

  #sp-logo .logo-image {
    height: 50px;
  }

  #sp-logo.has-border {
    padding-right: 0;
  }

  #sp-menu .sp-megamenu-parent>li>a {
    font-size: 18px;
    white-space: nowrap;
    padding: 0 5px;
  }

}

@media (max-width: 1199px) {
  #sp-menu .sp-megamenu-parent>li>a {
    font-size: 17px;
  }

  #sp-header.full-header {
    padding-left: 5px;
    padding-right: 5px;
  }

}

/* =================================================
   MOBILE – Ajuste do Header
   ================================================= */
@media (max-width: 767.98px) {

  #sp-header {
    height: auto !important;
    min-height: 70px;
    /* ajuste fino: 65–80 */
    padding: 8px 0;
    /* cria respiro vertical */
  }

}

@media (max-width: 1080px) {
  #sp-menu .sp-megamenu-parent>li>a {
    font-size: 15px;
  }
}

@media (min-width: 992px) {
  #offcanvas-toggler {
    display: none !important;
  }
}

/*=================================================
=                    Biblioteca                   =
==================================================*/
#sp-biblioteca-virtual .tag-destaque {
  margin-top: -10rem !important;
  position: absolute;
}

#sp-biblioteca-virtual a,
.layout-biblioteca .biblioteca-category-link {
  color: #141414;
  font-size: 28px;
}

#sp-biblioteca-virtual a:hover,
.layout-biblioteca .biblioteca-category-link:hover {
  color: rgb(236, 67, 15);
}

#sp-biblioteca-virtual .mod-biblioteca-link {
  text-align: center;
  margin-top: 2rem;
}

#sp-biblioteca-virtual {
  background-image: url(../images/flamboyant-laranja.png);
  background-size: 850px;
  background-repeat: no-repeat;
  background-position: 82rem 10rem;
}

/*=================================================
=     Configuração dos artigos da biblioteca      =
==================================================*/
.biblioteca .article-body,
.biblioteca .blog-introtext {
  font-size: 16px;
}

.biblioteca.view-category a:hover {
  color: #ec430f !important;
}

.biblioteca.view-article .article-details h6 {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 175%;
  letter-spacing: 10px;
  text-transform: uppercase;
  color: #F37B20;

}

.biblioteca.view-article .article-details blockquote {
  width: 60%;
  margin: 0 auto;
  line-height: 175%;
  margin-bottom: 3rem;
}

.biblioteca.view-article .article-header {
  /* width: 60%; */
  margin: 0 auto;
}

.biblioteca.view-article .article-details h1,
.biblioteca.view-article .article-details h2 {
  font-size: 3.2rem !important;
  display: inline-block;
  position: relative;
  line-height: 1.3em !important;
  font-family: "Playfair Display", serif !important;
  -webkit-font-smoothing: antialiased;
  color: #141414 !important;
  margin-bottom: 2rem !important;
}

.biblioteca.view-article .article-details h1::after,
.biblioteca.view-article .article-details h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 50%;
  height: 2px;
  background-color: #F29F05;
}

.biblioteca.view-article .article-details .btn-outline-primary {
  display: inline-block;
  border: 1px solid #A1A1A1;
  color: #141414;
  padding: 0.625rem 1.875rem;
  background: transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  font-weight: 400 !important;
  font-size: 22px !important;
  font-family: "Playfair Display", serif !important;
  -webkit-font-smoothing: antialiased;
  border-radius: 1px;
}

.biblioteca.view-article .article-details .btn-outline-primary:hover,
.biblioteca.view-article .article-details .btn-outline-primary:focus,
.biblioteca.view-article .article-details .btn-outline-primary:active {
  background-color: #f37825;
  border-color: #f37825;
  color: #fff;
  box-shadow: 0 4px 12px rgba(243, 120, 37, .2);
}

.biblioteca.view-article .article-info {
  display: none !important;
}

.biblioteca span.badge.bg-danger.featured-article-badge {
  display: none !important;
}

/*=================================================
=             Explore nossa Biblioteca            =
==================================================*/
#sp-explore-nossa-biblioteca h3 {
  color: #F37B20;
  margin-bottom: 35px;
}

#sp-explore-nossa-biblioteca .mod-menu {
  list-style: none;
  padding: 0;
}

#sp-explore-nossa-biblioteca .mod-menu li a {
  display: block;
  padding: 30px 0;
  border-top: 2px solid #F37B20;
  font-size: 23px;
  font-family: 'Playfair Display', sans-serif;
}

/*=================================================
=             Mobile Biblioteca            =
==================================================*/
@media (max-width: 767.98px) {

  /* Só na página /biblioteca (menu item 105) */
  body.itemid-105 a.biblioteca-category-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  body.itemid-105 .biblioteca-category-title {
    display: block;
    width: 100%;
    text-align: center;
  }

  /* Imagem */
  body.itemid-105 .biblioteca-category-image img {
    display: block;
    margin: 0 auto;
    float: none !important;
  }
}


/*=================================================
=                      Sobre                      =
==================================================*/
.sobre.view-article .article-header {
  margin: 0 auto;
  text-align: center;
}

.sobre.view-article .article-details h1,
.sobre.view-article .article-details h2 {
  font-size: 3.5rem !important;
  display: inline-block;
  position: relative;
  line-height: 1.3em !important;
  font-family: "Playfair Display", serif !important;
  -webkit-font-smoothing: antialiased;
  color: #141414 !important;
  margin-bottom: 2rem !important;
}

.sobre.view-article .article-details h1::after,
.sobre.view-article .article-details h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 50%;
  height: 2px;
  background-color: #F29F05;
}

.sobre.view-article .article-details .btn-outline-primary {
  display: inline-block;
  border: 1px solid #A1A1A1;
  color: #141414;
  padding: 0.625rem 1.875rem;
  background: transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  font-weight: 400 !important;
  font-size: 22px !important;
  font-family: "Playfair Display", serif !important;
  -webkit-font-smoothing: antialiased;
  border-radius: 1px;
}

.sobre.view-article .article-details .btn-outline-primary:hover,
.sobre.view-article .article-details .btn-outline-primary:focus,
.sobre.view-article .article-details .btn-outline-primary:active {
  background-color: #f37825;
  border-color: #f37825;
  color: #fff;
  box-shadow: 0 4px 12px rgba(243, 120, 37, .2);
}

#sp-sobre-interna {
  background-image: url(../images/flamboyant-laranja.png);
  background-size: 520px;
  background-repeat: no-repeat;
  background-position: -10rem 18rem;
  background-color: #FAFAFA;
}

#sp-sobre-interna h3 {
  font-size: 2.25rem !important;
  display: inline-block;
  position: relative;
  line-height: 1.3em !important;
  font-family: "Playfair Display", serif !important;
  -webkit-font-smoothing: antialiased;
  color: #141414 !important;
  margin-bottom: 2rem !important;
}

#sp-sobre-interna h3::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 50%;
  height: 2px;
  background-color: #F29F05;
}

#sp-sobre-interna .sp-module:last-of-type {
  margin-top: 40px;
}

#sp-sobre-interna li {
  margin: 0 0 8px 0;
}

/* =================================================
   MOBILE – Sobre
   ================================================= */
@media (max-width: 767.98px) {

  body.sobre.view-article .article-header {
    text-align: left !important;
    margin: 0 0 12px !important;
  }

  body.sobre.view-article {
    font-size: 16px !important;
  }

  /* mantém o mesmo recuo lateral do bloco de título/breadcrumb */
  body.sobre.view-article #sp-main-body>.container,
  body.sobre.view-article #sp-sobre-interna>.container,
  body.sobre.view-article #sp-parceiros-interna>.container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* remove deslocamentos da grid que quebram o alinhamento no mobile */
  body.sobre.view-article #sp-main-body .container-inner>.row,
  body.sobre.view-article #sp-sobre-interna .container-inner>.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* remove o gutter da coluna principal do artigo */
  body.sobre.view-article #sp-main-body #sp-component,
  body.sobre.view-article #sp-main-body .col-lg-12,
  body.sobre.view-article #sp-sobre-interna #sp-position15.col-lg-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.sobre.view-article #sp-main-body .sp-column,
  body.sobre.view-article #sp-sobre-interna .sp-column {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.sobre.view-article .article-details h1,
  body.sobre.view-article .article-details h2,
  body.sobre.view-article .article-details h1[itemprop="headline"] {
    font-size: clamp(30px, 9vw, 44px) !important;
    line-height: 1.08 !important;
    margin-bottom: 14px !important;
  }

  body.sobre.view-article .article-details h1::after,
  body.sobre.view-article .article-details h2::after {
    left: 0 !important;
    width: 45% !important;
  }

  /* garante que o articleBody não herde 20px */
  body.sobre.view-article [itemprop="articleBody"],
  body.sobre.view-article [itemprop="articleBody"] p,
  body.sobre.view-article .article-body,
  body.sobre.view-article .article-body p {
    font-size: 16px !important;
    line-height: 1.7 !important;
  }

  body.sobre.view-article [itemprop="articleBody"] p[style*="text-align"] {
    text-align: justify !important;
  }

  /* Esconde a coluna da imagem (25%) */
  body.sobre.view-article div[style*="width: 25%"] {
    display: none !important;
  }

  /* Faz a coluna do texto ocupar 100% */
  body.sobre.view-article div[style*="width: 75%"] {
    width: 100% !important;
    float: none !important;
  }

  /* Remove floats internos */
  body.sobre.view-article img {
    float: none !important;
  }

  body.sobre.view-article p[style*="float"] {
    float: none !important;
    width: 100% !important;
    text-align: center !important;
    display: block !important;
  }

  /* Centraliza botão */

  /* Centraliza o PARÁGRAFO que envolve o botão */
  body.sobre.view-article div[itemprop="articleBody"] p[style*="text-align: right"],
  body.sobre.view-article div[itemprop="articleBody"] p[style*="text-align:right"],
  body.sobre.view-article div[itemprop="articleBody"] p[style*="text-align: end"],
  body.sobre.view-article div[itemprop="articleBody"] p[style*="text-align:end"] {
    text-align: center !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Garante que o <a> fique centralizado */
  body.sobre.view-article div[itemprop="articleBody"] p[style*="text-align"]>a.btn {
    display: inline-block !important;
  }

  /* Empilha as logos da Realização */
  body.sobre.view-article .d-flex.flex-nowrap.justify-content-center.align-items-center {
    flex-direction: column !important;
    gap: 20px !important;
  }

  /* Ajusta tamanho apenas das logos dessa seção */
  body.sobre.view-article .d-flex.flex-nowrap.justify-content-center.align-items-center img.img-fluid {
    width: 70% !important;
    /* ajuste fino */
    max-width: 180px;
    height: auto !important;
  }

  body.sobre.view-article img[alt="Logo UFG"],
  body.sobre.view-article img[alt="Logo FUNAPE"] {
    width: 180px !important;
    /* ajuste fino: 150–220 */
    max-width: 75vw !important;
    /* não estoura em telas pequenas */
    height: auto !important;
  }
}


/* Cabeçalho */
.sp-menu-item>a {
  text-transform: uppercase;
}

.sp-menu-item.current-item.active {
  border-bottom: 3px solid #f37B20;
}

/* 1. O container geral ocupa 100% da altura da tela */
.body-innerwrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* 2. O Main preenche o espaço e organiza seus filhos em coluna */
#sp-main {
  flex: 1;
  display: flex;
  /* Torna o main um container flex também */
  flex-direction: column;
}

/* 3. Empurra o footer para o final do Main */
#sp-footer {
  margin-top: auto;
}

.com-finder__search .awesomplete {
  width: 100%;
  height: 100%;
}

.com-finder__search .position-absolute {
  z-index: 10;
}

.accordion-button:focus {
  outline: none;
  box-shadow: none;
  /* Optional: Also remove the box-shadow if present */
}

/* remove list bullet  */
li.accordion-item {
  list-style-type: none;
}

.accordion-button {
  border: none !important;
  background-color: transparent !important;
}

.accordion-item:has(.accordion-button:not(.collapsed)) {
  border: 1px solid var(--brand-orange);
  border-radius: 4px;
}

#sp-footer,
#sp-bottom {
  background: transparent !important;
}

.btn-download::after {
  content: " ⬇";
  font-size: 1.1em;
  color: #F37B20;
}

.btn-download {
  background-color: transparent;
  border: 1px solid #ccc;
  font-family: Playfair Display;
  font-weight: 700;
  font-size: 16px;
  line-height: 175%;
  letter-spacing: 8%;
  text-transform: capitalize;
  padding: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-download:hover {

  background-color: #f37825;
  border-color: #f37825;
  color: #fff !important;
  transform: translateY(0);
}

.btn-download:hover::after {
  content: " ⬇";
  font-size: 1.1em;
  color: #fff !important;
}


/* =========================================
   Formacoes: mapa sticky (desktop + mobile)
   Escopo restrito a pagina Formacoes (itemid-113)
   Nota: o JS (via Helix) aplica .is-stuck no mobile.
========================================= */

/* Fix: sticky falha quando um ancestral vira scroll-container (overflow != visible) */
body.itemid-113 {
  overflow-x: hidden;
}

body.itemid-113 .body-innerwrapper {
  overflow: visible !important;
}

/* Coluna do mapa: sticky no desktop/tablet */
body.itemid-113 .pagina-formacoes .col-md-5.order-md-2 {
  position: -webkit-sticky;
  position: sticky;
  top: 110px;
  align-self: flex-start;
  height: fit-content;
  z-index: 99;
}

/* SVG do mapa: evita gaps e facilita resize */
body.itemid-113 .pagina-formacoes svg.mapa-suas {
  display: block;
}

/* Mobile: encosta no topo e pode virar card compacto */
@media (max-width: 767.98px) {
  body.itemid-113 .pagina-formacoes .col-md-5.order-md-2 {
    --map-sticky-top: 88px;
    top: calc(var(--map-sticky-top) + env(safe-area-inset-top, 0px));
    z-index: 999;
    transition: box-shadow .25s ease, background-color .25s ease, border-color .25s ease, border-radius .25s ease, padding .25s ease, width .25s ease, margin .25s ease;
  }

  body.itemid-113 .pagina-formacoes .col-md-5.order-md-2 svg.mapa-suas {
    width: 100%;
    height: auto;
    transition: max-height .25s ease;
  }

  /* Estado compacto (ativado pelo JS com .is-stuck) */
  body.itemid-113 .pagina-formacoes .col-md-5.order-md-2.is-stuck {
    width: min(160px, 45vw);
    margin-left: auto;
    margin-right: 8px;
    padding: 8px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
  }

  body.itemid-113 .pagina-formacoes .col-md-5.order-md-2.is-stuck svg.mapa-suas {
    max-height: 120px;
  }
}

/* Botões de acessibilidade */
._access-icon {
  position: fixed !important;
  left: 20px !important;
  bottom: 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  text-indent: 0 !important;
  text-align: center !important;
  font-size: 32px !important;
  line-height: 1 !important;
  background-color: #2f73e0 !important;
  border-radius: 10px !important;
  z-index: 9999 !important;
}

div[vw].enabled {
  position: fixed !important;
  left: 12px !important;
  bottom: 120px !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
  z-index: 10000 !important;
}

div[vw].enabled [vw-access-button] {
  position: relative !important;
  width: 40px !important;
  height: 40px !important;
  left: 0 !important;
  right: auto !important;
  overflow: visible !important;
}

div[vw].enabled [vw-access-button] .vp-pop-up {
  display: block !important;
  position: absolute !important;
  left: calc(100% + 8px) !important;
  top: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateX(-6px) !important;
  transition: all .2s ease !important;
  white-space: nowrap !important;
  z-index: 10001 !important;
}

div[vw].enabled [vw-access-button]:hover .vp-pop-up {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(0) !important;
}

/*=================================================
=          Programas e Ações – Finder Cards       =
==================================================*/
/* Fontes responsivas: em 1920px = valores Figma (24/20/16px) */
.com-finder--tagsmodal .vivermais-card-result__title {
  font-size: clamp(18px, 1.25vw, 24px);
}

.com-finder--tagsmodal .vivermais-card-result__pill span {
  font-size: clamp(16px, 1.04vw, 20px);
}

.com-finder--tagsmodal .vivermais-card-result__cta {
  font-size: clamp(14px, 0.833vw, 16px);
}

.com-finder--tagsmodal .custom-filters-tabs .filter-tab-item label {
  font-size: clamp(16px, 1.25vw, 24px);
}
