/**
 * Chicaguapa - Styles Hero Double Univers (Chica Guapa + Plexipop Vibes)
 * Palette V2 : Pastels doux, inspiré SKADI + Graines de Bonheur
 */

.cg-hero-dual-brand {
  padding: 3rem 0 4rem;
  background: var(--cg-fond-beige, #F6F2EF);
}

.cg-dual-brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Carte Marque --- */
.cg-brand-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: white;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.cg-brand-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(200, 224, 196, 0.25);
}

.cg-brand-card__link {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
}

/* --- Image --- */
.cg-brand-card__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.cg-brand-card__placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--cg-sage-pastel, #C8E0C4) 0%, var(--cg-rose-nude, #E8CFCB) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cg-brand-card__placeholder-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
}

/* --- Overlay --- */
.cg-brand-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 2rem;
  transition: background 0.3s ease;
}

.cg-brand-card:hover .cg-brand-card__overlay {
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
}

/* --- Contenu Overlay --- */
.cg-brand-card__logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  color: white;
  margin: 0 0 0.5rem;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.cg-brand-card[data-brand="plexipop-vibes"] .cg-brand-card__logo {
  font-size: clamp(1.2rem, 2.8vw, 1.85rem);
  line-height: 1.2;
  max-width: none;
}

.cg-brand-card__description {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 1.25rem;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.cg-brand-card__cta {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: white;
  color: var(--cg-texte-soft, #4A4742);
  border-radius: 40px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.cg-brand-card__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* --- Différenciation des 2 marques --- */
.cg-brand-card[data-brand="chica-guapa"] .cg-brand-card__cta {
  background: linear-gradient(90deg, #C8E0C4 0%, #C8E0C4 100%);
  color: #2c2925;
}

.cg-brand-card[data-brand="plexipop-vibes"] .cg-brand-card__cta {
  background: linear-gradient(90deg, #E8CFCB 0%, #E8CFCB 100%);
  color: #2c2925;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .cg-hero-dual-brand {
    padding: 2.5rem 0 3rem;
  }

  .cg-dual-brand-grid {
    gap: 1.5rem;
  }

  .cg-brand-card__logo {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .cg-brand-card__description {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .cg-brand-card__overlay {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .cg-dual-brand-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cg-hero-dual-brand {
    padding: 2rem 0;
  }

  .cg-brand-card__image,
  .cg-brand-card__placeholder {
    aspect-ratio: 16 / 10;
  }

  .cg-brand-card__cta {
    padding: 0.65rem 1.75rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 575px) {
  .cg-brand-card__logo {
    font-size: 1.5rem;
  }

  .cg-brand-card__description {
    font-size: 0.8rem;
  }

  .cg-brand-card__overlay {
    padding: 1.25rem;
  }
}
