/*
Theme Name:         Ria Viva
Description:        Ria Viva Theme
Version:            1.0
Author:             wevolved

Text Domain:        Ria Viva
*/

/* Configurações BASE */
* {
	box-sizing: border-box;
}
body.home {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}
html,
body {
	margin: 0px;
	padding: 0px;
}


img {
	max-width: 100%;
}

/********* Alterar o scroll bar **********/
html {
	scrollbar-width: thin; /* Adjust the width of the scrollbar */
	scrollbar-color: #888 transparent; /* Adjust the color of the scrollbar */
}

/* Define the style for the scrollbar track */
html::-webkit-scrollbar {
	width: 4px; /* Adjust the width of the scrollbar */
}

/* Define the style for the scrollbar thumb */
html::-webkit-scrollbar-thumb {
	background-color: #888; /* Adjust the color of the scrollbar thumb */
	border-radius: 4px; /* Adjust the border radius of the scrollbar thumb */
}

/* Style for scrollbar track (background) */
html::-webkit-scrollbar-track {
	background-color: var(--white); /* Background color of the scrollbar track */
}
/********* FIM DE Alterar o scroll bar **********/

/* Reset comportamento de links */
a,
a:hover,
a:focus,
a:active {
	text-decoration: none;
	color: var(--black);
	cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
label,
input {
	margin: 0px;
	/* para que as fonts fiquem com linha mais fina */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a,
span {
	/* para que as fonts fiquem com linha mais fina */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
a {
	overflow-wrap: anywhere;
}

/**************** COMPONENTES DE FORMULARIOS **************/
/* Colocar os placeholders dos inputs com cor normal, remover o cinzento */
input::placeholder {
	color: var(--white);
	opacity: 1; /* Firefox */
}

/* Change the white to any color */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active {
	-webkit-box-shadow: 0 0 0 30px var(--black) inset !important;
	-webkit-text-fill-color: var(--white) !important;
}

/* Change the white to any color */
.white input:-webkit-autofill,
.white input:-webkit-autofill:hover,
.white input:-webkit-autofill:focus,
.white input:-webkit-autofill:active,
.white select:-webkit-autofill,
.white select:-webkit-autofill:hover,
.white select:-webkit-autofill:focus,
.white select:-webkit-autofill:active {
	-webkit-box-shadow: 0 0 0 30px var(--white) inset !important;
	-webkit-text-fill-color: var(--black) !important;
}

input:focus,
select:focus {
	outline: none !important;
}

/* Remover incremento de número - Chrome, Safari, Edge, Opera  */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* remover espaçamentos */
.wpb_button,
.wpb_content_element,
ul.wpb_thumbnails-fluid > li,
.vc_btn3-container {
	margin-bottom: 0px !important;
}

ul {
	list-style: none;
	padding: 0px;
	margin: 0px;
}
.footer-baixo-baixo {
    padding: 10px 20px;
}



.footer-logos.footer-logos-dynamic {
    --footer-logo-height: 30px;

    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(10px, 1.5vw, 18px);
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.footer-logos-dynamic .footer-logos-col {
    display: grid;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    align-items: center;
    justify-items: center;
    column-gap: clamp(3px, 0.8vw, 10px);
    row-gap: clamp(2px, 0.5vw, 6px);
    min-width: 0;
}

.footer-logos-dynamic .footer-logos-col:not(:last-child) {
    padding-right: clamp(8px, 1.2vw, 16px);
    border-right: 1px solid #0b8ebf;
}

.footer-logos-dynamic .footer-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.footer-logos-dynamic .footer-logo-img {
    display: block;
    height: var(--footer-logo-height) !important;
    width: auto !important;
    max-width: clamp(80px, 12vw, 160px) !important;
    max-height: var(--footer-logo-height) !important;
    object-fit: contain;
    object-position: center;
}

/* Tablet */
@media (max-width: 991px) {
    .footer-logos.footer-logos-dynamic {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        gap: 18px;
    }

    .footer-logos-dynamic .footer-logos-col:not(:last-child) {
        padding-right: 0;
        border-right: 0;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .footer-logos.footer-logos-dynamic {
        --footer-logo-height: clamp(28px, 9vw, 42px);

        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .footer-logos-dynamic .footer-logos-col {
        grid-template-rows: repeat(2, auto);
        grid-auto-flow: column;
        grid-auto-columns: max-content;
        column-gap: 8px;
        row-gap: 4px;
        max-width: 100%;
        overflow-x: auto;
    }

    .footer-logos-dynamic .footer-logo-img {
        max-width: 120px !important;
    }
}















/* =========================
   TASA ORBITER (Variable)
   ========================= */

@font-face {
  font-family: 'Tasa Orbiter';
  src: url('./fonts/TASAOrbiter-VariableFont_wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/**************** FONTS ****************/
/* Fonts */
@font-face {
	font-family: "FontAwesome";
	src: url("fonts/FontAwesome.otf");
	font-weight: normal;
	font-style: normal;
}


/**************** FONTS ****************/

/* =========================
   Tipografia Global
   ========================= */

/* Headers */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Tasa Orbiter', sans-serif;
  font-weight: 500; /* ajusta se quiseres mais forte */
}

h1 { font-size: 46px; }
h2 { font-size: 30px; }
h3 { font-size: 22px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

/* Texto default */
p,
a,
label,
input,
select,
textarea,
option {
  font-family: 'Tasa Orbiter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  font-style: normal;
  resize: none;
}
body {
  font-family: 'Tasa Orbiter', sans-serif;
  color: #00303F;
}

/* Variáveis p/ reutilizar */
:root {
	/* Cores */
	--black: #00303F;
	--white: #FCF7B2;
	--regular: 16px;
  --heading-h1: 72px;
  --heading-h3: 40px;
	--header-height: 50px;
	--page-margin: 25px;
	--border-radius: 4px;
	--page-top-space: 180px;
	--page-bottom-margin: 128px;
}
body{
  overflow-x: hidden;
}
/* Remover paddings */
.noPadding {
	padding-left: 0px;
	padding-right: 0px;
}
  .err404{
    min-height: 100vh;
    display: grid;
    place-items: center;
    background:
      url('/wp-content/uploads/2026/02/405.png') no-repeat center center/cover;
    padding: 40px 20px;
  }

  .err404__wrap{
    width: min(980px, 100%);
    display: grid;
    place-items: center;
  }

  .err404__inner{
    text-align: center;
    color: #fff;
  }

  .err404__code{
    font-size: clamp(64px, 12vw, 140px);
    line-height: 1;
    font-weight: 300;
    letter-spacing: .02em;
    margin-bottom: 10px;
  }
.error404 header, .error404 footer{ display:none; }
  .err404__text{
    margin: 0 0 18px;
    font-size: 14px;
    letter-spacing: .02em;
    opacity: .95;
  }

  .err404__btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 6px;
    background: #008FBC;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,.15);
    transition: transform .15s ease, filter .15s ease;
  }

  .err404__btn:hover{
    transform: translateY(-1px);
    filter: brightness(1.05);
  }

  .err404__btn:focus-visible{
    outline: 2px solid rgba(255,255,255,.65);
    outline-offset: 3px;
  }
.pol {
    padding: 7% 15%;
}
.pol .wpb_text_column{
  margin-top: 50px;
}
.pol h6{
  font-size: 18px;
  font-weight: 600;
  line-height: 22px;
  color: #4C535C;
  margin-bottom: 0 !important;
}
.pol p{
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: #4C535C;
  margin-bottom: 10px !important;
}
.pol h1{
    width: 748px;
    margin-bottom: 25px;
    max-width: 100%;
    font-size: var(--heading-h1);
    font-weight: 500;
    color: #008FBC;
    margin-bottom: 50px;
    text-transform: uppercase;
}
/* esconder badge do recaptcha */
.grecaptcha-badge {
	visibility: hidden !important;
}
.page-sobre-nos .page-banner{
  height: 95vh;
}
/* esconder WPML no footer */
.otgs-development-site-front-end {
	display: none;
}
.inter-top-zero {
    padding: 50px 10% 70px!important;
    background-color: #297f50;
}
.page-projetos .page-content-area{
    background: #297F50;
}
.page-governo-da-sociedade .page-content-area,.page-informacao-financeira .page-content-area, .page-contactos .page-content-area, .page-plano-de-intervencoes .page-content-area, 
.page-concursos-publicos .page-content-area, .page-concursos-publicos .page-content-area {
  background: #faf8f9;
}
.page-governo-da-sociedade .page-banner-inner, .page-informacao-financeira .page-banner-inner, .page-contactos .page-banner-inner, .page-plano-de-intervencoes .page-banner-inner, .page-concursos-publicos .page-banner-inner, .page-concursos-publicos .page-banner-inner {
    background: linear-gradient(to top, #faf8f9 0%, #faf8f9d9 30%, #d8e0e43d 55%, #fcfcfc00 100%);
}
.page-sobre-nos .page-banner-inner {
    background: linear-gradient(to top, #0b8ebf 0%, #0b8ebf 30%, #0a8dbe00 50%);
}
.page-projetos .page-banner-inner {
    background: linear-gradient(to top, #297f50 0%, #297f50d9 20%, #297f5029 40%, #0a8dbe00 80%);
}
.single-objetivo .page-banner-inner {
    background: linear-gradient(to top, #297f50 0%, #297f50 40%, #297f5045 60%, #0a8dbe00 80%);
}
.single-intervencao .page-banner-inner {
    background: linear-gradient(to top, #297f50 0%, #297f50 40%, #297f5029 55%, #0a8dbe00 90%);
}

.page-informacao-financeira .govsoc__section {
    padding: 0px;
}
.page-projetos .sub-titulo p {
    width: 650px;
}
.single-post.categoria-especial .single-hero-media img {
    height: 100vh;
}
.page-sobre-nos .page-banner-inner-inner {
    bottom: 0px;
}
.page-governo-da-sociedade .page-banner-title, .page-informacao-financeira .page-banner-title, .page-contactos .page-banner-title, .page-plano-de-intervencoes .page-banner-title, 
.page-concursos-publicos .page-banner-title {
    font-weight: 500;
    font-size: var(--heading-h1);
    line-height: 1;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: #008fbc;
    width: 748px;
    max-width: 100%;
}
.page-informacao-financeira .govsoc__badge{
  background-image:url("/wp-content/uploads/2026/02/icon.svg");
}
.page-banner-inner {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: flex-end;
}

.page-banner-title {
  font-weight: 500;
  font-size: var(--regular);
  leading-trim: CAP_HEIGHT;
  line-height: 18px;
  letter-spacing: 0%;
  text-transform: uppercase;
  color: #FCF7B2;
}
.sub-titulo p{
font-weight: 500;
font-size: 72px;
margin-top: 20px;
width: 734px;
max-width: 100%;
line-height: 1;
letter-spacing: -4%;
text-transform: uppercase;
 color: #FCF7B2;
}
.single-objetivo .page-banner {
    height: 100vh;
}
.single-objetivo .sub-titulo p{
font-weight: 500;
font-size: 16px;
line-height: 1;
}
.single-objetivo .page-banner-title {
    font-size: var(--heading-h1);
    font-weight: 500;
    line-height: 1.1;
    width: 748px;
    max-width: 100%;
    margin-top: 20px;
}


.page-informacao-financeira section.govsoc__content {
    width: 90%;
}
.govsoc__archive {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    overflow: auto;
    padding: 10px;
    aspect-ratio: 5/5;
    padding-top: 20px;
    align-content: space-around;
    max-width: 100%;
    scrollbar-width: thin;              /* Firefox */
    scrollbar-color: #0090bc4b transparent; /* Firefox */
}

/* Chrome, Edge, Safari */
.govsoc__archive::-webkit-scrollbar {
    width: 3px;
}

.govsoc__archive::-webkit-scrollbar-track {
    background: transparent;
}

.govsoc__archive::-webkit-scrollbar-thumb {
    background: #0090bc46;
    border-radius: 999px;
}

.govsoc__archive::-webkit-scrollbar-thumb:hover {
    background: #0090bc36;
}


.govsoc__twocol {
    display: grid;
    grid-template-columns: 50% 1fr;
    gap: 30px;
    align-items: start;
}
.govsoc__tile {
    background: rgba(0,0,0,.06);
    background-size: cover;
    background-position: center;
    min-height: 100%;
    aspect-ratio: 4 /4;
    position: relative;
    overflow: hidden;
}
.govsoc__tileInner{ position:absolute; inset:0; }

.govsoc__archiveHead, .govsoc__nav h6{
  font-size: 12px;
  letter-spacing: .08em;
  font-weight: 500;
  text-transform: uppercase;
  opacity: .6;
  margin: 6px 0 10px;
}

/* card final */
.govsoc__excerptCard--wide{
  padding: 28px 28px;
}
.govsoc__cardTitle{
  margin: 0 0 10px;
  font-size: 40px;
  line-height: 1.05;
  color: #008FBC;
}

.bloco-1-proj h3 {
    font-size: 40px;
    line-height: 1.1;
    width: 491px;
    color: #FCF7B2;
    font-weight: 500;
    max-width: 100%;
}
.bloco-1-proj p {
    font-size: 24px;
    line-height: 1.2;
    color: #FCF7B2;
    font-weight: 500;
    max-width: 100%;
    margin-bottom: 30px;
}
a.btn.btn-primary.btn-arrow.noticia-botao {
    margin-right: 12.3%;
    padding: 20px 20px;
}
/* wrapper do swiper */
.hero-swiper {
  width: 100%;
  position: relative;
}
.hero-pagination-new{
  display: none;
}
.hero-pagination {
    position: absolute;
    left: 45% !important;
    bottom: 25px !important;
    display: flex;
    gap: 10px;
    align-items: center;
    z-index: 10;
    pointer-events: auto;
}
.home-hero .hero-pagination {
    left: 25px !important;
    bottom: 25px !important;
}
/* bullets */
.hero-pagination .swiper-pagination-bullet {
  width: 30px;            /* traços pequenos */
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22); /* “azulado”/claro por cima do fundo */
  opacity: 1;
  margin: 0 !important;   /* Swiper mete margens */
  transition: width .25s ease, background-color .25s ease, opacity .25s ease;
}

/* bullet ativo (amarelo e mais comprido) */
.hero-pagination .swiper-pagination-bullet-active {
  width: 40px;           /* traço ativo maior */
  background: #f4d65c;    /* amarelo */
}


    .obj-list{display:flex;flex-direction:column;gap:24px}
.obj-card {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    min-height: 190px;
    aspect-ratio: 16 / 6;
    background: #0b2f2f;
}
    .obj-card__bg{position:absolute;inset:0;z-index:0}
    .obj-card__bg img{width:100%;height:100%;object-fit:cover;display:block}
    .obj-card__bg::after{
      content:"";
      position:absolute;inset:0;
      background:linear-gradient(90deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.05) 55%, rgba(0,0,0,.00) 100%);
    }

.obj-card__panel {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    height: calc(100% - 40px);
    background: #fff;
    width: min(30%, 92%);
    margin: 20px;
    padding: 2% 4% 2% 2%;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    flex-direction: column;
}
.obj-card__meta-top {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .06em;
    display: flex;
    color: #00303F;
    opacity: 1;
    margin: 0 0 10px;
    flex-direction: column;
}
.obj-grid {
    margin: 100px 15px !important;
}
    .obj-card__meta-top strong{opacity:1}

    .obj-card__title{
      font-size: 2.5vw;
      line-height:1.1;
      font-weight:500;
      color:#0b7aa3;
      margin:0 0 10px;
      text-transform:uppercase;
    }

    .obj-card__excerpt{
      font-size:16px;
      line-height:1.4;
      color:#00303F;
      font-weight: 500;
      opacity:.85;
      margin:0 0 40px;
      max-width:46ch;
    }

    .obj-card__btn{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:8px;
      padding:10px 14px;
      background:#0b7aa3;
      color:#fff;
      text-decoration:none!important;
      font-size:12px;
      font-weight:700;
      border-radius:6px;
    }

 .obj-card__footer {
    position: absolute;
    left: unset;
    right: 0px;
    bottom: 20px;
    width: 70%;
    z-index: 1;
    padding: 0 18px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    pointer-events: none;
}
.obj-card__footer-inner {
    display: flex;
    width: 100%;
}

.obj-card__footer-inner > div {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 30px 0px;
}
.single-objetivo .obj-card__footer-inner > div {
    flex: 1;
    text-align: center;
    margin-top: 60px;
    position: relative;
    height: 120px;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #fcf7b26e;
    border-top: 1px solid #fcf7b26e;
    flex-direction: column;
    padding: 0;
}
.single-objetivo .obj-card__footer-inner > div:not(:last-child)::after {
    height: 120px;
}
.obj-card__footer-inner > div:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 100px;
    width: 1px;
    background: #fcf7b26e;
}
.obj-card__footer-inner span {
    font-size: 16px;
    font-weight: 500;
    color: #FCF7B2;
    letter-spacing: .02em;
    margin-bottom: 6px;
    text-transform: none;
}
.obj-card__footer-inner span.num {
    font-size: 40px;
    line-height: 40px;
    font-weight: 500;
    color: #FCF7B2;
    letter-spacing: .02em;
    display: block;
    margin-bottom: 0px;
    text-transform: none;
}
.download-notice {
  background: #f5f5f5;
  padding: 52px 44px;
}

.download-notice__text b {
  color: #00303F;
  font-weight: 500;
}

.download-notice__inner {
  background: #ffffff; /* base branco */
  max-width: 1200px;
  margin: 0 auto;
  padding: 35px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-right: 2px solid transparent; /* invisível */
  transition: all 0.3s ease;
}

/* 👉 HOVER */
.download-notice__inner:hover {
  background: linear-gradient(
    90deg,
    rgb(255 255 255) 0%,
    rgba(0, 143, 188, 0.14) 100%
  );

  border-right: 2px solid #1e8aa5;
}

.download-notice__text {
  font-size: 14px;
  line-height: 1.4;
  color: #1e8aa5;
}

.download-notice__icon {
  display: inline-block;
  flex: 0 0 auto;
  margin-left: 24px;
}

.categoria-especial .single-hero-2 {
    margin-bottom: 0px;
}
section.obj-interv-listing {
    margin: 50px 0px;
}
.obj-interv-listing__top {
    margin: 50px 0px;
}
.single-objetivo .objetivo-single-content {
    background: #297f50;
}

.objetivo-single-content {
    background: #1b5535;
    color: #fff;
    padding: 70px 0 0;
}
.objetivo-single-content .bloco-top{
  max-width: calc(100% - 10%);
}

.objetivo-top-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items:start;
}

.objetivo-top-left {
    width: 491px;
    max-width: 100%;
}
.objetivo-top-left p {
    font-size: 1.7vw;
    font-weight: 500;
    line-height: 1.1;
    color: #FCF7B2;
}

.inter-mapa-single-wrap{
  width: 100%;
  height: 70dvh;
  min-height: 420px;
  position: relative;
  overflow: hidden;
}

.inter-mapa-single{
  width: 100%;
  height: 100%;
}

.mapa-pin-gota{
  width: 26px;
  height: 36px;
  background: #1f6bff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  cursor: pointer;
  position: relative;
}
.inter-top-primeiro .maplibregl-popup-content {
    background: #297f50;
}
.mapa-pin-gota::after{
  content: "";
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 8px;
  left: 8px;
}

.maplibregl-popup-content{
  border-radius: 14px;
  padding: 14px 16px;
}

.mapa-popup-title{
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  margin: 0;
}

.inter-datas {
    display: flex;
    border-top: 1px solid rgb(241 232 167);
    border-bottom: 1px solid rgb(241 232 167);
}
.single-intervencao .page-banner-inner-inner {
    bottom: 0px;
}
.single-intervencao .page-banner {
    height: 100vh;
}
.single-intervencao .objetivo-single-content {
    padding: 0px 0 0;
}
.single-intervencao .govsoc__linkRow {
    background: linear-gradient(90deg, rgba(0,143,188,0) 0%, rgba(0,143,188,.14) 100%);
    padding: 20px 30px;
    border-top: none !important;
}


.interv-entidades{
  padding: 90px 0 60px;
}
.interv-lightbox__nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #00303F;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.interv-lightbox__nav--prev {
    left: 32px;
}

.interv-lightbox__nav--next {
    right: 32px;
}

.interv-lightbox__nav:hover {
    background: #f3ea98;
}

@media (max-width: 767px) {
    .interv-lightbox__nav {
        width: 42px;
        height: 42px;
        font-size: 32px;
    }

    .interv-lightbox__nav--prev {
        left: 12px;
    }

    .interv-lightbox__nav--next {
        right: 12px;
    }
}
.interv-entidades-grid {
    display: flex;
    grid-template-columns: 1fr;
    gap: 80px;
    align-items: start;
    flex-direction: row;
    justify-content: flex-start;
}
.govsoc__soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  font-size: 10px;
  font-weight: 500;
  color: #00303F;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}
.interv-entidades-title{
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:22px;
  color:#4f5a61;
}


/* Planos filhos */
.govsoc__sectionHeadMain h3, .govsoc__sectionInvest{
  color: #008FBC;
  font-size: 1.6vw;
}
.govsoc__sectionHeadMain {
    width: 70%;
}
.govsoc__categoryTitle {
    color: #008fc2;
    padding: 25px 0px 10px;
    font-size: 16px;
    font-weight: 600;
}
.govsoc__sectionHead.govsoc__sectionHead--withInvest {
    display: flex;
    width: 100%;
    justify-content: space-between;
}
.govsoc__item--child .govsoc__linkRow {
  grid-template-columns: 1fr auto;
}

.govsoc__item--child .govsoc__docLeft {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  align-items: start;
  padding-left: 0;
}

.govsoc__item--child .govsoc__docKicker {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  opacity: 0.9;
}

.govsoc__item--child .govsoc__docTitle {
  font-size: 17px;
  line-height: 1.25;
  font-weight: 500;
}

.govsoc__item--child .govsoc__docRight {
  font-size: 17px;
  line-height: 1.2;
  font-weight: 500;
}
.govsoc__item--child {
    margin-left: 20px;
}


.interv-entidades-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: auto !important;
}
.obj-interv-listing__top h6{
  font-size: 16px;
  line-height: 18px;
  font-weight: 500;
  text-transform: uppercase;
  color: #4C535C;
}
.interv-entidade-item {
    width: 230px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.interv-entidade-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 4;
}
.acoes-relacionadas {
    padding: 60px 0;
    border-top: 1px solid #f0f0f0;
}

.single-intervencao .btn {
    padding: 20px 20px 20px 20px;
}
.single-intervencao .govsoc__linkRow .govsoc__badge {
    opacity: 1;
    transform: translateY(-50%) translateX(-50%);
}
.single-intervencao .govsoc__linkRow .govsoc__docLink, .single-intervencao .govsoc__linkRow .govsoc__docTitle {
    color: #008FBC;
}
.single-intervencao .objetivo-top-grid{
  margin: 70px 0px;
}
.single-intervencao .interv-info-strip__grid {
    display: flex;
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 0px;
    justify-content: center;
    align-items: center;
}
.inter-data-item{
  flex:1;
  text-align:center;
  padding:45px 20px;
  position:relative;
}

.inter-data-item:first-child{
  border-right:1px solid #F1E8A7;
}
.interv-info-strip__grid{
  border-top:1px solid #F1E8A7;
  border-bottom:1px solid #F1E8A7;
}
.interv-galeria{
  padding: 80px 0;
}
.single-video.interv-video {
    padding: 30px 0;
}
.interv-galeria__head{
  margin-bottom: 24px;
}

.interv-galeria__title{
  margin: 0 0 10px;
  color: #F1E8A7;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 500;
}

.interv-galeria__intro{
  max-width: 420px;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  line-height: 1.55;
}

.interv-galeria-filtros{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}





.main-bottom{
  padding: 90px 0 110px;
}

.interv-resultados {
    width: 100%;
    padding: 75px 0px 35px;
}
.interv-resultados-title{
  margin: 0 0 60px;
  color: #1498cf;
  font-size: 40px;
  line-height: .95;
  font-weight: 500;
}

.interv-resultados-grid{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  align-items: end;
  gap: 14px;
  width: 100%;
  min-height: 60vh;
}

.resultado-card-wrap{
  display: flex;
  align-items: flex-end;
  height: 60vh;
}


.interv-candidatura{
  padding: 60px 0 100px;
}

.interv-candidatura-box{
  background: #dceef3;
  padding: 36px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.interv-candidatura-content{
  max-width: 620px;
}

.interv-candidatura-title{
  margin: 0 0 12px;
  color: #1498cf;
  font-size: 42px;
  line-height: .95;
  font-weight: 500;
}

.interv-candidatura-text {
    color: #00303F;
    font-size: 16px;
    margin-top: 15px;
    line-height: 1.4;
    max-width: 520px;
}

.interv-candidatura-action{
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}


.resultado-card {
    width: 100%;
    height: calc(var(--percent) * 1%);
    min-height: 120px;
    padding: 18px 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: linear-gradient(180deg, #cfe8ef 0%, #ffffff 100%);
    overflow: hidden;
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
    animation: resultadoGrow .9s cubic-bezier(.22,1,.36,1) forwards;
    transition: background .25s ease, transform .25s ease;
}
.resultado-card:hover {
    background: linear-gradient(180deg, #1498cf 0%, #ffffff 100%);
}
.interv-download-inner {
    text-align: center;
}
.resultado-percent{
  color: #1498cf;
  font-size: 56px;
  line-height: .9;
  font-weight: 400;
  margin-bottom: 14px;
  transition: color .25s ease;
}

.resultado-text{
  color: #4f5a61;
  font-size: 16px;
  line-height: 1.4;
  transition: color .25s ease;
}

.resultado-card:hover .resultado-percent{
  color: #f1e8a7;
}

.resultado-card:hover .resultado-text{
  color: #f1e8a7;
}

/* delays suaves */
.resultado-card-wrap:nth-child(1) .resultado-card{ animation-delay: .05s; }
.resultado-card-wrap:nth-child(2) .resultado-card{ animation-delay: .12s; }
.resultado-card-wrap:nth-child(3) .resultado-card{ animation-delay: .19s; }
.resultado-card-wrap:nth-child(4) .resultado-card{ animation-delay: .26s; }
.resultado-card-wrap:nth-child(5) .resultado-card{ animation-delay: .33s; }
.resultado-card-wrap:nth-child(6) .resultado-card{ animation-delay: .40s; }

@keyframes resultadoGrow{
  0%{
    transform: scaleY(0);
    opacity: 0;
  }
  100%{
    transform: scaleY(1);
    opacity: 1;
  }
}





.interv-galeria-filtro {
    appearance: none;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.75);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    border-radius: 6px;
    cursor: pointer;
    padding: 7px 15px;
}

.interv-galeria-filtro.is-active {
    background-color: #297f50;
    color: #F1E8A7;
}
.interv-galeria-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.interv-galeria-card{
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgba(255,255,255,.06);
}

.interv-galeria-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.interv-galeria-paginacao{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  width: 100%;
}

.interv-galeria-paginacao-left,
.interv-galeria-paginacao-right{
  display: flex;
  align-items: center;
  gap: 4px;
}
#news-ajax-results .interv-galeria-page.is-active {
    color: #00303F;
    border: 1px solid #008FBC !important;
}
#news-ajax-results .interv-galeria-page {
  color: #4C535C;
    border: 1px solid #E5E8EB !important;
}
.interv-galeria-page{
  appearance: none;
  border: 1px solid rgba(255,255,255,.08);
  background: transparent;
  color: rgba(255,255,255,.55);
  font-size: 11px;
  cursor: pointer;
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: .2s ease;
}

.interv-galeria-page:hover{
  border-color: rgba(255,255,255,.18);
  color: rgba(255,255,255,.8);
}

.interv-galeria-page.is-active{
  background: rgba(255,255,255,.08);
  color: #F1E8A7;
  border-color: transparent;
}

.interv-galeria-page--arrow{
  font-size: 14px;
}

.interv-galeria-page:disabled{
  opacity: .35;
  cursor: default;
}
.single-content img {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16/ 7;
    object-fit: cover;
    object-position: center;
}
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.wpb_image_grid_ul {
  height: auto !important;
}

.wpb_image_grid_ul li {
  position: relative !important;
  top: auto !important;
  left: auto !important;
}

.inter-data-num{
  font-size:40px;
  font-weight:500;
  letter-spacing:.05em;
  color:#F1E8A7;
  margin-bottom:8px;
}

.inter-data-label{
  font-size:16px;
  font-weight: 500;
  color: #FCF7B2;
}

.objetivo-top-right p{ 
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500; 
  color: #FCF7B2;
}
.obj-intervencoes {
    padding: 70px 0 20px;
    margin: 0px 15px;
}

.obj-intervencoes__slider .slick-slide{
  padding: 0 12px;
  box-sizing: border-box;
}
.obj-intervencoes__slider .slick-list{
  margin: 0 -12px;
}

/* ===== CARD ===== */
.obj-interv-card{
  position: relative;
  min-height: 90vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.obj-interv-card__overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.18);
  z-index:0;
}

.obj-interv-card__panel{
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 26px;
}

/* painel branco */
.obj-interv-card__header, .obj-interv-card__baixo{
  width: 491px;
  max-width: 92%;
}
.obj-interv-card__header{
  background: #FCF7B2;
}
.obj-interv-card__baixo {
    background-color: white;
    min-height: auto;
    padding: 100px 50px 100px 30px;
    display: flex;
    position: relative;
    align-content: center;
    align-items: center;
}
.obj-interv-card__tag-inner {
    padding: 30px 50px 30px 30px;
}
.obj-interv-card__h{
  margin:0 0 10px;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.1;
  font-size: 2vw;
  color: #0a86a6; /* azul do mock */
}
.obj-interv-card__p {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 0%;
    color: #00303F;

    display: -webkit-box;
    -webkit-line-clamp: 3;   /* máximo 3 linhas */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
a.btn.btn-primary.btn-primary-card {
    position: absolute;
    bottom: 30px;
}
.obj-interv-card__fase {
    background: #e0f3f4;
    color: #1b1b1b;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 15px 30px;
    width: fit-content;
}
.obj-interv-card__objetivos{
  display: flex;
}
.obj-interv-card__title {
    font-size: 1.6vw;
    line-height: 1.2;
    text-transform: uppercase;
    font-weight: 500;
    color: #0a86a6;
}

/* botão */
.obj-interv-card__btn{
  margin-top: 6px;
  width: fit-content;
  background: #f2f1b2;
  color: #0a86a6;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 10px 14px;
  display:inline-flex;
  align-items:center;
  gap:10px;
}

.obj-interv-listing__title{
  font-size: var(--heading-h3);
  line-height: 1.1;
  font-weight: 500;
  color: #008FBC;
  margin: 0 0 40px; 
}
.obj-interv-filters button, .obj-interv-filters a {
    background-color: #ffffff;
    border: 1px solid #ffffff;
    text-transform: uppercase;
    font-size: 15px;
   font-weight: 700; 
    color: #4C535C;
    border-radius: 6px;
    padding: 7px 13px;
}
.obj-interv-filters button.is-active, .obj-interv-filters a.is-active {
    background-color: #008fbc;
    border: 1px solid #008fbc;
    color: white;
}

/* Loader overlay discreto dentro do arquivo */
#arquivo{ position:relative; }

.news-ajax-loader{
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:0;
  transition:opacity .2s ease;
  z-index:10;
}

.news-ajax-loader.is-loading{ opacity:1; }

.news-ajax-loader-inner{
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:120px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(to bottom, rgba(255,255,255,.85), rgba(255,255,255,0));
}

.news-ajax-spinner{
  width:22px;
  height:22px;
  border-radius:999px;
  border:2px solid rgba(0,0,0,.15);
  border-top-color: rgba(0,0,0,.65);
  animation: newsSpin .7s linear infinite;
}

@keyframes newsSpin{
  to{ transform:rotate(360deg); }
}

/* transição suave ao trocar resultados */
#news-ajax-results{
  transition: opacity .18s ease, transform .18s ease;
}
#news-ajax-results.is-fading{
  opacity:.55;
  transform: translateY(4px);
}

/* =========================================================
   Alturas consistentes (estilo 16:9)
   - Todos os cards: mesma altura (16:9 baseado na largura)
   - 2º card: mais largo => fica naturalmente mais alto
   - Imagem à esquerda, conteúdo à direita
   ========================================================= */

.obj-interv-grid{
  --w: 920px;          /* largura padrão */
  --wFeatured: 1120px; /* largura do 2º */
  --radius: 10px;
  --border: rgba(0,0,0,.10);

  --text: #0f172a;
  --muted: rgba(15,23,42,.68);
  --accent: #0ea5b7;
  --yellow: #fbf3b4;

  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 10px 0 30px;
}


/* CARD base */
.obj-interv-item__link{
  width: min(var(--w), 100%);
  display: grid;
    grid-template-columns: 1fr 1fr;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.obj-interv-item__media img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    display: block;
    object-position: center;
}
/* conteúdo direita: centrado vertical */
.obj-interv-item__card{
  height: auto;
  padding: 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  position: relative;
}
.interv-entidades-col {
    width: 100%;
}

.obj-interv-item__tags {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: stretch;
    z-index: 2;
}

.obj-interv-item__fase {
    position: static;
    width: fit-content;
    align-self: flex-start;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 10px 15px;
    border: 1px solid rgb(224 243 244);
    background: rgb(224 243 244);
    color: #00303F;
}

.obj-interv-item__codigo {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 10px 15px;
    border: 1px solid #f3ea98;
    background: #f3ea98;
    color: #00303F;
}


.interv-galeria-card__zoom{
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.interv-galeria-card__zoom img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.interv-lightbox{
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.interv-lightbox__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.78);
}

.interv-lightbox__content{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.interv-lightbox__img{
  max-width: min(1200px, 92vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.interv-lightbox__close{
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 2;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}

body.interv-lightbox-open{
  overflow: hidden;
}









.obj-interv-item__title{
  margin: 0;
  font-size: 1.2vw;
  line-height: 1.2;
  font-weight: 500;
  color: var(--text);
}

.obj-interv-item__excerpt {
  margin: 15px 0;
  font-size: 16px;
  line-height: 1.45;
  color: #00303F;
  max-width: 52ch;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.obj-interv-item .obj-interv-item__card {
    background: #faf8f9;
    padding: 45px 22px;
}
/* por defeito, sem botão */
.obj-interv-item__btn{ display: none; }

.obj-interv-item{
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  padding: 0px 10%;
  transition: padding .35s ease;
}

.obj-interv-item:hover{
  padding: 0px 0%;
}

/* botão escondido com transição */
.btn-largo{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease;
}

.obj-interv-item:hover .btn-largo{
  opacity: 1;
  transform: translateY(0);
}

/* painel */
.obj-interv-item__card{
  transition: background .35s ease, padding .35s ease;
}

/* Featured: painel amarelo */
.obj-interv-item:hover .obj-interv-item__card{
  background: var(--yellow);
  padding: 22px 22px;
}

.obj-interv-item__title{
  transition: color .35s ease;
}

.obj-interv-item:hover .obj-interv-item__title{
  color: rgba(14,165,183,.95);
}

.obj-interv-item__btn{
  transition: all .35s ease;
}

.obj-interv-item:hover .obj-interv-item__btn{
  display: inline-flex;
  align-self: flex-start;
  margin-top: 50px;
  padding: 9px 12px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  font-size: 12px;
}






.page-banner-inner-inner--intervencao{
  width: 100%;
}

.interv-banner-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 1fr);
  gap: 80px;
  align-items: start;
}

.interv-banner-left{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.interv-banner-top-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 28px;
}

.interv-banner-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 14px;
  background: #f3f3f0;
  color: #5e6460;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-right: 1px solid rgba(0,0,0,.08);
}

.interv-banner-top-tags .interv-banner-badge:last-child{
  border-right: 0;
}
.interv-banner-left .page-banner-title {
    font-size: 2.8VW;
    line-height: 1.1;
    font-weight: 500;
}

.interv-banner-right{
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 64px;
}

.interv-banner-meta-item{
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 50px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.interv-banner-meta-label{
  font-size: 12px;
  line-height: 2;
  color: #FCF7B2;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .65;
}

.interv-banner-meta-value{
  font-size: 16px;
  line-height: 1.4;
  color: #FCF7B2;
  font-weight: 500;
}

.interv-info-strip{
  padding: 48px 0;
}

.interv-info-strip__grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.interv-info-strip__item{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.interv-info-strip__label{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .7;
}

.interv-info-strip__value {
    font-size: 6vw;
    color: #FCF7B2;
    line-height: 1;
    font-weight: 400;
}
.interv-info-strip__item--link a{
  text-decoration: none;
}

.interv-galeria{
  padding: 40px 0 70px;
}

.interv-galeria__intro{
  width: 613px;
  max-width: 100%;
  margin-bottom: 28px;
  color: #FCF7B2;
}

.interv-galeria-grupo + .interv-galeria-grupo{
  margin-top: 36px;
}

.interv-galeria-grupo__title{
  margin: 0 0 16px;
}

.interv-galeria-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.interv-banner-badge.interv-banner-badge--fase{
  background-color: #E0F3F4;
}
.interv-galeria-item{
  margin: 0;
}

.interv-galeria-item img{
  display: block;
  width: 100%;
  height: auto;
}

.interv-video{
  padding: 20px 0 70px;
}

.interv-video__embed iframe,
.interv-video__embed video,
.interv-video__embed embed,
.interv-video__embed object{
  width: 100%;
  max-width: 100%;
}









.mapa-filtros{
  position:absolute;
  left:20px;
  bottom:20px;
  backdrop-filter:blur(8px);
  border-radius:6px;
  padding:12px;
  font-size:13px;
}
.mapa-popup-objetivos {
    display: flex;
    gap: 15px;
    flex-direction: column;
}
span.mapa-tag-title {
    margin-left: 15px;
}
.mapa-popup-objetivos a{
    color: #008FBC;
}
.mapa-filtro-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px !important;
    gap: 10px;
    width: max-content;
        PADDING: 15PX;
    BACKGROUND-COLOR: #ffffff;
    font-size: 14px;
    border-radius: 6px;
    text-transform: uppercase;
}
.mapa-filtro-item input{
  margin-right:6px;
}

.mapa-filtro-nome {
    flex: 1;
    font-size: 14px;
    line-height: 1;
}
.mapa-filtros input[type="checkbox"]{
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid #45b3d7;
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  display: inline-grid;
  place-content: center;
  margin: 0;
  transition: all .15s ease;
}
.mapa-filtro-item.filtrado {
    BACKGROUND-COLOR: #008fbc;
    color: white;
}
.mapa-filtro-item.filtrado .mapa-filtro-contagem {
      color: #ffffff;
}
/* hover */
.mapa-filtros input[type="checkbox"]:hover{
  box-shadow: 0 0 0 3px rgba(69,179,215,.15);
}

/* checked */
.mapa-filtros input[type="checkbox"]:checked{
  background: #ffffff; /* continua branco */
  border-color: #008fbc;
}

/* ✓ azul */
.mapa-filtros input[type="checkbox"]:checked::after{
  content: "";
  width: 6px;
  height: 10px;
  border-right: 2px solid #45b3d7;
  border-bottom: 2px solid #45b3d7;
  transform: rotate(45deg);
}


.mapa-filtro-contagem{
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  color: #4C535C;
  margin-left: 15px;
}

.mapa-pin-gota{
  width:18px;
  height:18px;
  background:#1a73e8;
  border:3px solid #fff;
  border-radius:50% 50% 50% 0;
  transform:rotate(-45deg);
  box-shadow:0 10px 22px rgba(0,0,0,.18);
  position:relative;
}

.mapa-pin-gota::after{
  content:"";
  position:absolute;
  width:6px;
  height:6px;
  background:#fff;
  border-radius:999px;
  top:5px;
  left:5px;
  transform:rotate(45deg);
}

.maplibregl-popup-content{
  border-radius:6px;
  padding:10px 12px;
  box-shadow:0 14px 30px rgba(0,0,0,.18);
}

.mapa-popup-title{
  font-weight:700;
  font-size:14px;
  margin-bottom:6px;
}

.mapa-popup-link{
  font-size:13px;
  text-decoration:none;
}
.mapa-popup-link:hover{
  text-decoration:underline;
}
/* ===== módulo mapa (homepage + página) ===== */
.mapa-modulo{
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

/* o div do mapa tem de ocupar tudo */
.mapa-modulo-map{
  position: absolute;
  inset: 0;
}

/* garantir que o canvas do maplibre ocupa o container */
.mapa-modulo .maplibregl-canvas{
  width: 100% !important;
  height: 100% !important;
}

.mapa-modulo-hero {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 491px;
    max-width: calc(100% - 24px);
    background: #fcf7b2;
    border-bottom-right-radius: 0px;
    overflow: hidden;
}

.mapa-modulo-hero-content{
  padding: 30px;
}

.mapa-modulo-hero-title{
  margin: 0 0 10px;
  font-size: 2.3vw;
  line-height: 1.1;
  font-weight: 500;
  color: #008FBC;
  text-transform: uppercase;
}

.mapa-modulo-hero-text {
    margin: 0;
    font-size: 16px;
    width: 365px;
    font-weight: 500;
    line-height: 1.4;
    color: #00303F;
    max-width: 100%;
}

/* ===== filtros (posiciona em cima do mapa) ===== */
.mapa-filtros{
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 12;
  display: grid;
  gap: 0px;
}

/* =========================================================
   MOBILE MEGA MENU (overlay) + animação hamburger->X
   Controlado por: html.menu-aberto
   ========================================================= */

/* Bloqueia scroll da página quando menu está aberto */
html.menu-aberto,
html.menu-aberto body{
  overflow: hidden;
}
html.menu-aberto .site-header {
    background: linear-gradient(to bottom, #f6f3b5 0%, #f6f3b5 45%, #f6f3b5 60%, #f6f3b5 100%);
    box-shadow: 0px 15px 15px rgb(246 243 181);
}
html.menu-aberto .site-header::before {
    background: linear-gradient(to bottom, rgb(246 243 181) 0%, rgb(246 243 181) 30%, rgba(11, 142, 191, 0) 100%);

}
/* ================= SEARCH HEADER ================= */

html.menu-aberto .div-search{
  display: flex;
  align-items: center;
}
input.search-field {
    width: 100%;
}
.search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: space-between;
    background: #ffffff;
    border-radius: 6px;
    padding: 6px 12px;
    height: 40px;
}
/* INPUT normal */
.search-field{
  width: 100%;
  border: 0;
  outline: none;
  font-size: 14px;
  background: transparent !important;
  color: #000 !important;

  -webkit-appearance: none;
  appearance: none;
}

/* Placeholder */
.search-field::placeholder{
  color: rgba(0,0,0,.45);
}
/* Autofill (Chrome/Edge) - remove o fundo e mantém texto preto */
.search-field:-webkit-autofill,
.search-field:-webkit-autofill:hover,
.search-field:-webkit-autofill:focus,
.search-field:-webkit-autofill:active{
  -webkit-text-fill-color: #000 !important;
  caret-color: #000 !important;

  /* “pinta” por cima do amarelo/escuro do autofill */
  -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
  box-shadow: 0 0 0px 1000px #fff inset !important;

  /* evita transição estranha do autofill */
  transition: background-color 9999s ease-out 0s;
}

html.menu-aberto .header-inner {
    grid-template-columns: 1fr 1fr 1fr;
}

.search-submit{
  border: 0;
  background: transparent !important;
  padding: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.search-submit img{
  width: 18px;
  height: 18px;
  display: block;
}
html.menu-aberto .site-header {
    position: fixed;
}

.img-total, .img-total figure, .img-total figure div, .img-total figure div img  {
  width: 100%;
}


html.menu-aberto .header-nav{
    display: none !important;
}
.div-search {
    width: 445px;
    max-width: 100%;
}
html.menu-aberto .logo-normal{
  display: none;
}
html.menu-aberto .header-logo img.logo-menu{
  display: block;
}
.logo-normal{
  display: block;
}
.header-logo img.logo-menu, .div-search{
  display: none;
}
/* OVERLAY */
.mobile-menu{
  position: fixed;
  inset: 0;
  height: 100dvh;
  width: 100%;
  background: #f6f3b5;
  z-index: 90;
  overflow-x: hidden !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity .25s ease, visibility .25s ease;
}

html.menu-aberto .mobile-menu{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-inner {
    height: 100dvh;
    overflow-y: auto;
    padding: 150px 30px 30px;
    display: flex;
    align-items: flex-start;
}

/* GRID 4 colunas (corrige o problema de só a coluna 1 estar bem) */
.mobile-grid{
      max-width: calc( 100% - 20%);
    margin: 0 auto;
    padding: 18px 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 64px;
  align-items: start;
}

/* Importante para não estourar colunas com textos longos */
.mobile-grid > section{
  min-width: 0;
}


/* TÍTULOS */
.mobile-title{
  margin: 0 0 20px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #008FBC;
  font-size: 15px;
  display: inline-block;
  border-bottom: 2px solid currentColor;
  padding-bottom: 6px;
}

.mobile-subtitle{
  margin: 24px 0 12px;
  font-weight: 700;
  color: #005bbb;
}

/* LISTAS */
.mobile-list{
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-list li{
  margin: 0 0 8px;
}

.mobile-list a{
  color: #008FBC;
  text-decoration: none;
  font-size: var(--regular);
  line-height: 1.25;
}

.mobile-list a:hover{
  text-decoration: underline;
}





.news-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:40px;
}

.news-card img{
  width:100%;
  height:auto;
  display:block;
}

.news-card h2{
  margin:16px 0 8px;
}

.news-date{
  font-size:14px;
  opacity:.6;
  margin-bottom:10px;
}

.news-hero {
    height: 70vh;
    background-size: cover;
    background-position: center;
    display: flex;
    margin-top: -100px;
    align-items: flex-end;
    position: relative;
}
.news-hero .overlay {
    color: #fff;
    width: 100%;
    max-width: calc(100% - 20%);
    margin: 0px auto 50px;
    padding: 0 20px 0px;
}
.news-featured {
    padding: 50px 20px !important;
}
.btn-secondary-artigo{
  margin-top: 50px;
}
.news-featured h2{
  margin-bottom: 30px;
  font-size: var(--heading-h3);
  line-height: 1.1;
  font-weight: 500;
  color: #008FBC;
}
.news-hero h1 {
    font-weight: 500;
    font-size: 3.1vw;
    margin-top: 20px;
    width: 60%;
    max-width: 100%;
    line-height: 1;
    letter-spacing: -4%;
    text-transform: uppercase;
    color: #FCF7B2;
}
.news-hero .label-artigo{
  font-size:16px;
  text-transform:uppercase;
  line-height: 18px;
  font-weight: 500;
  color: #FCF7B2;
  letter-spacing:2px;
  margin-bottom:10px;
  display:block;
  text-align: left;
}

.news-featured{
  padding:80px 0;
}
.featured-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.news-archive{ padding:60px 0; }

.news-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:20px;
}

.news-card img,
.featured-card img{
  width:100%;
  height:auto;
  aspect-ratio:16/10;
  display:block;
  object-fit:cover;
  object-position:center;
}



/* ===== Featured card behaviour (igual ao vídeo) ===== */

.featured-card{ position:relative; }

.featured-link{
  position:relative;
  display:block;
  text-decoration:none;
  color:inherit;
}

.featured-media{ margin:0; }

.featured-content {
    position: absolute;
    left: 0;
    top: 0;
    max-width: min(380px, 70%);
    background: #fff;
    padding: 28px 34px;
    box-shadow: 0 10px 32px rgba(0,0,0,.10);

    margin-top: 0;
    margin-left: 0;

    transform: translate3d(0,0,0) scaleY(1);
    transform-origin: top;
    will-change: transform, margin;

    transition:
        margin .45s ease,
        box-shadow .35s ease,
        padding .35s ease;
}

.featured-card:hover .featured-content{
    margin-top: 20px;
    margin-left: 20px;

    padding: 30px 36px;
    box-shadow: 0 14px 46px rgba(0,0,0,.14);

    animation: featuredSpring .55s cubic-bezier(.34, 1.56, .64, 1) both;
}
.obj-interv-card__meta {
    background-color: #fcf7b2;
}
/* movimento com overshoot */
@keyframes featuredSpring{
    0%   { transform: translate(0,0) scaleY(1); }
    70%  { transform: translate(44px,44px) scaleY(1); }
    100% { transform: translate(36px,36px) scaleY(1); }
}
.featured-title{
  margin:0;
  line-height:1.1;
  font-size:1.2vw;
  color: #00303F;
  font-weight:500;
}


.featured-cta-icon{
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:6px;
  background:#0B8FB9; /* ajusta para a tua cor */
  color:#fff;
  font-weight:600;
}

.featured-cta-text{
  font-size:12px;
  letter-spacing:.06em;
  font-weight:600;
}
/* Base: nunca traduz */
.featured-content{
  position:absolute;
  left:0;
  top:0;
  max-width:min(380px, 70%);
  background:#fff;
  padding:28px 34px;
  box-shadow:0 10px 32px rgba(0,0,0,.10);

  transform: translate3d(0,0,0) scaleY(1); /* fixa posição */
  transform-origin: top;
  will-change: transform;
}

/* NÃO mudar padding nem translate no hover */
.featured-card:hover .featured-content{
  box-shadow:0 14px 46px rgba(0,0,0,.14);
  animation: featuredStretchDown .55s cubic-bezier(.34, 1.56, .64, 1) both;
}

/* Também remove qualquer translate do focus */
.featured-link:focus-visible .featured-content{
  animation: featuredStretchDown .55s cubic-bezier(.34, 1.56, .64, 1) both;
}

/* Se tinhas isto, APAGA:
.featured-card:hover .featured-content{ transform:translate(36px,36px); }
.featured-link:focus-visible .featured-content{ transform:translate(36px,36px); }
@media (...) .featured-content{ transform:translate(...); }
*/
@keyframes featuredStretchDown{
  0%   { transform: translate3d(0,0,0) scaleY(1); }
  70%  { transform: translate3d(0,0,0) scaleY(1.12); }
  100% { transform: translate3d(0,0,0) scaleY(1.06); }
}
/* CTA: sempre presente no layout, mas invisível */
.featured-cta{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:18px;

  opacity:0;
  transform:translateY(-6px);
  max-height:0;
  overflow:hidden;
  pointer-events:none;

  transition:
    opacity .22s ease,
    transform .22s ease,
    max-height .35s ease;
}

/* Hover: “estica” a caixa para baixo com overshoot */
.featured-card:hover .featured-content{
  animation: featuredStretchDown .55s cubic-bezier(.34, 1.56, .64, 1) both;
  box-shadow:0 14px 46px rgba(0,0,0,.14);
}

/* Hover: revela CTA */
.featured-card:hover .featured-cta{
  opacity:1;
  transform:translateY(0);
  max-height:90px; /* ajusta se precisares */
  pointer-events:auto;
}

/* Keyframes: só muda altura (scaleY), sem mover */
@keyframes featuredStretchDown{
  0%   { transform: scaleY(1); }
  70%  { transform: scaleY(1.12); } /* overshoot (mais alto) */
  100% { transform: scaleY(1.06); } /* settle (altura final) */
}
/* Acessibilidade: hover equivalente via teclado */
.featured-link:focus-visible .featured-content{
  transform:translate(36px, 36px);
}
.featured-link:focus-visible .featured-cta{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}





/* ============================
   MOBILE: SEM HOVER / SEM ANIMAÇÃO
   (mata hover e focus após tap)
   ============================ */
@media (max-width: 991px), (hover: none), (pointer: coarse){

  /* garante estado “fixo” */
  .featured-card .featured-content{
    margin: 0 !important;
    padding: 28px 34px !important;
    transform: none !important;
    animation: none !important;
    transition: none !important; /* mata a micro-animação */
    box-shadow: 0 10px 32px rgba(0,0,0,.10) !important;
  }

  /* mata qualquer regra de hover que exista acima */
  .featured-card:hover .featured-content{
    margin: 0 !important;
    padding: 28px 34px !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    box-shadow: 0 10px 32px rgba(0,0,0,.10) !important;
  }

  /* mata focus-visible (tap costuma causar focus) */
  .featured-link:focus,
  .featured-link:focus-visible{
    outline: none;
  }
  .featured-link:focus .featured-content,
  .featured-link:focus-visible .featured-content{
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  /* CTA sempre visível no mobile (sem transição) */
  .featured-card .featured-cta{
    opacity: 1 !important;
    transform: none !important;
    max-height: none !important;
    overflow: visible !important;
    pointer-events: auto !important;
    transition: none !important;
    animation: none !important;
  }
}








.news-grid--3{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:20px;
}
.news-grid--3 .featured-card img {
    aspect-ratio: 16/16;
}

.archive-head h2{
  font-weight: 500;
  font-size: 40px;
  line-height: 1.1;
  color: #008FBC;
}
.archive-head {
    display: flex;
    margin-top: 100px;
    margin-bottom: 50px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    flex-direction: column;
}
.archive-filters{ display:flex; gap:10px; flex-wrap:wrap; }
.filter-pill{ padding:8px 12px; border-radius:999px; border:1px solid rgba(0,0,0,.15); text-decoration:none; color:inherit; }
.filter-pill.is-active{ border-color:rgba(0,0,0,.55); }


/* =========================
   SINGLE POST
   ========================= */


/* HERO */

.single-hero-2 {
  position: relative;
  margin-bottom: 80px;
}

.single-hero-media {
  margin: 0;
}

.single-hero-media img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  display: block;
}

/* Overlay conteúdo sobre imagem */

.single-hero-content {
  position: absolute;
  padding: 0px 10%;
  margin: 0px 20px;
  bottom: 60px;
  width: 100%;
  color: #fff;
}

.single-hero-content .container {
  position: relative;
}

/* Meta (data + categoria) */

.single-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #FCF7B2;
}

.single-date {
  font-weight: 500;
}

.single-cat {
  position: relative;
  padding-left: 14px;
}

.single-cat:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  transform: translateY(-50%);
}

/* Título */

.single-title {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 600;
  max-width: 900px;
  margin: 0;
    color: #FCF7B2;
}

/* BODY */

.single-body {
  margin-top: 40px;
}


.single-content p {
  margin-bottom: 24px;
}

.single-content h2,
.single-content h3,
.single-content h4 {
  margin-top: 48px;
  margin-bottom: 16px;
}

.single-content img {
  max-width: 100%;
  height: auto;
  margin: 32px 0;
}



.govsoc__tile{
  position:relative;
  padding: 7%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  overflow:hidden;
}

.govsoc__tileText{
  font-size: 42px;
  line-height: 1.05;
  font-weight: 500;
  max-width: 70%;
}
.govsoc__excerptCard.govsoc__excerptCard--wide {
    padding: 50px;
}
.govsoc__tileYear{
  font-size: 110px;
  line-height: 1;
  font-weight: 500;
}

/* ESQUEMAS */

/* Azul + Amarelo */
.govsoc__tile--azul-amarelo{
  background:#0E8FB9;
}
.govsoc__tile--azul-amarelo .govsoc__tileText,
.govsoc__tile--azul-amarelo .govsoc__tileYear{
  color:#F3EA98;
}

/* Amarelo + Azul */
.govsoc__tile--amarelo-azul{
  background:#F3EA98;
}
.govsoc__tile--amarelo-azul .govsoc__tileText,
.govsoc__tile--amarelo-azul .govsoc__tileYear{
  color:#0E8FB9;
}
.govsoc__tile--azul-amarelo::before,
.govsoc__tile--verde-amarelo::before,
.govsoc__tile--castanho-amarelo::before{
  background-image: url("/wp-content/uploads/2026/03/img-topo-amarelo.svg");
}

.govsoc__tile--azul-amarelo::after,
.govsoc__tile--verde-amarelo::after,
.govsoc__tile--castanho-amarelo::after{
  background-image: url("/wp-content/uploads/2026/03/img-bottom-amarelo.svg");
}
.govsoc__tile--amarelo-azul::before{
  background-image: url("/wp-content/uploads/2026/03/img-topo-azul.svg");
}

.govsoc__tile--amarelo-azul::after{
  background-image: url("/wp-content/uploads/2026/03/img-bottom-azul.svg");
}
/* cria os pseudo-elementos */
.govsoc__tile::before,
.govsoc__tile::after{
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

.govsoc__tile::before {
    top: 0;
    right: 0px;
    width: 16%;
    height: 60%;
}
.govsoc__tile::after {
    bottom: 0;
    right: 0;
    width: 27%;
    height: 67%;
}
/* garante texto acima */
.govsoc__tileInner{
  position: relative;
  z-index: 2;
}
.govsoc__tile{
  position: relative;
  overflow: hidden;
}
/* Verde + Amarelo */
.govsoc__tile--verde-amarelo{
  background:#2E7D5B;
}
.govsoc__tile--verde-amarelo .govsoc__tileText,
.govsoc__tile--verde-amarelo .govsoc__tileYear{
  color:#F3EA98;
}

/* Castanho + Amarelo */
.govsoc__tile--castanho-amarelo{
  background:#6A564D;
}
.govsoc__tile--castanho-amarelo .govsoc__tileText,
.govsoc__tile--castanho-amarelo .govsoc__tileYear{
  color:#F3EA98;
}


.concurso-bloco1 .concurso-lado-esquerdo p{
  font-weight: 500;
  font-size: 40px;
  line-height: 1.1;
  color: #008FBC;
  width: 491px;
  max-width: 100%;
}

.concurso-bloco1 .concurso-lado-direito p {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
    color: #4C535C;
    margin-bottom: 15px;
}

/* ===========================
   WPBakery Gallery -> Swiper
   Row: .slide-imagens
   Visual: 1 inteiro + 1/2 prev + 1/2 next
   =========================== */

/* neutraliza Isotope/inline absolute layout */
.slide-imagens .wpb_image_grid_ul{
  position: static !important;
  height: auto !important;
}
.slide-imagens .wpb_image_grid_ul > li{
  position: relative !important;
  left: auto !important;
  top: auto !important;
}
.slide-imagens img {
  margin: 0px 0 !important;
}

/* Swiper container */
.slide-imagens .slide-imagens-swiper{
  overflow: visible; /* mostra metades */
}
figure.single-hero-media {
    margin-top: -100px;
}
/* O truque: slides com largura fixa (auto) */
.slide-imagens .slide-imagens-swiper .swiper-slide{
  max-width: 65%;     /* limita em desktop */
  aspect-ratio: 16 / 9;
}

.single-content .vc_row {
    margin-bottom: 50px;
    margin-top: 25px;
}
.slide-imagens{
  margin-top: 50px;
}
.slide-imagens .historia-prev::before{ content:"‹"; }
.slide-imagens .historia-next::before{ content:"›"; }

.slide-imagens .historia-prev::before,
.slide-imagens .historia-next::before{
  display:inline-block;
  font-size:18px;
  line-height:1;
}


/* Card */
.slide-imagens .slide-imagens-card{
  display:block;
  width:100%;
  height:100%;
  overflow:hidden;
  border-radius: 6px; /* se não quiseres, mete 0 */
  background:#eee;
}

.slide-imagens .slide-imagens-card img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

/* Espaçamento semelhante ao Figma */
.slide-imagens .slide-imagens-swiper{
  padding: 0 40px; /* cria “respiro” para ver as metades */
}

.slide-imagens .slide-imagens-nav {
    position: relative;
    z-index: 50;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin: 0px 20px;
    padding: 10px 10%;
    margin-top: 14px;
}

.slide-imagens .historia-prev,
.slide-imagens .historia-next{
  position: relative;
  z-index: 60;
  pointer-events: auto;
}
.single-body .wpb_wrapper{
  color: #4C535C;
}

.single-body .cor-azul .wpb_wrapper h6{
  font-size: 24px;
  line-height: 1.2;
  color: #008FBC;
}
.single-body .wpb_wrapper p{
  margin-bottom: 15px;
}
.single-body .wpb_wrapper p{
  font-size: 16px;
  line-height: 1.4;
}


section.single-testemunho {
    padding: 0px calc(10% + 40px);
}
.single-testemunho-option {
    width: 50%;
    margin: auto;
}
.single-testemunho .testemunho-meta{
  margin-top: 22px;
}

.single-testemunho .testemunho-pessoa {
    font-size: 16px;
    line-height: 18px;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 500;
    color: #0b8fb9;
}
.single-testemunho .testemunho-cargo{
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .7;
}
.testemunho-text p, .testemunho-text {
    font-size: 40px;
    font-weight: 500;
    color: #0b8fb9;
    line-height: 1.1;
}
.single-testemunho .testemunho-cargo {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.1;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #4C535C;
}


/* wrapper */
.share-wrapper{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  margin:60px 0;
}

/* botão */
.btn-share-toggle{
  background:#0b8fb9;
  color:#fff;
  border:0;
  padding:10px 18px;
  border-radius:6px;
  cursor:pointer;
  font-weight:500;
  text-transform:uppercase;
}

.share-dropdown {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    gap: 14px;
    bottom: -60px;
}

.share-dropdown[hidden]{ display:none !important; }

/* cada “icon button” */
.share-dropdown a{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;

  border-radius:6px;
  background:#f1f7fb;                 /* “pill” claro */
  text-decoration:none;
  line-height:1;
}

/* ícones */
.share-dropdown a i{
  font-size:16px;
  color:#0b8fb9;
}

/* hover */
.share-dropdown a:hover{
  background:#e6f3fa;
}


/* ============================= */
/* NOTÍCIAS RELACIONADAS */
/* ============================= */

.single-related{
  padding: 70px 0;
}

.single-related-title{
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 600;
  color: #0b8fb9; /* ajusta se precisares */
}

.single-related-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.single-related-card{
  position: relative;
}

.single-related-link{
  display: block;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}

.single-related-media img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
}

.single-related-box{
  position: absolute;
  left: 14px;
  top: 14px;
  max-width: min(320px, calc(100% - 28px));
  padding: 10px 12px;

  background: rgba(255,255,255,.92);
  border-radius: 6px;
}

.single-related-name{
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  color: #0b8fb9;
}
.footer-social-link:hover{
  color:#FCF7B2;  
}






.header-menu{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* links do sub-menu */
.header-menu .sub-menu a{
  text-transform: unset;
  padding: 17px 20px;
  font-size: 16px;
  font-weight: 400;

  display: inline-block;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

.header-menu .sub-menu a:hover{
  padding: 17px 23px;
}

/* esconder todos os sub-menus */
.header-menu > li > .sub-menu{
  display: none;
}


:root{
  --submenu-top: 100px; /* se precisares para outras coisas, ok */
}

/* menu principal */
.header-menu{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:40px;
  list-style:none;
  margin:0;
  padding:0;
}

/* não mostrar submenus internos do wp_nav_menu */
.header-menu .sub-menu{ display:none !important; }

/* SUBMENU (novo) */
.header-nav{ position:relative; }

.header-subnav{
  position: fixed;             /* para poderes animar top no scroll */
  left: 50%;
  transform: translateX(-50%);
  top: 135px;      /* header fixo 98px + gap */
  z-index: 998;
  width: max-content;
  max-width: calc(100vw - 40px);
  transition: top .30s ease;   /* AQUI é que anima */
}

/* quando fez scroll */
body.is-scrolled .header-subnav{
  top: 20px;
}

.header-subnav .sub-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 18px 3px 15px;
    background-color: #0b8ebf75;
    border-radius: 6px;
    transition: background-color .30s ease;
}
body.is-scrolled .header-nav #menu-main-menu{
  opacity: 0;
}
.menu-aberto .header-menu a:hover, .menu-aberto .current_page_parent > a, .menu-aberto .current_page_item a {
    background-color: transparent;
}

/* links */
.header-subnav .sub-menu a{
  color:#FCF7B2;
  text-decoration:none;
  font-weight:500;
  letter-spacing:0;
  font-size:16px;
  line-height:1;
  
  padding:15px 20px;
  border-radius:6px;
  background:transparent;

  transition: padding .25s ease, background-color .25s ease;
}

.header-subnav .sub-menu a:hover, .current-page{
  background-color:#008fbc !important;
  padding:15px 25px !important;
}

/* se não existir submenu */
.header-subnav:empty{ display:none; }


/* ============ MEGA MENU: aparência "pais como títulos" ============ */

/* reset básico */
.mobile-menu .mobile-list,
.mobile-menu .mobile-list .sub-menu{
  list-style: none;
  margin: 0;
  padding: 0;
}

/* espaçamento entre "grupos" (cada pai) */
.mobile-menu .mobile-list > li{
  margin: 0 0 12px;
}
.colun-3 .mobile-list > li, .colun-4 .mobile-list > li {
    margin: 0 0 8px;
}
.mobile-menu .mobile-list > li.menu-item-has-children > a{
  display: inline-block;
  margin: 15px 0 0;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #008FBC;
  text-decoration: none;

  padding-left: 0; /* estado inicial */
  transition: padding-left .25s ease;
}

.mobile-menu .mobile-list > li.menu-item-has-children > a:hover{
  padding-left: 5px;
}


/* SUBMENU (filhos) */
.mobile-menu .mobile-list > li.menu-item-has-children > .sub-menu{
  margin-top: 8px;
}

/* filhos */
.mobile-menu .mobile-list > li.menu-item-has-children > .sub-menu li{
  margin: 0 0 8px;
}

.mobile-menu .mobile-list > li.menu-item-has-children > .sub-menu a{
  color: #008FBC;               /* verde/água */
  text-decoration: none;
  font-size: var(--regular);
  line-height: 1.25;
}
img.img-alto-meio {
    position: absolute;
    z-index: 1;
    right: 0px;
    top: 15%;
    transform: translate(20%, 10%);
    max-width: 40vw;
}
.hero-image {
    z-index: 2;
}
img.logo-bottom-rigth {
    bottom: 0;
    position: absolute;
    right: 0;
}
/* hover filhos */
.mobile-menu .mobile-list > li.menu-item-has-children > .sub-menu a:hover{
  text-decoration: underline;
}
.hero-total{
  position: relative;
  overflow: hidden;
}
/* Caso apareçam itens sem filhos (não era suposto, mas prevenimos) */
.mobile-menu .mobile-list > li:not(.menu-item-has-children) > a{
  color: #008FBC;
  text-decoration: none;
    font-size: var(--regular);
    line-height: 1.25;
}
.mobile-menu .mobile-list > li:not(.menu-item-has-children) > a:hover{
  text-decoration: underline;
}

.hero-total{
  background-color: #0b8cbd;
    margin-top: -100px;
    padding-top: 100px;
}
/* =========================
   HEADER (RiaViva style)
========================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  background: transparent; /* IMPORTANTE */
}

.site-header::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  /* gradiente com transparência */
  background: linear-gradient(
    to bottom,
    rgba(11, 142, 191, 0.85) 0%,
    rgba(11, 142, 191, 0.75) 30%,
    rgba(11, 142, 191, 0) 100%
  );

  /* BLUR DO FUNDO */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  pointer-events: none;
}

.header-inner{
  position: relative;
  z-index: 1;

  max-width: calc( 100% - 20%);
  margin: 0 auto;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}


.header-logo{ justify-self: start; }
.header-nav{ justify-self: center; }
.header-right{ justify-self: end; }



/* Logo */
.header-logo{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.header-logo img{
  display: block;
  height: auto;        /* ajusta se precisares */
  width: 187px;
}
.home-hero {
    background: linear-gradient(180deg, #0b8ebf 0%, #0a88b7 50%, #0c8bbb 100%);
    padding: 0px 0 0;
    margin-top: 0px;
}
/* Menu */
.header-nav{
  display: flex;
  justify-content: center;
}
.header-menu{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-menu li{ margin: 0; padding: 0; }

.header-menu a {
    color: #FCF7B2;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 15px;
    line-height: 1;
    padding: 15px 17px;
    opacity: .95;
    border-radius: 6px;
    background-color: transparent;
    transition: padding 0.25s ease, background 0.25s ease;
}

.header-menu a:hover, .current_page_parent > a, .current_page_item a{
    background-color: #008fbc;
    padding: 15px 20px;    
}


/* Hamburger button */
.header-burger{
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 6px;
  background: #f3ea98;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: auto;
}

.burger-lines{
  width: 18px;
  height: 2px;
  background: #0b8ebf;
  position: relative;
  border-radius: 6px;
}
.burger-lines::before,
.burger-lines::after{
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #0b8ebf;
  border-radius: 6px;
}
.burger-lines::before{ top: -6px; }
.burger-lines::after{ top: 6px; }


/* ===============================
   HAMBURGER → X (menu aberto)
   =============================== */

html.menu-aberto .burger-lines{
  background: transparent; /* some a linha do meio */
}
html.menu-aberto .header-burger {
    background: #f6f3b5;
}
html.menu-aberto .burger-lines::before{
  transform: translateY(6px) rotate(45deg);
}

html.menu-aberto .burger-lines::after{
  transform: translateY(-6px) rotate(-45deg);
}

/* suavidade da animação */
.burger-lines,
.burger-lines::before,
.burger-lines::after{
  transition: transform .25s ease, background .25s ease;
}

.container, .a-largura {
  width: calc( 100% - 20%);
  max-width: 100%;
  margin: 0 auto !important;
  padding: 0 20px 0px;
}
.home-hero-inner {
    width: calc( 100% - 20%);
    margin: auto !important;
}
.home-hero-inner .swiper-slide{
  margin: 0 auto;
  padding: 0 20px 40px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 34px;
  align-items: start;
  justify-content: center;
}

.hero-kicker {
    color: rgb(251 247 180);
    font-weight: 500;
    font-size: var(--regular);
    margin: 8px 0 14px;
    text-transform: uppercase;
}

.hero-title {
    margin: 0 0 14px;
    font-weight: 500;
    letter-spacing: 0;
    font-size: 3vw;
    line-height: 3.1vw;
    color: #fff6c7;
    text-transform: uppercase;
}

.hero-desc {
    margin: 0 0 var(--regular);
    max-width: 55%;
    line-height: 1.4;
    font-size: var(--regular);
    color: #fbf7b4;
}

.hero-mini-line{
  margin-top: 20%;
  width: 50px;
  height: 2px;
  background: rgba(255,255,255,.35);
}
.btn-primary.active, .btn-primary:active, .open>.dropdown-toggle.btn-primary, .btn-primary.focus, .btn-primary:focus {
    color: #fff6c7 !important;
}
.hero-right{
  display: flex;
  justify-content: flex-end;
}
.hero-image{
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* imagem normal */
.hero-image img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 4;
}

/* TOPO: tira saturação e “lava” */
.hero-image::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:2;

  /* o gradiente define ONDE atua */
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,.70) 0%,
    rgba(255,255,255,.25) 18%,
    rgba(255,255,255,0) 42%
  );

  /* isto remove saturação no topo, mas vai desaparecendo */
  mix-blend-mode: saturation;
}

/* FUNDO: “água” (azul) a subir */
.hero-image::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:3;

  background: linear-gradient(
    to top,
    rgba(10,139,187,.80) 0%,
    rgba(10,139,187,.35) 22%,
    rgba(10,139,187,0) 55%
  );

  /* normal costuma ficar bem; se quiseres mais “submerso”, experimenta multiply */
  /* mix-blend-mode: multiply; */
}



/* Overlay “topográfico” (linhas) - por agora é placeholder */
.hero-topo{
  position: absolute;
  inset: 0;
 /* background-image: url("/wp-content/uploads/2026/01/topo-lines.png");  */
  background-size: cover;
  background-position: center;
  opacity: .55;
  pointer-events: none;
  mix-blend-mode: screen;
}
/* =========================
   BOTÕES – SISTEMA ÚNICO
========================= */
.btn {
    display: inline-flex;
    border: none;
    align-items: center;
    gap: 10px;
    padding: 11px 15px 10px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    letter-spacing: .02em;
    text-transform: uppercase;
    cursor: pointer;
    transition: padding .25s ease,
    box-shadow .25s ease,
    background-color .25s ease,
    color .25s ease;
}
/* cores */
.btn-primary{
  background: #fbf7b4;
  color: #0a8bbb;
}

.btn-secondary{
  background: #0a8bbb;
  color: #fbf7b4;
}

/* =========================
   ÍCONE (2 imagens)
========================= */
.btn-icon{
  position: relative;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.btn-icon img{
  position: absolute;
  inset: 0;
  width: 80%;
  height: auto;
  transition: opacity .2s ease, transform .25s ease;
}
.btn-primary:hover {
    color: #fcf7b2;
}
.btn-secondary:hover {
    color: #0a8bbb;
    background-color: #f3ea98;
}
/* -------- ESTADO BASE -------- */
/* primário: azul visível */
.btn-primary .icon-blue{ opacity: 1; }
.btn-primary .icon-yellow{ opacity: 0; }

/* secundário: amarelo visível */
.btn-secondary .icon-blue{ opacity: 0; }
.btn-secondary .icon-yellow{ opacity: 1; }

/* -------- HOVER -------- */
.btn:hover{
  padding-left: 25px;
  box-shadow: 0 10px 24px rgba(0,0,0,.15);
}


/* primário troca azul → amarelo */
.btn-primary:hover .icon-blue{ opacity: 0; }
.btn-primary:hover .icon-yellow{ opacity: 1; }

/* secundário troca amarelo → azul */
.btn-secondary:hover .icon-blue{ opacity: 1; }
.btn-secondary:hover .icon-yellow{ opacity: 0; }




/* ===================== FOOTER ===================== */
.site-footer {
    background: #fff;
    position: relative;
    padding: 25px 0 0px;
}
.site-footer-linhas {
  max-width: calc( 100% - 20%);
  margin: 0 auto;
  padding: 18px 20px;
}
.footer-wrap{
  position: relative;
  padding-top: 150px;
  overflow: hidden;
}

.footer-blob-center {
    left: 35%;
    top: 0px;
    width: 40%;
    position: absolute;
    opacity: 1;
}


.footer-blob-right{
  position: absolute;
  right: 0px;
  bottom: 0px;
  width: 31vw;
  opacity: 1;
  z-index: 4;
}

/* layout principal */
.footer-inner{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  padding-bottom: 70px;
  align-items: start;
}

.footer-brand img{
  height: 77px;
  width: auto;
  display: block;
}

.footer-text {
    margin: 25px 0;
    max-width: 100%;
    font-size: 16px;
    line-height: 1.4;
    width: 362px;
    color: #008FBC;
}

/* social (simples, podes trocar por icons SVG) */
.footer-social{
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    background: #0b8ebf;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    transition: transform .2s ease, opacity .2s ease;
}

.footer-social-link:hover{
  transform: translateY(-2px);
  opacity: .9;
}

.footer-cta {
    position: absolute;
    background: #f3ea98;
    border-radius: 10px;
    padding: 2%;
    box-shadow: 0 2px 0 rgba(0,0,0,.05);
    bottom: 0;
    z-index: 5;
    right: 0;
    width: 15%;
    min-width: 362px;
}

.footer-cta-title{
  font-weight: 500;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0%;
  color: #008FBC;
  margin-bottom: 15px;
}

.footer-cta-text{
  font-weight: 500;
  font-size: var(--regular);
  color: #005F7D;
  line-height: 1.4;
  letter-spacing: 0%;
  margin-bottom: 15px;
}

.footer-botao {
    margin-top: 100px;
}

.footer-cta-btn:hover{
  transform: translateY(-1px);
  opacity: .95;
}

.footer-logos {
    position: relative;
    z-index: 1;
    margin-top: 0px;
    padding-top: 5px;
}

.footer-logos img {
    width: 720px;
    height: auto;
    max-width: 100%;
    display: block;
}











.home-mid {
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, #0b89b8a8 0%, #297F50 78%);
    padding: 200px 0 46px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.home-mid-inner{
  max-width: 1028px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  color: rgba(255,255,255,.85);
}

.mid-icon{

  font-weight: 700;
  font-size: 20px;
  color: #fff6c7;
  margin-bottom: 10px;
}

.mid-text {
    margin: 30px auto;
    width: 885px;
    font-size: 40px;
    font-weight: 500;
    max-width: 100%;
    line-height: 1;
    padding: 0px 30px;
    color: #FCF7B2;
}
.swiper-slide img, .swiper-slide article, .swiper-slide figure{
  width: 100%;
}
/* topo-lines no verde (canto direito) */
.mid-topo{
  position: absolute;
  right: 0;
  top: -20px;
  width: 340px;
  height: 240px;
  background-image: url("/wp-content/uploads/2026/01/topo-lines.png"); /* se tiveres */
  background-size: cover;
  background-position: center;
  opacity: .55;
  pointer-events: none;
  mix-blend-mode: screen;
}
.stat {
    text-align: center;
    padding: 50px 0px;
}
.home-stats-unico:first-of-type .stat {
    border-bottom: 2px solid #1b553545;
}
.hero-left {
    padding: 10% 0px 5%;
}
.home-stats {
    background: #297f50;
    padding: 28px 0 42px;
    min-height: 70vh;
    display: block;
    align-content: flex-end;
    flex-direction: row;
    width: 100%;
    align-items: flex-end;
    z-index: 3;
}
.home-stats-unico{
      display: flex;
    justify-content: space-between;
}
.home-stats-inner {
    padding: 5% 10%;
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 40%;
    justify-content: space-between;
    align-items: stretch;
    flex-direction: column;
}

.stat-number {
    font-weight: 400;
    font-size: 12vw;
    line-height: 1;
    color: #fff6c7;
}
.stat-label {
    margin-top: 0px;
    font-weight: 400;
    font-size: 0.8vw;
    letter-spacing: .06em;
    color: #FCF7B2;
    text-transform: uppercase;
    max-width: 200px;
    margin: auto;
}

/* Garantir contexto para fundos decorativos */
.home,
.home-hero,
.home-mid,
.home-stats{
  position: relative;
}


/* =========================
   2) "Flor" (flor.svg)
   - em baixo ao centro (na secção dos números)
========================= */
.home-stats::before{
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0px;             /* encosta ao fundo */
  transform: translateX(-50%);
  width: 420px;              /* ajusta consoante o svg */
  height: 420px;
  background: url("/wp-content/uploads/2026/01/florverdeescuro.svg") no-repeat;
  background-size: contain;
  background-position: center bottom;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;             /* normalmente fica suave no fundo */
}

/* garantir que os números ficam por cima */
.home-stats-inner{
  position: relative;
  z-index: 2;
}


/******************* PAGINAS **********************/

.page-banner {
    position: relative;
    margin-top: -100px;
    height: 80vh;
    overflow: hidden;
}
.page-banner-bg,
.page-banner-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner-img{
  object-fit: cover;
  display: block;
	object-position: bottom;
}


.page-banner-inner-inner {
    position: absolute;
    left: 50%;
    min-height: 170px;
    bottom: 0px;
    max-width: 100%;
    /* width: 100%; */
    width: calc( 100% - 20%);
    padding: 20px;
    margin: auto;
    transform: translate(-50%, 0%);
}

.img-total {
    padding: 100px 0px;
}

.o-texto h6{
  width: 491px;
  color: var(--white);
  max-width: 100%;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 500;
}

.o-texto p{
  width: 619px;
  color: var(--white);
  max-width: 100%;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 20px !important;
}

.valores-2 {
    background: linear-gradient(to bottom, rgb(0 143 188) 0%, rgb(41 127 80) 100%);
}

.valores-2 .valores-spacer{
  height: 0;
}


.valores-2 .valores-planta{
  z-index: 50;
}

.coluna-esquerda {
    padding: 7% 15px 7% 0px !important;
}
.valores-2{
  padding-top: 7%;
}
.coluna-esquerda h6{

  font-weight: 500;
  font-size: var(--regular);
  line-height: 18px;
  letter-spacing: 0%;
  color: var(--white);
  text-transform: uppercase;

}
.valores-texto {
    padding: 50px 0px;
    border-bottom: 1px solid var(--white);
}
.valores-texto h2 {
    font-weight: 400;
    font-size: 10vw;
    line-height: 1;
    letter-spacing: 0%;
    color: var(--white);
}
.valores-texto h2 strong {
    font-size: 3vw;
    line-height: 6vw;
}
.valores-texto p{
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}
.valores-texto li{
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 15px;
}
.valores-texto li{
  color: var(--white);
  list-style: disc;
}
.novo-h6 {
    padding-top: 30%;
}




.govsoc{
  display:grid;
  grid-template-columns: 290px 1fr;
  gap: 28px;
  align-items:start;
}

.govsoc__nav{
  position: sticky;
  top: 120px; /* ajusta ao teu header */
}

.govsoc__navList{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap: 15px;
}
section.govsoc__content {
    width: 75%;
    margin-left: auto;
}
.govsoc__navLink {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    gap: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 20px;
    position: relative;
    line-height: 1.2;
    color: #00303F;
    flex-direction: column-reverse;
    align-content: flex-start;
    justify-content: flex-end;
}
.govsoc__navLink.is-active{
  border-left: 3px solid #008FBC;
  color: #008FBC; /* azul activo */
  background: white;
}

.govsoc__navLink.is-active::before{
  background:#008FBC;
}
.govsoc__items {
    margin-top: 25px;
}
.govsoc__sectionHead {
    width: 650px;
    max-width: 100%;
}
.govsoc__section {
    padding: 25px 0px 25px 25px;
    scroll-margin-top: 120px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    background-color: white;
    margin-bottom: 50px;
}

.govsoc__sectionTitle{
  margin:0 0 12px;
  font-size: var(--heading-h3);
  font-weight: 500;
  color:#008FBC;
  line-height: 1.1;
}

.govsoc__items{
  display:flex;
  flex-direction:column;
  gap: 0px;
}
.govsoc__itemMedia{
  margin-bottom: 50px !important;
}
.govsoc__itemTitle a{
  margin:0 0 6px;
  font-size: 20px;
  line-height: 22px;
  font-weight: 500;
}
.govsoc {
    margin-bottom: 150px !important;
}
#govsoc-estrutura-organizativa{
  padding-bottom: 0 !important;
}
.govsoc__itemGrid{
    padding-right: 25px;
}
#govsoc-estrutura-organizativa .govsoc__sectionHead {
    width: 500px;
    max-width: 100%;
}
.govsoc__itemExcerpt{
  opacity:.8;
}
/* Card do excerto (Princípios) com botão sempre visível */
.govsoc__excerptCard{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 0px;
}
.govsoc__excerptText, .govsoc__itemText {
    width: 500px;
    max-width: 100%;
}
 .govsoc__itemText {
    margin-bottom: 50px;
    color: #00303F;
    font-size: 16px;
    line-height: 18px;
    font-weight: 500;
}
.govsoc__itemExcerpt, .govsoc__itemExcerpt p{
     color: #00303F;
    font-size: 16px;
    line-height: 18px; 
    font-weight: 500;
}
.govsoc__dlBtn {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: #fff;
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    border: 1px solid #f6f4f5;
    text-decoration: none;
    position: relative;
    transition: background .2s ease, border-color .2s ease;
}
.govsoc__docLeft {
    display: grid;
    gap: 15px;
    max-width: 70%;
    grid-template-columns: 80px 1fr;
}
/* ícone */
.govsoc__dlBtn::before{
  content:"";
  width: 16px;
  height: 16px;

  background-image: url("/wp-content/uploads/2026/02/icon.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  transition: background-image .2s ease;
}
.govsoc__linkRow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: transparent;
    padding: 25px 10px 25px 0px;
    transition: background .2s ease;
    overflow: hidden;
    border-top: 1px solid #faf8f9;
}
.govsoc__dlBtn:hover {
    background: #f3ea98;
}
span.govsoc__navMeta {
    font-size: 12px;
    font-weight: 500;
    color: #005F7D;
    text-transform: uppercase;
}
.govsoc__sectionMeta {
    margin-bottom: 15px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
    color: #008FBC;
}
.govsoc__docRight{
  font-size: 20px;
  line-height: 1.1;
  font-weight: 500;
}
.govsoc__docKicker {
    font-size: 14px;
    width: 60px;
    line-height: 1.4;
    font-weight: 600;
}
.govsoc__sectionHead-2 div {
    color: #4C535C;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.1;
    text-transform: uppercase;
}
.plano-ob .govsoc__navLink.is-active {
    font-size: 18px;
    font-weight: 500;
}
.plano-ob .govsoc__sectionHead {
    margin-bottom: 75px;
}
.plano-ob .govsoc__section {
    padding: 25px 25px 25px 25px;
}
.plano-ob .govsoc__linkRow {
    padding: 25px 10px 25px 0px;
}
.plano-ob .govsoc__items {
    margin-top: 0px;
}
.govsoc__sectionHead-2 {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}
#govsoc-principios-de-bom-governo{
  padding-right: 25px;
}
/* =========================
   NAV ESQUERDA (hover/active)
   ========================= */
.govsoc__navLink{
  color: #00303F;
  background: transparent;
  transition: background .2s ease, color .2s ease;
}

.govsoc__navLink::before{
  background: transparent;
  transition: background .2s ease;
}

/* hover = fica azul + bar azul */
.govsoc__navLink:hover{
  color: #008FBC;
  background: rgba(30,115,255,.06);
}
.govsoc__navLink:hover::before{
  background:#008FBC;
}



/* =========================
   LISTA DIREITA (linhas)
   ========================= */
.govsoc__linkRow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: transparent;
    padding: 30px 0px;
    transition: background .2s ease;
    overflow: hidden;
    border-top: 1px solid #faf8f9;
}
/* o traço azul à direita só em hover/active (como no mock) */
.govsoc__linkRow::before{
  content:"";
  position:absolute;
  right:0;
  top:0;
  bottom:0;
  width:3px;
  background: transparent;
  transition: background .2s ease;
}

.govsoc__docLink,
.govsoc__docTitle{
  color: #00303F;
  font-size: 20px;
  line-height: 22px;
  font-weight: 500;
  text-decoration:none;
  transition: color .2s ease;
}

/* LINK ROW */
.govsoc__linkRow{
  position: relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  background: transparent;
  padding:25px 0;
  overflow:hidden;
}

/* badge real (substitui o antigo ::after) */
.govsoc__badge{
  position:absolute;
  right:14px;
  top:50%;
  width:40px;
  height:40px;
  border-radius:6px;
  cursor: pointer;
  background-color:#fff;
  background-image:url("https://riavivaveiro.pt/wp-content/uploads/2026/01/Button-Text.svg");
  background-repeat:no-repeat;
  background-position:center;
  background-size:auto;

  transform:translateY(-50%) translateX(12px); /* entra ligeiramente da direita */
  opacity:0;

  transition:
    opacity .35s ease,
    transform .35s ease,
    background-color .2s ease;

  box-shadow:0 6px 18px rgba(0,0,0,.06);
  pointer-events:auto; /* permite hover no badge */
}

/* aparece no hover da row */
.govsoc__linkRow:hover .govsoc__badge{
  opacity:1;
  transform:translateY(-50%) translateX(-50%);
}

/* amarelo só quando o rato está em cima do badge */
.govsoc__badge:hover{
  background-color:#f3ea98;
}


.govsoc__linkRow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: transparent;
    padding: 25px 0px;
    transition: background .2s ease;
    overflow: hidden;
    border-top: 1px solid #faf8f9;
}
.govsoc__linkRow:hover{
  background: linear-gradient(90deg, rgba(0,143,188,0) 0%, rgba(0,143,188,.14) 100%);
    border-top: 1px solid #008fbc47;
}

