/* =========================================================
   1. BARRA DE ALERTA
   ========================================================= */
.alertbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--c-alert);
  color: #fff;
  text-align: center;
  padding: 10px var(--gutter);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: .01em;
}
.alertbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  flex-wrap: wrap;
}
.alertbar__timer {
  font-variant-numeric: tabular-nums;
  background: rgba(0,0,0,.24);
  border-radius: var(--r-sm);
  padding: 2px 10px;
}

/* =========================================================
   2. HERO
   ========================================================= */
.hero {
  background: var(--g-hero);   /* fallback: aparece antes do vídeo carregar e se ele falhar */
  color: var(--t-on-dark);
  padding-block: var(--s-8) var(--s-8);
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}
.hero .wrap { width: 100%; position: relative; z-index: 2; }
.hero__logo { height: 62px; width: auto; margin-bottom: var(--s-5); }

/* ---------- Vídeo de fundo ---------- */
.hero__bgvideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Escurece o vídeo o suficiente para o texto branco continuar legível,
   mais forte à esquerda (onde fica o texto) e mais claro à direita
   (onde o produto do vídeo aparece). */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6,55,51,.93) 0%, rgba(6,55,51,.80) 42%, rgba(6,55,51,.42) 78%, rgba(6,55,51,.30) 100%),
    linear-gradient(0deg, rgba(6,55,51,.55) 0%, rgba(6,55,51,0) 30%);
}

/* Sem suporte a autoplay em vídeo (raro, mas existe) ou vídeo que falhou
   ao carregar: o poster já cumpre o papel de imagem de fundo — não faz
   nada de especial, mas documentado aqui para quem for mexer depois. */

/* O vídeo do hero toca para todos os visitantes, independente da
   preferência de sistema "reduzir movimento" — decisão do cliente,
   já que a animação é o ponto central da primeira impressão da
   página e a maioria dos visitantes nunca saberia que ela existe
   nem iria mudar essa configuração do Windows/Mac para vê-la. */

.hero__grid {
  display: block;
  max-width: 600px;
}

.hero__title {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-black);
  letter-spacing: -0.022em;
  margin-bottom: var(--s-5);
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.hero__sub {
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  line-height: var(--lh-snug);
  color: var(--t-on-dark-soft);
  margin-bottom: var(--s-5);
  max-width: 30ch;
}
.hero__benefits { margin-bottom: var(--s-6); }
.hero__benefits li { font-size: var(--fs-base); }

.hero__cta { margin-bottom: var(--s-4); }

.hero__guarantee {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--t-on-dark-soft);
}
.hero__guarantee img { width: 34px; height: 34px; }

/* ordem do hero no mobile é reorganizada em responsive.css */

/* =========================================================
   3. FORMULA
   ========================================================= */
.formula { text-align: center; }

/* =========================================================
   4. EXPLICACAO
   ========================================================= */
.explain__title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  margin-bottom: var(--s-5);
}

/* =========================================================
   5. BENEFICIOS
   ========================================================= */
.benefit {
  text-align: center;
  display: grid;
  justify-items: center;
}

/* =========================================================
   6. COMPOSICAO
   ========================================================= */
.compo__item { text-align: center; }
.compo__name {
  font-size: var(--fs-md);
  font-weight: var(--fw-black);
  margin-bottom: var(--s-2);
}

/* =========================================================
   7. RESULTADOS
   ========================================================= */
.results__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
.results__img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; }

/* =========================================================
   8. MODO DE USO
   ========================================================= */

/* =========================================================
   9. BENEFICIOS DO TRATAMENTO
   ========================================================= */
.treat__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4) var(--s-6); }

/* =========================================================
   10. DEPOIMENTOS (CAROUSEL)
   ========================================================= */
.carousel { position: relative; }

.carousel__viewport {
  overflow: hidden;
  border-radius: var(--r-lg);
  cursor: grab;
}
.carousel__viewport.is-dragging { cursor: grabbing; }

.carousel__track {
  display: flex;
  transition: transform var(--dur-base) var(--ease);
  will-change: transform;
}
.carousel__track.no-anim { transition: none; }

.carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: var(--s-2);
  user-select: none;
}

