/* ==========================================================================
   Página de vendas de receitas
   Direção visual: azulejo de cozinha. Cobalto e tinta sobre louça branca,
   açafrão só onde há ação (botões de compra).
   Para trocar a identidade, mude só os tokens em :root.
   ========================================================================== */

@font-face {
  font-family: "Young Serif";
  src: url("../fonts/young-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* cor */
  --ink: #0f1b4d;
  --ink-soft: #4a5581;
  --cobalt: #2340c4;
  --cobalt-deep: #172c8f;
  --tile: #f3f5fb;
  --paper: #ffffff;
  --saffron: #f7b928;
  --saffron-deep: #ffc94d;
  --line: #cfd6ee;

  /* tipografia */
  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* forma */
  --r-card: 18px;
  --r-image: 11px;
  --r-pill: 999px;

  /* movimento (um só easing de entrada, um só de resposta) */
  --ease-out: cubic-bezier(0.2, 0, 0, 1);
  --t-fast: 140ms;
  --t-base: 220ms;

  /* espaço */
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 9vw, 120px);

  /* o ladrilho: usado como textura em fundos e nas áreas de foto */
  --tile-art: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96' fill='none' stroke='%232340C4' stroke-opacity='.2' stroke-width='1.5'%3E%3Cpath d='M48 10c9 11 9 24 0 38-9-14-9-27 0-38z'/%3E%3Cpath d='M48 10c9 11 9 24 0 38-9-14-9-27 0-38z' transform='rotate(90 48 48)'/%3E%3Cpath d='M48 10c9 11 9 24 0 38-9-14-9-27 0-38z' transform='rotate(180 48 48)'/%3E%3Cpath d='M48 10c9 11 9 24 0 38-9-14-9-27 0-38z' transform='rotate(270 48 48)'/%3E%3Ccircle cx='48' cy='48' r='4'/%3E%3Ccircle cx='0' cy='0' r='16'/%3E%3Ccircle cx='96' cy='0' r='16'/%3E%3Ccircle cx='0' cy='96' r='16'/%3E%3Ccircle cx='96' cy='96' r='16'/%3E%3C/svg%3E");
  --tile-art-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96' fill='none' stroke='%23ffffff' stroke-opacity='.16' stroke-width='1.5'%3E%3Cpath d='M48 10c9 11 9 24 0 38-9-14-9-27 0-38z'/%3E%3Cpath d='M48 10c9 11 9 24 0 38-9-14-9-27 0-38z' transform='rotate(90 48 48)'/%3E%3Cpath d='M48 10c9 11 9 24 0 38-9-14-9-27 0-38z' transform='rotate(180 48 48)'/%3E%3Cpath d='M48 10c9 11 9 24 0 38-9-14-9-27 0-38z' transform='rotate(270 48 48)'/%3E%3Ccircle cx='48' cy='48' r='4'/%3E%3Ccircle cx='0' cy='0' r='16'/%3E%3Ccircle cx='96' cy='0' r='16'/%3E%3Ccircle cx='0' cy='96' r='16'/%3E%3Ccircle cx='96' cy='96' r='16'/%3E%3C/svg%3E");
}

/* ---------- base ---------- */

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

[hidden] {
  display: none !important;
}

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 16px;
  -webkit-tap-highlight-color: rgba(35, 64, 196, 0.15);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--tile);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

/* a Young Serif tem numerais alinhados à linha de base (lnum): sem isso, o 3, o 4 e o 5 "descem" */
h1,
h2,
h3,
.brand__name,
.site-footer__brand,
.method__quote,
.gitem--more,
.stack__card figcaption {
  font-variant-numeric: lining-nums;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
}

a,
button,
summary {
  touch-action: manipulation;
}

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

.final :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--saffron);
}

/* a margem lateral nunca fica menor que a área segura (entalhe do iPhone em paisagem) */
.wrap {
  width: min(
    100% - max(var(--gutter), env(safe-area-inset-left)) - max(var(--gutter), env(safe-area-inset-right)),
    1180px
  );
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 10;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-pill);
  text-decoration: none;
  font-weight: 600;
}
.skip:focus {
  top: 12px;
}

/* título do topo fica escondido só enquanto o GSAP prepara a animação */
.is-prep [data-hero-title],
.is-prep [data-hero-in],
.is-prep [data-stack] {
  visibility: hidden;
}

