:root {
  --creme: #f7efdd;
  --creme-claro: #fbf6ea;
  --tinta: #201e18;
  --texto: #4a4740;
  --texto-suave: #766f5e;
  --ouro: #c79a3c;
  --ouro-escuro: #9c7726;
  --verde: #33502f;
  --verde-escuro: #24391f;
  --linha: rgb(32 30 24 / 12%);
  --largura: 480px;
  --espaco: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: auto;
  min-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
a {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  text-wrap: balance;
}

section[id] {
  scroll-margin-top: 106px;
}

.page {
  width: 100%;
  max-width: var(--largura);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  background: var(--creme);
  overflow: visible;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: max(6px, env(safe-area-inset-top)) 16px 0;
  border-bottom: 1px solid var(--linha);
  background: rgb(247 239 221 / 94%);
  box-shadow: 0 2px 12px rgb(32 30 24 / 5%);
  backdrop-filter: blur(8px);
}

.header-bar {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  min-height: 52px;
}

.brand {
  display: flex;
  grid-column: 2;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.brand img {
  width: auto;
  max-width: 150px;
  max-height: 46px;
  object-fit: contain;
}

.cart-button {
  display: grid;
  grid-column: 3;
  width: 38px;
  height: 38px;
  padding: 8px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--tinta);
  cursor: pointer;
  place-items: center;
}

.cart-button:active {
  background: rgb(32 30 24 / 7%);
}

.cart-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 14px;
  border-top: 1px solid var(--linha);
}

.main-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 18px;
  background: #f2e7ca;
  border: 1px solid #d7b467;
  border-radius: 999px;
  color: var(--tinta);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgb(0 0 0 / 8%);
  transition: all .25s ease;
}

.main-nav a:hover {
  background: #efe0bb;
  transform: translateY(-1px);
}

.main-nav a:active {
  transform: scale(.96);
  box-shadow: inset 0 2px 5px rgb(0 0 0 / 15%);
}

.main-nav a.active {
  background: var(--verde-escuro);
  border-color: var(--verde-escuro);
  color: var(--creme);
  box-shadow: 0 5px 14px rgb(36 57 31 / 25%);
}

.hero {
  padding: 24px var(--espaco) 28px;
  text-align: center;
}

.tallow-logo {
  width: min(46vw, 160px);
  margin: 0 auto 20px;
  object-fit: contain;
}

.hero-hook {
  max-width: 300px;
  margin: 2px auto 20px;
  text-align: center;
}

