/* ==========================================================================
   Meat Express — style.css
   Layout e componentes. Tudo que é animação/transição fica em motion.css.
   Paleta fechada: nenhuma cor fora das custom properties abaixo.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Paleta base */
  --gold: #99682D;
  --red: #841516;
  --black: #000000;
  --black-2: #0A0A0A;
  --black-3: #161616;
  --cream: #F2EDE4;

  /* Tons de texto e acento dos callouts */
  --text: #D6D2CA;      /* corpo — nunca branco puro */
  --text-2: #E8E4DC;    /* descrições dos callouts */
  --gold-2: #C9A24C;    /* ponto dourado dos callouts */

  /* Derivadas (opacidade via color-mix — sem hex novo) */
  --gold-20: color-mix(in srgb, var(--gold) 20%, transparent);
  --gold-40: color-mix(in srgb, var(--gold) 40%, transparent);
  --gold-60: color-mix(in srgb, var(--gold) 60%, transparent);
  --cream-20: color-mix(in srgb, var(--cream) 20%, transparent);
  --cream-40: color-mix(in srgb, var(--cream) 40%, transparent);
  --cream-60: color-mix(in srgb, var(--cream) 60%, transparent);
  --black-90: color-mix(in srgb, var(--black) 90%, transparent);

  /* Tipografia — Playfair Display (serifa editorial) para títulos; Google Sans Flex para o resto */
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Google Sans Flex", "Figtree", "Google Sans", system-ui, sans-serif;

  --fs-h1: clamp(36px, 4.1vw, 60px);
  --fs-h2: clamp(26px, 2.6vw, 38px);
  --fs-h3: clamp(20px, 1.1rem + 0.5vw, 26px);
  --fs-body: 17px;
  --fs-lead: clamp(17px, 1rem + 0.15vw, 18px);
  --fs-eyebrow: 11px;
  --fs-figure: clamp(44px, 3rem + 1.5vw, 64px);

  /* Espaçamento */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(56px, 8vw, 88px);

  /* Header */
  --header-h: 80px;

  /* Grão sutil para fallbacks de imagem (SVG noise inline, sem imagem externa) */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.6 0 0 0 0 0.41 0 0 0 0 0.18 0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
html {
  background: var(--black);
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--red);
  color: var(--cream);
}

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

/* Skip link — só aparece no foco */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--gutter);
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.skip-link:focus {
  top: 1rem;
}

/* --------------------------------------------------------------------------
   3. Tipografia
   -------------------------------------------------------------------------- */
/* Títulos: serifa em caixa alta, dourado do site, tracking discreto */
h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--gold);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }

h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--fs-h3);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--cream);
}

/* Sobretítulo em caixa alta pequena, com traço (ou número da seção) à esquerda */
.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  max-width: none;
}

/* Traço de 32px à esquerda; o texto pode quebrar em telas estreitas */
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  margin-right: 1rem;
  vertical-align: middle;
  background: var(--gold);
}

/* Seções numeradas: o traço vira o índice ("01") */
.eyebrow[data-n]::before {
  content: attr(data-n);
  width: auto;
  height: auto;
  background: none;
  font-variant-numeric: tabular-nums;
  color: var(--cream-40);
  margin-right: 0.875rem;
  vertical-align: baseline;
}

.lead {
  font-size: var(--fs-lead);
  font-weight: 400;
  color: var(--text);
  max-width: 54ch;
}

h2 + .lead {
  margin-top: 1.25rem;
}

p {
  color: var(--text);
  max-width: 62ch;
}

.label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-60);
  margin-bottom: 1.25rem;
}

.caption,
.note {
  max-width: none;
  margin-top: 1.25rem;
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-40);
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-y);
  border-top: 1px solid var(--gold-20);
}

.section--alt {
  background: var(--black-2);
}

.section__head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section__head .lead {
  margin-top: 1.25rem;
}

.section__cta {
  display: flex;
  justify-content: flex-start;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--gold-20);
}

/* Linha dourada divisória — cresce via ScrollTrigger (data-line) */
.line {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
  transform-origin: left center;
}

.grid-2 {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.grid-2--top {
  align-items: start;
}

@media (min-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* --------------------------------------------------------------------------
   5. Botões
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 54px;
  padding: 0 1.75rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  border: 1px solid var(--gold);
  border-radius: 2px;
  color: var(--cream);
  background: transparent;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
}

/* Preenchimento da esquerda para a direita (a transição está em motion.css) */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
}

