
      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      body {
        font-family: "Poppins", sans-serif;
       background: linear-gradient(135deg, #1e293b, #0f172a);
         color: #f8fafc; /* texto claro para contraste */
        display: flex;
        min-height: 100vh;
      }

      /* Sidebar */
      .sidebar {
        background: #111827;
        color: #fff;
        width: 250px;
        height: 100vh;
        padding: 2rem 1rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: fixed;
        top: 0;
        left: 0;
        transition: all 0.3s ease;
        z-index: 1000;
      }

      .sidebar .header {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
      }

      .sidebar .header img {
        width: 40px;
        height: 40px;
      }

      .sidebar h1 {
        font-size: 1.2rem;
        font-weight: 600;
      }

      .sidebar nav {
        display: flex;
        flex-direction: column;
        gap: 1rem;
      }

      .sidebar nav a {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        text-decoration: none;
        color: #cbd5e1;
        padding: 0.75rem 1rem;
        border-radius: 0.75rem;
        transition: all 0.3s ease;
      }

      .sidebar nav a:hover,
      .sidebar nav a.active {
        background: #2563eb;
        color: #fff;
      }

      .sidebar nav a i {
        font-size: 1.2rem;
      }

      /* Conteúdo */
      .content {
        margin-left: 250px;
        padding: 2rem;
        width: 100%;
        transition: margin-left 0.3s ease;
      }

      /* Grid da galeria */
      .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
        margin-top: 2rem;
      }

      .gallery-item {
        position: relative;
        overflow: hidden;
        border-radius: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        cursor: pointer;
        transition: transform 0.3s ease;
      }

      .gallery-item img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        transition: transform 0.3s ease;
      }

      .gallery-item:hover img {
        transform: scale(1.1);
      }

     

      .gallery-item:hover::after {
        opacity: 1;
      }

      

      /* Responsivo */
      @media (max-width: 768px) {
        .sidebar {
          left: -250px;
        }

        .sidebar.active {
          left: 0;
        }

        .content {
          margin-left: 0;
        }

        .menu-btn {
          display: flex;
        }
      }
    /* grid moderno */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
  padding-bottom: 40px;
}

/* item */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.3s ease;
  background: #0f172a;
}

.gallery-item:hover {
  transform: translateY(-8px);
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 20px;
  filter: grayscale(60%);
  transition: all 0.6s ease;
  animation: zoomSlow 14s ease-in-out infinite alternate;
}

/* animação lenta */
@keyframes zoomSlow {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

/* overlay fixo */
.gallery-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.1));
  text-align: center;
}

.gallery-item h3 {
  font-size: 18px;
  font-weight: 600;
  color:  #38bdf8;
  margin: 0;
  letter-spacing: 1px;
  text-shadow: 0 3px 6px rgba(0,0,0,0.6);
}

/* hover = imagem colorida */
.gallery-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.12);
}
