/* =========================================================
   HALCK — "Plot Twist"
   ---------------------------------------------------------
   ✏️ Para mudar cores e fontes do site inteiro, edite só
   o bloco :root logo abaixo.
   ========================================================= */

:root {
  /* Paleta tirada do portfólio */
  --cobalt: #2337E6;   /* cor-assinatura */
  --lime:   #D6FF3D;   /* brilhos e destaques */
  --pink:   #FFA3C9;   /* chiclete */
  --hot:    #FF4B24;   /* lagosta */
  --ink:    #0F0F12;   /* quase preto */
  --paper:  #F6F4EF;   /* branco quente */
  --muted:  #57555E;   /* texto secundário no papel */

  /* Tipografia */
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --serif:   "Instrument Serif", "Times New Roman", serif;
  --sans:    "Geist", "Helvetica Neue", Arial, sans-serif;
  --pixel:   "Silkscreen", ui-monospace, monospace;

  /* Curvas de animação */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  /* Medidas */
  --gut: clamp(20px, 4vw, 56px);
  --gap: clamp(12px, 1.6vw, 24px);
  --nav: 64px;
  --pad: clamp(88px, 11vw, 160px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav);
  scrollbar-color: var(--cobalt) var(--paper);
  accent-color: var(--cobalt);
  caret-color: var(--hot);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gut), 1440px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pixel { font-family: var(--pixel); font-size: 12px; line-height: 1.3; letter-spacing: 0.02em; text-transform: lowercase; }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: var(--paper);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

