/* ==========================================================================
   Achados de Madame - Estilos Oficiais (Mobile-First & CRO Otimizado)
   ========================================================================== */

:root {
  --primary-orange: #9E523B;
  --primary-orange-hover: #7F3E2B;
  --orange-light: #F6EAE4;
  --gold-accent: #C5A065;
  --whatsapp-green: #25D366;
  --whatsapp-green-hover: #1EBE5D;
  --text-dark: #261E1B;
  --text-muted: #6E6259;
  --bg-page: #F6F1EA;
  --card-bg: #FFFDF9;
  --border-color: #E8DFD5;
  --shadow-sm: 0 2px 6px rgba(38, 30, 27, 0.04);
  --shadow-md: 0 6px 16px rgba(38, 30, 27, 0.09);
  --shadow-lg: 0 10px 25px rgba(158, 82, 59, 0.14);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.5;
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

/* Container Responsivo Central */
.page-wrapper {
  width: 100%;
  max-width: 480px;
  background-color: var(--card-bg);
  min-height: 100vh;
  box-shadow: 0 0 30px rgba(0,0,0,0.06);
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   1. Banner Superior Leve em CSS/SVG (altura enxuta para subir CTA acima da dobra)
   ========================================================================== */
.banner-header {
  position: relative;
  width: 100%;
  height: 108px;
  overflow: hidden;
  background: linear-gradient(135deg, #261E1B 0%, #523228 52%, #9E523B 100%);
}

.banner-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 88%, rgba(197, 160, 101, 0.30) 0%, rgba(197, 160, 101, 0) 62%);
  pointer-events: none;
}

.banner-deco {
  position: absolute;
  top: 6px;
  width: 120px;
  height: 96px;
  pointer-events: none;
}

.banner-deco-left {
  left: 6px;
}

.banner-deco-right {
  right: 6px;
}

/* ==========================================================================
   2. Conteúdo Principal
   ========================================================================== */
.main-content {
  padding: 0 18px 28px;
  position: relative;
  z-index: 3;
  margin-top: -44px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Avatar da Curadora */
.avatar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

.avatar-wrapper {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #FFFDF9 0%, #E8D5B5 50%, #C5A065 100%);
  padding: 3px;
  box-shadow: var(--shadow-md);
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
  display: block;
}

.verified-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background-color: var(--primary-orange);
  color: #FFFDF9;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFDF9;
}

.brand-tag {
  font-size: 12px;
  font-weight: 600;
  color: #5C493E;
  margin-top: 5px;
  background: #F3ECE2;
  border: 1px solid #E5DACB;
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

/* Título e Subtítulo */
.text-header {
  text-align: center;
  margin-bottom: 14px;
}

.main-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.28;
  margin-bottom: 6px;
  letter-spacing: -0.4px;
}

.highlight-editorial {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.24em;
  color: var(--primary-orange);
  letter-spacing: -0.2px;
}

.highlight-orange {
  color: var(--primary-orange);
  background: var(--orange-light);
  padding: 1px 6px;
  border-radius: 5px;
  display: inline-block;
}

.subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.42;
  font-weight: 400;
}

/* ==========================================================================
   Gatilhos de Urgência / Escassez
   ========================================================================== */
.urgency-card {
  width: 100%;
  background: #FAF3EB;
  border: 1px solid #E5D2BE;
  border-radius: var(--radius-md);
  padding: 10px 13px;
  margin-bottom: 14px;
}

.urgency-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.live-dot {
  width: 7px;
  height: 7px;
  background-color: #C2412D;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-right: 6px;
  animation: pulse-red 1.5s infinite;
}

.urgency-text {
  font-size: 12.5px;
  color: #5C3428;
  font-weight: 600;
  flex: 1;
}

.slots-badge {
  background-color: var(--primary-orange);
  color: #FFFDF9;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.progress-bar-bg {
  width: 100%;
  height: 6px;
  background-color: #EADBC9;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 6px;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #C5A065, #9E523B);
  border-radius: var(--radius-full);
  transition: width 0.5s ease;
}

.urgency-footer {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #6E5043;
  font-weight: 600;
}

/* ==========================================================================
   Botão CTA WhatsApp
   ========================================================================== */
.cta-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 18px;
  background-color: var(--whatsapp-green);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  animation: pulse-button 2.5s infinite;
  touch-action: manipulation;
  gap: 10px;
}

.whatsapp-btn:hover, .whatsapp-btn:active {
  background-color: var(--whatsapp-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}

.whatsapp-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.btn-text-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-title {
  font-size: 15.5px;
  letter-spacing: 0.3px;
}

.btn-subtitle {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.92;
}

.security-note {
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
}

/* ==========================================================================
   Seção de Benefícios (4 Mini Divs Informativas Estáticas)
   ========================================================================== */
.section-divider {
  width: 100%;
  display: flex;
  align-items: center;
  text-align: center;
  margin: 4px 0 12px;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px dashed var(--border-color);
}

.section-divider span {
  padding: 0 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-orange);
  letter-spacing: 0.5px;
}

.benefits-section {
  width: 100%;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
  margin-bottom: 16px;
}

.benefit-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  cursor: default;
}

.benefit-icon {
  font-size: 18px;
  line-height: 1.2;
  flex-shrink: 0;
}

.benefit-content {
  display: flex;
  flex-direction: column;
}

.benefit-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 2px;
}

.benefit-desc {
  font-size: 10.5px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* CTA Secundário no final */
.bottom-cta-box {
  background: #FAF3EB;
  border: 1px solid #E5D2BE;
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
}

.bottom-cta-text {
  font-size: 12px;
  color: #5C3428;
  font-weight: 700;
  margin-bottom: 10px;
}

.secondary-cta {
  font-size: 13.5px;
  padding: 12px 14px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  animation: none;
}

/* ==========================================================================
   Rodapé e Selos
   ========================================================================== */
.page-footer {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  text-align: center;
  width: 100%;
}

.trust-badges {
  display: flex;
  justify-content: space-around;
  margin-bottom: 12px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 600;
  gap: 2px;
}

.trust-icon {
  font-size: 16px;
}

.copyright {
  font-size: 10.5px;
  color: #94A3B8;
  line-height: 1.4;
}

/* ==========================================================================
   Animações
   ========================================================================== */
@keyframes pulse-red {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

@keyframes pulse-button {
  0% { transform: scale(1); box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35); }
  50% { transform: scale(1.02); box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5); }
  100% { transform: scale(1); box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35); }
}
