:root {
  --bg-body: #f5f5f5;
  --card-bg: #ffffff;
  --primary-gradient: linear-gradient(90deg, #FD8A5E, #FEC37A);
  --primary-color: #fd8b5e;
  --text-main: #222222;
  --text-muted: #777777;
  --accent: #ff7a7a;
  --border-soft: #f0f0f0;
  --pill-bg: #ffe9dd;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-body);
  color: var(--text-main);
  display: flex;
  justify-content: center;
  padding: 16px;
}

.app {
  width: 100%;
  max-width: 430px;
  background: #F9F6F2;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid #f2f2f2;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo {
  height: 20px;
}

.globe {
  font-size: 20px;
  opacity: 0.7;
}

.content {
  padding: 0 16px 20px;
}

/* CARD PERFIL */
.profile-card {
  position: relative;
  background: var(--card-bg);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  margin-top: 8px;
}

.cover-wrapper {
  position: relative;
  width: 100%;
  height: 160px;
}

.cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FOTO DE PERFIL — AJUSTADO */
.profile-picture-wrapper {
  position: absolute;
  left: 18px;
  bottom: -42px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-picture {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 4px solid #ffffff;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.profile-body {
  padding: 42px 16px 16px;
}

.live-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 77, 122, 0.95);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}

.name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.profile-name {
  font-weight: 700;
  font-size: 16px;
}

.verified {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fff;
}

.username {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.stats-row {
  position: absolute;
  top: 162px;
  right: 12px;
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.85);
  padding: 4px 10px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

.stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bio {
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.see-more {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  margin-bottom: 10px;
  display: inline-block;
}

.social-row {
  border-top: 1px solid #f0f0f0;
  padding-top: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-label {
  font-size: 12px;
  color: var(--text-muted);
}

/* PRIVACY WEEK / CTA PRINCIPAL */
.section {
  margin-top: 16px;
  background: var(--card-bg);
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  padding: 14px 14px 16px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.section-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffe2c8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.section-title {
  font-size: 14px;
  font-weight: 600;
}

.section-subtitle {
  font-size: 11px;
  color: var(--text-muted);
}

.promo-bubble {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  background: #fff5eb;
  border-radius: 16px;
  padding: 10px 11px;
  font-size: 11px;
  line-height: 1.4;
}

.promo-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.discount-tag {
  margin-top: 12px;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  background: #e7ffe4;
  color: #29a24f;
  font-weight: 600;
}

.cta-wrapper {
  margin-top: 10px;
}

.primary-cta {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  background-image: linear-gradient(90deg, #F69B55, #F9C49D, #F8AC9A);
  color: #000000;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(253, 138, 94, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.original-price-row {
  margin-top: 4px;
  font-size: 10px;
  text-align: right;
  color: var(--text-muted);
}

.original-price-row span {
  text-decoration: line-through;
}

/* ASSINATURAS */
.plan-section {
  margin-top: 16px;
  background: var(--card-bg);
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  padding: 14px 14px 10px;
}

.plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.plan-chevron {
  font-size: 16px;
  opacity: 0.6;
}

.plan-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 999px;
  padding: 12px 16px;
  background-image: linear-gradient(90deg, #F69B55, #F9C49D, #F8AC9A);
  cursor: pointer;
  font-size: 13px;
  color: #000;
  font-weight: 600;
}

.plan-text {
  font-weight: 600;
  font-size: 13px;
}

.plan-price {
  font-weight: 700;
  font-size: 13px;
}

/* TABS DE POSTAGENS */
.posts-section {
  margin-top: 18px;
}

.posts-tabs {
  display: flex;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #eee;
  overflow: hidden;
}

.posts-tab {
  flex: 1;
  padding: 10px 12px;
  border: none;
  background: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.posts-tab span {
  white-space: nowrap;
}

.posts-tab.active {
  color: #F69B55;
  border-bottom-color: #F69B55;
  font-weight: 600;
}

.posts-tab.inactive {
  color: #777;
}

/* CARDS DE POST */
.posts-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #f0f0f0;
  overflow: hidden;
}

.post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
}

.post-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.post-user {
  display: flex;
  flex-direction: column;
  font-size: 11px;
}

.post-name {
  font-weight: 600;
  font-size: 12px;
}

.post-handle {
  color: var(--text-muted);
  font-size: 11px;
}

.post-menu {
  font-size: 18px;
  color: #999;
}

.post-media {
  background: #f4ede4;
  position: relative;
  overflow: hidden;
}

.post-logo-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 140px;
  z-index: 1;
  pointer-events: none;
}

.post-image {
  width: 100%;
  aspect-ratio: 1 / 1; /* 4x4 (quadrado) */
  object-fit: cover;
  display: block;
}

.post-video {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  z-index: 0;
}

.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  font-size: 16px;
  color: #777;
}

.post-actions-left {
  display: flex;
  gap: 14px;
}

.post-action {
  cursor: pointer;
}

.post-action.bookmark {
  font-size: 18px;
}

/* PROVAS SOCIAIS */
.social-proof-section {
  margin-top: 24px;
}

.social-proof-title {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.testimonial-scroller {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  padding: 10px 0 5px;
  scroll-snap-type: x mandatory;
}

.testimonial-card {
  flex: 0 0 auto;
  width: 250px;
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  white-space: normal;
  text-align: center;
  scroll-snap-align: start;
  font-size: 0.9rem;
}

.testimonial-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.testimonial-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.secure-footer {
  background: #fff;
  padding: 16px 10px;
  font-size: 13px;
  color: #555;
  text-align: center;
  border-top: 1px solid #eee;
  margin-top: 12px;
  border-radius: 12px;
}

.secure-footer p + p {
  margin-top: 4px;
}

.secure-footer a {
  color: #ff6d00;
  text-decoration: none;
}

.scroll-top-wrapper {
  margin-top: 18px;
}

.scroll-top-btn {
  width: 100%;
  border-radius: 999px;
}

/* FAQ */
.faq-section {
  padding: 20px 0 0;
  font-size: 13px;
}

.faq-section h2 {
  text-align: center;
  font-size: 18px;
  color: #ff6d00;
  margin-bottom: 16px;
}

.faq-item {
  margin-bottom: 10px;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
}

.faq-item p {
  margin-top: 8px;
}

/* POPUP PIX */

.pix-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  justify-content: center;
  align-items: flex-start;
  padding-top: 20px;
  z-index: 9999;
}

.pix-popup-card {
  background: #fff;
  border-radius: 18px;
  max-width: 420px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0,0,0,0.25);
  position: relative;
  font-family: inherit;
}

.pix-popup-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: rgba(0,0,0,0.05);
  width: 26px;
  height: 26px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.pix-popup-header {
  display: flex;
  flex-direction: column;
}

.pix-popup-banner img {
  width: 100%;
  display: block;
}

.pix-popup-header-info {
  display: flex;
  align-items: flex-end;     /* encosta o texto na base do avatar */
  gap: 12px;
  padding: 12px 16px 8px;
  margin-top: -40px;        /* puxa o bloco um pouco mais pra cima */
}

.pix-popup-avatar {
  width: 90px;             /* ~dobro */
  height: 90px;
  border-radius: 50%;
  border: 4px solid #fff;
  object-fit: cover;
}


.pix-popup-name {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.1;
}

.pix-popup-handle {
  font-size: 13px;
  color: #888;
  margin-top: 2px;
}

.pix-popup-body {
  padding: 12px 16px 18px;
}

.pix-popup-benefits h3 {
  font-size: 14px;
  margin-bottom: 4px;
}

.pix-popup-benefits ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
}

