@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap");

@font-face {
  font-family: "Buckaroo";
  src: url("../fonts/Buckaroo.ttf") format("truetype");
}
:root {
  --primary-color: #44622c;
  --secondary-color: #d08a2a;
  --accent-color: #d08a2a;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --text-color: #333;
  --border-radius: 5px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --font-primary: "Buckaroo", sans-serif;
  --font-secondary: "Noto Sans", sans-serif;
}

* {
  font-family: var(--font-secondary);
}

body {
  font-family: var(--font-secondary);
  color: var(--text-color);
  line-height: 1.6;
  font-optical-sizing: auto;
  font-synthesis-weight: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--primary-color);
}

a:hover,
a:focus {
  color: #fff;
}

.section-header {
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 36px;
  margin-bottom: 15px;
  position: relative;
}

.divider {
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin: 20px auto;
  position: relative;
}

.divider span {
  position: absolute;
  width: 40px;
  height: 4px;
  background: var(--secondary-color);
  top: 0;
  left: 20px;
}

/* Intro alternativa (Na Garimpo) */
.section-header.alt h2 {
  color: #2a2a2a;
  font-weight: 800;
}

.section-header.alt .subtitle,
.section-header .subtitle {
  margin-top: 8px;
  font-size: 20px;
  color: #9aa0a6;
  font-weight: 400;
}

.carousel-control .icon-prev::before,
.carousel-control .icon-next::before {
  content: "";
}

.carousel-control.right,
.carousel-control.left {
  background-image: none;
}
/* Hero Banner */
.hero-banner {
  position: relative;
  overflow: hidden;
}

.hero-banner .carousel-inner img {
  width: 100%;
  /* height: 650px; */
  object-fit: cover;
  /* filter: brightness(0.5); */
}

.hero-banner .carousel-caption {
  bottom: 30%;
  text-align: center;
  max-width: 80%;
  margin: 0 auto;
}

.hero-banner .carousel-caption h2 {
  font-size: 48px;
  font-weight: 700;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
  color: #fff;
}

.hero-banner .carousel-caption p {
  font-size: 24px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  margin-bottom: 30px;
}

.hero-banner .carousel-control {
  width: 5%;
  opacity: 0.8;
}

.hero-banner .carousel-indicators {
  bottom: 40px;
}

.hero-banner .carousel-indicators li {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
  border: 2px solid #fff;
  background-color: transparent;
}

.hero-banner .carousel-indicators .active {
  background-color: #fff;
}

/* Header / Menu */
.main-header {
  position: relative;
  z-index: 100;
  /* padding-top: 16px; */
}

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

.main-header .main-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.main-header #main-menu {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 9999px;
  box-shadow: 2px 3px 4px rgba(90, 255, 162, 0.24);
  padding: 10px 22px;
  max-width: 100%;
  position: absolute;
  margin-top: 16px;
}

.main-header .nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 48px;
  margin: 0;
  padding: 0;
}

.main-header .nav-menu a {
  color: #2b5f73;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 6px;
  border-radius: 9999px;
  transition: var(--transition);
}

.main-header .nav-menu a:hover,
.main-header .nav-menu a:focus {
  color: #214c5b;
  background: #eaf3f6;
}

.mobile-menu-toggle {
  background: #ffffff;
  border: 0;
  border-radius: 9999px;
  padding: 10px 12px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  display: none;
}

