/*
  STYLE v 1.1;
  05/2023;
  João Diogo Pereira;
*/

/*FONTS*/

/*GERAL*/

/* Cores acessíveis (WCAG 2.1 AA)
   --green-ui   : fundo verde com texto branco  -> 5,13:1
   --green-text : texto verde sobre fundo claro -> 6,4:1 (branco) / 5,7:1 (#edf3e2)
   --grey-text  : cinzento de texto secundário  -> >= 4,7:1 nos fundos claros do site
   O #73AB3A continua para elementos decorativos (linhas, círculos, retângulos)
   e para o hover dos links no rodapé (4,9:1 sobre #1e3408). */
:root {
  --green-brand: #73AB3A;
  --green-ui: #4a7a1c;
  --green-ui-hover: #3f5a14;
  --green-text: #3e6a10;
  --grey-text: #6b6b6b;
}

body {
  font-family: 'Montserrat', sans-serif;
}

html {
  overflow-x: hidden;
}

.main-container {
  margin: 0 auto;
  width: 90%;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

.row {
  margin: 0;
  padding: 0;
}

body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-height: 100vh;
}

main {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  margin-top: 106px;
}

@media only screen and (max-width: 991px) {
  main {
    margin-top: 98px;
  }
}

.preloader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999999;
  background-color: #fafafa;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url(../images/preloader.svg);
}

img {
  max-width: 100%;
  display: inline-block;
}


/* ===== PARCEIROS ===== */
.partners {
  background: #c3d69e;
  padding: 40px 0 36px;
  text-align: center;
}

.partners__title {
  margin: 0 0 24px;
  color: #537413;
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

.partners__btn {
  display: inline-block;
  min-width: 148px;
  padding: 12px 32px;
  border-radius: 50px;
  background: #fff;
  color: var(--green-text);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, color .2s;
  font-family: 'Montserrat', sans-serif;
}

.partners__btn:hover {
  background: #3f5a14;
  color: #fff;
}

/* ===== SOBRE NÓS ===== */
.about {
  position: relative;
  padding: 70px 0;
  overflow-x: clip;
  /* esconde o popup fora do ecrã sem criar scroll horizontal */
}

.about__title {
  margin: 0 0 24px;
  padding-left: 12px;
  border-left: 4px solid #73AB3A;
  color: #585858;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.2;
  font-family: 'Montserrat', sans-serif;
}

.about__content {
  color: #585858;
  font-size: 18px;
  line-height: 1.5;
  font-family: 'Montserrat', sans-serif;
}

.about__content p {
  margin: 0 0 .5rem;
}

.about__btn {
  display: inline-block;
  margin-top: 40px;
  padding: 10px 28px;
  background: var(--green-ui);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
  font-family: 'Montserrat', sans-serif;
}

.about__btn:hover {
  background: #3f5a14;
  color: #fff;
}

.about__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ===== VÍDEO POPUP (SOBRE NÓS) ===== */
.about__video {
  position: absolute;
  right: 0;
  top: 50%;
  /* altera aqui a posição vertical */
  display: flex;
  align-items: center;
  transform: translate(calc(100% - 40px), -50%);
  transition: transform .4s ease;
  z-index: 10;
}

.about__video.is-open {
  transform: translate(0, -50%);
}

.about__video-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  padding: 0 40px 0 0;
  margin-right: -40px;
  border: 0;
  border-radius: 50%;
  background: #3f5a14;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.about__video-toggle svg {
  width: 26px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 2px rgba(0, 0, 0, .25));
  transform: rotate(180deg);
  transition: transform .3s;
}

.about__video.is-open .about__video-toggle svg {
  transform: rotate(0deg);
}

.about__video-box {
  position: relative;
  z-index: 2;
  width: 620px;
  padding: 16px;
  background: #3f5a14;
}

.about__video-box video {
  display: block;
  width: 100%;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 991px) {
  .about {
    padding: 50px 0 70px;
  }

  .about__image {
    margin-top: 32px;
  }

  .about__content {
    font-size: 16px;
  }

  .about__video {
    top: auto;
    bottom: 10px;
    transform: translate(calc(100% - 40px), 0);
  }

  .about__video.is-open {
    transform: translate(0, 0);
  }
}

@media (max-width: 575px) {
  .partners {
    padding: 32px 0;
  }

  .about__video-box {
    width: 260px;
    padding: 10px;
  }
}

@media (max-width: 991px) {
  .about__video-box {
    width: 440px;
  }
}


/* ===== APOIE A SURDISOL ===== */
.support-index {
  padding: 60px 0 70px;
  text-align: center;
  background-color: var(--green-ui);
  color: #fff;
}

.support-index__title {
  margin: 0 0 28px;
  font-size: 35px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}

.support-index__content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 25px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

.support-index__content p {
  margin: 0;
}

.support-index__btn {
  display: inline-block;
  margin-top: 40px;
  min-width: 215px;
  padding: 14px 40px;
  border-radius: 50px;
  background: #fff;
  color: var(--green-text);
  font-size: 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.support-index__btn:hover {
  background: #3f5a14;
  color: #fff;
}

@media only screen and (max-width:991px) {
  .support-index__content {
    font-size: 16px;
  }

  .support-index__title {
    font-size: 25px;
  }

  .support-index__btn {
    font-size: 16px;
  }
}

/* ===== SERVIÇOS ===== */
.services {
  padding: 60px 0 70px;
}

.services__title {
  position: relative;
  margin: 0 0 32px;
  padding-bottom: 14px;
  text-align: center;
  color: #3C3A3A;
  font-size: 34px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.services__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 56px;
  height: 2px;
  background: #72ab3a;
  transform: translateX(-50%);
}

.services__intro {
  max-width: 900px;
  margin: 0 auto 48px;
  text-align: center;
  font-weight: 500;
  color: #747373;
  font-size: 20px;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.5;
}

.services__intro p {
  margin: 0;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 28px;
  max-width: 100%;
  /* controla o tamanho dos cartões */
  margin: 0 auto;
  /* centra a grelha */
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card__img {
  display: block;
  overflow: hidden;
}

.service-card__img img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .4s ease;
}

.service-card:hover .service-card__img img {
  transform: scale(1.04);
}

.service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 10px 0;
}