/* ---------- botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 2px solid var(--ink);
  border-radius: var(--r-pill);
  background: var(--saffron);
  color: var(--ink);
  font: 700 1rem/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--ink);
  transition:
    transform var(--t-fast) var(--ease-out),
    box-shadow var(--t-fast) var(--ease-out),
    background-color var(--t-fast) var(--ease-out);
}

@media (hover: hover) {
  .btn:hover:not(:disabled) {
    background: var(--saffron-deep);
    transform: translateY(-1px);
    box-shadow: 0 4px 0 var(--ink);
  }
}

.btn:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--ink);
}

.btn:disabled {
  cursor: not-allowed;
}

.btn--block {
  display: flex;
  width: 100%;
}

/* botão de baixar: o rótulo pode quebrar em duas linhas no celular; sem PDF, fica apagado */
.btn--download {
  white-space: normal;
  text-align: center;
  line-height: 1.2;
  padding-block: 12px;
}
.btn--download .icon {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}
.btn--download:disabled {
  background: var(--line);
  border-color: var(--line);
  color: var(--ink-soft);
  box-shadow: none;
}

.btn--lg {
  min-height: 56px;
  padding: 0 32px;
  font-size: 1.125rem;
}

.btn--small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.95rem;
}

.btn--text {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  padding-inline: 8px;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
@media (hover: hover) {
  .btn--text:hover:not(:disabled) {
    background: transparent;
    transform: none;
    box-shadow: none;
    color: var(--cobalt);
  }
}
.btn--text:active:not(:disabled) {
  transform: none;
  box-shadow: none;
}

/* ---------- cabeçalho ---------- */

.site-header {
  padding-block: 18px;
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
}
.brand__sub {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  display: none;
  align-items: center;
  min-height: 44px;
  padding-inline: 12px;
  font-weight: 600;
  text-decoration: none;
}
@media (hover: hover) {
  .nav-link:hover {
    color: var(--cobalt);
  }
}
@media (min-width: 640px) {
  .nav-link {
    display: inline-flex;
  }
}

/* ---------- topo ---------- */

.hero {
  padding-block: clamp(24px, 5vw, 64px) clamp(56px, 8vw, 104px);
  /* os cartões inclinados do empilhado passam da borda no celular; sem isso a página arrasta de lado */
  overflow-x: clip;
}

.hero__grid {
  display: grid;
  gap: clamp(40px, 7vw, 64px);
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.hero__title {
  font-size: clamp(2.5rem, 1.3rem + 4.2vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
}

.hero__text {
  margin-top: 24px;
  max-width: 46ch;
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 32px;
}

.hero__note {
  margin-top: 20px;
  max-width: 46ch;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* pilha de fichas sobre o "prato" cobalto */
.hero__visual {
  width: min(100%, 520px);
  margin-inline: auto;
}

.stack {
  position: relative;
  aspect-ratio: 1 / 1;
}

.stack::before {
  content: "";
  position: absolute;
  inset: 3%;
  border-radius: 50%;
  background: var(--cobalt) var(--tile-art-light);
  background-size: 72px 72px;
}

.stack__item {
  position: absolute;
  width: 46%;
}
.stack__item--1 {
  left: 2%;
  top: 17%;
  z-index: 1;
}
.stack__item--2 {
  left: 27%;
  top: 3%;
  z-index: 2;
}
.stack__item--3 {
  left: 52%;
  top: 19%;
  z-index: 3;
}

.stack__card {
  padding: 7px 7px 4px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  box-shadow: 0 22px 30px -20px rgba(15, 27, 77, 0.65);
}
.stack__item--1 .stack__card {
  transform: rotate(-7deg);
}
.stack__item--2 .stack__card {
  transform: rotate(1.5deg);
}
.stack__item--3 .stack__card {
  transform: rotate(8deg);
}

.stack__card figcaption {
  padding: 8px 4px 4px;
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 0.5rem + 1.2vw, 1rem);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- áreas de foto ---------- */

.media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-image);
  background: #e3e8f8 var(--tile-art);
  background-size: 72px 72px;
}

.media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12px;
}

/* sem a foto, fica só o azulejo: o nome do arquivo não aparece para quem visita (npm run fotos lista o que falta) */
.media__file {
  display: none;
}
.media__file {
  max-width: 100%;
  padding: 6px 12px;
  background: var(--paper);
  border: 1.5px dashed var(--cobalt);
  border-radius: var(--r-pill);
  color: var(--cobalt-deep);
  font-size: 0.8rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- seções ---------- */

.section {
  padding-block: var(--section-y);
}

.section__head h2 {
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.25rem);
}
.section__head p {
  margin-top: 16px;
  max-width: 52ch;
  color: var(--ink-soft);
}

/* ---------- catálogo ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 32px;
}

.filters__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 44px;
  padding: 0 20px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink);
  font: 600 0.95rem/1 var(--font-body);
  cursor: pointer;
  transition:
    background-color var(--t-fast) var(--ease-out),
    color var(--t-fast) var(--ease-out);
}
@media (hover: hover) {
  .chip:hover {
    background: var(--paper);
  }
}
.chip[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.filters__count {
  margin-left: auto;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

/* No celular os filtros viram uma faixa que rola de lado (9 categorias não ocupam 4 linhas). */
@media (max-width: 639px) {
  .filters {
    flex-direction: column;
    flex-wrap: nowrap; /* com wrap, a coluna assume a largura do conteúdo e estoura a tela */
    align-items: stretch;
    gap: 14px;
  }
  .filters__chips {
    flex-wrap: nowrap;
    margin-inline: calc(var(--gutter) * -1);
    padding: 2px var(--gutter) 6px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .filters__chips::-webkit-scrollbar {
    display: none;
  }
  .chip {
    flex: none;
    scroll-snap-align: start;
  }
  .filters__count {
    margin-left: 0;
  }
}

.more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.btn--ghost {
  background: transparent;
}
@media (hover: hover) {
  .btn--ghost:hover:not(:disabled) {
    background: var(--paper);
  }
}

.catalog__note {
  max-width: 62ch;
  margin-top: 32px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(20px, 3vw, 32px);
  margin-top: 40px;
  padding: 0;
  list-style: none;
}

.recipe {
  display: flex;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 10px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-card);
  transition:
    transform var(--t-base) var(--ease-out),
    box-shadow var(--t-base) var(--ease-out);
}

@media (hover: hover) {
  .card:hover,
  .card:focus-within {
    transform: translateY(-4px);
    box-shadow: 6px 6px 0 var(--cobalt);
  }
}

.card__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 5px 12px;
  background: var(--cobalt);
  color: var(--paper);
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 8px 8px;
}