.mobile-menu-toggle .hamburger {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-toggle .line {
  width: 20px;
  height: 2px;
  background: #2b5f73;
  display: block;
}

@media (max-width: 991px) {
  .main-header .header-content {
    position: relative;
  }
  .main-header #main-menu {
    position: fixed;
    top: 64px; /* below floating button */
    right: 14px; /* anchor to top-right */
    left: auto;
    background: #ffffff;
    width: auto;
    max-width: 320px;
    min-width: 240px;
    width: 86vw; /* responsive width */
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    display: none !important; /* hidden by default */
    margin-top: 0;
    max-height: 70vh;
    overflow: auto;
    z-index: 120;
  }
  .main-header .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .main-header .nav-menu li a {
    padding: 12px 8px;
    border-radius: 8px;
    text-align: left;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 14px;
    top: 14px;
    z-index: 130; /* above dropdown */
  }
  /* When JS toggles .show on .main-nav, reveal the dropdown */
  .main-header .main-nav.show #main-menu {
    display: block !important;
  }
}

/* About / Quem somos */
.about-section {
  padding: 64px 0;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-title {
  font-family: var(--font-secondary);
  font-weight: 800;
  color: #1f2937;
  font-size: 40px;
  margin: 0 0 16px;
}

.about-subtitle {
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
}

.about-content p {
  color: #4b5563;
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 12px;
}

.about-media {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  position: relative;
  z-index: 1;
}

.about-media::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(8px, 8px);
  background: #44622c;
  border-radius: 24px;
  z-index: 0;
}

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: left;
  }
  .about-media {
    order: 2;
  }
  .about-content {
    order: 1;
  }
  .about-title {
    font-size: 32px;
  }
}

/* Frentes de trabalho */
.fronts-section {
  position: relative;
  padding: 56px 0;
  color: #ffffff;
  overflow: hidden;
}
.fronts-bg {
  position: absolute;
  inset: 0;
  background: url("../images/banner3.jpg") center/cover no-repeat;
  z-index: 0;
}
.fronts-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(32, 70, 1, 0.66);
}
.fronts-content {
  position: relative;
  z-index: 2;
}
.fronts-title {
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin: 0 0 28px;
  color: #fff;
  font-size: 24px;
}
.fronts-list {
  list-style: disc inside;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  font-size: 18px;
  line-height: 1.4;
}
.fronts-list li {
  font-size: 18px;
}
.fronts-list strong {
  color: #ffffff;
  font-weight: 560; /* smoother than 600 on variable fonts */
}

@media (max-width: 767px) {
  .fronts-section {
    padding: 44px 0;
  }
  .fronts-list {
    font-size: 16px;
    gap: 10px;
  }
}

/* Improve readability width for fronts-section */
.fronts-section .container {
  max-width: 980px;
}

/* Contato (card clean) */
.contact-section {
  background: #ffffff;
  padding: 36px 0 64px;
}
.contact-header {
  max-width: 1080px;
  margin: 0 auto 18px;
}
.contact-title {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 40px;
  color: #1f2937;
  margin: 0;
  text-align: left;
}
.contact-underline {
  width: 70px;
  height: 4px;
  background: var(--secondary-color);
  margin: 8px 0 18px;
  border-radius: 2px;
}
.contact-form-wrapper {
  display: flex;
  justify-content: center;
}
.contact-form-card {
  width: 100%;
  max-width: 920px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  padding: 18px 18px 22px;
}
.contact-form-card form {
  width: 100%;
}
.contact-form-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.contact-form-card .form-row .full {
  grid-column: 1 / -1;
}
.contact-form-card .form-group {
  display: flex;
  flex-direction: column;
}
.contact-form-card label {
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 6px;
}
.contact-form-card .form-control {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 12px;
}
.contact-form-card textarea.form-control {
  resize: vertical;
}
.btn-success {
  background: #16a34a;
  color: #fff;
  border-color: #128a3f;
}
.btn-success:hover {
  background: #15803d;
}
.btn-success:focus {
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.28);
}
.btn-block {
  display: block;
  width: 100%;
  height: 44px;
}
@media (max-width: 767px) {
  .contact-title {
    font-size: 32px;
  }
  .contact-form-card .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .footer-main {
    padding: 40px 0 20px;
  }

  .footer-widget h4 {
    font-size: 18px;
  }

  .footer-menu li {
    font-size: 14px;
  }
}

