/* =========================================================
   Cloudy · LP de pré-lançamento (v10)
   Cópia exata do desenho de cloudy-landing-six.vercel.app (17/11/2026, atualizada
   às 17h41 com o hero 190/194, o rodapé novo e o modal que acompanha a altura da tela).
   Paleta: azul #96bcdf · preto · branco. Fonte: Gabarito (a do site da loja),
   400 texto, 600 botões e rótulos, 700 títulos. O coreano, que a Gabarito
   não tem, cai na Noto Sans KR. Caixa baixa em tudo.
   No fim do arquivo: os produtos (etapa 2), o botão do modo "no ar" e as
   páginas de mensagem e de privacidade.
   ========================================================= */
:root {
  --azul: #96bcdf;
  --tinta: #111111;
  --papel: #ffffff;
  --suave: rgba(17, 17, 17, 0.62);
  --menu: 56px;
  --borda: 16px;           /* margem branca em volta dos cartões */
  --raio: 12px;            /* canto dos cartões */
  --vao: 20px;             /* espaço entre um cartão e outro */
  --curva: cubic-bezier(.76, 0, .24, 1);
  --fonte: "Gabarito", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --fonte-ko: "Gabarito", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  /* largura do "Cloudy" do hero; o campo fica logo abaixo dele (metade da altura = largura ÷ 6,68) */
  --marca: min(64vw, 1140px);
}
::selection { background: var(--azul); color: var(--tinta); }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--fonte);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; z-index: 100; top: -60px; left: 12px;
  padding: 10px 16px; border-radius: 999px;
  background: var(--tinta); color: var(--papel);
  font-size: 14px; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }
/* campo escondido contra robôs (só robô preenche) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- menu ----------
   no hero: transparente, texto branco, sem o "Cloudy" pequeno.
   depois do hero: barra branca com o "Cloudy", sempre visível. */
.menu {
  position: fixed; z-index: 10;
  top: var(--borda); left: 0; right: 0;
  height: var(--menu);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 calc(var(--borda) + 22px);
  color: var(--papel);
  text-shadow: 0 1px 10px rgba(30, 36, 44, .25);
  transition: top .7s var(--curva), background-color .7s var(--curva), color .7s var(--curva), transform .7s var(--curva);
}
.menu.is-solido {
  top: 0;
  background: var(--papel);
  color: var(--tinta);
  text-shadow: none;
}
.menu__marca { transition: opacity .7s var(--curva), transform .7s var(--curva); }
.menu:not(.is-solido) .menu__marca { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.menu__lado { margin: 0; font-size: 14px; letter-spacing: 0.01em; }
.menu__link { justify-self: end; text-decoration: none; position: relative; }
.menu__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .3s ease;
}
.menu__link:hover::after { transform: scaleX(1); transform-origin: left; }
.menu__marca svg { height: 22px; width: auto; fill: currentColor; }
.menu:not(.is-solido) .menu__marca svg { filter: drop-shadow(0 1px 8px rgba(30, 36, 44, .25)); }

/* ---------- primeira dobra: o cartão do hero com margem branca em volta ---------- */
.palco {
  position: relative;
  height: 100svh;
  min-height: 560px;
  padding: var(--borda);
  display: flex;
  flex-direction: column;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  overflow: clip;
  border-radius: var(--raio);
  display: grid;
  place-items: center;
  background: #e9ecee;     /* cor do estúdio, aparece só enquanto a foto carrega */
}
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 150px; z-index: 1;
  background: linear-gradient(rgba(30, 36, 44, .22), rgba(30, 36, 44, 0));
  pointer-events: none;
}
/* véu leve no centro da foto, para o "Cloudy" branco ganhar contraste */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 58% 72% at 50% 55%, rgba(28, 22, 20, .28), rgba(28, 22, 20, .10) 72%),
    linear-gradient(rgba(28, 22, 20, .05), rgba(28, 22, 20, .11));
  pointer-events: none;
}
/* o <picture> (foto do computador × do celular) é uma camada do tamanho do hero,
   fora da grade: se entrar na grade, ele (e o <source>) ocupam uma linha e
   empurram o "Cloudy" para baixo do centro */
