/* ==========================================
 * PACs de Juiz de Fora - Stylesheet
 * VersÃ£o: 2.10 (Sobre Atualizado + Stats Removido)
 * ========================================== */

/* ==================== RESET E FONTES ==================== */
@import url("https://fonts.googleapis.com/css2?family=Anton&family=Roboto:wght@400;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Paleta principal */
  --bg: #fafafa;
  --white: #ffffff;
  --black: #000000;
  --text: #2a2d34;
  --muted: #5a5d64;
  --muted-2: #4a4a4a;
  --surface-border: #e0e0e0;
  --surface-border-2: #e9e9ea;
  --loading-bg: #1c1c1c;

  /* Branding / Vermelho */
  --brand-1: #ff0000;
  /* Vermelho principal */
  --brand-2: #ff0000;
  /* Vermelho mais claro */
  --brand-3: #ff0000;
  /* Vermelho escuro */
  --accent: var(--brand-1);
  --accent-light: #f05454;
  /* Vermelho bem claro para destaques */

  /* Gradientes */
  --brand-grad-vertical: linear-gradient(180deg,
      var(--brand-1) 0%,
      var(--brand-2) 50%,
      var(--brand-3) 100%);
  --brand-grad-horizontal-shimmer: linear-gradient(90deg,
      var(--brand-1),
      var(--accent-light),
      var(--brand-1));

  /* RGB */
  --brand-rgb: 215, 38, 56;
  /* RGB para o vermelho principal (--brand-1) */

  /* Header */
  --site-header-height: 80px;

  /* Largura do Card PAC (para cÃ¡lculo do padding do snap) */
  --pac-card-width: 300px;
}

/* ==================== ESTILOS GERAIS DE COMPONENTES ==================== */
.btn-brand {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-3) 100%);
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(var(--brand-rgb), 0.3);
}

.btn-brand:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(var(--brand-rgb), 0.5);
  background: linear-gradient(135deg, var(--brand-2) 0%, #cc4b00 100%);
}

@keyframes gradientFlowY {
  0% {
    background-position: 0% 0%;
  }

  50% {
    background-position: 0% 100%;
  }

  100% {
    background-position: 0% 0%;
  }
}

body {
  font-family: "Roboto", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  position: fixed;
}

body.map-active .bottom-nav {
  opacity: 0;
  pointer-events: none;
}

/* ==================== HEADER FIXO ==================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg);
  z-index: 500;
  padding: 0 4%;
  border-bottom: 1px solid var(--surface-border);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-container {
  padding: 10px 15px;
  display: flex;
  /* Alinha as logos lado a lado */
  align-items: center;
  /* Centraliza verticalmente */
  gap: 50px;
  /* EspaÃ§amento entre as logos */
}

.header-logo {
  height: 25px;
  width: auto;
}

.header-logo-pac {
  height: 45px;
  /* Altura ajustada para a proporÃ§Ã£o da logo PAC */
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-family: "Anton", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--accent);
}

.sobre-cards { /*layout*/
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.cards-sobre {
  width: 30%;
  border-radius: 10px;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  box-sizing: border-box;
	
text-align: left;
  padding: 20px;
	border-left:  5px solid red;


}
.titulo-cards-sobre {
	color: red ;
	font-weight: bolder;
}
@media (max-width: 768px) {
  .sobre-cards { /*layout*/
    width: 90%;
    flex-direction: column;
  }
  .cards-sobre {
    width: 100%;
    text-align: left;
  }
}

/* ==================== LOADING SCREEN ==================== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--loading-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.6s ease;
}

.logo-animation {
  max-width: 200px;
  opacity: 0;
  transform: translateY(50px);
  animation: logo-animation 2s ease forwards;
}

@keyframes logo-animation {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }

  50% {
    opacity: 1;
    transform: translateY(-10px);
  }

  70% {
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-50px);
  }
}

/* ==================== ESTRUTURA PRINCIPAL ==================== */
.horizontal-container {
  display: flex;
  width: 700vw;
  /* Reduzido de 800vw pois removemos uma seÃ§Ã£o */
  height: 100vh;
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

.section {
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
}

/* ==================== SEÃÃO 1: BANNER ==================== */
.banner-section {
  padding: 0 5%;
}

.banner-content {
  text-align: left;
  max-width: 1200px;
  width: 100%;
}

.banner-title-group {
  margin-bottom: 20px;
}

.banner-title-text {
  font-family: "Anton", sans-serif;
  font-size: 6rem;
  letter-spacing: 4px;
  color: var(--text);
  line-height: 1;
  margin: 0;
}

.banner-title-logo {
  width: 100%;
  max-width: 500px;
  height: auto;
  margin-top: 10px;
}

.banner-content p {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 500px;
}

/* Indicador de Scroll Horizontal */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 1;
  transition: opacity 0.5s ease;
  z-index: 10;
}

.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}

.indicator-desktop,
.indicator-mobile {
  display: none;
  align-items: center;
  gap: 12px;
  color: var(--text);
  background-color: rgba(255, 255, 255, 0.7);
  padding: 8px 16px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.indicator-text {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Estilos Mouse (Desktop) */
.mouse-icon {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text);
  border-radius: 12px;
  position: relative;
  animation: bounce-horizontal 2s ease-in-out infinite;
}

.mouse-wheel {
  width: 4px;
  height: 8px;
  background: var(--text);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-down 1.5s ease-in-out infinite;
}

@keyframes scroll-down {
  0% {
    opacity: 1;
    top: 8px;
  }

  50%,
  100% {
    opacity: 0;
    top: 18px;
  }
}

@keyframes bounce-horizontal {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-10px);
  }

  75% {
    transform: translateX(10px);
  }
}

/* Estilos Swipe (Mobile) */
.swipe-icon {
  width: 40px;
  height: 40px;
  position: relative;
  animation: swipe-horizontal 2s ease-in-out infinite;
}

.swipe-icon svg {
  width: 100%;
  height: 100%;
  color: var(--text);
}

