/* Reset básico */
* {
  margin: 0;
  padding: 0;
  
}


/* Fonte e cores gerais */
body {
  font-family: 'Roboto', sans-serif;
  background-color: #fff;
  color: #252525;
  line-height: 1.6;
  font-size: 20px;
   overflow-x: hidden; /* Garante que não haverá barra de rolagem horizontal */
}

a {
  text-decoration: none;
}



/* -- CABEÇALHO -- */
.header {
  position: relative;
  width: 90%;
  background-color: #004f9e; /* azul forte */
  display: flex;
  align-items: start;
  justify-content: space-between;
  padding: 25px 5% ;
  text-align: start;
  justify-content: space-evenly;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  
}

nav {
  flex-grow: 1; /* Permite que a nav ocupe espaço, se necessário */
    display: flex;
    justify-content: flex-start;
}

nav ul {
   list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
  padding: 10px 12px;
  font-size: 1.2rem;
  
  border-radius: 3px;
  transition:  0.3s ease;
}

ul {
  list-style: none;
}

nav ul li a:hover {
  background-color: #003568; /* azul mais escuro no hover */
}


/*--  Banner -- */
.banner img {
  width: 10%;
  height: 150px;
  object-fit: fill;
  margin-top: 63px; 
  margin-bottom: 30px;
  
 
}

/* Título das sessões */
section h2, section h1 {
  color: #004f9e;
  margin-bottom: 20px;
  font-size: 35px;
  font-family: Arial, Helvetica, sans-serif;
}

h2 {
  margin: 0 auto;
  margin-left: 8vw;
  margin-bottom: 5vw;
  text-align: start;
}

/*--  Container geral para seções centrar --*/
section {
  width: 90%; /* Ocupa 90% da largura da tela */
  max-width: 1600px; /* Adiciona um limite máximo para telas gigantes */
  margin: 40px auto;
  
}

/* Cards estilo */
section.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

p {
  max-width: 1100px;
  text-align: center;
  margin: 0 auto;
  text-decoration: none;
}

/* Container do Slider */
.slider {
    position: relative;
    max-width: 850px; /* Largura máxima do slider */
    width: 100%;       /* O slider ocupa 100% da largura disponível até max-width */
    border-radius: 15px;
    height: 300px;     /* Altura fixa do slider */
    margin: auto;
    overflow: hidden;
 
}

/* Container das imagens que se movem */
.slides {
    display: flex;
    height: 100px;
    
}

/* As imagens individuais dentro do slider */
.slides img {
   flex: 0 0 100%;
    width: 100%;
    height: 300px;   /* Altura automática para manter a proporção */
    max-height: 700px; /* Altura máxima para as imagens do slider */
    
    cursor: pointer;
    max-width: 100%;
}

.imgApoiar {
  
  width: 65%;
  height: 20px;
  object-fit:cover;
  margin-top: 20px; /* espaço para o header fixo */
  margin-left: 200px auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
   display: block; /* Garante que a imagem se comporta como um bloco */
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  
}

.imgSobre {
  width: 100%; 
  max-width: 500px;
  height: auto; 
  object-fit: cover; 
  margin: 40px auto; 
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: block;
}

h3:hover {
  background-color: rgb(54, 67, 247);
  transform: scale(1.15);
}

.share {
  display: flex;
  flex-direction: row;
  gap: 5px;
  margin-left: 0;
  /* NOVO: Permite que os itens quebrem para a linha de baixo */
  flex-wrap: wrap; 
}

.banner {
  width: 60%;
  height: auto;
  
}

.share-sociais {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 100%;
  width: 150px;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 10px;
}

.icon-braspine {
  width: 200px;
  border-radius: 10px;
}

.icon-pescar {
  border-radius: 10px;
}

.patrocinadores-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px
}

.logo-empresa {
  max-width: 100%;
  width: 300px;
  transition: all ease 1.0s;
  border-radius: 20px;
}

.logo-empresa:hover {
  transform: scale(1.1);
}

.info-texto {
  text-align: center;
  margin-top: 10px;
}

.share {
  display: flex;
  margin-top: 10px;
  justify-content: center;
}

/* -_-_- RODAPÉ -_-_- */

.rodape {
  background-color: #004f9e;
  
  color: #eee;
  text-align: center;
  width: 100%;
  margin-top: 60px;
}

.rodape img {
  height: 55px;
  margin-bottom: 15px;
}

.redes-sociais {
  display: flex;
  justify-content: center;
  gap: 35px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.redes-sociais a {
  color: #eee;
}

.Autoria {
  opacity: 50%;
  margin-top: 20px;
}

.imgApoiar {
   max-width: max-content;
   height: auto;
}

h3 { 
  display: inline-block; 
  padding: 5px 10px; 
  font-size: 15px;
  border: 1px solid black;
  border-radius: 5px;
  text-align: center;
  color: rgb(255, 255, 255);
  text-decoration: none;
  background-color: #004f9e;
  transition: all 0.5s ease; 
}

#icon-kurumi {
  width: 110px;
  height: auto;
}

.icon {
  width: 50px;
  transition: all 0.5s ease;
}

.icon:hover {
  transform: scale(1.0) ;
  background-color: #1602655e;
  border-radius: 20px;
  width: 70px;
}

.titulo-redes {
  text-align: center;
  margin: 0
}


/* ====== RESPONSIVIDADE ====== */

@media (max-width: 768px) {
    
    /* 1. Empilha os elementos do cabeçalho */
    .header {
        /* Muda a direção do flex para coluna (empilha logo e menu) */
        flex-direction: column; 
        /* Centraliza os itens empilhados */
        align-items: center; 
        /* Aumenta o padding vertical para dar respiro */
        padding: 20px 5%; 
    }

    /* 2. O menu ocupa toda a largura e centraliza os links */
    nav {
        width: 100%;
        margin-top: 15px; /* Espaço entre o Logo e o Menu */
        justify-content: center; /* Centraliza a lista de links na linha */
    }

    /* 3. A lista de links quebra e reduz as fontes */
    nav ul {
        /* Permite que os links quebrem para a linha de baixo */
        flex-wrap: wrap; 
        /* Centraliza os links quebrados */
        justify-content: center; 
        /* Reduz o espaçamento entre os links */
        gap: 15px; 
    }

    /* 4. Reduz a fonte dos links para caber mais */
    nav ul li a {
        /* Redução da fonte para o mobile */
        font-size: 1.0rem; 
        /* Ajuste do padding dos links */
        padding: 8px 10px; 
    }

    /* 5. Ajuste no tamanho do logo para o mobile (opcional) */
    .logo img {
        height: 35px;
    }
    
    /* 6. Ajuste no banner para telas que não têm mais o header lateral */
    .banner img {
        margin-top: 20px; /* Reduza o topo se o header não for fixo */
    }

    /* 7. Reduz o tamanho da fonte principal do corpo */
    body {
        font-size: 16px;
    }
}

.logo-kurumi {
  max-width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
}