/* Seção principal do footer */
.footer-main {
  background: #33383d;
  padding: 20px 0 40px;
  color: #fff;
}

/* Redesigned Footer layout */
.footer-contacts {
  text-align: center;
  align-items: center;
}
.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 8px;
}
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  color: #fff; /* fallback */
  background: rgba(255, 255, 255, 0.06);
  width: 64px;
  height: 64px;
  border-radius: 50%;
}
.contact-icon svg {
  width: 40px;
  height: 40px;
}
.contact-title {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}
.contact-value {
  font-weight: 700;
  font-size: 18px;
  color: #ffffff;
  text-decoration: none;
}
.contact-value:hover {
  opacity: 0.9;
}
/* Accent colors */
.accent-phone {
  color: #ff8169;
}
.accent-mail {
  color: #f7c64a;
}
.accent-location {
  color: #31d7a8;
}

/* Divider and shortcuts */
.footer-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.18) 20%,
    rgba(255, 255, 255, 0.18) 80%,
    rgba(255, 255, 255, 0) 100%
  );
  margin: 10px 0 18px;
}
.footer-shortcuts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
}
.footer-shortcuts a {
  display: inline-block;
  color: #e8edf1;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
  font-size: 14px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    transform 0.2s ease;
}
.footer-shortcuts a:hover,
.footer-shortcuts a:focus {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  .contact-item {
    padding: 18px 8px;
  }
  .contact-value {
    font-size: 17px;
  }
}
@media (max-width: 767px) {
  .footer-shortcuts a {
    font-size: 13px;
    padding: 8px 12px;
  }
}

.footer-widget {
  margin-bottom: 30px;
}

.footer-widget h4 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 25px;
  font-weight: 600;
  position: relative;
  padding-bottom: 15px;
}

.footer-widget h4:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
}

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

.footer-menu li {
  margin-bottom: 12px;
  font-size: 15px;
  transition: transform 0.3s ease;
}

.footer-menu li:hover {
  transform: translateX(5px);
}

.footer-menu li i {
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.7);
  width: 16px;
  text-align: center;
}

.footer-menu li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-menu li a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.social-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 15px;
}

/* Link com ícone + texto para redes sociais no footer */
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
}

.social-link .social-text {
  color: #fff;
  font-weight: 600;
}

.social-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgb(59, 89, 152);
  border-radius: 50%;
  margin-bottom: 10px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.social-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  color: #fff;
}

.social-button.facebook:hover {
  background: rgb(59, 89, 152);
  opacity: 0.9;
}

.social-button i {
  font-size: 20px;
  margin-right: 0;
}

/* Seção de copyright */
.footer-copyright {
  background: #1f1f23;
  padding: 16px 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-copyright p {
  margin: 0;
}

.footer-copyright a {
  color: #fff;
  text-decoration: none;
}

.text-right {
  text-align: right;
}

@media (max-width: 767px) {
  .contact-card {
    margin-bottom: 20px;
  }

  .footer-widget {
    margin-bottom: 30px;
  }

  .text-right {
    text-align: center !important;
    margin-top: 15px;
  }

  /* Footer centralizado no mobile */
  .footer-main .row {
    text-align: center !important;
    justify-content: center !important;
  }
  .footer-main img {
    margin: 0 auto !important;
  }
  .social-buttons {
    align-items: center !important;
  }
  .footer-copyright p {
    text-align: center !important;
  }

  .footer-widget h4 {
    text-align: center; /* centraliza o texto (opcional, mas combina com a linha) */
  }
  .footer-widget h4:after {
    left: 50%;
    transform: translateX(-50%); /* centraliza a pseudo-linha */
  }
}
@media (max-width: 991px) {
  .contact-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hours-row {
    flex-direction: column;
    align-items: center;
  }

  .hours-day {
    margin-bottom: 5px;
  }
}

@media (max-width: 480px) {
  .footer-main {
    padding: 40px 0 20px;
  }

  .footer-widget h4 {
    font-size: 18px;
  }

  .footer-menu li {
    font-size: 14px;
  }
}

/* Projetos */
.projects-section {
  padding: 48px 0 56px;
  background: #fff;
}

.projects-title {
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin: 0 0 20px;
  color: #1f2937;
  font-size: 24px;
}

/* Filtros de projetos */
.projects-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
}