.service-card__title {
  margin: 0 0 8px;
  color: #537413;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  font-family: 'Montserrat', sans-serif;
}

.service-card__text {
  margin: 0 0 18px;
  color: #706E6E;
  font-size: 16px;
  line-height: 1.5;
  font-family: 'Montserrat', sans-serif;
}

.service-card__btn {
  align-self: flex-start;
  margin-top: auto;
  padding: 5px 18px;
  background: var(--green-ui);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
  font-family: 'Montserrat', sans-serif;
}

.service-card__btn:hover {
  background: #3f5a14;
  color: #fff;
}

.services__more {
  margin-top: 56px;
  text-align: center;
}

.services__more-btn {
  display: inline-block;
  padding: 10px 30px;
  background: var(--green-ui);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
  font-family: 'Montserrat', sans-serif;
}

.services__more-btn:hover {
  background: #3f5a14;
  color: #fff;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 991px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .support {
    padding: 44px 0 50px;
  }

  .services {
    padding: 44px 0 50px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .services__intro {
    margin-bottom: 32px;
    font-size: 15px;
  }

  .support__title,
  .services__title {
    font-size: 25px !important;
  }

  .support__content {
    font-size: 20px;
  }

  .support__btn,
  .services__more-btn {
    font-size: 15px;
  }

}


/* ===== NOTÍCIAS ===== */
.news {
  background: #edf3e2;
  padding: 60px 0 50px;
}

.news__title {
  position: relative;
  margin: 0 0 20px;
  padding-bottom: 14px;
  text-align: center;
  color: #3C3A3A;
  font-size: 34px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.news__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 48px;
  height: 2px;
  background: #72ab3a;
  transform: translateX(-50%);
}

/* slide */
.news-item {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 80px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 20px;
  /* espaço para o retângulo verde não ser cortado pelo Owl */
}

/* imagem com o retângulo verde atrás */
.news-item__img {
  position: relative;
  display: block;
}

.news-item__img::before {
  content: "";
  position: absolute;
  left: 27%;
  width: 45%;
  top: -37%;
  bottom: -37%;
  background: #72ab3a;
}

.news-item__img img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.news-item__title {
  margin: 28px 0 28px;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 600;
  line-height: 1.2;
  font-family: 'Montserrat', sans-serif;
}

.news-item__title a {
  color: var(--green-text);
  text-decoration: none;
}

.news-item__title a:hover {
  color: var(--green-ui-hover);
}

.news-item__btn {
  display: inline-block;
  margin-top: 40px;
  padding: 10px 28px;
  background: var(--green-ui);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
  font-family: 'Montserrat', sans-serif;
}

.news-item__btn:hover {
  background: #3f5a14;
  color: #fff;
}

/* rodapé: bolinhas + newsletter */
.news__footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.news__dots {
  grid-column: 2;
  display: flex;
  gap: 8px;
}

.news__dots .owl-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid var(--green-ui);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.news__dots .owl-dot.active {
  background: var(--green-ui);
}

.news__dots .owl-dot span {
  display: none;
}

.news__newsletter {
  grid-column: 3;
  justify-self: end;
  padding: 8px 28px;
  border-radius: 50px;
  background: var(--green-ui);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s;
  font-family: 'Montserrat', sans-serif;
}

.news__newsletter:hover {
  background: #3f5a14;
  color: #fff;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 991px) {
  .news-item {
    grid-template-columns: 1fr;
    gap: 90px;
    padding: 70px 20px 20px;
  }

  .news-item__img {
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }

  .news {
    padding: 44px 0 40px;
  }

  .news-item {
    gap: 80px;
  }

  .news__footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 24px;
  }

  .news__dots,
  .news__newsletter {
    grid-column: 1;
    justify-self: center;
  }

  .news__title {
    font-size: 25px;
  }
}


/* ===== BANNER INTERNO (reutilizável noutras páginas) ===== */
.page-banner {
  min-height: 86vh;
  background-size: cover;
  background-position: center;
}

/* ===== SOBRE NÓS: HISTÓRIA ===== */
.history {
  padding: 60px 0 80px;
}

.history__title {
  margin: 0 0 40px;
  padding-left: 12px;
  border-left: 5px solid #73AB3A;
  color: #585858;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

.history__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 70px;
  align-items: start;
}

.history__content {
  color: #585858;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  text-align: justify;
  font-family: 'Montserrat', sans-serif;
}

.history__content p {
  margin: 0 0 .6rem;
}

.history__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2;
  object-fit: cover;
  margin-bottom: 40px;
}

.history__signature {
  margin: 24px 0 0;
  text-align: right;
  color: #585858;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 991px) {
  .history {
    padding: 44px 0 60px;
  }

  .history__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .history__image {
    margin-bottom: 24px;
  }

  .history__content {
    text-align: left;
  }

  .page-banner {
    min-height: 36vh;
  }

  /* justificado em ecrãs pequenos cria espaços feios */
}


/* ===== TESTEMUNHOS ===== */
.testimonials {
  position: relative;
  padding: 150px 10px;
  /* espaço em baixo para os quadrados sobreporem */
  background-size: cover;
  background-position: center bottom;
  background-color: #dfeac9;
}

/* véu branco -> verde, da esquerda para a direita */
.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
      rgba(255, 255, 255, .95) 0%,
      rgba(255, 255, 255, .65) 35%,
      rgba(197, 216, 164, .55) 100%);
}

.testimonials>.container {
  position: relative;
  z-index: 1;
}

.testimonials__title {
  margin: 0 0 50px;
  padding-left: 12px;
  border-left: 4px solid #73AB3A;
  color: #585858;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.2;
  font-family: 'Montserrat', sans-serif;
}

.testimonial {
  margin: 0;
  padding: 0 0 10px 16px;
}

.testimonial__text {
  color: #646464;
  font-size: 20px;
  line-height: 1.55;
  font-family: 'Montserrat', sans-serif;
}

