/* WK Encanto e Estilo — cores tiradas do arquivo vetorial da marca */
:root {
  --cream: #ece4d7;
  --cream-deep: #e3d9c8;
  --pink: #f285bd;
  --pink-soft: #f7c3dc;
  --ink: #373536;
  --white: #ffffff;
  --rule: rgba(55, 53, 54, 0.16);

  --serif: "Instrument Serif", "Bodoni Moda", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;

  --gutter: clamp(20px, 2.8vw, 40px);
  --section: clamp(72px, 9vw, 140px);
  --block-radius: clamp(28px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(17px, 1.25vw, 19px);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 2px; }
.on-dark :focus-visible { outline-color: var(--cream); }
::selection { background: var(--pink); color: var(--ink); }

.wrap { max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Rótulo em caixa alta espaçada: a voz do "ENCANTO E ESTILO" do logotipo */
.label {
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 400;
}
.label--dots::before, .label--dots::after { content: "•"; margin-inline: 0.9em; }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(52px, 8.4vw, 124px);
  line-height: 0.94;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.statement {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.008em;
  text-wrap: balance;
}
.support { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.38; text-wrap: pretty; }

/* Botão "ponte": duas palavras ligadas por um fio */
.bridge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 16px clamp(24px, 2.8vw, 40px);
  border-radius: 5px;
  background: var(--ink);
  color: var(--cream);
  font-size: 16px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 0.35s ease, color 0.35s ease;
}
.bridge i { width: 34px; height: 1px; background: currentColor; transition: width 0.35s ease; }
.bridge:hover { background: var(--pink); color: var(--ink); }
.bridge:hover i { width: 48px; }
.bridge--light { background: var(--cream); color: var(--ink); }
.bridge--light:hover { background: var(--pink); }
.bridge--small { min-height: 46px; padding: 10px 22px; font-size: 14px; }
.bridge--small i { width: 22px; }
.bridge--small:hover i { width: 30px; }

/* ---------- Navegação flutuante ---------- */
.nav {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: 50%;
  translate: -50% 0;
  width: min(calc(100% - 2 * var(--gutter)), 1360px);
  height: 62px;
  padding: 0 8px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(236, 228, 215, 0.74);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid var(--rule);
  border-radius: 12px;
  transition: translate 0.5s cubic-bezier(0.2, 0.7, 0.1, 1);
}
.nav.is-hidden { translate: -50% -150%; }
.nav__brand { color: var(--ink); display: inline-flex; }
.nav__brand svg { height: 30px; width: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav__links a:not(.bridge) {
  font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none;
  padding-block: 8px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.3s ease;
}
.nav__links a:not(.bridge):hover { background-size: 100% 1px; }

/* ---------- Abertura: o monograma é a imagem ---------- */
.hero { position: relative; }
.hero__layer { position: relative; overflow: hidden; background: var(--cream); }
.hero__inner { position: relative; padding-top: 104px; padding-bottom: clamp(36px, 4vw, 56px); }
.hero__glow {
  position: absolute;
  width: max(52vw, 420px);
  aspect-ratio: 1;
  left: 50%; top: 42%;
  translate: -50% -50%;
  background:
    radial-gradient(closest-side, rgba(255, 255, 255, 0.78), transparent 100%);
  filter: blur(30px);
  pointer-events: none;
}
.hero__mark {
  color: var(--pink);
  width: min(100%, 900px, 88svh);
  margin: clamp(12px, 2.4vw, 36px) auto 0;
}
.hero__mark { position: relative; z-index: 0; }
.hero__mark > svg:not(.hero__sig) { width: 100%; height: auto; overflow: visible; }
.hero__band, .hero__sig, .hero__float { display: none; }
/* Fotos soltas que entram pelos lados quando o rosa toma a tela (só em telas largas) */
@media (min-height: 640px) and (min-width: 1180px) {
  .fx .hero__layer--flood .hero__float {
    display: block; position: absolute; z-index: 0; height: auto;
    width: clamp(150px, 13vw, 220px);
    box-shadow: 0 34px 60px -34px rgba(55, 53, 54, 0.6);
    will-change: translate;
  }
  .fx .hero__layer--flood .hero__float--l {
    left: 4.5vw; top: 20%; rotate: -7deg;
    translate: calc((1 - var(--q, 0)) * -36vw) calc((1 - var(--q, 0)) * 16vh);
  }
  .fx .hero__layer--flood .hero__float--r {
    right: 4.5vw; top: 38%; rotate: 6deg;
    translate: calc((1 - var(--q, 0)) * 36vw) calc((1 - var(--q, 0)) * -12vh);
  }
}
.hero__band-track {
  width: max-content; white-space: nowrap;
  font-family: var(--serif); font-style: italic; line-height: 1;
  font-size: clamp(96px, min(34svh, 38vw), 360px);
  color: rgba(255, 255, 255, 0.32);
  will-change: transform;
}
.hero__tagline { text-align: center; margin-top: clamp(20px, 2.4vw, 34px); font-size: clamp(11px, 1.3vw, 17px); letter-spacing: 0.42em; }
.hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  gap: var(--gutter);
  align-items: end;
  margin-top: clamp(40px, 5.6vw, 84px);
}
.hero__foot .support { margin-bottom: 26px; }

/* Aviso de que a página continua para baixo */
.hero__hint {
  position: absolute; z-index: 2; left: 50%; bottom: clamp(20px, 2.6vw, 38px); translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; white-space: nowrap;
  pointer-events: none;
}
.hero__hint i { position: relative; width: 1px; height: 42px; background: rgba(55, 53, 54, 0.3); }
.hero__hint i::after {
  content: ""; position: absolute; left: -2px; top: 0; width: 5px; height: 14px; border-radius: 3px;
  background: var(--pink);
}
.hero__hint-touch { display: none; }
.fx .hero__hint { animation: rise 1.1s 2.4s cubic-bezier(0.2, 0.7, 0.1, 1) backwards; will-change: opacity; }
.fx .hero__hint i::after { animation: hint-down 1.7s cubic-bezier(0.6, 0, 0.3, 1) infinite; }
@keyframes hint-down {
  0% { transform: translateY(-6px); opacity: 0; }
  25%, 70% { opacity: 1; }
  100% { transform: translateY(34px); opacity: 0; }
}
@keyframes hint-up {
  0% { transform: translateY(34px); opacity: 0; }
  25%, 70% { opacity: 1; }
  100% { transform: translateY(-6px); opacity: 0; }
}
@media (pointer: coarse) {
  .hero__hint-mouse { display: none; }
  .hero__hint-touch { display: inline; }
  .fx .hero__hint i::after { animation-name: hint-up; }
}
.hero__layer--flood .hero__hint { display: none; }
/* telas estreitas: o texto e o botão ocupam a esquerda, então o aviso vai para o canto direito */
@media (max-width: 860px) {
  .hero__hint { left: auto; right: var(--gutter); translate: none; align-items: flex-end; width: 104px; white-space: normal; text-align: right; line-height: 1.55; }
  .hero__hint i { margin-right: 8px; }
}

/* Cena fixa: ao rolar, o rosa nasce na curva do K e toma a tela */
.hero__layer--flood { display: none; }
@media (min-height: 640px) {
  .fx .hero { height: 320svh; }
  .fx .hero__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
  .fx .hero__layer { position: absolute; inset: 0; }
  .fx .hero__inner { height: 100%; display: flex; flex-direction: column; padding-bottom: clamp(24px, 3vw, 44px); }
  .fx .hero__mark { margin: auto auto 0; }
  /* telas baixas (notebook 768p): logo menor para o texto e o botão caberem com folga */
  @media (max-height: 780px) { .fx .hero__mark { width: min(100%, 900px, 70svh); } }
  .fx .hero__foot { margin-top: auto; padding-top: 24px; will-change: opacity; }
  .fx .hero__layer--flood { display: block; background: var(--pink); clip-path: circle(0px at 50% 50%); will-change: clip-path; }
  .fx .hero__layer--flood .hero__mark { color: var(--cream); }
  .fx .hero__layer--flood .hero__foot { visibility: hidden; }
  .fx .hero__layer--flood .hero__glow { display: none; }
  .fx .hero__layer--flood .hero__band {
    display: block; position: absolute; z-index: -1;
    left: 50%; top: 50%; translate: -50% -50%; width: 100vw;
    opacity: var(--band, 0);
  }
  .fx .hero__layer--flood .hero__sig {
    display: block; position: absolute; left: 10%; top: 6%; width: 84%; height: auto;
    rotate: -7deg; color: var(--ink); overflow: visible; pointer-events: none;
  }
  .fx .block--pink { border-radius: 0; }
}

/* ---------- Blocos empilhados de cor ---------- */
.block {
  border-radius: var(--block-radius) var(--block-radius) 0 0;
  padding-block: var(--section);
  position: relative;
}
.block > .wrap { position: relative; z-index: 1; }
.block--pink { background: var(--pink); color: var(--ink); }
.block--ink { background: var(--ink); color: var(--cream); margin-top: calc(var(--block-radius) * -1); padding-top: calc(var(--section) + 0px); }
.block--cream { background: var(--cream); margin-top: calc(var(--block-radius) * -1); }
.block--pink + .block--cream { }

/* Transições: a próxima seção sobe com a borda curva e se assenta; o bloco escuro abre como uma carta */
/* overflow-x: clip corta a sobra lateral da curva sem cortar a parte que sobe acima do bloco */
.fx .block--arc { border-radius: 0; margin-top: 0; overflow-x: clip; }
.fx .block--arc::before {
  content: ""; position: absolute; left: -6%; right: -6%; bottom: calc(100% - 1px);
  height: var(--arc, 0px); background: inherit; pointer-events: none;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.fx .block--ink {
  margin-top: 0; border-radius: 0;
  /* respiro extra no topo: a abertura termina antes de a primeira linha de texto entrar na tela */
  padding-top: calc(var(--section) + 14svh);
  clip-path: inset(0 var(--in, 0%) 0 var(--in, 0%) round var(--rd, 0px) var(--rd, 0px) 0 0);
}

/* Manifesto */
.manifesto { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 9fr); gap: var(--gutter); padding-bottom: clamp(48px, 6vw, 96px); }
.block--pink { padding-bottom: calc(var(--block-radius) + clamp(28px, 4vw, 64px)); overflow: hidden; }
.manifesto .display { font-size: clamp(38px, 6vw, 92px); }
.manifesto__note { max-width: 30ch; margin-top: clamp(28px, 3.4vw, 52px); margin-left: auto; }

/* Títulos revelados por barras de cor que se recolhem */
.fx [data-bars] .w { position: relative; display: inline-block; }
.fx [data-bars] .w::after {
  content: ""; position: absolute; inset: 0.07em -0.15em 0.03em;
  background: var(--pink);
  transform: scaleX(var(--b, 1)); transform-origin: 100% 50%;
}

/* Riscos à mão: círculo, sublinhado, assinatura */
.sig { fill: none; stroke: currentColor; stroke-width: 4.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 2; }
.has-scrib { position: relative; display: inline-block; }
.scrib {
  position: absolute; overflow: visible; pointer-events: none;
  fill: none; stroke: currentColor; stroke-width: 2.6px; stroke-linecap: round; stroke-linejoin: round;
}
.scrib--circle { left: -14%; top: -14%; }
.scrib--underline { left: -4%; top: 84%; color: var(--pink); }

/* Brilhos que piscam e flutuam */
.spark { position: absolute; z-index: 0; width: var(--s, 22px); aspect-ratio: 1; pointer-events: none; will-change: translate; }
.spark svg { width: 100%; height: 100%; animation: twinkle 3.4s var(--d, 0s) ease-in-out infinite; }
@keyframes twinkle {
  0%, 100% { scale: 0.5; rotate: 0deg; opacity: 0.45; }
  50% { scale: 1; rotate: 45deg; opacity: 1; }
}

/* Selo giratório na dobra entre as seções */
.seal { display: none; }
.fx .seal {
  display: block; position: absolute; z-index: 3; top: 0;
  right: clamp(20px, 7vw, 120px); width: clamp(104px, 11vw, 164px); aspect-ratio: 1;
  translate: 0 -64%;
}
.seal__ring { width: 100%; height: 100%; will-change: rotate; }
.seal__ring text { font-family: var(--sans); font-size: 15px; fill: var(--cream); }
.seal__mono { position: absolute; left: 25%; top: 50%; width: 50%; height: auto; translate: 0 -50%; color: var(--pink); }

/* Palavras que acendem conforme a leitura */
.fx [data-words] .w { opacity: 0.18; }

/* Faixa tipográfica que anda com a rolagem */
.marquee { overflow: hidden; padding-block: 0.06em; }
.marquee__track {
  display: flex; align-items: center; gap: 0.22em;
  width: max-content;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(84px, 17vw, 270px);
  line-height: 1; white-space: nowrap;
  color: var(--cream);
  will-change: transform;
}
.marquee__track i { font-style: normal; font-size: 0.32em; color: var(--ink); }

/* ---------- O que oferecemos: fita de imagens desalinhada ---------- */
.offer { padding-bottom: calc(var(--section) + var(--block-radius)); }
.offer__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--gutter); align-items: end; }
.ribbon {
  display: grid;
  grid-template-columns: 4fr 5fr 3fr;
  gap: clamp(12px, 1.4vw, 20px);
  align-items: start;
  margin-top: clamp(48px, 6vw, 96px);
}
.ribbon__item:nth-child(1) { margin-top: clamp(40px, 7vw, 110px); }
.ribbon__item:nth-child(3) { margin-top: clamp(80px, 13vw, 200px); }
.ribbon { position: relative; }
.ribbon__item { will-change: translate, rotate, scale; position: relative; }
.ribbon__item:nth-child(2) { z-index: 2; }
.ribbon__item h3, .ribbon__item > p, .ribbon__item > .more { opacity: var(--t, 1); }
.shot { overflow: hidden; background: var(--cream-deep); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.1s cubic-bezier(0.2, 0.7, 0.1, 1); }
.shot:hover img { scale: 1.05; }
.shot--34 { aspect-ratio: 3 / 4; }
.shot--916 { aspect-ratio: 9 / 16; }
.more {
  display: inline-block; margin-top: 14px; padding-bottom: 5px;
  font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none;
  background: linear-gradient(var(--pink), var(--pink)) 0 100% / 100% 2px no-repeat;
  transition: background-size 0.4s ease;
}
.more:hover { background-size: 100% 100%; }
.ribbon__item h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.1; margin-top: 20px; }
.ribbon__item p { margin-top: 8px; max-width: 34ch; }