@keyframes swipe-horizontal {

  0%,
  100% {
    transform: translateX(0);
    opacity: 1;
  }

  40% {
    transform: translateX(-20px);
    opacity: 0.8;
  }

  50% {
    transform: translateX(-20px);
    opacity: 0;
  }

  60% {
    transform: translateX(20px);
    opacity: 0;
  }

  90% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ==================== SEÃÃO 2: SOBRE (Atualizado) ==================== */
.about-section {
  padding: calc(var(--site-header-height) + 24px) 60px 20px;
  /* Reduzi padding bottom */
  background-color: #fdfdfd;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}

.about-container {
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  /* Reduzi gap geral para caber melhor */
  height: 100%;
  justify-content: space-between;
  /* Distribui conteÃºdo verticalmente */
}

/* Header e Logo */
.about-header {
  width: 100%;
  text-align: center;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-logo-highlight {
  max-width: 365px;
  height: auto;
  margin-bottom: 15px;
  margin-bottom: -100px;
  margin-top: -70px;
}

.about-header h2 {
  font-family: "Anton", sans-serif;
  font-size: 4rem;
  /* Levemente menor para dar espaÃ§o */
  line-height: 1;
  color: var(--text);
  margin: 0;
  text-transform: uppercase;
}

.about-header h2 span {
  color: var(--accent);
  display: block;
}

/* ConteÃºdo */
.about-content {
  width: 100%;
  text-align: center;
  z-index: 10;
  flex-grow: 1;
  /* Ocupa espaÃ§o disponÃ­vel */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-intro {
  font-size: 1.4rem;
  /* Levemente menor */
  font-weight: 700;
  color: var(--text);
  margin: 0 auto 15px auto;
  line-height: 1.4;
  max-width: 820px;
  position: relative;
  padding-bottom: 12px;
}

.about-intro::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--brand-3) 100%);
  border-radius: 3px;
}

.about-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted-2);
  margin: 0 auto 25px auto;
  max-width: 820px;
  text-align: left;
}

.about-text p {
  margin-bottom: 10px;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  width: 100%;
}

.about-card {
  background: var(--white);
  border: 1px solid var(--surface-border-2);
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(var(--brand-rgb), 0.12);
}

.about-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 10px 0 0 10px;
  background: var(--brand-grad-vertical);
  background-size: 100% 300%;
  background-position: 0% 0%;
  animation: gradientFlowY 8s ease-in-out infinite;
  opacity: 0.9;
}

.about-card h3 {
  font-family: "Anton", sans-serif;
  font-size: 1.6rem;
  color: var(--brand-3);
  margin-bottom: 6px;
}

.about-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

/* Novo Footer de Contato */
.about-contact-footer {
  width: 100%;
  margin-top: auto;
  padding-top: 20px;
  padding-bottom: 10px;
  border-top: 1px solid var(--surface-border-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.contact-title {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  justify-content: center;
  margin-bottom: 5px;
}

.contact-title h3 {
  font-family: "Anton", sans-serif;
  font-size: 1.2rem;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-line {
  height: 2px;
  background-color: var(--surface-border-2);
  flex-grow: 0;
  width: 50px;
}

.contact-items {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 10px 20px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(215, 38, 56, 0.1);
  /* Brand color with opacity */
  border-radius: 50%;
  display: flex;

  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 700;
}

.contact-value {
  font-size: 1rem;
  color: var(--text);
  font-weight: 600;
}

/* ==================== SEÃÃO 3: PACs (MACRODRENAGENS) ==================== */
.pacs-section {
  padding: 0 4%;
  overflow: hidden;
  padding-left: 2%;
  /* align-items: center; (Removido para usar o padding do container) */
}

/* REVERTIDO PARA O ORIGINAL */
.vertical-marquee {
  position: absolute;
  left: 4%;
  top: 5%;
  height: 100%;
  width: 50px;
  background-color: var(--text);
  border: 1px solid var(--text);
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.marquee-content {
  animation: scroll-vertical 10s linear infinite;
}

.marquee-content span {
  display: block;
  font-family: "Anton", sans-serif;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--white);
  padding: 10px 0;
}

@keyframes scroll-vertical {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

/* REVERTIDO PARA O ORIGINAL (POSICIONAMENTO) */
.pacs-container {
  display: flex;
  flex-direction: row;
  /* Layout horizontal: Header | Wrapper */
  width: 100%;
  height: 100vh;
  /* Original */
  align-items: center;
  justify-content: flex-start;
  gap: 4%;
  padding: 80px 0;
  /* Original */
  margin-left: 60px;
  /* Original */
}

.pacs-header {
  width: 35%;
  /* Largura para o texto */
  flex-shrink: 0;
  padding-right: 20px;
}

.pacs-header h2 {
  font-family: "Anton", sans-serif;
  font-size: 4.5rem;
  line-height: 1;
  margin-bottom: 15px;
  color: var(--accent);
  /* "DRENAGENS" em vermelho */
  text-transform: uppercase;
  letter-spacing: 2px;
}

.pacs-header h2 span {
  color: var(--text);
  /* "MACRO" em preto */
  display: block;
}

.pacs-header p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 450px;
  margin-bottom: 20px;
}

.pacs-investment {
  font-family: "Anton", sans-serif;
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
}

.pacs-investment span {
  font-family: "Roboto", sans-serif;
  font-size: 0.9rem;
  color: var(--muted-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 8px;
}

.pacs-columns-wrapper {
  display: flex;
  flex-direction: column;
  /* Vertical: Carrossel | Info */
  width: 61%;
  height: auto;
  /* Altura automÃ¡tica */
  flex-grow: 1;
  justify-content: center;
  gap: 20px;
  max-height: 100%;
  /* Limita Ã  altura do container pai */
}

/* NOVO: Wrapper do Carrossel */
.carousel-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

/* NOVO: Estilo para o tÃ­tulo do carrossel */
.pacs-carousel-header {
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
  /* EspaÃ§o antes do carrossel */
}

.pacs-carousel-header h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--muted-2);

  letter-spacing: 1px;
}

.pacs-cards {
  width: 100%;
  height: auto;
  flex-shrink: 0;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;

  /* ConfiguraÃ§Ã£o do Snap */
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;

  /* Padding para centralizar o primeiro e Ãºltimo card */
  padding: 20px calc(50% - (var(--pac-card-width) / 2));

  /* Esconde a barra de scroll */
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.pacs-cards::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

.card {
  width: var(--pac-card-width);
  /* 300px */
  flex-shrink: 0;
  margin-bottom: 0;
  border-radius: 10px;
  border: 1px solid var(--surface-border);
  background-color: var(--white);
  overflow: hidden;
  cursor: grab;

  /* Efeito de "apagado" */
  opacity: 0.4;
  transform: scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease;

  /* Alinhamento do Snap */
  scroll-snap-align: center;
}

.card:grabbing {
  cursor: grabbing;
}

/* Card Ativo (controlado por JS) */
.card.is-active {
  opacity: 1;
  transform: scale(1.05);
  /* Destaque */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  pointer-events: none;
}

.card.is-active .card-link {
  pointer-events: all;
}

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

.card h3 {
  background-color: var(--accent);
  padding: 15px;
  font-family: "Anton", sans-serif;
  font-size: 1.4rem;
  text-align: center;
  color: var(--white);
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pac-info {
  width: 100%;
  height: auto;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-align: center;
}

.info-content-wrapper {
  position: relative;
  background-color: transparent;
  padding: 0 10px;
  width: 100%;
}

.info-content {
  display: none;
}

.info-content.active {
  display: block;
  animation: fadeInUp 0.5s ease-out forwards;
}

.info-content h2 {
  font-family: "Anton", sans-serif;
  font-size: 2.2rem;
  color: var(--text);
}

.info-content .description {
  text-align: center;
  margin-top: 10px;
  color: var(--muted-2);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  font-size: 0.95rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Setas de NavegaÃ§Ã£o (Posicionadas no .carousel-container) */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--surface-border);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  font-weight: bold;
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.carousel-arrow:hover {
  background-color: var(--white);
  color: var(--accent);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.carousel-arrow.prev {
  left: -22px;
  /* Metade para fora */
}

.carousel-arrow.next {
  right: -22px;
  /* Metade para fora */
}

/* === FIM DAS ALTERAÃÃES === */

/* ==================== SEÃÃO 4: MAPA DE PROJETOS (Desktop) ==================== */
.map-section {
  padding: calc(var(--site-header-height) + 30px) 2% 30px;
  flex-direction: column;
  justify-content: flex-start;
  gap: 30px;
  background-color: #f8f9fa;
  height: 100vh;
}

.map-header-overlay {
  text-align: center;
  width: 100%;
  flex-shrink: 0;
}

.map-header-overlay h2 {
  font-family: "Anton", sans-serif;
  font-size: 4rem;
  color: var(--text);
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

.map-header-overlay h2 span {
  color: var(--accent);
}

.map-header-overlay p {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 5px 0 0 0;
}

.map-container-flex {
  display: flex;
  flex-direction: row;
  /* Layout horizontal para desktop */
  width: 100%;
  height: 100%;
  gap: 30px;
  overflow: hidden;
  position: static;
  /* Reset para desktop */
}

#leaflet-map {
  flex: 1;
  min-width: 0;
  min-height: 400px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 1;
  transition: flex 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  position: static;
  /* Reset para desktop */
  height: 100%;
  /* Reset para desktop */
}

#project-info-panel {
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 0;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  position: static;
  /* Reset para desktop */
  transform: none;
  /* Reset para desktop */
  max-height: none;
  /* Reset para desktop */
  width: auto;
  /* Reset para desktop */
}

#project-info-panel.panel-visible {
  flex-basis: 400px;
  padding: 30px;
  opacity: 1;
  overflow-y: auto;
}

.hidden {
  display: none !important;
}

#panel-default-state {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: var(--muted);
}

#panel-default-state svg {
  width: 60px;
  height: 60px;
  color: var(--surface-border);
  margin-bottom: 20px;
}

#panel-default-state h3 {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 10px;
}

