:root {
  --bg: #121210;
  --white: #fafaf6;
  --lilac: #e1e6ff;
  --cerise: #e30b63;
  --cerise-light: #f04d9e;
  --citrine: #d5f35e;
  --light-gray: #f3f3f3;
  --near-black: #0d0d0e;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: Montserrat, sans-serif;
}

/* Frame do Figma: 1440×900 */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 61px 40px;
}

.header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand { display: flex; align-items: center; gap: 2.954px; }
.brand-mark { width: 13.353px; height: 17.262px; }
.brand-mark img { display: block; max-width: none; margin-left: -0.928px; }
.brand-name { display: flex; gap: 0.709px; }
.brand-name img { display: block; }

.menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  padding: 1px;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu span { width: 28px; height: 2px; background: var(--white); }
.menu span:last-child { width: 18px; }

.intro {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.eyebrow { color: var(--lilac); font-size: 12px; font-weight: 600; }

h1 {
  margin-top: 20px;
  font-size: clamp(32px, 7.5vw, 56px);
  font-weight: 600;
  line-height: normal;
  text-wrap: balance;
}

.lead {
  max-width: 534px;
  margin-top: 20px;
  color: rgb(255 255 255 / 0.65);
  font-size: 17px;
  line-height: normal;
}

.tags {
  display: flex;
  gap: 18px;
  margin-top: 24px;
  list-style: none;
}

.tag {
  width: 54px;
  height: 54px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  font-size: 12px;
  font-style: italic;
  font-weight: 500;
}
.tag-apps { background: var(--cerise-light); color: var(--light-gray); }
.tag-motion { background: var(--citrine); color: var(--near-black); }
.tag-id { background: var(--cerise); color: var(--light-gray); padding: 0 7px; line-height: 10px; }

.scroll { text-decoration: none; color: rgb(255 255 255 / 0.4); font-size: 11px; font-weight: 600; }

@media (max-width: 600px) {
  .hero { padding: 32px 24px; }
  .lead br { display: none; }
}

/* Menu: overlay (padrão) e tela cheia (.full) */
.nav {
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  border: 0;
  overflow-y: auto;
  background: var(--citrine);
  color: #fff;
}
.nav[open] { display: flex; flex-direction: column; }
body:has(.nav[open]) { overflow: hidden; }

.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 40px 0;
  margin-bottom: 66px;
}
.nav .brand-dark { gap: 3px; }
.brand-dark .brand-mark { width: 13.56px; height: 17.53px; }
.brand-dark .brand-mark img { margin-left: -0.943px; }
.brand-dark .brand-name { gap: 0.72px; }

.nav-actions { display: flex; align-items: center; gap: 24px; }
.nav-actions button { background: none; border: 0; cursor: pointer; font: inherit; }
.nav-actions img { display: block; }
.nav-close { width: 13px; height: 13px; display: grid; place-content: center; }
.nav-expand { color: var(--near-black); font-size: 11px !important; font-weight: 600 !important; text-transform: uppercase; }

.nav:not(.full) .brand-light,
.nav:not(.full) .nav-back,
.nav.full .brand-dark,
.nav.full .nav-expand,
.nav.full .nav-close { display: none; }

.nav-body {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  gap: min(64px, 7.1vh);
  padding: 40px;
  background: var(--bg);
}

.nav-links { display: flex; flex-direction: column; gap: min(64px, 7.1vh); list-style: none; }
.nav-links a {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  background: url(assets/line.svg) bottom / 100% 1px no-repeat;
  color: inherit;
  text-decoration: none;
  font-size: clamp(28px, 7vw, 48px);
  font-weight: 700;
  line-height: normal;
}
.nav-links a:hover span, .nav-links a:focus-visible span { color: var(--citrine); }
.nav-links small { color: var(--citrine); font-size: 12px; font-weight: 400; }

.nav-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 230px;
  min-height: 93.5px;
}
.nav-footer div { display: flex; flex-direction: column; gap: 13px; }
.nav-footer h2 { color: rgb(255 255 255 / 0.5); font-size: 11px; font-weight: 600; }
.nav-footer p { color: rgb(255 255 255 / 0.85); font-size: 15px; }

.nav.full { background: var(--bg); border-left: 12px solid #e30165; }
.nav.full .nav-header { padding-top: 40px; margin-bottom: 0; }
.nav.full .nav-body { padding-top: 64px; }
.nav.full .nav-footer { flex-grow: 1; }

@media (max-width: 600px) {
  .nav-header, .nav.full .nav-header { padding-inline: 24px; }
  .nav-body { padding-inline: 24px; }
}

/* Animações */
.nav, .nav-header, .nav-body { --ease: cubic-bezier(0.76, 0, 0.24, 1); }

/* Abrir/fechar: a cortina desce e sobe.
   ponytail: sem suporte a "overlay allow-discrete" o navegador pode fechar sem animar */
.nav {
  border-left: 0 solid #e30165;
  clip-path: inset(0 0 100% 0);
  transition:
    clip-path .6s var(--ease),
    background-color .5s var(--ease),
    border-left-width .5s var(--ease),
    overlay .6s allow-discrete,
    display .6s allow-discrete;
}
.nav[open] { clip-path: inset(0); }
@starting-style { .nav[open] { clip-path: inset(0 0 100% 0); } }

/* Overlay <-> tela cheia */
.nav-header { transition: padding .5s var(--ease), margin .5s var(--ease); }
.nav-body { transition: padding .5s var(--ease); }
.nav-header .brand, .nav-actions button { transition: opacity .4s .15s, display .4s allow-discrete; }
@starting-style { .nav[open] :is(.nav-header .brand, .nav-actions button) { opacity: 0; } }

/* Itens do menu entram em sequência */
.nav[open] :is(.nav-links li, .nav-footer) {
  animation: rise .7s cubic-bezier(0.22, 1, 0.36, 1) calc(.25s + var(--i) * 70ms) backwards;
}
.nav-links li:nth-child(1) { --i: 0; }
.nav-links li:nth-child(2) { --i: 1; }
.nav-links li:nth-child(3) { --i: 2; }
.nav-links li:nth-child(4) { --i: 3; }
.nav-links li:nth-child(5) { --i: 4; }
.nav-footer { --i: 5; }

/* Entrada da primeira tela */
.header, .intro > *, .scroll {
  animation: rise .9s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s) backwards;
  animation-delay: calc(var(--intro) + var(--delay, 0s));
}
.intro > :nth-child(1) { --delay: .1s; }
.intro > :nth-child(2) { --delay: .2s; }
.intro > :nth-child(3) { --delay: .35s; }
.intro > :nth-child(4) { --delay: .5s; }
.scroll { --delay: .8s; }

/* Hover */
.menu span { transition: width .3s; }
.menu:is(:hover, :focus-visible) span:last-child { width: 28px; }
.nav-links span { transition: color .3s, translate .3s; }
.nav-links a:is(:hover, :focus-visible) span { translate: 12px 0; }
.nav-close img, .nav-back img { transition: rotate .3s, translate .3s; }
.nav-close:hover img { rotate: 90deg; }
.nav-back:hover img { translate: -4px 0; }