/* Espaço reservado para fotografia real — proporção fixa, sem imagem falsa */
.slot {
  position: relative;
  background: var(--cream-deep);
  border: 1px dashed rgba(55, 53, 54, 0.38);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(14px, 1.4vw, 22px);
  color: var(--ink);
  overflow: hidden;
}
.slot::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 85% 0%, rgba(242, 133, 189, 0.34), transparent 62%);
}
.slot > * { position: relative; }
.slot { transition: border-color 0.4s ease; }
.slot::before { transition: scale 0.9s cubic-bezier(0.2, 0.7, 0.1, 1); transform-origin: 85% 0%; }
.slot:hover { border-color: var(--pink); }
.slot:hover::before { scale: 1.7; }
.slot--45 { aspect-ratio: 4 / 5; }
.slot--32 { aspect-ratio: 3 / 2; }
.slot--34 { aspect-ratio: 3 / 4; }
.slot__tag { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; }
.slot__brief { font-size: 15px; line-height: 1.35; margin-top: 6px; max-width: 36ch; opacity: 0.86; }

/* ---------- Looks: galeria que anda de lado ----------
   Padrão: faixa com rolagem lateral (toque ou barra). Em tela larga com animações, a seção
   fica presa e a rolagem vertical empurra a faixa para o lado. */
