/* Page Récompenses & promos — Wise Eat */
.promo-breadcrumb {
  padding-top: 1.5rem;
}

.promo-main {
  max-width: var(--site-max-width, 1200px);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.promo-hero {
  position: relative;
  margin: 0 -1.5rem 2.5rem;
  padding: 3.5rem 1.5rem 3.75rem;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(145deg, #392800 0%, #5a3d00 40%, #ffae00 120%);
  color: #fff;
}

.promo-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.12) 0%, transparent 42%),
    radial-gradient(circle at 85% 75%, rgba(255, 174, 0, 0.28) 0%, transparent 45%);
  pointer-events: none;
}

.promo-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.promo-hero-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff8e8;
}

.promo-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}

.promo-hero-lead {
  margin: 0 auto 1.75rem;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.promo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.promo-btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.promo-btn--primary {
  background: #fff;
  color: #392800;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

.promo-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.promo-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.promo-pill-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.promo-pill-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary, #392800);
  background: #fff;
  border: 1px solid rgba(57, 40, 0, 0.12);
  box-shadow: 0 2px 12px rgba(44, 36, 22, 0.06);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.promo-pill-nav a:hover {
  border-color: rgba(255, 174, 0, 0.55);
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--primary, #392800);
}

.promo-highlight-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

@media (min-width: 720px) {
  .promo-highlight-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.promo-highlight-card {
  padding: 1.5rem 1.35rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(57, 40, 0, 0.1);
  box-shadow: 0 6px 24px rgba(44, 36, 22, 0.06);
}

.promo-highlight-card--rewards {
  border-top: 4px solid #cd7f32;
}

.promo-highlight-card--coupons {
  border-top: 4px solid #ffae00;
}

.promo-highlight-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.65rem;
}

.promo-highlight-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary, #392800);
}

.promo-highlight-card p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted, #6b5d4a);
}

.promo-highlight-card a {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-light, #aa6900);
}

.promo-section {
  margin-bottom: 3.5rem;
  scroll-margin-top: calc(var(--site-header-height, 4rem) + 1rem);
}

.promo-section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  color: var(--primary, #392800);
}

.promo-section-lead {
  margin: 0 0 1.75rem;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted, #6b5d4a);
}

.promo-note {
  margin: 0 0 1.75rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #5a4a32;
  background: rgba(255, 174, 0, 0.12);
  border: 1px solid rgba(255, 174, 0, 0.28);
}

.promo-steps {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .promo-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .promo-steps--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.promo-step {
  padding: 1.15rem 1.1rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(57, 40, 0, 0.08);
}

.promo-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #392800;
  background: rgba(255, 174, 0, 0.25);
}

.promo-step h3 {
  margin: 0 0 0.4rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary, #392800);
}

.promo-step p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted, #6b5d4a);
}

.promo-tier-grid,
.promo-reward-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .promo-tier-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-reward-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .promo-tier-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .promo-reward-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.promo-tier-card,
.promo-reward-card {
  padding: 1.15rem 1.1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(57, 40, 0, 0.1);
  box-shadow: 0 4px 16px rgba(44, 36, 22, 0.04);
}

.promo-tier-card--bronze { border-top: 3px solid #cd7f32; }
.promo-tier-card--silver { border-top: 3px solid #c0c0c0; }
.promo-tier-card--gold { border-top: 3px solid #f5a623; }
.promo-tier-card--platinum { border-top: 3px solid #a78bfa; }

.promo-tier-emoji,
.promo-reward-emoji {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.promo-tier-card h3,
.promo-reward-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary, #392800);
}

.promo-tier-range,
.promo-reward-points {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted, #6b5d4a);
}

.promo-tier-card ul,
.promo-coupon-types {
  margin: 0;
  padding: 0;
  list-style: none;
}

.promo-tier-card li,
.promo-coupon-types li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.4rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text, #2c2416);
}

.promo-tier-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-light, #aa6900);
  font-weight: 700;
}

.promo-reward-card p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted, #6b5d4a);
}

.promo-coupon-panel {
  padding: 1.5rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #fffbf5 0%, #fff 100%);
  border: 1px solid rgba(255, 174, 0, 0.25);
}

.promo-coupon-types li {
  padding-left: 0;
  margin-bottom: 0.55rem;
  font-size: 0.9375rem;
}

.promo-coupon-types li::before {
  content: none;
}

.promo-coupon-types strong {
  color: var(--primary, #392800);
}

.promo-cta {
  margin-top: 1rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 174, 0, 0.14), rgba(253, 248, 240, 0.95));
  border: 1px solid rgba(255, 174, 0, 0.28);
}

.promo-cta h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 800;
  color: var(--primary, #392800);
}

.promo-cta p {
  margin: 0 0 1.25rem;
  color: var(--text-muted, #6b5d4a);
}

.promo-cta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.promo-disclaimer {
  margin-top: 2rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted, #6b5d4a);
  text-align: center;
}

.promo-tier-grid.is-loading,
.promo-reward-grid.is-loading {
  min-height: 180px;
}

.promo-tier-grid.is-loading::before,
.promo-reward-grid.is-loading::before {
  content: '';
  display: block;
  width: 100%;
  height: 160px;
  border-radius: 14px;
  background: linear-gradient(
    90deg,
    rgba(57, 40, 0, 0.04) 0%,
    rgba(255, 174, 0, 0.08) 50%,
    rgba(57, 40, 0, 0.04) 100%
  );
  background-size: 200% 100%;
  animation: promo-shimmer 1.2s ease-in-out infinite;
}

@keyframes promo-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.promo-tier-grid.is-ready .promo-tier-card,
.promo-reward-grid.is-ready .promo-reward-card {
  animation: promo-card-in 0.45s ease-out both;
}

@keyframes promo-card-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.promo-state,
.promo-empty {
  grid-column: 1 / -1;
  padding: 1.5rem;
  text-align: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(57, 40, 0, 0.08);
  color: var(--text-muted, #6b5d4a);
}

.promo-retry {
  margin-top: 0.75rem;
  padding: 0.55rem 1rem;
  border: none;
  border-radius: 8px;
  background: #392800;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
}

.promo-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  background: #392800;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.promo-store-badge:hover {
  background: #4a3500;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.promo-store-badge svg.btn-icon {
  width: 1.1rem;
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .promo-tier-grid.is-loading::before,
  .promo-reward-grid.is-loading::before,
  .promo-tier-grid.is-ready .promo-tier-card,
  .promo-reward-grid.is-ready .promo-reward-card {
    animation: none !important;
  }
}
