/* ---------------------------------
   CONFIGURAÇÕES GERAIS
---------------------------------- */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #54534d;
  background-color: #fcf6eb;
  overflow-x: hidden;
}


/* ---------------------------------
   TOPO DO SITE
---------------------------------- */
.top-bar {
  background-color: #c8bca7;
  padding: 0.5rem 1rem;
}

.logo-bar {
  padding: 1rem 0;
}

.logo {
  display: block;
  width: 100%;
  max-width: 330px;
  height: auto;
  max-height: 100px;
  margin-left: 40px;
}


/* ---------------------------------
   ÍCONES DE REDES SOCIAIS
---------------------------------- */
.social-icons a {
  color: #6a2121;
  margin-left: 10px;
  font-size: 1.2rem;
}
.icon-text i {
  color: #6a2121;
}


/* ---------------------------------
   Introdução
---------------------------------- */
.section {
  padding: 3rem 0;
}

.bege-box {
  background-color: #ebe0ce;
  padding: 1.5rem;
}

.bege-box p {
  margin-bottom: 1rem;
}

/* ---------------------------------
   Artigos
---------------------------------- */
.artigos-link-section {
  background-color: #c8bca7;
}

.artigos-link {
  font-size: 1.8rem;
  font-weight: 600;
  color: #560406;
  text-decoration: none !important;
  transition: color 0.3s, background-color 0.3s;
}

.artigos-link:hover,
.artigos-link:focus,
.artigos-link:visited {
  color: #560406;
  background-color: transparent !important;
  text-decoration: none !important;
}


/* ---------------------------------
   Livro
---------------------------------- */

.livro {
  background-color: #fbf9f5;
}

.livro-texto {
  max-width: 500px;
  padding: 1.5rem;
}

/* ---------------------------------
   Podcast
---------------------------------- */

/* Seção sem padding vertical */
.podcast-section {
  background-color: #eae1d2;
  padding: 0;
}

.podcast-wrapper {
  max-width: 960px;
  margin: 0 auto;
}

.podcast-col {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  padding: 0 10px;
}

/* Coluna esquerda */
.left-img {
  max-width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.podcast-icon {
  max-width: 100%;
  height: auto;
  margin-bottom: 0; /* Remove o espaçamento extra */
}


/* Texto */
.texto-podcast {
  flex: 1;
  max-width: 300px;
  padding: 0 20px;
}

.texto-podcast p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  text-align: left;
}

/* Coluna direita */
.right-img {
  max-width: 444px;
}

.podcast-foto {
  height: 100%;
  object-fit: cover;
}

/* ---------------------------------
   RODAPÉ
---------------------------------- */
.footer {
  background-color: #fbf9f5;
  padding: 2rem 0;
  font-size: 0.9rem;
}

.icon-text i {
  margin-right: 5px;
}
.footer p {
  line-height: 1.6;
}


/* ---------------------------------
   TEXTO & TIPOGRAFIA
---------------------------------- */
.titulo {
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.fonte-vinho {
  color: #6a2121;
}


/* ---------------------------------
   AJUSTES UTILITÁRIOS
---------------------------------- */
.nopadding {
  padding: 0 !important;
  margin: 0 !important;
}


/* ---------------------------------
   RESPONSIVIDADE
---------------------------------- */
@media (max-width: 767.98px) {
    .intro .intro-img {
        margin-bottom: 40px;
    }

    .logo {
        margin-left: auto;
        margin-right: auto;
    }

    .livro-img {
        margin-bottom: 40px;
    }
}

/* Tablet: imagem da direita embaixo */
@media (max-width: 1024px) {
    .right-img {
        order: 3;
        flex-basis: 100%;
        max-width: 100%;
        margin-top: 20px;
    }

    .texto-podcast {
        max-width: 300px;
    }

    .podcast-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .left-img {
        margin: 20px auto 0 auto;
        /* margem-top de 20px */
    }
}

/* Mobile: tudo empilhado */
@media (max-width: 576px) {
    .podcast-col {
        flex-direction: column;
    }

    .podcast-icon {
        margin-bottom: 40px;
    }

    .texto-podcast {
        max-width: 100%;
    }

    .right-img {
        margin-top: 20px;
    }

    .left-img {
        margin: 20px auto 0 auto;
    }
}

@media (max-width: 400px) {
   .podcast-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 5px; /* controla o espaçamento entre os blocos */
  }

  .podcast-col {
    width: 100%;
  }

  .texto-podcast {
    max-width: 90%;
    margin-top: 20px;
  }

  .texto-podcast p {
    padding: 0 1rem;
  }

  .left-img {
    margin-bottom: -40px; /* evita acúmulo de espaçamento */
  }
}
