/* Tatá Lab · estilos do site
   Cores, fontes e animações seguem a identidade visual da marca. */

:root {
  --y: #FFC72C;
  --o: #FF5A1F;
  --c: #F4F1EA;
  --k: #0E0E10;
  --panel: #17171A;
  --line: #2E2E33;
  --soft: #D9D4CA;
  --muted: #BDB8AE;
  --dim: #A9A49A;
  --display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --pixel: 'Silkscreen', 'Space Mono', ui-monospace, monospace;
  --pad: clamp(20px, 6vw, 96px);
  --max: 1248px
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(88px + env(safe-area-inset-top, 0px))
}

body {
  margin: 0;
  background: var(--k);
  color: var(--c);
  font-family: var(--mono);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden
}

img,
svg {
  max-width: 100%
}

a {
  color: var(--y)
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--y);
  outline-offset: 4px;
  border-radius: 6px
}

.page {
  position: relative;
  padding-bottom: env(safe-area-inset-bottom, 0px)
}

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

.sky .star {
  position: absolute;
  display: block;
  animation: tw 2.4s steps(2) infinite
}

@keyframes tw {
  0% {
    opacity: 1
  }

  50% {
    opacity: .15
  }
}

.shoot {
  position: absolute;
  width: 70px;
  opacity: 0;
  animation: shoot 10s linear infinite
}

.shoot svg {
  display: block;
  width: 70px;
  height: auto;
  transform: rotate(18deg)
}

@keyframes shoot {
  0% {
    opacity: 0;
    transform: translate(0, 0)
  }

  2% {
    opacity: 1
  }

  14% {
    opacity: 1
  }

  18%,
  100% {
    opacity: 0;
    transform: translate(1500px, 490px)
  }
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: calc(var(--max) + 2*var(--pad));
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad)
}

section,
header,
footer {
  position: relative;
  z-index: 1
}

.comet {
  display: block;
  shape-rendering: crispEdges;
  height: auto
}

.fl1 {
  animation: flick .5s ease-in-out infinite alternate
}

.fl2 {
  animation: flick .7s ease-in-out .2s infinite alternate
}

.fl3 {
  animation: flick .6s ease-in-out .35s infinite alternate
}

@keyframes flick {
  from {
    opacity: 1
  }

  to {
    opacity: .45
  }
}

/* wordmark */
.word {
  display: inline-flex;
  align-items: flex-end;
  font-family: var(--display);
  line-height: 1;
  font-size: 34px;
  color: var(--c)
}

.w-main {
  font-weight: 800;
  letter-spacing: -.03em
}

.w-a {
  position: relative;
  display: inline-block
}

.acc {
  position: absolute;
  left: 44%;
  top: -.06em;
  width: .32em;
  height: .32em
}

.acc i {
  position: absolute;
  width: .16em;
  height: .16em;
  background: var(--y)
}

.acc i:first-child {
  left: 0;
  top: .16em
}

.acc i:last-child {
  left: .16em;
  top: 0
}

.w-lab {
  font-weight: 600;
  font-size: .62em;
  color: var(--dim);
  margin-left: .12em
}

/* header */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(14, 14, 16, .86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #232327;
  padding-top: env(safe-area-inset-top, 0px)
}

.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none
}

.brand .comet {
  width: 72px
}

.brand .word {
  font-size: 30px
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px
}

.nav a {
  color: var(--soft);
  text-decoration: none;
  font-size: 16px
}

.nav a:hover {
  color: var(--c)
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--mono);
  font-weight: 700;
  border-radius: 12px;
  padding: 16px 26px;
  font-size: 18px;
  transition: transform .2s ease, background-color .2s ease
}

.btn:hover {
  transform: translateY(-3px)
}

.btn-y {
  background: var(--y);
  color: var(--k)
}

.btn-y:hover {
  background: #FFD45C;
  color: var(--k)
}

.btn-ghost {
  border: 2px solid #3A3A3A;
  color: var(--c);
  padding: 14px 24px
}

.btn-ghost:hover {
  border-color: var(--c)
}

.nav .btn-y {
  color: var(--k)
}

.nav .btn {
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 10px
}

/* hero */
.hero .wrap {
  min-height: min(780px, calc(100svh - 90px));
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 72px
}

.kicker {
  display: flex;
  gap: 12px;
  color: var(--y);
  font-size: 19px;
  margin: 0 0 28px
}

