/* ==========================================================================
   TIPOGRAFIA
   Par novo: Fraunces (display, variável — eixos opsz/SOFT/WONK) para títulos,
   números e preço · Plus Jakarta Sans para corpo, listas e interface.
   Carregada entre style.css e design.css.
   ========================================================================== */

:root {
  --font-headline: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* escala fluida — um só valor por papel, sem degraus por breakpoint */
  --fs-display: clamp(2rem, 1.05rem + 4.2vw, 3.75rem);   /* catálogo, FAQ */
  --fs-h2: clamp(1.75rem, 1.12rem + 2.8vw, 3rem);        /* demais seções */
  --fs-h1: clamp(1.55rem, 1rem + 2.5vw, 2.375rem);          /* hero */
  --fs-h3: clamp(1.125rem, 1.04rem + 0.38vw, 1.375rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.33vw, 1.1875rem);
  --fs-body: 1rem;
  --fs-small: 0.9375rem;
  --fs-eyebrow: 0.6875rem;

  --lh-display: 1.08;
  --lh-title: 1.18;
  --lh-text: 1.62;

  --wonk: "SOFT" 45, "WONK" 1;
  --wonk-soft: "SOFT" 30, "WONK" 0;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-text);
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.004em;
}
h1, h2, h3, .font-display {
  font-family: var(--font-headline);
  font-optical-sizing: auto;
  font-variation-settings: var(--wonk);
  font-feature-settings: "kern" 1, "liga" 1, "dlig" 1;
}

/* --------------------------------------------------------------------------
   Títulos
   -------------------------------------------------------------------------- */
.hero__title {
  font-size: var(--fs-h1);
  line-height: var(--lh-title);
  font-weight: 700;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
@media (min-width: 768px) {
  .hero__title { font-size: var(--fs-h1); line-height: var(--lh-title); text-wrap: pretty; }
}

.h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}
@media (min-width: 640px) { .h2 { font-size: var(--fs-h2); line-height: var(--lh-display); } }

.h2--catalogo, .h2--faq {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: -0.028em;
  font-weight: 600;
  filter: none;
}
@media (min-width: 640px) { .h2--catalogo, .h2--faq { font-size: var(--fs-display); line-height: var(--lh-display); } }

.h2--area { font-size: var(--fs-h2); line-height: var(--lh-display); filter: none; }
@media (min-width: 640px) { .h2--area { font-size: var(--fs-h2); line-height: var(--lh-display); } }

.h2--about, .h2--footer { font-size: var(--fs-h2); line-height: var(--lh-display); }
@media (min-width: 640px), (min-width: 768px) { .h2--about, .h2--footer { font-size: var(--fs-h2); line-height: var(--lh-display); } }

/* h3 de card e de passo */
.bonus__title, .how__title, .area__h3, .plan__list-title, .about__item-title, .plan__name, .dialog__title {
  font-family: var(--font-headline);
  font-optical-sizing: auto;
  font-variation-settings: var(--wonk-soft);
  letter-spacing: -0.014em;
  line-height: var(--lh-title);
}
.bonus__title { font-size: var(--fs-h3); font-weight: 600; }
.how__title { font-size: var(--fs-h3); font-weight: 600; }
.area__h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); font-weight: 600; }
.plan__list-title { font-size: 1.125rem; font-weight: 600; }
.about__item-title { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
.plan__name { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); font-weight: 700; letter-spacing: -0.024em; }
.dialog__title { font-size: 1.5rem; font-weight: 600; }

/* --------------------------------------------------------------------------
   Texto corrido
   -------------------------------------------------------------------------- */
.lead {
  font-family: var(--font-body);
  font-size: var(--fs-lead);
  line-height: var(--lh-text);
  font-weight: 400;
  max-width: 58ch;
  margin-left: auto; margin-right: auto;
  color: hsl(var(--foreground) / .74);
  text-wrap: pretty;
}
@media (min-width: 768px) { .lead { font-size: var(--fs-lead); line-height: var(--lh-text); } }
@media (min-width: 1024px) { .lead { font-size: var(--fs-lead); line-height: var(--lh-text); } }
@media (min-width: 1280px) { .lead { font-size: var(--fs-lead); line-height: var(--lh-text); } }
.lead--faq { max-width: 54ch; }
@media (min-width: 768px) { .lead--faq { font-size: var(--fs-lead); line-height: var(--lh-text); } }
@media (min-width: 1024px) { .lead--faq { font-size: var(--fs-lead); line-height: var(--lh-text); } }
@media (min-width: 1280px) { .lead--faq { font-size: var(--fs-lead); line-height: var(--lh-text); } }

.hero__text {
  font-size: var(--fs-lead);
  line-height: var(--lh-text);
  color: hsl(var(--foreground) / .8);
  max-width: 46ch;
  text-wrap: pretty;
}
@media (min-width: 768px) { .hero__text { font-size: var(--fs-lead); line-height: var(--lh-text); } }

.area__lead, .about__lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-text);
  max-width: 52ch;
}
@media (min-width: 768px), (min-width: 1024px), (min-width: 1280px) {
  .area__lead, .about__lead { font-size: var(--fs-lead); line-height: var(--lh-text); }
}
.area__lead { color: hsl(var(--primary-foreground) / .82); }