.card__cat {
  color: var(--cobalt);
  font-size: 0.875rem;
  font-weight: 700;
}

.card__title {
  margin-top: 4px;
  font-size: 1.5rem;
}

.card__summary {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 14px;
  margin-bottom: 20px;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.icon {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* margin-top: auto cola o botão de baixar no fim do card, em qualquer altura */
.card__dl {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1.5px dashed var(--line);
}

/* calorias, proteínas e gorduras: só existe no HTML quando a receita tem esses dados */
.nutri {
  margin-bottom: 18px;
  padding: 10px 14px;
  background: var(--tile);
  border-radius: 10px;
}
.nutri__label {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
}
.nutri ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}
.nutri strong {
  font-weight: 800;
}

/* ---------- como funciona ---------- */

.how__grid {
  display: grid;
  gap: 48px;
}
@media (min-width: 900px) {
  .how__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 80px;
  }
}

.steps__list {
  margin: -20px 0 0; /* compensa o espaço de cima do 1º passo */
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  padding-block: 20px;
}

.step__n {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--cobalt);
  border-radius: 50%;
  background: var(--cobalt);
  color: var(--paper);
  font-size: 1.125rem;
  font-weight: 700;
  transition:
    background-color var(--t-base) var(--ease-out),
    color var(--t-base) var(--ease-out),
    border-color var(--t-base) var(--ease-out);
}

.step__body h3 {
  font-size: 1.5rem;
}
.step__body p {
  margin-top: 8px;
  max-width: 44ch;
  color: var(--ink-soft);
}

/* Cada passo (menos o último) desenha o trecho que liga o seu círculo ao próximo:
   começa no centro do círculo (20px de respiro + 24px) e tem a altura do próprio passo. */
.step__line {
  position: absolute;
  left: 23px;
  top: 44px;
  height: 100%;
  width: 2px;
  background: var(--line);
}
.step__line > span {
  position: absolute;
  inset: 0;
  background: var(--cobalt);
  transform-origin: top;
}

/* com JS, os passos acendem conforme a rolagem */
.js .step:not(.is-on) .step__n {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink-soft);
}
.js .step__line > span {
  transform: scaleY(0);
}