.projects-filters .filter-btn {
  appearance: none;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #1f2937;
  padding: 8px 12px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}

.projects-filters .filter-btn:hover,
.projects-filters .filter-btn:focus {
  background: #eaf3f6;
}

.projects-filters .filter-btn.active {
  background: #2b5f73;
  color: #ffffff;
  border-color: #2b5f73;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  display: block;
}

.project-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(64, 142, 0, 0.65); /* same vibe as .fronts-overlay */
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay,
.project-card:focus .project-overlay {
  opacity: 1;
}

.project-overlay-content {
  text-align: center;
}

.project-plus {
  width: 44px;
  height: 44px;
  border: 2px solid #fff;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 10px;
}

.project-cta {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

@media (max-width: 1199px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Refreshed Projects card caption styles */
.project-card .project-caption {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 10px 10px 12px;
  height: 100%;
}

.project-card {
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.project-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  transform: translateY(-2px);
}

.project-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
  color: #1f2937;
  font-family: "Noto Sans", sans-serif;
}

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

.project-title a:hover {
  text-decoration: underline;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 12px;
  margin-bottom: 6px;
}

.project-meta .sep {
  opacity: 0.6;
}

.project-desc {
  color: #4b5563;
  font-size: 13px;
  margin: 0;
}

.project-chip {
  display: inline-block;
  background: #eaf3f6;
  color: #214c5b;
  border: 1px solid #d3e6ee;
  font-weight: 700;
  font-size: 11px;
  border-radius: 9999px;
  padding: 4px 8px;
  margin-bottom: 6px;
}

/* Projects page — light theme */
.projects-page.projects-section {
  background: #ffffff;
  color: inherit;
  /* reduced top spacing now that we have a page hero above */
  padding-top: 28px;
}
.projects-page .section-header.alt h2 {
  color: #1f2937;
}
.projects-page .section-header .subtitle {
  color: #6b7280;
}
.projects-page .divider {
  background: var(--primary-color);
}
.projects-page .divider span {
  background: var(--secondary-color);
}

/* Projects filters (if used later) on light */
.projects-page .projects-filters .filter-btn {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #1f2937;
  font-weight: 700;
}
.projects-page .projects-filters .filter-btn:hover,
.projects-page .projects-filters .filter-btn:focus {
  background: #eaf3f6;
}
.projects-page .projects-filters .filter-btn.active {
  background: #2b5f73;
  border-color: #2b5f73;
  color: #fff;
}

/* Card redesign for light background */
.project-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.project-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.project-media {
  position: relative;
}
.project-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.project-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(43, 95, 115, 0.92);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 9999px;
}
.project-card .project-caption {
  background: #ffffff;
  border-color: #e5e7eb;
  padding: 12px 12px 14px;
}
.project-content {
  padding: 12px 14px 14px;
}
.projects-page .project-title {
  color: #1f2937;
}
.projects-page .project-meta {
  color: #6b7280;
}
.projects-page .project-desc {
  color: #4b5563;
}
.project-title {
  margin: 0 0 6px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-align: center;
}
.project-excerpt {
  margin: 0 0 10px;
  font-size: 14px;
  color: #4b5563;
}
.project-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 12px;
  flex-direction: column;
  width: 100%;
}
.project-footer .spacer {
  margin-left: auto;
}
.project-cta-inline {
  color: #2b5f73;
  font-weight: 800;
}
.project-cta-inline:hover {
  text-decoration: underline;
}