.btn:hover,
.btn:focus-visible {
  color: var(--black);
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: scaleX(1);
}

.btn--primary {
  background: var(--red);
  border-color: var(--red);
  color: var(--cream);
}

.btn--outline {
  border-color: var(--gold);
  color: var(--gold);
}

.btn[disabled] {
  cursor: default;
}

/* Botão de envio — três estados controlados por data-state */
.btn--submit {
  display: inline-grid;
  place-items: center;
  min-width: 200px;
}

.btn--submit .btn__label,
.btn--submit .btn__spinner,
.btn--submit .btn__done {
  grid-area: 1 / 1;
}

.btn--submit .btn__spinner,
.btn--submit .btn__done {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  visibility: hidden;
}

.btn--submit[data-state="loading"] .btn__label,
.btn--submit[data-state="done"] .btn__label {
  opacity: 0;
  visibility: hidden;
}

.btn--submit[data-state="loading"] .btn__spinner,
.btn--submit[data-state="done"] .btn__done {
  opacity: 1;
  visibility: visible;
}

.btn--submit[data-state="done"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.spinner-ring {
  width: 20px;
  height: 20px;
}

.spinner-ring circle {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 40 20;
}

.check-svg {
  width: 18px;
  height: 18px;
}

.check-svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
}

/* --------------------------------------------------------------------------
   6. Fallback de imagem (enquanto as fotos não existem)
   -------------------------------------------------------------------------- */
.media {
  position: relative;
  overflow: hidden;
  background-color: var(--black-3);
  background-image: var(--noise);
  border: 1px solid var(--gold-20);
  border-radius: 0;
}

.media img,
.media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Quando a imagem não carrega, esconde o alt quebrado e deixa o fallback aparecer */
.media img {
  color: transparent;
}

.media--4x5 { aspect-ratio: 4 / 5; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--16x9 { aspect-ratio: 16 / 9; }

/* Recorte do render focado no painel passo a passo + maquininha */
.media--panel img {
  object-position: 66% 42%;
  transform: scale(1.5);
  transform-origin: 66% 42%;
}

/* Em grid de duas colunas, a foto acompanha a altura da coluna de texto */
@media (min-width: 900px) {
  .media--fill {
    aspect-ratio: auto;
    align-self: stretch;
    min-height: 100%;
  }
}

/* --------------------------------------------------------------------------
   7. Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 800;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--black-2);
  border-bottom: 1px solid var(--gold-20);
  transform: translateY(0);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: none;
}

/* Wordmark dourado (assets/img/logo.png, 772 × 353) */
.header__logo img {
  width: auto;
  height: 40px;
  object-fit: contain;
  color: transparent;
}

@media (min-width: 640px) {
  .header__logo img {
    height: 52px;
  }
}

.nav {
  display: none;
  position: relative;
}

@media (min-width: 1100px) {
  .nav {
    display: flex;
  }
}

.nav__list {
  display: flex;
  gap: 1.5rem;
}

.nav__link {
  display: block;
  padding: 0.5rem 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--text);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--cream);
}

/* Indicador único que desliza entre os itens (posicionado via JS com transform) */
.nav__indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 1px;
  background: var(--gold);
  transform-origin: left center;
  transform: scaleX(0);
  pointer-events: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header .btn {
  display: none;
  min-height: 44px;
  padding: 0 24px;
  font-size: 13px;
}

@media (min-width: 640px) {
  .header .btn {
    display: inline-flex;
  }
}

/* Botão hambúrguer */
.menu-toggle {
  position: relative;
  z-index: 950;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold-40);
  border-radius: 2px;
}

@media (min-width: 1100px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle__lines {
  position: relative;
  width: 18px;
  height: 10px;
}

.menu-toggle__lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--cream);
}

.menu-toggle__lines span:nth-child(1) { top: 0; }
.menu-toggle__lines span:nth-child(2) { bottom: 0; }

.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(2) {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   8. Menu mobile (tela cheia)
   -------------------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  background: var(--black-2);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* Anel do logo ao fundo */
.mobile-menu__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90vmax;
  height: 90vmax;
  max-width: none;
  margin: -45vmax 0 0 -45vmax;
  pointer-events: none;
}