/* Título de seção: grotesca grande + itálico serif */
.title {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "wdth" 80, "opsz" 96;
  font-size: clamp(2.6rem, 6vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.title em {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  letter-spacing: -0.02em; font-size: 1.08em;
}

/* Espiral girando devagar */
.spin { flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .spin { animation: spin 9s linear infinite; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Links ---------- */
.link {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1.5px no-repeat;
  transition: background-size 400ms var(--ease-out);
  padding-bottom: 2px;
}
@media (hover: hover) and (pointer: fine) { .link:hover { background-size: 100% 1.5px; } }

/* ---------- Botões ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--hot  { background: var(--hot); color: var(--ink); }
.btn--ink  { background: var(--ink); color: var(--paper); }
.btn--ghost { border-color: currentColor; }
.btn--line  { border-color: var(--ink); color: var(--ink); }
.btn .arrow { transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn--lime:hover { background: var(--paper); }
  .btn--hot:hover  { background: var(--ink); color: var(--paper); }
  .btn--ink:hover  { background: var(--cobalt); }
  .btn--ghost:hover { background: var(--paper); color: var(--cobalt); border-color: var(--paper); }
  .btn--line:hover { background: var(--ink); color: var(--hot); }
  .btn:hover .arrow { transform: translateX(4px); }
}

/* =========================================================
   NAVEGAÇÃO
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav);
  background: var(--paper);
  border-bottom: 1.5px solid var(--ink);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.nav__logo {
  display: flex; align-items: center; gap: 10px; margin-right: auto;
  font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.03em;
}
.nav__logo .spin { color: var(--cobalt); }
.nav__links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.nav__toggle { display: none; height: 44px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 15px; font-weight: 500; }

.menu {
  position: fixed; inset: var(--nav) 0 0; z-index: 49;
  background: var(--cobalt); color: var(--paper);
  opacity: 0; transform: translateY(-8px);
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out);
}
.menu.is-open { opacity: 1; transform: none; }
.menu__inner { display: flex; flex-direction: column; padding-top: 28px; }
.menu__inner a {
  padding: 10px 0; border-bottom: 1.5px solid rgb(246 244 239 / 0.25);
  font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 80;
  font-size: clamp(2.6rem, 12vw, 3.6rem); line-height: 1.05; letter-spacing: -0.02em;
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__inner { gap: 10px; }
}
@media (max-width: 420px) { .nav__cta { display: none; } }

/* =========================================================
   HERO — cobalto, nome gigante e adesivos
   ========================================================= */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100svh;
  padding-top: calc(var(--nav) + clamp(20px, 3vw, 36px));
  padding-bottom: clamp(24px, 3vw, 40px);
  background: var(--cobalt); color: var(--paper);
  display: flex;
}
.hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; pointer-events: none; }
.hero__inner a, .hero__inner button, .hero__lead, .hero__top { pointer-events: auto; }
.hero__top { display: flex; justify-content: space-between; gap: 16px; color: var(--lime); }
.hero__top > span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }

.hero__title { margin: auto 0; }
.wordmark {
  display: flex; width: max-content; max-width: none;
  font-family: var(--display); font-weight: 800;
  font-variation-settings: "wdth" 75, "opsz" 96;
  font-size: clamp(6rem, 30vw, 34rem);
  line-height: 0.78; letter-spacing: -0.02em;
  overflow: hidden; padding: 0.04em 0.03em 0.06em 0;
}
.wordmark > span { display: block; }

.hero__foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.hero__lead {
  max-width: 30ch;
  font-family: var(--display); font-weight: 500; font-variation-settings: "wdth" 90;
  font-size: clamp(19px, 1.7vw, 26px); line-height: 1.32; letter-spacing: -0.015em;
}

/* Adesivos (imagens soltas) */
.stickers { position: absolute; inset: 0; }
.sticker {
  position: absolute; aspect-ratio: 4 / 5;
  will-change: transform;
}
.sticker > * {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 18px 40px -12px rgb(0 0 0 / 0.4);
  transform: rotate(var(--r, 0deg));
  transition: transform 450ms var(--ease-out), box-shadow 450ms var(--ease-out);
}
.s1 { left: 4%;  top: 16%; width: clamp(110px, 12vw, 210px); --r: -7deg; }
.s2 { right: 13%; top: 20%; width: clamp(100px, 10.5vw, 190px); --r: 6deg; }
.s3 { left: 27%; top: 58%; width: clamp(90px, 9vw, 160px); --r: 5deg; }
.s4 { right: 24%; top: 50%; width: clamp(120px, 13vw, 230px); --r: -4deg; }
.s5 { left: 46%; top: 11%; width: clamp(80px, 8vw, 140px); --r: -3deg; }
.s6 { right: 3%;  top: 56%; width: clamp(90px, 9.5vw, 170px); --r: 9deg; }
/* Alguns adesivos ficam atrás do nome, outros na frente */
.hero .stickers { z-index: auto; pointer-events: none; }
.sticker { z-index: 1; }
.sticker.s2, .sticker.s3, .sticker.s6 { z-index: 3; }

/* Hover nos adesivos (só no computador): o adesivo vem para a frente
   do nome, fica um pouco maior e reto. Ao tirar o mouse, volta. */
@media (hover: hover) and (pointer: fine) {
  .sticker { pointer-events: auto; cursor: pointer; }
  .sticker:hover { z-index: 4; }
  .sticker:hover > * {
    transform: rotate(0deg) scale(1.08);
    box-shadow: 0 28px 60px -14px rgb(0 0 0 / 0.5);
  }
}

@media (max-width: 760px) {
  .s4, .s5, .s6 { display: none; }
  .s1 { left: -4%; top: 22%; width: 30vw; }
  .s2 { right: -3%; top: 17%; width: 27vw; }
  .s3 { left: auto; right: 10%; top: 52%; width: 24vw; }
  .hero__top { flex-direction: column; gap: 6px; }
  .btn-row .btn { flex: 1 1 auto; }
}

/* =========================================================
   ESPAÇOS RESERVADOS PARA IMAGEM
   ========================================================= */
.media { position: relative; overflow: hidden; border-radius: 6px; }
.media > img, .media > video { width: 100%; height: 100%; object-fit: cover; }
.slot {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  font-family: var(--pixel); font-size: 12px; text-transform: lowercase;
  background-image: radial-gradient(currentColor 1px, transparent 1.2px);
  background-size: 10px 10px;
}
.slot span { background: inherit; background-image: none; padding: 6px 10px; border-radius: 999px; background-color: var(--slot-bg); }
.slot--pink   { --slot-bg: var(--pink);   background-color: var(--pink);   color: rgb(15 15 18 / 0.75); }
.slot--hot    { --slot-bg: var(--hot);    background-color: var(--hot);    color: rgb(15 15 18 / 0.8); }
.slot--lime   { --slot-bg: var(--lime);   background-color: var(--lime);   color: rgb(15 15 18 / 0.75); }
.slot--paper  { --slot-bg: var(--paper);  background-color: var(--paper);  color: rgb(15 15 18 / 0.7); }
.slot--ink    { --slot-bg: var(--ink);    background-color: var(--ink);    color: rgb(246 244 239 / 0.8); }
.slot--cobalt { --slot-bg: var(--cobalt); background-color: var(--cobalt); color: rgb(246 244 239 / 0.85); }

/* Loop suave (crossfade) para vídeos marcados com data-loop="suave" */
.loop-xfade { position: relative; width: 100%; height: 100%; transition: transform 700ms var(--ease-out); }
.loop-xfade video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; z-index: 1; }
.loop-xfade video.is-on { opacity: 1; }
.loop-xfade video.is-top { z-index: 2; animation: xfade-in 800ms linear; }
@keyframes xfade-in { from { opacity: 0; } to { opacity: 1; } }
@media (hover: hover) and (pointer: fine) { .tile:hover .media > .loop-xfade { transform: scale(1.03); } }