.testimonial__text p {
  margin: 0;
}

.testimonial__author {
  display: block;
  margin-top: 22px;
  font-style: normal;
  font-size: 20px;
  color: #646464;
  font-family: 'Montserrat', sans-serif;
}

/* bolinhas do Owl */
.testimonials .owl-dots {
  display: flex;
  gap: 8px;
  margin: 20px 0 0 16px;
}

.testimonials .owl-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 2px solid var(--green-ui);
  border-radius: 50%;
  background: transparent;
}

.testimonials .owl-dot.active {
  background: var(--green-ui);
}

.testimonials .owl-dot span {
  display: none;
}

.testimonials__slider {
  width: 100%;
  max-width: 480px;
}

.testimonial {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0 0 10px 16px;
  white-space: normal;
  overflow-wrap: break-word;
}

.testimonials .owl-stage-outer {
  width: 100%;
}

.testimonials .owl-item {
  min-width: 0;
}

/* ===== QUADRADOS ===== */
.testimonials__boxes {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: -85px auto 0;
  padding: 0;
  list-style: none;
}

.t-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 26px 14px;
  aspect-ratio: 4/3;
  background: #fcfff6;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

.t-box__icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 12px;
}

.t-box__title {
  margin: 0 0 8px;
  color: #3f5a14;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
}

.t-box__text {
  margin: 0;
  color: var(--grey-text);
  font-size: 14px;
  line-height: 1.4;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

/* ===== VÍDEO ===== */
.about-video {
  padding: 80px 0;
}

.about-video video {
  display: block;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 991px) {
  .testimonials__boxes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: -110px auto 0;
  }

  .about-video {
    padding: 60px 0;
  }

  .testimonials {
    padding-bottom: 130px;
  }

  .testimonials__title {
    margin-bottom: 30px;
    font-size: 25px;
  }

  .testimonial__text,
  .testimonial__author {
    font-size: 15px;
  }

  .t-box__icon {
    width: 40px;
    height: 40px;
  }

  .t-box__title {
    font-size: 14px;
  }

  .t-box__text {
    font-size: 12px;
  }
}

/* ===== TIMELINE ===== */
.timeline {
  padding: 60px 0 70px;
  overflow-x: clip;
}

.timeline__title {
  margin: 0 0 50px;
  padding-left: 12px;
  border-left: 4px solid #73AB3A;
  color: #585858;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  font-family: 'Montserrat', sans-serif;
}

.timeline__scroller {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  /* não "puxa" a página nem o histórico do browser */
  cursor: grab;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  outline-offset: -2px;
}

.timeline__scroller::-webkit-scrollbar {
  display: none;
}

.timeline__scroller.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.timeline__track {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 0 40px 0 max(20px, calc((135vw - 1140px) / 2 + 15px));
  list-style: none;
}

.t-item {
  position: relative;
  flex: 0 0 308px;
  padding: 58px 56px 0 0;
}

/* círculo */
.t-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #72ab3a;
}

/* linha até ao círculo seguinte */
.t-item::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 46px;
  right: 8px;
  height: 3px;
  background: #72ab3a;
}

.t-item:last-child::after {
  display: none;
}

.t-item__date {
  display: block;
  margin-bottom: 4px;
  color: #5f6f86;
  font-size: 15px;
  font-family: 'Montserrat', sans-serif;
}

.t-item__title {
  margin: 0 0 8px;
  color: #0F172B;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  font-family: 'Montserrat', sans-serif;
}

.t-item__text {
  color: #646464;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  font-family: 'Montserrat', sans-serif;
}

.t-item__text p {
  margin: 0 0 .4rem;
}

.timeline__action {
  margin-top: 40px;
  text-align: center;
}

.timeline__btn {
  padding: 8px 30px;
  border: 0;
  border-radius: 50px;
  background: var(--green-ui);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}

.timeline__btn:hover {
  background: #3f5a14;
}

/* ===== MODAL ===== */

/* bloqueia o scroll da página */