.looks { position: relative; background: var(--cream); padding-bottom: var(--section); }
.looks__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 24px; }
.looks__head .label { white-space: nowrap; }
/* margem automática dentro de um flex em coluna encolhe o item: forçar a largura cheia */
.looks__stage > .wrap { width: 100%; }
.looks__head .statement { margin-top: 16px; }
.looks__hint { opacity: 0.6; white-space: nowrap; }
.looks__track {
  display: flex; align-items: flex-start; gap: clamp(14px, 1.6vw, 26px);
  margin-top: clamp(28px, 4vw, 52px); padding-inline: var(--gutter);
  overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
}
@media (pointer: coarse) { .looks__track { scrollbar-width: none; } .looks__track::-webkit-scrollbar { display: none; } }
.look { flex: 0 0 auto; width: clamp(220px, 62vw, 300px); scroll-snap-align: center; }
.look img, .look video { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; background: var(--cream-deep); }
.look--video video { aspect-ratio: 9 / 16; }
.look figcaption { margin-top: 10px; font-size: 14px; line-height: 1.3; }
.look--low { margin-top: clamp(20px, 5vh, 60px); }
.looks__bar { height: 1px; background: var(--rule); margin-top: clamp(22px, 3vw, 36px); }
.looks__bar i { display: block; height: 3px; margin-top: -1px; background: var(--pink); transform-origin: 0 50%; transform: scaleX(var(--lp, 0)); }