#project-title {
  font-family: "Anton", sans-serif;
  font-size: 2.2rem;
  color: var(--brand-3);
  line-height: 1.2;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--accent);
}

.project-details-content {
  padding-bottom: 30vh;
  /* EspaÃ§o extra no final para rolar */
}

.project-details-content .project-detail-item {
  margin-bottom: 20px;
}

.project-details-content .project-detail-item h4 {
  font-family: "Anton", sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--brand-1);
  margin-bottom: 8px;
}

.project-details-content .project-detail-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted-2);
  margin: 0;
}

.project-details-content .project-detail-item ul {
  list-style-type: none;
  padding: 0;
}

.project-details-content .project-detail-item li {
  font-size: 0.95rem;
  color: var(--muted-2);
  margin-bottom: 5px;
  padding-left: 20px;
  position: relative;
}

.project-details-content .project-detail-item li::before {
  content: "\203A";  /* › seta simples, código unicode seguro */
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
}

.project-details-content .project-detail-item.investment p {
  font-weight: bold;
  color: var(--accent);
  font-size: 1.4rem;
}

/* ==================== FIM DA SEÃÃO DO MAPA ==================== */

/* ==================== SEÃÃO 5: GRÃFICOS ==================== */
.chart-section {
  padding: calc(var(--site-header-height) + 40px) 5%;
  background-color: #fdfdfd;
}

.chart-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35%;
  max-width: 1600px;
  width: 100%;
  height: 100%;
}

.chart-content {
  flex-basis: 40%;
  max-width: 850px;
  padding-right: 5%;
}

.chart-content h2 {
  font-family: "Anton", sans-serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--text);
  text-transform: uppercase;
  margin-bottom: 15px;
}

.chart-content h2 span {
  color: var(--accent);
  display: block;
}

.chart-description span {
  color: var(--accent);
  display: block;
}

.chart-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 20px;
}

.chart-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-2);
}

.chart-image {
  flex-basis: 60%;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chart-image img {
  max-height: 100%;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* ==================== SEÃÃO 6: NOTÃCIAS (antes era 7) ==================== */
.news-feed-section {
  align-items: flex-start;
  padding: 80px 0 0 0;
}

.news-feed-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.news-feed-title {
  position: sticky;
  top: 80px;
  left: 0;
  padding: 20px 5%;
  z-index: 10;
  background-color: var(--bg);
}

.news-feed-title h2 {
  font-family: "Anton", sans-serif;
  font-size: 8rem;
  color: var(--text);
  line-height: 1;
}

.news-feed-title h2 span {
  color: var(--accent);
}

.news-scroll-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
}

.news-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.news-scroll-wrapper {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.news-scroll-container {
  display: flex;
  flex-wrap: nowrap;
  padding: 20px 5%;
  gap: 40px;
  width: fit-content;
}

.news-card {
  flex-shrink: 0;
  width: 450px;
  height: 400px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-10px);
}

.news-card a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  position: relative;
}

.news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover img {
  transform: scale(1.05);
}

.news-card a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.news-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  pointer-events: none;
  z-index: 2;
}

.overlay-content {
  padding: 30px;
  color: var(--white);
  width: 100%;
}

