@charset "UTF-8";


@media (max-width: 1140px){
  .card-container{
    display:block;
  }

  .card{
    width: 90%;
    margin: auto;
    margin-bottom:5%;
    margin-top:5%;
  }
}

/* ===== TABLETS (768px e abaixo) ===== */
@media (max-width: 768px) {
  
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  main {
    width: 100%;
    padding: 0;
    margin: 0;
  }
  
  section {
    width: 100%;
    padding: 0;
    margin: 0;
  }
  
  /* Header */
  header {
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    height: 200px;
  }

  .header-custom{
    background-image: url('../image/mobile/header-background-widescream.webp');
    background-size: cover;
    background-position: left bottom;
    background-repeat: no-repeat;
    padding: 5px;
    height: 20%;
  }

  .titulo-custom h1 {
    text-align: center;
    font-size: 34px;
    margin-top: 5%;
  }
  
  .titulo img {
    margin: auto;
    width: 60px;
  }

  .navbar-custom{
    width: 100%;
    padding: 20px;
  }
  
  .navbar-custom nav{
    width: 100%;
    display: grid;
    justify-content: center;
    flex-wrap: wrap;
    height: 50%;
  }

  .navbar-custom a {
    display: block;
    margin: auto;
    font-size: 16px;
    padding: 0;
  }
  
  /* Main Content */
  .conteudo {
    display:none;
  }

  .sugestao-mobile, .lista-sugestao-mobile, .sujestao-mobile-titulo, .sugestao-buttons-mobile{
  display: block;
  } 

  .sujestao-mobile-titulo{
    text-align: center;
    font-size: 20px;
    margin-bottom: 10px;
  }
 
  
  .sugestao-buttons-mobile button{
    display: block;
    justify-content: center;
    margin-top: 15px;
    background-color: var(--color-button);
    border: none;
    border-radius: 5px;
    padding: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.295);
    transition: 0.3s;
    height: 40px;
    width: 100%;
  }

  .sugestao-buttons-mobile button:focus{
    background-color: var(--color-button-hover);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.295);
    transform: translateY(-2px);
  } 

  .lista-sugestao-mobile{
    width: 100%;
  }

  .sermao-mobile, .devocional-mobile, .louvores-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 10px;
  }
  
  .videos-mobile {
    width: 90%;
    max-width: 300px;
    margin: auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.397);
  }

  .videos-mobile h3{
    text-align: center;
    font-size: 18px;
  }

  .videos-mobile button {
    border: none;
    margin: auto;
    width: 100%;
}

  .videos-mobile img{
    width: 100%;
    border-radius: 5px;
    margin: auto;
  }

  .devocional-mobile, .louvores-mobile{
    display: none;
  }
  
  /* Player Principal */
  .player-principal {
    display: none;
  }
  
  /* Bíblia Online */
  .biblia-on {
    width: 90%;
    height: auto;
    background-position: center;
    padding: 20px;
    box-sizing: border-box;
  }
  
  .biblia-on h2 {
    font-size: 28px;
  }
  
  .biblia-on p {
    width: 100%;
    font-size: 18px;
  }
  
  .biblia-on button {
    width: 100%;
    max-width: 280px;
    height: 60px;
    font-size: 18px;
  }
  
  /* Pedidos de Oração */
  .pedidos {
    width: 90%;
    height: auto;
    background-position: center;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
  }
  
  .pedidos h1 {
    font-size: 40px;
    margin-right: 0;
  }
  
  .pedidos p {
    width: 100%;
    margin-left: 0;
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .pedidos input {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }
  
  .pedidos button {
    width: 100%;
    max-width: 200px;
    margin-right: 0;
    margin-top: 10px;
  }
  
  /* Footer */
  .sobre p {
    width: 90%;
    font-size: 16px;
  }
  
  /* Sobre Nós */
  .sobre-nos {
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
  }
  
  .sobre-nos p {
    width: 100%;
    max-width: 600px;
    margin: auto !important;
    box-sizing: border-box;
    padding: 0 10px;
  }
  
  /* Colaboradores */
  .person-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .person {
    width: 100%;
    justify-content: center;
  }
  
  .person img {
    width: 50px;
  }
  
  .person p {
    width: 100%;
    font-size: 16px;
  }
  
  /* Loader */
  .loader-spinner {
    width: 50px;
    height: 50px;
    border: 6px solid #d8c2a6;
    border-top: 6px solid #c49a6c;
  }
  
  .loader p {
    font-size: 16px;
  }

  .card-container{
    display:block;
  }

  .card{
    width: 90%;
    margin: auto;
    margin-bottom:5%;
    margin-top:5%;
  }

  .estudo{
    position: absolute;
    top: 15%;
    z-index:99;
    height: 94%;
  }

  .estudo button{
    top: -2%;
    left: -8%;
  }

  .estudo h2{
    width: 90%;
  }

  .fechar{
    color: red;
  }

}