.govsoc__linkRow:hover::before{
  background:#008FBC;
}
.govsoc__linkRow:hover .govsoc__docLink,
.govsoc__linkRow:hover .govsoc__docTitle{
  color:#008FBC;
}

/* estado activo (se quiseres usar uma classe is-active na linha) */
.govsoc__linkRow.is-active{
  background: linear-gradient(90deg, rgba(30,115,255,.10), rgba(30,115,255,.04));
}
.govsoc__linkRow.is-active::before{
  background:#008FBC;
}
.govsoc__linkRow.is-active::after{
  opacity: 1;
}

/* opcional: para links “ocuparem” bem o row */
.govsoc__docLink{
  display:block;
  width: 100%;
  padding-right: 56px; /* espaço para o botão/ícone */
}


.contacto-text h5 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 30px;
    font-weight: 500;
    color: #008FBC;
}

.contacto-text h6 {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 20px;
    font-weight: 600;
    color: #00303F;
}
.contacto-text p {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 20px;
    font-weight: 500;
    color: #00303F;
}
.contacto-text, .contacts-links {
    width: 368px;
    max-width: 100%;
}
.contacts-links {
    /* text-align: center; */
    text-transform: uppercase;
    padding: 15px;
    font-weight: 600;
}
a.contact-chip {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    font-size: 15px;
}
/* Wrapper */
.cf7-card{
  width:100%;
}