.news-summary {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: 10px;
  opacity: 0.9;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.news-date {
  font-size: 0.9rem;
  margin-bottom: 5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.news-title {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.2;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

/* ==================== BARRA DE NAVEGAÃÃO INFERIOR ==================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: none;
  flex-direction: column;
  align-items: center;
}

.bottom-nav.visible {
  transform: translateY(0);
}

.nav-drawer-handle {
  width: 60px;
  height: 30px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--surface-border-2);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
}

.nav-drawer-handle svg {
  width: 24px;
  height: 24px;
  color: var(--muted);
  transition: transform 0.3s ease;
}

.bottom-nav.visible .nav-drawer-handle svg {
  transform: rotate(180deg);
}

.nav-dots {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 10px 16px;
  border-radius: 50px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(var(--brand-rgb), 0.08);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  margin-bottom: 15px;
}

.nav-dots::before {
  content: "";
  position: absolute;
  background: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-3) 100%);
  border-radius: 25px;
  left: var(--blob-left, 0);
  top: var(--blob-top, 0);
  width: var(--blob-width, 0);
  height: var(--blob-height, 0);
  z-index: 0;
  opacity: 0;
  transform: scale(0.9);
  box-shadow: 0 4px 15px rgba(var(--brand-rgb), 0.3);
  will-change: left, width, height, transform;
  transition: left 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    height 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    top 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease,
    box-shadow 0.3s ease;
}

.nav-dots.has-active::before {
  opacity: 1;
  transform: scale(1);
}

.nav-dots:hover::before {
  box-shadow: 0 6px 20px rgba(var(--brand-rgb), 0.4);
}

.nav-dots:hover {
  background: rgba(255, 255, 255, 0.95);
  padding: 12px 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(var(--brand-rgb), 0.15);
}

.nav-dot {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  z-index: 1;
}

.nav-dots:hover .nav-dot {
  padding: 8px 16px;
}

.nav-dot .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ccc;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.nav-dots:hover .nav-dot .dot {
  width: 8px;
  height: 8px;
}

.nav-dot .nav-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.nav-dot:hover {
  background: rgba(var(--brand-rgb), 0.05);
}

.nav-dots:hover .nav-dot:hover .dot {
  background: var(--accent);
  transform: scale(1.2);
}

.nav-dots:hover .nav-dot:hover .nav-label {
  opacity: 1;
  max-width: 100px;
}

.nav-dot.active {
  background: transparent;
}

.nav-dot.active .dot {
  background: var(--white);
  width: 8px;
  height: 8px;
}

.nav-dots:hover .nav-dot.active .dot {
  width: 10px;
  height: 10px;
}

.nav-dot.active .nav-label {
  opacity: 0;
  max-width: 0;
  color: var(--white);
}

.nav-dots:hover .nav-dot.active .nav-label {
  opacity: 1;
  max-width: 100px;
}

.nav-dot.active .dot::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0;
    transform: scale(1);
  }

  50% {
    opacity: 0.3;
    transform: scale(2);
  }
}

/* ==================== MENU HAMBÃRGUER (MOBILE) ==================== */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 600;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background: var(--text);
  border-radius: 10px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* ==================== RESPONSIVIDADE ==================== */

@media (min-width: 769px) {

  /* No desktop, o bottom-nav continua oculto */
  .bottom-nav {
    display: none !important;
  }

  .indicator-desktop {
    display: flex;
  }

  .indicator-mobile {
    display: none;
  }
}

@media (max-width: 1024px) {
  :root {
    --pac-card-width: 280px;
    /* Card menor em tablet */
  }

  .about-header h2 {
    font-size: 4rem;
  }

  .about-intro {
    font-size: 1.4rem;
  }

  .about-text {
    font-size: 1rem;
  }

  .about-cards {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
  }

  .about-card::before {
    width: 3px;
  }

  .banner-title-text {
    font-size: 5rem;
  }

  .banner-title-logo {
    max-width: 400px;
    margin-top: -15px;
  }

  .news-feed-title h2 {
    font-size: 6rem;
  }

  .map-section {
    padding: calc(var(--site-header-height) + 20px) 4% 20px;
    gap: 20px;
  }

  .map-header-overlay h2 {
    font-size: 3rem;
  }

  .map-container-flex {
    flex-direction: column;
  }

  #project-info-panel.panel-visible {
    flex-basis: 250px;
  }

  #leaflet-map {
    flex-grow: 1;
  }

  /* === ALTERAÃÃES PAINEL PACs (Tablet) === */
  .vertical-marquee {
    display: none;
  }

  /* Esconde marquee no tablet */

  .pacs-container {
    flex-direction: column;
    margin-left: 0;
    /* Remove margem */
    padding: 0 5%;
    max-height: none;
    height: 100vh;
    justify-content: center;
    /* Centraliza o bloco todo */
    gap: 20px;
  }

  .pacs-header {
    width: 100%;
    text-align: center;
    padding-right: 0;
  }

  .pacs-header h2 {
    font-size: 4rem;
  }

  .pacs-header p {
    font-size: 1rem;
    max-width: 100%;
  }

  .pacs-investment {
    font-size: 1.8rem;
  }

  .pac-investment span {
    font-size: 0.9rem;
  }

  .pacs-columns-wrapper {
    width: 100%;
    height: auto;
  }

  .pacs-carousel-header {
    margin-bottom: 5px;
  }

  .carousel-container {
    width: 100%;
  }

  .carousel-arrow {
    top: 50%;
    transform: translateY(-50%);
  }

  .carousel-arrow.prev {
    left: 10px;
  }

  .carousel-arrow.next {
    right: 10px;
  }

  /* === FIM ALTERAÃÃES === */

  /* === SeÃ§Ã£o GrÃ¡fico (Tablet) === */
  .chart-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .chart-content {
    max-width: 600px;
    padding-right: 0;
  }

  .chart-content h2 {
    font-size: 4rem;
  }

  .chart-image {
    max-width: 100%;
    height: auto;
    flex-basis: auto;
  }
}

@media (max-width: 768px) {
  :root {
    --site-header-height: 60px;
    --pac-card-width: 260px;
    /* Card menor em mobile */
  }

  .section {
    overflow-y: auto;
    display: block;
    padding-top: var(--site-header-height);
    padding-bottom: 80px;
  }

  .site-header {
    padding: 0 3%;
    height: 60px;
  }

  .header-container {
    height: 60px;
  }

  .logo-container {
    gap: 15px;
    padding: 8px 12px;
  }

  .header-logo {
    height: 20px;
  }

  .header-logo-pac {
    height: 45px;
  }

  .mobile-menu-toggle {
    display: flex !important;
    position: relative;
    z-index: 600;
  }

  .main-nav {
    display: none;
  }

  .main-nav.active {
    display: block;
    position: fixed;
    top: 60px;
    right: 0;
    width: 250px;
    height: calc(100vh - 60px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 500;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
  }

  .main-nav li {
    border-bottom: 1px solid var(--surface-border);
  }

  .main-nav a {
    display: block;
    padding: 18px 25px;
    font-size: 1rem;
  }

  .bottom-nav {
    display: flex !important;
  }

  .indicator-desktop {
    display: none;
  }

  .indicator-mobile {
    display: flex;
  }

  .banner-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
  }

  .banner-content {
    text-align: center;
  }

  .banner-title-text {
    font-size: 3.2rem;
  }

  .banner-title-logo {
    max-width: 320px;
    margin-top: -10px;
  }

  .banner-content p {
    font-size: 1rem;
    max-width: 100%;
  }

  /* --- SeÃ§Ã£o Sobre Mobile (ATUALIZADO) --- */
  .about-section {
    padding: 20px 0 40px;
    /* Aumentado padding bottom para o footer nÃ£o colar */
  }

  .about-container {
    gap: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Alterado para topo em mobile */
    height: auto;
    /* Altura automÃ¡tica em mobile */
  }

  .about-header {
    padding: 0 5%;
    margin-bottom: 20px;
  }

  .about-logo-highlight {
    max-width: 200px;
    margin-bottom: 10px;
    margin-top: auto;
  }

  /* Logo menor */

  .about-text {
    display: none;
  }

  .about-intro {
    display: none;
  }

  .about-cards {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: auto;
    padding: 0 5%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
  }

  .about-cards::-webkit-scrollbar {
    display: none;
  }

  .about-card {
    width: 80%;
    max-width: 280px;
    flex-shrink: 0;
    scroll-snap-align: center;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  /* Ajuste Footer Contato Mobile */
  .about-contact-footer {
    padding: 20px 5% 0;
    gap: 20px;
  }

  .contact-items {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .contact-item {
    width: 100%;
    justify-content: flex-start;
  }

  /* --- SeÃ§Ã£o PACs Mobile (ALTERAÃÃES) --- */
  .pacs-section {
    padding: 20px 0;
    height: auto;
  }

  .vertical-marquee {
    display: none;
  }

  .pacs-container {
    flex-direction: column;
    margin-left: 0;
    padding: 0;
    gap: 20px;
    width: 100%;
    height: 100%;
    max-height: none;
    justify-content: center;
  }

  .pacs-header {
    order: 1;
    text-align: center;
    padding: 0 5%;
    width: 100%;
  }

  .pacs-header h2 {
    font-size: 3rem;
    margin-bottom: 10px;
  }

  .pacs-header h2 span {
    display: inline;
    /* TÃ­tulo lado a lado no mobile */
    color: var(--text);
  }

  .pacs-header p {
    font-size: 1rem;
    margin-bottom: 20px;
    max-width: 100%;
  }

  .pacs-investment {
    font-size: 1.8rem;
  }

  .pacs-investment span {
    font-size: 0.9rem;
    display: block;
    margin-left: 0;
  }

  .pacs-columns-wrapper {
    display: contents;
    /* "Dissolve" o wrapper no mobile */
  }

  .pacs-carousel-header {
    order: 2;
  }

  .carousel-container {
    order: 3;
    width: 100%;
  }

  .pacs-cards {
    width: 100%;
    height: auto;
    flex-shrink: 0;
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 20px calc(50% - (var(--pac-card-width) / 2));
    /* Padding Snap */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .card {
    width: var(--pac-card-width);
    /* Usa a variÃ¡vel */
    flex-shrink: 0;
    margin-bottom: 0;
    scroll-snap-align: center;
    opacity: 0.4;
    transform: scale(0.95);
    display: flex;
    flex-direction: column;
  }

  .card.is-active {
    opacity: 1;
    transform: scale(1);
    /* Escala normal no mobile */
  }

  .card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    pointer-events: all;
    /* Links sempre ativos no mobile */
  }

  .card img {
    height: 130px;
  }

  .card h3 {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    font-size: 1.2rem;
    padding: 10px;
  }

  .pac-info {
    order: 4;
    width: 100%;
    padding: 0 5%;
    text-align: center;
    min-height: 150px;
  }

  .info-content h2 {
    font-size: 1.8rem;
  }

  .info-content .description {
    font-size: 0.9rem;
    text-align: center;
  }

  .carousel-arrow {
    display: none;
  }

  /* Esconde setas no mobile */
  /* --- FIM DAS ALTERAÃÃES PACs --- */

  /* --- SeÃ§Ã£o Mapa Mobile (ALTERAÃÃES) --- */
  .map-section {
    display: flex;
    flex-direction: column;

    justify-content: flex-start;
    /* Alinha no topo */
    padding: 20px 0 0 0;
    /* Remove padding lateral */
    height: 100%;
    overflow: hidden;
    /* Evita scroll da seÃ§Ã£o */
  }

  .map-header-overlay {
    padding: 0 20px 20px 20px;
    /* Adiciona padding para o header */
    flex-shrink: 0;
    position: static;
  }

  .map-header-overlay h2 {
    font-size: 2.2rem;
  }

  .map-header-overlay p {
    font-size: 1rem;
  }

  .map-container-flex {
    flex-direction: column;
    height: 100%;
    /* Ocupa o resto do espaÃ§o */
    width: 100%;
    position: relative;
    /* Chave para o painel absoluto */
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    /* Permite o painel sair dos limites */
    gap: 0;
    flex-grow: 1;
  }

  #leaflet-map {
    position: absolute;
    top: 0;
    left: 40px;
    width: 80%;
    height: 100%;
    /* Ocupa todo o container */
    border-radius: 0;
    z-index: 1;
    transition: height 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  }

  #project-info-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    /* Altura desejada quando visÃ­vel */
    z-index: 5;
    background: white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    /* ComeÃ§a fora da tela */
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
    overflow-y: auto;
    padding: 25px;
    max-height: none;
    opacity: 1;
    /* Sempre opaco, controle Ã© feito com transform */
  }

  #project-info-panel.panel-visible {
    transform: translateY(0);
    /* Desliza para a posiÃ§Ã£o final */
  }

  /* Ajusta o mapa para nÃ£o ser totalmente coberto pelo painel */
  body.map-info-visible #leaflet-map {
    height: 40%;
    /* Reduz a altura do mapa quando o painel estÃ¡ visÃ­vel */
  }

  /* --- Fim das AlteraÃ§Ãµes do Mapa Mobile --- */

  /* === SeÃ§Ã£o GrÃ¡fico (Mobile) === */
  .chart-section {
    padding: 50px 1%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .chart-container {
    flex-direction: column;
    /* ConteÃºdo antes da imagem */
    text-align: center;
    height: auto;
    gap: 20px;
    /* Reduz o espaÃ§amento */
  }

  .chart-content {
    padding-right: 0;
    order: 1;
    /* ConteÃºdo vem primeiro */
  }

  .chart-content .chart-description {
    display: none;
    /* Esconde o texto descritivo */
  }

  .chart-content h2 {
    font-size: 3rem;
  }

  .chart-subtitle {
    font-size: 1.2rem;
    margin-bottom: 0;
    /* Remove margem inferior do subtÃ­tulo */
  }

  .chart-image {
    order: 2;
    /* Imagem vem depois */
    height: auto;
    width: 100%;
    max-width: 500px;
    /* Limita a largura mÃ¡xima do grÃ¡fico */
    margin: 0 auto;
    /* Centraliza a imagem */
  }

  .chart-image img {
    width: 100%;
    /* Faz a imagem ocupar o container */
    height: auto;
    /* MantÃ©m a proporÃ§Ã£o */
  }

  /* --- SeÃ§Ã£o NotÃ­cias Mobile --- */
  .news-feed-section {
    padding: 0;
  }

  .news-feed-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-top: var(--site-header-height);
  }

  .news-feed-title {
    position: static;
    padding: 20px 5%;
    text-align: center;
    /* Centraliza o tÃ­tulo */
  }

  .news-feed-title h2 {
    font-size: 4rem;
  }

  .news-scroll-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
  }

  .news-scroll-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 0 5%;
    width: auto;
  }

  .news-card {
    width: 80vw;
    max-width: 320px;
    height: 380px;
    flex-shrink: 0;
    margin: 0;
    scroll-snap-align: center;
  }

  .news-title {
    font-size: 1.5rem;
    /* Reduz a fonte do tÃ­tulo do card */
  }
}