.looks.is-pinned { padding-bottom: 0; }
.looks.is-pinned .looks__stage {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; padding-top: 56px;
}
.looks.is-pinned .looks__track { overflow: visible; scroll-snap-type: none; width: max-content; will-change: transform; }
.looks.is-pinned .look { width: auto; }
.looks.is-pinned .look figure { display: table; }
.looks.is-pinned .look figcaption { display: table-caption; caption-side: bottom; }
.looks.is-pinned .look img { width: auto; height: min(47svh, 540px); }
.looks.is-pinned .look--video video { width: auto; height: min(58svh, 660px); }

/* ---------- Como funciona: fio que conduz os passos ---------- */
.path { padding-bottom: calc(var(--section) + var(--block-radius)); }
.path__head { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 9fr); gap: var(--gutter); }
.path__head .label { color: var(--pink); padding-top: 0.9em; }
.path__stage { position: relative; margin-top: clamp(40px, 5vw, 72px); }
.path__line { color: var(--pink); width: 100%; height: auto; overflow: visible; }
.path__dot { display: none; }
.fx .path__dot { display: block; }
.block--ink { overflow: hidden; }
.block--ink > .wrap { position: relative; }
.fx .block--ink::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(560px circle at var(--mx, 72%) var(--my, 24%), rgba(242, 133, 189, 0.2), transparent 70%);
}
@media (min-width: 861px) {
  .fx .steps li { opacity: 0.28; transition: opacity 0.6s ease; }
  .fx .steps li.is-on { opacity: 1; }
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
  margin-top: clamp(8px, 1.4vw, 20px);
}
.steps li:nth-child(2) { margin-top: clamp(0px, 3vw, 44px); }
.steps li:nth-child(3) { margin-top: clamp(0px, 6vw, 88px); }
.steps__n { font-family: var(--serif); font-size: clamp(44px, 5vw, 72px); line-height: 1; color: var(--pink); }
.steps h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.12; margin-top: 12px; }
.steps p { margin-top: 10px; max-width: 32ch; color: rgba(236, 228, 215, 0.82); }