/* ---------- sobre ---------- */

.about__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 760px) {
  .about__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 72px;
  }
}
.about__media {
  width: min(100%, 440px);
}
/* ilustração da autora: quadrada, acompanha a leitura do texto longo no computador */
.about__media--autora {
  margin: 0 auto;
}
.about__media--autora img {
  display: block;
  width: 100%;
  height: auto;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-card);
  box-shadow: 8px 8px 0 var(--cobalt);
}
@media (min-width: 760px) {
  .about__grid:has(.about__media--autora) {
    align-items: start;
  }
  .about__media--autora {
    position: sticky;
    top: 32px;
  }
}
.about__copy h2 {
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.25rem);
}
.about__copy p {
  margin-top: 20px;
  max-width: 54ch;
}
/* sem foto: título à esquerda e texto à direita no computador */
@media (min-width: 760px) {
  .about__grid--texto {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (min-width: 900px) {
  .about__grid--texto .about__copy {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 72px;
    align-items: start;
  }
  .about__grid--texto .about__text > p:first-child {
    margin-top: 0;
  }
}
.todo {
  padding-left: 16px;
  border-left: 3px dashed var(--line);
  color: var(--ink-soft);
  font-style: italic;
}

/* ---------- perguntas ---------- */

.faq {
  background: var(--paper);
}
.faq__grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .faq__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 80px;
  }
}

.qa {
  border-top: 1.5px solid var(--ink);
}
.qa:last-child {
  border-bottom: 1.5px solid var(--ink);
}

.qa summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 16px 48px 16px 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary::before,
.qa summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 16px;
  height: 2px;
  margin-top: -1px;
  background: var(--ink);
  transition: transform var(--t-base) var(--ease-out);
}
.qa summary::after {
  transform: rotate(90deg);
}
.qa[open] summary::after {
  transform: rotate(0deg);
}
@media (hover: hover) {
  .qa summary:hover {
    color: var(--cobalt);
  }
}

.qa__answer {
  padding: 0 48px 22px 0;
  max-width: 60ch;
  color: var(--ink-soft);
}

/* ---------- método ---------- */

.method,
.included,
.benefits,
.gift,
.bonus {
  background: var(--paper);
}

.chain {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.chain__step span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-pill);
  background: var(--tile);
  font-weight: 700;
}
/* a seta entre os passos é desenhada em CSS (não é texto) */
.chain__step:not(:last-child) span::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 12px;
  border-top: 2px solid var(--cobalt);
  border-right: 2px solid var(--cobalt);
  transform: rotate(45deg);
}
.method__quote {
  margin-top: 36px;
  color: var(--cobalt);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1rem + 2.4vw, 2.6rem);
  line-height: 1.1;
  text-wrap: balance;
}

/* ---------- o que está incluso (venda) ---------- */

.included__grid {
  display: grid;
  gap: 20px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 700px) {
  .included__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1000px) {
  .included__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.included__item {
  padding: 22px 22px 24px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-card);
  background: var(--tile);
}
.included__item h3 {
  font-size: 1.35rem;
}
.included__item p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.5;
}

/* ---------- para quem é (venda) ---------- */

.benefits__list {
  display: grid;
  gap: 28px 56px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 760px) {
  .benefits__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.benefit {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.benefit__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cobalt);
  color: var(--paper);
}
.benefit__icon .icon {
  width: 22px;
  height: 22px;
}
.benefit h3 {
  font-size: 1.35rem;
}
.benefit p {
  margin-top: 8px;
  max-width: 46ch;
  color: var(--ink-soft);
}

/* ---------- como você acessa (venda): mockup com o índice do PDF e o celular ---------- */

.access__grid {
  display: grid;
  gap: 56px;
  align-items: center;
}
@media (min-width: 900px) {
  .access__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 72px;
  }
}
.access__list {
  display: grid;
  gap: 22px;
  margin: 32px 0 36px;
  padding: 0;
  list-style: none;
}
.access__list li {
  padding-left: 18px;
  border-left: 3px solid var(--saffron);
}
.access__list h3 {
  font-size: 1.3rem;
}
.access__list p {
  margin-top: 6px;
  max-width: 46ch;
  color: var(--ink-soft);
}

