/* ── ESTILOS NÃO-CRÍTICOS ─────────────────────────────────────────────
   Carregados de forma assíncrona (não bloqueiam o first paint).
   O CSS crítico (hero, título) está inline no <head> do index.html.
──────────────────────────────────────────────────────────────────────── */

/* ── UTILITÁRIOS ──────────────────────────────────────────────────── */
h2.section-title {
  font-size: 20px;
  font-weight: 700;
  color: #111B21;
  margin-bottom: 16px;
}
.section-divider {
  border: none;
  border-top: 1px solid #E5E7EB;
  margin: 32px 16px;
}

/* ── HOW IT WORKS (chips abaixo do título) ─────────────────────────── */
.how-it-works {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.how-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 6px;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.how-step__emoji { font-size: 20px; }
.how-step__label {
  font-size: 10px;
  font-weight: 500;
  color: #374151;
  text-align: center;
  line-height: 1.3;
}

/* ── SALES COUNTER ─────────────────────────────────────────────────── */
.sales-counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: #F3F4F6;
  border: 0.5px solid #D1D5DB;
  border-radius: 999px;
  margin-bottom: 16px;
}
.sales-counter__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16A34A;
  flex-shrink: 0;
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}
.sales-counter__text { font-size: 13px; color: #555; }
.sales-counter__text strong { color: #111; font-weight: 600; }

/* ── CTA ÚNICO ─────────────────────────────────────────────────────── */
.cta-section { padding: 4px 16px 16px; }
.cta-card {
  background: #fff;
  border: 1px solid rgba(37,211,102,0.3);
  border-radius: 16px;
  box-shadow: var(--shadow-md), 0 10px 20px rgba(37,211,102,0.06);
  padding: 20px;
  text-align: center;
}
.cta-subtext {
  font-size: 14px;
  font-weight: 600;
  color: #15803D;
  margin-top: 12px;
}
.cta-trust-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #E5E7EB;
}
.cta-trust-item {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}
.payment-icons-row {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}
.payment-icons-row img { height: 44px; width: auto; }

/* ── BOTÃO COMPRAR ─────────────────────────────────────────────────── */
.btn-buy {
  display: block;
  width: 100%;
  padding: 16px 24px;
  background: #25D366;
  color: #fff;
  font-family: inherit;
  font-size: 19px;
  font-weight: 800;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  margin-bottom: 0;
  box-shadow: 0 4px 14px rgba(37,211,102,0.35);
  animation: btn-glow 2.2s ease-in-out infinite;
  transition: transform 0.15s var(--ease-premium);
}
@keyframes btn-glow {
  0%, 100% { box-shadow: 0 4px 14px rgba(37,211,102,0.35); }
  50%       { box-shadow: 0 4px 22px rgba(37,211,102,0.6); }
}
@media (hover: hover) {
  .btn-buy:hover { transform: scale(1.015); }
}
.btn-buy:active { transform: scale(0.98); }
.btn-buy--compact {
  font-size: 15px;
  padding: 14px 18px;
  flex: 1;
  animation: none;
}

/* ── URGÊNCIA ───────────────────────────────────────────────────────── */
.urgency-bar {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #B45309;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  border-radius: 8px;
  padding: 10px 16px;
  margin: 0 16px 4px;
  letter-spacing: 0.2px;
}

/* ── REVIEWS MINI ───────────────────────────────────────────────────── */
.reviews-mini-section { margin: 16px 0 15px; }
.reviews-mini {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.reviews-mini::-webkit-scrollbar { display: none; }
.reviews-mini__item {
  flex: 0 0 100%;
  padding: 0 16px;
  scroll-snap-align: start;
}
.review-mini-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(17,27,33,0.06);
  border-radius: 14px;
  padding: 14px;
  height: 110px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.review-mini-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(37,211,102,0.1);
  color: #25D366;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-mini-body { flex: 1; min-width: 0; }
.review-mini-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.review-mini-name {
  font-size: 13px;
  font-weight: 700;
  color: #111B21;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}
.review-mini-stars { color: #FFC107; font-size: 12px; }
.review-mini-text {
  font-size: 12px;
  color: #4B5563;
  font-style: italic;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.review-mini-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

/* ── ENTREGA SEGURA ─────────────────────────────────────────────────── */
.delivery-section { padding: 16px 16px 0; }
.delivery-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.delivery-title { font-size: 20px; font-weight: 700; color: #111B21; }
.correios-logo { object-fit: contain; }
.delivery-icon { font-size: 22px; color: #4B5563; flex-shrink: 0; }
.delivery-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 12px;
}

/* ── VÍDEO ───────────────────────────────────────────────────────────── */
.video-section { padding: 0 16px; }
.video-section__title {
  font-size: 20px;
  font-weight: 800;
  color: #111B21;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 16px;
}
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  cursor: default;
  background: #000;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.28);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.video-play-btn:active { background: rgba(0,0,0,0.45); }
.video-play-icon {
  width: 88px;
  height: 88px;
  filter: drop-shadow(0 2px 16px rgba(0,0,0,0.55));
}
.video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
}
.video-loading__spinner {
  width: 52px;
  height: 52px;
  border: 4px solid rgba(255,255,255,0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: video-spin 0.75s linear infinite;
}
@keyframes video-spin { to { transform: rotate(360deg); } }

/* ── BENEFÍCIOS ─────────────────────────────────────────────────────── */
.benefits-section { padding: 0 16px; }
.benefits-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: rgba(17,27,33,0.8);
  line-height: 1.4;
}
.benefit-item::before {
  content: '';
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(37,211,102,0.1);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316A34A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
}

/* ── HIGHLIGHTS ─────────────────────────────────────────────────────── */
.highlights-section { padding: 0 16px; display: flex; flex-direction: column; gap: 32px; margin-top: 32px; }
.highlight-title {
  font-size: 18px;
  font-weight: 700;
  color: #111B21;
  margin-bottom: 12px;
  line-height: 1.3;
}
.highlight-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  margin-bottom: 12px;
  background: #f3f4f6;
  box-shadow: var(--shadow-md);
}
.highlight-desc {
  font-size: 16px;
  color: #4B5563;
  line-height: 1.6;
}
/* Lista de passos (ex: "Como funciona?") — cada linha (separada por <br> no
   texto) precisa caber inteira sem quebrar. Fonte fluida com a largura da
   tela (mesma ideia do .emotional-title) + nowrap como rede de segurança:
   se algum dispositivo escapar do cálculo, a linha estoura em vez de
   quebrar feio pra uma segunda linha. */
.highlight-desc--steps {
  font-size: clamp(11px, 3.6vw - 1.6px, 16px);
  line-height: 2.1;
  white-space: nowrap;
  overflow: hidden;
}

/* ── CARD EMOCIONAL ─────────────────────────────────────────────────── */
.emotional-section { padding: 12px 16px 0; }
.emotional-card {
  padding: 8px 16px 16px;
  background: rgba(37,211,102,0.05);
  border: 1px solid rgba(37,211,102,0.2);
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.emotional-icon { font-size: 28px; color: #25D366; display: block; margin-bottom: 10px; }
.emotional-title {
  /* Fluido com a largura da tela pra sempre caber em 2 linhas (a frase é
     fixa/longa) — em vez de um breakpoint fixo, escala suavemente entre o
     mínimo (telas bem estreitas) e os 18px originais (telas largas/desktop,
     onde o .page já tem espaço de sobra pra caber em 2 linhas mesmo a 18px). */
  font-size: clamp(11px, 4.29vw - 2.7px, 18px);
  font-weight: 700;
  font-style: italic;
  color: #374151;
  line-height: 1.4;
  margin-bottom: 16px;
}
.emotional-desc {
  font-size: 16px;
  color: #4B5563;
  line-height: 1.5;
}

/* ── AVALIAÇÕES COMPLETAS ───────────────────────────────────────────── */
.reviews-section { padding: 32px 0 0; }
.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  margin-bottom: 16px;
}
.reviews-rating { font-size: 16px; font-weight: 700; color: #111B21; }
.reviews-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.reviews-carousel::-webkit-scrollbar { display: none; }
.reviews-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 16px;
}
.review-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.review-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(37,211,102,0.1);
  color: #25D366;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-name { font-size: 14px; font-weight: 700; color: #111B21; }
.review-stars { color: #FFC107; font-size: 13px; }
.review-card-body { display: flex; align-items: flex-start; gap: 12px; }
.review-text {
  flex: 1;
  font-size: 14px;
  font-style: italic;
  color: #374151;
  line-height: 1.5;
}
.review-photo {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq-section { padding: 32px 16px 0; }
.faq-item {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-question {
  font-size: 15px;
  font-weight: 600;
  color: #111B21;
  padding: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: background-color 0.15s ease;
}
.faq-question:active { background-color: #F9FAFB; }
@media (hover: hover) {
  .faq-question:hover { background-color: #F9FAFB; }
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: #6B7280;
  flex-shrink: 0;
}
.faq-item[open] .faq-question::after { content: '−'; }
.faq-answer {
  font-size: 14px;
  color: #4B5563;
  line-height: 1.5;
  padding: 0 16px 16px;
}

/* ── WHATSAPP ─────────────────────────────────────────────────────────── */
.whatsapp-section {
  padding: 24px 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.whatsapp-text { font-size: 14px; color: #6B7280; line-height: 1.4; }
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(37,211,102,0.3);
  transition: transform 0.15s var(--ease-premium);
}
@media (hover: hover) {
  .btn-whatsapp:hover { transform: scale(1.02); }
}
.btn-whatsapp:active { transform: scale(0.97); }
.btn-whatsapp img { border-radius: 0; }

/* ── CENTRAL DE ATENDIMENTO ─────────────────────────────────────────── */
.support-section {
  margin: 24px 16px 0;
  padding: 32px 24px;
  background: #F9FAFB;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.support-icon { font-size: 32px; display: block; margin-bottom: 16px; color: #111827; }
.support-email-icon { font-size: 18px; vertical-align: middle; color: #374151; }
.support-title {
  font-size: 16px;
  font-weight: 700;
  color: #111B21;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}
.support-subtitle { font-size: 14px; color: #6B7280; margin-bottom: 24px; }
.support-email { font-size: 16px; font-weight: 500; color: #111B21; }

/* ── REDES SOCIAIS ─────────────────────────────────────────────────── */
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
}
.social-links a img { display: block; }

/* ── TRUST BADGES ──────────────────────────────────────────────────── */
.trust-badges {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 16px 20px;
}
.trust-badges img { object-fit: contain; }

/* ── PAGAMENTOS ─────────────────────────────────────────────────────── */
.payment-methods {
  display: flex;
  justify-content: center;
  padding: 4px 16px 20px;
}
.payment-methods img { height: 50px; width: auto; }

/* ── FOOTER ─────────────────────────────────────────────────────────── */
.footer {
  text-align: center;
  padding-bottom: 20px;
  font-size: 12px;
  color: #9CA3AF;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 14px;
}
.footer-links a {
  font-size: 12px;
  font-weight: 500;
  color: #6B7280;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── STICKY CTA ─────────────────────────────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 50%;
  width: 100%;
  max-width: 600px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.10);
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 100;
  transform: translateX(-50%) translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s var(--ease-premium), opacity 0.3s ease;
}
.sticky-cta.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.sticky-cta[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
}

.btn-buy { display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ── WHATSAPP FLUTUANTE ─────────────────────────────────────────────── */
.float-wa {
  position: fixed;
  right: 16px;
  bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 101;
  text-decoration: none;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25));
}
.float-wa[hidden] { display: none; }

/* ── ESPAÇO EXTRA no fim para não ser coberto pelo sticky CTA ──────── */
.footer { padding-bottom: max(96px, calc(env(safe-area-inset-bottom) + 88px)); }

/* ── LIGHTBOX ────────────────────────────────────────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay[hidden] { display: none; }
.lightbox-img {
  /* Tela cheia de verdade — o botão de fechar fica sobreposto na imagem
     (não precisa mais de espaço vazio ao redor pra tocar fora e fechar,
     já que o botão físico/gesto de voltar do dispositivo fecha sozinho). */
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
  display: block;
  pointer-events: none;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  line-height: 1;
  padding: 0;
}
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

/* ── NAVEGAÇÃO DOS CARROSSÉIS DE REVIEWS (desktop only) ───────────────── */

/* Setas das reviews — ocultas no mobile */
.review-nav {
  display: none;
}

@media (min-width: 601px) {
  /* Setas das reviews — visíveis no desktop */
  .review-nav {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .reviews-header { align-items: center; }
  .reviews-mini-section { position: relative; }
  .review-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    color: #374151;
    padding: 0;
    transition: background 0.15s, border-color 0.15s, transform 0.15s var(--ease-premium);
  }
  .review-nav-btn:hover { background: #E5E7EB; border-color: #D1D5DB; transform: scale(1.06); }
  .review-nav-btn:active { transform: scale(0.94); }

  /* Nav das reviews mini — abaixo do carousel */
  #mini-nav {
    justify-content: center;
    padding: 8px 0 4px;
  }
}