/* ---------- Fechamento: convite + marca monumental ---------- */
.closing { padding-bottom: 28px; }
.closing__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--gutter); align-items: start; }
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px var(--gutter); }
.contact dt { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; opacity: 0.7; }
.contact dd { margin: 6px 0 0; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.3; }
.contact a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.pending { font-style: italic; opacity: 0.55; }
.invite .statement { max-width: 16ch; }
.invite .bridge { margin-top: clamp(26px, 3vw, 38px); }
.closing__mark { color: var(--ink); margin-top: clamp(64px, 9vw, 130px); position: relative; }
.closing__fill { display: none; position: absolute; inset: 0; color: var(--pink); clip-path: inset(100% 0 0 0); will-change: clip-path; }
.fx .closing__fill { display: block; }
.closing__sig { display: none; }
.fx .closing__sig {
  display: block; position: absolute; right: -1%; top: 30%; width: 48%; height: auto;
  rotate: -8deg; color: var(--ink); overflow: visible; pointer-events: none;
}
.closing__mark svg { width: 100%; height: auto; }
.baseline {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  margin-top: clamp(36px, 4vw, 56px); padding-top: 18px; border-top: 1px solid var(--rule);
  font-size: 14px;
}
.baseline a { text-decoration: none; }
.baseline a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Cortina: abre a página com a assinatura e cobre a troca de seção pelo menu.
   A saída é só CSS, então nunca fica presa na tela. */
