* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('../images/fundo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #2c3e4f;
    line-height: 1.7;
}

/* Cabeçalho com a cor principal #B0772C (dourado/terroso) */
header {
  background: linear-gradient(145deg, #047185 0%, #2d7379 100%);
  padding: 40px 0px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(176, 119, 44, 0.25);
  border-bottom: 4px solid #064a49;
}

header h1 {
  font-size: 2.9rem;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 2px 2px 0 #064047;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

header p {
  font-size: 1.2rem;
  color: #f9f9f9;
  background: rgba(0, 0, 0, 0.1);
  display: inline-block;
  padding: 0.5rem 2rem;
  border-radius: 60px;
  font-weight: 400;
  backdrop-filter: blur(2px);
  border: 1px solid #064a49;
}



/* Menu de navegação com detalhe em #B0772C */
nav {
  background-color: #ffffff;
  padding: 0.9rem 2rem;
  display: flex;
  justify-content: center;
  gap: 2.8rem;
  flex-wrap: wrap;
  border-bottom: 2px solid #064a49;
  box-shadow: 0 2px 10px rgba(176, 119, 44, 0.1);
  position: sticky;
  top: 0;
  z-index: 20;
}

nav a {
  text-decoration: none;
  color: #4a3a2b;
  font-weight: 500;
  font-size: 1.05rem;
  transition: 0.2s;
}

nav a:hover {
  color: #064a49;
}

/* Área de posts */
.posts {
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
}

.card {
  background: #ffffff;
  border-radius: 28px;
  padding: 2.2rem 2.5rem;
  box-shadow: 0 25px 35px -16px rgba(119, 77, 20, 0.18);
  border: 1px solid #f0dbc6;
  transition: all 0.2s ease;
}

.card:hover {
  border-color: #064a49;
  box-shadow: 0 28px 40px -16px #064a4955;
}

.card h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #064a49;
  margin-bottom: 0.7rem;
  line-height: 1.3;
  border-left: 8px solid #064a49;
  padding-left: 1.2rem;
}

.info-post {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: #7a6239;
  margin: 0.8rem 0 1.2rem 0;
  background: #1f737d1f;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  width: max-content;
}

.info-post i {
  color: #064a49;
  width: 1.2rem;
}

.resumo {
  color: #2e3b47;
  margin: 1.2rem 0 1.5rem;
  font-size: 1.05rem;
  text-align: justify;
}

.btn-leia {
  background: none;
  border: 2px solid #064a49;
  color: #064a49 !important;
  padding: 0.7rem 2rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  text-decoration: none;
}

.btn-leia i {
  color: #064a49;
  font-size: 0.9rem;
}

.btn-leia:hover {
  background-color: #064a49;
  border-color: #064a49;
  color: #fff !important;
}

.btn-leia:hover i {
  color: #fff !important;
}

/* Barra lateral */
aside {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.sobre-card, .categorias-card, .social-card, .news-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 2rem 1.8rem;
  border: 1px solid #e6d2bc;
  box-shadow: 0 20px 30px -12px #064a4930;
}

.sobre-card h3, .categorias-card h3, .social-card h3, .news-card h4 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #064a49;
  margin-bottom: 1.2rem;
  border-bottom: 3px solid #064a49;
  padding-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.perfil {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.avatar img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.2rem;
  color: #064a49;
  border: 4px solid white;
  box-shadow: 0 8px 16px #064a4952;
  margin-bottom: 1.2rem;
  object-fit: cover;
}

.perfil h4 {
  font-size: 1.6rem;
  color: #000;
}

.perfil p {
  color: #064a49;
  font-size: 0.98rem;
}

.categorias-card ul {
  list-style: none;
}

.categorias-card li {
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
  border-bottom: 1px dashed #e6cfb5;
  padding-bottom: 0.7rem;
}

.categorias-card i {
  color: #064a49;
  width: 26px;
  font-size: 1.2rem;
}

.categorias-card span {
  background: #f4e5d6;
  padding: 0.2rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  margin-left: auto;
  color: #064a49;
  font-weight: 600;
}

.social-card .icons {
  display: flex;
  font-size: 2.2rem;
  margin: 1.5rem 0 0;
}

.social-card a {
  color: #064a49;
  transition: 0.2s;
  margin-right: 20px;
}

.social-card a:hover {
  color: #000;
  transform: translateY(-3px);
}

/* newsletter com cor principal */
.news-card {
  background: #fcf5ec;
}
.news-card input {
  border: 2px solid #e6cfb5;
  border-radius: 60px;
  padding: 0.9rem 1.5rem;
  width: 100%;
  margin: 10px 0;
  font-family: 'Montserrat', sans-serif;
  outline: none;
}
.news-card input:focus {
  border-color: #064a49;
}
.news-btn {
  background: #064a49;
  color: white;
  border: none;
  border-radius: 60px;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: 0.2s;
}
.news-btn i {
  margin-right: 8px;
}

footer {
  background: #25737c;
  color: #ffffff;
  padding: 2rem;
  text-align: center;
  border-top: 6px solid #064a49;
  margin-top: 2rem;
}

footer i {
  color: #064a49;
}

/* Responsividade */
@media (max-width: 900px) {
  .container {
    grid-template-columns: 1fr;
  }
  header h1 {
    font-size: 2.2rem;
  }
}

/* detalhe de fundo com a cor suave */
body::before {
  content: "🧠";
  font-size: 8rem;
  opacity: 0.03;
  position: fixed;
  bottom: 0;
  left: 0;
  pointer-events: none;
  z-index: -1;
  transform: rotate(-5deg);
}

/* Cabeçalho */
.detalhe-header {
  background: linear-gradient(135deg, #064a49 0%, #c9984b 100%);
  padding: 2.2rem 2rem 1.5rem;
  text-align: center;
  border-bottom: 6px solid #8b5e27;
  box-shadow: 0 4px 20px rgba(176, 119, 44, 0.3);
}

.detalhe-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: white;
  text-shadow: 2px 2px 0 #6d4a22;
  letter-spacing: -0.5px;
}

.detalhe-header p {
  font-size: 1.2rem;
  color: #fff3e0;
  background: rgba(0, 0, 0, 0.15);
  display: inline-block;
  padding: 0.4rem 2rem;
  border-radius: 40px;
  margin-top: 10px;
  backdrop-filter: blur(4px);
  border: 1px solid #064a49;
}

/* Menu de navegação */
.detalhe-nav {
  background-color: #ffffff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  border-bottom: 2px solid #064a49;
  box-shadow: 0 2px 10px rgba(176, 119, 44, 0.1);
  position: sticky;
  top: 0;
  z-index: 30;
}

.detalhe-nav a {
  text-decoration: none;
  color: #4a3a2b;
  font-weight: 500;
  font-size: 1.05rem;
  transition: 0.2s;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 6px;
}

.detalhe-nav a:hover {
  color: #064a49;
  border-bottom-color: #064a49;
}

/* Container principal */
.detalhe-container {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 25px;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 3rem;
}

/* Post principal */
.detalhe-post {
  background: white;
  border-radius: 32px;
  padding: 3rem;
  box-shadow: 0 30px 45px -20px rgba(119, 77, 20, 0.25);
  border: 1px solid #f0dbc6;
}

.detalhe-titulo {
  font-weight: 700;
  color: #064a49;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  border-left: 8px solid #064a49;
  padding-left: 1.8rem;
}

.detalhe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  background: #1f737d1f;
  padding: 1rem 2rem;
  border-radius: 60px;
  margin: 10px;
  font-size: 0.95rem;
  color: #7a6239;
  width: max-content;
}