.cf7-kicker {
    font-size: 16px;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 18px;
    color: #008FBC;
    margin: 0 0 40px;
    font-weight: 500;
}

/* Field */
.cf7-field{
  margin: 0 0 25px;
}

.cf7-label{
  display:block;
  font-size: 12px;
  line-height: 1.1;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #4C535C;
  margin: 0 0 5px !important;
}

/* Inputs */
.cf7-card input[type="text"],
.cf7-card input[type="email"],
.cf7-card input[type="tel"],
.cf7-card select,
.cf7-card textarea{
  width:100%;
  border: 1px solid rgba(0,0,0,.06);
  background: #fff;
  border-radius: 2px;
  padding: 12px 14px;
  font-size: 12px;
  outline: none;
  box-shadow: none;
}

.cf7-card textarea{
  min-height: 220px;
  resize: vertical;
}

/* Phone row */
.cf7-phone p{
  display:grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
}
.cf7-phone select {
    height: 100%;
    padding: 12px 10px;
}
/* Privacy */
.cf7-privacy{
  margin: 10px 0 18px;
  font-size: 10px;
  color: rgba(0,0,0,.45);
  text-align:center;
}
.cf7-privacy a{
  color: rgba(0,0,0,.75);
  text-decoration:none;
}
.cf7-privacy a:hover{
  text-decoration: underline;
}