.how__text, .about__item-text, .garantia__text, .footer__text,
.catalogo__footer-text, .faq__footer-text, .bonus__text, .accordion__text {
  line-height: var(--lh-text);
  color: hsl(var(--foreground) / .74);
  text-wrap: pretty;
}
.footer__text { max-width: 52ch; font-size: var(--fs-lead); }
@media (min-width: 768px) { .footer__text { font-size: var(--fs-lead); line-height: var(--lh-text); } }
.garantia__text { max-width: 62ch; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .garantia__text { font-size: var(--fs-lead); line-height: var(--lh-text); } }
.accordion__text { font-size: var(--fs-small); }
.bonus__text { font-size: var(--fs-small); }
@media (min-width: 640px) { .bonus__text { font-size: var(--fs-small); line-height: var(--lh-text); } }

strong, b { font-weight: 700; letter-spacing: -0.006em; }
.area__list strong { font-weight: 700; }

/* --------------------------------------------------------------------------
   Rótulos, botões e números
   -------------------------------------------------------------------------- */
.badge {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .13em;
  line-height: 1;
  padding: 9px 16px 8px;
}
.badge .icon { width: 14px; height: 14px; }

.btn {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.btn--lg { font-size: .875rem; line-height: 1; }
@media (min-width: 768px) { .btn--lg { font-size: .9375rem; line-height: 1; } }
.btn--pulse { font-size: .875rem; line-height: 1; }
@media (min-width: 768px) { .btn--pulse { font-size: .9375rem; line-height: 1; } }
.btn--sm { font-size: .8125rem; line-height: 1; }
.plan__cta { font-size: .9375rem; line-height: 1; }

.topbar__title {
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}
@media (min-width: 768px) { .topbar__title { font-size: 1.0625rem; } }

.topbar__num {
  font-family: var(--font-headline);
  font-optical-sizing: auto;
  font-variation-settings: var(--wonk-soft);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums lining-nums;
}
@media (min-width: 768px) { .topbar__num { font-size: 1.875rem; line-height: 1; } }
.topbar__label {
  font-family: var(--font-body);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.4;
}
@media (min-width: 768px) { .topbar__label { font-size: .6875rem; } }

.how__num {
  font-family: var(--font-headline);
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* --- preço --- */
.plan__from {
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 2px;
}
.plan__price {
  font-family: var(--font-headline);
  font-optical-sizing: auto;
  font-variation-settings: var(--wonk-soft);
  font-weight: 700;
  font-size: clamp(3.25rem, 2.4rem + 3.4vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums lining-nums;
  display: flex; align-items: flex-start; justify-content: center; gap: 2px;
}
.plan__cur {
  font-size: .42em;
  font-weight: 600;
  letter-spacing: 0;
  margin-top: .26em;
}
.plan__cents { font-size: .52em; margin-top: .16em; letter-spacing: -0.01em; }
.plan__sub { font-size: var(--fs-small); line-height: 1.5; color: hsl(var(--foreground) / .62); }
.plan__urgency {
  font-family: var(--font-body);
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  line-height: 1;
  padding: 8px 15px;
}
.plan__list li > span:last-child { font-size: var(--fs-small); line-height: 1.55; }
.plan__list strong { font-weight: 700; }

.bonus__old {
  font-family: var(--font-body);
  font-size: .8125rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .06em;
}
.bonus__free { font-family: var(--font-body); font-size: .75rem; letter-spacing: .09em; }

.area__list { font-size: var(--fs-small); line-height: 1.5; }
@media (min-width: 768px) { .area__list { font-size: 1rem; line-height: 1.55; } }
.area__note { font-size: .8125rem; font-weight: 500; letter-spacing: .01em; }

.accordion__trigger {
  font-family: var(--font-body);
  font-size: 1rem; font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.008em;
}
@media (min-width: 768px) { .accordion__trigger { font-size: 1.0625rem; line-height: 1.4; } }

.footer__copy { font-size: .8125rem; letter-spacing: .01em; color: hsl(var(--foreground) / .5); }
.catalogo__hint { font-size: .8125rem; font-weight: 600; letter-spacing: .01em; }
.dialog__desc { font-size: var(--fs-small); line-height: 1.55; }

/* --------------------------------------------------------------------------
   Fallback sem a fonte variável carregada
   -------------------------------------------------------------------------- */
@supports not (font-variation-settings: "WONK" 1) {
  h1, h2, h3, .font-display { font-variation-settings: normal; }
}

/* --------------------------------------------------------------------------
   Ajustes finos no mobile
   -------------------------------------------------------------------------- */
@media (max-width: 639px) {
  /* a pílula de urgência quebrava feio em duas linhas */
  .plan__urgency { font-size: .6875rem; letter-spacing: .05em; padding: 8px 13px; }
  /* o <br> do subtítulo do plano (herdado do original) quebra mal em tela estreita */
  .plan__sub br { display: none; }
  .badge { letter-spacing: .1em; padding: 8px 14px 7px; }
}
