/*
 * Classes customizadas para o card do marketplace (marketplace.php)
 * Todas as regras abaixo são usadas para separar o CSS do HTML.
 */

.card-footer-marketplace {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.btn-marketplace {
  background: linear-gradient(90deg,#b197fc,#9775fa);
  color: #18171c;
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s;
  border: none;
  padding: 12px 32px;
  font-size: 1.05rem;
  margin: 0 auto;
  display: block;
  box-shadow: 0 2px 12px #b197fc;
  letter-spacing: 0.5px;
}
/*
 * Classes customizadas para o card de banda (bandas.php)
 * Todas as regras abaixo são usadas para separar o CSS do HTML.
 */

.card-footer-banda {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.btn-banda {
  background: linear-gradient(90deg,#b197fc,#9775fa);
  color: #18171c;
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s;
  border: none;
  padding: 12px 32px;
  font-size: 1.05rem;
  margin: 0 auto;
  display: block;
  box-shadow: 0 2px 12px #b197fc;
  letter-spacing: 0.5px;
}
/* --- AJUSTE DARK PARA PERFIL (FORÇA FUNDO ESCURO) --- */
.profile-container {
  background: #18181c !important;
  border-radius: 20px !important;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.30) !important;
  color: #fff !important;
}
.profile-container input[type="text"],
.profile-container textarea {
  background: #23232a !important;
  border: 1px solid #333 !important;
  color: #fff !important;
}
.profile-container .profile-pic {
  background: #23232a !important;
  border: 3px solid #7c5fe6 !important;
  color: #7c5fe6 !important;
}
.profile-container .profile-info h2 {
  color: #bbaaff !important;
}
.profile-container .profile-info .desc {
  color: #bbb !important;
}
.profile-container .profile-info .info-icon {
  color: #bbaaff !important;
}
.profile-container .profile-edit label {
  color: #bbaaff !important;
}
.profile-container .profile-edit input[type="file"] {
  color: #bbaaff !important;
}
.profile-container .profile-edit button {
  background: #7c5fe6 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.20) !important;
}
.profile-container .profile-edit button:hover {
  background: #5a3bb3 !important;
}
.content-grid .card, .content-grid .card:hover {
  background: #23222a !important;
  color: #f7f7fa !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px #18171c !important;
  border: 1.5px solid #23222a !important;
}
.content-grid .card .card-title {
  color: #b197fc !important;
}
.content-grid .card .card-info, .content-grid .card p, .content-grid .card span {
  color: #e0def7 !important;
}
/* Fundo mais claro para área de favoritos */
.favorites, .fav-carousel {
  background: rgba(18, 17, 24, 0.92) !important;
  color: #f7f7fa !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 24px #0e0e13cc !important;
  padding: 24px 0 16px 0 !important;
  margin-bottom: 32px !important;
  backdrop-filter: blur(2.5px);
}
.fav-carousel .card, .favorites .card {
  background: rgba(35, 34, 42, 0.92) !important;
  color: #f7f7fa !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 12px #18171c99 !important;
  border: 1.5px solid #23222a !important;
  min-width: 220px;
  max-width: 240px;
  transition: box-shadow 0.2s, transform 0.15s !important;
  backdrop-filter: blur(1.5px);
}
.fav-carousel .card:hover, .favorites .card:hover {
  box-shadow: 0 4px 18px #7c5fe6cc !important;
  transform: translateY(-4px) scale(1.03) !important;
  border-color: #7c5fe6 !important;
}
.favorites h3 {
  color: #bbaaff !important;
  font-size: 2.1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 18px !important;
}
.favorite-btn {
  background: rgba(30, 29, 38, 0.85) !important;
  border: none !important;
  border-radius: 50% !important;
  width: 38px !important;
  height: 38px !important;
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px #18171c55 !important;
  z-index: 2;
  transition: background 0.2s;
}
.favorite-btn:hover {
  background: #7c5fe6 !important;
}
.favorite-btn .fa-heart {
  color: #bbaaff !important;
  font-size: 1.3rem !important;
  transition: color 0.2s;
}
.favorite-btn:hover .fa-heart {
  color: #fff !important;
}
.fav-carousel::-webkit-scrollbar {
  height: 8px;
  background: #23222a;
  border-radius: 8px;
}
.fav-carousel::-webkit-scrollbar-thumb {
  background: #7c5fe6;
  border-radius: 8px;
}
.fav-nav-btn {
  background: #18171c !important;
  color: #bbaaff !important;
  border-radius: 50% !important;
  border: none !important;
  box-shadow: 0 2px 8px #18171c99 !important;
  width: 38px !important;
  height: 38px !important;
  z-index: 2;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.fav-nav-btn:hover {
  background: #7c5fe6 !important;
  color: #fff !important;
}
.favorites .card, .fav-carousel .card {
  background: #23222a !important;
  color: #f7f7fa !important;
  border-radius: 10px !important;
  box-shadow: 0 1px 4px #0e0e13 !important;
  border: none !important;
}
.favorites .card:hover, .fav-carousel .card:hover {
  box-shadow: 0 2px 8px #2d2d3a !important;
  transform: translateY(-2px) scale(1.01) !important;
}
.favorites h3 {
  color: #fff !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  letter-spacing: 0.5px !important;
}
.dark-bg, .favorites, .profile-products-section, .profile-header {
  background: #18171c !important;
  color: #f7f7fa !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 8px #0e0e13 !important;
}
.card, .profile-product-card {
  background: #23222a !important;
  color: #f7f7fa !important;
  border-radius: 10px !important;
  box-shadow: 0 1px 4px #0e0e13 !important;
  transition: box-shadow 0.2s, transform 0.15s !important;
}
.card:hover, .profile-product-card:hover {
  box-shadow: 0 2px 8px #2d2d3a !important;
  transform: translateY(-2px) scale(1.01) !important;
}
.profile-header .profile-avatar {
  border: 4px solid #23222a !important;
  box-shadow: none !important;
}
.profile-header .profile-info h1 {
  font-size: 2.2rem !important;
  color: #fff !important;
  margin-bottom: 8px !important;
  font-weight: 700 !important;
}
.profile-header .profile-actions button, .profile-header .profile-actions a, .profile-product-btn {
  background: #23222a !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 8px 22px !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  box-shadow: none !important;
  transition: background 0.2s !important;
  text-decoration: none !important;
  text-align: center !important;
}
.profile-header .profile-actions button:hover, .profile-header .profile-actions a:hover, .profile-product-btn:hover {
  background: #18171c !important;
  box-shadow: none !important;
}
.favorites h3, .profile-products-section h2 {
  color: #fff !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  letter-spacing: 0.5px !important;
}
/* --- PADRONIZAÇÃO FINAL: REMOVE NEON E GRADIENTES DE TODO O SITE --- */
.favorites, .profile-products-section, .profile-header {
  background: #f7f7fa !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 8px #e5dbff !important;
}
.card, .profile-product-card {
  background: #fff !important;
  border-radius: 10px !important;
  box-shadow: 0 1px 4px #e5dbff !important;
  transition: box-shadow 0.2s, transform 0.15s !important;
}
.card:hover, .profile-product-card:hover {
  box-shadow: 0 2px 8px #bbaaff44 !important;
  transform: translateY(-2px) scale(1.01) !important;
}
.profile-header .profile-avatar {
  border: 4px solid #e5dbff !important;
  box-shadow: none !important;
}
.profile-header .profile-info h1 {
  font-size: 2.2rem !important;
  color: #3d246c !important;
  margin-bottom: 8px !important;
  font-weight: 700 !important;
}
.profile-header .profile-actions button, .profile-header .profile-actions a, .profile-product-btn {
  background: #7b2ff2 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 8px 22px !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  box-shadow: none !important;
  transition: background 0.2s !important;
  text-decoration: none !important;
  text-align: center !important;
}
.profile-header .profile-actions button:hover, .profile-header .profile-actions a:hover, .profile-product-btn:hover {
  background: #9775fa !important;
  box-shadow: none !important;
}
.favorites h3, .profile-products-section h2 {
  color: #7b2ff2 !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  letter-spacing: 0.5px !important;
}
/* --- PADRONIZAÇÃO VISUAL SÓBRIA (SOBRESCREVE DUPLICATAS) --- */
.favorites, .profile-products-section, .profile-header {
  background: #f7f7fa !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 8px #e5dbff !important;
}
.card, .profile-product-card {
  background: #fff !important;
  border-radius: 10px !important;
  box-shadow: 0 1px 4px #e5dbff !important;
  transition: box-shadow 0.2s, transform 0.15s !important;
}
.card:hover, .profile-product-card:hover {
  box-shadow: 0 2px 8px #bbaaff44 !important;
  transform: translateY(-2px) scale(1.01) !important;
}
.profile-header .profile-avatar {
  border: 4px solid #e5dbff !important;
  box-shadow: none !important;
}
.profile-header .profile-info h1 {
  font-size: 2.2rem !important;
  color: #3d246c !important;
  margin-bottom: 8px !important;
  font-weight: 700 !important;
}
.profile-header .profile-actions button, .profile-header .profile-actions a, .profile-product-btn {
  background: #7b2ff2 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 8px 22px !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  box-shadow: none !important;
  transition: background 0.2s !important;
  text-decoration: none !important;
  text-align: center !important;
}
.profile-header .profile-actions button:hover, .profile-header .profile-actions a:hover, .profile-product-btn:hover {
  background: #7c5fe6 !important;
  box-shadow: none !important;
}
/* --- ABA PRODUTOS À VENDA NO PERFIL --- */
.profile-products-section {
  margin-top: 36px;
  background: #f8f5ff;
  border-radius: 20px;
  box-shadow: 0 4px 32px #e5dbff;
  padding: 32px 24px 24px 24px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.profile-products-section h2 {
  color: #7b2ff2;
  font-size: 1.6rem;
  margin-bottom: 18px;
  font-weight: 800;
}
.profile-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.profile-product-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px #bbaaff33;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: box-shadow 0.3s, transform 0.2s;
}
.profile-product-card:hover {
  box-shadow: 0 8px 32px #9775fa44;
  transform: translateY(-4px) scale(1.03);
}
.profile-product-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}
.profile-product-content {
  padding: 16px 14px 12px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.profile-product-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #7b2ff2;
  margin-bottom: 4px;
}
.profile-product-price {
  color: #ff2d55;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.profile-product-desc {
  color: #555;
  font-size: 0.98rem;
  margin-bottom: 8px;
}
.profile-product-btn {
  background: linear-gradient(90deg,#7b2ff2,#9775fa);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 7px 18px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 2px 12px #e5dbff;
  transition: background 0.2s, box-shadow 0.2s;
  text-decoration: none;
  text-align: center;
  margin-top: 8px;
}
.profile-product-btn:hover {
  background: linear-gradient(90deg,#9775fa,#7b2ff2);
  box-shadow: 0 4px 24px #bbaaff;
}

@media (max-width: 700px) {
  .profile-header, .profile-products-section {
    padding: 16px 4px;
    border-radius: 10px;
  }
  .profile-products-grid {
    grid-template-columns: 1fr;
  }
}

/* --- FAVORITOS MAIS BONITO E RESPONSIVO --- */
.favorites {
  background: #f8f5ff;
  border-radius: 24px;
  box-shadow: 0 4px 32px #e5dbff;
  padding: 32px 12px 24px 12px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}
.fav-carousel {
  min-width: 0;
  width: 100%;
  display: flex;
  gap: 32px;
  padding-bottom: 8px;
  scroll-behavior: smooth;
  overflow-x: auto;
  scrollbar-width: none;
}
.fav-carousel::-webkit-scrollbar {
  display: none;
}
.card {
  min-width: 240px;
  max-width: 260px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px #bbaaff33;
  transition: box-shadow 0.3s, transform 0.2s;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.card:hover {
  box-shadow: 0 8px 32px #9775fa44;
  transform: translateY(-4px) scale(1.03);
}
.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  margin-bottom: 16px;
}
.card-content {
  padding: 18px 16px 12px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #7b2ff2;
  margin-bottom: 6px;
}
/* --- PERFIL BONITO --- */
.profile-header {
  display: flex;
  align-items: center;
  gap: 32px;
  background: linear-gradient(90deg,#9775fa 60%,#f3f0ff 100%);
  border-radius: 24px;
  box-shadow: 0 4px 32px #e5dbff;
  padding: 32px 40px;
  margin-bottom: 36px;
}
.profile-header .profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: 0 2px 16px #bbaaff;
}
.profile-header .profile-info {
  flex: 1;
}
.profile-header .profile-info h1 {
  font-size: 2.4rem;
  color: #7b2ff2;
  margin-bottom: 8px;
  font-weight: 800;
}
.profile-header .profile-info p {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 0;
}
.profile-header .profile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.profile-header .profile-actions button, .profile-header .profile-actions a {
  background: linear-gradient(90deg,#7b2ff2,#9775fa);
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 8px 22px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 2px 12px #e5dbff;
  transition: background 0.2s, box-shadow 0.2s;
  text-decoration: none;
  text-align: center;
}
.profile-header .profile-actions button:hover, .profile-header .profile-actions a:hover {
  background: linear-gradient(90deg,#9775fa,#7b2ff2);
  box-shadow: 0 4px 24px #bbaaff;
}

/* --- FAVORITOS MAIS BONITO NO INDEX --- */
.favorites {
  background: #23232b;
  color: #f7f7fa;
  border-radius: 24px;
  box-shadow: 0 4px 32px #18171c;
  padding: 32px 24px 24px 24px;
  margin-bottom: 40px;
  width: 100vw;
}
.favorites h3 {
  color: #7b2ff2;
  font-size: 2.2rem;
  margin-bottom: 18px;
  letter-spacing: 1px;
  font-weight: 800;
  text-shadow: 0 2px 8px #e5dbff;
}
.fav-carousel {
  min-width: 0;
  width: 100%;
  max-width: 100vw;
  display: flex;
  gap: 32px;
  padding-bottom: 8px;
  scroll-behavior: smooth;
  overflow-x: auto;
  scrollbar-width: none;
}
.fav-carousel::-webkit-scrollbar {
  display: none;
}
.card {
  min-width: 240px;
  max-width: 260px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px #bbaaff33;
  transition: box-shadow 0.3s, transform 0.2s;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.card:hover {
  box-shadow: 0 8px 32px #9775fa44;
  transform: translateY(-4px) scale(1.03);
}
.card-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}
.card-content {
  padding: 18px 16px 12px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #7b2ff2;
  margin-bottom: 6px;
}
/*
 * Arquivo: css/pages.css
 * Descrição: Estilos reutilizáveis para componentes de diversas páginas internas do site.
 * Inclui a estilização do carrossel, cabeçalhos de página, barra de filtros, grid de cards,
 * paginação, formulários gerais e layout de perfis.
 */

/* --- pages.css --- */
/* Estilos para componentes das páginas internas do TuneUP */

/* --- CARROSSEL DA PÁGINA INICIAL --- */
.banner-carousel {
  margin-bottom: 60px;
}

.carousel-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 6;
  border-radius: 20px;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  padding: 40px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide img {
  width: 50%;
  height: 100%;
  border-radius: 15px;
  object-fit: cover;
}

.carousel-text {
  width: 45%;
}

.carousel-text h2 {
  font-size: 3rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.carousel-text p {
  font-size: 1.1rem;
}

.carousel-slide.rock {
  background: var(--rock-gradient);
}

.carousel-slide.pop {
  background: var(--pop-gradient);
}

.carousel-slide.jazz {
  background: var(--jazz-gradient);
}

.carousel-slide.hiphop {
  background: var(--hiphop-gradient);
}

.carousel-slide.samba {
  background: var(--samba-gradient);
}

.carousel-dots {
  text-align: center;
  margin-top: 20px;
}

.carousel-dots .dot {
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background-color: #888;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-dots .dot.active {
  background-color: var(--accent-color);
}

/* --- ESTRUTURA E CABEÇALHO DA PÁGINA INTERNA--- */
.page-header {
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--shadow-color);
  padding-bottom: 30px;
}

.page-header h1 {
  font-size: 2.8rem;
  color: var(--text-color);
}

.page-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 10px auto 0;
  color: var(--text-color);
  opacity: 0.8;
}

/* --- BARRA DE FILTRO E PESQUISA --- */
.filter-bar {
  background-color: var(--card-color);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px var(--shadow-color);
  display: flex !important; /* Força o alinhamento flexbox */
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end !important; /* Força o alinhamento na parte inferior */
  margin-bottom: 40px;
}

.filter-group {
  flex-grow: 1;
  display: flex !important;
  flex-direction: column; /* Deixa o rótulo acima do input */
}

.filter-group label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--accent-color);
}

.filter-group input,
.filter-group select {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--shadow-color);
  background-color: var(--bg-color);
  color: var(--text-color);
  font-size: 1rem;
  width: 100%;
}

.filter-bar button {
  background-color: var(--accent-color);
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
  align-self: flex-end !important; /* Força o alinhamento dos botões na parte inferior */
}

.filter-bar button:hover {
  background-color: var(--hover-color);
}

/* --- GRID DE CONTEÚDO (CARDS) --- */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); /* Cards mais largos */
  gap: 40px;      /* Aumentado de 30px para criar mais espaço ENTRE os cards */
  padding: 40px;  /* Aumentado de 20px para criar mais margem AO REDOR do grid */
}

/* --- ESTILO BASE DO CARD --- */
.card {
  background-color: var(--card-color);
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-color);
}