/* shadcn-like button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 8px;
  height: 40px;
  padding: 0 16px;
  line-height: 1;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
  background: #2b5f73;
  color: #ffffff;
  border-color: #245060;
}
.btn-primary:hover {
  background: #254e60;
}
.btn-primary:active {
  background: #204552;
}
.btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(43, 95, 115, 0.3);
}
.btn-block {
  display: block;
  width: 100%;
}

/* More generous spacing between cards on the projects page */
.projects-page .projects-grid {
  gap: 16px;
}

/* Softer image overlay for hover on light theme */
.project-overlay {
  background: rgba(0, 0, 0, 0.35);
}

/* projects page tweaks */
.projects-page .project-title {
  font-size: 18px;
}
.projects-page .project-desc {
  font-size: 14px;
}

/* Notícias */
.news-section {
  padding: 48px 0 64px;
  background: #0f3a0f; /* verde escuro de fundo como referência visual */
  color: #e8f5e9;
}

.news-section .container {
  max-width: 980px;
}

.news-title {
  text-align: center;
  color: #e8f5e9;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin: 0 0 8px;
  font-size: 24px;
}

.news-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 20px;
  max-width: 720px;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}

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

/* News full page (list style, light theme) */
.news-page.news-section {
  background: #ffffff;
  color: inherit;
  padding: 36px 0 56px;
}
.news-page .news-grid {
  grid-template-columns: 1fr;
  gap: 16px;
}
.news-page .news-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
}
.news-page .news-item-title {
  color: #1f2937;
}
.news-page .news-excerpt {
  color: #4b5563;
}
.news-page .news-cta {
  background: #2b5f73;
}

.news-card {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.25s ease;
}

.news-link {
  color: inherit;
  text-decoration: none;
  display: grid;
  grid-template-columns: 40% 1fr;
  height: 100%;
}

@media (max-width: 767px) {
  .news-link {
    grid-template-columns: 1fr;
  }
}

.news-media {
  position: relative;
}

.news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-content {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
}

.news-item-title {
  color: #e8f5e9;
  font-size: 19px;
  line-height: 1.25;
  margin: 0 0 6px;
  font-weight: 800;
}

.news-excerpt {
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 10px;
}

/* List enhancements */
.news-page .news-card {
  border-radius: 10px;
  overflow: hidden;
  border-color: #e5e7eb;
}
.news-page .news-card:hover {
  transform: translateY(-2px);
  border-color: #d1d5db;
}
.news-media {
  min-height: 180px;
}
.news-meta-row {
  display: flex;
  align-items: end;
  gap: 8px;
  color: #6b7280;
  font-size: 12px;
  flex: 1;
}
.news-meta-row .spacer {
  margin-left: auto;
}
.news-page .news-item-title {
  color: #111827;
}
.news-page .news-excerpt {
  color: #4b5563;
}
.news-page .news-date-text {
  color: #6b7280;
}

/* Sobre - Page Hero */
.page-hero {
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: relative;
  width: 100%;
  height: 480px;
  background-position: bottom center;
  background-size: cover;
  filter: brightness(0.9);
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.25) 45%,
    rgba(0, 0, 0, 0.35) 100%
  );
}
.page-hero-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: #ffffff;
}
.page-hero-title {
  font-family: var(--font-primary);
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
  font-size: 44px;
  margin: 0 0 8px;
}
.page-hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin: 0;
}
@media (max-width: 767px) {
  .page-hero-bg {
    height: 320px;
  }
  .page-hero-title {
    font-size: 34px;
  }
  .page-hero-subtitle {
    font-size: 16px;
  }
}

/* Sobre - page body */
.page-body {
  background: #ffffff;
  padding: 28px 0 44px;
}
.page-body p {
  font-size: 18px;
  color: #4b5563;
  line-height: 1.7;
  text-align: center;
  margin: 0 0 18px;
}