/* ===== CELULARES (480px e abaixo) ===== */
@media (max-width: 480px) {
  
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  main {
    width: 100%;
    padding: 0;
    margin: 0;
  }
  
  section {
    width: 100%;
    padding: 0;
    margin: 0;
  }
  
  body {
    height: auto;
  }
  
  /* Header */
  .titulo {
    flex-direction: column;
    padding: 10px 0;
  }
  
  .titulo h1 {
    font-size: 20px;
    margin-top: 5px;
  }
  
  .titulo img {
    width: 50px;
  }
  
  .navbar {
    flex-direction: column;
    margin-top: 10px;
    padding: 5px;
  }
  
  .navbar nav {
    width: 100%;
  }
  
  .navbar a {
    display: block;
    margin: 5px 0;
    font-size: 14px;
    text-align: center;
  }
  
  /* Main Content */
  main {
    padding: 10px;
    scroll-behavior: smooth;
  }
  
  section {
    padding: 0;
  }
  
  /* Conteúdo - Inverter ordem no mobile */
  .conteudo {
    flex-direction: column-reverse;
  }
  
  /* Sugestão de Vídeos */
  .sugestao {
    width: 95%;
    padding: 10px;
    border-radius: 3px;
  }
  
  .sugestao h2 {
    font-size: 20px;
  }
  
  .sugestao p {
    font-size: 14px;
    width: 100%;
  }
  
  .sugestao button {
    height: 35px;
    width: 48%;
    font-size: 12px;
    margin-bottom: 5px;
    display: inline-block;
  }
  
  /* Grid de Vídeos */
  .sermao,
  .devocional,
  .louvores {
    grid-template-columns: 1fr !important;
    gap: 10px;
    padding: 5px;
  }
  
  .videos-mobile {
    width: 100%;
    padding: 8px;
    max-width: 100%;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.397);
  }
  
  .videos-mobile h3 {
    height: auto;
    font-size: 14px;
  }
  
  .videos-mobile p {
    font-size: 12px;
  }
  
  .videos-mobile img{
    width: 100%;
    border-radius: 5px;
    margin: auto;
  }
  
  /* Player Principal */
  .player-principal {
    width: 95%;
    height: 300px;
    margin-top: 15px;
    padding: 10px;
    box-sizing: border-box;
  }
  
  .player {
    padding-top: 56.25%;
    margin-bottom: 10px;
  }
  
  .player iframe {
    top: 5px;
    left: 0;
    width: 100%;
  }
  
  .player-bt {
    flex-direction: column;
    margin-top: 10px;
    gap: 5px;
  }
  
  .player-bt button {
    width: 100%;
    height: 45px;
    padding: 0;
  }
  
  .player-bt button p {
    font-size: 14px;
  }
  
  /* Recomendado Modal */
  .recomendado {
    padding: 10px;
    overflow-y: auto;
    flex-wrap: wrap;
  }
  
  .recomendado iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
  }
  
  .foot-recomendado {
    flex-direction: column;
    gap: 10px;
  }
  
  .foot-recomendado h2 {
    font-size: 20px;
  }
  
  .recomendado button {
    width: 90%;
    height: 50px;
    margin-right: 0;
    margin: auto;
  }
  
  /* Versículo */
  .rec-container {
    flex-direction: column;
    gap: 10px;
  }
  
  .rec-container img {
    width: 100%;
    max-width: 100%;
  }
  
  .rec-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  
  .reflexao {
    width: 100%;
    height: auto;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
    box-sizing: border-box;
  }
  
  .reflexao h2 {
    font-size: 18px;
  }
  
  .reflexao p {
    font-size: 13px;
    line-height: 1.5;
  }
  
  /* Bíblia Online */
  .biblia-on {
    width: 95%;
    height: auto;
    margin-top: 15px;
    padding: 15px;
    box-sizing: border-box;
  }
  
  .biblia-on h2 {
    text-align: center;
    color: black;
    background-color: rgba(255, 255, 255, 0.205);
    font-size: 22px;
    margin-left: 0;
  }
  
  .biblia-on p {
    width: 100%;
    font-size: 14px;
    margin-left: 0;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.205);
    color: black;
    border-radius: 5px;
}
  
  .biblia-on button {
    width: 100%;
    max-width: 100%;
    height: 50px;
    margin-left: 0;
    font-size: 14px;
  }
  
  /* Pedidos de Oração */
  .pedidos {
    width: 95%;
    height: 400px;
    margin-top: 15px;
    padding: 15px;
    text-align: center;
    box-sizing: border-box;
    background-position: center;
  }
  
  .pedidos h1 {
    font-size: 28px;
    margin-right: 0;
    color: black;
    background-color: rgba(255, 255, 255, 0.205);
  }
  
  .pedidos p {
    width: 100%;
    font-size: 14px;
    margin-left: 0;
    text-align: center;
    color: black;
    background-color: rgba(255, 255, 255, 0.205);
  }
  
  .pedidos input {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 8px;
    padding: 8px;
    font-size: 14px;
    box-sizing: border-box;
  }
  
  #pedido {
    height: 120px;
  }
  
  .pedidos button {
    width: 100%;
    max-width: 100%;
    height: 45px;
    margin-right: 0;
    font-size: 14px;
  }
  
  #menssagem {
    font-size: 12px;
    width: 100%;
  }
  
  /* Footer */
  footer {
    flex-direction: column;
    padding: 10px;
  }
  
  .sobre h3 {
    font-size: 20px;
    padding-top: 10px;
  }
  
  .sobre p {
    width: 90%;
    font-size: 13px;
  }
  
  /* Colaboradores */
  .sobre-nos{
    width: 100%;
    text-align: center;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .sobre-nos h1 {
    font-size: 22px;
  }

  .sobre-nos p {
    font-size: 14px;
    text-align: justify;
    width: 100%;
    max-width: 100%;
    margin: auto;
    box-sizing: border-box;
  }

  .colab h3 {
    font-size: 18px;
  }
  
  .person-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .person {
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  
  .person img {
    width: 40px;
    height: 40px;
    margin-right: 0;
    margin-bottom: 5px;
  }
  
  .person p {
    width: 100%;
    font-size: 14px;
    text-align: center;
    margin-left: 0;
  }
  
  hr {
    width: 90%;
    margin: 15px auto;
  }
  
  /* Loader */
  .loader {
    z-index: 9999;
  }
  
  .loader-spinner {
    width: 40px;
    height: 40px;
    border: 5px solid #d8c2a6;
    border-top: 5px solid #c49a6c;
  }
  
  .loader p {
    font-size: 14px;
    margin-top: 15px;
  }

  .card-container{
    display:block;
  }

  .card{
    width: 90%;
    margin: auto;
    margin-bottom:5%;
  }
}

/* ===== EXTRA SMALL (320px e abaixo) ===== */
@media (max-width: 320px) {
  
  html, body {
    width: 100%;
    overflow-x: hidden;
  }
  
  main {
    width: 100%;
    padding: 0;
    margin: 0;
  }
  
  section {
    width: 100%;
  }
  
  .titulo h1 {
    font-size: 18px;
  }
  
  .navbar a {
    font-size: 12px;
    margin: 3px 0;
  }
  
  .sugestao button {
    width: 100%;
    font-size: 11px;
    height: 32px;
  }
  
  .videos-mobile {
    min-width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.397);
  }
  
  .player-bt button {
    height: 40px;
    font-size: 12px;
  }
  
  .biblia-on h2,
  .pedidos h1 {
    font-size: 20px;
  }
  
  .biblia-on p,
  .pedidos p {
    font-size: 12px;
  }
  
  /* Recomendado no Extra Small */
  .recomendado iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
  }
  
  .rec-container img {
    width: 100%;
    height: auto;
  }
  
  /* Sobre Nós */
  .sobre-nos {
    width: 100%;
    margin: 0;
    padding: 0 5px;
    box-sizing: border-box;
  }
  
  .sobre-nos p {
    width: 100%;
    max-width: 100%;
    margin: auto;
    padding: 0 5px;
    font-size: 12px;
    box-sizing: border-box;
  }
}