.card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.card-footer {
  margin-top: auto;
  padding-bottom: 10px;
}

.favorite-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.15);
  color: var(--accent-color);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 22px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: all 0.3s ease;
  z-index: 2;
}

.favorite-btn:hover {
  background: var(--accent-color);
  color: #fff;
  transform: scale(1.15);
}

.favorite-btn .fas.fa-heart {
  color: #ff4d4d;
  text-shadow: 0 2px 8px rgba(255,77,77,0.15);
}
.favorite-btn .far.fa-heart {
  color: var(--accent-color);
}

.card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}

/* --- PAGINAÇÃO --- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
}

.pagination a,
.pagination span {
  color: var(--accent-color);
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 1px solid var(--accent-color);
}

.pagination a:hover {
  background-color: var(--hover-color);
  color: #fff;
  border-color: var(--hover-color);
}

.pagination .current {
  background-color: var(--accent-color);
  color: #fff;
}

.pagination .disabled {
  color: #888;
  pointer-events: none;
  border-color: #888;
}

/* --- FORMULÁRIOS (LOGIN, CADASTRO, CONFIGURAÇÕES) --- */
.form-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 160px);
  /* 100vh - header/footer height */
}

.form-container {
  width: 100%;
  max-width: 450px;
  margin: 20px;
  padding: 40px;
  background-color: var(--card-color);
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.form-container .logo {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.5rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--shadow-color);
  border-radius: 8px;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-size: 1rem;
}

