@font-face {
  font-family: 'Geist';
  src: url('/fontes/GeistVF.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

@property --abre {
  syntax: '<angle>';
  inherits: true;
  initial-value: 14deg;
}

@property --rumo {
  syntax: '<angle>';
  inherits: true;
  initial-value: 190deg;
}

:root {
  color-scheme: dark;
  --noite: #050a0b;
  --ink: #0a0f10;
  --ink-2: #465659;
  --ink-3: #5f7175;
  --paper: #fbfcfc;
  --paper-2: #f1f5f5;
  --line: rgb(10 15 16 / 0.1);
  --line-2: rgb(10 15 16 / 0.2);
  --teal-ink: #136f7a;
  --mint: #9be8ea;
  --plate: #0f343d;
  --plate-2: #17505b;
  --gold-ink: #8a5a06;
  --erro: #e8766c;
  --erro-claro: #ffb8ae;
  --fio: rgb(255 255 255 / 0.16);
  --fio-2: rgb(255 255 255 / 0.3);
  --texto-2: rgb(255 255 255 / 0.84);
  --texto-3: rgb(255 255 255 / 0.66);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --m: clamp(20px, 4.4vw, 64px);
  --raio-folha: 36px;
  --capsula: 64px;
  --ir: 48px;
  --foto: image-set(
    url('/plumagem/plumagem-1440.avif') type('image/avif'),
    url('/plumagem/plumagem-1440.webp') type('image/webp')
  );
  --no-escuro: brightness(0.56) contrast(1.06) saturate(0.92);
  --acesa: brightness(1.62) contrast(1.05) saturate(1.12);
  --grao: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='256' height='256'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 .22 0'/></filter><rect width='100%25' height='100%25' filter='url(%23g)'/></svg>");
  --i-alerta: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1 5h2v7h-2V7Zm0 9h2v2h-2v-2Z'/%3E%3C/svg%3E");
}

@media (max-width: 720px) {
  :root {
    --foto: image-set(
      url('/plumagem/plumagem-960.avif') type('image/avif'),
      url('/plumagem/plumagem-960.webp') type('image/webp')
    );
  }
}

@media (min-width: 1500px) {
  :root {
    --foto: image-set(
      url('/plumagem/plumagem-2000.avif') type('image/avif'),
      url('/plumagem/plumagem-2000.webp') type('image/webp')
    );
  }
}

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  background: var(--noite);
  scroll-behavior: smooth;
  scrollbar-color: rgb(155 232 234 / 0.32) var(--noite);
}

body {
  margin: 0;
  background: var(--noite);
  color: #fff;
  font-family: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection {
  background: var(--mint);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 6px;
}

.papel :focus-visible {
  outline-color: var(--teal-ink);
}

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

ul,
ol {
  list-style: none;
}

h1,
h2,
h3 {
  font-weight: 600;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

button {
  font: inherit;
  color: inherit;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.miolo {
  width: 100%;
  max-width: calc(1240px + 2 * var(--m));
  margin-inline: auto;
  padding-inline: var(--m);
}

.junto {
  white-space: nowrap;
}

.so-leitor {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.cena {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.foto {
  position: absolute;
  inset: 0;
  background: var(--foto) var(--foco, 50% 50%) / cover no-repeat;
}

.sombra {
  filter: var(--no-escuro);
}

.acesa {
  filter: var(--acesa);
}

.fresta {
  --macio: 3.2deg;
  position: absolute;
  inset: 0;
  transition: --abre 1.2s var(--ease);
  -webkit-mask-image: conic-gradient(
    from 0deg at var(--fx) var(--fy),
    transparent 0deg,
    transparent calc(var(--rumo) - var(--abre) / 2 - var(--macio)),
    #000 calc(var(--rumo) - var(--abre) / 2 + var(--macio) * 0.4),
    #000 calc(var(--rumo) + var(--abre) / 2 - var(--macio) * 0.9),
    transparent calc(var(--rumo) + var(--abre) / 2 + var(--macio) * 1.6),
    transparent 360deg
  );
  mask-image: conic-gradient(
    from 0deg at var(--fx) var(--fy),
    transparent 0deg,
    transparent calc(var(--rumo) - var(--abre) / 2 - var(--macio)),
    #000 calc(var(--rumo) - var(--abre) / 2 + var(--macio) * 0.4),
    #000 calc(var(--rumo) + var(--abre) / 2 - var(--macio) * 0.9),
    transparent calc(var(--rumo) + var(--abre) / 2 + var(--macio) * 1.6),
    transparent 360deg
  );
}

.ar {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(60 170 182 / 0.2), rgb(60 170 182 / 0.05) 70%);
  mix-blend-mode: screen;
}

.veu {
  position: absolute;
  inset: 0;
}

.grao {
  position: absolute;
  inset: 0;
  background-image: var(--grao);
  background-size: 256px 256px;
  opacity: 0.5;
}

.capa {
  --foco: 40% 46%;
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: grid;
  align-items: center;
  min-height: max(660px, min(100svh, 1040px));
  background: var(--noite);
}

.capa .acesa {
  filter: brightness(1.78) contrast(1.05) saturate(1.14);
}

.capa .fresta {
  --abre: 34deg;
  --rumo: 187deg;
  --fx: 99%;
  --fy: -62%;
}

.capa[data-passo='codigo'] .fresta {
  --abre: 43deg;
}

.capa[data-passo='pronto'] .fresta {
  --abre: 56deg;
}

.capa .veu {
  background:
    linear-gradient(
      180deg,
      rgb(4 9 10 / 0.56) 0%,
      rgb(4 9 10 / 0) 17%,
      rgb(4 9 10 / 0) 40%,
      rgb(4 9 10 / 0.6) 76%,
      var(--noite) 100%
    ),
    linear-gradient(90deg, rgb(4 9 10 / 0.62), rgb(4 9 10 / 0.22) 38%, rgb(4 9 10 / 0) 54%);
}

.capa .grao {
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
}

.barra {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  align-items: center;
  height: 68px;
}

.barra img {
  width: auto;
  height: 28px;
}

.capa__grade {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-top: 108px;
  padding-bottom: calc(44px + var(--raio-folha));
}

.capa__texto {
  max-width: 41rem;
}

.capa__titulo {
  margin-left: -0.04em;
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.capa__titulo span {
  display: block;
  white-space: nowrap;
}

.capa__sub {
  max-width: 40ch;
  margin-top: 28px;
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: rgb(255 255 255 / 0.88);
}

.capa__sub b {
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.passo {
  margin-top: 30px;
}

.capsula {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 34rem;
  height: var(--capsula);
  padding: 0 8px 0 24px;
  border-radius: calc(var(--capsula) / 2);
  background: #fff;
  color: var(--ink);
  box-shadow:
    0 1px 2px rgb(0 0 0 / 0.3),
    0 24px 48px -24px rgb(0 0 0 / 0.8);
  transition: box-shadow 0.2s;
}

.capsula:focus-within {
  box-shadow:
    0 0 0 3px rgb(155 232 234 / 0.6),
    0 24px 48px -24px rgb(0 0 0 / 0.8);
}

.capsula[data-erro] {
  box-shadow:
    0 0 0 3px var(--erro),
    0 24px 48px -24px rgb(0 0 0 / 0.8);
}

.campo {
  flex: 1;
  display: grid;
  align-content: center;
  gap: 1px;
  min-width: 0;
  height: 100%;
  cursor: text;
}

.campo label {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  cursor: inherit;
}

.capsula input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  caret-color: var(--teal-ink);
}

.capsula input:focus {
  outline: none;
}

.campo input {
  height: 1.5em;
  font-size: 1.0625rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.capsula input::placeholder {
  color: var(--ink-3);
  opacity: 1;
}

.capsula input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 40px #fff inset;
  -webkit-text-fill-color: var(--ink);
}

.ir {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: var(--ir);
  height: var(--ir);
  border: 0;
  border-radius: 50%;
  background: var(--plate);
  color: #fff;
  cursor: pointer;
  transition:
    background-color 0.15s,
    transform 0.15s var(--ease);
}

.ir:hover {
  background: var(--plate-2);
}

.ir:active {
  transform: scale(0.96);
}

.ir:focus-visible {
  outline-color: var(--teal-ink);
  border-radius: 50%;
}

.ir svg {
  width: 20px;
  height: 20px;
  transition:
    transform 0.25s var(--ease),
    opacity 0.2s;
}

.ir:hover svg {
  transform: translateX(3px);
}

.ir::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 18px;
  height: 18px;
  margin: auto;
  border: 2px solid rgb(255 255 255 / 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s;
}

.ir[aria-busy='true'] {
  pointer-events: none;
}

.ir[aria-busy='true'] svg {
  opacity: 0;
}

.ir[aria-busy='true']::after {
  opacity: 1;
  animation: gira 0.7s linear infinite;
}

@keyframes gira {
  to {
    rotate: 1turn;
  }
}

.ir--texto {
  display: inline-flex;
  gap: 8px;
  width: auto;
  padding: 0 18px 0 20px;
  border-radius: calc(var(--ir) / 2);
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
}

.ir--texto:focus-visible {
  border-radius: calc(var(--ir) / 2);
}

.ir--texto svg {
  width: 16px;
  height: 16px;
}

.ir--texto[aria-busy='true'] span {
  opacity: 0;
}

.capsula--regua {
  container-type: inline-size;
  max-width: 26rem;
  padding: 0;
}

.capsula--regua[aria-busy='true'] {
  opacity: 0.72;
}

.regua {
  --pad: 26px;
  --casa: calc((100cqw - 2 * var(--pad)) / 6);
  position: relative;
  width: 100%;
  height: 100%;
}

.regua input {
  height: 100%;
  padding: 0 0 5px calc(var(--pad) + (var(--casa) - 1ch) / 2);
  font-size: 1.75rem;
  letter-spacing: calc(var(--casa) - 1ch);
}

.regua__marcas {
  position: absolute;
  right: var(--pad);
  bottom: 0;
  left: calc(var(--pad) + var(--casa));
  height: 13px;
  background: linear-gradient(90deg, var(--line-2) 1px, transparent 1px) 0 0 / var(--casa) 100% repeat-x;
  pointer-events: none;
}

.dica,
.situacao {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgb(255 255 255 / 0.78);
}

.dica {
  max-width: 52ch;
  margin-top: 12px;
}

.situacao {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
  margin-top: 14px;
  font-variant-numeric: tabular-nums;
}

.situacao__envio {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--mint);
}

.situacao__envio svg {
  width: 17px;
  height: 17px;
}

.passo__elos {
  margin-top: 14px;
}

.capa:not([data-passo='telefone']) :is(.fatos, .pulso) {
  display: none;
}

.elo {
  position: relative;
  padding: 0;
  border: 0;
  background: none;
  font-weight: 500;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  cursor: pointer;
  transition: text-decoration-color 0.15s;
}

.elo::after {
  content: '';
  position: absolute;
  inset: -12px -6px;
}

.elo:hover {
  text-decoration-color: #fff;
}

.elo:disabled {
  font-weight: 400;
  color: rgb(255 255 255 / 0.78);
  text-decoration: none;
  cursor: default;
}

.botao {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background-color 0.15s,
    transform 0.15s var(--ease);
}

.botao:hover {
  background: #e4f6f6;
}

.botao:active,
.pilula:active {
  transform: scale(0.96);
}

.botao--menor {
  height: 44px;
  padding: 0 20px;
  font-size: 0.9375rem;
}

.seta {
  flex: none;
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.botao:hover .seta {
  transform: translateX(3px);
}

.aviso {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 52ch;
  margin-top: 12px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--erro-claro);
}

.aviso::before {
  content: '';
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  background: currentColor;
  -webkit-mask: var(--i-alerta) center / contain no-repeat;
  mask: var(--i-alerta) center / contain no-repeat;
}

.fatos {
  margin-top: 26px;
  font-size: 0.9375rem;
  color: var(--texto-3);
}

.fatos span {
  display: inline-block;
  white-space: nowrap;
}

.fatos span + span::before {
  content: '·';
  margin-inline: 0.45em 0.7em;
  color: rgb(255 255 255 / 0.4);
}

.pulso {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  font-size: 0.9375rem;
  color: var(--texto-2);
  font-variant-numeric: tabular-nums;
}

.pulso::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
}

.guia {
  position: relative;
  justify-self: start;
  width: min(64%, 21.5rem);
  aspect-ratio: 720 / 1019;
}

.guia img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
}

.guia__folha--fundo {
  rotate: 12deg;
  translate: 24% 5%;
  filter: brightness(0.86);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.9);
}

.guia__folha--meio {
  rotate: 6deg;
  translate: 14% 1.5%;
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.9);
}

.guia__capa {
  rotate: -3deg;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.14),
    0 44px 80px -36px rgb(0 0 0 / 0.95);
}