.testimonial {
  background: var(--c-surface);
  color: var(--t-on-light);   /* idem: fundo próprio exige cor própria */
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  padding: var(--s-6);
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: var(--s-6);
  align-items: center;
  min-height: 100%;
}
.testimonial__photo {
  width: 132px; height: 132px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--c-teal);
}
.testimonial__name { font-size: var(--fs-md); font-weight: var(--fw-black); }
.testimonial__age  { font-size: var(--fs-sm); color: var(--t-on-light-soft); margin-bottom: var(--s-3); }
.testimonial__stars { color: var(--c-amber); letter-spacing: 2px; margin-bottom: var(--s-3); }

.carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-5);
  margin-top: var(--s-5);
}
.carousel__btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--c-surface);
  box-shadow: var(--sh-sm);
  display: grid; place-items: center;
  border: 1px solid rgba(16,50,46,.1);
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.carousel__btn:hover { background: var(--c-teal); transform: scale(1.06); }
.carousel__btn:hover svg { stroke: #fff; }
.carousel__btn svg { width: 18px; height: 18px; stroke: var(--t-on-light); }

.carousel__dots { display: flex; gap: var(--s-2); }
.carousel__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(16,50,46,.22);
  transition: width var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.carousel__dot[aria-current="true"] { background: var(--c-teal); width: 30px; border-radius: var(--r-pill); }

/* =========================================================
   11. AUTORIDADE
   ========================================================= */
.authority__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--s-8); align-items: center; }
.authority__photo { border-radius: var(--r-lg); width: 100%; }

/* =========================================================
   12. GARANTIA
   ========================================================= */
.guarantee { text-align: center; }
.guarantee__title { font-size: var(--fs-2xl); font-weight: var(--fw-black); max-width: 20ch; margin: 0 auto var(--s-5); }
.guarantee .btn + .trust { margin-top: var(--s-4); }

/* =========================================================
   13. OFERTAS
   ========================================================= */
.offers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  align-items: stretch;
}

.offer {
  background: var(--c-surface);
  /* obrigatorio: o card e claro dentro de uma secao escura. Sem esta linha
     o texto herda --t-on-dark e sai branco sobre branco. */
  color: var(--t-on-light);
  border-radius: var(--r-lg);
  border: 2px solid rgba(16,50,46,.1);
  box-shadow: var(--sh-md);
  padding: var(--s-6) var(--s-5) var(--s-5);
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.offer:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }

/* Oferta principal — maior destaque, conforme ETAPA 9 */
.offer--featured {
  border-color: var(--c-amber);
  box-shadow: var(--sh-lg);
  transform: scale(1.045);
  z-index: 2;
}
.offer--featured:hover { transform: scale(1.045) translateY(-6px); }

.offer__flag {
  position: absolute;
  top: -18px; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.offer__kicker {
  font-size: var(--fs-md);
  font-weight: var(--fw-black);
  color: var(--c-teal-dark);
  line-height: var(--lh-snug);
  margin-bottom: var(--s-2);
  min-height: 2.6em;
  display: grid;
  align-items: center;
}
.offer--featured .offer__kicker { color: var(--c-amber-dark); }

.offer__duration {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--t-on-light-soft);
  margin-bottom: var(--s-4);
}

/* Altura fixa e contain: as artes dos kits tem proporcoes diferentes
   (kit-01 e 640x675, kit-05 e 640x438). Sem isso, cada card empurra
   o bloco de precos para uma altura diferente. */
.offer__img {
  width: 100%;
  max-width: 260px;
  height: 210px;
  object-fit: contain;
  margin: 0 auto var(--s-4);
}

.offer__contents {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-teal-dark);
  margin-bottom: var(--s-4);
  min-height: 1.4em;
}

.offer__unit {
  font-size: var(--fs-sm);
  color: var(--t-on-light-soft);
  margin-bottom: var(--s-2);
}
.offer__unit strong { color: var(--t-on-light); font-weight: var(--fw-black); }

.offer__installment {
  font-size: var(--fs-xl);
  font-weight: var(--fw-black);
  color: var(--t-on-light);
  line-height: 1.1;
  margin-bottom: var(--s-1);
}
.offer--featured .offer__installment { color: var(--c-amber-dark); }
.offer__cash {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--t-on-light-soft);
  margin-bottom: var(--s-2);   /* era --s-5: abre espaco pro frete sem crescer o card */
}