.mock {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1 / 1.08;
  margin-inline: auto;
}
.mock__sheet {
  position: absolute;
  left: 0;
  top: 3%;
  width: 66%;
  margin: 0;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 18px 40px rgba(15, 27, 77, 0.16);
  transform: rotate(-4deg);
}
.mock__sheet img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 9px;
}
.mock__tag {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%) rotate(4deg);
  padding: 6px 16px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-pill);
  background: var(--saffron);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}
.mock__phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 390 / 844;
  padding: 7px;
  border-radius: 30px;
  background: var(--ink);
  box-shadow: 0 22px 44px rgba(15, 27, 77, 0.3);
  transform: rotate(3deg);
}
.mock__phone::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 13px;
  left: 50%;
  width: 28%;
  height: 12px;
  border-radius: var(--r-pill);
  background: var(--ink);
  transform: translateX(-50%);
}
.mock__phone img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 23px;
  object-fit: cover;
  object-position: top;
}

/* ---------- bônus (venda), logo acima da compra ---------- */

.gift__seal {
  display: inline-block;
  margin: 0 0 14px !important;
  padding: 5px 14px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-pill);
  background: var(--saffron);
  color: var(--ink) !important;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.gift__list {
  display: grid;
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.gift__item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px 16px 12px 12px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-card);
  background: var(--tile);
}
.gift__media {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-image);
}
.gift__body h3 {
  font-size: 1.15rem;
  line-height: 1.2;
}
.gift__body p {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.4;
}
.gift__n {
  color: var(--cobalt);
}
.gift__media--icon {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-image);
  background: var(--cobalt) var(--tile-art-light);
  background-size: 48px 48px;
  color: var(--saffron);
}
.gift__media--icon .icon {
  width: 36px;
  height: 36px;
}
.gift__body .gift__time {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
}
@media (min-width: 760px) {
  .gift__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}
.bonus__group {
  margin: 40px 0 18px;
  font-size: 1.5rem;
}
.bonus__group:first-of-type {
  margin-top: 32px;
}
.gift__note {
  margin-top: 24px;
  color: var(--ink);
  font-weight: 700;
}

/* ---------- galeria (venda): fotos e nomes, sem o conteúdo pago ---------- */

.gitem__cat {
  color: var(--cobalt);
  font-size: 0.82rem;
  font-weight: 700;
}
.gitem__title {
  margin-top: 2px;
  font-size: 1.15rem;
  line-height: 1.2;
}

/* carrossel: os cards seguem o visual dos do entregável e do empilhado do topo.
   A rolagem é do próprio navegador (funciona com o dedo, o mouse e o teclado, até sem JavaScript);
   o JS só acrescenta as setas e o avanço automático lento no computador. */
.carousel {
  margin-top: 32px;
}
.carousel__track {
  display: flex;
  gap: 18px;
  margin: 0;
  /* o primeiro card alinha com o resto do conteúdo e os outros saem até a borda da tela */
  padding: 26px max(var(--gutter), calc((100% - 1180px) / 2)) 30px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), calc((100% - 1180px) / 2));
  scrollbar-width: thin;
  scrollbar-color: var(--cobalt) transparent;
}
/* com JavaScript há setas, então a barra de rolagem azul sai (sem JS ela continua, como único controle) */
.js .carousel__track {
  scrollbar-width: none;
}
.js .carousel__track::-webkit-scrollbar {
  display: none;
}
.carousel__track:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: -3px;
  border-radius: var(--r-card);
}

.gitem {
  display: flex;
  flex: 0 0 clamp(214px, 66vw, 262px);
  scroll-snap-align: start;
}
.gcard {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 10px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-card);
  box-shadow: 0 22px 30px -22px rgba(15, 27, 77, 0.55);
  transition: transform var(--t-base) var(--ease-out);
}
@media (hover: hover) {
  .gitem .gcard:hover {
    transform: translateY(-4px);
  }
}
.gcard__body {
  flex: 1;
  padding: 14px 6px 12px;
}
/* etiqueta, não botão: a LP não baixa nada. O download só existe para quem comprou. */
.gcard__pdf {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 12px 6px 4px;
  border-top: 1.5px dashed var(--line);
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 700;
}
.gcard__pdf .icon {
  color: var(--cobalt);
}