/* Button */
.cf7-actions{
  display:flex;
  justify-content:center;
}
.cf7-btn{
  border: 0;
  padding: 10px 18px;
  background: #E7E8EA;
  color: #008FBC;
  font-size: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.cf7-btn:hover{
  filter: brightness(0.98);
}
.pol-contactos {
    margin-bottom: 100px;
}
.pol-contactos form.wpcf7-form.init {
    padding: 50px;
    background-color: white;
}
.cf7-field input::placeholder{
  color: #4C535C; 
}
.cf7-field.cf7-field--msg .cf7-label {
    color: #005F7D;
    font-size: 12px;
    font-weight: 500;
}
.cf7-privacy, .cf7-privacy a {
    font-size: 12px;
    line-height: 1.3;
}
.cf7-privacy {
    font-weight: 500;
}
.cf7-privacy a{
    font-weight: 600;
}

.concursos-publicos__table{
  width: 100%;  
}



/* ==========================
 * CONCURSOS PÚBLICOS (Listing + Tabs)
 * Usa os botões existentes: .obj-interv-filters / .obj-interv-filter
 * ========================== */

.concursos-publicos {
  padding: 28px 0 60px;
}

.concursos-publicos .obj-interv-listing__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.concursos-publicos .obj-interv-listing__title {
  margin: 0;
}

.concursos-publicos__catrow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.concursos-publicos__empty-inline{
  font-size:11px;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:rgba(20,32,42,.45);
  font-weight:700;
  text-align:right;
  white-space:nowrap;
}

.concursos-publicos .obj-interv-filter:hover {
  color: rgba(20, 32, 42, .85);
}

.concursos-publicos .obj-interv-filter.is-active {
  background: #0C7EA6; /* azul do pill */
  color: #fff;
}

/* Grupos / Cards */
.concursos-publicos__group {
  background: rgba(255,255,255,.9);
  border-radius: 6px;
  padding: 18px 18px 10px;
  margin-top: 22px;
}

.concursos-publicos__cat {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #0C7EA6;
  font-weight: 700;
}

.concursos-publicos .obj-interv-filters button, .obj-interv-filters a {
    background-color: transparent;
    border: transparent;
}
/* Table */
.concursos-publicos__tablewrap {
  overflow: hidden;
  border-radius: 6px;
}

.concursos-publicos__table {
  width: 100%;
  border-collapse: collapse;
}

.concursos-publicos__table thead th {
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(20, 32, 42, .45);
  font-weight: 700;
  padding: 10px 12px;
  text-align: left;
}

.concursos-publicos__table thead th:nth-child(2),
.concursos-publicos__table tbody td:nth-child(2) {
  text-align: center;
  width: 170px;
}

.concursos-publicos__table thead th:nth-child(3),
.concursos-publicos__table tbody td:nth-child(3) {
  text-align: right;
  width: 170px;
}

.concursos-publicos__table tbody tr {
  border-top: 1px solid rgba(20, 32, 42, .06);
}

.concursos-publicos__table tbody td {
  padding: 14px 12px;
  font-size: 12px;
  color: rgba(20, 32, 42, .82);
  vertical-align: middle;
}

.concursos-publicos__desc a {
  color: rgba(20, 32, 42, .75);
  text-decoration: none;
  font-weight: 600;
}
.concursos-publicos__table tbody td.concursos-publicos__desc{
      font-family: 'Tasa Orbiter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    font-style: normal;
    resize: none;
}
.concursos-publicos__desc a:hover {
  text-decoration: underline;
}

.concursos-publicos__valor {
  font-weight: 700;
  color: rgba(20, 32, 42, .88);
}

/* Empty state (igual foto 1: mensagem à direita) */
.concursos-publicos__empty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 12px;
  border-top: 1px solid rgba(20, 32, 42, .06);
}