.pix-form-row {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}

.pix-form-row label {
  font-size: 11px;
  margin-bottom: 2px;
  color: #666;
}

.pix-form-row input {
  border-radius: 999px;
  border: 1px solid #ddd;
  padding: 10px 14px;         /* um pouco mais alto, mas ainda slim */
  font-size: 16px;            /* 16px = iOS para de dar zoom */
  line-height: 1.2;
}


.pix-plan-summary {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f9f6f2;
  font-size: 12px;
}

.pix-plan-main {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

.pix-plan-label {
  font-weight: 600;
}

.pix-plan-value strong {
  font-weight: 700;
}

.pix-upsell-area {
  margin-top: 6px;
  font-size: 11px;
  color: #999;
}

.pix-qr-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.pix-qr-wrapper img {
  max-width: 180px;
  border-radius: 12px;
}

.pix-result-title {
  font-size: 13px;
  margin-bottom: 8px;
}

.pix-code-textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #ddd;
  padding: 8px 10px;
  font-size: 13px;
  margin: 8px 0 10px;
  resize: none;
  height: 70px;
}

.pix-pay-btn,
.pix-copy-btn {
  margin-top: 8px;
}

/* Botão "Pagar com Pix" em loading */
.pix-pay-btn.loading {
  animation: pixBtnPulse 0.9s ease-in-out infinite;
}

@keyframes pixBtnPulse {
  0%   { transform: scale(1);   box-shadow: 0 0 0 rgba(0,0,0,0.1); }
  50%  { transform: scale(1.03); box-shadow: 0 0 20px rgba(0,0,0,0.12); }
  100% { transform: scale(1);   box-shadow: 0 0 0 rgba(0,0,0,0.1); }
}

/* Gatilhos de confiança após gerar o Pix */
.pix-trust-msgs {
  margin-top: 12px;
  margin-bottom: 4px;
}
.pix-trust-line {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #0f9d58;
  margin-bottom: 4px;
  font-weight: 500;
}
.pix-trust-line span.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #e6f4ea;
  margin-right: 6px;
  font-size: 11px;
}

/* Linha do copia-e-cola com botão acoplado */
.pix-copy-row {
  position: relative;
  margin-top: 10px;
}

.pix-copy-input {
  width: 100%;
  padding: 10px 90px 10px 10px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 12px;
  background: #f7f7f7;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pix-copy-inline-btn {
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  border-radius: 999px;
  border: none;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  background: linear-gradient(90deg, #f6964c, #fac59c);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.18);
}

.pix-copy-inline-btn:active {
  transform: translateY(-50%) scale(0.97);
}

.pix-qr-wrapper {
  display: flex;
  justify-content: center;
  margin: 14px 0 10px;
}

#pixQrContainer canvas,
#pixQrContainer img {
  border-radius: 12px;
}

.pix-result-title {
  font-size: 14px;
  margin-bottom: 6px;
}

/* Botão de verificar pagamento */
.pix-check-row {
  margin-top: 14px;
  text-align: center;
}

.pix-check-btn {
  width: 100%;
  font-size: 14px;
  padding: 10px 16px;
}

.pix-check-feedback {
  margin-top: 6px;
  font-size: 12px;
  color: #777;
}

/* Tela de pagamento aprovado */
.pix-approved-area {
  text-align: center;
  margin-top: 20px;
  padding: 10px 0 4px;
}

.pix-approved-icon {
  width: 68px;
  height: 68px;
  border-radius: 999px;
  margin: 0 auto 10px;
  background: #1bb874;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 0 18px rgba(27, 184, 116, 0.45);
}

.pix-approved-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.pix-approved-subtitle {
  font-size: 13px;
  color: #555;
  margin-bottom: 14px;
}

.pix-approved-btn {
  width: 100%;
}
