/* Reset e fonte */
body {
    margin: 0;
    font-family: 'Rubik', sans-serif;
    background-color: #f5f5dc;
}

/* Cabeçalho */
#cabecalho {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    padding: 15px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: top 0.3s ease;
    z-index: 1000;
    border: none;
    outline: none;
    margin: 0;
    padding: 0;
}

.container-cabecalho {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #2e7d32;
    flex-wrap: wrap;
}

.logo_cabecalho,
.bandeira {
    height: 60px;
}

.container-lista {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.container-lista li a {
    text-decoration: none;
    color: #fdd835;
    font-weight: bold;
    transition: color 0.3s;
}

.container-lista li a:hover {
    color: #ffffff;
}

.menu-toggle {
    display: none;
    font-size: 30px;
    color: #fdd835;
    background: none;
    border: none;
    cursor: pointer;
}

/* Banner */
.banner {
    position: relative;
    width: 100%;
    height: 350px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.171), rgba(0, 0, 0, 0.267)), url('veropeso1.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 60px;
}

.banner-conteudo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
    z-index: 1;
}

.banner-conteudo img {
    width: 400px;
}

.banner-conteudo h2 {
    font-size: 24px;
    background-color: #2e7d32cc;
    display: inline-block;
    padding: 5px 25px;
    border-radius: 6px;
}

/* Títulos */
.titulo-principal {
    text-align: center;
    font-size: 2em;
    margin-top: 30px;
    color: #2e7d32;
}

/* Categorias */
.categorias {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 40px 0;
    padding: 0 20px;
}

.itens {
    text-decoration: none;
    background-color: #ffffff;
    border: 2px solid #5d4037;
    border-radius: 12px;
    padding: 20px;
    width: 200px;
    text-align: center;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.itens:hover {
    transform: scale(1.05);
    box-shadow: 3px 5px 15px rgba(0,0,0,0.2);
}

.itens img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.itens h3 {
    color: #5d4037;
}

/* Mapa */
.mapa {
    text-align: center;
    padding: 40px 20px;
}

.mapa iframe {
    width: 80%;
    max-width: 800px;
    border: 3px solid #0288d1;
    border-radius: 10px;
}

/* Vídeos */
.videoclipes {
    text-align: center;
    padding: 40px 20px;
}

.youtube {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.video {
    width: 100%;
    max-width: 350px;
    height: 200px;
    border-radius: 10px;
    border: 2px solid #2e7d32;
}

/* CONTATE-NOS */
.contato{
    text-align: center;
    padding: 90px 20px 30px;
}

.contato iframe {
    width: 80%;
    max-width: 680px;
    border: 3px solid #2e7d32;
    border-radius: 10px;
}

/* SOBRE */
.sobre-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 10px;
}  

.sobre {
    text-align: center;
    padding: 80px 20px 20px;
}

.desenvolvedores{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:40px;
    padding:20px;
}

.dev {
  text-align: center; /* centraliza o conteúdo dentro do bloco */
  margin-bottom: 30px;
}

.foto {
width: 150px;
height: auto;
border-radius:50%;
box-shadow:0 0 10px rgba(0,0,0,0.2);
display: block;
margin: 0 auto;
}

.botoes a.btn-rede-social {
  display: inline-flex;     /* faz o link se ajustar ao conteúdo */
  align-items: center;
  justify-content: center;
  width: 40px;              /* define o tamanho exato do botão */
  height: 40px;
  border-radius: 50%;       /* deixa circular */
  background-color: #2e7d32;
  overflow: hidden;         /* para cortar qualquer coisa fora do círculo */
  padding: 0;               /* remove padding extra */
  text-decoration: none;    /* tira sublinhado */
  cursor: pointer;
  transition: transform 0.2s ease; /* animação suave */
}

.botoes a.btn-rede-social:hover {
  transform: scale(1.1); /* aumenta 10% */
}

.botoes a.btn-rede-social img {
  width: 24px;              /* tamanho do ícone dentro do botão */
  height: 24px;
  display: block;
  margin: auto;
}

.icone-rede {
  width: 40px;
  height: 40px;
  background-color: #2e7d32;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  overflow: hidden; /* evita que a imagem "vaze" fora do círculo */
}

.icone-rede img {
  width: 24px;   /* menor que o círculo para não cortar */
  height: 24px;
}

.text-sobre {
    text-align: justify;
}

/* Rodapé */
footer {
    background-color: #2e7d32;
    color: #fdd835;
    text-align: center;
    padding: 20px 10px;
}

footer img {
    height: 40px;
}

.copyright {
    margin-top: 10px;
    font-size: 0.9em;
}

/* Responsividade */
@media (max-width: 1120px) {
    .categorias {
        flex-direction: flex;
        align-items: center;
    }
    
    .itens {
        width: 25%;
        /* height: 20%; */
    }
}

@media (max-width: 768px) {
    .container-lista {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw; /* agora o menu ocupa toda a largura da tela */
    height: 100vh; /* e toda a altura */
    background-color: #2e7d32;
    flex-direction: column;
    align-items: center;
    justify-content: top;
    padding-top: 60px;
    gap: 30px;
    transform: translateX(100%); /* começa fora da tela */
    transition: transform 0.3s ease;
    display: flex;
    z-index: 1000;
    }

    .container-lista.show {
    transform: translateX(0); /* desliza pra tela */
    }

    .menu-toggle {
    display: block;
    margin-left: auto;
    }

    .bandeira {
    display: none;
    }

    .banner {
    height: 200px; /* diminui a altura do banner no celular */
    background-position: center;
    padding-top: 80px;
    }

    .titulo-principal {
        text-align: center;
        font-size: 20px;
        margin-top: 30px;
        color: #2e7d32;
    }

    .banner-conteudo img {
    width: 200px; /* diminui o tamanho da logo */
    }

    .banner-conteudo h2 {
    font-size: 16px; /* texto menor */
    padding: 5px 15px;
    }

    .categorias {
        flex-direction: flex;
        align-items: center;
    }

    .itens {
        width: 60%;
    }

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

    .video {
        max-width: 100%;
    }
}

