*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}
body {
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

:root {
  --green: #2d8c6e;
  --green-dark: #1a5c4a;
  --green-light: #3eb489;
  --green-pale: #eaf5f0;
  --green-ultra-light: #f5faf8;
  --gray-light: #f8faf9;
  --gray-mid: #e8eeec;
  --text: #1e2e28;
  --text-mid: #4a6358;
  --text-light: #7a9e92;
  --white: #fff;
  --section-max: 1600px;
  --section-pad: 36px;
  color-scheme: only light;
}

html {
 scroll-behavior: smooth;
  overflow-x: hidden;
  color-scheme: only light;
  -webkit-filter: none !important;
  filter: none !important;
  forced-color-adjust: none;
}

/* Melhora responsividade em touch (evita scroll-blocking em swipes horizontais) */
.slider,
.swiper,
.swiper-wrapper,
.swiper-slide,
.estrutura-carousel,
.estrutura-swiper {
  touch-action: pan-y;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}
.icon-sm {
  width: 16px;
  height: 16px;
}
.icon-lg {
  width: 24px;
  height: 24px;
}

/* ─── Nav ─── */

nav {
  background: var(--white);
  position: relative;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.09);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 62px;
}

.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo a {
  display: block;
  text-decoration: none;
}
.nav-logo img {
  height: 34px;
  display: block;
}

.nav-logo-fb {
  font-family: "Merriweather", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
}

.nav-logo-fb small {
  display: block;
  font-size: 0.48rem;
  font-weight: 400;
  color: var(--text-mid);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  list-style: none;
  height: 62px;
  align-items: center;
  gap: 0.3rem;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  height: 62px;
  padding: 0 1.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: none;
  letter-spacing: 0.02em;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.nav-menu > li > a:hover,
.nav-menu > li:hover > a {
  color: var(--green);
  border-color: var(--green);
}

.nav-menu > li > a svg {
  fill: var(--text-mid);
  transition: fill 0.2s;
}
.nav-menu > li > a:hover svg {
  fill: var(--green);
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 210px;
  border-top: 2px solid var(--green);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  z-index: 200;
  border-radius: 0 0 8px 8px;
}

.nav-menu > li:hover .dropdown {
  display: block;
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  font-size: 0.82rem;
  color: var(--text-mid);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-mid);
  transition:
    background 0.15s,
    color 0.15s;
}

.dropdown a:last-child {
  border-bottom: none;
  border-radius: 0 0 8px 8px;
}
.dropdown a:hover {
  background: var(--green-pale);
  color: var(--green);
}
.dropdown a svg {
  fill: var(--text-mid);
  transition: fill 0.15s;
}
.dropdown a:hover svg {
  fill: var(--green);
}

/* ─── Hero / Slider ─── */

.hero-section {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 480px;
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
}
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: linear-gradient(
    90deg,
    rgba(15, 40, 32, 0.93) 0%,
    rgba(15, 40, 32, 0.72) 38%,
    rgba(15, 40, 32, 0.28) 62%,
    rgba(15, 40, 32, 0.08) 80%,
    transparent 100%
  );
}

.hero-text-wrap {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  padding: 0 5vw;
}

.hero-text {
  color: #fff;
  max-width: 520px;
}

.hero-slogan {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-slogan::before {
  content: "";
  width: 28px;
  height: 2px;
  background: rgba(255, 255, 255, 0.45);
}

.hero-text h1 {
  font-family: "Merriweather", serif;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 0.9rem;
}

.hero-text p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
  margin: 0 0 1.8rem;
  max-width: 460px;
}

.hero-text-btns {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.hero-btn-primary {
  background: #fff;
  color: var(--green-dark);
}
.hero-btn-primary:hover {
  background: var(--green-pale);
  transform: translateY(-2px);
}
.hero-btn-primary svg {
  fill: var(--green-dark);
}

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}
.hero-btn-secondary svg {
  fill: #fff;
}

.slider-prev,
.slider-next {
  display: none;
}

.swiper-pagination {
  bottom: 1.2rem !important;
  z-index: 10;
}
.swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: all 0.2s;
}
.swiper-pagination-bullet-active {
  background: #fff;
  transform: scale(1.3);
}

/* ─── Quick links ─── */

.quick {
  background: var(--white);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--gray-mid);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.qi {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.6rem 1rem;
  text-align: center;
  border-right: 1px solid var(--gray-mid);
  text-decoration: none;
  color: var(--text-mid);
  transition: all 0.2s;
}

.qi:last-child {
  border-right: none;
}
.qi:hover {
  background: var(--green-ultra-light);
  color: var(--green);
  transform: translateY(-2px);
}