@keyframes rise {
  from { opacity: 0; translate: 0 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .splash { display: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Splash: animação do Figma (nó 243:19663), 4,2s, tocada uma vez.
   Entrada: as faixas se desenham. Saída: recolhem-se em sequência. */
:root { --intro: 4.1s; }
.splash { position: fixed; inset: 0; z-index: 10; background: #121210; animation: splash-out .25s 4.15s forwards; }
.splash svg { display: block; width: 100%; height: 100%; }
.splash path { animation: 4.2s linear both; }
@keyframes splash-out { to { opacity: 0; visibility: hidden; } }
.splash .v20 { animation-name: trim-20; }
@keyframes trim-20 {
  0% { animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); stroke-dasharray: 0 1; stroke-dashoffset: -1; visibility: hidden; }
  81.602% { animation-timing-function: linear; stroke-dasharray: 1 1; stroke-dashoffset: 0; visibility: visible; }
  95.238% { stroke-dasharray: 0 1; stroke-dashoffset: 0; visibility: hidden; }
  100% { stroke-dasharray: 0 1; stroke-dashoffset: 0; visibility: hidden; }
}
.splash .v18 { animation-name: trim-18; }
@keyframes trim-18 {
  0% { stroke-dasharray: 0 1; stroke-dashoffset: -1; visibility: hidden; }
  5.564% { animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); stroke-dasharray: 0 1; stroke-dashoffset: -1; visibility: hidden; }
  75.562% { stroke-dasharray: 1 1; stroke-dashoffset: 0; visibility: visible; }
  75.746% { animation-timing-function: linear; stroke-dasharray: 1 1; stroke-dashoffset: 0; visibility: visible; }
  95.238% { stroke-dasharray: 0 1; stroke-dashoffset: 0; visibility: hidden; }
  100% { stroke-dasharray: 0 1; stroke-dashoffset: 0; visibility: hidden; }
}
.splash .v17 { animation-name: trim-17; }
@keyframes trim-17 {
  0% { stroke-dasharray: 0 1; stroke-dashoffset: -1; visibility: hidden; }
  12.576% { animation-timing-function: cubic-bezier(0.22, 0.999, 0.36, 1); stroke-dasharray: 0 1; stroke-dashoffset: -1; visibility: hidden; }
  74.06% { animation-timing-function: linear; stroke-dasharray: 1 1; stroke-dashoffset: 0; visibility: visible; }
  74.129% { animation-timing-function: linear; stroke-dasharray: 1 1; stroke-dashoffset: 0; visibility: visible; }
  96.652% { stroke-dasharray: 0 1; stroke-dashoffset: 0; visibility: hidden; }
  100% { stroke-dasharray: 0 1; stroke-dashoffset: 0; visibility: hidden; }
}
.splash .v11 { animation-name: trim-11; }
@keyframes trim-11 {
  0% { stroke-dasharray: 0 1; stroke-dashoffset: -1; visibility: hidden; }
  25.357% { animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); stroke-dasharray: 0 1; stroke-dashoffset: -1; visibility: hidden; }
  72.243% { stroke-dasharray: 1 1; stroke-dashoffset: 0; visibility: visible; }
  72.431% { animation-timing-function: linear; stroke-dasharray: 1 1; stroke-dashoffset: 0; visibility: visible; }
  95.238% { stroke-dasharray: 0 1; stroke-dashoffset: 0; visibility: hidden; }
  100% { stroke-dasharray: 0 1; stroke-dashoffset: 0; visibility: hidden; }
}
.splash .v16 { animation-name: trim-16; }
@keyframes trim-16 {
  0% { stroke-dasharray: 0 1; stroke-dashoffset: -1; visibility: hidden; }
  30.692% { animation-timing-function: cubic-bezier(0.22, 0.999, 0.361, 1); stroke-dasharray: 0 1; stroke-dashoffset: -1; visibility: hidden; }
  65.993% { animation-timing-function: cubic-bezier(0.333, 1, 0.666, 1); stroke-dasharray: 1 1; stroke-dashoffset: 0; visibility: visible; }
  66.092% { animation-timing-function: linear; stroke-dasharray: 1 1; stroke-dashoffset: 0; visibility: visible; }
  95.238% { stroke-dasharray: 0 1; stroke-dashoffset: 0; visibility: hidden; }
  100% { stroke-dasharray: 0 1; stroke-dashoffset: 0; visibility: hidden; }
}
.splash .v14 { animation-name: trim-14; }
@keyframes trim-14 {
  0% { stroke-dasharray: 0 1; stroke-dashoffset: -1; visibility: hidden; }
  36.484% { animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); stroke-dasharray: 0 1; stroke-dashoffset: -1; visibility: hidden; }
  68.618% { stroke-dasharray: 1 1; stroke-dashoffset: 0; visibility: visible; }
  69.018% { animation-timing-function: linear; stroke-dasharray: 1 1; stroke-dashoffset: 0; visibility: visible; }
  95.238% { stroke-dasharray: 0 1; stroke-dashoffset: 0; visibility: hidden; }
  100% { stroke-dasharray: 0 1; stroke-dashoffset: 0; visibility: hidden; }
}
.splash .v15 { animation-name: trim-15; }
@keyframes trim-15 {
  0% { stroke-dasharray: 0 1; stroke-dashoffset: -1; visibility: hidden; }
  43.936% { animation-timing-function: cubic-bezier(0.228, 0.96, 0.377, 0.998); stroke-dasharray: 0 1; stroke-dashoffset: -1; visibility: hidden; }
  70.137% { animation-timing-function: cubic-bezier(0.323, 1, 0.656, 1); stroke-dasharray: 0.9999 1; stroke-dashoffset: -0.0001; visibility: visible; }
  72.243% { animation-timing-function: linear; stroke-dasharray: 0.988 1; stroke-dashoffset: 0; visibility: visible; }
  100% { stroke-dasharray: 0 1; stroke-dashoffset: 0; visibility: hidden; }
}
.splash .v19 { animation-name: trim-19; }
@keyframes trim-19 {
  0% { stroke-dasharray: 0 1; stroke-dashoffset: -1; visibility: hidden; }
  50.286% { animation-timing-function: cubic-bezier(0.244, 0.884, 0.41, 0.988); stroke-dasharray: 0 1; stroke-dashoffset: -1; visibility: hidden; }
  72.243% { animation-timing-function: cubic-bezier(0.303, 1, 0.635, 1); stroke-dasharray: 0.9984 1; stroke-dashoffset: -0.0016; visibility: visible; }
  77.929% { animation-timing-function: linear; stroke-dasharray: 0.8577 1; stroke-dashoffset: 0; visibility: visible; }
  100% { stroke-dasharray: 0 1; stroke-dashoffset: 0; visibility: hidden; }
}

/* Seção 2: frase em destaque (frame 1440 de largura) */
html { scroll-behavior: smooth; }