/* Botão de som nos vídeos */
.sound-btn {
  position: absolute; left: 14px; bottom: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px 0 12px; border-radius: 999px;
  background: var(--paper); color: var(--ink);
  font-family: var(--pixel); font-size: 12px; text-transform: lowercase;
  box-shadow: 0 8px 20px -10px rgb(0 0 0 / 0.5);
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
}
.sound-btn:active { transform: scale(0.95); }
.sound-btn[aria-pressed="true"] { background: var(--lime); }
@media (hover: hover) and (pointer: fine) { .sound-btn:hover { background: var(--ink); color: var(--paper); } }

/* Efeito "pixel" ao entrar na tela (criado pelo JavaScript) */
.pixel-cover { position: absolute; inset: 0; z-index: 2; display: grid; pointer-events: none; }
.pixel-cover i { background: var(--cover, var(--paper)); }

/* =========================================================
   SEÇÕES — estrutura comum
   ========================================================= */
.section { padding-block: var(--pad); }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 48px; margin-bottom: clamp(40px, 6vw, 88px); }
.section__note { max-width: 42ch; color: var(--muted); }

/* =========================================================
   TRABALHOS — mosaico
   ========================================================= */
.works { --cover: var(--paper); }
.mosaic {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px) var(--gap);
  align-items: start;
}
.tile { display: grid; gap: 12px; }
.t1 { grid-column: 1 / 6; }            .t1 .media { aspect-ratio: 4 / 5; }
.t2 { grid-column: 6 / 10; margin-top: clamp(40px, 8vw, 120px); position: relative; z-index: 2; } /* fica por cima do trabalho-05 */ .t2 .media { aspect-ratio: 4 / 5; }
.t3 { grid-column: 10 / 13; margin-top: clamp(30px, 4.5vw, 70px); }          .t3 .media { aspect-ratio: 1; }
.t4 { grid-column: 1 / 8; }            .t4 .media { aspect-ratio: 16 / 10; }
.t5 { grid-column: 8 / 13; margin-top: clamp(-60px, -3.5vw, -20px); } /* desce para mostrar a legenda do 02 */ .t5 .media { aspect-ratio: 4 / 5; }
.t6 { } /* posição definida em .mosaic__col */            .t6 .media { aspect-ratio: 16 / 9; } /* 1920x1080 */
.t7 { grid-column: 8 / 13; } /* sem subir, para não cobrir a legenda do trabalho-05 */ .t7 .media { aspect-ratio: 4 / 5; }
.tile__meta { display: flex; justify-content: space-between; gap: 16px; font-weight: 500; font-size: 15px; }
.tile__meta .pixel { color: var(--cobalt); }
/* Tablets: nome em cima e categoria embaixo, para a legenda não quebrar palavra por palavra */
@media (max-width: 1023px) { .tile__meta { flex-direction: column; gap: 2px; } }