.concursos-publicos__empty-left {
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(20, 32, 42, .35);
  font-weight: 700;
}

.concursos-publicos__empty-right {
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(20, 32, 42, .35);
  font-weight: 700;
  text-align: right;
}


















/* ===========================
   ÓRGÃOS SOCIAIS (SHORTCODE)
   =========================== */

.os-wrapper{
  width: 100%;
  padding: 10px 0 40px;
}

/* layout geral */
.os-grid{
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  column-gap: 56px;
  align-items: start;
}

.historia-title {
    margin: 0 0 0px;
    font-size: 56px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #008FBC;
    line-height: 1;
}
.os-title, .ea-title {
    font-size: 40px;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: #008FBC;
    line-height: 1.1;
}
.historia-title{
  text-transform: uppercase;
}
.os-left .os-desc{
  margin: 0;
  font-size: var(--regular);
  line-height: 1.35;
  color: #00303F;
  font-weight: 500;
  max-width: 362px;
}

/* COLUNA DIREITA */
.os-right{
  padding-top: 6px;
}

.os-group{
  margin: 0 0 30px;
}

.os-group-title {
    margin: 0 0 12px;
    line-height: 1.2;
    font-size: 24px;
    font-weight: 500;
    color: #0b8ebf;
    letter-spacing: -0.01em;
}

