/* Reset e fonte base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background-color: #0f0f0f;
  color: #fff;
  overflow-x: hidden;
}

/* Navegação fixa */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  padding: 1rem;
  display: flex;
  justify-content: center;
  z-index: 1000;
}

nav a {
  color: #fff;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: 500;
}

/* Cabeçalho com vídeo de fundo */
header {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  background: transparent;
}

.header-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.5);
}

.header-content {
  z-index: 1;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.182);
  border-radius: 12px;
}

.header-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.header-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 0.5rem;
}

/* Seções */
section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #fff;
  display: inline-block;
  padding-bottom: 0.5rem;
}
.estatisticas-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
  text-align: center;
}

/* Cada bloco do contador */
.stat {
  background: #111;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  width: 200px;
  transition: transform 0.3s ease;
  flex: 0 0 auto;
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.counter {
  font-size: 2.5rem;
  color: #00ffcc;
  font-weight: bold;
}

.suffix {
  font-size: 1.2rem;
  color: #00ffcc;
  margin-left: 5px;
}

.stat p {
  font-size: 0.95rem;
  color: #ccc;
  margin-top: 0.5rem;
}


/* Galeria - 5x1 horizontal com rolagem */
.gallery {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 1rem;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
}

.gallery img {
  flex: 0 0 auto;
  width: 200px;
  height: auto;
  border-radius: 8px;
  scroll-snap-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

/* Efeitos ao passar o mouse */
.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Destaques - 5x1 horizontal com rolagem */
.destaques-container {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 1rem;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
}

.destaque-card {
  flex: 0 0 auto;
  width: 300px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  scroll-snap-align: start;
}

.destaque-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

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

.destaque-texto {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
}

.destaque-texto h3 {
  margin: 0;
  font-size: 1.2rem;
}

.destaque-texto p {
  font-size: 0.9rem;
  margin-top: 0.3rem;
}
/* Oculta a barra de rolagem visual sem impedir a rolagem funcional */
.gallery,
.destaques-container {
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* Internet Explorer 10+ */
}

.gallery::-webkit-scrollbar,
.destaques-container::-webkit-scrollbar {
  display: none;                /* Chrome, Safari, Edge */
}

/* Projetos - responsivo com grid e scroll no mobile */
.sponsors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem 0;
  max-width: 1100px;
  margin: 0 auto;
  overflow-x: hidden;
}

/* CONTAINER que rola no mobile */
.sponsors {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;              /* aqui é a chave */
  gap: 1rem;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;         /* Firefox */
}
.sponsors::-webkit-scrollbar {
  display: none;                 /* Chrome, Safari, Edge */
}

/* ITEM de projeto */
.project {
  flex: 0 0 auto;
  width: 120px;
  scroll-snap-align: start;
  text-align: center;
  color: #ffffff;
  text-decoration: none;
}

.project img {
  width: 100%;
  border-radius: 6px;
}


/* Esconder barra de rolagem visual */
.sponsors::-webkit-scrollbar {
  display: none;
}
.sponsors {
  -ms-overflow-style: none;  /* IE e Edge */
  scrollbar-width: none;     /* Firefox */
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px; /* espaço uniforme entre os ícones */
  margin-top: 20px;
}

.social-icons a {
  display: inline-block; /* necessário para aplicar transform corretamente */
  transition: transform 0.3s ease;
}

.social-icons img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.5);
}


/* Rodapé */
footer {
  background: #00000000;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
}
p a {
    font-size: 17px;
    color: #ff0000;
    text-decoration: none;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 75px;
  height: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  opacity: 1;
  transform: scale(1.5);
}


/* Layout base para manter o rodapé no final */
html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}
.projetos-carousel {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
}

.scroll-btn:hover {
  background: rgba(255,255,255,0.2);
}

.scroll-btn.left {
  left: 0;
}

.scroll-btn.right {
  right: 0;
}

/* Opcional: esconde as setas no mobile se quiser */
@media (max-width: 768px) {
  .scroll-btn {
    display: none;
  }
}