/* Transparência */
.transp-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 14px 14px 18px;
  margin: 24px auto;
  position: relative;
  z-index: 2;
}
.transp-filters label {
  font-weight: 700;
  color: #1f2937;
}
.transp-filters .form-control {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}
.transp-table {
  margin-top: 8px;
}
.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 6px 10px;
}
.dataTables_wrapper .dataTables_info {
  color: #6b7280;
}
table.dataTable thead th {
  background: #f8fafc;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
}
table.dataTable tbody tr:hover {
  background-color: #f9fafb;
}
td.dt-control {
  position: relative;
  cursor: pointer;
}
td.dt-control::before {
  content: "\2795";
  color: #2b5f73;
  font-weight: 700;
}
tr.shown td.dt-control::before {
  content: "\2796";
}
.transp-child {
  background: #f9fafb;
  border-left: 3px solid #2b5f73;
  padding: 12px 8px;
}
.transp-detail .info-list li {
  margin-bottom: 6px;
}
.transp-detail .panel-heading {
  border-radius: 6px 6px 0 0;
}

/* Transparência - anexos minimalistas */
.attachments-section {
  margin-top: 12px;
}
.attachments-title {
  font-family: var(--font-primary);
  font-weight: 800;
  color: #2b5f73; /* subtle purple accent for section title */
  font-size: 20px;
  margin: 4px 0 8px;
}
.attachments-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.attachments-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #e5e7eb;
}
.attachments-item:last-child {
  border-bottom: 0;
}
.att-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.att-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eaf3f6;
  color: #214c5b;
  font-size: 14px;
}
.att-name {
  font-weight: 700;
  color: #1f2937;
  text-transform: uppercase;
  font-size: 13px;
}
.att-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.att-download {
  color: #2b5f73; /* purple link to echo example */
  font-weight: 700;
  text-decoration: none;
}
.att-download:hover {
  text-decoration: underline;
  color: #265567;
}
.attachments-empty {
  color: #6b7280;
  margin: 8px 2px 0;
}

/* Sobre - Galeria com duas imagens verticais */
.about-gallery {
  background: #ffffff;
  padding: 8px 0 36px;
}
.about-gallery .container {
  max-width: 1080px;
}
.about-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.about-photo {
  margin: 0;
}
.about-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4; /* 960x1280 */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  display: block;
}
@media (min-width: 768px) {
  .about-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* Sobre - Missão | Visão | Valores panel */
.mv-panel {
  position: relative;
  overflow: hidden;
}
.mv-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  background-position: center;
  background-size: cover;
  filter: brightness(0.9);
}
.mv-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0.55) 100%
  );
}
.mv-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 48px 0;
}
.mv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px 24px;
  width: 100%;
  max-width: 1560px;
}
.mv-item {
  padding: 0 8px;
}
.mv-title {
  color: #fff;
  font-weight: 800;
  margin: 0 0 8px;
  font-size: 22px;
}
.mv-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 18px;
  line-height: 1.5;
  max-width: 920px;
  margin: 0 0 16px;
}
@media (max-width: 991px) {
  .mv-text {
    font-size: 17px;
  }
}
@media (max-width: 767px) {
  .mv-title {
    font-size: 20px;
  }
  .mv-text {
    font-size: 16px;
  }
}
@media (min-width: 992px) {
  .mv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mv-item:nth-child(1) {
    grid-column: 1 / 2;
  }
  .mv-item:nth-child(2) {
    grid-column: 2 / 3;
  }
  .mv-item:nth-child(3) {
    grid-column: 1 / -1;
  }
  .mv-item:nth-child(3) {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 24px;
    -moz-column-gap: 24px;
    column-gap: 24px;
  }
  .mv-item:nth-child(3) .mv-title {
    -webkit-column-span: all;
    column-span: all;
    display: block;
  }
  .mv-item:nth-child(3) .mv-text {
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
  }
}