/* uma linha so: "COMPRAR AGORA" estava quebrando em duas */
.offer__cta {
  margin-top: auto;
  white-space: nowrap;
  padding-inline: var(--s-4);
  font-size: var(--fs-base);
  letter-spacing: 0;
}

/* =========================================================
   14. FAQ
   ========================================================= */
.faq { max-width: var(--wrap-narrow); margin-inline: auto; }

.faq__item {
  border-bottom: 1px solid rgba(16,50,46,.14);
}
.section--dark .faq__item { border-color: rgba(255,255,255,.12); }

.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding: var(--s-5) 0;
  text-align: left;
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  transition: color var(--dur-fast) var(--ease);
}
.faq__trigger:hover { color: var(--c-teal); }

.faq__icon {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--c-teal);
  display: grid; place-items: center;
  transition: transform var(--dur-base) var(--ease);
}
.faq__icon svg { width: 14px; height: 14px; stroke: #fff; }
.faq__trigger[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }

.faq__panel {
  overflow: hidden;
  height: 0;
  transition: height var(--dur-base) var(--ease);
}
.faq__panel-inner {
  padding-bottom: var(--s-5);
  color: var(--t-on-light-soft);
  font-size: var(--fs-base);
}
.section--dark .faq__panel-inner { color: var(--t-on-dark-soft); }

/* =========================================================
   15. WHATSAPP FLUTUANTE
   ========================================================= */
.wa-float {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 80;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
  transition: transform var(--dur-fast) var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* =========================================================
   16. ORIGINALIDADE
   ========================================================= */

/* =========================================================
   17. FOOTER
   ========================================================= */
.footer {
  background: var(--c-ink);
  color: var(--t-on-dark-soft);
  padding-block: var(--s-7) var(--s-5);
  font-size: var(--fs-sm);
}
.footer__top {
  display: grid;
  grid-template-columns: auto 1fr;
  justify-items: start;
  gap: var(--s-6);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: var(--s-5);
}
.footer__logo { height: 54px; width: auto; margin-bottom: var(--s-4); }
.footer__links { display: grid; gap: var(--s-2); justify-self: end; text-align: right; }
.footer__links a:hover { color: var(--c-teal-light); }
.footer__legal { font-size: var(--fs-xs); line-height: 1.7; }

/* =========================================================
   FAIXA DE MARCA (banner ZENFIT Caps)
   ========================================================= */

/* =========================================================
   FAIXA DE SELOS (peptídeos / especialistas / ANVISA / natural)
   ========================================================= */

/* =========================================================
   VÍDEO NO LUGAR DOS GIFS
   Os GIFs originais somavam 33 MB. Convertidos para MP4,
   o mesmo conteúdo pesa ~1,2 MB e mantém o loop automático.
   ========================================================= */

/* Card de benefício com foto no topo */
.benefit__photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-md);
  margin-bottom: var(--s-5);
}
.card--photo { padding: var(--s-5); }

/* Imagem da garantia com os selos 100% e 90 dias */
.guarantee__art { width: 100%; max-width: 520px; margin: 0 auto var(--s-6); }


/* Ícone circular do modo de uso */

/* Resultados: pares antes/depois já vêm montados na arte */
/* As duas artes foram normalizadas para 900x776, entao a proporcao
   fixa garante alinhamento mesmo se uma for trocada depois. */
.results__img {
  width: 100%;
  height: auto;
  aspect-ratio: 900 / 776;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
}

/* Composição: cada item usa um vídeo em loop */
.compo__video {
  width: 100%;
  border-radius: var(--r-md);
  aspect-ratio: 700 / 400;
  object-fit: cover;
  margin-bottom: var(--s-4);
  background: var(--c-ink);
}

/* =========================================================
   FAIXA DE MARCA (banner full-bleed logo abaixo do hero)
   ========================================================= */

/* =========================================================
   FÓRMULA COMPLETA (infográfico)
   ========================================================= */
/* A arte E a secao: sem padding, sem fundo, sem raio — nada de
   moldura branca em volta. */