.detalhe-meta i {
  color: #064a49;
  width: 1.4rem;
}

.detalhe-conteudo {
  font-size: 15px;
  color: #2e3b47;
}

.detalhe-conteudo ul {
  padding-left: 20px;
}

.detalhe-conteudo ul li p {margin-bottom: 0px;}

.detalhe-conteudo p {
  text-align: justify;
}

.detalhe-conteudo h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: #064a49;
  margin: 2.5rem 0 1.2rem;
}

.detalhe-conteudo blockquote {
  background: #fcf3e7;
  border-left: 6px solid #064a49;
  padding: 2rem 2.5rem;
  margin: 2.5rem 0;
  border-radius: 0 40px 40px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #4d3b24;
  box-shadow: 0 15px 25px -12px #dbb78c;
  position: relative;
}

.detalhe-conteudo blockquote i {
  color: #064a49;
  margin-right: 15px;
  font-size: 2rem;
  opacity: 0.6;
}

.detalhe-conteudo blockquote::before {
  content: '"';
  font-size: 6rem;
  color: #064a49;
  opacity: 0.1;
  position: absolute;
  top: -20px;
  left: 10px;
  font-family: serif;
}

/* Caixa da autora */
.detalhe-autora {
  background: #faf1e6;
  border-radius: 28px;
  padding: 2.2rem;
  margin: 3rem 0 1rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  border: 2px solid #064a49;
  position: relative;
  overflow: hidden;
}

