/* ==========================================================================
   Landing Page de Alta Conversão /promocoes/ — Otimizada para Tráfego Pago e Orgânico
   ========================================================================== */

.promo-hero {
  background: linear-gradient(135deg, #24101c 0%, #3d1b2e 55%, #4d1919 100%);
  color: #fffaf4;
  padding: 2.75rem 0 2.5rem;
  border-bottom: 4px solid #ee4d2d;
  position: relative;
  overflow: hidden;
}

.promo-hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 1rem;
}

.promo-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(238, 77, 45, 0.22);
  border: 1px solid #ff7350;
  color: #ffd8cc;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.promo-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5722;
  box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.3);
}

.promo-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 250, 244, 0.1);
  color: #f6e7d8;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.promo-hero h1 {
  color: #fffaf4;
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  line-height: 1.15;
  margin: 0 0 0.9rem;
  max-width: 100%;
  overflow-wrap: break-word;
}

.promo-hero h1 em {
  color: #ffb788;
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: rgba(238, 77, 45, 0.65);
  text-underline-offset: 6px;
}

.promo-hero-sub {
  color: #f2dfd3;
  font-size: 1.1rem;
  line-height: 1.55;
  max-width: 64ch;
  margin: 0 0 1.5rem;
}

.promo-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.btn-promo-mega {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #ee4d2d 0%, #d73211 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.95rem 1.6rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(238, 77, 45, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: normal;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.btn-promo-mega:hover,
.btn-promo-mega:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(238, 77, 45, 0.55);
}

.btn-promo-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: rgba(255, 250, 244, 0.12);
  border: 1px solid rgba(255, 250, 244, 0.35);
  color: #fffaf4 !important;
  font-weight: 700;
  font-size: 0.96rem;
  padding: 0.9rem 1.3rem;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.15s ease;
  white-space: normal;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.btn-promo-secondary:hover {
  background: rgba(255, 250, 244, 0.22);
}

.promo-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 250, 244, 0.14);
}

.promo-quick-chip {
  background: rgba(255, 255, 255, 0.08);
  color: #ffe9dc;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.promo-quick-chip:hover {
  background: rgba(238, 77, 45, 0.3);
  border-color: #ff8566;
}

/* Barra de Vantagens Rápidas */
.promo-kpi-strip {
  background: #fff4ec;
  border-bottom: 1px solid #f0d5c4;
  padding: 1rem 0;
}

.promo-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 0.9rem;
}

.promo-kpi-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: #3a202d;
}

.promo-kpi-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.promo-kpi-item strong {
  display: block;
  font-size: 0.93rem;
  color: #24101c;
}

/* Simulador Inteligente de Ticket / Objetivo (Aumentador de Conversão e Ticket Médio) */
.promo-smart-finder {
  background: #ffffff;
  border: 2px solid #f1d4c2;
  border-radius: 18px;
  padding: 1.6rem;
  margin: 2rem 0;
  box-shadow: 0 12px 32px rgba(50, 27, 40, 0.07);
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.promo-smart-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.promo-smart-head h2 {
  margin: 0;
  font-size: 1.35rem;
  color: #24101c;
}

.promo-goal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
}

.promo-goal-btn {
  appearance: none;
  border: 1.5px solid #e2c7b8;
  background: #fffaf5;
  color: #3d1f2d;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.58rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.promo-goal-btn:hover {
  border-color: #ee4d2d;
  color: #c53214;
}

.promo-goal-btn.is-active {
  background: #ee4d2d;
  border-color: #ee4d2d;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(238, 77, 45, 0.28);
}

.promo-recommendation-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(90deg, #fff5ee 0%, #fffdf9 100%);
  border-left: 5px solid #ee4d2d;
  padding: 1.1rem 1.25rem;
  border-radius: 10px;
  box-sizing: border-box;
  max-width: 100%;
}

.promo-recommendation-banner h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  color: #24101c;
}

