
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #ffffff;
    cursor: pointer;
    position: relative;
    z-index: 9999;
  }
  body.menu-open {
    overflow: hidden;
  }
  
  .logo-mobile,
.menu-toggle,
.search-toggle,
.overlay {
  display: none;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  position: static;
  height: auto;
  width: auto;
  background: none;
  padding: 0;
}
/* Responsividade para tablets */
@media (max-width: 768px) {
    .cards {
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 2rem;
    }
  
    .card {
      padding: 1.8rem;
      min-height: 320px;
    }
  
    .card h3 {
      font-size: 1.4rem;
    }
  
    .card h4 {
      font-size: 0.98rem;
    }
  
    .card-title img {
      width: 56px;
      height: 56px;
    }
  
    .hero h2 {
      font-size: 2.2rem;
    }
  
    .hero p {
      font-size: 1.05rem;
    }
  }
  
  /* Responsividade para mobile */
  @media (max-width: 480px) {
    .cards {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      column-gap: 0.5rem;
      row-gap: 0.5rem;
      justify-items: center;
      align-items: center;
      width: 95%;
      margin: 0 auto;
    }
  
    .card {
      padding: 1.5rem;
      min-height: 50px;
      height: auto;
      width: 100%;
      aspect-ratio: 1 / 1;
    }
  
    .hero h2 {
      font-size: 1.8rem;
    }
  
    .hero p {
      font-size: 0.95rem;
    }
  
    .card-title img {
      width: 50px;
      height: 50px;
    }
  
    .card h3 {
      font-size: 1.4rem;
    }
  
    .card h4 {
      font-size: 0.92rem;
      display: none;
    }
    .header {
      padding: 1rem 0;
      display: none;
      justify-content: center;
      align-items: center;
    }
  
    .logo-img {
      /* padding-top: -40px; */
      display:none;
      cursor: pointer;
    }
    .navbar-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.6rem 0.8rem;
        position: relative;
      }
  
      .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: #A33A26;
        flex-direction: column;
        padding: 2rem;
        gap: 1.2rem;
        transition: 0.3s ease;
        z-index: 999;
        align-items: flex-start;
      }
    


      .nav-links.active {
        left: 0;
        padding-top: 50px;
      }
      
      .nav-links a {
        display: block;
        width: 100%;
        text-align: left;
        padding: 0.8rem 0;
        color: white;
        font-weight: 500;
      }
      
      
  
    .nav-links i {
      font-size: 1.1rem;
    }
  
    .nav-search {
        width: 100%;
        order: 3;
        display: none !important;
        margin: 0;
        padding: 0;
        height: 0;
      }
  
      .nav-search input {
        width: 100%;
        font-size: 0.9rem;
        padding: 0.45rem 0.6rem;
      }
      .menu-toggle,
      .search-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: white;
        cursor: pointer;
        z-index: 1001;
      }
      .overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        backdrop-filter: blur(3px);
        opacity: 0;
        pointer-events: none;
        transition: 0.3s ease;
        z-index: 998;
      }
      
      .overlay.active {
        opacity: 1;
        pointer-events: auto;
      }
      /* Logo central */
  .logo-mobile {
    display: block;
    max-width: 110px;
    height: auto;
    cursor: pointer;
  }
  .nav-search.active {
    display: flex;
    width: 100%;
    background: var(--bg-card);
    padding: 0.8rem;
    border-radius: 12px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
  }

/* ===== Cards da tela de Lideranças ===== */
  .cardsLiderancas {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0.8rem;
  }
  
  .cardlideranca {
    width: 100%;     /* tira os 500px */
    height: auto;    /* remove altura fixa */
    padding: 1rem;
  }
  
  .cardlideranca h3 {
    font-size: 1rem;
    text-align: center;
  }
  
  .cardlideranca h4 {
    font-size: 0.8rem;
    display: none;
  }
  
  .card-title-lideranca img {
    max-width: 100%;
    border-radius: 10px;
  }
  
  } 

  