/*
Para smathhones: Considere uma media query para  com largura entremax-width: 767px
para otimizar a experiência nesses dispositivos.
****************************************************
Estilo para Celular Retrato.....
resolver problema de resolucao retrato no css de smartphone
*/

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

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #fff;
  color: #287799;
  width: 100%;
  line-height: 1.5;
}

/*========================
  TIPOGRAFIA
=========================*/
h1, h2, h3, h4 {
  text-align: center;
  margin: 1.5rem 0;
}

h1 {
  color: #4d6d8a;
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
  color: #287799;
  text-shadow: 1px 1px 0 #bad1db;
}

h3 {
  font-size: 1.3rem;
  color: #0591cc;
}

p {
  color: #000000;
  word-wrap: break-word;
  font-size: large;
}

/*========================
  LINKS
=========================*/
a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  background-color: #0c4fc2;
  color: #f0f8ff;
  border: 1px solid #acc4e3;
}

a:visited {
  color: #f7feff;
}

a:active {
  background-color: #ABD;
}

/*========================
  CABEÇALHO
=========================*/
header {
  width: 100%;
  background-image: url("../imgs/foto_spa.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  padding: 2%;
}

#logo_cabecario {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

#cabecario_conapic {
  font-size: 2.5rem;
  text-shadow: 1px 1px 0 #f8f8f8;
}

/*========================
  MENU
=========================*/
.menu {
  background-color: #0591cc;
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
}

.menu li {
  position: relative;
}

.menu a {
  padding: 0.5rem 1rem;
  display: block;
}

/* Submenu */
.submenu {
  display: none;
  position: absolute;
  background-color: #067bad;
  border: 1px solid black;
  z-index: 1000;
  text-align: center;
}

.menu li:hover .submenu {
  display: block;
}

.submenu li {
  padding: 0.5rem 1rem;
}

/*========================
  CONTEÚDO
=========================*/
section, article {
  width: 100%;
  padding: 2rem 5%;
}

.lista_valores, .lista_passos_afiliar, .lista_vantagens_afiliar {
  margin-left: 5%;
  font-size: 1.1rem;
  padding-left: 5%;
}

.lista_valores li {
  color: #0591cc;
  list-style-type: circle;
}

.lista_passos_afiliar li {
  list-style-type: decimal-leading-zero;
}

.lista_vantagens_afiliar li {
  list-style-type: disc;
}




#lei_estilo
{
  color:cornflowerblue; 
  font-style: bold;
}


/*========================
  BOTÕES AFILIAR
=========================*/
.botoes_afiliar {
  max-width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  text-align: center;
  color: white;
}

.botoes_afiliar li {
  background-color: #0591cc;
  border: 5px solid #105b7b;
  padding: 1rem;
  font-size: 1.3rem;
  transition: background 0.3s;
}

.botoes_afiliar li:hover {
  background-color: #61caf7;
  color: #105b7b;
}

.botoes_afiliar a:active {
  background-color: #105b7b;
  color: #61caf7;
}

/*========================
  GALERIA
=========================*/
.galeria1, .galeria2 {
  text-align: center;
  padding: 2%;
  margin: 2%;
}

.galeria1 img, .galeria2 img {
  border: 1px solid black;
  margin: 0 1%;
  max-width: 100%;
}

/*========================
  TABELA
=========================*/
.tabela_cooperados {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem auto;
  font-size: 1rem;
}

.tabela_cooperados td, .tabela_cooperados th {
  border: 1px solid #989898;
  padding: 0.8rem;
  text-align: left;
}

.tabela_cooperados tr:nth-child(even) {
  background-color: #eee;
}

/*========================
  FORMULÁRIO
=========================*/
.formulario_msg {
  width: 90%;
  max-width: 400px;
  color: #287799;
  font-size: 1rem;
  margin: 2rem auto;
  text-align: center;
}

.formulario_msg button {
  border: 2px solid #0591cc;
  font-size: 1.5rem;
  color: #0591cc;
  background: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

/*========================
  RODAPÉ
=========================*/
footer {
  background-color: #0591cc;
  padding: 2rem;
  color: white;
  text-align: center;
}

.logo_rodape {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
}

.logo_rodape img {
  width: 100%;
  max-width: 250px;
}

.logo_rodape h4 {
  font-size: 1rem;
}

.atalhos_rodape {
  display: none;
}

.redes_sociais_rodape {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1rem;
}

.redes_sociais_rodape img {
  width: 40px;
  transition: all 0.3s ease;
}

.redes_sociais_rodape a img:hover {
  border: 1px solid white;
  background-color: #287799;
}

/*========================
  RESPONSIVIDADE
=========================*/
@media screen and (max-width: 768px) {
  h1 {
    font-size: 1.5rem;
  }

  .menu {
    flex-direction: column;
  }

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

  .botoes_afiliar li {
    width: 90%;
  }

  .formulario_msg {
    width: 90%;
  }

  .tabela_cooperados {
    font-size: 0.9rem;
  }

  .redes_sociais_rodape img {
    width: 60px;
  }
}

@media screen and (max-width: 230px) {
  body {
    font-size: 0.8rem;
  }

  h1, h2, h3 {
    font-size: 1rem;
  }

  .menu a {
    font-size: 0.8rem;
  }

  .botoes_afiliar li {
    padding: 0.5rem;
  }

  .formulario_msg button {
    font-size: 1rem;
  }
}

