/* Page de toutes les marques */
.all-brands-page {
  min-height: 100vh;
  background-color: var(--soft-cream, #e8ece6); /* Softer cream matching vitrine1.css */
}

.brands-hero {
  background: linear-gradient(135deg, var(--dark-gold, #b8956a) 0%, var(--gold-accent, #e6bb87) 100%); /* Deep green gradient */
  color: var(--neutral-white, #ffffff);
  padding: 60px 0;
  text-align: center;
}

.brands-title {
  font-family: var(--font-heading, "Playfair Display", serif);
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.brands-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.brands-content {
  padding: 80px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 2rem;
}

.brand-card {
  background: var(--neutral-white, #ffffff);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); /* Stronger shadow for luxury */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.brand-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); /* Enhanced shadow for hover */
}

.brand-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.brand-image-container {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #d8ded8 0%, #e8ece6 100%); /* Subtle green-gray gradient */
}

.brand-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.brand-card:hover .brand-image {
  transform: scale(1.05);
}

.brand-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d8ded8 0%, #e8ece6 100%); /* Matching green-gray gradient */
}

.brand-placeholder svg {
  width: 60px;
  height: 60px;
  color: var(--text-light, #7a8c7f); /* Light green-gray */
}

.brand-info {
  padding: 24px;
}

.brand-name {
  font-family: var(--font-heading, "Playfair Display", serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark-gold, #b8956a); /* Muted green-gold */
  margin-bottom: 0.5rem;
}

.brand-description {
  color: var(--text-color, #4a5c4f); /* Muted green-gray for text */
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.brand-stats {
  display: flex;
  align-items: center;
  gap: 15px;
}

.parfums-count {
  background: linear-gradient(135deg, var(--gold-accent, #2e8b57), var(--dark-gold, #1c5c3b)); /* Green gradient */
  color: var(--neutral-white, #ffffff);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.brand-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(28, 92, 59, 0.9); /* Darker green overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--neutral-white, #ffffff);
}

.brand-card:hover .brand-overlay {
  opacity: 1;
}

.view-brand-text {
  font-family: var(--font-heading, "Playfair Display", serif);
  font-size: 1.2rem;
  font-weight: 600;
}

.brand-overlay svg {
  width: 24px;
  height: 24px;
}

/* État vide */
.no-brands {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-color, #4a5c4f); /* Muted green-gray */
}

.no-brands-icon {
  margin-bottom: 20px;
}

.no-brands-icon svg {
  width: 80px;
  height: 80px;
  color: var(--text-light, #7a8c7f); /* Light green-gray */
}

.no-brands h3 {
  font-family: var(--font-heading, "Playfair Display", serif);
  font-size: 1.8rem;
  color: var(--dark-gold, #2e8b57); /* Muted green-gold */
  margin-bottom: 10px;
}

.no-brands p {
  font-size: 1.1rem;
  max-width: 400px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  .brands-title {
    font-size: 2.5rem;
  }

  .brands-subtitle {
    font-size: 1.1rem;
  }

  .brands-hero {
    padding: 40px 0;
  }

  .brands-content {
    padding: 40px 0;
  }

  .brands-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }

  .brand-image-container {
    height: 180px;
  }

  .brand-info {
    padding: 20px;
  }

  .brand-name {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .brands-title {
    font-size: 2rem;
  }

  .brands-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .brand-image-container {
    height: 160px;
  }

  .brand-info {
    padding: 16px;
  }
}