.qi-ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.qi-ico svg {
  fill: var(--green);
}
.qi:hover .qi-ico {
  background: var(--green);
  transform: scale(1.05);
}
.qi:hover .qi-ico svg {
  fill: #fff;
}
.qi span {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
}

/* ─── Helpers ─── */

.section-inner {
  max-width: var(--section-max);
  margin: 0 auto;
  padding-left: var(--section-pad);
  padding-right: var(--section-pad);
}

.block-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 12px;
}

.block-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gray-mid);
}

/* ─── Sobre / História ─── */

.about-strip {
  background: var(--green-ultra-light);
  border-top: 1px solid var(--gray-mid);
  border-bottom: 1px solid var(--gray-mid);
}

.about-strip .section-inner {
  padding-top: 45px;
  padding-bottom: 45px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: center;
}

.about-strip .section-inner h2 {
  font-family: "Merriweather", serif;
  font-size: 1.65rem;
  color: var(--green-dark);
  margin-bottom: 0.8rem;
}

.about-strip .section-inner p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

.vals {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 0.4rem;
}

.val {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--white);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-mid);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text);
  transition: all 0.2s;
}

.val:hover {
  transform: translateX(5px);
  border-color: var(--green);
}

.v-i {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}

.v-i svg {
  fill: var(--green);
}

/* ─── Convênios ─── */

.conv-section {
  border-bottom: 1px solid var(--gray-mid);
}

.conv-section .section-inner {
  padding-top: 40px;
  padding-bottom: 40px;
}

.conv-grid-full {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  margin-top: 0.2rem;
}

.conv-b {
  height: 125px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
  overflow: hidden;
}

.conv-b img {
  width: 165px;
  height: 105px;
  object-fit: contain;
  max-width: 100%;
}

.conv-b:hover {
  border-color: var(--green);
  box-shadow: 0 4px 16px rgba(45, 140, 110, 0.12);
  transform: translateY(-2px);
}

/* ─── Notícias + Sidebar ─── */

.main-wrap {
  max-width: var(--section-max);
  margin: 0 auto;
  padding: 40px;
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: stretch;
  position: relative;
}

.main-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 1px;
  background: var(--gray-mid);
}

/* ─── Coluna de notícias (desktop) ─── */

.news-col-wrap {
  display: flex;
  flex-direction: column;
  height: 620px;
  overflow: hidden;
  position: relative;
}

.news-grid-container {
  flex: 1;
  overflow: hidden;
  position: relative;
  min-height: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--green-light) var(--gray-mid);
  /* sem grid-auto-rows fixo — altura natural */
}

.news-grid::-webkit-scrollbar {
  width: 6px;
}
.news-grid::-webkit-scrollbar-track {
  background: var(--gray-mid);
  border-radius: 10px;
}
.news-grid::-webkit-scrollbar-thumb {
  background: var(--green-light);
  border-radius: 10px;
}
.news-grid::-webkit-scrollbar-thumb:hover {
  background: var(--green);
}

/* ─── Card de notícia ─── */

.news-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.75rem;
  padding: 0px 9px;
  border-bottom: 1px solid var(--gray-mid);
  text-decoration: none;
  color: inherit;
  transition:
    background-color 0.2s,
    opacity 0.5s ease;
  align-items: center;
  background: transparent;
}

.news-item:hover {
  background: var(--green-ultra-light);
  border-radius: 10px;
}

.n-thumb {
  width: 120px;
  height: 78px;
  border-radius: 8px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.n-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.n-thumb svg {
  fill: var(--green-light);
}

.news-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 1;
}

.n-date {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.n-date svg {
  fill: var(--text-light);
}

.news-t {
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.4rem;
  word-break: break-word;
}

.news-arrow {
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  width: fit-content;
}

.news-arrow svg {
  fill: var(--green);
}

/* ─── Paginação (fixa) ─── */

.news-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0 0;
  border-top: 1px solid var(--gray-mid);
  background: var(--white);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.news-page-info {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
}

.news-page-btns {
  display: flex;
  gap: 0.5rem;
}

.news-page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--gray-mid);
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s;
}

.news-page-btn:hover:not(:disabled) {
  background: var(--green);
  border-color: var(--green);
}

.news-page-btn:hover:not(:disabled) svg {
  fill: #fff;
}

.news-page-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.news-page-btn svg {
  fill: var(--text-mid);
  transition: fill 0.2s;
}

/* ─── Sidebar ─── */

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--green-light) var(--gray-mid);
}