/* Hover: imagem vira duotone cobalto */
.tile .media::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: var(--cobalt); mix-blend-mode: screen; opacity: 0;
  transition: opacity 300ms ease;
}
.tile .media > img, .tile .media > video { transition: filter 300ms ease, transform 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .tile:hover .media::after { opacity: 1; }
  .tile:hover .media > img, .tile:hover .media > video { filter: grayscale(1) contrast(1.15); transform: scale(1.03); }
}
/* Coluna do trabalho-06 + link do Instagram (preenche o espaço ao lado do 07) */
.mosaic__col { grid-column: 1 / 8; align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.mosaic__col > .t6 { margin-top: clamp(-80px, -5.5vw, -30px); }
.works__more { display: grid; gap: 10px; justify-items: start; color: var(--ink); }
.works__more .pixel { color: var(--cobalt); font-size: 13px; }
.works__more-text {
  display: inline-flex; align-items: center; gap: 0.35em;
  font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 80;
  font-size: clamp(2rem, 4.4vw, 4.2rem); line-height: 1; letter-spacing: -0.02em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0% 3px no-repeat;
  padding-bottom: 6px;
  transition: background-size 500ms var(--ease-out);
}
.works__more .arrow { width: 0.6em; height: auto; transition: transform 400ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .works__more:hover .works__more-text { background-size: 100% 3px; }
  .works__more:hover .arrow { transform: translateX(8px); }
}

@media (max-width: 760px) {
  .mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic > .tile { grid-column: auto; margin-top: 0; }
  .mosaic__col { display: contents; } /* no celular, o link vai para o fim */
  .works__more { order: 99; grid-column: 1 / -1; margin-top: 16px; }
  .t6 { grid-column: 1 / -1; }
  .mosaic__col > .t6 { margin-top: 0; }
  .t1, .t4, .t7 { grid-column: 1 / -1 !important; }
  .tile__meta { flex-direction: column; gap: 2px; font-size: 14px; }
}

/* =========================================================
   SOBRE — chiclete
   ========================================================= */
.about { background: var(--pink); --cover: var(--pink); }
.about__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gap); align-items: start; }
.about__portrait { grid-column: 1 / 5; aspect-ratio: 4 / 5; transform: rotate(-2deg); box-shadow: 0 24px 50px -20px rgb(15 15 18 / 0.4); }
.about__text { grid-column: 6 / 13; display: grid; gap: 22px; }
.about__text .title { margin-bottom: 12px; }
.about__text p { font-size: clamp(17px, 1.3vw, 19px); max-width: 52ch; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 16px; }
/* Telas grandes: editorial e expertise ficam numa linha só; marcas ocupa o espaço que sobra */
@media (min-width: 1200px) {
  .facts { grid-template-columns: auto 1fr auto; }
  .facts > div:first-child dd, .facts > div:last-child dd { white-space: nowrap; }
}
.facts > div { border-top: 1.5px solid var(--ink); padding-top: 12px; display: grid; gap: 6px; align-content: start; }
.facts dd { font-size: 15px; line-height: 1.45; font-weight: 500; }
@media (max-width: 860px) {
  .about__portrait, .about__text { grid-column: 1 / -1; }
  .about__portrait { max-width: 380px; order: 2; }
  .facts { grid-template-columns: 1fr; }
}

/* =========================================================
   SERVIÇOS — faixas coloridas que se empilham ao rolar
   ========================================================= */
.services__intro { padding-top: var(--pad); padding-bottom: clamp(40px, 6vw, 80px); }
.band { position: sticky; top: var(--nav); min-height: calc(100svh - var(--nav)); display: flex; align-items: center; border-top: 1.5px solid var(--ink); }
.band__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gap); align-items: center; padding-block: clamp(40px, 6vw, 80px); }
.band__text { grid-column: 1 / 8; display: grid; gap: 18px; justify-items: start; }
.band__num { font-size: 14px; }
.band__name {
  font-family: var(--display); font-weight: 800;
  font-variation-settings: "wdth" 75, "opsz" 96;
  font-size: clamp(3.4rem, 9.5vw, 10rem); line-height: 0.88; letter-spacing: -0.02em;
}
.band__text p { font-size: clamp(17px, 1.4vw, 20px); max-width: 40ch; }
.band__text .tags { max-width: 36rem; } /* as tags quebram antes de encostar na imagem */
.band__media { grid-column: 8 / 12; justify-self: center; /* mais perto do texto */ width: min(100%, 380px); aspect-ratio: 4 / 5; transform: rotate(3deg); box-shadow: 0 24px 50px -20px rgb(15 15 18 / 0.45); }
.band:nth-child(even) .band__media { transform: rotate(-3deg); }