.mobile-menu__ring circle {
  fill: none;
  stroke: var(--gold-20);
  stroke-width: 0.35;
}

.mobile-menu__list {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.75rem, 2.5vh, 1.5rem);
  text-align: center;
}

.mobile-menu__link {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.mobile-menu__link:hover {
  color: var(--gold);
}

.mobile-menu__cta {
  margin-top: 1rem;
}

body.menu-open {
  overflow: hidden;
}

/* Com o menu aberto o header sobe acima dele para o botão de fechar aparecer */
body.menu-open .header {
  z-index: 950;
  background: var(--black-2);
  border-bottom-color: transparent;
}

/* --------------------------------------------------------------------------
   9. Hero — texto à esquerda, geladeira à direita
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr); /* minmax(0) impede que o conteúdo alargue a coluna */
  min-height: 100vh;
  min-height: 100svh;
  padding-top: var(--header-h); /* o header é fixo; nada do hero passa por baixo dele */
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}

@media (min-width: 1440px) {
  .hero {
    grid-template-columns: minmax(0, 5.5fr) minmax(0, 6.5fr);
  }
}

.hero__text-col {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 1.5rem var(--gutter) clamp(2.5rem, 6vh, 4rem);
  order: 2;
}

@media (min-width: 1024px) {
  .hero__text-col {
    order: 1;
    padding-top: clamp(2rem, 5vh, 4rem);
    padding-bottom: clamp(2rem, 5vh, 4rem);
    /* Alinha o texto com o container de 1200px */
    padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
    padding-right: clamp(1.5rem, 3vw, 3rem);
  }
}

.hero__content {
  max-width: 560px;
}

.hero h1 {
  margin-bottom: clamp(1.5rem, 3.5vh, 2rem);
}

.hero .lead {
  margin-bottom: clamp(1.75rem, 4vh, 2.5rem);
  max-width: 44ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Linha de contexto sob o CTA */
.hero__meta {
  margin-top: 1.5rem;
  font-size: 13px;
  color: var(--cream-40);
  max-width: none;
}

.hero__meta span {
  color: var(--cream-60);
}

/* Coluna da foto */
.hero__media-col {
  position: relative;
  order: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 1rem;
}

@media (min-width: 1024px) {
  .hero__media-col {
    order: 2;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    padding: 2rem 0;
    container-type: inline-size; /* permite aos cards usar a folga da coluna (cqw) */
  }
}

/* Container com a proporção exata da foto; tudo dentro é posicionado em % */
.hero__figure {
  position: relative;
  width: 100%;
  aspect-ratio: 1150 / 1086;
  margin: 0;
}

@media (min-width: 1024px) {
  .hero__figure {
    /* Cabe na altura do hero sem passar da largura da coluna */
    width: min(100%, calc((100svh - var(--header-h) - 4rem) * 1150 / 1086));
  }
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: var(--black-3);
  background-image: var(--noise);
  /* Bordas do recorte se fundem com o fundo preto */
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent), linear-gradient(to bottom, transparent, black 6%, black 94%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent), linear-gradient(to bottom, transparent, black 6%, black 94%, transparent);
  mask-composite: intersect;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: transparent;
}

/* Linhas ponto → card */
.hero__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.callout-line {
  stroke: color-mix(in srgb, var(--gold-2) 50%, transparent);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.hero__callouts {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Ponto ancorado sobre o item (centro em --x/--y) */
.callout__dot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--gold-2);
}

.callout__dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--gold-2);
  opacity: 0;
}

/* Card glass, deslocado para a área escura */
.callout__card {
  position: absolute;
  top: var(--top);
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: clamp(180px, 32%, 220px);
  padding: 12px 16px;
  border: 1px solid color-mix(in srgb, var(--gold-2) 35%, transparent);
  border-radius: 6px;
  background: color-mix(in srgb, var(--black-2) 65%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.callout__icon {
  display: none;
}

.callout__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.callout__card--right {
  /* Encosta na borda da figura; se a coluna tiver folga, avança até 12px da borda da coluna */
  right: min(0px, calc(12px - (100cqw - 100%) / 2));
}

.callout__card--left {
  right: var(--right);
}

.callout__title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--gold-2);
}

.callout__desc {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-2);
}