.sidebar::-webkit-scrollbar {
  width: 6px;
}
.sidebar::-webkit-scrollbar-track {
  background: var(--gray-mid);
  border-radius: 10px;
}
.sidebar::-webkit-scrollbar-thumb {
  background: var(--green-light);
  border-radius: 10px;
}
.sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--green);
}

.s-card {
  background: var(--gray-light);
  border-radius: 12px;
  padding: 1.4rem;
  border: 1px solid var(--gray-mid);
}

.sidebar .s-card:last-child {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.i-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
}

.i-row:last-child {
  margin-bottom: 0;
}

.i-ico {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 8px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}

.i-ico svg {
  fill: var(--green);
}

.i-row h5 {
  font-size: 0.68rem;
  color: var(--text-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.i-row p {
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 600;
  margin-top: 0.1rem;
}
.i-row p.sm {
  font-weight: 400;
  color: var(--text-mid);
}

/* ─── Estrutura ─── */

.estrutura-section {
  background: var(--gray-light);
  border-bottom: 1px solid var(--gray-mid);
}

.estrutura-section .section-inner {
  padding-top: 45px;
  padding-bottom: 60px;
}

.estrutura-carousel {
  position: relative;
  width: 100%;
  margin-top: 1.5rem;
  padding: 0;
  overflow: hidden;
  margin-bottom: -20px;
}

.estrutura-swiper {
  width: 100% !important;
}

.estrutura-swiper .swiper-wrapper {
  overflow: visible !important;
  width: 100% !important;
}

.estrutura-slide {
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.25s;
}

.estrutura-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.estrutura-legenda {
  height: 34px;
  padding: 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  background: var(--gray-light);
  border-top: 1px solid var(--gray-mid);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.estrutura-legenda:not(:empty)::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  min-width: 5px;
  border-radius: 50%;
  background: var(--green-light);
  flex-shrink: 0;
}

.estrutura-prev,
.estrutura-next {
  position: absolute;
  top: calc(50% - 17px);
  transform: translateY(-50%);
  z-index: 10;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.15s;
}

.estrutura-prev:hover,
.estrutura-next:hover {
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-50%) scale(1.08);
}

.estrutura-prev:active,
.estrutura-next:active {
  transform: translateY(-50%) scale(0.94);
}

.estrutura-prev svg,
.estrutura-next svg {
  fill: var(--green);
  transition: fill 0.2s;
}
.estrutura-prev:hover svg,
.estrutura-next:hover svg {
  fill: #fff;
}

.estrutura-prev {
  left: -4px;
}
.estrutura-next {
  right: -4px;
}

/* ─── Contato ─── */

.contact-strip {
  background: var(--green);
}

.contact-strip .section-inner {
  padding-top: 40px;
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: start;
}

.contact-strip .section-inner > div:first-child {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-strip h2 {
  font-family: "Merriweather", serif;
  font-size: 1.45rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.contact-strip .c-desc {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.c-rows {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.c-row {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.c-ico {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-ico svg {
  fill: #fff;
}

.c-row h5 {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.c-row p {
  font-size: 0.85rem;
  color: #fff;
  font-weight: 600;
}

.map-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  min-height: 260px;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

/* ─── Notícia aberta ─── */

.noticia-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px var(--section-pad);
  min-height: calc(100vh - 62px);
}

.noticia-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--green);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  transition: gap 0.2s;
}

.noticia-back:hover {
  gap: 0.7rem;
}
.noticia-back svg {
  fill: var(--green);
}

.noticia-hero-img-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
  margin-bottom: 1.8rem;
  cursor: zoom-in;
}

.noticia-hero-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  transition: filter 0.2s;
}

.noticia-hero-img-wrap:hover .noticia-hero-img {
  filter: brightness(0.88);
}

.noticia-img-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.noticia-img-zoom-hint svg {
  fill: #fff;
}

.noticia-hero-img-wrap:hover .noticia-img-zoom-hint {
  opacity: 1;
}

.noticia-hero-placeholder {
  width: 100%;
  height: 200px;
  background: var(--green-pale);
  border-radius: 14px;
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-light);
}

.noticia-hero-placeholder svg {
  fill: var(--green-light);
}

.noticia-meta {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.noticia-meta svg {
  fill: var(--text-light);
}

.noticia-titulo {
  font-family: "Merriweather", serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text);
}

.noticia-resumo {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-mid);
  font-style: italic;
}

.noticia-corpo {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--text-mid);
}
.noticia-corpo p {
  margin-bottom: 1rem;
}

/* ─── Lightbox da notícia ─── */