.folha {
  position: relative;
  z-index: 1;
  margin-top: calc(var(--raio-folha) * -1);
  border-radius: var(--raio-folha) var(--raio-folha) 0 0;
  box-shadow:
    0 -1px 0 rgb(10 15 16 / 0.05),
    0 -30px 64px -38px rgb(10 15 16 / 0.34);
}

.papel {
  background: var(--paper);
  color: var(--ink);
}

.papel--2 {
  background: var(--paper-2);
}

.papel a {
  color: var(--teal-ink);
  text-underline-offset: 4px;
}

.secao {
  padding-block: clamp(72px, 7.6vw, 116px) calc(clamp(72px, 7.6vw, 116px) + var(--raio-folha));
}

.secao__cabeca {
  margin-bottom: clamp(28px, 3.4vw, 52px);
}

.h2 {
  max-width: 22ch;
  margin-left: -0.025em;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 46ch;
  margin-top: 16px;
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: var(--ink-2);
}

.cenas {
  padding-inline: clamp(20px, 3vw, 36px);
  border-radius: 24px;
  background: #fff;
  box-shadow:
    0 1px 0 rgb(10 15 16 / 0.04),
    0 34px 64px -44px rgb(10 15 16 / 0.4);
}

.cena-de-trava {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 6px 32px;
  align-items: baseline;
  padding-block: clamp(22px, 2.6vw, 30px);
  border-bottom: 1px solid var(--line);
}