.inst-modal {
  width: min(900px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.inst-modal::backdrop {
  background: rgba(70, 70, 70, .45);
}

.inst-modal__box {
  position: relative;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(28px, 6vw, 76px);
  border-radius: clamp(24px, 4vw, 40px);
  background: #fdfff6;
}

.inst-modal__close {
  position: absolute;
  top: clamp(16px, 3vw, 28px);
  right: clamp(16px, 3vw, 28px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #555;
  border-radius: 50%;
  background: transparent;
  color: #555;
  cursor: pointer;
}

.inst-modal__close:hover {
  background: #3f5a14;
  border-color: #3f5a14;
  color: #fff;
}

.inst-modal__title {
  margin: 0 0 clamp(28px, 6vw, 80px);
  padding-left: 12px;
  border-left: 4px solid #73AB3A;
  color: #585858;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  font-family: 'Montserrat', sans-serif;
}

.inst-modal__content {
  color: #646464;
  font-size: 16px;
  line-height: 1.6;
  font-family: 'Montserrat', sans-serif;
}

.inst-modal__content p {
  margin: 0 0 1.1rem;
}

.inst-modal__content strong {
  color: #646464;
  font-weight: 600;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 991px) {
  .t-item {
    flex-basis: 280px;
    padding-right: 40px;
  }
}

@media (max-width: 575px) {
  .timeline {
    padding: 44px 0 50px;
  }

  .timeline__title {
    margin-bottom: 36px;
    font-size: 25px;
  }

  .inst-modal__title {
    font-size: 25px;
  }

  .timeline__track {
    padding-left: 20px;
  }

  .t-item {
    flex-basis: min(78vw, 280px);
  }

  .inst-modal__box {
    padding-top: 64px;
  }

  .t-item__date {
    font-size: 13px;
  }

  .t-item__title {
    font-size: 16px;
  }

  .t-item__text,
  .inst-modal__content {
    font-size: 14px;
  }

  /* espaço para o botão fechar */
}


/* ===== CARTÕES DE NÚMEROS ===== */
.gal-section {
  background: #FCFFF6;
}

.stats {
  padding: 20px 0 0;
}

.stats__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 125px;
  aspect-ratio: 4/3;
  padding: 20px 14px;
  background: #fbfcf3;
  text-align: center;
  color: #3f5a14;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

.stat__title {
  font-size: 40px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.1;
}

.stat__text {
  margin-top: 4px;
  font-size: 20px;
  font-family: 'Montserrat', sans-serif;
}

/* ===== GALERIA ===== */
.gallery {
  padding: 80px 0;
}

.gallery__title {
  margin: 0 0 50px;
  padding-left: 12px;
  border-left: 4px solid #73AB3A;
  color: #585858;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  font-family: 'Montserrat', sans-serif;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.gallery__item {
  overflow: hidden;
}

.gallery__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.gallery__btn img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .4s ease, opacity .2s;
}

.gallery__btn:hover img {
  transform: scale(1.05);
}

.gallery__btn:focus-visible {
  outline: 3px solid var(--green-ui);
  outline-offset: -3px;
}

/* ===== LIGHTBOX ===== */
html.modal-open {
  overflow: hidden;
}

/* se já tens esta regra do modal, não repitas */

.lightbox {
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(20, 26, 12, .94);
  color: #fff;
  overflow: hidden;
}

.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox::backdrop {
  background: transparent;
}

.lightbox__figure {
  margin: 0;
  max-width: min(1100px, calc(100% - 140px));
  max-height: 100dvh;
  padding: 56px 0 48px;
  text-align: center;
}

.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(100dvh - 130px);
  margin: 0 auto;
  object-fit: contain;
  opacity: 1;
  transition: opacity .2s;
}

.lightbox__img.is-loading {
  opacity: 0;
}

.lightbox__caption {
  margin-top: 12px;
  font-size: .85rem;
  color: #e5ecd6;
}

.lightbox__caption:empty {
  display: none;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 50%;
  background: rgba(0, 0, 0, .2);
  color: #fff;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.lightbox__close {
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
}

.lightbox__nav {
  top: 50%;
  width: 52px;
  height: 52px;
  transform: translateY(-50%);
}

.lightbox__nav--prev {
  left: 24px;
}

.lightbox__nav--next {
  right: 24px;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--green-ui);
  border-color: var(--green-ui);
}

.lightbox__count {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  font-size: .8rem;
  letter-spacing: .05em;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 991px) {
  .lightbox__figure {
    max-width: 100%;
    padding: 64px 12px 64px;
  }

  .lightbox__img {
    max-height: calc(100dvh - 150px);
  }

  .lightbox__nav {
    top: auto;
    bottom: 10px;
    width: 42px;
    height: 42px;
    transform: none;
  }

  .lightbox__nav--prev {
    left: 16px;
  }

  .lightbox__nav--next {
    right: 16px;
  }

  .lightbox__count {
    bottom: 22px;
  }

  .stats__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .stat {
    min-height: 110px;
  }

  .gallery {
    padding: 50px 0;
  }

  .gallery__title {
    margin-bottom: 30px;
    font-size: 25px;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat__title {
    font-size: 25px;
  }

  .stat__text {
    font-size: 15px;
  }
}

/* ===== PÁGINA DE SERVIÇOS ===== */
.services--page {
  padding: 60px 0 80px;
}

/* o título passa a h1 e herda o mesmo estilo do h2 da home */
.services--page .services__title {
  font-size: 30px;
}

/* a grelha passa a ser a do Bootstrap: anula a da home */
.services__list {
  row-gap: 40px;
}

.services--page .service-card {
  height: 100%;
}

/* o título do cartão passa a h2 (SEO): mantém o aspeto */
.service-card__title {
  font-size: 1rem;
}

/* paginação */
.services__pagination {
  margin-top: 56px;
}

.services__pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.services__pagination a,
.services__pagination span {
  display: block;
  min-width: 38px;
  padding: 8px 12px;
  border: 1px solid var(--green-ui);
  color: var(--green-text);
  font-size: .85rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.services__pagination a:hover,
.services__pagination .current {
  background: var(--green-ui);
  color: #fff;
}

@media (max-width: 575px) {
  .services--page {
    padding: 44px 0 50px;
  }

  .services__list {
    row-gap: 32px;
  }
}


/* ===== CONTACTOS ===== */
.contact {
  padding: 60px 0 90px;
  background: linear-gradient(135deg, #fff 35%, #dfe9c9 100%);
}

.contact__title {
  position: relative;
  margin: 0 0 28px;
  padding-bottom: 14px;
  text-align: center;
  color: #3C3A3A;
  font-size: 30px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

.contact__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 56px;
  height: 2px;
  background: #73AB3A;
  transform: translateX(-50%);
}

.contact__intro {
  max-width: 600px;
  margin: 0 auto 56px;
  text-align: center;
  color: #646464;
  font-size: 20px;
  line-height: 1.5;
  font-family: 'Montserrat', sans-serif;
}

.contact__intro p {
  margin: 0;
}

.contact__row {
  row-gap: 40px;
  align-items: center;
}

/* alertas */
.contact__alert {
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: .85rem;
  font-family: 'Montserrat', sans-serif;
}

.contact__alert--ok {
  background: #e6f2d3;
  color: #3f5a14;
}

.contact__alert--erro {
  background: #fbe4e4;
  color: #8a1f1f;
}

/* formulário */
.contact__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

.contact__grid .is-full {
  grid-column: 1 / -1;
}

.contact__form input[type="text"],
.contact__form input[type="tel"],
.contact__form input[type="email"],
.contact__form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #828282;
  border-radius: 10px;
  background: #F9F9F9;
  color: #646464;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
  transition: border-color .2s, box-shadow .2s;
}

.contact__form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact__form input::placeholder,
.contact__form textarea::placeholder {
  color: var(--grey-text);
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: 0;
  border-color: #3f5a14;
  box-shadow: 0 0 0 3px rgba(111, 168, 50, .25);
}

.contact__check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 22px;
  color: #646464;
  font-size: 12px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
}

/* consentimento RGPD: texto em várias linhas e link visível */
.contact__check--rgpd {
  align-items: flex-start;
  line-height: 1.5;
}

.contact__check--rgpd input {
  flex-shrink: 0;
  margin-top: 3px;
}

.contact__check a {
  color: var(--green-text);
  text-decoration: underline;
}

.contact__check a:hover {
  color: #3f5a14;
}

.contact__check input {
  width: 14px;
  height: 14px;
  accent-color: var(--green-ui);
}

.contact__submit {
  display: block;
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 50px;
  background: var(--green-ui);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .18);
  transition: background .2s;
}