.noticia-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.noticia-lightbox.aberto {
  display: flex;
  animation: noticiaLbFadeIn 0.2s ease both;
}

@keyframes noticiaLbFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.noticia-lb-content {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(1000px, 92vw);
  animation: noticiaLbZoom 0.25s ease both;
}

@keyframes noticiaLbZoom {
  from {
    transform: scale(0.94);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.noticia-lb-content img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 16px 56px rgba(0, 0, 0, 0.7);
  display: block;
  user-select: none;
}

.noticia-lb-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    border-color 0.2s;
  z-index: 10;
}

.noticia-lb-close:hover {
  background: var(--green);
  border-color: var(--green);
}

.noticia-lb-close svg {
  fill: #fff;
}

/* ─── Footer ─── */

footer {
  background: #f5faf8;
  border-top: 1px solid var(--gray-mid);
}

.ft {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.ft-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ft-brand img {
  height: 56px;
  opacity: 0.7;
}
.ft-brand .tag {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.45rem;
  font-style: italic;
}

.ft-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.ft-links,
.ft-telefones {
  font-size: 0.72rem;
  color: var(--text-light);
}

.ft-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ft-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ft-links a:hover {
  color: var(--green);
}

.ft-links span {
  color: var(--text-light);
}
.ft-telefones span {
  margin: 0 0.25rem;
}

.ft-right p {
  font-size: 0.72rem;
  color: var(--text-light);
  margin: 0;
}

/* ─── WhatsApp flutuante ─── */

.wa-float {
  position: fixed;
  bottom: 1.4rem;
  right: 1.4rem;
  z-index: 999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s;
}

.wa-float:hover {
  transform: scale(1.08);
}
.wa-float svg {
  fill: #fff;
}

/* ─── Menu hamburger ─── */

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 3px;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--text-mid);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 99;
  overflow-y: auto;
  flex-direction: column;
  display: flex;
  transition: opacity 0.3s ease;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mob-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 5vw;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-mid);
  transition:
    background 0.15s,
    color 0.15s;
}

.mob-item:hover {
  background: var(--green-pale);
  color: var(--green);
}
.mob-item svg {
  fill: var(--text-mid);
}
.mob-item:hover svg {
  fill: var(--green);
}

.mob-group-title {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light);
  padding: 0.9rem 5vw 0.4rem;
  background: var(--gray-light);
}

.mob-sub {
  padding-left: calc(5vw + 1.8rem);
  background: var(--green-ultra-light);
}

a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}

@keyframes noticiaLbFadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

@keyframes noticiaLbZoomOut {
  from { transform: scale(1);    opacity: 1; }
  to   { transform: scale(0.94); opacity: 0; }
}

.noticia-lightbox.fechando {
  animation: noticiaLbFadeOut 0.2s ease forwards;
}

.noticia-lightbox.fechando .noticia-lb-content {
  animation: noticiaLbZoomOut 0.25s ease forwards;
}

/* ════════════════════════════════════════════════
   RESPONSIVO
   ════════════════════════════════════════════════ */

/* ─── Tablet (≤ 1100px) ─── */