.kicker span+span {
  color: var(--soft)
}

h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(52px, 8.4vw, 104px);
  line-height: .98;
  letter-spacing: -.04em;
  margin: 0
}

.cursor {
  display: inline-block;
  width: .33em;
  height: .8em;
  background: var(--y);
  margin-left: .18em;
  vertical-align: -.06em;
  animation: blink 1s steps(1) infinite
}

@keyframes blink {
  0% {
    opacity: 1
  }

  50% {
    opacity: 0
  }
}

.lead {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--soft);
  max-width: 36ch;
  margin: 28px 0 36px
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px
}

.rise {
  animation: rise .9s cubic-bezier(.33, 1, .68, 1) both
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(30px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.hero-art {
  position: relative;
  width: 520px;
  height: 300px;
  justify-self: end
}

.hero-in {
  position: absolute;
  inset: 0;
  animation: heroin 1.6s cubic-bezier(.33, 1, .68, 1) both
}

@keyframes heroin {
  from {
    transform: translateX(-1100px)
  }

  to {
    transform: none
  }
}

.float {
  position: absolute;
  inset: 0;
  animation: float 4s ease-in-out 1.6s infinite
}

@keyframes float {

  0%,
  100% {
    transform: none
  }

  50% {
    transform: translateY(-12px)
  }
}

.hero-art .comet {
  position: absolute;
  right: 0;
  top: 70px;
  width: 420px
}

.emit {
  position: absolute;
  left: 112px;
  display: block
}

.e0 {
  top: 205px;
  width: 14px;
  height: 14px;
  background: #F4F1EA;
  animation: e0 1.8s linear 1.7s infinite both
}

@keyframes e0 {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(1)
  }

  8% {
    opacity: 1
  }

  100% {
    opacity: 0;
    transform: translate(-235px, -21px) scale(.15)
  }
}

.e1 {
  top: 175px;
  width: 14px;
  height: 14px;
  background: #FF5A1F;
  animation: e1 1.8s linear 1.81s infinite both
}

@keyframes e1 {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(1)
  }

  8% {
    opacity: 1
  }

  100% {
    opacity: 0;
    transform: translate(-144px, 29px) scale(.15)
  }
}

.e2 {
  top: 106px;
  width: 10px;
  height: 10px;
  background: #FFC72C;
  animation: e2 1.8s linear 1.92s infinite both
}

@keyframes e2 {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(1)
  }

  8% {
    opacity: 1
  }

  100% {
    opacity: 0;
    transform: translate(-221px, 49px) scale(.15)
  }
}

.e3 {
  top: 174px;
  width: 10px;
  height: 10px;
  background: #FFC72C;
  animation: e3 1.8s linear 2.03s infinite both
}

@keyframes e3 {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(1)
  }

  8% {
    opacity: 1
  }

  100% {
    opacity: 0;
    transform: translate(-255px, -13px) scale(.15)
  }
}

.e4 {
  top: 119px;
  width: 8px;
  height: 8px;
  background: #FF5A1F;
  animation: e4 1.8s linear 2.14s infinite both
}

@keyframes e4 {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(1)
  }

  8% {
    opacity: 1
  }

  100% {
    opacity: 0;
    transform: translate(-127px, 30px) scale(.15)
  }
}

.e5 {
  top: 170px;
  width: 14px;
  height: 14px;
  background: #FF5A1F;
  animation: e5 1.8s linear 2.25s infinite both
}

@keyframes e5 {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(1)
  }

  8% {
    opacity: 1
  }

  100% {
    opacity: 0;
    transform: translate(-252px, -50px) scale(.15)
  }
}

.e6 {
  top: 158px;
  width: 12px;
  height: 12px;
  background: #FFC72C;
  animation: e6 1.8s linear 2.36s infinite both
}

@keyframes e6 {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(1)
  }

  8% {
    opacity: 1
  }

  100% {
    opacity: 0;
    transform: translate(-141px, 27px) scale(.15)
  }
}

.e7 {
  top: 165px;
  width: 14px;
  height: 14px;
  background: #FFC72C;
  animation: e7 1.8s linear 2.47s infinite both
}

@keyframes e7 {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(1)
  }

  8% {
    opacity: 1
  }

  100% {
    opacity: 0;
    transform: translate(-185px, 24px) scale(.15)
  }
}