.contact__submit:hover {
  background: #3f5a14;
}

/* bloco de informação com ícones automáticos */
.contact__info {
  color: #646464;
  font-size: 16px;
  line-height: 1.5;
  font-family: 'Montserrat', sans-serif;
}

.contact__info p {
  position: relative;
  margin: 0 0 30px;
  padding-left: 34px;
}

.contact__info strong {
  color: #3C3A3A;
  font-weight: 600;
}

.contact__info small {
  display: block;
  font-size: .5rem;
}

.contact__info a {
  color: inherit;
  text-decoration: none;
}

.contact__info a:hover {
  color: #646464;
}

.contact__info p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-size: contain;
}

/* 1.º parágrafo: localização */
.contact__info p:nth-of-type(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233E5C05' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11a7 7 0 0114 0c0 4.8-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}

/* 2.º: telefone */
.contact__info p:nth-of-type(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233E5C05' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 005 5L15 13l5 2v4a2 2 0 01-2 2A16 16 0 013 6a2 2 0 012-2z'/%3E%3C/svg%3E");
}

/* 3.º: email */
.contact__info p:nth-of-type(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233E5C05' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='1'/%3E%3Cpath d='M3 6l9 7 9-7'/%3E%3C/svg%3E");
}

/* 4.º: horários */
.contact__info p:nth-of-type(4)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233E5C05' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

/* ===== RESPONSIVO ===== */
@media (max-width: 575px) {
  .contact {
    padding: 44px 0 60px;
  }

  .contact__intro {
    margin-bottom: 36px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }
}


/* ===== LISTAGEM DE ÁLBUNS ===== */
.albums {
  padding: 60px 0 80px;
}

.albums__title {
  position: relative;
  margin: 0 0 24px;
  padding-bottom: 14px;
  text-align: center;
  color: #3C3A3A;
  font-size: 30px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

.albums__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 56px;
  height: 2px;
  background: #73AB3A;
  transform: translateX(-50%);
}

.albums__list {
  row-gap: 56px;
}

.album-card {
  display: block;
  margin: 0 auto;
  text-align: center;
  text-decoration: none;
}

.album-card__media {
  position: relative;
  display: block;
  margin-top: 26px;
  /* espaço para o separador do ícone */
}

.album-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  background: #e9eedd;
  /* removido: transition: transform .4s ease; */
}

.album-card__media {
  position: relative;
  display: block;
  margin-top: 26px;
  overflow: visible;
  transition: filter .3s ease, transform .3s ease;
}

.album-card:hover .album-card__media,
.album-card:focus-visible .album-card__media {
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .25));
  transform: translateY(-4px);
}

/* separador verde com o ícone, no canto superior direito */
.album-card__icon {
  position: absolute;
  top: -40px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px 14px 0 0;
  background: var(--green-ui);
  color: #fff;
}