@media (max-width: 1100px) {
  .slider-container {
    height: 420px;
  }
  .nav-menu {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .hero-text {
    max-width: 90%;
  }
  .hero-text-btns {
    margin-bottom: 1.5rem;
  }

  .quick {
    grid-template-columns: repeat(2, 1fr);
  }
  .qi {
    border-right: 1px solid var(--gray-mid);
    border-bottom: 1px solid var(--gray-mid);
  }
  .qi:nth-child(2n) {
    border-right: none;
  }
  .qi:nth-last-child(-n + 2) {
    border-bottom: none;
  }

  .about-strip .section-inner {
    grid-template-columns: 1fr;
  }
  .contact-strip .section-inner {
    grid-template-columns: 1fr;
  }

  .c-rows {
  flex: none;
  justify-content: flex-start;
  gap: 0.9rem;
}

  .ft {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .ft-brand {
    align-items: center;
  }
  .ft-right {
    align-items: center;
    text-align: center;
  }
  .ft-links {
    justify-content: center;
  }
  .ft-telefones {
    text-align: center;
  }
  .ft-right p {
    text-align: center;
  }

  .estrutura-prev {
    left: 5px;
  }
  .estrutura-next {
    right: 5px;
  }

  /* Convênios: 3 colunas */
  .conv-grid-full {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .conv-b {
    height: 140px;
    padding: 1rem;
  }
  .conv-b img {
    width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
  }

  /* Layout principal: coluna única */
  .main-wrap {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 24px 20px 40px;
  }

  /* Notícias: altura automática, lista simples */
  .news-col-wrap {
    height: auto;
    overflow: visible;
  }

  .news-grid-container {
    height: auto;
    overflow: hidden;
    max-height: 520px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    height: auto;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 4px;
    /* grid-auto-rows NÃO definido — altura natural por conteúdo */
  }

  .news-item {
    grid-template-columns: 100px 1fr;
    gap: 0.75rem;
    padding: 30px 0.4rem;
    min-height: 0;
    align-items: flex-start;
  }

  .n-thumb {
    width: 100px;
    height: 68px;
  }

  /* Sidebar: fluxo normal sem scroll interno */
  .sidebar {
    overflow-y: visible;
    padding-right: 0;
    height: auto;
  }

  .sidebar .s-card:last-child {
    flex: none;
  }
}

/* ─── Mobile médio (≤ 768px) ─── */

@media (max-width: 768px) {
  :root {
    --section-pad: 20px;
  }

  .conv-grid-full {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .conv-b {
    height: auto;
    min-height: 110px;
    padding: 1rem;
  }
  .conv-b img {
    width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
  }

  .main-wrap {
    padding: 20px 16px 40px;
  }

  .news-grid-container {
    max-height: 480px;
  }
  .news-grid {
    max-height: 480px;
  }

  .news-item {
    grid-template-columns: 90px 1fr;
    gap: 0.65rem;
    padding: 30px 0.3rem;
  }

  .n-thumb {
    width: 90px;
    height: 60px;
  }

  .news-t {
    font-size: 0.83rem;
  }

  .noticia-hero-img {
    height: 240px;
  }
}

/* ─── Mobile pequeno (≤ 560px) ─── */

@media (max-width: 560px) {
  .conv-grid-full {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
  .conv-b {
    min-height: 100px;
    padding: 0.8rem;
  }
  .conv-b img {
    max-height: 70px;
  }

  .main-wrap {
    padding: 16px 14px 36px;
  }

  .news-grid-container {
    max-height: 440px;
  }
  .news-grid {
    max-height: 440px;
  }

  .news-item {
    grid-template-columns: 80px 1fr;
    gap: 0.6rem;
    padding: 30px 0.25rem;
  }

  .n-thumb {
    width: 80px;
    height: 54px;
  }

  .news-t {
    font-size: 0.81rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .noticia-hero-img {
    height: 200px;
  }
  .noticia-img-zoom-hint {
    opacity: 1;
  }
}

/* ─── Mobile muito pequeno (≤ 480px) ─── */

@media (max-width: 480px) {
  .conv-grid-full {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
  .conv-b {
    min-height: 90px;
    padding: 0.7rem;
  }
  .conv-b img {
    max-height: 60px;
  }

  .main-wrap {
    padding: 14px 20px 32px;
  }

  .news-grid-container {
    max-height: 400px;
  }
  .news-grid {
    max-height: 400px;
  }

  .news-item {
    grid-template-columns: 72px 1fr;
    gap: 0.55rem;
    padding: 30px 0.2rem;
  }

  .n-thumb {
    width: 72px;
    height: 48px;
  }

  .news-pagination {
    padding: 0.6rem 0 0;
  }
  .news-page-btn {
    width: 28px;
    height: 28px;
  }
  .news-page-info {
    font-size: 0.68rem;
  }
}

/* ─── Telas muito estreitas (≤ 400px) ─── */

@media (max-width: 400px) {
  .conv-grid-full {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .conv-b {
    min-height: 120px;
    padding: 1rem;
  }
  .conv-b img {
    width: auto;
    max-width: 70%;
    max-height: 90px;
  }

  .news-item {
    grid-template-columns: 64px 1fr;
    gap: 0.5rem;
    padding: 25px 0.2rem;
  }

  .n-thumb {
    width: 64px;
    height: 44px;
    border-radius: 6px;
  }

  .n-date {
    font-size: 0.65rem;
  }
  .news-t {
    font-size: 0.8rem;
  }
  .news-arrow {
    font-size: 0.7rem;
  }
}


@media (prefers-color-scheme: dark) {
  :root {
    --green: #2d8c6e;
    --green-dark: #1a5c4a;
    --green-light: #3eb489;
    --green-pale: #eaf5f0;
    --green-ultra-light: #f5faf8;
    --gray-light: #f8faf9;
    --gray-mid: #e8eeec;
    --text: #1e2e28;
    --text-mid: #4a6358;
    --text-light: #7a9e92;
    --white: #fff;
  }

  html, body {
    background-color: #fff !important;
    color: #1e2e28 !important;
  }
}