.curtain { display: none; }
.fx .curtain {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 90;
  background: var(--pink); color: var(--cream);
  animation: curtain-out 0.95s 1.6s cubic-bezier(0.7, 0, 0.2, 1) forwards;
}
.curtain__sig { width: min(64vw, 560px); height: auto; rotate: -5deg; overflow: visible; }
.fx .curtain .sig { stroke-dashoffset: 1.001; animation: sig-draw 1.3s 0.15s cubic-bezier(0.55, 0.1, 0.3, 1) forwards; }
@keyframes sig-draw { to { stroke-dashoffset: 0; } }
@keyframes curtain-out {
  to { transform: translateY(-108%); border-radius: 0 0 50% 50% / 0 0 24% 24%; visibility: hidden; }
}
.fx .nav { animation: nav-in 0.9s 2s cubic-bezier(0.2, 0.7, 0.1, 1) backwards; }
@keyframes nav-in { from { translate: -50% -160%; } }

.cursor {
  position: fixed; left: 0; top: 0; z-index: 95; width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%; background: var(--pink); border: 1.5px solid var(--cream);
  pointer-events: none; opacity: 0; will-change: transform;
  transition: scale 0.35s cubic-bezier(0.2, 0.7, 0.1, 1), opacity 0.3s ease, background-color 0.3s ease;
}
.cursor.is-on { opacity: 1; }
.cursor.is-big { scale: 3.8; background: rgba(242, 133, 189, 0.32); }
.fx .bridge { transition: background-color 0.35s ease, color 0.35s ease, translate 0.4s cubic-bezier(0.2, 0.7, 0.1, 1); }

/* Grão fino sobre tudo: tira o aspecto chapado de tela */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Movimento ---------- */
.will-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.1, 1); }
.will-reveal.is-in { opacity: 1; transform: none; }
/* As animações dependem da classe "fx" no <html>, não direto da preferência do sistema:
   quem tem "reduzir movimento" ligado vê a página parada, mas pode ligar as animações pelo rodapé. */
.fx .hero__glow { animation: breathe 9s ease-in-out infinite alternate; }
@keyframes breathe { from { scale: 0.9; opacity: 0.7; } to { scale: 1.12; opacity: 1; } }
/* A abertura espera a cortina subir */
.fx .hero__mark { animation: rise 1.1s 1.75s cubic-bezier(0.2, 0.7, 0.1, 1) both; }
.fx .hero__tagline { animation: rise 1.1s 1.9s cubic-bezier(0.2, 0.7, 0.1, 1) both; }
/* "backwards": depois da entrada, a opacidade volta a ser controlada pela rolagem */
.fx .hero__foot { animation: rise 1.1s 2.05s cubic-bezier(0.2, 0.7, 0.1, 1) backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
html:not(.fx) { scroll-behavior: auto; }
html:not(.fx) * { transition: none !important; animation: none !important; }

.motion-toggle {
  font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
html:not(.js) .motion-toggle { display: none; }

/* ---------- Telas menores ---------- */
@media (max-width: 860px) {
  .nav { height: 56px; top: 10px; padding-left: 14px; }
  .hero__inner { padding-top: 88px; }
  .nav__links a:not(.bridge) { display: none; }
  .hero__foot, .manifesto, .offer__head, .path__head, .closing__top { grid-template-columns: minmax(0, 1fr); }
  .hero__foot { gap: 24px; }
  .hero__tagline { letter-spacing: 0.3em; }
  .manifesto__note { margin-left: 0; }
  .ribbon { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ribbon__item:nth-child(1) { margin-top: 0; }
  .ribbon__item:nth-child(2) { margin-top: 56px; }
  .ribbon__item:nth-child(3) { grid-column: 1 / -1; margin-top: 0; width: 68%; justify-self: end; }
  .path__line { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps li { margin-top: 0 !important; padding-block: 26px; border-top: 1px solid rgba(236, 228, 215, 0.22); }
  .closing__top { gap: 48px; }
}
@media (max-width: 520px) {
  .ribbon { grid-template-columns: minmax(0, 1fr); }
  .ribbon__item:nth-child(2) { margin-top: 0; }
  .ribbon__item:nth-child(3) { width: 100%; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .label--dots::before, .label--dots::after { margin-inline: 0.5em; }
}