.gitem--more {
  display: flex;
  border: 1.5px dashed var(--cobalt);
  border-radius: var(--r-card);
  color: var(--cobalt);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.15;
  text-align: center;
}
.gmore {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  width: 100%;
  padding: 12px;
}
.gmore__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.gmore__media {
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
}
.gmore__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gmore__txt {
  margin: 0;
  padding: 0 6px 6px;
}
.gmore__bonus {
  display: block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.carousel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
}
.carousel__hint {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
/* com mouse e setas, a dica de "deslizar" some (só quando o JS ligou as setas) */
@media (hover: hover) and (pointer: fine) {
  .js .carousel__hint {
    display: none;
  }
}
.carousel__ctrl {
  display: flex;
  gap: 10px;
  margin-left: auto;
}
.carousel__ctrl[hidden],
.carousel__btn[hidden] {
  display: none;
}
.carousel__btn {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease-out);
}
@media (hover: hover) {
  .carousel__btn:hover:not(:disabled) {
    background: var(--saffron);
  }
}
.carousel__btn:disabled {
  opacity: 0.35;
  box-shadow: none;
  cursor: default;
}
.carousel__btn .icon {
  width: 22px;
  height: 22px;
}
.gallery__cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* ---------- oferta (venda) ---------- */

.offer__box {
  display: grid;
  gap: 32px;
  padding: clamp(24px, 4vw, 48px);
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  box-shadow: 8px 8px 0 var(--cobalt);
}
@media (min-width: 900px) {
  .offer__box {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 56px;
    align-items: center;
  }
}
.offer__copy h2 {
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem);
}
.offer__copy > p {
  margin-top: 14px;
  max-width: 46ch;
  color: var(--ink-soft);
}
.offer__list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.offer__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
}
.offer__list .icon {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  padding: 3px;
  border-radius: 50%;
  background: var(--cobalt);
  color: var(--paper);
  stroke-width: 3;
}
.offer__buy {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--tile);
  border-radius: var(--r-card);
  text-align: center;
}
.offer__price {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.offer__old {
  color: var(--ink-soft);
  font-size: 1rem;
}
/* preço em fonte sem serifa (Hanken), com números tabulares para alinhar valores */
.offer__now {
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.offer__now--soon {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink-soft);
}
.offer__soon,
.guarantee {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  background: var(--paper);
  text-align: left;
}
.guarantee__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cobalt);
  color: var(--paper);
}
.guarantee__icon .icon {
  width: 24px;
  height: 24px;
}
.guarantee__title {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.2;
}
.guarantee__text {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.offer__fine {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* ---------- chamada final ---------- */

.final__help {
  margin-top: 14px;
  max-width: 46ch;
  color: #dfe5ff;
}
.final__help strong {
  color: var(--paper);
}

.final {
  background: var(--cobalt) var(--tile-art-light);
  background-size: 96px 96px;
  color: var(--paper);
  padding-block: clamp(64px, 9vw, 112px);
}
.final__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.final h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.75rem);
}

/* ---------- rodapé ---------- */

.site-footer {
  background: var(--ink);
  color: #c9d1f0;
  padding-block: 40px calc(40px + env(safe-area-inset-bottom));
  font-size: 0.95rem;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.site-footer__brand {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.5rem;
}
.footer__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer__contacts a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--paper);
}
.site-footer__legal {
  flex-basis: 100%;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

/* ---------- páginas de texto (política de privacidade) ---------- */

.legal {
  padding-block: clamp(24px, 5vw, 56px) clamp(64px, 9vw, 120px);
}
.legal__wrap {
  width: min(
    100% - max(var(--gutter), env(safe-area-inset-left)) - max(var(--gutter), env(safe-area-inset-right)),
    760px
  );
}
.legal__back a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}
@media (hover: hover) {
  .legal__back a:hover {
    color: var(--cobalt);
  }
}
.legal h1 {
  margin-top: 8px;
  font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.4rem);
  line-height: 1.06;
  text-wrap: balance;
}
.legal__date {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.legal__intro {
  margin-top: 8px;
}
.legal__sec {
  margin-top: clamp(32px, 5vw, 52px);
}
.legal h2 {
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.8rem);
  line-height: 1.2;
  text-wrap: balance;
}
.legal p {
  margin-top: 1em;
  line-height: 1.7;
}
.legal ul {
  display: grid;
  gap: 0.7em;
  margin: 1em 0 0;
  padding-left: 1.3em;
}
.legal li {
  line-height: 1.65;
  padding-left: 0.2em;
}
.legal li::marker {
  color: var(--cobalt);
}
.legal a {
  color: var(--cobalt-deep);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}
.legal__back a {
  color: var(--ink);
}

/* ---------- movimento reduzido ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