.form-button {
  width: 100%;
  padding: 15px;
  background: linear-gradient(to right, var(--accent-color), var(--hover-color));
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.form-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.form-link {
  text-align: center;
  margin-top: 20px;
}

.form-link a {
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
}

.form-link a:hover {
  text-decoration: underline;
}

/* --- PÁGINA DE PERFIL E SOBRE --- */
.profile-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: flex-start;
}

.profile-sidebar {
  text-align: center;
  background-color: var(--card-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-color);
  position: sticky;
  top: 120px;
}

.profile-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--accent-color);
  margin-bottom: 20px;
}

.profile-sidebar h2 {
  font-size: 1.8rem;
}

.profile-sidebar p {
  color: #888;
  margin-bottom: 20px;
}

.profile-main-content .card {
  margin-bottom: 30px;
}

.about-section {
  max-width: 800px;
  margin: 0 auto 50px auto;
  text-align: center;
}

/* --- ABAS (FAVORITOS) --- */
.tabs-nav {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid var(--shadow-color);
  margin-bottom: 30px;
}

.tab-link {
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 600;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.tab-link:hover {
  color: var(--accent-color);
}

.tab-link.active {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* --- AJUSTES RESPONSIVOS PARA COMPONENTES --- */
@media(max-width: 900px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .carousel-container {
    aspect-ratio: 4 / 3;
  }

  .carousel-slide {
    flex-direction: column-reverse;
    justify-content: flex-end;
    text-align: center;
    gap: 20px;
    padding: 20px;
  }

  .carousel-slide img,
  .carousel-text {
    width: 100%;
    position: relative;
  }

  .carousel-slide img {
    height: 50%;
    max-width: 90%;
  }

  .carousel-text h2 {
    font-size: 2.2rem;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 25px;
  }
}
/* REMOVE ajuste gordinho dos cards do index */
.content-grid .card {
    min-height: initial !important;
    padding-bottom: initial !important;
}
.content-grid .card:hover {
    transform: scale(1.07) translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
}
.content-grid .card {
    min-height: 420px !important;
    padding-bottom: 40px !important;
}
.content-grid {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 18px; /* Aproximadamente 1 dedo de espaço entre os cards */
    padding: 18px; /* Aproximadamente 1 dedo ao redor do grid */
}
.content-grid .card {
    width: 360px !important;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* =================================================================== */
/* ESTILO RESPONSIVO E PROFISSIONAL PARA TODO O SITE                   */
/* =================================================================== */

body {
    background-color: #18181c;
    font-family: 'Inter', Arial, sans-serif;
    color: #f7f7fa;
    margin: 0;
    padding: 0;
}

.main-content, .content-grid, .highlights, .form-section, .profile-header, .profile-products-section {
    box-sizing: border-box;
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

/* --- GRID DE CARDS --- */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
    align-items: stretch;
}

.content-grid .card {
    background-color: #23232a;
    color: #f7f7fa;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 340px;
    max-width: 100%;
}

.content-grid .card:hover {
    transform: scale(1.05) translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.7);
}

.card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-info {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    color: #e0def7;
    font-size: 0.98rem;
}

.card-info li, .card-info p, .card-info span {
    color: #e0def7;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.card-info i {
    color: #b197fc;
    width: 16px;
    text-align: center;
}

.card-footer {
    margin-top: auto;
    padding: 0;
}

.card-footer .btn {
    display: block;
    width: 100%;
    margin: 0 auto 20px auto;
    padding: 12px;
    background-color: #b197fc;
    color: #18171c;
    border-radius: 10px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s;
    border: none;
}

.card-footer .btn:hover {
    background-color: #9775fa;
    color: #fff;
}

/* --- PAGINAÇÃO --- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding-bottom: 40px;
}

.pagination a,
.pagination span {
    color: #e0def7;
    background-color: #23222a;
    border: 1px solid #444;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
}

.pagination a:hover {
    background-color: #7c5fe6;
    border-color: #7c5fe6;
    color: #fff;
}

.pagination .current {
    background-color: #b197fc;
    color: #18171c;
    border-color: #b197fc;
    pointer-events: none;
}

/* --- RESPONSIVO --- */
@media (max-width: 900px) {
    .main-content, .content-grid, .highlights, .form-section, .profile-header, .profile-products-section {
        max-width: 100%;
        padding-left: 8px;
        padding-right: 8px;
    }
    .content-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 18px;
        padding: 10px;
    }
    .card-content {
        padding: 12px;
    }
}
@media (max-width: 600px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 4px;
    }
    .card-content {
        padding: 8px;
    }
    .card-title {
        font-size: 1rem;
    }
}
.content-grid .card,
.card {
    background-color: #23222a !important;
    color: #f7f7fa !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5) !important;
    border: none !important;
}