/* --------------------------------------------------------------------------
   Hero mobile (< 1024px): uma coluna — tag, título, parágrafo, botão,
   linha de contexto, foto inteira, lista de callouts. Nada em absolute.
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .hero {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 0;
    padding: calc(var(--header-h) + 48px) 24px 48px;
  }

  .hero__text-col {
    order: 1;
    display: block;
    padding: 0;
  }

  .hero__content {
    max-width: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .hero .eyebrow,
  .hero h1,
  .hero .lead,
  .hero__actions,
  .hero__meta {
    margin: 0;
  }

  .hero h1 {
    font-size: clamp(38px, 10vw, 48px);
    line-height: 1.05;
  }

  .hero .lead {
    font-size: 16px;
    line-height: 1.6;
    max-width: none;
  }

  .hero__actions .btn {
    width: 100%;
    min-height: 52px;
    height: 52px;
  }

  /* Foto inteira, centralizada, 40px abaixo do texto (24 do gap + 16) */
  .hero__media-col {
    order: 2;
    display: block;
    min-height: 0;
    padding: 0;
  }

  .hero__figure {
    aspect-ratio: auto;
    margin-top: 16px;
  }

  .hero__media {
    position: relative;
    display: flex;
    justify-content: center;
    background: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero__media img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
  }

  /* Callouts: sem pontos, sem linhas — lista de cards abaixo da foto */
  .hero__lines,
  .callout__dot {
    display: none;
  }

  .hero__callouts {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    pointer-events: auto;
  }

  .callout__card,
  .callout__card--right,
  .callout__card--left {
    position: static;
    right: auto;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
  }

  .callout__icon {
    display: block;
    width: 20px;
    height: 20px;
    flex: none;
    margin-top: 1px;
  }

  .callout__icon * {
    fill: none;
    stroke: var(--gold-2);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .callout__title {
    white-space: normal;
  }
}

/* --------------------------------------------------------------------------
   10. Como funciona — painel de quatro passos
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--gold-20);
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem);
  border-right: 1px solid var(--gold-20);
  border-bottom: 1px solid var(--gold-20);
}

.step:nth-child(2n) {
  border-right: none;
}

.step:nth-child(n+3) {
  border-bottom: none;
}

@media (min-width: 900px) {
  .step:nth-child(2n) {
    border-right: 1px solid var(--gold-20);
  }

  .step:last-child {
    border-right: none;
  }

  .step {
    border-bottom: none;
  }
}

.step__ring {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
}

.step__ring circle {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

/* Sem JS ou sem GSAP o anel aparece completo */
html:not(.js) .step__ring circle {
  stroke-dashoffset: 0;
}

.step__ring text {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 18px;
  fill: var(--cream);
}

.step__title {
  margin-bottom: 0.375rem;
}

.step p {
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   11. A geladeira — ficha técnica + selos
   -------------------------------------------------------------------------- */
.spec {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--gold-20);
}

.spec__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--gold-20);
}

.spec dt {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-60);
  flex: none;
}

.spec dd {
  font-weight: 400;
  font-size: 18px;
  text-align: right;
  color: var(--cream);
}

.seals {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--gold-20);
}

@media (min-width: 640px) {
  .seals {
    grid-template-columns: repeat(3, 1fr);
  }
}

.seal {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
}

.seal svg {
  width: 32px;
  height: 32px;
  flex: none;
}

.seal svg * {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   12. Produtos — grid quadrado
   -------------------------------------------------------------------------- */
.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
}

@media (min-width: 900px) {
  .products {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem 1.5rem;
  }
}

.product .media img {
  transform-origin: center;
}

.product:hover .media {
  border-color: var(--gold);
}

.product:hover .media img {
  transform: scale(1.05);
}

.product__name {
  margin-top: 0.875rem;
  font-size: 1.25rem;
}

.product__note {
  font-size: 0.875rem;
  color: var(--cream-60);
}

/* --------------------------------------------------------------------------
   13. Onde instalar — três colunas
   -------------------------------------------------------------------------- */
.places {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .places {
    grid-template-columns: repeat(3, 1fr);
  }
}

.place__title {
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.place p {
  font-size: 0.9375rem;
}

.places__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--gold-20);
}

.places__footer p {
  color: var(--cream);
}

/* --------------------------------------------------------------------------
   14. Franquia — inclusos + números
   -------------------------------------------------------------------------- */