.cena-de-trava:last-child {
  border-bottom: 0;
}

.cena-de-trava strong,
.camada h3 {
  font-size: clamp(1.25rem, 1.9vw, 1.625rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.cena-de-trava span,
.camada p {
  color: var(--ink-2);
  text-wrap: balance;
}

.carta {
  display: grid;
  gap: 14px;
  margin-top: clamp(36px, 4vw, 60px);
}

.carta p:first-child {
  max-width: 24ch;
  font-size: clamp(1.375rem, 2.2vw, 2rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.carta p + p {
  max-width: 52ch;
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.5;
  color: var(--ink-2);
}

.camadas {
  border-top: 1px solid var(--ink);
}

.camada {
  display: grid;
  grid-template-columns: clamp(4.5rem, 9vw, 8rem) minmax(0, 0.9fr) minmax(0, 1.3fr) 4.25rem;
  gap: 4px clamp(16px, 3vw, 40px);
  align-items: center;
  padding-block: clamp(16px, 2vw, 24px);
  border-bottom: 1px solid var(--line-2);
}

.camada__numero {
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.camada .pagina {
  justify-self: end;
}

.pagina {
  font-size: 0.875rem;
  color: var(--ink-2);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.prancha {
  --foco: 60% 40%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 24px;
  background: var(--plate);
  color: #fff;
  box-shadow: 0 38px 64px -42px rgb(15 52 61 / 0.7);
}

.prancha .fresta {
  --abre: 30deg;
  --rumo: 186deg;
  --fx: 72%;
  --fy: -110%;
}

.prancha :focus-visible {
  outline-color: var(--mint);
  outline-offset: -4px;
  border-radius: 24px;
}

.paginas {
  display: flex;
  gap: clamp(16px, 2.2vw, 28px);
  padding: clamp(28px, 4vw, 52px);
  overflow-x: auto;
  scroll-padding-inline: clamp(28px, 4vw, 52px);
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.paginas::-webkit-scrollbar {
  display: none;
}

.prancha:has(.folhear:not([hidden])) .paginas {
  padding-bottom: 20px;
}

.folhear {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(28px, 4vw, 52px) clamp(22px, 3vw, 32px);
  font-size: 0.9375rem;
  color: var(--texto-2);
  font-variant-numeric: tabular-nums;
}

.folhear__setas {
  display: flex;
  gap: 8px;
}

.seta-redonda {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgb(5 10 11 / 0.5);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--fio-2);
  cursor: pointer;
  transition:
    background-color 0.15s,
    opacity 0.15s,
    transform 0.15s var(--ease);
}

.seta-redonda svg {
  width: 18px;
  height: 18px;
}

.seta-redonda:hover {
  background: rgb(255 255 255 / 0.14);
}

.seta-redonda:active {
  transform: scale(0.96);
}

.seta-redonda:disabled {
  opacity: 0.35;
  cursor: default;
}

.prancha .seta-redonda:focus-visible {
  outline-offset: 3px;
  border-radius: 50%;
}

.paginas li {
  flex: 1 0 190px;
  max-width: 260px;
  scroll-snap-align: start;
}

.paginas img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.18),
    0 30px 50px -30px rgb(0 0 0 / 0.9);
}

.paginas span {
  display: block;
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--texto-2);
  font-variant-numeric: tabular-nums;
}

.saberes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 5vw, 72px);
  border-top: 1px solid var(--ink);
}

.saberes li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line-2);
}

