/* Tema B2C Acolhedor & Mobile-First — Pio Artur Servo & VeredaBase Colorir */
body.theme-b2c {
  background: linear-gradient(180deg, #FFFBF0 0%, var(--b2c-bg) 35%, #FFFFFF 100%);
  color: var(--b2c-text);
}

.b2c-top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 253, 248, 0.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid #F3E8D2;
}
.b2c-top-inner {
  max-width: 1040px; margin: 0 auto; padding: 11px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.b2c-brand { font-weight: 800; font-size: 16px; text-decoration: none; color: #92400E; display: flex; align-items: center; gap: 8px; }
.b2c-nav-links { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: var(--b2c-muted); }
.b2c-nav-links a { text-decoration: none; }
.b2c-nav-links a:hover, .b2c-nav-links a.active { color: var(--b2c-primary-dark); }

.b2c-card {
  background: var(--b2c-surface); border: 1px solid var(--b2c-border-soft);
  border-radius: var(--radius); padding: 18px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}
.b2c-card-warm {
  background: linear-gradient(135deg, #FFF7ED 0%, #FEF3C7 100%);
  border: 2px solid #F59E0B; border-radius: var(--radius); padding: 20px;
}
.b2c-pill {
  display: inline-flex; align-items: center; gap: 5px;
  background: #FEF3C7; color: #92400E; border: 1px solid #FCD34D;
  padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700;
}

.btn-b2c-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%); color: #FFFFFF;
  font-weight: 800; font-size: 14px; padding: 12px 18px; border-radius: var(--radius-sm);
  border: none; cursor: pointer; text-decoration: none; box-shadow: 0 6px 16px rgba(217,119,6,0.22);
}
.btn-b2c-primary:hover { filter: brightness(1.05); }
.btn-b2c-green {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--b2c-green); color: #FFFFFF; font-weight: 800; font-size: 14px;
  padding: 12px 18px; border-radius: var(--radius-sm); border: none; cursor: pointer; text-decoration: none;
}
.btn-b2c-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: #FFFFFF; color: var(--b2c-text); font-weight: 700; font-size: 13px;
  padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid #D1D5DB; cursor: pointer; text-decoration: none;
}
.btn-b2c-outline:hover { border-color: var(--b2c-primary); color: var(--b2c-primary-dark); }

.b2c-inp, .b2c-select, .b2c-textarea {
  width: 100%; background: #FFFFFF; color: var(--b2c-text);
  border: 1px solid #D1D5DB; border-radius: 10px; padding: 11px 13px; font-size: 14px; font-family: inherit;
}
.b2c-inp:focus, .b2c-select:focus, .b2c-textarea:focus { outline: 2px solid var(--b2c-primary); border-color: transparent; }

.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 14px; }
.chip-btn {
  padding: 7px 13px; border-radius: 999px; border: 1px solid #D1D5DB; background: #FFFFFF;
  color: var(--b2c-muted); font-size: 12px; font-weight: 700; cursor: pointer;
}
.chip-btn.active { background: #92400E; color: #FFFFFF; border-color: #92400E; }

/* Player Facade YouTube-NoCookie */
.yt-facade {
  position: relative; aspect-ratio: 16 / 9; background: #111827;
  border-radius: 12px; overflow: hidden; cursor: pointer;
}
.yt-facade img { width: 100%; height: 100%; object-fit: cover; }
.yt-play-btn {
  position: absolute; inset: 0; margin: auto; width: 68px; height: 48px;
  border-radius: 14px; background: rgba(220, 38, 38, 0.92); color: #FFF;
  border: none; font-size: 22px; cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
}
.yt-facade iframe { width: 100%; height: 100%; border: 0; }

/* Slider Antes e Depois */
.ba-wrap {
  position: relative; aspect-ratio: 4 / 5; max-width: 440px; margin: 0 auto;
  border-radius: 14px; overflow: hidden; border: 2px solid #F59E0B; background: #FFF;
  user-select: none;
}
.ba-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #FFF; }
.ba-after { filter: saturate(1.35) contrast(1.06) sepia(0.18) hue-rotate(-8deg); clip-path: inset(0 50% 0 0); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 5; }
.ba-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #D97706; pointer-events: none; z-index: 4; }
.ba-label { position: absolute; top: 10px; padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; background: rgba(15,23,42,0.78); color: #FFF; z-index: 3; }

/* Watermark Preview Folheavel */
.flip-stage {
  position: relative; background: #FFFFFF; border: 1px solid #E5E7EB; border-radius: 12px;
  overflow: hidden; max-width: 460px; margin: 0 auto; aspect-ratio: 210 / 297;
}
.flip-stage img { width: 100%; height: 100%; object-fit: contain; }
.flip-watermark {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
  font-size: 20px; font-weight: 900; color: rgba(146, 64, 14, 0.22); transform: rotate(-28deg);
  text-transform: uppercase; letter-spacing: 2px; text-align: center;
}

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15, 23, 42, 0.72); z-index: 90;
  display: none; align-items: center; justify-content: center; padding: 16px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #FFFFFF; color: var(--b2c-text); border-radius: 16px; padding: 22px;
  width: 100%; max-width: 460px; max-height: 92vh; overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.progress-track { width: 100%; height: 10px; background: #F3F4F6; border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, #F59E0B, #10B981); border-radius: 999px; transition: width 0.3s ease; }

details.faq-item {
  background: #FFFFFF; border: 1px solid #E5E7EB; border-radius: 12px; padding: 13px 16px; margin-bottom: 10px;
}
details.faq-item summary { font-weight: 700; cursor: pointer; font-size: 14px; }
details.faq-item p { margin: 8px 0 0; font-size: 13px; color: var(--b2c-muted); }