.card-title {
    color: #b197fc !important;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-info i {
    color: #b197fc !important;
}

.card-footer .btn {
    background-color: #b197fc !important;
    color: #18171c !important;
    border-radius: 10px !important;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s;
    border: none;
}

.card-footer .btn:hover {
    background-color: #9775fa !important;
    color: #fff !important;
}

/* --- AJUSTE TAMANHO FOTOS DESENVOLVEDORES SOBRE.PHP --- */
.sobre-dev-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #b197fc;
  box-shadow: 0 2px 12px #18171c44;
}
.sobre-dev-nome {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.sobre-dev-desc {
  font-size: 1.05rem;
}
.sobre-dev-card {
  padding: 24px;
}
.sobre-equipe {
  gap: 48px;
}
@media (max-width: 600px) {
  .sobre-dev-img {
    width: 80px;
    height: 80px;
  }
  .sobre-dev-card {
    padding: 12px;
  }
  .sobre-equipe {
    gap: 24px;
  }
}

/* SOBRE.PHP - ESTILOS REFORÇADOS */
.sobre-page {
  max-width: 800px;
  margin: 40px auto 0 auto;
  padding: 40px 32px;
  background: #23222a;
  border-radius: 28px;
  box-shadow: 0 4px 32px #18171c;
  color: #e0def7;
}
.sobre-titulo {
  color: #b197fc;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  text-align: center;
}
.sobre-descricao {
  font-size: 1.18rem;
  line-height: 1.7;
  margin-bottom: 24px;
  text-align: center;
}
.sobre-divisor {
  border: 1px solid #b197fc44;
  margin: 32px 0;
}
.sobre-subtitulo {
  color: #b197fc;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.sobre-lista {
  margin-bottom: 24px;
  padding-left: 0;
  list-style: none;
}
.sobre-historia {
  margin-bottom: 24px;
}
.sobre-equipe {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-bottom: 24px;
}
.sobre-dev-card {
  flex: 1;
  min-width: 220px;
  max-width: 260px;
  background: #29283a;
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 2px 12px #18171c44;
  transition: box-shadow 0.2s, transform 0.2s;
}
.sobre-dev-card:hover {
  box-shadow: 0 4px 24px #b197fc99;
  transform: translateY(-4px) scale(1.03);
}
.sobre-dev-img-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}
.sobre-dev-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #b197fc;
  box-shadow: 0 2px 12px #18171c44;
}
.sobre-dev-nome {
  color: #b197fc;
  margin-bottom: 6px;
  font-size: 1.25rem;
  font-weight: 700;
}
.sobre-dev-desc {
  font-size: 1.05rem;
  color: #e0def7;
}
.sobre-faq {
  margin-bottom: 24px;
}
.sobre-contato {
  margin-bottom: 18px;
}
.sobre-voltar {
  margin-top: 32px;
  text-align: center;
}
.sobre-voltar a {
  color: #b197fc;
  font-weight: 600;
  text-decoration: underline;
  font-size: 1.1rem;
  transition: color 0.2s;
}
.sobre-voltar a:hover {
  color: #9775fa;
}

/* Link customizado para sobre.php */
.sobre-link {
  color: #b197fc;
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.2s;
}
.sobre-link:hover {
  color: #9775fa;
}

/* Carrossel de favoritos - index.php */
.fav-carousel-wrapper {
  position: relative;
}
.fav-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #b197fc;
  color: #23222a;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
  box-shadow: 0 2px 8px #18171c44;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}
.fav-nav-btn-left {
  left: -32px;
}
.fav-nav-btn-right {
  right: -32px;
}
.fav-carousel {
  overflow-x: auto;
  display: flex;
  gap: 24px;
  padding-bottom: 8px;
  scroll-behavior: smooth;
  max-width: 100vw;
}
.fav-card {
  min-width: 220px;
  max-width: 240px;
}
.fav-empty {
  margin: 0;
  color: #b197fc;
  font-weight: 600;
  text-align: center;
}