.saberes p {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.conta {
  max-width: 34ch;
  margin-top: clamp(28px, 3.2vw, 44px);
  font-size: clamp(1.375rem, 2.2vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.conta b {
  font-weight: 600;
  color: var(--gold-ink);
  white-space: nowrap;
}

.conta .pagina {
  display: block;
  margin-top: 10px;
  font-weight: 400;
  letter-spacing: 0;
}

.prosa {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px clamp(24px, 4vw, 56px);
}

.prosa p {
  padding-top: 18px;
  border-top: 1px solid var(--ink);
  font-size: clamp(1.25rem, 1.9vw, 1.625rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.prosa__nao {
  max-width: 52ch;
  margin-top: clamp(32px, 3.6vw, 52px);
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.5;
  color: var(--ink-2);
}

.duas {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px clamp(32px, 6vw, 96px);
  align-items: start;
}

.perguntas {
  border-top: 1px solid var(--ink);
}

.perguntas details {
  border-bottom: 1px solid var(--line-2);
}

.perguntas summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding-block: 14px;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  list-style: none;
  cursor: pointer;
}

.perguntas summary::-webkit-details-marker {
  display: none;
}

.perguntas summary svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--teal-ink);
  transition: rotate 0.3s var(--ease);
}

.perguntas details[open] summary svg {
  rotate: 45deg;
}

.perguntas details p {
  max-width: 52ch;
  padding-bottom: 20px;
  color: var(--ink-2);
}

.fecho {
  --foco: 62% 50%;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(110px, 12vw, 180px) 36px;
  background: var(--noite);
  color: #fff;
}

.fecho .fresta {
  --abre: 40deg;
  --rumo: 196deg;
  --fx: 88%;
  --fy: -60%;
}

.fecho .veu {
  background: linear-gradient(
    180deg,
    rgb(4 9 10 / 0.45) 0%,
    rgb(4 9 10 / 0.08) 34%,
    rgb(4 9 10 / 0.3) 64%,
    rgb(5 10 11 / 0.86) 88%,
    var(--noite) 100%
  );
}

.fecho .grao {
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
}

.fecho .h2 {
  max-width: 14ch;
  font-size: clamp(2.25rem, 3.8vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.fecho__acao {
  margin-top: 34px;
}

.assinatura {
  display: grid;
  gap: 2px;
  margin-top: clamp(80px, 10vw, 150px);
}

.assinatura b {
  font-weight: 500;
}

.assinatura > span {
  font-size: 0.9375rem;
  color: var(--texto-2);
}

.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 32px;
  margin-top: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--fio);
  font-size: 0.8125rem;
  color: rgb(255 255 255 / 0.74);
}

.legal nav {
  display: flex;
  gap: 22px;
}

.legal a {
  color: var(--texto-2);
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.34);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition:
    color 0.15s,
    text-decoration-color 0.15s;
}

.legal a:hover {
  color: #fff;
  text-decoration-color: #fff;
}

.chamada-fixa,
.medicao {
  position: fixed;
  z-index: 40;
  bottom: max(14px, env(safe-area-inset-bottom));
  left: 50%;
  translate: -50% 0;
  display: flex;
  align-items: center;
  max-width: calc(100vw - 24px);
  background: rgb(5 10 11 / 0.84);
  color: #fff;
  box-shadow:
    inset 0 0 0 1px var(--fio-2),
    0 24px 48px -20px rgb(0 0 0 / 0.7);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-size: 0.9375rem;
}

.chamada-fixa {
  gap: 16px;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
}

.chamada-fixa span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--texto-2);
}