@media (max-width: 480px) {
  :root {
    --site-header-height: 55px;
    --pac-card-width: 240px;
    /* Card ainda menor */
  }

  .section {
    padding-top: 70px;
  }

  .site-header {
    height: 55px;
  }

  .header-container {
    height: 55px;
  }

  .main-nav {
    top: 55px;
    height: calc(100vh - 55px);
  }

  .banner-section {
    padding: 0;
  }

  .banner-title-text {
    font-size: 2rem;
  }

  .banner-title-logo {
    max-width: 280px;
    margin-top: 15px;
  }

  .news-feed-title h2 {
    font-size: 3rem;
  }

  .news-card {
    height: 320px;
  }

  .news-title {
    font-size: 1.3rem;
    /* Reduz ainda mais a fonte para dispositivos menores */
  }

  .pacs-header h2 {
    font-size: 2.5rem;
  }

  /* Ajuste mobile menor */
  .card img {
    height: 120px;
  }

  .card h3 {
    font-size: 1.1rem;
    min-height: 60px;
  }

  .pac-info {
    min-height: 120px;
  }

  .pacs-carousel-header h4 {
    font-size: 0.9rem;
  }

  .chart-content h2 {
    font-size: 2.5rem;
  }

  .chart-subtitle {
    font-size: 1.1rem;
  }
}

