body {
      background-color: #fffdfd;
      background-image: url(/imagens/front/background.png);
      background-repeat: no-repeat;
      background-size: cover;
      color: #5e315e;
      padding-top: 10px;
    }

  /* ============================
   Navbar
============================ */
.navbar {
  background-color: #000 !important;
  color: rgb(94, 49, 94);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  z-index: 1000;
  box-shadow: none;
}

.navbar.bg-transparent {
  transition: background 0.3s ease;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  flex-wrap: nowrap;
}

.logo {
  color: #ff9800;
}

.navbar .nav-item {
  list-style: none;
}

.navbar .nav-link {
  color: rgb(189, 180, 180) !important;
  font-weight: 700;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.navbar .nav-link:hover {
  color: #ff9800 !important;
}

.navbar .nav-link i {
  color: inherit;
}

.titulo {
  color: #7c3f58;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.btn-agendar i {
  background-color: #d63384;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
}

.btn-agendar:hover {
  background-color: #c12474;
}

.bg-primary-light {
  background-color: #f3e6f7;
}

.text-primary {
  color: #8c4c8c !important;
}

.img-profile {
  max-width: 200px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.citacao {
  font-style: italic;
  font-size: 1.1rem;
  margin-top: 2rem;
  color: gray;
}

.assinatura {
  font-weight: bold;
  color: #5e315e;
  margin-top: 1rem;
}

.lista-habilidades {
  list-style: none;
  padding-left: 0;
}


/* Esconde o botão de fechar no desktop */
.close-menu-btn {
  display: none;
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}

.navbar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  display: none;
}

.navbar-overlay.show {
  display: block;
}

.close-menu-btn {
  font-size: 2rem;
  color: #fff;
  text-align: right;
  padding: 0.5rem 1rem;
  cursor: pointer;
  background-color: transparent;
  border: none;
}

/* Só por precaução, caso o sticky não funcione */
ul.position-sticky {
  z-index: 1020;
}

/* Melhoria de padding em telas pequenas */
@media (max-width: 576px) {
  .card-horizontal {
    padding: 1rem;
    text-align: center;
  }

  .card-horizontal i {
    margin-bottom: 0.5rem;
  }
}

/* Navbar mobile */
@media (max-width: 991.98px) {
  .navbar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
  
  .navbar-overlay.show {
    opacity: 1;
    visibility: visible;
    display: block;
  }

  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 60%;
    max-width: 150px;
    max-height: 90vh; /* altura quase total da tela */
    height: auto; /* permite expandir conforme o conteúdo */
    background-color: #ffffff;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    margin-top: 0;
    border-radius:10px;  
  }

  .navbar-collapse.show {
    transform: translateX(0);
  }

  .close-menu-btn {
    display: block;
    text-align: right;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .navbar-nav,
  .navbar-nav .nav-item {
    width: 100%;
  }

  .navbar-nav .nav-link {
    font-size: 1.05rem;
    padding: 0.75rem 0;
    padding-left: 1rem; /* adiciona espaço da borda esquerda */
    border-bottom: 0.2px solid #eee;
    color: #111 !important;
    text-align: left;
  }

  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }

.navbar-nav .dropdown-menu {
  position: static !important;  /* remove o comportamento 'absolute' padrão do Bootstrap */
  float: none;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 1rem; /* desloca levemente à esquerda */
  background-color: #fff; /* para garantir legibilidade */
  border: none;
  box-shadow: none;
}

.navbar-nav .dropdown-menu .dropdown-item {
  padding-left: 1.5rem;
}
  
.dropdown-menu.showing {
  max-height: 300px; /* ou maior, conforme conteúdo */
}

.navbar-toggler {
  z-index: 1051;
  border: none;
  padding: 0.5rem 0.75rem;
  font-size: 1.1rem;
  margin-right: auto;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 152, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
}
/* ============================
   Capa e topo
============================ */

/* Estética extra (opcional): */
  .navbar.scrolled {
    background-color: #121212cc !important;
    transition: background-color 0.3s ease;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
.topo {
  background-color: whitesmoke;
  color: black;
  padding: 2rem 0;
  text-align: center;
}

.bullet {
  color: red;
  margin-right: 6px;
}

.btn-primary {
  background-color: #4e2a84;
  border: none;
}

.btn-primary:hover {
  background-color: #3b2369;
}

.creditos {
  font-size: 0.9rem;
  color: #555;
  text-align: center;
  margin-top: 10px;
}

/* Grid responsiva */
@media (max-width: 768px) {
  .section-sobre .col-md-3 img {
    max-width: 150px; /* ou o tamanho que preferir */
    margin: 0 auto 1rem; /* centraliza a imagem */
    display: block; /* necessário para margin auto funcionar */
  }
  
  .section-sobre .row {
    flex-direction: column; /* empilha a imagem e o texto */
    text-align: center; /* centraliza o texto */
  }
  
  .section-sobre .col-md-3, 
  .section-sobre .col-md-9 {
    width: 100%; /* faz ocupar toda a largura */
    max-width: 100%;
  }
  
  .lista-habilidades {
    text-align: left; /* mantém alinhamento à esquerda apenas para a lista */
    display: inline-block; /* necessário para text-align left funcionar */
  }
}

@media (min-width: 992px) {
    .navbar-collapse {
      position: static;
      background-color: transparent;
      padding: 0;
      border-radius: 0;
    }
  }


@media (min-width: 600px) {
  .related-posts {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .post-card {
    flex: 1 1 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }
}

@media (min-width: 900px) {
  .post-card {
    flex: 1 1 calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
  }
}

@media (max-width: 768px) {
  .hero-image {
    padding-top: 60px;
    padding-bottom: 100px;
  }
}


/* ============================
   Rodapé
============================ */
.rodape {
  background-color: #343a40;
  color: white;
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 2rem;
}

footer a:hover i {
  color: #f3c1e0; /* ou qualquer tom pastel da sua paleta */
  transition: color 0.3s;
}


/* ============================
   Utilitários
============================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