.album-card__title {
  margin: 22px 0 2px;
  color: var(--green-text);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

.album-card__date {
  display: block;
  color: #646464;
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

.album-card:hover .album-card__title {
  color: #3f5a14;
}

/* ===== ÁLBUM (SINGLE) ===== */
.album {
  padding: 40px 0 80px;
}

.album__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 16px;
  border-radius: 50px;
  background: var(--green-ui);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
  font-family: 'Montserrat', sans-serif;
}

.album__back:hover {
  background: #3f5a14;
  color: #fff;
}

.album .albums__title {
  margin-bottom: 14px;
}

.album__date {
  margin: 0 0 40px;
  display: block;
  color: #646464;
  text-align: center;
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

.album__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.album__item {
  overflow: hidden;
}

.album__item .gallery__btn img {
  aspect-ratio: 4 / 3;
  background: #e9eedd;
}

@media (max-width: 991px) {
  .album__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .albums {
    padding: 44px 0 50px;
  }

  .albums__title {
    margin-bottom: 36px;
    font-size: 25px;
  }

  .albums__list {
    row-gap: 40px;
  }

  .album__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .album-card__title {
    font-size: 16px;
  }
}

/* ===== ESTATUTOS / DOCUMENTOS ===== */
/* só nas páginas de documentos */
.page-template-page-estatutos main,
.page-template-page-documentos main {
  background: linear-gradient(135deg, #fff 35%, #dfe9c9 100%);
}

/* a secção deixa de ter fundo próprio */
.docs {
  background: none;
}

.docs__title {
  position: relative;
  margin: 0 0 28px;
  padding-bottom: 14px;
  text-align: center;
  color: #3C3A3A;
  font-size: 30px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

.docs__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 48px;
  height: 2px;
  background: #72ab3a;
  transform: translateX(-50%);
}

.docs__intro {
  max-width: 850px;
  margin: 0 auto 56px;
  text-align: center;
  color: #646464;
  font-size: 18px;
  line-height: 1.5;
  font-family: 'Montserrat', sans-serif;
}

.docs__intro p {
  margin: 0;
}

.docs__list {
  display: grid;
  gap: 16px;
  max-width: 850px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.doc-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 24px;
  border-radius: 10px;
  background: #fdfff6;
  color: #3C3A3A;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .12);
  transition: box-shadow .3s ease, transform .3s ease;
}

.doc-card:hover,
.doc-card:focus-visible {
  box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
  transform: translateY(-3px);
}

.doc-card__icon {
  display: flex;
  flex-shrink: 0;
  color: #3e5c05;
}

.doc-card__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.doc-card__date {
  color: var(--grey-text);
  font-size: 18px;
  line-height: 1.3;
  font-family: 'Montserrat', sans-serif;
}

.doc-card__title {
  color: #646464;
  font-size: 20px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  font-family: 'Montserrat', sans-serif;
}

@media (max-width: 991px) {
  .docs {
    padding: 44px 0 70px;
  }

  .docs__intro {
    margin-bottom: 36px;
    font-size: 16px;
  }

  .doc-card {
    padding: 12px 16px;
    gap: 14px;
  }

  .doc-card__title {
    font-size: 16px;
  }
}


/* ===== LISTAGEM (NOTÍCIAS / EVENTOS) ===== */
.posts {
  padding: 60px 0 80px;
}

.posts__list {
  row-gap: 48px;
}

.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-card__media {
  position: relative;
  display: block;
  overflow: hidden;
}

.post-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #e9eedd;
}

/* estrela de destaque */
.post-card__star {
  position: absolute;
  top: 10px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 44px;
  border-radius: 24px 0 0 24px;
  background: var(--green-ui);
  color: #fff;
}

.post-card__star svg {
  width: 24px;
  height: 24px;
  display: block;
}

.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px 8px 0;
}

.post-card__date {
  margin-bottom: 4px;
  color: #706E6E;
  font-size: 12px;
  font-family: 'Montserrat', sans-serif;
}

.post-card__title {
  margin: 0 0 8px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.3;
}

.post-card__title a {
  margin: 0 0 8px;
  color: #537413;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
}

.post-card__title a:hover {
  color: #537413;
}

.post-card__text {
  margin: 0 0 16px;
  color: #747373;
  font-size: 18px;
  line-height: 1.45;
  font-family: 'Montserrat', sans-serif;
}

.post-card .service-card__btn {
  margin-top: auto;
}

.post-card__extra p {
  margin: 0;
  font-size: 16px;
}

.post-card__extra p+p {
  margin-top: 2px;
}

.post-card__extra strong {
  font-weight: 600;
  color: #706E6E;
}

/* botões alinhados no fundo */

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

.single__image {
  display: block;
  width: 100%;
  max-width: 850px;
  height: auto;
  margin: 0 auto 56px;
}

.single__content {
  max-width: 850px;
  margin: 0 auto;
  color: #747373;
  font-size: 16px;
  line-height: 1.55;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

.single__content p {
  margin: 0 0 1.2rem;
}

.single__content strong {
  color: #444;
  font-weight: 600;
}

.single__content img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 991px) {
  .posts {
    padding: 44px 0 50px;
  }

  .posts__list {
    row-gap: 36px;
  }

  .single {
    padding: 30px 0 60px;
  }

  .single__image {
    margin-bottom: 36px;
  }

  .single__content {
    font-size: 14px;
  }
}

.page-template-page-parceiros main,
.page-template-page-orgaos-sociais main {
  background: linear-gradient(135deg, #fff 35%, #dfe9c9 100%);
}

/* ===== PARCEIROS ===== */
.partners-page {
  padding: 60px 0 100px;
}

.partners-page__list {
  row-gap: 24px;
}

/* ===== CARTÃO PARCEIRO / VANTAGEM (partilhado) =====
   Usado na página Parceiros e nas vantagens da página Apoiar.
   --logo-w     : largura da caixa do logótipo
   --logo-ratio : proporção das imagens (exportar todas com esta proporção) */
.partner {
  --logo-w: 140px;
  --logo-ratio: 3 / 2;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
  height: 100%;
  padding: clamp(16px, 2vw, 22px);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .12);
}

.partner__logo {
  flex: 0 0 var(--logo-w);
  aspect-ratio: var(--logo-ratio);
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner__body {
  flex: 1;
  min-width: 0;
}

.partner__title {
  margin: 0 0 6px;
  color: #3B3F5C;
  font-size: clamp(17px, 1.2vw + 9px, 24px);
  font-weight: 700;
  line-height: 1.25;
  font-family: 'Montserrat', sans-serif;
  overflow-wrap: break-word;
}

.partner__tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 2px 10px;
  border-radius: 50px;
  background: var(--green-ui);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

.partner__text {
  margin: 0;
  color: #3B3F5C;
  font-size: clamp(14px, .3vw + 13px, 15px);
  font-weight: 400;
  line-height: 1.5;
  font-family: 'Montserrat', sans-serif;
}

/* vantagens: cartões mais estreitos (3 por linha), logótipo mais pequeno */
.perks .partner {
  --logo-w: 88px;
}

.perks .partner__title {
  font-size: 16px;
}

.perks .partner__text {
  font-size: 14px;
}

@media (max-width: 991px) {
  .partner {
    --logo-w: 100px;
  }

  .perks .partner {
    --logo-w: 76px;
  }
}

/* ===== ÓRGÃOS SOCIAIS ===== */
.board {
  padding: 60px 0 100px;
}

.board__group {
  margin: 56px 0 120px 0;
}

.board__title {
  margin: 0 0 70px;
  padding-left: 12px;
  border-left: 4px solid #73AB3A;
  color: #585858;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  font-family: 'Montserrat', sans-serif;
}

.board__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.member {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 14px 12px;
  border-radius: 6px;
  background: #fdfff6;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .12);
}

.member__name {
  font-size: 25px;
  font-weight: 600;
  line-height: 1.2;
  color: #537413;
  font-family: 'Montserrat', sans-serif;
}

.member__role {
  margin-top: 6px;
  color: #706E6E;
  font-size: 20px;
  font-weight: 400;
  font-family: 'Montserrat', sans-serif;

}

/* ===== RESPONSIVO ===== */
@media (max-width: 991px) {
  .partners-page {
    padding: 44px 0 70px;
  }

  .board {
    padding: 44px 0 70px;
  }

  .board__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .board__title {
    margin: 0 0 40px;
    font-size: 25px;
  }

  .board__group {
    margin-top: 40px;
  }

  .docs__title {
    font-size: 25px;
  }

  .member__name {
    font-size: 20px;
  }

  .member__role {
    font-size: 16px;
  }

}

/* fundo da página (mesma regra das outras) */
.page-template-page-apoiar main {
  background: linear-gradient(135deg, #fff 35%, #dfe9c9 100%);
}

/* ===== BANNER ===== */
.apoio-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 86vh;
  background-size: cover;
  background-position: center;
  background-color: #3e5c05;
}

.apoio-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #73AB3A33 20%, #3E5C0594 58%, #3E5C05BF 75%);
}

.apoio-banner .container {
  position: relative;
  z-index: 1;
  padding-bottom: 115px;
}

.apoio-banner__title {
  max-width: 700px;
  margin: 0;
  color: #fff;
  font-size: 75px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

@media only screen and (max-width: 991px) {
  .apoio-banner__title {
    font-size: 40px;
  }

  .apoio-banner {
    min-height: 36vh;
  }
}

/* ===== DONATIVOS E QUOTAS ===== */
.support {
  padding: 60px 0 70px;
}

.support .board__title {
  margin-bottom: 70px;
}

.support__cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
}

.support-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 280px;
  aspect-ratio: 441 / 354;
  padding: 36px 16px 0;
  border: 1px solid #73ab3a;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 2px 2.5px rgba(0, 0, 0, .25);
  ;
}