.e8 {
  top: 98px;
  width: 12px;
  height: 12px;
  background: #FFC72C;
  animation: e8 1.8s linear 2.58s infinite both
}

@keyframes e8 {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(1)
  }

  8% {
    opacity: 1
  }

  100% {
    opacity: 0;
    transform: translate(-147px, 16px) scale(.15)
  }
}

.e9 {
  top: 144px;
  width: 12px;
  height: 12px;
  background: #FFC72C;
  animation: e9 1.8s linear 2.69s infinite both
}

@keyframes e9 {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(1)
  }

  8% {
    opacity: 1
  }

  100% {
    opacity: 0;
    transform: translate(-124px, -23px) scale(.15)
  }
}

.e10 {
  top: 213px;
  width: 10px;
  height: 10px;
  background: #FFC72C;
  animation: e10 1.8s linear 2.8s infinite both
}

@keyframes e10 {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(1)
  }

  8% {
    opacity: 1
  }

  100% {
    opacity: 0;
    transform: translate(-240px, 35px) scale(.15)
  }
}

.e11 {
  top: 104px;
  width: 14px;
  height: 14px;
  background: #FF5A1F;
  animation: e11 1.8s linear 2.91s infinite both
}

@keyframes e11 {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(1)
  }

  8% {
    opacity: 1
  }

  100% {
    opacity: 0;
    transform: translate(-189px, 15px) scale(.15)
  }
}

.e12 {
  top: 137px;
  width: 12px;
  height: 12px;
  background: #FFC72C;
  animation: e12 1.8s linear 3.02s infinite both
}

@keyframes e12 {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(1)
  }

  8% {
    opacity: 1
  }

  100% {
    opacity: 0;
    transform: translate(-224px, -18px) scale(.15)
  }
}

.e13 {
  top: 185px;
  width: 10px;
  height: 10px;
  background: #FFC72C;
  animation: e13 1.8s linear 3.13s infinite both
}

@keyframes e13 {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(1)
  }

  8% {
    opacity: 1
  }

  100% {
    opacity: 0;
    transform: translate(-122px, -39px) scale(.15)
  }
}

.e14 {
  top: 117px;
  width: 14px;
  height: 14px;
  background: #FF5A1F;
  animation: e14 1.8s linear 3.24s infinite both
}

@keyframes e14 {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(1)
  }

  8% {
    opacity: 1
  }

  100% {
    opacity: 0;
    transform: translate(-234px, -18px) scale(.15)
  }
}

.e15 {
  top: 177px;
  width: 14px;
  height: 14px;
  background: #F4F1EA;
  animation: e15 1.8s linear 3.35s infinite both
}

@keyframes e15 {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(1)
  }

  8% {
    opacity: 1
  }

  100% {
    opacity: 0;
    transform: translate(-149px, 36px) scale(.15)
  }
}

/* sections */
.section {
  padding: clamp(80px, 10vw, 120px) 0
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px 48px;
  flex-wrap: wrap;
  margin-bottom: 56px
}

.eyebrow {
  display: block;
  font-family: var(--pixel);
  font-size: 15px;
  letter-spacing: .12em;
  color: var(--y);
  margin-bottom: 16px
}

h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -.035em;
  margin: 0
}

.section-head p {
  margin: 0;
  font-size: 19px;
  color: var(--muted);
  max-width: 32ch
}

.services {
  border-top: 1px solid #232327
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform .25s ease, border-color .25s ease
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--y)
}

.service {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px
}

.service h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0
}

.service p {
  margin: 0;
  color: var(--muted);
  flex-grow: 1
}

.tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.tags li {
  font-size: 13px;
  padding: 6px 10px;
  border: 1px solid #3A3A3A;
  border-radius: 6px;
  color: var(--soft)
}

/* process */
.process {
  background: var(--y);
  color: var(--k)
}

.process .eyebrow {
  color: var(--k)
}

.route-wrap {
  position: relative
}

.route {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px
}

.route-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  border-top: 3px dashed var(--k)
}

.route-comet {
  position: absolute;
  top: -14px;
  left: 0;
  width: 76px;
  animation: route 7s ease-in-out infinite
}

@keyframes route {
  0% {
    left: 0;
    opacity: 0
  }

  6% {
    opacity: 1
  }

  90% {
    opacity: 1
  }

  100% {
    left: calc(100% - 76px);
    opacity: 0
  }
}

