/* FOLHA DE ESTILOS CSS PERSONALIZADA PARA SITES SUPERAUTORES E CLUBE DOS ESCRITORES */
/* Autor: VCLG - Sistemas para Internet | Versão 1.0 - setembro/2025 */

/* Reset básico para todos os elementos */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Garantindo que o body também esteja zerado */
body {
  margin: 0;
  padding: 0;
}

p {
  margin-bottom: 0em; /* Espaço entre parágrafos */
}

/* ------------------------------------------------ */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* --- ESTILOS GERAIS --- */

.sl-texto-centralizado {
  text-align: center;
  }

.sl-texto-esquerda {
  text-align: left;
  }

.sl-texto-direita {
  text-align: right;
  }

.sl-texto-justificado {
  text-align: justify;
  }  

.sl-caixa-de-destaque {
  background-color: white;
  border: 2px solid #0D6EFD;
  border-radius: 20px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  box-sizing: border-box;
  width: calc(100% - 20px);
  max-width: 960px; /* ou 100%, se quiser manter fluido */
  }

.img-flutuante-esquerda {
  float: left;
  margin-right: 20px;
  margin-bottom: 220px;
  max-width: 180px;
  height: auto;
  border: #5b37fd 0px solid;
  }

/* Comportamento imagem flutuante em telas pequenas */
/* ------------------------------------------------ */
@media (max-width: 576px) {
  .img-flutuante-esquerda {
      float: none;
      display: block;
      margin: 0 auto 10px auto;
      max-width: 100%;
      }
  }

/* ------------------------------------------------ */

.sl-botao-comprar {
  background-color: #7066fc;
  color: white;
  margin-top: 10px;
  padding: 10px 10px;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  }

.sl-botao-comprar:hover {
  background-color: #5b37fd;
  }

/* ------------------------------------------------ */
/* CSS para VIDEOS DO YOUTUBE - início */

.video-wrapper {
  max-width: 960px; /* largura padrão do container do Bootstrap */
  margin: 0 auto;     /* centraliza horizontalmente */
  padding: 0 10px 20px 10px; /* margens laterais e inferior no mobile */
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* proporção 16:9 */
  height: 0;
  overflow: hidden;
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* CSS para VIDEOS DO YOUTUBE - fim */
/* ------------------------------------------------ */

/* CSS para Biografias */
#sl-biografia-autor {
  padding: 20px;
  max-width: 960px;
  margin: 0 auto;
  line-height: 1.6;
  }

.sl-bio-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
  padding: 10px 10px;
  }

.sl-bio-foto {
  background-color: salmon;
  width: 180px;
  height: auto;
  border-radius: 100%;
  object-fit: cover;
  flex-shrink: 0;
  }

.sl-bio-texto {
  color: rgb(0, 0, 0);
  flex: 1;
  min-width: 200px;
  text-align: justify;
  }

/* Comportamento bio-container para telas pequenas */
/* ------------------------------------------------ */  
@media (max-width: 600px) {
.sl-bio-container {
  flex-direction: column;
  align-items: center;
  text-align: center;
  }

  .sl-bio-texto {
    text-align: justify;
    }
  }

/* Fim do Custom CSS para Biografias */
/* ------------------------------------------------ */

/* Entrelinhas para Listas e Links - início */
ul {
  padding-left: 1.2rem; /* Espaço à esquerda */
  margin-top: 1rem;
  margin-bottom: 1rem;
  }

ul li {
  margin-bottom: 1rem; /* Espaço entre os itens */
  font-size: 1.1rem; /* Tamanho de fonte levemente maior */
  line-height: 1.5; /* Altura da linha para facilitar leitura */
  }

a {
  text-decoration: none;
  color: #0066cc; /* Azul suave para links */
  }

a:hover {
  text-decoration: underline;
  }

/* Entrelinhas para Listas e Links - fim */

/* ------------------------------------------------ */
/* MEDIA QUERIES - Responsividade para telas menores que 600px */

@media (max-width: 600px) {
  ul li {
    font-size: 1.0rem;
    margin-bottom: 1.2rem;
    }
  }
/* ------------------------------------------------ */