/* Número gigante vazado no lugar da imagem dos serviços */
.band__big {
  grid-column: 8 / 13; justify-self: end; align-self: center;
  font-family: var(--display); font-weight: 800;
  font-variation-settings: "wdth" 75, "opsz" 96;
  font-size: clamp(12rem, 40vw, 40rem); line-height: 0.8; letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 2px var(--stroke, currentColor);
  user-select: none; pointer-events: none;
}
@media (min-width: 861px) { .band__num { display: none; } } /* no computador o número grande já aparece */
@media (max-width: 860px) { .band__big { display: none; } }
/* Celular e tablet: as quebras manuais dos textos (feitas para o computador)
   são ignoradas. O navegador quebra o texto sozinho e equilibra as linhas,
   evitando palavras soltas e buracos. Títulos (h1, h2) mantêm suas quebras. */
@media (max-width: 860px) {
  p br:not(.br-m), dd br:not(.br-m) { display: none; } /* br-m = quebra só do celular */
  p, dd { text-wrap: pretty; }
}
/* Computador: texto + número formam um bloco centralizado na faixa
   (na horizontal e na vertical). As colunas têm largura fixa para que
   todas as faixas fiquem alinhadas entre si. */
@media (min-width: 861px) {
  .band__inner {
    grid-template-columns: minmax(0, 620px) minmax(0, 390px);
    justify-content: center; align-items: center;
    column-gap: clamp(48px, 7vw, 140px);
  }
  .band__text { grid-column: 1; }
  .band__big { grid-column: 2; justify-self: start; font-size: clamp(12rem, 32vw, 32rem); }
  /* títulos dos serviços sempre numa linha só no computador */
  .band__name { font-size: clamp(3.4rem, 9.5vw, 7.5rem); white-space: nowrap; }
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-family: var(--pixel); font-size: 12px; text-transform: lowercase; padding: 7px 12px; border: 1.5px solid currentColor; border-radius: 999px; }

.band--cobalt { background: var(--cobalt); color: var(--paper); --cover: var(--cobalt); --stroke: var(--lime); }
.band--hot    { background: var(--hot);    color: var(--ink);   --cover: var(--hot); --stroke: var(--ink); }
.band--pink   { background: var(--pink);   color: var(--ink);   --cover: var(--pink); --stroke: var(--ink); }
.band--lime   { background: var(--lime);   color: var(--ink);   --cover: var(--lime); --stroke: var(--ink); }
.band--ink    { background: var(--ink);    color: var(--paper); --cover: var(--ink); --stroke: var(--lime); }
.band--cobalt .band__num, .band--ink .band__num { color: var(--lime); }

@media (max-width: 860px) {
  .band { position: relative; top: auto; min-height: 0; }
  .band__text, .band__media { grid-column: 1 / -1; }
  .band__media { max-width: 300px; }
}

/* =========================================================
   FRASE — faixa limão correndo
   ========================================================= */
.quote { background: var(--lime); border-block: 1.5px solid var(--ink); overflow: hidden; padding-block: clamp(20px, 3vw, 36px); }
.marquee__track { display: flex; align-items: center; gap: 0.5em; width: max-content; }
.marquee__track span {
  white-space: nowrap;
  font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 80;
  font-size: clamp(2.4rem, 6vw, 6rem); line-height: 1; letter-spacing: -0.02em;
}
.marquee__track em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -0.02em; }
.star { width: 0.9em; height: 0.9em; flex: none; fill: currentColor; }
.marquee__track .star { width: clamp(28px, 4vw, 56px); height: clamp(28px, 4vw, 56px); fill: var(--cobalt); }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 38s linear infinite; }
  .quote:hover .marquee__track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   PROCESSO — papel
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
/* Quebras de linha só do computador (br-d) ou só do celular (br-m) */
@media (max-width: 860px) { .br-d { display: none; } }
@media (min-width: 861px) { .br-m { display: none; } }
/* Notebooks menores: 2 colunas, para as quebras de linha das etapas ficarem certas */
@media (min-width: 861px) and (max-width: 1399px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; } }
.steps li { border-top: 1.5px solid var(--ink); padding-top: 18px; display: grid; gap: 10px; align-content: start; }
.steps__num {
  font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 75;
  font-size: clamp(3rem, 5vw, 5rem); line-height: 0.9; letter-spacing: -0.02em; color: var(--cobalt);
}
.steps h3 { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; }
.steps p { color: var(--muted); font-size: 16px; max-width: 30ch; }