.support-card__text {
  margin: 0;
  color: #3e5c05;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.3;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
}

.support-card__btn {
  width: 57%;
  height: 40px;
  margin-top: auto;
  margin-bottom: 33px;
  padding: 0;
  border: 1px solid #73ab3a;
  border-radius: 5px;
  background: #fff;
  color: #3e5c05;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 2.5px rgba(0, 0, 0, .25);
  transition: background .2s, color .2s;
}

.support-card__btn:hover,
.support-card__btn:focus-visible {
  background: var(--green-ui);
  color: #fff;
}

/* ===== MODAIS ===== */
.apoio-modal {
  width: min(860px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.apoio-modal::backdrop {
  background: rgba(70, 70, 70, .5);
}

.apoio-modal__box {
  position: relative;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(24px, 5vw, 48px);
  border-radius: clamp(20px, 3vw, 32px);
  background: #fff;
}

.apoio-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid #555;
  border-radius: 50%;
  background: transparent;
  color: #555;
  cursor: pointer;
}

.apoio-modal__close:hover {
  background: #3e5c05;
  border-color: #3e5c05;
  color: #fff;
}

.apoio-modal__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: stretch;
  padding-top: 12px;
}

.apoio-modal__img {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: 18px;
  background: #8fae6a;
}

.apoio-modal__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  mix-blend-mode: multiply;
  /* tom verde por cima da foto */
}

.apoio-modal__body {
  align-self: center;
}

.apoio-modal__lead {
  margin: 0 0 14px;
  color: var(--grey-text);
  font-size: 14px;
  line-height: 1.4;
  font-family: 'Montserrat', sans-serif;
}

.apoio-modal__label {
  display: block;
  margin-bottom: 4px;
  color: #333333;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
}

.apoio-modal__iban {
  margin-bottom: 18px;
  padding: 8px 12px;
  background: #f1f1f1;
  color: var(--grey-text);
  font-size: 18px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  user-select: all;
}

.apoio-modal__note {
  margin: 14px 0 20px;
  color: var(--grey-text);
  font-size: 12px;
  line-height: 1.5;
  font-family: 'Montserrat', sans-serif;
}

.apoio-modal__note p {
  margin: 0;
}

/* radios Particular / Empresarial */
.apoio-type {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.apoio-type__opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #F4F4F4;
  color: var(--grey-text);
  font-size: 14px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
}

.apoio-type__opt input {
  accent-color: var(--green-ui);
}

.apoio-type__opt:has(input:checked) {
  background: #e3eed0;
  color: #4F4F4F;
  font-family: 'Montserrat', sans-serif;
}

.apoio-form .contact__alert {
  margin-bottom: 12px;
}

.apoio-form__submit {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid #72ab3a;
  border-radius: 6px;
  background: #fff;
  color: #3e5c05;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.apoio-form__submit:hover {
  background: var(--green-ui);
  color: #fff;
}

/* ===== VANTAGENS ===== */
.perks {
  padding: 80px 0 60px;
}

/* ===== SÓCIO ===== */
.join {
  padding: 30px 0 100px;
}