.includes li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gold-20);
  color: var(--cream);
}

.includes li:first-child {
  border-top: 1px solid var(--gold-20);
}

.includes svg {
  width: 16px;
  height: 16px;
  margin-top: 0.35rem;
  flex: none;
}

.includes svg path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.figures {
  display: grid;
  border-top: 1px solid var(--gold);
}

.figure {
  padding: clamp(1.25rem, 2.5vw, 1.75rem) 0;
  border-bottom: 1px solid var(--gold-20);
}

.figure:last-child {
  border-bottom-color: var(--gold);
}

.figure__value {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--fs-figure);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
}

.figure__prefix,
.figure__suffix {
  font-size: 0.45em;
  color: var(--gold);
}

.figure__label {
  margin-top: 0.5rem;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-60);
}

/* --------------------------------------------------------------------------
   15. Demo — vídeo
   -------------------------------------------------------------------------- */
.demo__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--gold);
  background-color: var(--black-3);
  background-image: var(--noise);
}

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

.demo__frame img[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   16. FAQ — accordion
   -------------------------------------------------------------------------- */
.faq {
  border-top: 1px solid var(--gold-20);
}

.faq__item {
  border-bottom: 1px solid var(--gold-20);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.125rem 0;
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  color: var(--cream);
}

.faq__q:hover {
  color: var(--gold);
}

/* "+" que gira para "×" */
.faq__icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex: none;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
}

.faq__icon::after {
  transform: rotate(90deg);
}

.faq__q[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
}

/* Abre/fecha com grid-template-rows 0fr → 1fr */
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
}

.faq__a > div {
  overflow: hidden;
}

.faq__a p {
  padding-bottom: 1.25rem;
  font-size: 0.9375rem;
}

.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
}

/* --------------------------------------------------------------------------
   17. Formulário
   -------------------------------------------------------------------------- */
.signup__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
}

@media (min-width: 900px) {
  .signup__grid {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }

  .signup__aside {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

.signup__aside .lead {
  margin-top: 1.25rem;
}

.signup__contact {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gold-20);
  font-size: 0.9375rem;
}

.signup__contact a {
  color: var(--cream);
  border-bottom: 1px solid var(--gold-60);
}

.signup__contact a:hover {
  color: var(--gold);
}

.form__wrap {
  position: relative;
}

.form {
  position: relative;
}

.form__grid {
  display: grid;
  gap: 2rem 2.5rem;
}

@media (min-width: 640px) {
  .form__grid {
    grid-template-columns: 1fr 1fr;
  }

  .field--full {
    grid-column: 1 / -1;
  }
}

/* Campo com linha inferior e label flutuante */
.field {
  position: relative;
  padding-top: 1.25rem;
}

.field[hidden] {
  display: none;
}

.field__input {
  width: 100%;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--cream-20);
  border-radius: 0;
  color: var(--cream);
  font-weight: 400;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
}

.field__input::placeholder {
  color: transparent;
}

.field__label {
  position: absolute;
  left: 0;
  top: 1.875rem;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-60);
  pointer-events: none;
  transform-origin: left center;
}

/* Linha dourada que cresce no focus */
.field__line {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
}

.field__input:focus {
  outline: none;
}

.field__input:focus ~ .field__line {
  transform: scaleX(1);
}

.field__input:focus ~ .field__label,
.field__input:not(:placeholder-shown) ~ .field__label,
.field--select .field__label,
.field.has-value .field__label {
  top: 0;
  font-size: 10px;
  color: var(--gold);
}

.field--select .field__input {
  padding-right: 2rem;
  cursor: pointer;
}

.field--select .field__input option {
  background: var(--black-2);
  color: var(--cream);
}

.field__chevron {
  position: absolute;
  right: 0;
  bottom: 0.875rem;
  width: 12px;
  height: 12px;
  pointer-events: none;
  color: var(--gold);
}

.field--textarea .field__input {
  min-height: 96px;
  resize: vertical;
}

/* Mensagem de ajuda vive no gap do grid (absoluta) para a linha não descer */
.field__help {
  position: absolute;
  left: 0;
  top: calc(100% + 0.375rem);
  font-size: 0.75rem;
  line-height: 1.2;
  color: var(--red);
  opacity: 0;
}