/* TABELA (CAIXA) */
.os-table{
  background: #fff;
  overflow: hidden;
}
.double-cell {
    display: flex;
    justify-content: space-between;
}
/* GRID DAS LINHAS */
.os-row{
  display: grid;
  grid-template-columns: 2fr 1fr;
  padding: 18px 20px;
  align-items: center;
  column-gap: 18px;
  border-bottom: 1px solid #faf8f9;
  border-left: 1px solid #faf8f9;
}
.os-row {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr;
    padding: 18px 20px;
    align-items: center;
    column-gap: 18px;

    border-bottom: 1px solid #eaeaea;
    border-left: 3px solid transparent;

    transition: all 0.3s ease;
    background: #fff;
    overflow: hidden;
}

/* 🔹 Gradiente no hover */
.os-row::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,123,255,0.08), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 🔹 Hover */
.os-row:hover {
    border-left: 3px solid #0b8ebf; /* linha azul à esquerda */
    border-bottom: 1px solid #0b8ebf; /* linha em baixo */
}

/* ativa gradiente */
.os-row:hover::before {
    opacity: 1;
}

/* 🔹 texto azul no hover */
.os-row:hover .os-name,
.os-row:hover .os-cargo,
.os-row:hover .os-eleicao,
.os-row:hover .os-mandato {
    color: #0b8ebf;
}

/* 🔹 garantir que conteúdo fica acima do gradiente */
.os-row > * {
    position: relative;
    z-index: 1;
}
.os-right .os-group:first-child .os-table .os-row.is-first .os-eleicao::before, .os-right .os-group:first-child .os-table .os-row.is-first .os-mandato::before{
  display: block;
}
.os-right .os-table .os-row:first-child .os-eleicao::before,.os-right .os-table .os-row:first-child .os-mandato::before {
  display: none;
}
.os-row:first-child{
  border-top: 0;
}

/* HEADER DA TABELA (ELEIÇÃO / MANDATO) */
.os-row.os-head{
  background: rgba(11, 142, 191, 0.06);
  padding-top: 14px;
  padding-bottom: 14px;
}

.os-row.os-head .os-cell{
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .10em;
  color: rgba(27, 54, 63, 0.55);
  text-transform: uppercase;
}

.os-row.os-head .os-person{
  border-left: 0;
  padding-left: 0;
}

/* COLUNA "PESSOA" */
.os-person{
  position: relative;
  padding-left: 18px;
  border-left: 2px solid rgba(11, 142, 191, 0.55);
  min-width: 0;
}


.os-cargo, .os-table .os-row:first-child .os-eleicao::before, .os-table .os-row:first-child .os-mandato::before {
    font-size: 12px;
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: #4C535C;
    margin: 0 0 6px;
}
.os-name, .os-cell, .ea-desc{
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  color: #00303F;
  text-decoration: none;
  line-height: 1.25;
}

.home .obj-intervencoes {
    padding: 0px 0 20px;
    margin: 0px 0px;
}
.home .maplibregl-ctrl-bottom-right {
    bottom: 15px;
    right: 5px;
}

/* remove qualquer highlight que possas ter no 1º item */
.os-row:not(.os-head){
  background: transparent;
}

/* ===========================
   SÓ O PRIMEIRO ITEM DA PRIMEIRA CATEGORIA
   (barra azul apenas aí)
   =========================== */

/* por defeito: tira a barra em todos os itens */
.os-row:not(.os-head) .os-person{
  border-left-color: rgba(11, 142, 191, 0.0);
}

/* aplica a barra SÓ no 1º item real (logo após o .os-head) do 1º grupo */
.os-group:first-of-type .os-table .os-row.os-head + .os-row .os-person{
  border-left-color: rgba(11, 142, 191, 1);
}


/* 1) Por defeito: nenhum item tem barra */
.os-table .os-row .os-person{
  padding-left: 0 !important;
}
.os-table .os-row .os-person::before{
  content: none !important;
}


/* 3) “ELEIÇÃO / MANDATO” só no PRIMEIRO item (em cima das datas) */
.os-table .os-row:first-child .os-eleicao,
.os-table .os-row:first-child .os-mandato{
  position: relative;
  padding-top: 18px; /* espaço para o label */
}

.os-table .os-row:first-child .os-eleicao::before{
  content: "ELEIÇÃO";
  position: absolute;
  top: 0;
  left: 0;

}

.os-table .os-row:first-child .os-mandato::before{
  content: "MANDATO";
  position: absolute;
  top: 0;
  left: 0;
}

    .valores-3{
      background-color: white;
      z-index: 89;
      padding: 10% 0px;
      position: relative;
    }

.noticias-wrap,
.noticias-wrap * {
  box-sizing: border-box;
}
/* ============================
   HISTÓRIA SLIDER
   ============================ */
.fundo-cell {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 50px 11%;
}

.historia-head{
  display:flex;
  margin-left: calc(10% + 20px);
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  margin-bottom: 50px;
  margin-top: 50px;
}
.noticia-rel{
  margin-top: 50px;
}

/* setas */
.historia-nav{
  display:flex;
  gap:8px;
}
.historia-prev,
.historia-next{
  width:36px;
  height:36px;
  border-radius:6px;
  border:1px solid rgba(11,142,191,.25);
  background:#fff;
  color:#0b8ebf;
  font-size:18px;
  line-height:1;
  cursor:pointer;
}
.historia-prev:hover,
.historia-next:hover{
  border-color: rgba(11,142,191,.55);
}