.about {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 64px;
  overflow: hidden;
  background: var(--cerise);
}
.about-main {
  display: grid;
  grid-template-columns: 599fr 765fr;
  column-gap: 4.44%;
  align-items: center;
  flex: 1;
}
.about-mark { display: block; width: 103.35%; height: auto; margin-left: -3.35%; align-self: start; }
.about-text {
  max-width: 765px;
  padding-inline: min(57px, 4vw);
  font-size: clamp(24px, 3.375vw, 48.6px);
  font-weight: 600;
  line-height: normal;
}
.about-more { grid-column: 2; justify-self: start; margin: 8px 0 0 min(57px, 4vw); padding: 12px 24px; border: 1.5px solid currentColor; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; transition: background-color .3s, color .3s; }
.about-more span { display: inline-block; transition: translate .3s; }
.about-more:is(:hover, :focus-visible) { background: #fff; color: var(--cerise); }
.about-more:is(:hover, :focus-visible) span { translate: 5px 0; }
.about-footer { min-height: 118.5px; padding: 0 40px; }
.about-footer h2, .about-footer p { color: #fff; }

@media (max-width: 760px) {
  .about-main { grid-template-columns: 1fr; align-content: center; row-gap: 32px; }
  .about-mark { width: 75%; }
  .about-text { padding-inline: 24px; }
  .about-more { grid-column: 1; margin-left: 24px; }
  .about-footer { padding: 0 24px 32px; }
}

/* Animação ao entrar na tela. .will-reveal só existe com JS, então sem JS tudo aparece. */
@media (prefers-reduced-motion: no-preference) {
  .about-line { stroke-dasharray: 1 1; transition: stroke-dashoffset 1.8s cubic-bezier(0.65, 0, 0.35, 1); }
  .about-dot { transform-box: fill-box; transform-origin: center; transition: scale .6s 1.6s cubic-bezier(0.34, 1.8, 0.64, 1), opacity .2s 1.6s; }
  .about-text span { display: inline-block; transition: opacity .6s, translate .6s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: calc(.3s + var(--i) * 55ms); }
  .about-footer > div { transition: opacity .8s 1.8s, translate .8s 1.8s; }

  /* estado escondido: sem transição, para voltar na hora */
  .will-reveal:not(.in-view) * { transition: none !important; }
  .will-reveal:not(.in-view) .about-line { stroke-dashoffset: 1; visibility: hidden; }
  .will-reveal:not(.in-view) .about-dot { scale: 0; opacity: 0; }
  .will-reveal:not(.in-view) :is(.about-text span, .about-footer > div) { opacity: 0; translate: 0 24px; }
}

/* Seção 3: Animação & Ilustração. --u = 1px do frame 1440×900 */
.works { min-height: 100svh; display: grid; align-items: center; overflow: hidden; background: #fffffe; color: var(--bg); }
.works-stage { position: relative; container-type: inline-size; }
.cards { --u: calc(100cqw / 1440); position: relative; height: calc(900 * var(--u)); list-style: none; }

.works-header {
  position: absolute;
  top: calc(96 / 14.4 * 1cqw);
  left: calc(64 / 14.4 * 1cqw);
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-weight: 600;
  line-height: normal;
}
.works-header p { color: var(--cerise); font-size: 12px; }
.works-header h2 { font-size: clamp(26px, 2.78cqw, 40px); font-weight: 600; }

.cards li {
  position: absolute;
  left: calc((var(--x) - var(--w) / 2) * var(--u));
  top: calc((var(--y) - var(--h) / 2) * var(--u));
  width: calc(var(--w) * var(--u));
  height: calc(var(--h) * var(--u));
}
.cards li:has(.card:is(:hover, :focus-visible)) { z-index: 1; }

/* A área do link fica parada; só a face se move, para o hover não tremer */
.card { display: block; height: 100%; rotate: var(--r); color: inherit; text-decoration: none; outline: none; }
.card-face {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  border: 2px solid #db0059;
  border-radius: 14px;
  transition: scale .45s cubic-bezier(0.34, 1.4, 0.64, 1), rotate .45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow .45s, border-color .3s, opacity .35s, filter .35s;
}
.card-title, .card-cta { position: absolute; left: 12.5px; font-size: 11px; font-weight: 600; line-height: normal; }
.card-title { top: calc(var(--label) * var(--u)); color: rgb(18 18 16 / 0.5); transition: color .3s; }
.card-cta { bottom: 12px; padding: 8px 14px; border-radius: 99px; background: var(--cerise); color: #fff; opacity: 0; translate: 0 8px; transition: opacity .3s, translate .3s; }

.cards:has(.card:is(:hover, :focus-visible)) .card:not(:hover, :focus-visible) .card-face { scale: .97; opacity: .45; filter: saturate(.4); }
.card:is(:hover, :focus-visible) .card-face {
  scale: 1.15;
  rotate: calc(var(--r) * -1);
  box-shadow: 0 24px 60px rgb(18 18 16 / 0.28);
}
.card:is(:hover, :focus-visible) .card-title { color: var(--bg); }
.card:is(:hover, :focus-visible) .card-cta { opacity: 1; translate: 0 0; }

/* Telas pequenas: os cards viram uma grade */
@media (max-width: 760px) {
  .works { padding: 64px 24px; align-content: center; }
  .works-header { position: static; margin-bottom: 32px; }
  .cards { --u: 0.16vw; height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; align-items: center; }
  .cards li { position: static; width: auto; height: auto; aspect-ratio: var(--w) / var(--h); }
  .card { rotate: calc(var(--r) / 2); }
  .card:is(:hover, :focus-visible) .card-face { rotate: calc(var(--r) / -2); }
  .card-title { top: auto; bottom: 12px; }
  .card-cta { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .works-header, .cards li { transition: opacity .7s, translate .8s cubic-bezier(0.22, 1, 0.36, 1); }
  .cards li { transition-delay: calc(.15s + var(--i) * 90ms); }
  .will-reveal:not(.in-view) :is(.works-header, .cards li) { opacity: 0; translate: 0 60px; }
}

/* Seção 4: Produtos digitais */
.apps { --blue: #0d1a8b; overflow: clip; padding: 89px 80px; background: var(--white); color: var(--bg); line-height: normal; }
.apps-inner { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 73px; }

.apps-header { max-width: 700px; display: flex; flex-direction: column; gap: 11px; }
.apps-header p:first-child { margin-bottom: 2px; color: var(--blue); font-size: 12px; font-weight: 600; }
.apps-header h2 { font-size: clamp(30px, 4vw, 40px); }
.apps-header p:last-child { color: #666661; font-size: 14px; }

.product { display: grid; grid-template-columns: 560fr 500fr; column-gap: 11.72%; align-items: center; width: 94.53%; }
.product:nth-of-type(even) { grid-template-columns: 500fr 560fr; }
.product:nth-of-type(even) .thumb { order: 1; }

.thumb {
  position: relative;
  display: block;
  aspect-ratio: 560 / 300;
  overflow: hidden;
  border: 1.5px dashed #999994;
  border-radius: 16px;
  background: #f1eee4;
  color: inherit;
  text-decoration: none;
  transition: scale .45s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow .45s, border-color .3s;
}
.state { position: absolute; inset: 0; display: grid; place-content: center; transition: opacity .5s, scale .8s cubic-bezier(0.22, 1, 0.36, 1); }
.state img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.state-initial { color: #b2b2ad; font-size: 24px; }
.state-final { background: var(--blue); color: #fff; font-size: 18px; font-weight: 700; opacity: 0; scale: 1.1; }
.thumb small { position: absolute; left: 12.5px; bottom: 12px; color: #262621; font-size: 10px; font-weight: 600; transition: color .3s; }

.product-info { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.product-tag, .product-link { padding: 10px; }
.product-tag { color: var(--blue); font-size: 12px; font-weight: 600; }
.product-text { display: flex; flex-direction: column; gap: 22px; }
.product-text h3 { font-size: clamp(21px, 1.81vw, 26px); }
.product-text p { max-width: 460px; color: #666661; font-size: 14px; }
.product dl { display: flex; gap: 33px; }
.product:nth-of-type(even) dl { gap: 43px; }
.product dl div { display: flex; flex-direction: column; gap: 7px; min-width: 115px; }
.product dt { color: #80807a; font-size: 11px; }
.product dd { font-size: 18px; font-weight: 700; }
.product-link { color: inherit; font-size: 13px; font-weight: 600; text-decoration: none; transition: color .3s; }
.product-link span { display: inline-block; transition: translate .3s; }

/* Hover na miniatura ou no link: mesmo destaque */
.product:has(a:is(:hover, :focus-visible)) .thumb { scale: 1.04; border: 1.5px solid var(--blue); box-shadow: 0 24px 60px rgb(18 18 16 / 0.2); }
.product:has(a:is(:hover, :focus-visible)) .state-initial { opacity: 0; }
.product:has(a:is(:hover, :focus-visible)) .state-final { opacity: 1; scale: 1; }
.product:has(a:is(:hover, :focus-visible)) .thumb small { color: #fff; }
.product:has(a:is(:hover, :focus-visible)) .product-link { color: var(--blue); }
.product:has(a:is(:hover, :focus-visible)) .product-link span { translate: 6px 0; }

@media (max-width: 900px) {
  .apps { padding: 64px 24px; }
  .product, .product:nth-of-type(even) { grid-template-columns: 1fr; row-gap: 20px; width: 100%; }
  .product:nth-of-type(even) .thumb { order: 0; }
  .product-info { gap: 16px; }
  .product-tag, .product-link { padding: 4px 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .apps-header, .product .thumb, .product-info { transition-property: opacity, translate, scale, box-shadow, border-color; transition-duration: .8s, .9s, .45s, .45s, .3s; transition-timing-function: ease, cubic-bezier(0.22, 1, 0.36, 1), cubic-bezier(0.34, 1.4, 0.64, 1), ease, ease; }
  .will-reveal:not(.in-view):is(.apps-header), .product.will-reveal:not(.in-view) :is(.thumb, .product-info) { opacity: 0; translate: 0 60px; }
}

/* Transições ligadas à rolagem.
   ponytail: sem suporte a animation-timeline, o navegador mantém a rolagem comum */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* overflow: hidden viraria o "scroller" das animações internas; clip só recorta */
    .about, .works { overflow: clip; }

    /* A primeira tela fica parada e recua enquanto a seção rosa passa por cima */
    @media (min-height: 600px) {
      .hero { position: sticky; top: 0; animation: hero-out linear both; animation-timeline: scroll(root); animation-range: 0px 100svh; }
    }
    .about, .works, .apps { position: relative; z-index: 1; }

    /* Cada folha sobe com os cantos arredondados, que se achatam ao chegar */
    .about, .works { animation: sheet linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    .about { padding-bottom: 64px; }
    .works { margin-top: -64px; box-shadow: 0 -20px 50px rgb(18 18 16 / 0.18); }

    /* Profundidade: elementos andam em velocidades diferentes.
       Usa transform para não brigar com translate/scale das entradas e do hover. */
    .about-mark, .about-text, .works-header, .cards li {
      animation: drift linear both;
      animation-timeline: view();
      animation-range: cover;
    }
    .about-mark { --drift: 70px; }
    .about-text { --drift: 30px; }
    .works-header { --drift: 24px; }
    .cards li { --drift: 40px; }
    .cards li:nth-child(even) { --drift: 90px; }
  }
}
@keyframes hero-out { to { opacity: 0.2; scale: 0.9; } }
@keyframes sheet {
  from { border-radius: 80px 80px 0 0; }
  to { border-radius: 0; }
}
@keyframes drift {
  from { transform: translateY(var(--drift)); }
  to { transform: translateY(calc(var(--drift) * -1)); }
}

/* Intro de Apps (nó 243:11636): loop de 2,507s do Figma; só toca com a seção na tela */
.interlude { display: grid; place-content: center; min-height: calc(100vw * 506 / 1440); padding: 64px 24px; background: var(--cerise); overflow: clip; }
@media (max-width: 900px) { .interlude { min-height: 420px; } }
.interlude svg { width: clamp(240px, 20.84vw, 400px); height: auto; }
.interlude :is([class^="m"], [class^="p"]) { animation-duration: 2.507454s; animation-timing-function: linear; animation-iteration-count: infinite; animation-fill-mode: both; }
.interlude.will-reveal:not(.in-view) path, .interlude.will-reveal:not(.in-view) g { animation: none !important; }
.interlude .m4105 { animation-name: fade-4105; }
@keyframes fade-4105 { 0% { opacity: 1; } 90.744% { animation-timing-function: ease-out; opacity: 1; } 100%, 100% { opacity: 0; } }
.interlude .m4116 { animation-name: fade-4116; }
@keyframes fade-4116 { 0% { opacity: 1; } 90.744% { animation-timing-function: ease-out; opacity: 1; } 100%, 100% { opacity: 0; } }
.interlude .m4125 { animation-name: fade-4125; }
@keyframes fade-4125 { 0% { opacity: 1; } 60.166% { animation-timing-function: ease-out; opacity: 1; } 71.784%, 100% { opacity: 0; } }
.interlude .m4133 { animation-name: fade-4133; }
@keyframes fade-4133 { 0% { opacity: 1; } 60.522% { animation-timing-function: ease-out; opacity: 1; } 70.509%, 100% { opacity: 0; } }
.interlude .m4150 { animation-name: fade-4150; }
@keyframes fade-4150 { 0% { opacity: 1; } 28.6% { animation-timing-function: ease-out; opacity: 1; } 39.115%, 100% { opacity: 0; } }
.interlude .m4158 { animation-name: fade-4158; }
@keyframes fade-4158 { 0% { opacity: 1; } 24% { animation-timing-function: ease-out; opacity: 1; } 34.515%, 100% { opacity: 0; } }
.interlude .m4168 { animation-name: fade-4168; }
@keyframes fade-4168 { 0% { opacity: 1; } 26.108% { animation-timing-function: ease-out; opacity: 1; } 36.623%, 100% { opacity: 0; } }
.interlude .m4179 { animation-name: fade-4179; }
@keyframes fade-4179 { 0% { opacity: 1; } 27.651% { animation-timing-function: ease-out; opacity: 1; } 38.165%, 100% { opacity: 0; } }
.interlude .m4189 { animation-name: fade-4189; }
@keyframes fade-4189 { 0% { opacity: 1; } 14.357% { animation-timing-function: ease-out; opacity: 1; } 23.353%, 100% { opacity: 0; } }
.interlude .m4197 { animation-name: fade-4197; }
@keyframes fade-4197 { 0% { opacity: 1; } 14.357% { animation-timing-function: ease-out; opacity: 1; } 23.353%, 100% { opacity: 0; } }
.interlude .m4211 { animation-name: fade-4211; }
@keyframes fade-4211 { 0% { opacity: 1; } 14.357% { animation-timing-function: ease-out; opacity: 1; } 23.353%, 100% { opacity: 0; } }
.interlude .p4105 { transform-box: fill-box; transform-origin: center; animation-name: pop-4105; }
@keyframes pop-4105 { 0% { scale: 0; } 71.362% { animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1); scale: 0; } 77.264%, 100% { scale: 1; } }
.interlude .p4150 { transform-box: fill-box; transform-origin: center; animation-name: pop-4150; }
@keyframes pop-4150 { 0% { scale: 0; } 24.462% { animation-timing-function: linear(0, 0.03, 0.1077, 0.2165, 0.342, 0.4728, 0.6001, 0.7175, 0.8208, 0.9077, 0.9776, 1.0307, 1.0684, 1.0925, 1.1051, 1.1084, 1.1047, 1.096, 1.084, 1.0703, 1.0561, 1.0424, 1.0297, 1.0187, 1.0094, 1.0019, 0.9963, 0.9923, 0.9898, 0.9885, 0.9882, 0.9887, 0.9897, 0.991, 0.9925, 0.994, 0.9955, 0.9969, 0.9981, 0.9991, 0.9998, 1.0004, 1.0009, 1.0011, 1.0012, 1.0013, 1.0012, 1.0011, 1.001, 1.0008, 1.0006); scale: 0; } 27.419%, 100% { scale: 1; } }
.interlude .p4179 { transform-box: fill-box; transform-origin: center; animation-name: pop-4179; }
@keyframes pop-4179 { 0% { scale: 0; } 22.454% { animation-timing-function: linear(0, 0.03, 0.1077, 0.2165, 0.342, 0.4728, 0.6001, 0.7175, 0.8208, 0.9077, 0.9776, 1.0307, 1.0684, 1.0925, 1.1051, 1.1084, 1.1047, 1.096, 1.084, 1.0703, 1.0561, 1.0424, 1.0297, 1.0187, 1.0094, 1.0019, 0.9963, 0.9923, 0.9898, 0.9885, 0.9882, 0.9887, 0.9897, 0.991, 0.9925, 0.994, 0.9955, 0.9969, 0.9981, 0.9991, 0.9998, 1.0004, 1.0009, 1.0011, 1.0012, 1.0013, 1.0012, 1.0011, 1.001, 1.0008, 1.0006); scale: 0; } 25.411%, 100% { scale: 1; } }
.interlude .p4116 { animation-name: draw-4116; }
@keyframes draw-4116 { 0% { stroke-dasharray: 0 1; stroke-dashoffset: -0.5; visibility: hidden; } 77.264% { animation-timing-function: ease; stroke-dasharray: 0 1; stroke-dashoffset: -0.5; visibility: hidden; } 85.277%, 100% { stroke-dasharray: 1 1; stroke-dashoffset: 0; visibility: visible; } }
.interlude .p4125 { animation-name: draw-4125; }
@keyframes draw-4125 { 0% { stroke-dasharray: 0 1; stroke-dashoffset: 0; visibility: hidden; } 50.615% { animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1); stroke-dasharray: 0 1; stroke-dashoffset: 0; visibility: hidden; } 57.4%, 100% { stroke-dasharray: 1 1; stroke-dashoffset: 0; visibility: visible; } }
.interlude .p4133 { animation-name: draw-4133; }
@keyframes draw-4133 { 0% { stroke-dasharray: 0 1; stroke-dashoffset: 0; visibility: hidden; } 39.115% { animation-timing-function: ease-in-out; stroke-dasharray: 0 1; stroke-dashoffset: 0; visibility: hidden; } 58.797%, 100% { stroke-dasharray: 1 1; stroke-dashoffset: 0; visibility: visible; } }
.interlude .p4158 { animation-name: draw-4158; }
@keyframes draw-4158 { 0% { stroke-dasharray: 0 1; stroke-dashoffset: -1; visibility: hidden; } 14.731% { animation-timing-function: linear(0, 0.0216, 0.0747, 0.1458, 0.2255, 0.3076, 0.3879, 0.4638, 0.5339, 0.5974, 0.6542, 0.7044, 0.7484, 0.7866, 0.8196, 0.8479, 0.8722, 0.8928, 0.9103, 0.9251, 0.9375, 0.948, 0.9568, 0.9642, 0.9703, 0.9754, 0.9797, 0.9832, 0.9862, 0.9886, 0.9906, 0.9923, 0.9936, 0.9948, 0.9957, 0.9965, 0.9971, 0.9976, 0.9981, 0.9984, 0.9987, 0.9989, 0.9991, 0.9993, 0.9994, 0.9995, 0.9996, 0.9997, 0.9997, 0.9998, 0.9998); stroke-dasharray: 0 1; stroke-dashoffset: -1; visibility: hidden; } 23.353%, 100% { stroke-dasharray: 1 1; stroke-dashoffset: 0; visibility: visible; } }
.interlude .p4168 { animation-name: draw-4168; }
@keyframes draw-4168 { 0% { stroke-dasharray: 0 1; stroke-dashoffset: 0; visibility: hidden; } 19.19% { animation-timing-function: step-end; stroke-dasharray: 0 1; stroke-dashoffset: 0; visibility: hidden; } 27.77%, 100% { stroke-dasharray: 1 1; stroke-dashoffset: 0; visibility: visible; } }
.interlude .p4211 { animation-name: draw-4211; }
@keyframes draw-4211 { 0% { stroke-dasharray: 0 1; stroke-dashoffset: -0.5; visibility: hidden; } 1.536% { animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); stroke-dasharray: 0 1; stroke-dashoffset: -0.5; visibility: hidden; } 12.963%, 100% { stroke-dasharray: 1 1; stroke-dashoffset: 0; visibility: visible; } }
/* Sem movimento: mostra só o logo final (I&Z) */
@media (prefers-reduced-motion: reduce) { .interlude :is(.m4125, .m4133, .m4150, .m4158, .m4168, .m4179, .m4189, .m4197, .m4211) { display: none; } }
/* Mesma "folha" arredondada das outras seções */
@supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) {
  .works { padding-bottom: 64px; }
  .interlude, .apps { position: relative; z-index: 1; margin-top: -64px; animation: sheet linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; box-shadow: 0 -20px 50px rgb(18 18 16 / 0.18); }
  .interlude { padding-bottom: 128px; }
} }

/* Seção 5: Identidade Visual (frame 1445 de largura) */
.identity { min-height: 100svh; background: var(--white); line-height: normal; overflow: clip; }
.id-hero { position: relative; display: flex; align-items: center; min-height: max(216px, 14.95vw); overflow: clip; background: var(--near-black); color: #f2f2f1; }
/* o SVG exportado já vem recortado no tamanho do topo (1445×216) */
.id-pattern { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.id-title { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 40px 70px; }
.id-title p:first-child { font-size: 12px; font-weight: 600; }
.id-title h2 { font-size: clamp(30px, 4vw, 40px); }
.id-title p:last-child { font-size: 14px; }

.id-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px 20px; padding: 35px 60px 102px; list-style: none; }
.mark-card {
  position: relative;
  display: block;
  height: 100%;
  aspect-ratio: 428 / 228;
  overflow: hidden;
  border: 1.5px dashed #999994;
  border-radius: 16px;
  background: #f1eee4;
  color: inherit;
  text-decoration: none;
  transition: scale .45s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow .45s, opacity .35s, border-color .3s;
}
.mark-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .8s cubic-bezier(0.22, 1, 0.36, 1); }
.mark-cta, .mark-name { position: absolute; transition: color .3s, background-color .3s, translate .3s; }
.mark-cta { top: 8px; right: 8px; padding: 7px; border-radius: 99px; color: #b2b2ad; font-size: 13px; font-weight: 700; }
.mark-name { bottom: 14px; left: 14px; color: #262621; font-size: 10px; font-weight: 600; }

.id-grid:has(.mark-card:is(:hover, :focus-visible)) .mark-card:not(:hover, :focus-visible) { opacity: .5; }
.mark-card:is(:hover, :focus-visible) { z-index: 1; scale: 1.05; border: 1.5px solid var(--near-black); box-shadow: 0 24px 60px rgb(18 18 16 / 0.22); }
.mark-card:is(:hover, :focus-visible) img { scale: 1.08; }
.mark-card:is(:hover, :focus-visible) .mark-cta { padding-inline: 16px; background: var(--citrine); color: var(--near-black); }

@media (max-width: 900px) { .id-grid { grid-template-columns: 1fr 1fr; padding-inline: 24px; gap: 20px 16px; } .id-title { padding-inline: 24px; } }
@media (max-width: 600px) { .id-grid { grid-template-columns: 1fr; padding-bottom: 64px; } }

@media (prefers-reduced-motion: no-preference) {
  .id-title, .id-grid li { transition: opacity .7s, translate .8s cubic-bezier(0.22, 1, 0.36, 1); }
  .id-grid li { transition-delay: calc(var(--i) * 80ms); }
  .will-reveal:not(.in-view) .id-title { opacity: 0; translate: -40px 0; }
  .id-grid.will-reveal:not(.in-view) li { opacity: 0; translate: 0 50px; }
}
@supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) {
  .apps { padding-bottom: 153px; }
  .identity { position: relative; z-index: 1; margin-top: -64px; box-shadow: 0 -20px 50px rgb(18 18 16 / 0.18); animation: sheet linear both; animation-timeline: view(); animation-range: entry 0px entry 500px; }
} }

@media (prefers-reduced-motion: no-preference) { .interlude.will-reveal:not(.in-view) svg { visibility: hidden; } }

/* Seção 6: Ferramentas. --u = 1px do frame de 1445 */
.tools { --u: clamp(0.48px, calc(100vw / 1445), 1px); min-height: 100svh; background: #f1eee4; color: var(--near-black); line-height: normal; overflow: clip; }
.tools-hero { min-height: max(216px, 14.95vw); background: #f1eee4; color: var(--near-black); }
.tools-hero .id-title p:first-child { color: var(--cerise); }

.tools-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: calc(24 * var(--u)); max-width: 1445px; margin: 0 auto; padding: 24px 60px 96px; list-style: none; }
/* o <li> fica parado; só a face se move, para o hover não tremer */
.tool { position: relative; width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u)); }
.tool:hover { z-index: 1; }
.tool-face { display: block; height: 100%; transition: translate .45s cubic-bezier(0.34, 1.56, 0.64, 1), scale .45s cubic-bezier(0.34, 1.56, 0.64, 1), rotate .45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity .3s, filter .3s; }
.tool-icon { position: relative; display: block; height: 100%; }
.tool-icon.cropped { overflow: hidden; }
.tool-icon img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.tool-name { position: absolute; top: 100%; left: 50%; margin-top: 8px; padding: 6px 12px; border-radius: 99px; background: var(--near-black); color: #fff; font-size: 11px; font-weight: 600; white-space: nowrap; opacity: 0; translate: -50% -6px; transition: opacity .25s, translate .25s; }

.tools-grid:has(.tool:hover) .tool:not(:hover) .tool-face { scale: .94; opacity: .45; filter: saturate(.35); }
.tool:hover .tool-face { translate: 0 -14px; scale: 1.1; rotate: -4deg; filter: drop-shadow(0 18px 20px rgb(18 18 16 / 0.28)); }
.tool:hover .tool-name { opacity: 1; translate: -50% 0; }

@media (max-width: 600px) { .tools-grid { padding-inline: 24px; gap: 28px 16px; } }

@media (prefers-reduced-motion: no-preference) {
  .tool { transition: opacity .5s, translate .7s cubic-bezier(0.34, 1.56, 0.64, 1), scale .7s cubic-bezier(0.34, 1.56, 0.64, 1); transition-delay: calc(var(--i) * 70ms); }
  .tools-grid.will-reveal:not(.in-view) .tool { opacity: 0; translate: 0 40px; scale: .7; }
}
@supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) {
  .identity { padding-bottom: 64px; }
  .tools { position: relative; z-index: 1; margin-top: -64px; box-shadow: 0 -20px 50px rgb(18 18 16 / 0.18); animation: sheet linear both; animation-timeline: view(); animation-range: entry 0px entry 500px; }
} }

/* Intro final (nó 243:10539): loop de 17,539s do Figma; só toca com a seção na tela */
.outro { display: grid; place-content: center; min-height: max(354px, calc(100vw * 354 / 1445)); padding: 48px 24px; background: var(--citrine); overflow: clip; }
.outro svg { width: clamp(300px, 33.22vw, 640px); max-width: calc(100vw - 32px); height: auto; }
.outro :is(g[class], path[class]) { animation-duration: 17.539248s; animation-timing-function: linear; animation-iteration-count: infinite; animation-fill-mode: both; }
.outro.will-reveal:not(.in-view) :is(g[class], path[class]) { animation: none; }
.outro .g-za { animation-name: o-za, y-za; }
@keyframes o-za { 0% { animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1); opacity: 0; } 8.239% { opacity: 1; } 19.037% { animation-timing-function: ease; opacity: 1; } 19.345% { opacity: 0; } 100% { opacity: 0; } }
@keyframes y-za { 0% { translate: 0 15.906px; } 3.153% { animation-timing-function: ease; translate: 0 15.906px; } 19.345% { translate: 0 0; } 100% { translate: 0 0; } }
.outro .g-iz { animation-name: o-iz, y-iz; }
@keyframes o-iz { 0% { opacity: 0; } 17.104% { animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1); opacity: 0; } 23.074% { opacity: 1; } 30.685% { animation-timing-function: ease; opacity: 1; } 31.073% { opacity: 0; } 100% { opacity: 0; } }
@keyframes y-iz { 0% { translate: 0 15.906px; } 17.104% { animation-timing-function: ease; translate: 0 15.906px; } 31.073% { translate: 0 0; } 100% { translate: 0 0; } }
.outro .g-is { animation-name: o-is, y-is; }
@keyframes o-is { 0% { opacity: 0; } 31.073% { animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1); opacity: 0; } 31.891% { opacity: 1; } 36.438% { animation-timing-function: ease; opacity: 1; } 36.775% { opacity: 0; } 100% { opacity: 0; } }
@keyframes y-is { 0% { translate: 0 15.906px; } 32.478% { animation-timing-function: ease; translate: 0 15.906px; } 36.775% { translate: 0 0; } 100% { translate: 0 0; } }
.outro .g-so { animation-name: o-so, y-so; }
@keyframes o-so { 0% { opacity: 0; } 36.775% { animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1); opacity: 0; } 38.344% { opacity: 1; } 49.272% { animation-timing-function: ease; opacity: 1; } 49.888% { opacity: 0; } 100% { opacity: 0; } }
@keyframes y-so { 0% { translate: 0 15.906px; } 38.344% { animation-timing-function: ease; translate: 0 15.906px; } 49.888% { translate: 0 0; } 100% { translate: 0 0; } }
.outro .g-name { animation-name: o-name; }
@keyframes o-name { 0% { opacity: 0; } 49.888% { animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1); opacity: 0; } 52.961% { opacity: 1; } 100% { opacity: 1; } }
.outro :is(.dot, .p10614, .p10631) { transform-box: fill-box; transform-origin: center; }
.outro .dot { animation-name: dot-s, dot-r; }
@keyframes dot-s { 0% { scale: 0; } 17.104% { animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1); scale: 0; } 20.002% { scale: 1; } 100% { scale: 1; } }
@keyframes dot-r { 0% { rotate: 0rad; } 25.205% { animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1); rotate: 0rad; } 26.734% { animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1); rotate: -0.184887rad; } 28.16% { animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1); rotate: 0.586943rad; } 29.689% { animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1); rotate: -0.184887rad; } 31.073% { rotate: 0.586943rad; } 100% { rotate: 0.586943rad; } }
.outro .p10614 { animation-name: pop-10614; }
@keyframes pop-10614 { 0% { scale: 0; } 32.464% { animation-timing-function: linear(0, 0.03, 0.1077, 0.2165, 0.342, 0.4728, 0.6001, 0.7175, 0.8208, 0.9077, 0.9776, 1.0307, 1.0684, 1.0925, 1.1051, 1.1084, 1.1047, 1.096, 1.084, 1.0703, 1.0561, 1.0424, 1.0297, 1.0187, 1.0094, 1.0019, 0.9963, 0.9923, 0.9898, 0.9885, 0.9882, 0.9887, 0.9897, 0.991, 0.9925, 0.994, 0.9955, 0.9969, 0.9981, 0.9991, 0.9998, 1.0004, 1.0009, 1.0011, 1.0012, 1.0013, 1.0012, 1.0011, 1.001, 1.0008, 1.0006); scale: 0; } 33.859% { scale: 1; } 100% { scale: 1; } }
.outro .p10631 { animation-name: pop-10631; }
@keyframes pop-10631 { 0% { scale: 0; } 32.177% { animation-timing-function: linear(0, 0.03, 0.1077, 0.2165, 0.342, 0.4728, 0.6001, 0.7175, 0.8208, 0.9077, 0.9776, 1.0307, 1.0684, 1.0925, 1.1051, 1.1084, 1.1047, 1.096, 1.084, 1.0703, 1.0561, 1.0424, 1.0297, 1.0187, 1.0094, 1.0019, 0.9963, 0.9923, 0.9898, 0.9885, 0.9882, 0.9887, 0.9897, 0.991, 0.9925, 0.994, 0.9955, 0.9969, 0.9981, 0.9991, 0.9998, 1.0004, 1.0009, 1.0011, 1.0012, 1.0013, 1.0012, 1.0011, 1.001, 1.0008, 1.0006); scale: 0; } 33.969% { scale: 1; } 100% { scale: 1; } }
.outro .p10574 { animation-name: draw-10574; }
@keyframes draw-10574 { 0% { stroke-dasharray: 0 1; stroke-dashoffset: -0.5; visibility: hidden; } 20.061% { animation-timing-function: ease; stroke-dasharray: 0 1; stroke-dashoffset: -0.5; visibility: hidden; } 25.762% { stroke-dasharray: 1 1; stroke-dashoffset: 0; visibility: visible; } 100% { stroke-dasharray: 1 1; stroke-dashoffset: 0; visibility: visible; } }
.outro .p10588 { animation-name: draw-10588; }
@keyframes draw-10588 { 0% { stroke-dasharray: 0 1; stroke-dashoffset: 0; visibility: hidden; } 3.153% { animation-timing-function: cubic-bezier(0.45, 1.45, 0.8, 1); stroke-dasharray: 0 1; stroke-dashoffset: 0; visibility: hidden; } 8.346% { stroke-dasharray: 1 1; stroke-dashoffset: 0; visibility: visible; } 100% { stroke-dasharray: 1 1; stroke-dashoffset: 0; visibility: visible; } }
.outro .p10592 { animation-name: draw-10592; }
@keyframes draw-10592 { 0% { stroke-dasharray: 0 1; stroke-dashoffset: 0; visibility: hidden; } 8.346% { animation-timing-function: ease-out; stroke-dasharray: 0 1; stroke-dashoffset: 0; visibility: hidden; } 17.104% { stroke-dasharray: 1 1; stroke-dashoffset: 0; visibility: visible; } 100% { stroke-dasharray: 1 1; stroke-dashoffset: 0; visibility: visible; } }
.outro .p10618 { animation-name: draw-10618; }
@keyframes draw-10618 { 0% { stroke-dasharray: 0 1; stroke-dashoffset: -1; visibility: hidden; } 31.073% { animation-timing-function: linear(0, 0.0216, 0.0747, 0.1458, 0.2255, 0.3076, 0.3879, 0.4638, 0.5339, 0.5974, 0.6542, 0.7044, 0.7484, 0.7866, 0.8196, 0.8479, 0.8722, 0.8928, 0.9103, 0.9251, 0.9375, 0.948, 0.9568, 0.9642, 0.9703, 0.9754, 0.9797, 0.9832, 0.9862, 0.9886, 0.9906, 0.9923, 0.9936, 0.9948, 0.9957, 0.9965, 0.9971, 0.9976, 0.9981, 0.9984, 0.9987, 0.9989, 0.9991, 0.9993, 0.9994, 0.9995, 0.9996, 0.9997, 0.9997, 0.9998, 0.9998); stroke-dasharray: 0 1; stroke-dashoffset: -1; visibility: hidden; } 34.531% { stroke-dasharray: 1 1; stroke-dashoffset: 0; visibility: visible; } 100% { stroke-dasharray: 1 1; stroke-dashoffset: 0; visibility: visible; } }
.outro .p10624 { animation-name: draw-10624; }
@keyframes draw-10624 { 0% { stroke-dasharray: 0 1; stroke-dashoffset: 0; visibility: hidden; } 31.711% { animation-timing-function: step-end; stroke-dasharray: 0 1; stroke-dashoffset: 0; visibility: hidden; } 35.108% { stroke-dasharray: 1 1; stroke-dashoffset: 0; visibility: visible; } 100% { stroke-dasharray: 1 1; stroke-dashoffset: 0; visibility: visible; } }
.outro .p10651 { animation-name: draw-10651; }
@keyframes draw-10651 { 0% { stroke-dasharray: 0 1; stroke-dashoffset: -0.5; visibility: hidden; } 36.775% { animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); stroke-dasharray: 0 1; stroke-dashoffset: -0.5; visibility: hidden; } 48.178% { stroke-dasharray: 1 1; stroke-dashoffset: 0; visibility: visible; } 100% { stroke-dasharray: 1 1; stroke-dashoffset: 0; visibility: visible; } }
/* Antes de tocar, nada; sem movimento, só o nome */
@media (prefers-reduced-motion: no-preference) { .outro.will-reveal:not(.in-view) svg { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .outro :is(.g-iz, .g-za, .g-is, .g-so) { display: none; } }
@supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) {
  .tools { padding-bottom: 64px; }
  .outro { position: relative; z-index: 1; margin-top: -64px; box-shadow: 0 -20px 50px rgb(18 18 16 / 0.18); animation: sheet linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
} }