/* ==================== ESTILOS DO MAPA LEAFLET ==================== */
.custom-pin .marker-pin {
  width: 32px;
  height: 32px;
  border-radius: 50% 50% 50% 0;
  background: var(--accent);
  position: absolute;
  transform: rotate(-45deg);
  left: 50%;
  top: 50%;
  margin: -16px 0 0 -16px;
  box-shadow: 0 6px 12px rgba(var(--brand-rgb), 0.4);
  border: 2px solid var(--white);
  transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out;
  cursor: pointer;
}

.custom-pin .marker-pin::after {
  content: "";
  width: 12px;
  height: 12px;
  margin: 8px 0 0 8px;
  background: var(--white);
  position: absolute;
  border-radius: 50%;
}

.leaflet-marker-pane .leaflet-marker-icon:hover .marker-pin,
.leaflet-marker-pane .leaflet-marker-icon.active .marker-pin {
  transform: rotate(-45deg) scale(1.2);
  background: var(--brand-3);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== NOVA SEÃÃO: INTERVENÃÃES ==================== */
/* ==================== NOVA SEÃÃO: INTERVENÃÃES (CORRIGIDO) ==================== */
.intervencoes-section {
  background-color: var(--white);
  /* Desktop: EspaÃ§amento padrÃ£o */
  padding: 100px 50px 50px 50px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  /* Garante que respeita a altura da tela */
  overflow: hidden;
  /* Impede que quebre o layout horizontal */
}

.intervencoes-container {
  width: 100%;
  max-width: 1200px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Adicione um limite de altura mÃ¡xima para garantir que cabe na tela */
  max-height: 100%;
}

.intervencoes-header {
  margin-bottom: 20px;
  text-align: center;
  flex-shrink: 0;
  /* Impede que o cabeÃ§alho seja esmagado */
}

.intervencoes-header h2 {
  font-family: "Anton", sans-serif;
  font-size: 3.5rem;
  color: var(--text);
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
}

.intervencoes-header h2 span {
  color: var(--accent);
}

/* Container da Lista com Scroll Personalizado */
.intervencoes-list-wrapper {
  flex-grow: 1;
  /* Ocupa todo o espaÃ§o disponÃ­vel no meio */
  overflow-y: auto;
  /* Habilita rolagem DENTRO da lista */
  background: #f8f9fa;
  border: 1px solid var(--surface-border-2);
  border-radius: 15px;
  padding: 15px;
  margin-bottom: 15px;

  /* Importante para o Firefox/Chrome mobile nÃ£o travarem o scroll */
  min-height: 0;
  -webkit-overflow-scrolling: touch;

  /* Scrollbar fina */
  scrollbar-width: thin;
  scrollbar-color: var(--accent) #e0e0e0;
}

.intervencoes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 30px;
}

.intervencao-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: var(--white);
  border-radius: 8px;
  border-left: 4px solid var(--muted);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.item-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted-2);
  padding-right: 10px;
}