/* swiper spacing */
.historia-swiper, .noticias-swiper{
  padding: 14px 0 30px;
}
.noticias-swiper .swiper-wrapper > div:first-child {
    margin-left: calc(10% + 20px);
}
.noticias-swiper .featured-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/16;
    display: block;
    object-fit: cover;
    object-position: center;
}
/* CARD base (amarelo) */
.historia-card{
  background:#f3ea98;
  border-radius:0;
  aspect-ratio: 4/4;
  padding: 10%;
  min-height: 300px;
  box-sizing:border-box;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}

.historia-ano {
    font-size: 3vw;
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 18px;
    color: rgba(27,54,63,.70);
}
.historia-sub {
    font-size: 1.3vw;
    font-weight: 500;
    color: rgba(27,54,63,.75);
    margin-top: 30px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.page-sobre-nos .swiper-wrapper > div:first-child{
  margin-left: calc(10% + 20px);
}

.historia-text {
  font-size: 0.9vw;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(27,54,63,.65);
}

/* card ativo (azul) */
.historia-card.is-active{
  background:#0b8ebf;
}

.historia-card.is-active .historia-ano{
  color:#FCF7B2; /* amarelo no ano */
}

.historia-card.is-active .historia-sub,
.historia-card.is-active .historia-text{
  color:#FCF7B2;
}

.historia-progress {
    height: 3px;
    width: 110px;
    background: rgba(27,54,63,.20);
}
.historia-progress span{
  display:block;
  height:3px;
  width:100%;
  background: rgba(27,54,63,.65);
}

    /* Card base */
    .obj-interv-card{
      position: relative;
      overflow: hidden;
      background: #000; /* fallback caso não haja imagem */
      min-height: 520px; /* ajusta ao teu layout */
    }

    /* IMAGEM (em vez de background) */
    .obj-interv-card__media{
      margin: 0;
      width: 100%;
      height: 100%;
    }
.obj-interv-card__img {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
    display: block;
    aspect-ratio: 16 / 7;
    user-select: none;
    -webkit-user-drag: none;
}

    /* Panel no topo esquerdo */
    .obj-interv-card__panel{
      position: absolute;
      top: 18px;
      left: 18px;
      width: 45%;
      z-index: 2;
    }

.obj-interv-card__meta {
    position: absolute;
    top: 0;

    left: 0;
    align-items: center;
    display: flex;
}
.obj-interv-card__meta .obj-interv-card__objetivos{
    background-color: #fcf7b2;
}
.obj-interv-card__objetivo {
    padding: 10px 15px;
    color: #1b1b1b;
}

/* ============================
   METAS SLIDER (layout igual ao print)
   ============================ */

.metas-wrap {
    width: 100%;
    padding: 7% 0 50px;
}

.metas-head{
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 10px;
}

.metas-title{
  margin: 0;
  color: #0b8ebf;
  font-weight: 800;
  font-size: 18px;
}

.metas-swiper{
  padding: 8px 0 0;
}

.metas-swiper .swiper-wrapper{
  align-items: stretch;
}

.metas-card{
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: transparent;
}

.metas-card::before {
    content: "";
    position: absolute;
    top: 0%;
    right: 20%;
    width: 1px;
    height: 90%;
    background: rgba(0,0,0,0.06);
}

.metas-num{
  font-size: 8vw;
  line-height: .95;
  font-weight: 400;
  color: #008FBC;
  letter-spacing: -0.03em;
  margin: 0 0 0px;
}

.metas-unit {
    font-size: 16px;
    font-weight: 500;
    color: #008FBC;
    margin: 0 0 50px;
    padding: 0px 15px;
    width: 70%;
}

.metas-text {
    font-size: 24px;
    padding: 0px 15px;
    line-height: 1.2;
    color: #4C535C;
    width: 70%;
}
/* fundo + risco + setas em baixo (igual ao print) */
.metas-bottom{
  margin: 18px auto 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.metas-progress{
  width: 60px;
  height: 2px;
  background: rgba(27, 54, 63, 0.30);
}

.metas-progress span{
  display: none; /* no print parece só o risco fixo */
}

.metas-nav{
  display: flex;
  gap: 8px;
}

.metas-prev,
.metas-next{
  width: 34px;
  height: 34px;
  border: 1px solid rgba(27, 54, 63, 0.10);
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: rgba(27, 54, 63, 0.65);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.metas-prev:hover,
.metas-next:hover{
  border-color: rgba(11, 142, 191, 0.25);
  color: #0b8ebf;
}






/* =========================
   Estrutura Acionista
   Shortcode: [estrutura_acionista]
   ========================= */

.ea-wrap{
  width: 100%;
  margin: 0 auto;
}

.ea-head{
  margin: 0 0 18px;
}



.ea-desc{
  max-width: 520px;
  margin-bottom: 50px;
  line-height: 24px;
}

/* barra */
.ea-bar{
  width: 100%;
  margin-top: 50px;
  height: 240px;
  display: flex;
  gap: 0;
  overflow: hidden;
}

/* segmentos */
.ea-seg{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

/* cores (igual ao print) */
.ea-a{
  background: #0b8ebf;
  color: #FCF7B2;
}
.ea-b{
  background: rgba(11, 142, 191, 0.12);
  color: #0b8ebf;
}

/* texto */
.ea-percent{
  font-size: 5vw;
  line-height: .95;
  font-weight: 200;
  color: #008FBC;
  letter-spacing: -0.03em;
  margin: 0 0 0px;
}

.ea-a .ea-percent{ color: #FCF7B2; }
.ea-b .ea-percent{ color: #0b8ebf; }

.ea-name {
    font-size: 16px;
    font-weight: 200;
    letter-spacing: .10em;
    white-space: nowrap;
    opacity: 0.85;
}

























.valores-6{
  margin-bottom: 7%;
}









/* ----------------------------------- BOTÃO TELETRANSPORTE TOPO PÁGINA  ----------------------------------- */
.goUp {
	cursor: pointer;
	position: fixed;
	top: 90%;
	right: 30px;
	z-index: 9995;
	opacity: 0;
	transition: 300ms opacity linear;
}
.goUp.show {
	opacity: 1;
	transition: 300ms opacity linear;
}
/****************************** MEDIA QUERIES ************************************/

@media (max-width: 1100px){
  .interv-resultados-grid{
    min-height: 360px;
  }

  .resultado-card-wrap{
    height: 360px;
  }

  .resultado-percent{
    font-size: 44px;
  }

  .resultado-text{
    font-size: 12px;
  }
}

@media (max-width: 820px){
  .interv-resultados-title{
    font-size: 32px;
    margin-bottom: 28px;
  }
  .interv-entidades-grid {
    MARGIN-TOP: 25PX;
}
.interv-entidades-logos {
    display: GRID !important;
    GRID-TEMPLATE-COLUMNS: 1FR 1FR 1FR !important;
    gap: 10px !important;
    justify-content: center;
    margin: auto !important;
}
.obj-interv-item {
    padding: 0px 0px !important;
}
  .os-row {
    padding: 16px 0px !important;
}
.ea-seg.ea-a{
  flex: 0 0 100% !important;
    max-width: 100% !important;
}
.inter-mapa-single-wrap {
    height: 100dvh !important;
    PADDING-TOP: 30VH !important;
}
.news-hero h1 {
    font-weight: 500;
    font-size: 24px;
    margin-top: 20px;
    width: 100% !important;
    max-width: 100% !important;
}
.news-hero .overlay {
    padding: 0 0px 0px !important;
}
.featured-grid {
    OVERFLOW: hidden !important;
}
.featured-grid {
    grid-template-columns: 1FR !important;
}
.featured-card .featured-content {
    padding: 25px !important;
}
.pol-contactos form.wpcf7-form.init {
    padding: 20px !important;
    MARGIN-TOP: 40px !important;

}
.ea-seg.ea-b{
    flex: 0 0 85% !important;
    max-width: 85% !important;
}
.single-intervencao .page-banner {
    height: 145vh !important;
}
.historia-card {
    aspect-ratio: 4/6 !important;
}
.historia-card {
    overflow: hidden !important;
}
  .featured-card .featured-content {
    box-shadow: none !important;
}
  h3.featured-title {
    min-height: 12vh;
}
  .home-mid {
    padding: 50px 0 46px;
}
.home-stats {
    padding: 10px;
    min-height: 50vh !important;
}
.obj-interv-card__baixo {
    min-height: 40vh !important;
}
.swiper-pagination-bullet {
    width: var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,5px)) !important;
    height: var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,5px)) !important;
}
.featured-card:hover .featured-content {
    border: none !important;
}
  .footer-logos.footer-logos-dynamic {
    align-items: flex-start !important;
}
.footer-logos.footer-logos-dynamic {
    --footer-logo-height: clamp(28px, 9vw, 42px);
    flex-direction: row;
    align-items: flex-start;
    gap: 25px;
}
.footer-logos.footer-logos-dynamic {
    margin-left: 15px;
    margin-top: 15px;
}
.footer-logos-dynamic .footer-logo-img {
    max-width: 50px !important;
}
  .govsoc__sectionHead.govsoc__sectionHead--withInvest {
    gap: 15px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-direction: column;
}
.govsoc__categoryTitle {
    padding: 40px 0px 0px;
}
.govsoc__docLeft {
    display: flex;
    flex-direction: column;
}
.govsoc__docRight {
    margin-left: auto;
}
.govsoc__sectionInvest {
    text-align: right;
}
.govsoc__sectionHeadMain {
    width: 100%;
}
.govsoc__docLeft {
    display: flex;
    gap: 30px;
    max-width: 100%;
}
  /* Planos filhos */
.govsoc__sectionHeadMain h3, .govsoc__sectionInvest{
  color: #008FBC;
  font-size: 20px;
}
  .govsoc__linkRow {
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-direction: column;
}
.obj-interv-listing__top {
    margin: 20px 0px;
}
.concurso-bloco1 .concurso-lado-esquerdo p {
    margin-bottom: 0px !important;
}
.interv-entidades {
    padding: 0px 0 20px;
}
.obj-interv-listing__title {
    font-size: 24px;
    max-width: 310px;
}
.single-intervencao .govsoc__linkRow {
    padding: 15px 15px;
}
  .interv-resultados-grid .resultado-card-wrap {
    height: 135px;
}
.interv-entidades-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: auto !important;
}
.share-wrapper {
    margin: 30px 0;
}
.interv-entidade-item {
    width: auto;
}
.interv-entidades-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: start;
}
  .single-objetivo .obj-card__footer-inner > div:last-child {
    border-bottom: none;
}
.obj-interv-card{
  display: flex;
  flex-direction: column-reverse;
}
.obj-interv-item {
    display: grid;
    grid-template-columns: 1fr;
    margin: 0;
    padding: 0px 20px;
    transition: padding .35s ease;
}
.single-objetivo .obj-card__footer-inner > div {
    margin-top: 6px;
    padding-bottom: 10px !important;
}
  .obj-intervencoes {
    margin: 0px 20px;
}
.inter-data-item {
    padding: 20px 10px;
}
.interv-galeria-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.hero-video__media .hero-video__play{
    width: 40px;
    height: 40px;
}
.hero-video__media .hero-video__card {
    min-height: auto;
        left: 10px;
    bottom: 10px;
}
.interv-galeria__title {
    font-size: 24px;
}
.hero-video__media .hero-video__title {
    font-size: 10px;
    line-height: 1.2;
    text-align: left;
    padding: 7px 20px;
    font-weight: 500;
}
.inter-data-num {
    font-size: 24px;
    margin-bottom: 2px;
}
.objetivo-top-right p {
    margin: 18px 0 18px;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 500;
    color: #FCF7B2;
}
.interv-banner-meta-value {
    font-size: 18px;
}
.interv-info-strip__value {
    font-size: 54px;
}
.inter-top-zero {
    padding: 40px 20px 40px!important;
    background-color: #297f50;
}
.interv-banner-grid {
    grid-template-columns: 1fr;
    gap: 0px;
}
.interv-banner-meta-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.single-intervencao .page-banner {
    height: 110vh;
}
  .objetivo-top-grid {
    display: block;
}
.obj-interv-item__title {
    margin: 0;
    padding-top: 40px;
    font-size: 20px;
}
.obj-interv-item .obj-interv-item__card {
    padding: 45px 22px 0px;
}
.objetivo-single-content .bloco-top {
    max-width: calc(100% - 5px);
}
.interv-banner-left .page-banner-title {
    font-size: 24px;
}
.objetivo-top-left p {
    font-size: 24px;
}
  .obj-card__title {
    font-size: 32px;
}
.single-objetivo .page-banner {
    height: 90vh;
}
.single-objetivo .obj-card__footer-inner > div {
    flex: 1;
    text-align: center;
    margin-top: 10px;
    position: relative;
    height: auto;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #fcf7b26e;
    border-top: none;
    flex-direction: row;
    padding: 0;
}
.single-objetivo .page-banner-title {
    font-size: 40px;
    margin-bottom: 30px;
}
.page-projetos .sub-titulo p {
    width: 350px;
}
.obj-grid {
    margin: 100px 20px !important;
}
  #govsoc-estrutura-organizativa .govsoc__itemMedia img {
    aspect-ratio: auto;
}
#govsoc-principios-de-bom-governo .govsoc__excerptCard {
      padding: 0px !important;
  }
  .govsoc__section {
    padding: 20px 20px 20px 20px;
}
  .govsoc__archive {
      padding: 20px;
  }
  .govsoc__excerptCard {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      padding: 20px !important;
      flex-direction: column;
  }

  .interv-resultados-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: auto;
    align-items: stretch;
    min-height: 0;
  }

  .resultado-card-wrap{
    height: 300px;
  }
}

@media (max-width: 560px){
  .interv-resultados-grid{
    grid-template-columns: 1fr;
  }

  .resultado-card-wrap{
    height: 260px;
  }

  .resultado-percent{
    font-size: 40px;
  }
}


/* =========================
   1750px / 1650px / 1440px
   ========================= */
@media only screen and (max-width: 1750px){}
@media only screen and (max-width: 1650px){
	.single-intervencao .page-banner {
    height: 110vh;
}
.single-objetivo .page-banner {
    height: 110vh;
}
	.single-intervencao .page-banner-inner-inner {
    bottom: 10px;
}
.inter-mapa-single-wrap {
    height: 85dvh;
}
.interv-banner-grid {
    gap: 15px;
}
}
@media only screen and (max-width: 1440px){}

/* =========================
   1250px / 1200px (mantidos)
   ========================= */
@media print, screen and (max-width: 1250px){}
@media print, screen and (max-width: 1200px){}

/* =========================
   1024px
   ========================= */
@media (max-width: 1024px){
  .news-grid--3{ grid-template-columns:repeat(2, minmax(0, 1fr)); }

  .slide-imagens .slide-imagens-swiper .swiper-slide{
    width: 78vw;
    height: 320px;
  }

  .metas-num{ font-size: 74px; }

  .govsoc__twocol{ grid-template-columns: 1fr; }
  .govsoc__tile{ min-height: 200px; }
}

/*tablet landscape or old laptop (mantido) */
@media print, screen and (max-width: 1024px){}

/* =========================
   991px / 980px
   ========================= */
@media only screen and (max-width: 991px){}

/* ===== MAPA FILTROS: MOBILE TOGGLE ===== */
.mapa-modulo { position: relative; }