body.com-medicao .chamada-fixa {
  display: none;
}

.medicao {
  flex-wrap: wrap;
  gap: 12px 20px;
  width: 44rem;
  padding: 16px 18px 16px 22px;
  border-radius: 24px;
  line-height: 1.4;
}

.medicao p {
  flex: 1 1 16rem;
}

.medicao-acoes {
  display: flex;
  gap: 8px;
}

.pilula {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--fio-2);
  transition:
    background-color 0.2s,
    transform 0.15s var(--ease);
}

.pilula:hover {
  background: rgb(255 255 255 / 0.12);
}

.pilula--cheia {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.pilula--cheia:hover {
  background: #e4f6f6;
}

@media (max-width: 1020px) {
  .capa {
    min-height: 0;
  }

  .capa__grade {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
    padding-top: 100px;
    padding-bottom: calc(52px + var(--raio-folha));
  }

  .capa .fresta {
    --abre: 38deg;
    --rumo: 276deg;
    --fx: 135%;
    --fy: 78%;
  }

  .capa[data-passo='codigo'] .fresta {
    --abre: 50deg;
  }

  .capa[data-passo='pronto'] .fresta {
    --abre: 64deg;
  }

  .capa .veu {
    background: linear-gradient(
      180deg,
      rgb(4 9 10 / 0.5) 0%,
      rgb(4 9 10 / 0.12) 24%,
      rgb(4 9 10 / 0.2) 70%,
      var(--noite) 100%
    );
  }

  .guia {
    justify-self: center;
    width: min(62%, 19rem);
    margin-left: -8%;
  }

  .camada {
    grid-template-columns: clamp(3.25rem, 14vw, 5rem) minmax(0, 1fr);
    align-items: start;
  }

  .camada__numero {
    grid-row: span 3;
  }

  .saberes,
  .prosa,
  .duas {
    grid-template-columns: minmax(0, 1fr);
  }

  .prosa {
    gap: 22px;
  }

  .prosa p {
    padding-top: 0;
    border-top: 0;
  }

  .camada .pagina {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  :root {
    --raio-folha: 28px;
  }

  .cena-de-trava {
    grid-template-columns: minmax(0, 1fr);
  }

  .paginas li {
    flex-basis: 70vw;
    max-width: none;
  }

  .ponto {
    display: none;
  }

  .junto {
    display: block;
  }

  .chamada-fixa > span {
    display: none;
  }

  .capsula {
    padding-left: 20px;
  }

  .ir--texto {
    padding: 0 16px;
  }

  .ir--texto svg {
    display: none;
  }

  .chamada-fixa {
    padding: 0;
    background: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .chamada-fixa .botao {
    height: 48px;
    padding: 0 22px;
    background: var(--plate);
    color: #fff;
    box-shadow:
      inset 0 0 0 1px rgb(255 255 255 / 0.14),
      0 18px 34px -14px rgb(5 10 11 / 0.7);
  }

  .chamada-fixa .botao:hover {
    background: var(--plate-2);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 359px) {
  .ir--texto {
    width: var(--ir);
    padding: 0;
  }

  .ir--texto span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .ir--texto svg {
    display: block;
    width: 20px;
    height: 20px;
  }
}