.step {
  padding-top: 28px
}

.step-n {
  font-family: var(--pixel);
  font-size: 15px;
  letter-spacing: .12em
}

.step h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -.02em;
  margin: 12px 0
}

.step p {
  margin: 0;
  font-size: 16px
}

/* products */
.product {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 18px
}

.product-top {
  position: relative;
  height: 220px;
  background: var(--c);
  padding: 24px 28px;
  display: flex;
  flex-direction: column
}

.product-kind {
  position: relative;
  font-family: var(--pixel);
  font-size: 13px;
  letter-spacing: .12em;
  color: #5C5850
}

.product-top img {
  position: relative;
  margin: auto;
  height: auto;
  display: block
}

.logo-h {
  width: min(78%, 300px)
}

.logo-h2 {
  width: min(84%, 320px)
}

.logo-v {
  width: min(48%, 170px)
}

.product-top .tw {
  position: absolute;
  display: block;
  background: #A9A49A;
  animation: tw 2.4s steps(2) infinite
}

.s1 {
  right: 70%;
  top: 30%;
  width: 4px;
  height: 4px
}

.s2 {
  right: 82%;
  top: 62%;
  width: 3px;
  height: 3px;
  animation-delay: .8s !important
}

.s3 {
  right: 12%;
  top: 20%;
  width: 4px;
  height: 4px;
  animation-delay: 1.6s !important
}

.product-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-grow: 1
}

.product-body p {
  margin: 0;
  color: var(--soft);
  flex-grow: 1
}

.product-link {
  font-weight: 700;
  text-decoration: none
}

.product-link:hover {
  text-decoration: underline
}

/* cta */
.cta-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(36px, 6vw, 80px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  overflow: hidden
}

.cta-box h2 {
  font-size: clamp(34px, 4.6vw, 56px)
}

.cta-box p {
  font-size: 20px;
  color: var(--muted);
  margin: 20px 0 28px;
  max-width: 40ch
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px
}

.contacts {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  line-height: 1.7
}

.contacts a {
  color: var(--soft);
  text-decoration: none
}

.contacts a:hover {
  color: var(--y)
}

.orbit-box {
  position: relative;
  width: 300px;
  height: 300px;
  flex-shrink: 0
}

.planet {
  position: absolute;
  left: 80px;
  top: 80px;
  width: 140px;
  height: 140px;
  shape-rendering: crispEdges
}

.ring {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 280px;
  height: 280px;
  border: 2px dashed #3A3A3A;
  border-radius: 50%
}

.moon {
  position: absolute;
  inset: 0;
  animation: orbit 9s linear infinite
}

.moon::after {
  content: "";
  position: absolute;
  left: 140px;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--y)
}

@keyframes orbit {
  to {
    transform: rotate(360deg)
  }
}

/* footer */
.foot {
  padding: 96px 0 48px
}

.foot-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid #232327
}

.foot-top p {
  margin: 0;
  font-size: 15px;
  color: var(--dim);
  max-width: 46ch
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding-top: 28px;
  font-family: var(--pixel);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--dim)
}

.foot-bottom a {
  color: var(--dim);
  text-decoration: none
}

.foot-bottom a:hover {
  color: var(--y)
}

/* responsive */
@media (max-width:1080px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 24px
  }

  .hero-art {
    justify-self: start;
    order: -1;
    zoom: .7
  }

  .route {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .route-wrap::before,
  .route-comet {
    display: none
  }

  .step {
    border-top: 3px dashed var(--k)
  }
}

@media (max-width:820px) {
  .nav a:not(.btn) {
    display: none
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start
  }

  .orbit-box {
    zoom: .7;
    align-self: center
  }
}

@media (max-width:560px) {
  body {
    font-size: 16px
  }

  .brand .comet {
    width: 52px
  }

  .brand .word {
    font-size: 24px
  }

  .nav .btn {
    padding: 10px 14px;
    font-size: 14px
  }

  .hero-art {
    zoom: .5
  }

  .route {
    grid-template-columns: 1fr
  }

  .service {
    padding: 28px
  }

  .kicker {
    font-size: 16px
  }
}

@media (prefers-reduced-motion:reduce) {

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

  html {
    scroll-behavior: auto
  }

  .shoot,
  .emit {
    display: none
  }
}