.item-value {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

/* Totalizador */
.intervencoes-total {
  flex-shrink: 0;
  /* Impede que o total suma ou seja esmagado */
  background: var(--text);
  color: var(--white);
  padding: 15px 20px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.intervencoes-cta {
    text-align: center;
    margin-top: 24px;
}

.btn-status {
    display: inline-block;
    padding: 12px 24px;
    background-color:var(--text);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-status:hover {
    background-color: var(--text);
}

.total-label {
  font-family: "Anton", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.total-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

/* ==================== CORREÃÃO CRÃTICA MOBILE ==================== */
/* ==================== AJUSTE MOBILE CORRIGIDO ==================== */
@media (max-width: 768px) {
  .intervencoes-section {
    display: flex !important;
    flex-direction: column;
    /* Alinha tudo no TOPO, removendo o espaÃ§o vazio "padding fantasma" */
    justify-content: flex-start !important;

    /* Padding exato para passar do header fixo (60px) + um respiro pequeno */
    padding-top: calc(var(--site-header-height) + 15px) !important;
    padding-bottom: 10px !important;
    /* EspaÃ§o para as bolinhas do menu inferior */
    padding-left: 10px !important;
    padding-right: 10px !important;

    height: 90vh;
    overflow: hidden;
    /* Trava a rolagem da pÃ¡gina inteira */
  }

  .intervencoes-container {
    /* Remove qualquer centralizaÃ§Ã£o vertical interna */
    justify-content: flex-start;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .intervencoes-header {
    margin-bottom: 10px;
    /* Reduz espaÃ§o abaixo do tÃ­tulo */
    flex-shrink: 0;
  }

  .intervencoes-header h2 {
    font-size: 2rem;
    /* Fonte menor para economizar espaÃ§o */
    margin-top: 0;
  }

  .intervencoes-list-wrapper {
    flex-grow: 1;
    /* ForÃ§a a lista a ocupar TODO o espaÃ§o sobrando */
    overflow-y: auto;
    /* A rolagem acontece AQUI dentro */
    height: auto;

    /* Ajustes visuais */
    padding: 10px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border: 1px solid var(--surface-border-2);
    border-radius: 12px;
  }

  .intervencoes-total {
    flex-shrink: 0;
    padding: 12px;
    margin-top: 0;
    /* Garante que o total fique visÃ­vel no fundo da Ã¡rea Ãºtil */
  }
	

    .intervencoes-cta {
        margin-top: 20px;
        padding: 0 16px;
    }

    .btn-status {
        width: 100%;
        display: block;
        padding: 14px 16px;
        font-size: 14px;
        text-align: center;
        border-radius: 8px;
    }

    .intervencoes-total {
        text-align: center;
    }

    .total-label {
        display: block;
        font-size: 12px;
        margin-bottom: 4px;
    }

    .total-value {
        display: block;
        font-size: 18px;
        font-weight: bold;
    }
	
	.btn-status {
    font-size: 16px;
}

  .total-label {
    font-size: 1rem;
  }

  .total-value {
    font-size: 1.4rem;
  }
}

@media (max-width: 380px) {

  /* Ajuste para celulares muito pequenos (iPhone SE, etc) */
  .intervencoes-header h2 {
    font-size: 1.8rem;
  }

  .item-name {
    font-size: 0.8rem;
  }
}

/* Ajuste específico para Mobile (Celular) */
@media (max-width: 768px) {
  .about-header h2 {
    font-size: 2.5rem !important;
  }

  .about-intro {
    font-size: 1.2rem !important;
  }

  .about-cards {
    grid-template-columns: repeat(2,
        1fr) !important;
    /* Mantém 2 colunas para não esticar verticalmente */
  }

  .about-card p {
    display: none;
  }

  /* Esconde descrição nos cards apenas no celular para o rodapé subir */
}

/* AJUSTE FINAL PARA NOTEBOOK (Baseado no DevTools) */
@media screen and (min-width: 769px) and (max-width: 1440px) {

  /* 1. Removemos as margens negativas do header que escondem a logo */
  .about-header {
    margin-top: 100px !important;
    /* Cria espaço abaixo do menu do site */
    margin-bottom: 30px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  /* 2. Reset total na imagem para ela aparecer e descer */
  .about-logo-highlight {
    margin: 0 auto !important;
    /* Limpa os -70px e -100px antigos */
    position: static !important;
    /* Garante que não tenha bug de posição */
    display: block !important;
    max-width: 250px !important;
    /* Tamanho ajustado para notebook */
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* 3. Ajuste do texto "Investimento e Transformação" para não subir */
  .about-intro {
    margin-top: 20px !important;
  }
}

/* ==================== AJUSTE: FONTES MAIORES + ESPAÇO COMPACTO ==================== */

@media (max-height: 850px) or (max-width: 1024px) {

  /* 1. Redução drástica de paddings da seção */
  .about-section {
    padding-top: 60px !important;
    /* Cola o conteúdo mais no topo */
    padding-bottom: 5px !important;
  }

  /* 2. Logo compacta para não "empurrar" o texto para baixo */
  .about-logo-highlight {
    max-width: 350px;
    margin-bottom: -40px !important;
    margin-top: 40px !important;
  }

  /* 3. Aumento das fontes principais */
  .about-header h2 {
    font-size: 3.2rem !important;
    /* Fonte grande e imponente */
  }

  .about-container {
    gap: 0px !important;
    /* Remove espaços vazios entre blocos */
  }

  .about-intro {
    font-size: 1.4rem !important;
    /* Texto de destaque maior */
    margin-bottom: 5px !important;
    padding-bottom: 5px !important;
  }

  .about-text {
    font-size: 1.05rem !important;
    /* Texto de leitura confortável */
    margin-bottom: 10px !important;
    line-height: 1.4;
  }

  /* 4. Cards horizontais com fontes nítidas */
  .about-cards {
    gap: 8px !important;
  }

  .about-card {
    padding: 10px 12px !important;
  }

  .about-card h3 {
    font-size: 1.2rem !important;
    margin-bottom: 2px;
  }

  .about-card p {
    font-size: 0.9rem !important;
    line-height: 1.2;
  }

  /* 5. Fale Conosco: Texto grande, mas colado nos cards */
  .about-contact-footer {
    margin-top: 5px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }

  .contact-title h3 {
    font-size: 1.3rem !important;
  }

  .contact-item {
    padding: 6px 15px !important;
  }

  .contact-value {
    font-size: 1.1rem !important;
    /* Telefone e Email bem legíveis */
  }
}

@media (max-height: 850px) or (max-width: 1024px) {
  .about-logo-highlight {
    max-width: 400px !important;
    margin-bottom: -150px !important;
    margin-top: -50px !important;
  }
}

@media screen and (min-width: 769px) and (max-width: 1440px) {
  .about-header {
    margin-top: -60px !important;
    margin-bottom: -150px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
}

@media (max-width: 768px) {
  .about-container {
    gap: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto;
  }

  .about-header {
    width: 100%;
    text-align: center;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* AJUSTES ESPECÍFICOS PARA MOBILE (ATÉ 768px) */
@media screen and (max-width: 768px) {

  /* 1. Ajuste da Seção e Container */
  .about-section {
    padding-top: 80px !important;
    /* Espaço para o menu fixo */
    height: auto !important;
    /* Permite que a página cresça verticalmente */
    overflow-y: visible !important;
  }

  .about-container {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 15px !important;
    height: auto !important;
  }

  /* 2. Redimensionar a Logo para não cobrir tudo */


  .about-logo-highlight {
    max-width: 300px !important;
    margin-top: -95px !important;
    margin-bottom: -95px !important;
    position: static !important;
  }

  .about-header {
    margin-bottom: 5px !important;
    width: 100% !important;
	padding: 20px 20px 0 20px;
  }

  /* 3. Ajuste dos Cards (Lista Vertical ou Carrossel) */
  .about-cards {
    display: flex !important;
    flex-direction: column !important;
    /* Empilha os cards um sob o outro */
    width: 90% !important;
    gap: 15px !important;
    overflow-x: visible !important;
    /* Remove o corte lateral */
  }

  .about-card {
    width: 100% !important;
    /* Ocupa a largura total disponível */
    max-width: none !important;
    min-height: auto !important;
    padding: 15px !important;
  }

  .about-card p {
    display: block !important;
    /* Garante que o texto apareça */
    font-size: 0.9rem !important;
  }

  /* 4. Rodapé de Contato */
  .about-contact-footer {
    margin-top: 30px !important;
    padding-bottom: 40px !important;
    /* Espaço para não colar na borda de baixo */
    width: 90% !important;
  }

  .contact-items {
    flex-direction: column !important;
    gap: 10px !important;
  }
}

/* CORREÇÃO DEFINITIVA: SCROLL VERTICAL SEM BUGAR O INÍCIO DO SITE */
@media screen and (max-width: 768px) {

  /* 1. Garante que o container de slides mantenha a posição horizontal correta */
  .horizontal-container {
    display: flex !important;
    /* Mantém o alinhamento dos slides */
    height: 100vh !important;
    align-items: stretch !important;
    will-change: transform;
  }

  /* 2. Configuração da Seção Sobre para aceitar scroll sem quebrar o eixo X */
  .section.about-section {
    display: block !important;
    /* Permite empilhamento vertical interno */
    overflow-y: auto !important;
    /* Habilita scroll APENAS nesta seção */
    overflow-x: hidden !important;
    height: 100vh !important;
    -webkit-overflow-scrolling: touch;
    padding-top: 70px !important;
    position: relative;
  }

  /* 3. Ajuste do conteúdo interno para empilhar corretamente */
  .about-container {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    /* Deixa o conteúdo definir a altura */
    min-height: 100% !important;
    gap: 20px !important;
    padding-bottom: 150px !important;
    /* Espaço para as bolinhas do menu */
  }

  /* 4. Força os cards a ocuparem a largura da tela para não esticarem o X */
  .about-cards {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    flex-shrink: 0 !important;
  }

  .about-card {
    width: 100% !important;
    margin-bottom: 15px !important;
  }
}

@media (max-width: 768px) {
  .section.about-section {
    display: block !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: 100vh !important;
    -webkit-overflow-scrolling: touch;
    /* ADICIONE A LINHA ABAIXO */
    touch-action: pan-y;
    padding-top: 70px !important;
    position: relative;
  }

}

@media (max-width: 768px) {

  /* Força o navegador a ignorar tentativas de scroll horizontal nativo 
       e focar apenas no vertical, liberando o gesto X para o JS */
  .about-section,
  .about-container,
  .about-cards,
  .about-card {
    touch-action: pan-y !important;
    /* pan-y significa: "deixe o navegador cuidar do vertical, 
           mas não interfira no horizontal" */
  }

  /* Garante que nada escape para os lados e "prenda" o dedo */
  .about-cards {
    overflow-x: hidden !important;
    width: 100% !important;
    touch-action: pan-y !important;

    /* Garante que a div não tenha scroll horizontal próprio que possa bugar */
    overflow-x: hidden !important;

    /* Certifique-se de que não há pointer-events: none */
    pointer-events: auto !important;
  }

}

/* Estilização do balão de título */
.leaflet-tooltip.map-tooltip {
    background-color: #ff0000 !important; /* Vermelho */
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 20px !important;       /* Caixa maior */
    font-size: 16px !important;
    font-weight: bold !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
    white-space: nowrap;
    
    /* Remove qualquer borda ou sombra residual que pareça uma seta */
    outline: none !important;
}

/* REMOVE A SETINHA (O triângulo de baixo) */
.leaflet-tooltip.map-tooltip:before, 
.leaflet-tooltip.map-tooltip:after {
    display: none !important;
    border: none !important;
}

 /* Esconde o tooltip completamente em telas menores que 768px (Mobile) */
@media (max-width: 768px) {
    .map-tooltip, 
    .leaflet-tooltip {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

.sobre-cards { /*layout*/
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.cards-sobre {
  width: 30%;
  border-radius: 10px;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  box-sizing: border-box;
	
text-align: left;
	border-left:  5px solid red;
	padding: 15px;


}
.titulo-cards-sobre {
	font-family: 'Anton', sans-serif;
    font-size: 1.6rem;
    color: red;
    margin-bottom: 6px;
}
.cards-sobre p {
	font-size: 0.8rem;
    color: var(--muted);
}
.about-header img {
		width: 400px;
	}
.about-content {
		gap: 50px;
	}
@media (max-width: 768px) {
  .sobre-cards { /*layout*/
    width: 90%;
    flex-direction: column;
  }
  .cards-sobre {
    width: 100%;
    text-align: left;
  }
}
@media (max-width: 1700px) and (min-width: 1400px) {
	.titulo-cards-sobre {
	}
	.about-header {
		all: revert;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.about-header img {
		width: 300px;
	}
	.about-content {
		gap: 10px;
	}
}
@media (max-width: 768px) {
	.about-header img {
		width: 80%;
	}
}