/* Seção 7: Contato e rodapé (frame 1445) */
.contact { display: flex; flex-direction: column; gap: 40px; padding: 55px 48px; overflow: clip; background: var(--white); color: var(--bg); line-height: normal; }
.cta { position: relative; display: grid; place-items: center; min-height: 400px; padding: 32px 60px; overflow: hidden; border-radius: 28px; background: var(--bg); }
.cta-pattern { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s cubic-bezier(0.22, 1, 0.36, 1); }
.cta:has(.cta-button:is(:hover, :focus-visible)) .cta-pattern { scale: 1.06; }
.cta-box { position: relative; display: flex; flex-direction: column; align-items: center; width: min(715px, 100%); padding: 30px; border-radius: 70px; background: var(--near-black); color: #fff; text-align: center; }
.cta-eyebrow { font-size: 12px; font-weight: 600; }
.cta-box h2 { margin-top: 20px; color: var(--white); font-size: clamp(28px, 3.05vw, 44px); font-weight: 600; }
.cta-lead { margin-top: 20px; font-size: 15px; }
.cta-button { margin-top: 28px; padding: 15px 48px; border: 1px solid var(--white); border-radius: 999px; color: var(--white); font-size: 13px; font-weight: 600; text-decoration: none; transition: background-color .3s, border-color .3s, color .3s, scale .4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.cta-button:is(:hover, :focus-visible) { scale: 1.07; border-color: #f04d9e; background: #f04d9e; color: var(--near-black); }

.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 29px; font-size: 12px; position: relative; }
.legal::before { content: ""; position: absolute; top: 0; left: 0; width: 97.26%; height: 1px; background: #dedacc; }
.legal p { color: rgb(18 18 16 / 0.6); }
.legal ul { display: flex; gap: 11px; list-style: none; font-weight: 600; }

@media (max-width: 600px) {
  .contact { padding: 40px 16px; }
  .cta { padding: 56px 16px; }
  .cta-box { border-radius: 40px; padding: 28px 20px; }
  .legal::before { width: 100%; }
}

@media (prefers-reduced-motion: no-preference) {
  .cta-box, .legal { transition: opacity .8s, translate .9s cubic-bezier(0.22, 1, 0.36, 1), scale .9s cubic-bezier(0.34, 1.4, 0.64, 1); }
  .legal { transition-delay: .3s; }
  .contact.will-reveal:not(.in-view) .cta-box { opacity: 0; translate: 0 60px; scale: .9; }
  .contact.will-reveal:not(.in-view) .legal { opacity: 0; translate: 0 20px; }
}
@supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) {
  .outro { padding-bottom: 112px; }
  .contact { position: relative; z-index: 1; margin-top: -64px; box-shadow: 0 -20px 50px rgb(18 18 16 / 0.18); animation: sheet linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
} }

/* Intros ocupam uma tela inteira */
.interlude, .outro { min-height: 100svh; }
.interlude svg { width: clamp(240px, 48svh, 560px); max-width: calc(100vw - 48px); }
.outro svg { width: clamp(300px, 88svh, 820px); }
@supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) {
  /* +64px ficam escondidos sob a próxima folha; o desenho centraliza na área visível */
  .interlude, .outro { min-height: calc(100svh + 64px); padding: 64px 24px 128px; }
} }