.detalhe-autora::after {
  content: "🧠";
  font-size: 5rem;
  opacity: 0.05;
  position: absolute;
  bottom: -10px;
  right: 10px;
  transform: rotate(10deg);
}

.detalhe-avatar {
  background: #e6cfb5;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.8rem;
  color: #064a49;
  border: 4px solid white;
  box-shadow: 0 8px 16px #cfa87c;
  z-index: 2;
}

.detalhe-autora-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: #5e3e1f;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.detalhe-autora-info p {
  margin-top: 0.5rem;
  color: #4c412c;
}

.detalhe-autora-info i {
  color: #064a49;
  margin-right: 8px;
}

/* Barra lateral */
.detalhe-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.detalhe-card {
  background: white;
  border-radius: 28px;
  padding: 2rem 1.8rem;
  border: 1px solid #e6d2bc;
  box-shadow: 0 20px 30px -12px #064a4930;
}

.detalhe-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: #064a49;
  border-bottom: 3px solid #064a49;
  padding-bottom: 0.8rem;
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detalhe-perfil {
  text-align: center;
}

.detalhe-avatar-grande {
  background: #f0dbc6;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  color: #064a49;
  margin: 0 auto 1.5rem;
  border: 4px solid #e6cfb5;
  box-shadow: 0 10px 20px #dbb78c;
}

.detalhe-perfil h4 {
  font-size: 1.8rem;
  color: #5e3e1f;
  font-family: 'Cormorant Garamond', serif;
}

.detalhe-credencial {
  background: #fcf3e7;
  padding: 0.8rem;
  border-radius: 60px;
  margin: 1rem 0;
  font-size: 0.9rem;
}

/* Posts relacionados */
.detalhe-relacionados {
  margin-top: 1rem;
}

.detalhe-item-relacionado {
  display: flex;
  gap: 1.2rem;
  margin: 1.5rem 0;
  padding: 1rem;
  background: #fefaf5;
  border-radius: 20px;
  transition: all 0.3s;
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
}

.detalhe-item-relacionado:hover {
  background: #fcf3e7;
  border-color: #064a49;
  transform: translateX(5px);
}

.detalhe-item-relacionado i {
  color: #064a49;
  font-size: 2rem;
}

.detalhe-item-relacionado h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #5e3e1f;
  line-height: 1.4;
}

.detalhe-item-relacionado span {
  font-size: 0.8rem;
  color: #064a49;
}

/* Newsletter */
.detalhe-newsletter {
  background: linear-gradient(145deg, #064a4908, #064a4915);
  border: 2px solid #064a49;
}

.detalhe-news-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid #e6cfb5;
  border-radius: 60px;
  margin: 1rem 0;
  font-family: 'Montserrat', sans-serif;
}

.detalhe-news-input:focus {
  outline: none;
  border-color: #064a49;
}

.detalhe-news-botao {
  background: #064a49;
  color: white;
  border: none;
  border-radius: 60px;
  padding: 1rem;
  font-weight: 600;
  width: 100%;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
  transition: 0.2s;
}

.detalhe-news-botao:hover {
  background: #9b682a;
}

/* Lista de temas */
.detalhe-card ul {
  list-style: none;
}