.field--full:not(.field) > .field__help,
.consent ~ .field__help {
  position: static;
  display: block;
  margin-top: 0.5rem;
}

/* Estado de erro */
.field.is-invalid .field__input {
  border-bottom-color: var(--red);
}

.field.is-invalid .field__line {
  background: var(--red);
  transform: scaleX(1);
}

.field.is-invalid .field__label {
  color: var(--red);
}

.field.is-invalid .field__help {
  opacity: 1;
}

/* Consentimento */
.consent {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--cream-60);
  cursor: pointer;
}

.consent input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.consent__box {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 0.125rem;
  border: 1px solid var(--gold-60);
  border-radius: 2px;
  display: grid;
  place-items: center;
}

.consent__box svg {
  width: 10px;
  height: 10px;
}

.consent__box path {
  fill: none;
  stroke: var(--black);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
}

.consent input:checked ~ .consent__box {
  background: var(--gold);
  border-color: var(--gold);
}

.consent input:checked ~ .consent__box path {
  stroke-dashoffset: 0;
}

.consent input:focus-visible ~ .consent__box {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

.consent.is-invalid .consent__box {
  border-color: var(--red);
}

.consent.is-invalid ~ .field__help {
  opacity: 1;
}

.consent a {
  color: var(--cream);
  border-bottom: 1px solid var(--gold-60);
}

.consent a:hover {
  color: var(--gold);
}

.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.form__status {
  font-size: 0.875rem;
  color: var(--cream-60);
  min-height: 1.4em;
}

.form__status.is-error {
  color: var(--red);
}

/* Honeypot: invisível para humanos */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Mensagem de sucesso (aparece no lugar do form) */
.form__success {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--gold);
}

.form__success.is-visible {
  display: flex;
}

.form__success h3 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  max-width: 24ch;
}

/* --------------------------------------------------------------------------
   18. WhatsApp flutuante
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 700;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: var(--cream);
  transform: scale(0);
}

.wa-float.is-visible {
  transform: scale(1);
}

html:not(.js-loaded) .wa-float {
  transform: scale(1);
}

.wa-float svg {
  width: 26px;
  height: 26px;
}

.wa-float:hover {
  background: var(--gold);
  color: var(--black);
}

/* --------------------------------------------------------------------------
   19. Footer — três colunas
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  padding-top: var(--section-y);
  background: var(--black-2);
  border-top: 1px solid var(--gold-20);
}

.footer__top {
  display: grid;
  gap: 2.5rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 640px) {
  .footer__top {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
  }
}

.footer__brand img {
  width: 160px;
  height: auto;
  object-fit: contain;
  margin-bottom: 1.25rem;
  color: transparent;
}

.footer__brand p {
  font-size: 0.9375rem;
  max-width: 30ch;
}

.footer__col h4 {
  margin-bottom: 1.25rem;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer__col li + li {
  margin-top: 0.625rem;
}

.footer__col a {
  font-size: 0.9375rem;
  color: var(--cream-60);
}

.footer__col a:hover {
  color: var(--cream);
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold-40);
  border-radius: 2px;
  color: var(--cream);
}

.social svg {
  width: 18px;
  height: 18px;
}

.social:hover {
  background: var(--red);
  border-color: var(--red);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--gold-20);
  font-size: 0.8125rem;
  color: var(--cream-40);
}

.footer__bottom a {
  color: var(--cream-60);
}

.footer__bottom a:hover {
  color: var(--gold);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

/* --------------------------------------------------------------------------
   20. Páginas internas (obrigado / políticas)
   -------------------------------------------------------------------------- */
.page {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: var(--section-y);
}

.page--doc {
  align-items: start;
}

.page__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .page__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.page__inner {
  max-width: 720px;
}

.page__inner h1 {
  margin-bottom: 1.5rem;
}

.page__inner .lead {
  margin-bottom: 2.5rem;
}

.page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.doc h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--gold);
}

.doc p + p {
  margin-top: 1rem;
}

.doc ul {
  margin: 1rem 0 1rem 1.25rem;
  list-style: disc;
  color: var(--cream-60);
}

.doc li + li {
  margin-top: 0.5rem;
}

.doc a {
  color: var(--cream);
  border-bottom: 1px solid var(--gold-60);
}

.doc__meta {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-40);
  margin-bottom: 2rem;
}