.promo-recommendation-banner p {
  margin: 0;
  font-size: 0.93rem;
  color: #543846;
}

/* Grid de Ofertas Contextuais de Alto Giro */
.promo-deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.promo-deal-card {
  background: #ffffff;
  border: 1px solid #ead8cc;
  border-radius: 16px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 6px 18px rgba(50, 27, 40, 0.05);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
  position: relative;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

.promo-deal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(50, 27, 40, 0.1);
  border-color: #ee4d2d;
}

.promo-deal-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.promo-badge-hot {
  background: #ffe8e2;
  color: #c92f10;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.26rem 0.65rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.promo-badge-savings {
  background: #e7f6ec;
  color: #166534;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.26rem 0.65rem;
  border-radius: 999px;
}

.promo-deal-card h3 {
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  color: #24101c;
}

.promo-deal-card p {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #543846;
  margin: 0 0 0.75rem;
}

.promo-deal-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.84rem;
  color: #462b39;
}

.promo-deal-bullets li {
  margin-bottom: 0.3rem;
}

.promo-deal-footer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px dashed #ebd9ce;
}

.promo-deal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  background: #ee4d2d;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s ease;
  white-space: normal;
  max-width: 100%;
  box-sizing: border-box;
}

.promo-deal-btn:hover {
  background: #d03819;
}

.promo-deal-subnote {
  font-size: 0.76rem;
  color: #6e5260;
  text-align: center;
}

/* Guia de Cupons e Economia (Gatilho de Conversão) */
.promo-coupon-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 1.1rem;
  margin-top: 1.2rem;
}

.promo-coupon-step {
  background: #fff9f4;
  border: 1px solid #edd8ca;
  border-radius: 14px;
  padding: 1.2rem;
  min-width: 0;
  box-sizing: border-box;
}

.promo-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ee4d2d;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 0.6rem;
}

.promo-coupon-step h3 {
  font-size: 1.04rem;
  margin: 0 0 0.4rem;
  color: #24101c;
}

.promo-coupon-step p {
  font-size: 0.89rem;
  margin: 0;
  color: #543846;
}

/* Barra de Busca de Produtos em Oferta */
.promo-search-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin: 1.2rem 0;
  max-width: 100%;
  box-sizing: border-box;
}

.promo-search-input {
  flex: 1 1 200px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.82rem 1rem;
  border: 1.5px solid #dec6b8;
  border-radius: 10px;
  font-size: 0.96rem;
}

/* Barra Fixa Mobile para Tráfego Pago */
.promo-sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(36, 16, 28, 0.96);
  backdrop-filter: blur(8px);
  border-top: 2px solid #ee4d2d;
  padding: 0.65rem 1rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  max-width: 100vw;
}

.promo-sticky-mobile-text {
  color: #fffaf4;
  font-size: 0.8rem;
  line-height: 1.25;
  min-width: 0;
}

.promo-sticky-mobile-text strong {
  display: block;
  color: #ffb788;
  font-size: 0.86rem;
}

.promo-sticky-mobile-btn {
  background: #ee4d2d;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.6rem 0.95rem;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .promo-sticky-mobile-bar {
    display: flex;
  }
  body {
    padding-bottom: 66px;
  }
  .promo-recommendation-banner {
    flex-direction: column;
    align-items: stretch;
  }
  .promo-recommendation-banner .button,
  .promo-recommendation-banner #promo-rec-cta {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    box-sizing: border-box;
  }
  .promo-smart-finder {
    padding: 1.15rem;
  }
  .btn-promo-mega, .btn-promo-secondary {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .promo-sticky-mobile-bar {
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
  }
  .promo-sticky-mobile-text {
    font-size: 0.72rem;
  }
  .promo-sticky-mobile-text strong {
    font-size: 0.76rem;
  }
  .promo-sticky-mobile-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.78rem;
  }
  .promo-goal-btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.82rem;
  }
}