.hero-hook .hook-eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--ouro-escuro);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero-hook .hook-question {
  display: block;
  color: var(--verde-escuro);
  font-family: "Fraunces", serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.product-media {
  position: relative;
  width: min(72vw, 270px);
  aspect-ratio: 9 / 16;
  margin: 0 auto 22px;
}

.product-tag {
  position: absolute;
  top: -9px;
  left: -9px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 8px 2px 8px 2px;
  background: var(--verde);
  color: var(--creme);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.product-video-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgb(32 30 24 / 7%);
  border-radius: 18px;
  background: linear-gradient(145deg, #efe6cc, #e4d8b8);
  box-shadow: 0 12px 28px rgb(32 30 24 / 10%);
}

.product-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.price-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  margin-bottom: 18px;
  padding: 12px 28px;
  border: 1.5px solid var(--ouro);
  background: var(--creme-claro);
  clip-path: polygon(8% 0, 92% 0, 100% 20%, 100% 80%, 92% 100%, 8% 100%, 0 80%, 0 20%);
}

.old-price {
  color: var(--texto-suave);
  font-size: 13px;
  text-decoration: line-through;
}

.current-price {
  color: var(--verde-escuro);
  font-family: "Fraunces", serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
}

.installments {
  color: var(--texto-suave);
  font-size: 11px;
}

/* ==========================================================================
   BOTÃO PRIMÁRIO — definição única e consolidada.
   Usa display:grid + place-items:center (mais robusto que flex contra
   conflitos externos) e altura fixa (não min-height) para eliminar
   qualquer ambiguidade de centralização vertical.
   ========================================================================== */
.page a.primary-button {
  all: unset;
  box-sizing: border-box !important;
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 52px !important;
  margin: 0 auto 14px !important;
  padding: 0 18px !important;
  border-radius: 10px !important;
  background: var(--verde-escuro) !important;
  box-shadow: 0 6px 18px rgb(36 57 31 / 25%) !important;
  color: var(--creme) !important;
  font-family: "Manrope", sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: .01em !important;
  text-align: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.page a.primary-button:hover,
.page a.primary-button:visited,
.page a.primary-button:focus {
  color: var(--creme) !important;
  text-decoration: none !important;
}

.page a.primary-button:active {
  transform: translateY(1px);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  margin: 0;
  padding: 0;
  color: #6b6656;
  font-size: 11px;
  list-style: none;
}

.trust-list li::before {
  content: "✓ ";
  color: var(--verde);
  font-weight: 700;
}

.content-section {
  padding: 40px var(--espaco);
}

.ingredients {
  border-block: 1px solid var(--linha);
  background: var(--creme-claro);
}

.section-heading {
  margin-bottom: 26px;
  text-align: center;
}

.eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--ouro-escuro);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section-heading h2 {
  font-size: clamp(22px, 7vw, 26px);
  font-weight: 600;
  line-height: 1.2;
}

.ingredient-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.ingredient-chips li {
  padding: 9px 16px;
  border: 1px solid var(--linha);
  border-radius: 999px;
  background: var(--creme);
  color: var(--texto);
  font-family: "Manrope", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.ingredient-chips li.chip-destaque {
  border-color: var(--verde-escuro);
  background: var(--verde-escuro);
  color: var(--creme);
}

.ingredients-note {
  color: var(--texto-suave);
  font-size: 12px;
  text-align: center;
}

.page .result {
  padding: 34px 24px;
  background: var(--verde-escuro);
  color: var(--creme);
  text-align: center;
}

.page .result .eyebrow {
  color: var(--ouro) !important;
}

.page .result h2 {
  color: var(--creme) !important;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.4;
}

.page .result strong {
  color: var(--ouro) !important;
  font-weight: 700;
}

.testimonial-list {
  display: flex;
  gap: 12px;
  margin-inline: calc(var(--espaco) * -1);
  padding: 2px var(--espaco) 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.testimonial-list::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  position: relative;
  display: grid;
  flex: 0 0 132px;
  height: 182px;
  overflow: hidden;
  border: 1px solid var(--linha);
  border-radius: 12px;
  background: linear-gradient(160deg, #e9e2cf, #d8cfb4);
  scroll-snap-align: start;
  place-items: center;
}

.testimonial-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  place-items: center;
}

.play-icon {
  display: grid;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgb(32 30 24 / 76%);
  place-items: center;
}

.play-icon svg {
  width: 15px;
  height: 15px;
  margin-left: 2px;
  fill: var(--creme);
}

.testimonial-label {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  z-index: 3;
  color: var(--creme);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 1px 4px rgb(0 0 0 / 75%);
  pointer-events: none;
}

blockquote {
  margin: 22px 10px 0;
  text-align: center;
}

blockquote p {
  font-family: "Fraunces", serif;
  font-size: 16px;
  font-style: italic;
  line-height: 1.5;
}

blockquote cite {
  display: block;
  margin-top: 10px;
  color: var(--texto-suave);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.secondary-heading {
  margin-bottom: 16px;
  color: var(--texto-suave);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.secondary-product {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--linha);
  border-radius: 12px;
  background: var(--creme-claro);
  text-align: center;
}

.product-placeholder {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 10px;
  border-radius: 8px;
  background: #e9e2cf;
  color: #938b76;
  font-size: 10px;
  place-items: center;
}

.secondary-product h3 {
  margin-bottom: 2px;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.secondary-product p {
  color: var(--texto-suave);
  font-size: 11px;
}

.page .secondary-product a.primary-button {
  height: 42px !important;
  margin-top: 12px !important;
  margin-bottom: 0 !important;
  padding: 0 14px !important;
  font-size: 13px !important;
}

.final-cta {
  padding: 44px var(--espaco) 50px;
  text-align: center;
}

.final-cta .tallow-logo {
  margin-bottom: 18px;
}

.final-cta h2 {
  margin-bottom: 10px;
  font-size: 23px;
  font-weight: 600;
}

.final-cta p {
  margin-bottom: 22px;
  color: var(--texto);
  font-size: 14px;
}

.site-footer {
  padding: 24px var(--espaco) calc(30px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--linha);
  text-align: center;
  background: var(--creme-claro);
}

.site-footer p {
  color: var(--texto-suave);
  font-size: 11px;
  line-height: 1.7;
}

/* --- Rodapé: ícones sociais e pagamento (novo) --- */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-social a {
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid var(--linha);
  border-radius: 50%;
  background: var(--creme);
  color: var(--tinta);
  place-items: center;
  transition: background .2s ease, transform .2s ease;
}

.footer-social a:hover {
  background: #efe0bb;
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.footer-payment {
  margin-bottom: 14px;
  color: var(--texto-suave);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
}

.footer-brand {
  margin-bottom: 10px;
  color: var(--ouro-escuro);
  font-family: "Fraunces", serif;
  font-size: 15px;
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid var(--ouro);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
