/* ===== RESET E FONTES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  line-height: 1.5;
  scroll-behavior: smooth;
  background: linear-gradient(135deg, #a8d4ff 0%, #ebf5ff 20%, #ffffff 50%, #ebf5ff 80%, #a8d4ff 100%);
  background-attachment: fixed;
  position: relative;
}

/* ===== Respingo de pontos ===== */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.2) 1%, transparent 1%);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -1;
  animation: splashMove 60s linear infinite;
}

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

  100% {
    background-position: 1000px 1000px;
  }
}

/* ===== NAVBAR ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #131d67;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 20px;
  z-index: 1000;
}

header .logo {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.logo {
  display: flex;
  align-items: center;
}

.texto-logo {
  font-size: 24px;
  font-weight: 700;
}

.mobile-break {
  display: inline;
}

@media (max-width: 600px) {
  .logo {
    flex-direction: column;
    text-align: center;
  }

  .mobile-break {
    display: block;
  }
}

.nav-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 1.1rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 5px 10px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #00e1ff;
}

#menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  margin-bottom: 10px;
}

@media (max-width: 820px) {
  #menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    width: 90%;
    margin-top: 10px;
    background: #131d67;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .nav-links.active {
    display: grid;
  }

  .nav-links a {
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-weight: 500;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
  }
}

/* ===== HERO ===== */
section {
  scroll-margin-top: 120px;
}

.hero {
  background: url('img/borboleta01.jpg') no-repeat center/cover;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.hero-text {
  max-width: 90%;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #292929;
}

.hero-text span,
.destaque {
  color: #033363;
  font-weight: bold;
}

p {
  font-size: 1.2rem;
}

/* ===== SEÇÕES DIVIDIDAS ===== */
.split-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  gap: 40px;
  text-align: center;
}

.split-section.reverse {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  .split-section {
    flex-direction: column-reverse; /* sempre texto acima da imagem */
  }
}

.split-section .text,
.split-section .image {
  flex: 1 1 300px;
  max-width: 500px;
}

.split-section img {
  width: 100%;
  border-radius: 10px;
}

/* ===== PROJETOS DO MÊS ===== */
.projetos-mes {
  background: url('img/projetos-mes-bg.jpg') center/cover no-repeat;
  min-height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  margin-top: 240px;
  border-radius: 12px;
}

.projetos-overlay {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 15px;
}

.projetos-overlay h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 5px;
  color: rgb(3, 51, 99);
  text-shadow: 1px 1px 5px rgba(138, 138, 138, 0.2);
}

.projetos-imagens {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.projetos-imagens img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.projetos-imagens img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

/* ===== CARROSSEL EVENTOS ===== */
#eventos {
  padding: 80px 20px;
  text-align: center;
}

.carousel {
  overflow: hidden;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
}

.carousel-track img {
  flex-shrink: 0;
  width: 200px;
  height: 150px;
  object-fit: cover;
  margin-right: 15px;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.carousel-track img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* ===== DEPOIMENTOS / HISTÓRICO ===== */
#depoimentos,
#historico {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}

#depoimentos h2,
#historico h2 {
  margin-bottom: 30px;
}

#historico p,
#depoimentos .video-container {
  max-width: 700px;
}

/* ===== VÍDEO ===== */
.video-container {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.video-container video {
  width: 100%;
  max-width: 700px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}

.btn-som {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  padding: 15px 20px;
  cursor: pointer;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: .8;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: .8;
  }
}

/* ===== DOAR / MODAL ===== */
.btn-doar {
  background: #1e90ff;
  color: white;
  border: none;
  padding: 15px 30px;
  margin-top: 20px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-doar:hover {
  background: #131d67;
}

#contato-doacoes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
}

#contato-doacoes.show {
  opacity: 1;
  pointer-events: all;
}

#contato-doacoes .modal-content {
  background: #131d67;
  color: white;
  padding: 25px 35px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  position: relative;
  transform: translateY(-50px);
  transition: transform 0.3s ease;
}

#contato-doacoes.show .modal-content {
  transform: translateY(0);
}

#contato-doacoes .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

#contato-doacoes a {
  color: rgb(87, 227, 255);
  font-weight: bold;
  text-decoration: none;
}

#contato-doacoes a:hover {
  color: rgb(3, 105, 206);
}

/* ===== MAPA ===== */
.mapa {
  max-width: 800px;
  margin: 40px auto;
  text-align: center;
  padding: 10px;
}

.mapa h2 {
  font-size: 26px;
  margin-bottom: 8px;
  color: #2c3e50;
}

.mapa p {
  font-size: 16px;
  margin-bottom: 15px;
  color: #555;
}

.mapa iframe {
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
  .mapa h2 {
    font-size: 22px;
  }

  .mapa p {
    font-size: 14px;
  }

  .mapa iframe {
    height: 250px;
  }
}

/* ===== RODAPÉ ===== */
footer {
  background: #131d67;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}


.lgpd a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s;
}

.lgpd a:hover {
  color: #00e1ff;
}


/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .split-section {
    flex-direction: column;
  }

  .projetos-overlay h2 {
    font-size: 2rem;
  }

  .projetos-imagens img {
    width: 120px;
    height: 100px;
  }

  .carousel-track img {
    width: 150px;
    height: 120px;
    margin-right: 10px;
  }
}




/* ===== cookie ===== */
/* Estilos do Banner de Cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f8f9fa; /* Cor de fundo clara */
    color: #495057; /* Cor de texto escura */
    padding: 20px 30px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10000; /* Garante que fique acima de outros elementos */
    font-family: 'Montserrat', sans-serif; /* Usa a fonte do seu site */
    font-size: 14px;
    text-align: center;
    display: none; /* Começa escondido */
    box-sizing: border-box; /* Inclui padding e border na largura/altura */
}

.cookie-banner.show {
    display: block; /* Mostra quando a classe 'show' é adicionada */
}

.cookie-banner-content {
    max-width: 1200px; /* Limita a largura do conteúdo */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* Permite quebrar linha em telas menores */
}

.cookie-banner-content p {
    margin: 0;
    flex-grow: 1; /* Permite que o parágrafo ocupe o espaço disponível */
    margin-right: 20px; /* Espaço entre o texto e os botões */
    text-align: left; /* Alinha o texto à esquerda */
    line-height: 1.6;
}

.cookie-banner-content p a {
    color: #007bff; /* Cor para links */
    text-decoration: underline;
    font-weight: 500;
}

.cookie-banner-content p a:hover {
    color: #0056b3;
}

.cookie-button {
    background-color: #28a745; /* Cor principal (verde para aceitar) */
    color: white;
    border: none;
    padding: 10px 20px;
    margin-left: 10px; /* Espaço entre os botões */
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    white-space: nowrap; /* Evita quebra de linha nos botões */
}

.cookie-button:hover {
    background-color: #218838;
}

.cookie-button-secondary {
    background-color: #6c757d; /* Cor secundária (cinza para recusar) */
}

.cookie-button-secondary:hover {
    background-color: #5a6268;
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column; /* Empilha os elementos verticalmente */
        align-items: center;
    }

    .cookie-banner-content p {
        margin-right: 0;
        margin-bottom: 15px; /* Espaço abaixo do texto */
        text-align: center; /* Centraliza o texto */
    }

    .cookie-button {
        margin-left: 0;
        margin-bottom: 10px; /* Espaço entre os botões */
        width: 100%; /* Botões ocupam toda a largura */
    }

    .cookie-button-secondary {
        margin-bottom: 0; /* Remove margem inferior do último botão */
    }
}