.formula-art { line-height: 0; }
.formula-art img { width: 100%; height: auto; display: block; }

/* =========================================================
   MODO DE USO — três cards
   ========================================================= */
.usage__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.usage-card {
  background: var(--c-surface);
  color: var(--t-on-light);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  box-shadow: var(--sh-md);
}
.usage-card__icon {
  width: 104px; height: 104px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--s-5);
  display: block;
}
.usage-card p { font-size: var(--fs-base); color: var(--t-on-light-soft); }
.usage-card strong { color: var(--t-on-light); font-weight: var(--fw-black); }

/* =========================================================
   TRATAMENTO — frasco ao lado da lista
   ========================================================= */
.treat__layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--s-7); align-items: center; }
.treat__frasco { max-width: 420px; margin-inline: auto; }

/* =========================================================
   AUTORIDADE
   ========================================================= */
.authority__grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: var(--s-7); align-items: center; }
.authority__photo { border-radius: var(--r-lg); width: 100%; box-shadow: var(--sh-lg); }
.authority__text p { color: var(--t-on-dark-soft); margin-bottom: var(--s-4); }
.authority__sign {
  width: 100%;
  max-width: 340px;
  margin-top: var(--s-5);
  /* a assinatura é azul-escura sobre transparente: clareia sobre o fundo escuro */
  filter: invert(1) brightness(1.9) saturate(0);
}

/* =========================================================
   FRETE nos cards de oferta
   ========================================================= */
.offer__frete {
  display: block;
  width: 100%;
  max-width: 190px;
  margin: 0 auto var(--s-3);
  opacity: .85;
}

/* =========================================================
   ORIGINALIDADE / MARKETPLACES
   ========================================================= */
.marketplaces {
  width: 100%;
  max-width: 900px;
  margin: 0 auto var(--s-6);
  border-radius: var(--r-md);
  background: #fff;
  padding: var(--s-4);
}
.original__note { text-align: center; max-width: 68ch; margin-inline: auto; }
.original__note p { margin-bottom: var(--s-2); font-weight: var(--fw-semi); }

/* =========================================================
   RODAPÉ — barra de serviços
   ========================================================= */
/* Barra verde do rodape — reproduz o degrade do original:
   #095512 na esquerda ate #0F9722 na direita. */
.footer__bar {
  background: linear-gradient(90deg, #095512 0%, #0C6818 30%, #0C741B 50%, #0C841E 70%, #0F9722 100%);
}
.footer__services {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: var(--s-6);
  align-items: center;
  text-align: center;
  padding-block: var(--s-5);
}
.footer__services h3 {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: #FFFFFF;
  margin-bottom: var(--s-3);
}
.footer__services img { margin-inline: auto; max-height: 62px; width: auto; }
.footer__copy {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: #FFFFFF;
  line-height: 1.5;
}
.footer__copy strong { font-weight: var(--fw-black); white-space: nowrap; }
.btn--track {
  background: linear-gradient(180deg, #5FD46E 0%, #3FBF52 50%, #2AA340 100%);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  min-height: 44px;
  font-size: var(--fs-sm);
  white-space: nowrap;
  padding-inline: var(--s-5);
}

/* =========================================================
   BLOCO DE CTA REPETIDO ENTRE AS SEÇÕES
   ========================================================= */
/* flex em coluna: em linha, o botao e os selos viravam irmaos
   lado a lado em vez de empilhados. */
.cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: var(--s-7);
}
.cta-block .btn { min-width: 340px; }


/* =========================================================
   SELOS DE CONFIANÇA — repetidos abaixo de cada botão
   A arte é preta sobre transparente, então em seção escura
   ela precisa ser invertida para aparecer.
   ========================================================= */
.trust {
  display: block;
  width: 100%;
  max-width: 330px;
  margin: var(--s-4) auto 0;
  opacity: .62;
}
.section--dark .trust,
.section--green .trust,
.hero .trust { filter: invert(1); opacity: .72; }

.offer .trust { max-width: 260px; margin-top: var(--s-3); opacity: .55; }
.hero__cta { display: flex; flex-direction: column; align-items: flex-start; }
.hero .trust { margin-inline: 0; }