.mapa-filtros-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border: 1px solid rgba(0,0,0,.12);
    background: #fff;
    color: #0a84c1;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.10);
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.mapa-filtros-toggle svg{
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

/* Overlay */
.mapa-filtros-overlay{
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 9998;
}

@media (max-width: 900px) {
  .header-nav .header-subnav {
    position: fixed;
    top: 135px;
    left: 20px;
    transform: none !important;
    z-index: 998;
    max-width: calc(100vw - 40px);

    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .header-nav .header-subnav .sub-menu {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;

    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: scroll-position;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .header-nav .header-subnav .sub-menu::-webkit-scrollbar {
    display: none;
  }

  .header-nav .header-subnav .sub-menu li,
  .header-nav .header-subnav .sub-menu a {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
  .hero-pagination-new {
     display: block; 
}
.metas-unit, .metas-text {
    padding: 0px 5px;
}
.btn {
    padding: 12px;
}
.ea-name {
    white-space: normal;
}





}

/* =========================
   900px
   ========================= */
@media (max-width: 900px){
.govsoc__itemMedia img {
    aspect-ratio: unset;
}
  .historia-sub {
    font-size: 18px;
}
.historia-text {
    font-size: 16px;
    line-height: 1.4;
}
  .os-grid{
    grid-template-columns: 1fr;
    row-gap: 22px;
  }
  .header-nav .header-subnav .sub-menu{
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;

  /* esconder scrollbar */
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE/Edge antigo */
}

.header-nav .header-subnav .sub-menu::-webkit-scrollbar{
  display: none;               /* Chrome / Safari */
}
  .os-left .os-desc{
    max-width: 100%;
  }
  /* Responsive (mantém proporção, mas empilha) */
  .obj-interv-item__link,
  .obj-interv-item:nth-child(2) .obj-interv-item__link{
    width: min(620px, 100%);
    grid-template-columns: 1fr;
  }
  .obj-interv-item__media{
    height: 220px; /* altura fixa para imagem no topo */
  }
  .obj-interv-item__card{
    height: auto;
  }
  .obj-interv-item:nth-child(2) .obj-interv-item__link{
    border-radius: var(--radius);
  }
.historia-title, .ea-title {
    font-size: 24px;
    line-height: 1.05;
}
  .single-related-grid{
    grid-template-columns: 1fr;
  }
html {
    margin-top: 0 !important;
}
div#wpadminbar {
    display: none;
}
  /* Responsive: esconder menu no mobile (o hamburger fica) */
  .header-nav{ display: contents; }
  .header-nav .header-menu{ display: none !important; }
  .header-nav .header-subnav .sub-menu {
      flex-wrap: nowrap;
      width: 100%;
      overflow: auto;
  }
.header-nav .header-subnav {
    left: 20px;
    transform: unset;
}
  .header-nav .header-subnav {
    width: 100%;
    white-space: nowrap;
}
.header-inner {
    grid-template-columns: 1fr 1fr;
}
  /* ====== RESPONSIVO ====== */
  .home-hero-inner{
    grid-template-columns: 1fr;
  }
  .hero-image{
    max-width: 100%;
  }
  .home-stats-inner{
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hero-title{
    font-size: 36px;
    line-height: 1.1;
  }
.page-sobre-nos .swiper-wrapper > div:first-child {
    margin-left: unset;
}
.metas-text {
    font-size: 18px;
    width: 90%;
}
.historia-nav {
    display: flex;
    gap: 8px;
    width: 100%;
    align-items: center;
    text-align: center;
}
.historia-prev, .historia-next {
    width: 40px;
    height: 40px;
}
.metas-unit {
    margin: 0 0 20px;
}
.metas-card::before {
    display: none;
}
.footer-social-link {
    width: 35px;
    height: 35px;
    font-size: 18px;
}
.ea-bar{
  display:flex;
  flex-direction:row;
  width:100%;
}
    .govsoc{
    display: block;
    grid-template-columns: 1fr !important;
  }
.bloco-1-proj h3 {
    font-size: 24px;
    margin-bottom: 50px !important;
}
.page-banner-inner-inner {
    bottom: 50px;
    max-width: 100%;
    min-height: auto;
    width: 100%;
}
.obj-card__panel {
    height: auto;
    width: 100%;
    margin: 0 !important;
    margin: 20px;
    padding: 2% 4% 2% 2%;
}
.obj-card__title {
    margin-bottom: 25px !important;
}

.page-governo-da-sociedade .page-banner-inner, .page-informacao-financeira .page-banner-inner, .page-contactos .page-banner-inner, .page-plano-de-intervencoes .page-banner-inner, .page-concursos-publicos .page-banner-inner, .page-concursos-publicos .page-banner-inner {
    background: linear-gradient(to top, #faf8f9 0%, #faf8f9 10%, #d8e0e45c 50%, #d8e0e400 100%);
}
.obj-card__footer {
    position: absolute;
    left: unset;
    right: 0px;
    bottom: 30px;
    width: 100%;
    z-index: 1;
}
.obj-card__bg {
    position: relative;
    order: 1;
    aspect-ratio: 4 / 4;
}
.obj-card {
    aspect-ratio: unset;
    display: grid;
}
.govsoc__itemMedia img {
    height: auto;
    object-fit: cover;
    aspect-ratio: 4 / 4;
}
.govsoc__nav {
    position: relative;
    top: 0px;
}
  .govsoc__nav{
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 50px;
  }
.page-governo-da-sociedade .page-banner, .page-banner {
    height: 65vh;
}
.page-projetos .page-banner {
    height: 75vh;
}
.obj-card__panel {
    padding: 25px;
}
.govsoc__sectionTitle {
    font-size: 24px;
    line-height: 1.1;
}
.govsoc__docLink, .govsoc__docTitle {
    font-size: 18px;
    line-height: 20px;
}
  section.govsoc__content{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
  }
.page-governo-da-sociedade .page-banner-title, .page-informacao-financeira .page-banner-title, .page-contactos .page-banner-title, 
.page-plano-de-intervencoes .page-banner-title, .page-concursos-publicos .page-banner-title {
    font-size: 40px;
}
.obj-card__footer-inner > div {
    padding: 5px 0px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #fcf7b2;
    align-items: center;
}
.header-inner {
    max-width: calc( 100% - 6%);
    padding: 50px 10px 10px;
}
.obj-interv-filters {
    overflow: auto;
    white-space: nowrap;
    max-width: 100%;
}
.obj-card__footer-inner span {
    font-size: 16px;
    line-height: 1.2;
}
.bloco-1-proj p {
    font-size: 18px;
    line-height: 1.2;
}
.obj-card__footer-inner span.num {
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: 0px;
}
.obj-card__footer-inner > div:not(:last-child)::after {
    background: transparent;
}
.obj-card__footer-inner {
    display: flex;
    gap: 10px;
    flex-direction: column;
}
.ea-bar > .ea-seg{
  width:auto !important;
  min-width:0;
}
.metas-swiper {
    padding: 30px 30px;
}
.ea-seg {
    display: flex;
    gap: 10px;
    flex-direction: row;
    text-align: center;
    justify-content: flex-start;
}
.concurso-bloco1 .concurso-lado-esquerdo p {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 50px !important;
}
.metas-nav {
    display: flex;
    gap: 8px;
    width: 100%;
    align-items: center;
    text-align: center;
}
.metas-prev, .metas-next {
    width: 50px;
    height: 40px;
}
  .valores-2 .valores-planta{
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
  }

  /* Concursos públicos */
  .concursos-publicos .obj-interv-listing__top{
    flex-direction: column;
    align-items: flex-start;
  }
  .concursos-publicos__table thead th:nth-child(2),
  .concursos-publicos__table tbody td:nth-child(2),
  .concursos-publicos__table thead th:nth-child(3),
  .concursos-publicos__table tbody td:nth-child(3){
    width: auto;
  }

  /* EA */
  .ea-bar{ height: 140px; }
}

/* =========================
   768px / 767.5px (mantido)
   ========================= */

@media (max-width: 768px){
  .obj-card{ min-height:240px; }
  .obj-card__footer{ justify-content:flex-start; }
  .os-row{
    grid-template-columns: 1fr 120px 120px;
    padding: 16px 16px;

  }
    .news-grid--3{ grid-template-columns:1fr; }

}


@media (max-width: 640px){
.home-hero-inner {
    width: calc( 100% - 6%);
}
.valores-texto ul{
  padding: 0px 30px;
}
.valores-texto h2 strong {
    font-size: 64px;
    line-height: 1;
}
.mapa-modulo-hero-title {
    margin: 0 0 15px;
    font-size: 32px;
}
.bloco-medio .hero-pagination {
    top: unset !important;
    left: 0px !important;
    justify-content: center;
    bottom: 15px !important;
}
.obj-interv-card__fase {
    padding: 10px 20px;
}
.obj-interv-card__baixo {
    min-height: auto;
    padding: 70px 50px 100px 30px;
    display: flex;
    position: relative;
    align-content: center;
    align-items: flex-start;
}
.obj-interv-card__h {
    margin: 0 0 10px;
    font-size: 32px;
}
.obj-interv-card__title {
    font-size: 24px;
}
.home-hero-inner .swiper-slide {
    padding: 10px;
    grid-template-columns: 1fr;
}
img.img-alto-meio {
    top: 40%;
    max-width: 90vw;
    transform: translate(44%, 10%);
}
.home-stats-inner {
    margin: 0 auto;
    padding: 15px;
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 0px;
    justify-content: center;
    align-items: end;
    flex-direction: column;
}
.swiper-pagination-bullet {
    width: var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,10px));
    height: var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,10px));
}
.featured-title {
    line-height: 1.2;
    font-size: 18px;
    font-weight: 500;
}
.home-stats-inner .stat:first-of-type {
    border-bottom: 1px solid #fbf7b4a3;
}
.fundo-cell {
    display: flex;
    justify-content: space-between;
    padding: 25px 7%;
}
  .noticias-wrap .historia-nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
  }

  .noticias-wrap .noticias-pagination{
    display:flex;
    justify-content:center;
    flex: 1;
  }


  .noticias-wrap .noticias-prev,
  .noticias-wrap .noticias-next{
    flex: 0 0 auto;
  }
.historia-progress{
  display: none;
}
.obj-interv-card__fase {
    white-space: nowrap;
        padding: 10px 30px;
}
.swiper-pagination-bullet-active {
    background: #4c4c4c;
}

.featured-content {
    box-shadow: none;
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 20px;
    border: 1px solid #008fbc1c
}

.footer-blob-right{
  display: none;
}
.footer-cta {
    position: relative;
    background: #f3ea98;
    border-radius: 0px;
    width: 100%;
    min-width: 100%;
}
.page-sobre-nos .page-banner-inner-inner {
    bottom: 0px;
}
.valores-planta{
  display: none;
}
.coluna-esquerda {
    padding: 7% 0px 75px 0px !important;
}
.site-footer {
    display: grid;
    max-width: 100%;
    overflow: hidden;
}
.os-group-title {
    font-size: 18px;
    line-height: 1.2;
}
.o-texto p {
    font-size: 18px;
}
.container, .a-largura {
    width: 100%;
    max-width: 100%;
}
.o-texto h6 {
    width: 100%;
    max-width: 100%;
    font-size: 24px;
    line-height: 1.1;
    margin-bottom: 50px !important;
}
.valores-texto h2 {
    font-size: 64px;
    margin-bottom: 20px;
}
.site-footer-linhas{
  order: 1;
  max-width: 100%;
}
.footer-logos img {
    margin: auto;
    max-width: 90%;
}
.sub-titulo p {
    font-size: 40px;
    line-height: 1;
}
.hero-pagination .swiper-pagination-bullet-active {
    background: #fcf7b2;
}
.img-total {
    padding: 0px 0px 30px;
}
.footer-botao {
    margin-top: 30px;
}

.footer-cta {
    order: 2;
    padding: 30px;
}
.site-footer-linhas {
    padding: 0;
}
.footer-wrap{
  padding: 0 30px;
}
.footer-blob-center {
    left: unset;
    top: unset;
    width: 100%;
    position: absolute;
    opacity: 1;
    right: -30%;
    bottom: 0;
}
.footer-inner {
    grid-template-columns: 1fr;
    padding-bottom: 200px;
}
.footer-wrap {
    padding-top: 25px;
}
.site-footer {
    padding: 25px 0 0px;
}

.noticias-swiper .swiper-wrapper > div:first-child {
    margin-left: unset;
}
.obj-interv-card__fase, .obj-interv-card__objetivo {
    font-size: 14px;
}
.historia-swiper, .noticias-swiper {
    padding: 14px 6% 30px;
}
.historia-head {
    margin: 0;
    padding: 0px 6%;
}
.mapa-modulo-hero {
    width: 100%;
    max-width: 100%;
}
.double-cell {
    display: flex;
    justify-content: flex-start;
    gap: 50px;
    margin-top: 10px;
}


.obj-interv-card__img {
    aspect-ratio: 16 / 12;
}
.obj-interv-card__panel {
    position: relative !important;
    top: 0px !important;
    left: 0px !important;
    width: 100% !important;
}
.mapa-modulo .mapa-filtros-toggle {
    display: inline-flex;
    position: absolute;
    z-index: 9;
    left: 14px;
    BOTTOM: 14px;
}
.obj-interv-card__meta {
    background-color: unset;
}
.obj-interv-card__meta, .obj-interv-card__tag-inner {
    border-bottom: 1px solid #008fbc1c;
    width: 100%;
}
  /* Filtros viram “drawer” */
  .mapa-modulo .mapa-filtros{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;

    max-height: 72vh;
    overflow: auto;

    background: #fff;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    box-shadow: 0 -20px 60px rgba(0,0,0,.22);

    transform: translateY(110%);
    transition: transform 220ms ease;
    will-change: transform;

    padding: 14px 14px 18px;
  }

  .mapa-modulo.is-filtros-open .mapa-filtros{
    transform: translateY(0);
  }

  .mapa-modulo.is-filtros-open .mapa-filtros-overlay{
    display: block;
  }

  /* opcional: dar um “handle” */
  .mapa-modulo .mapa-filtros::before{
    content: "";
    display: block;
    width: 46px;
    height: 5px;
    border-radius: 999px;
    margin: 2px auto 12px;
    background: rgba(0,0,0,.18);
  }

a.btn.btn-primary.btn-arrow.noticia-botao {
    margin-right: 0;
    padding: 10px 10px;
    font-size: 12px;
}
.stat {
    padding: 30px;
    width: 100%;
}
.stat-label {
    font-size: 3.5vw;
}
.stat-number {
    font-size: 65px;
}
.home-stats-inner .stat, .home-stats-unico:first-of-type .stat {
    border-bottom: 1px solid #fbf7b4a3;
}
.home-stats {
    align-items: flex-start;
    padding-top: 100px !important;
}
img.logo-bottom-rigth {
    display: none;
}
html.menu-aberto .header-burger {
    position: absolute;
    right: 10px;
    background-color: #f5f2b4;
    border: 1px solid #008fbc1c;
}
.obj-interv-card__header, .obj-interv-card__baixo {
    width: 100%;
    max-width: 100%;
}
.obj-interv-card__panel {
    position: absolute;
    z-index: 1;
    height: auto;
    padding: 0;
    bottom: 0;
}
.mobile-grid {
    max-width: 100%;
    width: 100%;
    margin: 25px 0px 0px;
    padding: 15px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0px;
    align-items: start;
}
.maplibregl-ctrl-group button {
    height:40px;
    width: 40px;
}
.mobile-grid section{
  padding: 20px 0px;
  border-bottom: 1px solid #008fbc1c;
}
.mobile-grid section:last-of-type{
  border-bottom: none;
}
.mobile-title {
    margin: 0px 0 10px;
    padding-bottom: 3px;
}
.mobile-menu-inner {
    padding: 150px 15px 15px;
}
html.menu-aberto .header-inner {
    grid-template-columns: 1fr;
}
.div-search {
    width: 100%;
    max-width: 100%;
}
.home-hero .hero-pagination {
    left: 0px !important;
    bottom: unset !important;
    top: 50px !important;
    align-items: flex-start;
    margin: auto !important;
    justify-content: center;
}
.mid-text {
    margin: 30px auto;
    width: 100%;
    font-size: 26px;
    max-width: 95%;
    line-height: 1.1;
    padding: 0px;
}
a.header-logo {
    max-width: 145px;
}
.hero-left {
    display: none;
}
.hero-right {
    margin-top: 75px;
    margin-bottom: 100px;
}
.header-burger {
    width: 50px;
    height: 50px;
}
.home-stats {
    padding: 10px;
    min-height: 100vh;
}
  .slide-imagens .slide-imagens-swiper .swiper-slide{
    width: 88vw;
    height: 240px;
  }

  /* Concursos públicos */
  .concursos-publicos__table thead{
    display: none;
  }
  .concursos-publicos__table,
  .concursos-publicos__table tbody,
  .concursos-publicos__table tr,
  .concursos-publicos__table td{
    display: block;
    width: 100%;
  }
  .concursos-publicos__table tbody td{
    padding: 10px 12px;
    border-top: 1px solid rgba(20, 32, 42, .06);
  }
  .concursos-publicos__table tbody td:nth-child(2),
  .concursos-publicos__table tbody td:nth-child(3){
    text-align: left;
  }

  /* OS (mobile) */
  .os-row{
    grid-template-columns: 1fr;
    row-gap: 8px;
  }
  .os-row.os-head{
    display: none;
  }
  /*
  .os-eleicao::before{
    content: "ELEIÇÃO: ";
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    color: rgba(27, 54, 63, 0.45);
    text-transform: uppercase;
  }
  .os-mandato::before{
    content: "MANDATO: ";
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    color: rgba(27, 54, 63, 0.45);
    text-transform: uppercase;
  }
*/
  /* História (mobile) */
  .historia-card{ min-height: 260px; padding: 26px 22px; }
  .historia-ano{ font-size: 60px; }

  /* Metas */
  .metas-num{ font-size: 70px; }

  /* EA */
  .ea-bar{
    height: auto;
    flex-direction: column;
  }
  .ea-seg{
    padding: 28px 12px;
  }




}

/* =========================
   600px / 430px / 414px / 378px / 320px (mantidos)
   ========================= */
@media only screen and (max-width: 600px){}
@media only screen and (max-width: 430px){}
@media only screen and (max-width: 414px){}
@media only screen and (max-width: 378px){}
@media only screen and (max-width: 320px){}