/* Voltar ao topo */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 5; width: 52px; height: 52px; border: 1.5px solid #fff; border-radius: 50%; background: var(--near-black); color: #fff; font: 600 20px Montserrat, sans-serif; cursor: pointer; box-shadow: 0 10px 30px rgb(18 18 16 / 0.3); opacity: 0; visibility: hidden; translate: 0 20px; transition: opacity .3s, visibility .3s, translate .4s cubic-bezier(0.34, 1.56, 0.64, 1), background-color .3s; }
.to-top.show { opacity: 1; visibility: visible; translate: 0 0; }
.to-top:is(:hover, :focus-visible) { background: var(--cerise); }
.to-top span { display: block; transition: translate .3s; }
.to-top:is(:hover, :focus-visible) span { translate: 0 -4px; }
.contact { padding-bottom: 96px; } /* o botão não cobre os links do rodapé */

/* Duração do fade da volta ao topo */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .8s; animation-timing-function: ease-in-out; }

/* Seção 3 com imagens */
.card-face img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.cards li:nth-child(5) .card-face { border-width: 3px; overflow: hidden; }
.card-face .card-cta { z-index: 1; }

/* Seção 4 com imagens: sem bege/borda; o hover amplia a imagem */
.thumb { border: 0; background: transparent; }
.thumb img { position: absolute; max-width: none; object-fit: cover; transition: scale .8s cubic-bezier(0.22, 1, 0.36, 1); }
.product:has(a:is(:hover, :focus-visible)) .thumb { border: 0; }
.product:has(a:is(:hover, :focus-visible)) .thumb img { scale: 1.06; }