.diffs { margin-top: clamp(64px, 9vw, 128px); display: grid; gap: 4px; }
.diffs li {
  display: flex; align-items: center; gap: 0.4em;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.9rem, 4.2vw, 4.2rem); line-height: 1.2; letter-spacing: -0.02em;
  padding-block: 10px; border-bottom: 1.5px solid var(--ink);
}
.diffs .star { fill: var(--cobalt); width: 0.6em; height: 0.6em; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .diffs li { align-items: flex-start; }
  .diffs .star { margin-top: 0.25em; }
}
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* =========================================================
   CONTATO — lagosta
   ========================================================= */
.contact { background: var(--hot); color: var(--ink); }
.contact__kicker { font-size: 16px; }
.contact__title {
  margin: 10px 0 clamp(40px, 6vw, 80px);
  font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 75, "opsz" 96;
  font-size: clamp(3.4rem, 10vw, 11rem); line-height: 0.9; letter-spacing: -0.02em;
  text-wrap: balance;
}
.contact__title em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -0.02em; }
.contact__grid { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 32px; padding-top: 24px; border-top: 1.5px solid var(--ink); }
.email { display: grid; gap: 8px; justify-items: start; text-align: left; }
.email__text {
  font-family: var(--display); font-weight: 600; font-variation-settings: "wdth" 85;
  font-size: clamp(1.6rem, 4vw, 3.6rem); line-height: 1.15; letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0% 3px no-repeat;
  transition: background-size 500ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .email:hover .email__text { background-size: 100% 3px; } }
.email__hint { font-size: 13px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Rodapé ---------- */
.footer { background: var(--ink); color: var(--paper); }
.footer__inner { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; padding-block: 28px; font-size: 15px; }
.footer__logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; }
.footer__logo .spin { color: var(--lime); }

/* ---------- Estrela que segue o cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 60; width: 22px; height: 22px; pointer-events: none; opacity: 0; transition: opacity 200ms ease; }
.cursor svg { width: 100%; height: 100%; fill: var(--lime); stroke: var(--ink); stroke-width: 1.2px; transition: transform 250ms var(--ease-out); }
.cursor.is-on { opacity: 1; }
.cursor.is-big svg { transform: scale(1.7) rotate(45deg); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* =========================================================
   ANIMAÇÕES DE ENTRADA (só com JavaScript e sem "reduzir movimento")
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .js .wordmark > span { transform: translateY(105%); animation: rise 1000ms var(--ease-out) forwards; }
  .js .wordmark > span:nth-child(1) { animation-delay: 60ms; }
  .js .wordmark > span:nth-child(2) { animation-delay: 130ms; }
  .js .wordmark > span:nth-child(3) { animation-delay: 200ms; }
  .js .wordmark > span:nth-child(4) { animation-delay: 270ms; }
  .js .wordmark > span:nth-child(5) { animation-delay: 340ms; }

  .js .sticker > * { opacity: 0; scale: 0.85; animation: pop 700ms var(--ease-out) forwards; }
  .js .s1 > * { animation-delay: 520ms; }
  .js .s5 > * { animation-delay: 580ms; }
  .js .s2 > * { animation-delay: 640ms; }
  .js .s4 > * { animation-delay: 700ms; }
  .js .s3 > * { animation-delay: 760ms; }
  .js .s6 > * { animation-delay: 820ms; }

  .js .hero__top, .js .hero__foot { opacity: 0; animation: fade 800ms var(--ease-out) 700ms forwards; }
}
@keyframes rise { to { transform: translateY(0); } }
@keyframes pop  { to { opacity: 1; scale: 1; } }
@keyframes fade { to { opacity: 1; } }