.detalhe-card li {
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.detalhe-card li i {
  color: #064a49;
}

.detalhe-card li span {
  margin-left: auto;
  background: #f4e5d6;
  padding: 0.2rem 0.8rem;
  border-radius: 60px;
}

/* Rodapé */
.detalhe-footer {
  background: #2c3e4f;
  color: #f0e3d4;
  padding: 2.5rem;
  text-align: center;
  border-top: 8px solid #064a49;
  margin-top: 4rem;
}

.detalhe-footer i {
  color: #064a49;
}

/* Responsividade */
@media (max-width: 900px) {
  .detalhe-container {
    grid-template-columns: 1fr;
  }
  .detalhe-autora {
    flex-direction: column;
    text-align: center;
  }
  .detalhe-titulo {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .detalhe-post {
    padding: 1.8rem;
  }
  .detalhe-meta {
    gap: 1rem;
  }
}

.logo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  padding: 5px;
  background: #ffffff;
  transition: 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);   /* leve efeito ao passar o mouse */
  box-shadow: 0 6px 18px rgba(77,36,198,0.25);
}

.text-left {
  text-align: left;
}

.page-section {
  padding: 60px 0px;
}

/* MENU */
.menu {
  background: #262626;
  padding: 10px 0;
}

.menu-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Links */
.menu-links {
  display: flex;
  gap: 25px;
}

.menu-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.menu-links a:hover {
  opacity: 0.8;
  color: #ffc107;
}

/* Botão hambúrguer */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: #ffffff;
  cursor: pointer;
}

/* RESPONSIVO */
@media (max-width: 768px) {

  .menu-links {
    display: none;
    flex-direction: column;
    background: #000;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 20px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-links.active {
    display: flex;
  }
}

.detalhe-conteudo h2 {
  margin: 30px 0px 15px;
  font-size: 23px;
}

/* Classes exclusivas para a lista do blog */
.blog-lista-section {
    width: 100%;
}

.blog-lista-grid {
    margin: -15px;
}

.blog-lista-item {
    padding: 15px;
}

.blog-lista-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #ffffff;
}

.blog-lista-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.blog-lista-imagem-container {
    overflow: hidden;
    border-radius: 5px;
}

.blog-lista-imagem {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
}

.blog-lista-card:hover .blog-lista-imagem {
    transform: scale(1.05);
}

.blog-lista-titulo {
  font-size: 23px;
  color: #be863e;
  line-height: 26px;
  font-weight: 600;
}

.blog-lista-info {
    margin-bottom: 15px;
    color: #777;
    font-size: 0.85rem;
}

.blog-lista-data {
    display: inline-block;
}

.blog-lista-resumo {
  color: #2e3b47;
  font-size: 1.05rem;
  line-height: 22px;
}

.blog-lista-btn {
  display: inline-block;
  background-color: transparent;
  color: #be863e;
  border: 2px solid #064a49;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 15px;
  transition: background-color 0.3s, transform 0.2s;
  text-align: center;
  cursor: pointer;
  width: 100%;
}

.blog-lista-btn:hover {
  background-color: #be863e;
  border: 1px solid #be863e;
  color: white;
  transform: translateY(-2px);
}

.blog-lista-btn i {
    margin-right: 5px;
}

.blog-lista-alerta {
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.blog-lista-sidebar {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

/* Responsividade */
@media (max-width: 768px) {
    .blog-lista-titulo {
        font-size: 1.1rem;
    }
    
    .blog-lista-card {
        padding: 15px;
    }
    
    .blog-lista-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .blog-lista-grid {
        margin: -10px;
    }
    
    .blog-lista-item {
        padding: 10px;
    }
}

.blog-lista-categoria {
    color: #6c757d;
    font-size: 0.85rem;
}

.blog-lista-categoria a {
    color: #6c757d;
}

.blog-lista-categoria a:hover {
    color: #007bff;
}

.categoria-info {
    background-color: #e7f3ff;
    border-color: #b8daff;
}

.categoria-info h5 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.categoria-info .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .categoria-info h5 {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .categoria-info .btn-sm {
        margin-left: 0 !important;
    }
}
.mb-0 {
  margin-bottom: 0px;
}


@media (min-width: 300px) and (max-width: 700px) {
  .logo {
    margin-bottom: 15px;
  }
}