/* ============================================
   SHOP CATALOG — EDITORIAL GRID
   ============================================ */

/* ═══ HERO ═══ */
.shop-hero {
  padding: 180px 6vw 32px;
  background: var(--bg);
  position: relative;
}

.shop-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8vw;
  right: 8vw;
  bottom: 0;
  border-bottom: 1px solid var(--border);
}

.shop-hero__inner {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.shop-hero__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 200;
  letter-spacing: -0.045em;
  line-height: 0.93;
  color: var(--text);
  margin: 20px 0 28px;
  white-space: nowrap;
}

.shop-hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--primary);
}

.shop-hero__sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 520px;
  margin: 0;
}

/* ═══ FILTERS ═══ */
.shop-catalog {
  padding: 140px 6vw 120px;
  background: var(--bg);
}

.shop-catalog__inner {
  max-width: 1400px;
  margin: 0 auto;
}

.shop-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.shop-filter {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.shop-filter:hover {
  background: var(--pink-soft);
  border-color: var(--primary);
  color: var(--primary-variant);
}

.shop-filter.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ═══ GRID ═══ */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ═══ CARD ═══ */
.shop-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.shop-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.08);
  border-color: var(--border-strong);
}

/* Visual */
.shop-card__visual {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.shop-card__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.shop-card:hover .shop-card__visual img {
  transform: scale(1.06);
}

/* Fondu photo → carte */
.shop-card__visual:has(img)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to bottom, transparent 0%, rgba(255, 232, 240, 0.35) 55%, #ffffff 100%);
  pointer-events: none;
  z-index: 1;
}

.shop-card__visual svg {
  width: 56px;
  height: 56px;
  opacity: 0.7;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.shop-card:hover .shop-card__visual svg {
  transform: scale(1.1);
  opacity: 1;
}

/* Color variants */
.shop-card__visual--formation {
  background: linear-gradient(135deg, var(--pink-soft) 0%, #f8e8ed 50%, var(--bg-warm) 100%);
  color: var(--primary);
}
.shop-card__visual--community {
  background: linear-gradient(135deg, #e8f0f8 0%, #f0f4f8 50%, var(--bg-cool) 100%);
  color: #4a7fb5;
}
.shop-card__visual--content {
  background: linear-gradient(135deg, #f0e8f8 0%, #f4f0f8 50%, #f8f4fc 100%);
  color: #7b5ea7;
}
.shop-card__visual--coaching {
  background: linear-gradient(135deg, #e8f8f0 0%, #f0f8f4 50%, #f4fcf8 100%);
  color: #5ea77b;
}
.shop-card__visual--templates {
  background: linear-gradient(135deg, #f8f0e8 0%, #f8f4f0 50%, #fcf8f4 100%);
  color: #a77b5e;
}
.shop-card__visual--elearning {
  background: linear-gradient(135deg, var(--pink-soft) 0%, #fce8f0 50%, #f8f0f4 100%);
  color: var(--primary);
}
.shop-card__visual--siteweb {
  background: linear-gradient(135deg, #e8eef8 0%, #eef2fb 50%, #f4f7fd 100%);
  color: #3a6bbf;
}

/* Badge "Populaire" */
.shop-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  z-index: 2;
}

/* Body */
.shop-card__body {
  padding: 0 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  position: relative;
  z-index: 2;
}

/* Cards avec photo : le body remonte dans la zone de fondu */
.shop-card:has(.shop-card__visual img) .shop-card__body {
  margin-top: -32px;
  padding-top: 0;
}

/* Cards sans photo (SVG icon) : padding normal */
.shop-card:not(:has(.shop-card__visual img)) .shop-card__body {
  padding-top: 28px;
}

.shop-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.shop-card__tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--primary);
  background: var(--pink-soft);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.shop-card__body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.25;
  margin: 2px 0 0;
}

.shop-card__body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

.shop-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.shop-card__price {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text);
}

.shop-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  transition: gap 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.shop-card:hover .shop-card__link {
  gap: 10px;
}

/* ═══ TRUST BAND ═══ */
.shop-trust {
  padding: 48px 6vw;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.shop-trust__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.shop-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 400;
}

.shop-trust-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary);
  flex-shrink: 0;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .shop-hero { padding: 140px 48px 60px; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-catalog { padding: 48px 48px 80px; }
}

@media (max-width: 768px) {
  .shop-hero { padding: 110px 20px 40px; }
  .shop-hero__title { font-size: clamp(36px, 10vw, 52px); }
  .shop-catalog { padding: 32px 20px 60px; }
  .shop-filters { gap: 6px; margin-bottom: 32px; }
  .shop-filter { padding: 8px 16px; font-size: 12px; }
  .shop-grid { grid-template-columns: 1fr; gap: 16px; }
  .shop-card__body { padding: 24px 20px 28px; }
  .shop-trust { padding: 32px 20px; }
  .shop-trust__inner { gap: 24px; }
}