.join__title {
  margin: 0 0 4px;
  color: #646464;
  font-size: 25px;
  font-weight: 500;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

.join__desc {
  margin: 0 0 40px;
  color: #646464;
  font-size: 1rem;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

.join__desc p {
  margin: 0;
}

.join__form {
  max-width: 650px;
  margin: 0 auto;
}

.contact__submit--auto {
  display: inline-block;
  width: auto;
  margin-top: 16px;
  padding: 10px 34px;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 991px) {
  .apoio-modal__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .apoio-modal__img {
    display: none;
  }

  .apoio-modal__box {
    padding-top: 56px;
  }

  .support {
    padding: 44px 0 50px;
  }

  .support__cards {
    gap: 20px;
  }

  .support-card {
    width: min(100%, 220px);
  }

  .join {
    padding-bottom: 70px;
  }

  .apoio-type {
    grid-template-columns: 1fr;
  }

  .support-card__text {
    font-size: 25px;
  }
}

/* ===== PÁGINA MISSÃO ===== */
.single--page {
  padding-top: 60px;
}

.single__image--below {
  max-width: 780px;
  /* no Figma a imagem é mais larga que o texto */
  margin: 64px auto 0;
}

@media (max-width: 575px) {
  .single--page {
    padding-top: 44px;
  }

  .single__image--below {
    margin-top: 40px;
  }
}



/* ===== RODAPÉ ===== */
.footer {
  background: #1e3408;
  color: #fff;
  font-size: .72rem;
}

.footer a {
  color: #FFFFFF;
  text-decoration: none;
  transition: all .3s ease-in-out;
}

.footer a:hover {
  color: #73ab3a;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1.6fr;
  gap: 40px;
  padding: 70px 0 40px;
  align-items: start;
}

.footer__logo {
  display: block;
  margin-bottom: 26px;
}

.footer__logo img {
  display: block;
  max-width: 220px;
  height: auto;
}

@media only screen and (max-width: 991px) {
  .footer__logo img {
    max-width: 170px;
  }
}

.footer__newsletter {
  padding: 8px 18px;
  border: 2px solid var(--green-ui);
  border-radius: 50px;
  background: var(--green-ui);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.footer__newsletter:hover,
.footer__newsletter:focus-visible {
  background: #fff;
  border-color: #fff;
  color: #1e3408;
}

.footer__menus {
  display: flex;
  gap: 40px;
}

.footer__heading {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

.footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__links li {
  margin-bottom: 8px;
}

.footer__links a {
  color: #FFFFFF;
  font-weight: 200;
  transition: color .2s;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
}

.footer__links a:hover {
  color: #73ab3a;
}

.footer__info {
  display: grid;
  gap: 14px;
}

.footer__row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  align-items: start;
}

.footer__label {
  font-weight: 700;
  text-align: right;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
}

.footer__text {
  color: #FFFFFF;
  font-weight: 300;
  line-height: 1.5;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
}

.footer__text p {
  margin: 0;
}

.footer__text small {
  display: block;
  font-size: .45rem;
  opacity: .7;
}

.footer__text a:hover {
  color: #73ab3a;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  display: flex;
}

.footer__social svg {
  width: 22px;
  height: 22px;
  display: block;
}

.footer__social a:hover {
  opacity: .75;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 30px;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, .3);
}

.footer__copy {
  margin: 0;
  color: #FFFFFF;
  font-weight: 300;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__legal a {
  color: #FFFFFF;
  font-weight: 300;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
}

.footer__legal a:hover {
  color: #73ab3a;
}

/* ===== MODAL NEWSLETTER ===== */
.news-modal {
  width: min(520px, calc(100% - 32px));
}

.news-modal .board__title {
  margin-bottom: 28px;
}

.news-modal__form input[type="text"],
.news-modal__form input[type="email"] {
  width: 100%;
  margin-bottom: 12px;
  padding: 11px 14px;
  border: 1px solid #8a9a6a;
  border-radius: 10px;
  background: #f8f8f8;
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
}

.news-modal__form input:focus {
  outline: 0;
  border-color: #3e5c05;
  box-shadow: 0 0 0 3px rgba(111, 168, 50, .25);
}

.news-modal__form input[type="submit"],
.news-modal__form button[type="submit"] {
  width: 100%;
  padding: 11px;
  border: 0;
  border-radius: 50px;
  background: var(--green-ui);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}

.news-modal__form input[type="submit"]:hover,
.news-modal__form button[type="submit"]:hover {
  background: #3e5c05;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 991px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 36px 30px;
    padding: 50px 0 30px;
  }

  .footer__info {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575px) {
  .footer__top {
    grid-template-columns: 1fr;
  }

  .footer__menus {
    gap: 30px;
  }

  .footer__row {
    grid-template-columns: 80px 1fr;
  }

  .footer__label {
    text-align: left;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

.news__newsletter {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

/* ===== PÁGINA POR DEFEITO (legais / acessibilidade) ===== */
.page-template-default main {
  background: linear-gradient(135deg, #fff 35%, #dfe9c9 100%);
}

.page-default {
  padding: 60px 0 100px;
}

.page-default__title {
  position: relative;
  margin: 0 0 48px;
  padding-bottom: 14px;
  text-align: center;
  color: #3C3A3A;
  font-size: 30px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

.page-default__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 56px;
  height: 2px;
  background: #73AB3A;
  transform: translateX(-50%);
}

.page-default__content {
  max-width: 850px;
  margin: 0 auto;
  color: #646464;
  font-size: 16px;
  line-height: 1.7;
  font-family: 'Montserrat', sans-serif;
  overflow-wrap: break-word;
}

.page-default__content > *:first-child {
  margin-top: 0;
}

.page-default__content p {
  margin: 0 0 1.1rem;
}

.page-default__content h2,
.page-default__content h3,
.page-default__content h4 {
  margin: 2.2rem 0 .8rem;
  color: #3C3A3A;
  font-weight: 600;
  line-height: 1.3;
  font-family: 'Montserrat', sans-serif;
}

.page-default__content h2 {
  font-size: 22px;
}

.page-default__content h3 {
  font-size: 18px;
}

.page-default__content h4 {
  font-size: 16px;
}

.page-default__content strong {
  color: #3C3A3A;
  font-weight: 600;
}

/* o reset global tira os marcadores das listas: repõe aqui */
.page-default__content ul,
.page-default__content ol {
  margin: 0 0 1.1rem;
  padding-left: 1.4rem;
}

.page-default__content ul {
  list-style: disc;
}

.page-default__content ol {
  list-style: decimal;
}

.page-default__content li {
  margin-bottom: .4rem;
}

.page-default__content li::marker {
  color: var(--green-ui);
}

.page-default__content a {
  color: var(--green-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-default__content a:hover {
  color: var(--green-ui-hover);
}

/* tabelas (ex.: lista de cookies) */
.page-default__content table {
  width: 100%;
  margin: 0 0 1.5rem;
  border-collapse: collapse;
  font-size: 14px;
}

.page-default__content th,
.page-default__content td {
  padding: 10px 12px;
  border: 1px solid #dcdcdc;
  text-align: left;
  vertical-align: top;
}

.page-default__content th {
  background: #edf3e2;
  color: #3C3A3A;
  font-weight: 600;
}

@media (max-width: 991px) {
  .page-default {
    padding: 44px 0 70px;
  }

  .page-default__title {
    margin-bottom: 32px;
    font-size: 25px;
  }

  .page-default__content {
    font-size: 15px;
  }

  .page-default__content h2 {
    font-size: 20px;
  }

  /* tabelas largas fazem scroll horizontal em vez de partir o layout */
  .page-default__content table {
    display: block;
    overflow-x: auto;
  }
}