/* Seção 5 com imagens: sem borda nem fundo; legenda escura nas capas claras */
.mark-card { border: 0; background: transparent; }
.mark-card:is(:hover, :focus-visible) { border: 0; }
.mark-card.shade::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / 0.2); }
.mark-cta { z-index: 1; color: #fff; }
.mark-name { z-index: 1; color: #fff; }
.mark-card.dark .mark-name { color: #262621; }
.pallas { position: absolute; left: 2.1%; top: 13.82%; width: 94.38%; aspect-ratio: 404.273 / 144.076; overflow: hidden; }
.pallas img { position: absolute; inset: auto; max-width: none; object-fit: fill; }
.mark-card:is(:hover, :focus-visible) .pallas { scale: 1.04; }
.pallas { transition: scale .8s cubic-bezier(0.22, 1, 0.36, 1); }

/* Transição entre páginas (transition.js): a splash com duração ajustável */
.splash.pt { z-index: 2147483000; animation: none; }
.splash.pt path { animation-duration: var(--pt-d, 2.4s); animation-delay: var(--pt-delay, 0s); }
.splash.pt.leave { animation: splash-in .3s both; }
.splash.pt.arrive { animation: splash-out .25s calc(var(--pt-d, 2.4s) * .21 + .1s) forwards; }
@keyframes splash-in { from { opacity: 0; } }

/* Transição para Animação & Ilustração: celular de flip abrindo (frame a frame, 1,1 s) */
.splash.pt-phone { z-index: 2147483000; background: #000; animation: none; }
.splash.pt-phone video, .splash.pt-phone img { display: block; width: 100%; height: 100%; object-fit: cover; }
.splash.pt-phone.leave { animation: splash-in .25s both; }
.splash.pt-phone.arrive { animation: splash-out .45s .2s forwards; }

/* Links de contato nos textos do menu, da seção 2 e do rodapé */
.nav-footer p a, .about-footer p a, .legal li a { color: inherit; text-decoration: none; }
.nav-footer p a:is(:hover, :focus-visible), .about-footer p a:is(:hover, :focus-visible), .legal li a:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 3px; }
