html {
  scroll-behavior: smooth;
}

/* ======== BASE ======== */
body {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #16e65b;
  margin: 0;
  padding: 0;
}

/* ======== TÍTULOS ======== */
h1 {
  font-size: 5rem;
  font-weight: 550;
  margin-top: -20px;
  /* sobe 20px */
}

h2 {
  font-size: 2rem;
  color: #ffffff;
  /* preto */
  font-weight: 430;
  /* mais fino */
  line-height: 1.5;
  text-align: center;
}

h3 {
  font-size: 1.6rem;
}

/* ======== CABEÇALHO ======== */
.site-header {
  min-height: 10px;
  background-color: #000000;
  border-bottom: 1px solid #16e65b;
  padding: 3px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ======== CONTAINER FLEXÍVEL ======== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
}

/* ======== LOGO ======== */
.logo img {
  height: 110px;
  width: auto;
}

/* ======== MENU DE NAVEGAÇÃO DESKTOP ======== */
.navigation .nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: #fFF;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a.active,
.nav-links li a:hover {
  color: #16e65b;
  text-decoration: none;
  font-size: 1.4rem;
}

/* ======== SEÇÃO APRESENTAÇÃO ======== */
.apresentacao {
  padding: 80px 20px;
  background-color: #000000;
}

.texto-apresentacao {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.botao-apresentacao {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 20px;
  background-color: #16e65b;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
}

.botao-apresentacao:hover {
  background-color: #14c650;
}

/* ======== GALERIA - 2 CARDS POR LINHA ======== */
/* ======== SEÇÃO GALERIA ======== */
.gallery {
  background-color: #1b1b1b; /* Defina a cor de fundo preta */
  padding: 80px 20px; /* Adiciona um espaçamento para que o conteúdo não grude nas bordas */
}

.noticias-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 cards por linha */
  gap: 28px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.noticias-cards .card {
  background: #000000;
  border: 1px solid rgba(22, 230, 91, 0.25);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.noticias-cards .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 22px rgba(22, 230, 91, 0.15);
}

.noticias-cards .card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.noticias-cards .card-content {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.noticias-cards .card-content h3 {
  margin: 0 0 10px 0;
  font-size: 1.4rem;
  color: #16e65b;
}

.noticias-cards .card-content p {
  flex: 1;
  margin-bottom: 12px;
  color: #ffffff;
}

.noticias-cards .card-content a.btn {
  background: #16e65b;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.2s;
}

.noticias-cards .card-content a.btn:hover {
  background: #14c650;
}

/* ======== RESPONSIVIDADE ======== */
@media (max-width: 900px) {
  .noticias-cards {
    grid-template-columns: 1fr; /* 1 card por linha em tablets e mobile */
  }
}

/* ======== FOOTER/RODAPÉ ======== */
.site-footer {
  background: #000000;
  color: #b4b4b4;
  padding: 40px 20px 20px;
}

.footer-container {
  background-color: #000000;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  align-items: start;
}

.footer-logo img {
  max-width: 120px;
  margin-bottom: 10px;
}

.footer-logo p {
  margin-bottom: 10px;
  font-size: 1rem;
}

.social-icons a {
  font-size: 24px;
  margin-right: 12px;
  color: #b4b4b4;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #4d4d4d;
}

.footer-container h4 {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 1.2rem;
}

.footer-container p {
  color: white;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 6px 0;
}

.footer-links a {
  text-decoration: none;
  color: #b4b4b4;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #4d4d4d;
}

.footer-newsletter form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-newsletter input {
  flex: 1;
  padding: 8px;
  border: none;
  border-radius: 4px;
}

.footer-newsletter button {
  padding: 8px 16px;
  background: #16e65b;
  border: none;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
}

.footer-newsletter button:hover {
  background: #14c650;
}

.footer-bottom {
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid #333;
  font-size: 0.9rem;
  margin-top: 20px;
}

.email-link i {
  font-size: 28px; /* Ajuste o tamanho do ícone */
  color: #b4b4b4; /* A cor verde do seu site */
  transition: color 0.3s ease; /* Adiciona uma transição suave para o hover */
}

.email-link:hover i {
  color: #4d4d4d; /* Cor ao passar o mouse */
}


/* ======== RESPONSIVIDADE ======== */
@media (max-width: 768px) {
  .navigation .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 70%;
    background-color: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
  }

  .nav-links.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li a {
    color: #000;
    font-size: 1.6rem;
    padding: 15px 0;
    width: 100%;
    text-align: left;
  }

  /* ======== BOTÃO HAMBURGER ======== */
  /* Esconde o hamburguer no desktop */
  .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
  }

  .hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  /* Exibe o hambúrguer somente no mobile */
  .hamburger {
    display: flex;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    z-index: 1001;
    /* fica acima do menu */
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    /* unificado */
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* Animação para o X */
  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* Esconde o hambúrguer no desktop */
@media (min-width: 769px) {
  .hamburger {
    display: none;
  }
}

/* ======== HERO SOBRE ======== */
.hero-sobre {
  background-color: #16e65b;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.hero-sobre h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-sobre p {
  font-size: 1.4rem;
}

/* ======== SEÇÕES SOBRE ======== */
.sobre-quem-somos,
.sobre-projetos,
.sobre-premiacoes {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.sobre-quem-somos h2,
.sobre-projetos h2,
.sobre-premiacoes h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.2rem;
}

.sobre-quem-somos p,
.sobre-premiacoes p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  text-align: center;
}

.sobre-projetos .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.sobre-projetos .card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.sobre-projetos .card:hover {
  transform: translateY(-5px);
}

/* Quando o menu hambúrguer está aberto, fixa no topo direito */
.hamburger.open {
  position: fixed;
  top: 20px;
  /* distância do topo */
  right: 20px;
  /* distância da lateral */
  z-index: 2000;
  /* garante que fique acima do menu */
}

/* Quando virar X */
.hamburger.open span {
  background-color: #16e65b;
  /* verde */
}

/* ======== Animação girar em pé ======== */
@keyframes girarEmPe {
  from {
    transform: rotateY(0deg);
  }

  to {
    transform: rotateY(360deg);
  }
}

/* ======== Estilo logo carregando centralizada ======== */
#logo-carregando {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5000;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  width: 100vw;
  height: 100vh;
}

#logo-carregando img {
  width: 150px;
  animation: girarEmPe 1.5s linear infinite;
  transform-style: preserve-3d;
  backface-visibility: visible;
}

.social-icons a {
  font-size: 28px;
  margin-right: 12px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
}