.hero picture { position: absolute; inset: 0; }
.hero__foto {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* foto FINAIS-190 (vertical, 1280×1920) com zoom no rosto: ver o bloco
     "hero: zoom no rosto" mais abaixo. */
  object-position: 50% 30%;
}

.hero__marca {
  position: relative;
  z-index: 2;               /* por cima do véu */
  margin: 0;
  width: var(--marca);
  /* a foto é clara: a sombra é larga e fraca, só para o branco não sumir no fundo do estúdio */
  filter: drop-shadow(0 0 40px rgba(40, 52, 64, 0.22)) drop-shadow(0 2px 6px rgba(40, 52, 64, 0.10));
}
.hero__marca svg { width: 100%; height: auto; fill: var(--papel); }

/* entrada: a palavra sobe devagar, como uma nuvem se formando */
@media (prefers-reduced-motion: no-preference) {
  .hero__foto { animation: aparece 1.1s ease-out both; }
  .hero__marca { animation: sobe 1.3s var(--curva) .2s both; }
}
@keyframes aparece { from { opacity: 0; } to { opacity: 1; } }
@keyframes sobe {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

/* ---------- faixa do cadastro ---------- */
.junto { white-space: nowrap; }   /* não quebra "e-mail" nem "todo mundo." */

/* o campo fica centralizado logo abaixo do "Cloudy":
   50% da tela + metade da altura da palavra (largura ÷ 3,34 ÷ 2) + respiro */
.cta {
  position: absolute; left: 50%;
  z-index: 3;               /* acima do véu do hero */
  top: calc(50% + var(--marca) / 6.68 + 26px);
  transform: translateX(-50%);
  width: min(460px, 86vw);
  text-align: center;
}
@media (prefers-reduced-motion: no-preference) {
  .cta { animation: aparece .8s ease-out .6s both; }
}

.form__campo {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: var(--papel);
  border-radius: 999px;
  box-shadow: 0 10px 40px rgba(40, 52, 64, .16);
  transition: box-shadow .2s ease;
}
.form__campo:focus-within { box-shadow: 0 10px 40px rgba(40, 52, 64, .16), 0 0 0 2px var(--azul); }
.form__campo.is-erro { box-shadow: 0 10px 40px rgba(40, 52, 64, .16), 0 0 0 2px #b4474f; }
.form--modal .form__campo.is-erro input:not([type="checkbox"]) { border-color: #b4474f; }
.form__campo[hidden] { display: none; }
.form input {
  flex: 1; min-width: 0;
  border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 16px; color: var(--tinta);
  padding: 13px 8px 13px 18px;
}
.form input::placeholder { color: rgba(17, 17, 17, 0.45); }
.form button {
  flex: none;
  font: inherit; font-size: 15px; font-weight: 600;
  color: var(--papel); background: var(--tinta);
  border: 0; border-radius: 999px;
  padding: 13px 22px;
  cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
}
/* preenchimento direcional: entra pelo lado em que o mouse chega e sai pelo lado
   em que ele vai embora (0,25s). O app.js troca a variável --corte; sem JS, vem da esquerda. */
.preenche { position: relative; overflow: hidden; isolation: isolate; }
.preenche::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--cor-preenche, #2b2b2b);
  clip-path: var(--corte, inset(0 100% 0 0 round 999px));
  transition: clip-path .25s ease;
}
.preenche.sem-transicao::before { transition: none; }
@media (hover: hover) {
  html:not(.tem-movimento) .preenche:hover::before { clip-path: inset(0 0 0 0 round 999px); }
}
.form button:disabled { opacity: .6; cursor: wait; }
.form button:focus-visible { outline: 2px solid var(--papel); outline-offset: -5px; }
.form button span { display: inline-block; margin-left: 4px; transition: transform .25s ease; }
.form button:hover span { transform: translateX(3px); }

/* nota e erro em "pílulas" de vidro: ficam legíveis em cima da foto */
.form__nota, .form__msg {
  display: inline-block;
  margin: 12px 0 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 13px;
  color: var(--tinta);
}
.form__nota[hidden] { display: none; }
.form__msg { color: #7a1f25; }
.form__msg:empty { display: none; }
.form__msg.is-ok {
  display: block;
  margin: 0;
  padding: 16px 22px;
  background: var(--papel);
  border-radius: 22px;
  box-shadow: 0 10px 40px rgba(40, 52, 64, .16);
  color: var(--tinta);
  font-size: 16px;
  line-height: 1.4;
}

/* ---------- passo 2: o whatsapp, opcional ----------
   entra no lugar do passo 1 logo depois do e-mail: a confirmação em cima, a pílula do número
   e a nota (que é o aceite do whatsapp) com o "agora não" para pular. */
.form__passo {
  display: inline-flex; align-items: center; gap: 9px;
  max-width: 100%;
  margin: 0 0 12px;
  padding: 7px 14px 7px 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 14px; line-height: 1.3;
  color: var(--tinta);
  text-align: left;
}
.form__ok { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--azul); }
.form__ok svg { width: 12px; height: 12px; fill: none; stroke: var(--tinta); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- confirmação: o texto, o convite para uma amiga e o instagram ---------- */
.confirmado { display: grid; justify-items: center; gap: 14px; }
.confirmado__texto { display: flex; align-items: flex-start; gap: 10px; margin: 0; text-align: left; }
.confirmado__texto .form__ok { margin-top: 1px; }
.confirmado__acoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.form .confirmado__convite, .confirmado__insta {
  display: inline-flex; align-items: center; justify-content: center;
  width: auto; margin: 0;
  padding: 10px 18px;
  border-radius: 999px;
  font: inherit; font-size: 14px; font-weight: 600;
  text-decoration: none;
}
.form .confirmado__convite { background: var(--tinta); color: var(--papel); }
.confirmado__insta { box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .25); color: var(--tinta); transition: box-shadow .25s ease; }
.confirmado__insta:hover { box-shadow: inset 0 0 0 1px var(--tinta); }
.form .confirmado__trocar {
  display: inline; width: auto; margin: 0; padding: 0;
  border: 0; border-radius: 0; background: none;
  font: inherit; font-size: 12px; font-weight: 400; color: var(--suave);
  text-decoration: underline; text-underline-offset: 2px;
  cursor: pointer;
}
.form .confirmado__trocar:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.form .form__pular {
  display: inline; width: auto; margin: 0; padding: 0;
  border: 0; border-radius: 0; background: none;
  font: inherit; font-weight: 600; color: inherit;
  text-decoration: underline; text-underline-offset: 2px;
  cursor: pointer;
}
.form .form__pular:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.form--whats .form__nota { max-width: 100%; line-height: 1.35; border-radius: 14px; }

/* os dois aceites (obrigatórios), num cartão de vidro como o da nota, alinhados à esquerda */
.form__aceites {
  display: grid;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  margin: 12px auto 0;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  text-align: left;
  font-size: 13px;
  line-height: 1.35;
  color: var(--tinta);
}
.aceite { display: flex; align-items: flex-start; gap: 9px; cursor: pointer; }
.aceite a { text-underline-offset: 2px; }
.form .aceite input {
  flex: none;
  display: grid; place-content: center;
  width: 16px; height: 16px;
  margin: 0; padding: 0;
  border: 1.5px solid var(--tinta);
  border-radius: 4px;
  background: var(--papel);
  -webkit-appearance: none; appearance: none;
  cursor: pointer;
  transition: background-color .2s ease, box-shadow .2s ease;
}
.form .aceite input::before {
  content: ""; width: 9px; height: 9px;
  background: var(--papel);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
  transform: scale(0);
  transition: transform .2s var(--curva);
}
.form .aceite input:checked { background: var(--tinta); }
.form .aceite input:checked::before { transform: scale(1); }
.form .aceite input:focus-visible { outline: 2px solid var(--azul); outline-offset: 2px; }
.form .aceite.is-erro input { border-color: #7a1f25; box-shadow: 0 0 0 3px rgba(122, 31, 37, .16); }

/* ---------- separador entre o hero e a carta ----------
   texto da embalagem: 한국의 아름다움. A Noto Sans KR carrega só as letras dessa frase (ver o <link> no index.html). */
.sep { padding: clamp(44px, 6.5vw, 100px) var(--borda); text-align: center; }
.sep__ko {
  margin: 0;
  font-family: var(--fonte-ko);
  font-weight: 200;
  font-size: clamp(40px, 7.6vw, 124px);
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.sep__linha { margin: 14px 0 0; font-size: 14px; letter-spacing: .02em; color: var(--suave); }

/* ---------- a carta ----------
   Zoom feito só no CSS; a foto continua o arquivo original 1280×1920 (FINAIS-096, perfil, blusa rosa).
   Recorte = caixa (x, y, largura) em pixels do original, cabeça no centro:
     computador (100, 408, 1100)
     celular    (300, 234, 700)
   A conta: largura da img = 1280/L; margin-left = -x/L; margin-top = -y/L
   (margin-top em % também é relativo à LARGURA, por isso a conta fecha
   mesmo se o texto empurrar a altura da seção). */
.carta {
  position: relative;
  overflow: hidden;
  overflow: clip;           /* "clip" não deixa o navegador rolar o recorte por dentro (ex.: ao focar o botão) */
  margin: 0 var(--borda) var(--borda);
  border-radius: var(--raio);
  aspect-ratio: 903 / 397;
  display: grid;
  place-items: center;
  background: #c9b8ae;
  color: var(--papel);
}
.carta__foto {
  position: absolute; top: 0; left: 0;
  width: 116.364%;          /* 1280 / 1100 */
  max-width: none;
  height: auto;
  margin-left: -9.091%;     /* -100 / 1100 */
  margin-top: -37.091%;     /* -408 / 1100 */
}
/* véu leve: só o bastante para o branco aparecer na pele e no fundo claro */
.carta::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 58% 72% at 50% 55%, rgba(28, 22, 20, .46), rgba(28, 22, 20, .18) 72%),
    linear-gradient(rgba(28, 22, 20, .08), rgba(28, 22, 20, .18));
}
.carta__texto {
  position: relative; z-index: 1;
  max-width: 760px;
  padding: 56px 24px;
  text-align: center;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .18);
}
.carta__titulo {
  margin: 0 0 22px;
  font-weight: 700;
  font-size: clamp(26px, 2.4vw, 36px);
  letter-spacing: -0.025em;
}
.carta__texto p {
  margin: 0 auto 14px;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.6;
}
.carta__assinatura { margin-top: 22px !important; font-weight: 600; }
.carta__botao {
  display: inline-block;
  margin-top: 22px;
  padding: 11px 30px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: .02em;
  text-decoration: none;
  text-shadow: none;
  --cor-preenche: var(--papel);
  transition: color .25s ease;
}
.carta__botao.is-cheio, html:not(.tem-movimento) .carta__botao:hover { color: var(--tinta); }

/* ---------- movimento ao rolar ----------
   Só existe com html.tem-movimento (posta no <head> quando a pessoa não pediu
   "reduzir movimento"). Sem JS ou com movimento reduzido, tudo aparece parado e inteiro.
   [data-reveal] e .reveal-img são os das seções dos produtos (etapa 2). */
.tem-movimento [data-revela],
.tem-movimento [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s ease, transform .9s var(--curva);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.tem-movimento [data-revela].is-visivel,
.tem-movimento [data-reveal].is-visivel { opacity: 1; transform: none; }

/* o coreano se forma conforme a pessoa desce a página: cada letra tem seu
   --p (0 → 1), escrito pelo app.js a cada rolagem. Sai do desfoque e sobe
   um pouco, como uma nuvem se formando. A linha em português vem no fim. */
.sep__ko .letra { display: inline-block; white-space: pre; }
.tem-movimento .sep__ko .letra,
.tem-movimento .sep__linha {
  opacity: var(--p, 0);
  filter: blur(calc((1 - var(--p, 0)) * 12px));
  transform: translateY(calc((1 - var(--p, 0)) * .22em));
  will-change: opacity, filter, transform;
}

/* a foto da carta chega com um zoom lento que assenta (1,08 → 1) e um fade */
.tem-movimento .carta__foto,
.tem-movimento .reveal-img img {
  opacity: 0;
  transform: scale(1.08);
  transform-origin: 51% 34%;              /* a cabeça */
  transition: opacity .6s ease-out .15s, transform 1.8s var(--curva);
}
.tem-movimento .carta.is-visivel .carta__foto,
.tem-movimento .reveal-img.is-visivel img { opacity: 1; transform: none; }

/* ---------- rodapé ----------
   fundo branco; esquerda: rótulo + @ do instagram enorme; direita: 3 links com fio e seta;
   pé: Cloudy pequeno + linha da embalagem, © à direita. */
.ig-icone { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
.ig-icone .ig-ponto { fill: currentColor; stroke: none; }
.rodape {
  padding: clamp(56px, 7vw, 110px) calc(var(--borda) + 8px) calc(28px + env(safe-area-inset-bottom));
  color: var(--tinta);
}
.rodape__topo {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 36%);
  align-items: center;
  gap: clamp(32px, 6vw, 120px);
}
.rodape__rotulo {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; color: #5e5b56; text-decoration: none;
}
.rodape__rotulo .ig-icone { width: 20px; height: 20px; }
.rodape__handle {
  display: block;
  margin-top: 6px;
  font-weight: 700;
  font-size: clamp(40px, 6.6vw, 112px);
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--tinta);
  text-decoration: none;
  white-space: nowrap;
}
.rodape__handle:hover { opacity: .8; }
.rodape__links { display: flex; flex-direction: column; border-top: 1px solid rgba(17, 17, 17, .12); }
.rodape__links a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 2px;
  border-bottom: 1px solid rgba(17, 17, 17, .12);
  font-size: 15px; color: var(--tinta); text-decoration: none;
}
.rodape__links .seta { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .35s var(--curva); }
.rodape__links a:hover .seta { transform: translateX(4px); }
.rodape__links a[target="_blank"]:hover .seta { transform: translate(3px, -3px); }
.rodape__pe {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: clamp(48px, 7vw, 110px);
  font-size: 13px; color: #5e5b56;
}
.rodape__pe p { margin: 0; }
.rodape__assina { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.rodape__marca { height: 20px; width: auto; fill: var(--tinta); }

/* ---------- modal da lista ---------- */
html.modal-aberto { overflow: hidden; }
.modal {
  /* a largura também depende da ALTURA da tela: a foto (quadro 0,85) cresce com
     a largura, e o resto do cartão (textos, aceites e botão) ocupa ~385px. Assim o
     modal inteiro cabe sem rolar em telas mais baixas (nunca menos de 300px de largura). */
  width: min(520px, calc(100vw - 24px), max(300px, calc((100svh - 24px - 385px) * .85 + 36px)));
  max-height: calc(100svh - 24px);
  padding: 0; border: 0; background: transparent;
  color: var(--tinta);
  overflow: visible;
}
.modal::backdrop { background: rgba(20, 18, 16, .45); }
.modal__cartao {
  position: relative;
  max-height: calc(100svh - 24px);
  overflow-y: auto;
  padding: 18px 18px 26px;
  border-radius: 22px;
  background: #f4f3f0;
  text-align: center;
}
.modal__foto {
  position: relative;
  margin: 0 0 26px;
  border-radius: 14px;
  overflow: hidden; overflow: clip;
  aspect-ratio: 0.85;                  /* mais alta: cabe o "Cloudy" de ponta a ponta e a pose inteira */
  /* tela muito baixa (o modal já está na largura mínima): a foto corta por baixo para o botão aparecer */
  max-height: max(150px, calc(100svh - 24px - 385px));
  width: 100%;                         /* largura fixa: sem ela, o max-height encolheria a largura junto (aspect-ratio) */
  background: #e9e9e9;                 /* o cinza da parede da foto 094, medido na borda direita */
}
/* foto FINAIS-094 (agachada, blusa rosa; vertical 1280×1920), sem tratamento e sem zoom.
   O corpo vai de x 424 a 1048 do original (centro em 736): a foto anda 96px para a esquerda
   para ele ficar no meio, e a faixa que sobra à direita é o cinza da parede (#e9e9e9), com a
   borda da foto se dissolvendo nele. Sobe 50px do original: o "Cloudy" fica na parede. */
.modal__foto img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: auto; max-width: none;
  margin-left: -7.5%;                      /* -96 / 1280 */
  margin-top: -3.906%;                     /* -50 / 1280 */
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 10%);
          mask-image: linear-gradient(to left, transparent 0, #000 10%);
}
/* o "Cloudy" grande no alto da foto */
.modal__marca {
  position: absolute; left: 50%; top: 2%;
  width: 94%; height: auto;
  transform: translateX(-50%);
  fill: var(--papel);
  filter: drop-shadow(0 0 30px rgba(40, 52, 64, .25)) drop-shadow(0 2px 6px rgba(40, 52, 64, .12));
}
.modal__fechar {
  position: absolute; top: 28px; right: 28px; z-index: 2;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--papel); color: var(--tinta);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .10);
  transition: transform .25s var(--curva);
}
.modal__fechar:hover { transform: rotate(90deg); }
.modal__fechar svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.modal__titulo { margin: 0; font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.025em; color: #4a4844; }
.modal__texto { margin: 8px auto 0; max-width: 24em; font-size: 16px; line-height: 1.45; color: #6b6964; }

/* o formulário do modal: campo com contorno e botão largo embaixo */
.form--modal { margin: 22px 6px 0; }
.form--modal .form__campo {
  display: block; padding: 0; background: none; box-shadow: none; border-radius: 0;
}
.form--modal .form__campo:focus-within { box-shadow: none; }
.form--modal .form__campo[hidden] { display: none; }   /* some depois do cadastro */
.form--modal input {
  display: block; width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(17, 17, 17, .35);
  border-radius: 10px;
  background: transparent;
  transition: border-color .25s ease;
}
.form--modal input:focus { border-color: var(--tinta); }
.form--modal .form__passo { display: flex; justify-content: center; padding: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; font-size: 15px; }
.form--modal .form__nota { display: block; margin: 12px 2px 0; padding: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; font-size: 13px; color: #6b6964; }
.form--modal .form__aceites {
  width: auto; margin: 14px 2px 2px; padding: 0;
  background: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  font-size: 14px; color: #6b6964;
}
.form--modal button {
  display: block; width: 100%;
  margin-top: 12px;
  padding: 17px 22px;
  font-size: 16px;
}
.form--modal .form__msg { display: block; margin: 12px 0 0; padding: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.form--modal .form__msg:empty { display: none; }
.form--modal .form__msg.is-ok { padding: 18px 20px; background: var(--papel); box-shadow: none; }

/* abrir e fechar com a mesma curva */
.tem-movimento .modal[open] { animation: modal-entra .6s var(--curva); }
.tem-movimento .modal[open]::backdrop { animation: aparece .4s ease; }
.tem-movimento .modal.is-fechando { animation: modal-sai .35s var(--curva) forwards; }
.tem-movimento .modal.is-fechando::backdrop { animation: some .35s ease forwards; }
@keyframes modal-entra { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes modal-sai { to { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes some { to { opacity: 0; } }

/* ---------- etapa 2: os produtos, em cartões ----------
   entram entre a primeira dobra e o separador, com o interruptor "Mostrar os produtos na LP" ligado. */
[data-products-slot] {
  display: grid;
  gap: var(--vao);
  margin: calc(var(--vao) - var(--borda)) var(--borda) 0;
}
[data-products-slot]:empty { display: none; }
.product { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--vao); }
.product--flip .product__media { order: 2; }
.product__media, .product__text {
  margin: 0;
  border-radius: var(--raio);
  overflow: hidden; overflow: clip;
  min-height: clamp(520px, 72vh, 780px);
}
.product__media { position: relative; background: #e9ecee; }
.product__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.product__text {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: 18px;
  padding: clamp(36px, 6vw, 104px);
  background: #f4f3f0;
}
.kicker { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--suave); }
.product__text .h2 { margin: 0; font-weight: 700; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.02; letter-spacing: -0.025em; }
.product__text .body { margin: 0; max-width: 44ch; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.6; color: var(--suave); }
.facts { width: 100%; max-width: 460px; margin: 0; border-top: 1px solid rgba(17, 17, 17, .12); }
.facts div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(17, 17, 17, .12); }
.facts dt { padding-top: 2px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--suave); }
.facts dd { margin: 0; font-size: 15px; }

/* ---------- LP "no ar": o cadastro do hero vira o botão da loja ---------- */
.cta__loja {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 17px 30px;
  border-radius: 999px;
  background: var(--tinta); color: var(--papel);
  font-size: 16px; font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 40px rgba(40, 52, 64, .16);
}

/* ---------- hero: zoom no rosto (foto 190, vertical) ----------
   O rosto fica em x≈650, y≈820 do original (1280×1920): no meio da largura e
   a 42,7% da altura da foto. A foto é posicionada pelo rosto:
   left 50% / top 30% do hero e translate(-50%, -42.7%) da própria foto.
   (Ao trocar a foto, só muda o segundo número do translate: y do rosto ÷ 1920.)
   A largura define o zoom: no computador mostra ~1015px de altura do original
   (do rosto até o tronco), largura = altura do hero × 1280/679, nunca menos que a tela. */
.hero__foto {
  inset: auto;
  top: 30%;
  left: 50%;
  width: max(100%, calc((100svh - 32px) * 1.885));
  height: auto;
  max-width: none;
  transform: translate(-50%, -42.7%);   /* 50%: em tela bem larga a foto tem a largura exata da tela e não pode sobrar faixa */
}

@media (min-width: 761px) and (min-aspect-ratio: 1/1) and (max-height: 800px) {
  :root { --marca: clamp(400px, (50svh - 219px) * 6.68, min(64vw, 1140px)); }
}

/* telas em pé e tablets: produtos em uma coluna */
@media (orientation: portrait), (max-width: 900px) {
  .product { grid-template-columns: 1fr; }
  .product--flip .product__media { order: 0; }
  .product__media { min-height: 0; aspect-ratio: 4 / 5; }
  .product__text { min-height: 0; }
}

/* ---------- celular ---------- */
@media (max-width: 760px) {
  :root { --menu: 52px; }
  .menu { grid-template-columns: auto 1fr; padding: 0 calc(var(--borda) + 16px); }
  .menu > .menu__lado:first-child { display: none; }
  .menu__marca svg { height: 19px; }

  /* celular: outra foto (FINAIS-194, close do rosto, sem o braço), com zoom
     leve (1,12×) puxado para baixo do rosto: corta o cabelo acima da faixa
     e mantém o rosto no meio da largura */
  .hero__foto {
    inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: 59% 50%;
    transform: scale(1.12);
    transform-origin: 59% 64%;
  }
  .hero__marca { width: 80vw; }

  .cta { top: calc(50% + 12vw + 20px); width: min(400px, 78vw); }
  /* campo numa linha só também no celular: empilhado ele fica alto e cobre a boca.
     A letra do campo fica em 16px porque abaixo disso o iPhone dá zoom na página ao tocar no campo. */
  .form__campo { padding: 4px; }
  .form input { padding: 8px 4px 8px 12px; }
  .form button { padding: 9px 14px; font-size: 13px; }
  .form__nota { margin-top: 10px; font-size: 12px; padding: 5px 11px; }
  .cta__loja { padding: 14px 24px; font-size: 15px; }
  .cta .form__aceites { margin-top: 10px; padding: 9px 12px; font-size: 12px; }
  .form__passo { font-size: 13px; }

  .rodape { padding: 56px calc(var(--borda) + 6px) calc(24px + env(safe-area-inset-bottom)); }
  .rodape__topo { grid-template-columns: 1fr; gap: 32px; }
  .rodape__handle { font-size: clamp(36px, 11.4vw, 56px); }
  .rodape__pe { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 44px; }
  .rodape__assina { gap: 14px; }

  .carta { aspect-ratio: 480 / 736; }
  .carta__foto {
    width: 182.857%;          /* 1280 / 700 */
    margin-left: -42.857%;    /* -300 / 700 */
    margin-top: -33.429%;     /* -234 / 700 */
  }
  .carta__texto { padding: 48px 22px; }
  .tem-movimento .carta__foto { transform-origin: 51% 40%; }
  .modal__cartao { padding: 12px 12px 20px; border-radius: 18px; }
  .modal__fechar { top: 20px; right: 20px; width: 36px; height: 36px; }

  .modal__foto { margin-bottom: 20px; }
  .form--modal .form__campo { flex-direction: initial; }
  .form--modal input { padding: 15px 16px; }
  .form--modal button { padding: 16px 22px; font-size: 15px; }

  .facts div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- páginas de mensagem (descadastro) e política de privacidade ----------
   no mesmo visual: fundo claro do modal, cartão branco, botão preto em pílula. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 26px;
  border: 0; border-radius: 999px;
  background: var(--tinta); color: var(--papel);
  font: inherit; font-size: 15px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s ease, color .25s ease;
}
.btn:hover { background: #2b2b2b; }
.btn--ghost { background: transparent; color: var(--tinta); box-shadow: inset 0 0 0 1px currentColor; }
.btn--ghost:hover { background: var(--tinta); color: var(--papel); }

.message-page { min-height: 100svh; display: grid; place-items: center; padding: 24px 16px; background: #f4f3f0; }
.message-card { width: min(440px, 100%); display: grid; gap: 16px; justify-items: center; text-align: center; padding: 44px 32px; border-radius: 22px; background: var(--papel); }
.message-card h1 { margin: 0; font-weight: 700; font-size: 30px; line-height: 1.08; letter-spacing: -0.025em; }
.message-card p { margin: 0; line-height: 1.5; color: var(--suave); }
.message-card form { display: contents; }
.message-logo img, .message-card > img { width: 100px; height: auto; }
.message-link { font-size: 14px; color: var(--suave); }

.legal { max-width: 760px; margin: 0 auto; padding: 40px 20px 80px; line-height: 1.6; }
.legal .topbar { padding: 0 0 40px; }
.legal .topbar img { width: 100px; height: auto; }
.legal h1 { margin: 0 0 16px; font-weight: 700; font-size: clamp(30px, 5vw, 44px); line-height: 1.04; letter-spacing: -0.025em; }
.legal h2 { margin: 32px 0 8px; font-weight: 700; font-size: 20px; letter-spacing: -0.015em; }
.legal p, .legal li { color: var(--suave); }
.legal ul { padding-left: 20px; list-style: disc; }
.legal .note { margin-top: 8px; padding: 14px 18px; border-radius: 14px; background: #f4f3f0; color: var(--tinta); font-size: 14px; }
.legal .kicker { margin-bottom: 12px; }
.legal__data { margin: 0 0 8px; font-size: 14px; }
.legal strong { color: var(--tinta); font-weight: 600; }
.legal__aceites { list-style: none !important; padding: 0 !important; display: grid; gap: 8px; }
.legal__aceites li { padding: 12px 16px; border-radius: 12px; background: #f4f3f0; color: var(--tinta); }
.legal__rodape { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(17, 17, 17, .12); font-size: 14px; }
.legal__rodape a:not(.btn) { color: var(--suave); text-decoration: none; }
.legal__rodape a:not(.btn):hover { color: var(--tinta); }
