@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("assets/fonts/inter-tight-latin.woff2") format("woff2");
}

:root {
  --paper: #eeeeec;
  --paper-strong: #f8f8f6;
  --ink: #050505;
  --muted: #626262;
  --line: rgba(5, 5, 5, 0.13);
  --acid: #d5f74c;
  --acid-bright: #dcff52;
  --white: #ffffff;
  --header-height: 100px;
  --gutter: clamp(20px, 3.2vw, 52px);
  --content: 1180px;
  --radius-lg: 30px;
  --radius-md: 20px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.services :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--acid);
}

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

section[id] {
  scroll-margin-top: var(--header-height);
}

main > section:not(.hero) {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shell {
  width: min(calc(100% - (var(--gutter) * 2)), var(--content));
  margin-inline: auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-label::before {
  content: "✦";
  font-size: 12px;
}

.display-title {
  margin: 0;
  font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(68px, 8.75vw, 126px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.statement-title {
  max-width: 1040px;
  margin: 0;
  font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.text-muted {
  color: var(--muted);
}

.pill,
.cta-button,
.header-cta,
.form-submit,
.project-link,
.read-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--acid);
  color: var(--ink);
  cursor: pointer;
  font-weight: 600;
  transition: transform 300ms var(--ease-spring), background-color 250ms ease, color 250ms ease;
}

.pill::before,
.cta-button::before,
.header-cta::before,
.form-submit::before,
.project-link::before,
.read-more::before {
  position: absolute;
  inset: 100% 0 auto;
  height: 100%;
  border-radius: inherit;
  background: var(--ink);
  content: "";
  transition: transform 400ms var(--ease-out);
}

.pill > span,
.cta-button > span,
.header-cta > span,
.form-submit > span,
.project-link > span,
.read-more > span {
  position: relative;
  z-index: 1;
}

.pill:hover,
.cta-button:hover,
.header-cta:hover,
.form-submit:hover,
.project-link:hover,
.read-more:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.pill:hover::before,
.cta-button:hover::before,
.header-cta:hover::before,
.form-submit:hover::before,
.project-link:hover::before,
.read-more:hover::before {
  transform: translateY(-100%);
}

/* Loading introduction */

#loader,
.loader {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--paper);
  animation: loader-dismiss 420ms .55s var(--ease-out) forwards;
  transition: visibility 420ms linear, opacity 420ms var(--ease-out);
}

#loader::before,
.loader::before {
  width: 126px;
  height: 126px;
  background: var(--ink);
  content: "";
  clip-path: polygon(42% 0, 58% 0, 61% 34%, 85% 10%, 96% 22%, 71% 44%, 100% 47%, 99% 64%, 67% 62%, 88% 89%, 75% 100%, 56% 72%, 53% 100%, 36% 99%, 39% 67%, 11% 87%, 0 73%, 29% 55%, 0 51%, 3% 35%, 35% 40%);
  animation: loader-spin 1.15s cubic-bezier(.7, 0, .3, 1) infinite;
}

body.is-ready #loader,
body.is-ready .loader {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

@keyframes loader-spin {
  0% { transform: rotate(0deg) scale(.82); }
  50% { transform: rotate(145deg) scale(1.02); }
  100% { transform: rotate(360deg) scale(.82); }
}

@keyframes loader-dismiss {
  to {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
}

/* Header */

.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(238, 238, 236, 0.64);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  transition: height 400ms var(--ease-out), background-color 300ms ease, box-shadow 300ms ease;
}

.site-header.is-scrolled {
  height: 78px;
  background: rgba(238, 238, 236, 0.87);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  width: min(calc(100% - (var(--gutter) * 1.4)), 1240px);
  height: 100%;
  margin-inline: auto;
}

.brand,
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: fit-content;
  font-family: "Inter Tight", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-mark,
.logo-mark {
  position: relative;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  background: var(--ink);
  clip-path: polygon(42% 0, 58% 0, 61% 34%, 85% 10%, 96% 22%, 71% 44%, 100% 47%, 99% 64%, 67% 62%, 88% 89%, 75% 100%, 56% 72%, 53% 100%, 36% 99%, 39% 67%, 11% 87%, 0 73%, 29% 55%, 0 51%, 3% 35%, 35% 40%);
  transition: transform 650ms var(--ease-spring);
}

.brand:hover .brand-mark,
.site-logo:hover .logo-mark {
  transform: rotate(120deg);
}

.site-nav,
.desktop-nav {
  justify-self: center;
}

.site-nav ul,
.desktop-nav ul,
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 38px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav a,
.desktop-nav a,
.nav-link {
  position: relative;
  display: inline-flex;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.site-nav a::after,
.desktop-nav a::after,
.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1.5px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 350ms var(--ease-out);
}

.site-nav a:hover::after,
.site-nav a.is-active::after,
.desktop-nav a:hover::after,
.desktop-nav a.is-active::after,
.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

#lang-toggle,
.language-toggle,
.lang-toggle {
  display: inline-flex;
  width: 62px;
  height: 48px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px solid rgba(5, 5, 5, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.44);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: background-color 250ms ease, transform 250ms var(--ease-spring);
}

.lang-current,
.lang-alternate {
  font-size: 10px;
}

.lang-divider {
  color: #888;
  font-size: 9px;
}

#lang-toggle:hover,
.language-toggle:hover,
.lang-toggle:hover {
  background: var(--ink);
  color: var(--white);
  transform: rotate(-8deg) scale(1.05);
}

.header-cta {
  min-height: 48px;
  padding-inline: 30px;
  font-size: 14px;
}

.header-portfolio {
  white-space: nowrap;
}

#menu-toggle,
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 13px 11px;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

#menu-toggle span,
.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition: transform 350ms var(--ease-out), opacity 200ms ease;
}

body.menu-open #menu-toggle span:first-child,
body.menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

body.menu-open #menu-toggle span:last-child,
body.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Hero */

#scene,
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 650px;
  overflow: hidden;
  background: linear-gradient(155deg, #dbdbd8, #f5f5f3 58%, #bcbcb8);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.webgl-fallback::before {
  position: absolute;
  inset: 25% 14% 10% 25%;
  display: grid;
  place-items: center end;
  color: var(--ink);
  content: "atlas\A systems";
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(80px, 15vw, 220px);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: .76;
  text-align: right;
  white-space: pre;
}

.webgl-fallback::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(180px, 24vw, 340px);
  aspect-ratio: 1;
  background: conic-gradient(from 35deg, var(--acid), #534dff, #fd7ad8, #a8f6ff, var(--acid));
  border-radius: 30% 70% 55% 45%;
  box-shadow: inset 0 0 60px rgba(255, 255, 255, .8), 0 30px 90px rgba(0, 0, 0, .25);
  content: "";
  filter: saturate(1.25);
  transform: translate(-50%, -50%) rotate(25deg);
  animation: fallback-float 7s ease-in-out infinite;
}

@keyframes fallback-float {
  0%, 100% { border-radius: 30% 70% 55% 45%; transform: translate(-50%, -50%) rotate(25deg) scale(.92); }
  50% { border-radius: 67% 33% 36% 64%; transform: translate(-50%, -54%) rotate(205deg) scale(1.08); }
}

.hero-content {
  position: absolute;
  z-index: 2;
  inset: var(--header-height) 0 0;
  pointer-events: none;
}

.hero-kicker {
  position: absolute;
  top: 24%;
  left: var(--gutter);
  display: flex;
  max-width: 210px;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(15px);
  animation: hero-copy-in 900ms 1.55s var(--ease-out) forwards;
}

.hero-kicker::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 6px rgba(213, 247, 76, .25);
  content: "";
}

.scroll-hint {
  position: absolute;
  z-index: 2;
  bottom: 15%;
  left: 18.6%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--acid);
  font-size: clamp(10px, 1vw, 14px);
  pointer-events: none;
}

.scroll-hint::after {
  width: 46px;
  height: 1px;
  background: currentColor;
  content: "";
  animation: scroll-line 1.8s ease-in-out infinite;
  transform-origin: left;
}

@keyframes scroll-line {
  0%, 100% { opacity: .35; transform: scaleX(.35); }
  50% { opacity: 1; transform: scaleX(1); }
}

@keyframes hero-copy-in {
  to { opacity: 1; transform: translateY(0); }
}

.side-ribbon {
  position: fixed;
  z-index: 900;
  top: 40%;
  left: 0;
  display: flex;
  width: 52px;
  height: 170px;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 18px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-50%);
}

.side-ribbon strong {
  font-family: "Inter Tight", sans-serif;
  font-size: 19px;
}

.side-ribbon span {
  font-size: 11px;
  font-weight: 600;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* Marquee */

.clients-section,
.clients {
  padding: 118px 0 94px;
}

.clients-heading,
.clients .section-label {
  margin: 0 0 42px var(--gutter);
}

.client-marquee-track,
.logo-marquee-track {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.client-marquee,
.logo-marquee {
  display: flex;
  width: max-content;
  gap: 10px;
  padding-right: 10px;
  animation: marquee 28s linear infinite;
}

.client-marquee:hover,
.logo-marquee:hover {
  animation-play-state: paused;
}

.client-logo,
.logo-marquee-item {
  display: grid;
  width: 210px;
  height: 150px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--white);
  font-family: "Inter Tight", sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-align: center;
  transition: background-color 300ms ease, color 300ms ease, transform 350ms var(--ease-spring);
}

.client-logo:hover,
.logo-marquee-item:hover {
  background: var(--acid);
  color: var(--ink);
  transform: translateY(-7px) rotate(-1.5deg);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Portfolio */

.projects-section,
.portfolio-section,
#projetos {
  padding: 100px 0 140px;
}

.section-intro,
.projects-intro,
.portfolio-intro {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 360px);
  gap: 50px;
  align-items: end;
  margin-bottom: 82px;
}

.intro-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 4vw, 56px);
}

.intro-title-wrap .section-label {
  flex: 0 0 auto;
  margin-top: 31px;
}

.section-intro > p,
.projects-intro > p,
.portfolio-intro > p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.projects-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  perspective: 1200px;
}

.project-card-inner {
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 180ms ease-out;
}

.project-visual {
  position: relative;
  height: 370px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--paper-strong);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .035);
  isolation: isolate;
}

.project-visual::before {
  position: absolute;
  inset: 14% 11% 11%;
  border-radius: 14px;
  background: linear-gradient(135deg, #181818, #383838);
  box-shadow: 0 24px 45px rgba(0, 0, 0, .2);
  content: "";
  transform: translateZ(30px) rotateX(3deg) rotateY(-7deg);
}

.project-visual::after {
  position: absolute;
  z-index: 3;
  right: 10%;
  bottom: 12%;
  width: 25%;
  height: 58%;
  border: 4px solid #171717;
  border-radius: 16px;
  background:
    linear-gradient(var(--acid), var(--acid)) 50% 15% / 65% 8% no-repeat,
    linear-gradient(#171717, #171717) 50% 37% / 70% 5% no-repeat,
    linear-gradient(#c8c8c5, #c8c8c5) 50% 51% / 70% 24% no-repeat,
    #f8f8f6;
  box-shadow: 0 20px 25px rgba(0, 0, 0, .23);
  content: "";
  transform: translateZ(65px) rotate(6deg);
}

.project-ui {
  position: absolute;
  z-index: 2;
  inset: 20% 18% 24% 16%;
  overflow: hidden;
  border-radius: 5px;
  background: #ecece8;
  transform: translateZ(50px) rotateX(3deg) rotateY(-7deg);
}

.project-ui::before {
  position: absolute;
  inset: 0 70% 0 0;
  background: #111;
  content: "";
}

.project-ui::after {
  position: absolute;
  inset: 14% 8% 15% 38%;
  border-radius: 8px;
  background:
    linear-gradient(90deg, var(--acid) 0 36%, #151515 36% 39%, transparent 39%) 0 0 / 100% 13% no-repeat,
    linear-gradient(90deg, #d1d1cd 48%, transparent 48%) 0 31% / 100% 28% no-repeat,
    linear-gradient(90deg, #111 42%, transparent 42%) 0 75% / 100% 7% no-repeat,
    linear-gradient(90deg, #bbb 78%, transparent 78%) 0 95% / 100% 5% no-repeat;
  content: "";
}

.project-card:nth-child(2) .project-visual {
  background: #e7e6ff;
}

.project-card:nth-child(2) .project-visual::before {
  background: linear-gradient(135deg, #20145c, #7462ff);
}

.project-card:nth-child(2) .project-ui::after {
  background:
    linear-gradient(90deg, #7d69ff 0 42%, #151515 42% 45%, transparent 45%) 0 0 / 100% 13% no-repeat,
    linear-gradient(90deg, #cbc7ff 55%, transparent 55%) 0 31% / 100% 28% no-repeat,
    linear-gradient(90deg, #25165c 48%, transparent 48%) 0 75% / 100% 7% no-repeat;
}

.project-card:nth-child(3) .project-visual {
  background: #e8f3f0;
}

.project-card:nth-child(3) .project-visual::before {
  background: linear-gradient(135deg, #073c34, #0c907b);
}

.project-card:nth-child(4) .project-visual {
  background: #f1e5dd;
}

.project-card:nth-child(4) .project-visual::before {
  background: linear-gradient(135deg, #3e1711, #b15c40);
}

.project-card:nth-child(5) .project-visual {
  background: #e5ecf8;
}

.project-card:nth-child(5) .project-visual::before {
  background: linear-gradient(135deg, #102043, #2b64b7);
}

.project-card:nth-child(6) .project-visual {
  background: #ece9df;
}

.project-card:nth-child(6) .project-visual::before {
  background: linear-gradient(135deg, #26210c, #938837);
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 18px 34px;
}

.project-meta h3,
.project-card h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.project-meta span,
.project-type {
  color: var(--muted);
  font-size: 11px;
}

.load-more,
.projects-more {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.load-more button,
.projects-more a {
  min-height: 38px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: background-color 250ms ease, color 250ms ease, transform 250ms var(--ease-spring);
}

.load-more button:hover,
.projects-more a:hover {
  background: var(--acid);
  color: var(--ink);
  transform: scale(1.04);
}

/* Results */

.results-section,
.metrics-section {
  padding: 80px 0 145px;
}

.results-head,
.metrics-head {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 42px;
  align-items: start;
  margin-bottom: 84px;
}

.results-head .section-label,
.metrics-head .section-label {
  margin-top: 20px;
}

.metrics-grid,
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-left: clamp(0px, 8vw, 110px);
}

.metric-card,
.result-card {
  min-height: 250px;
  padding: 38px;
  border-radius: var(--radius-lg);
  background: var(--paper-strong);
  transition: transform 350ms var(--ease-spring), background-color 300ms ease;
}

.metric-card:hover,
.result-card:hover {
  background: var(--white);
  transform: translateY(-7px);
}

.metric-value,
.result-value {
  display: block;
  margin-bottom: 86px;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(58px, 5vw, 76px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: .8;
}

.metric-card p,
.result-card p {
  max-width: 330px;
  margin: 0;
  font-size: 13px;
}

/* Services */

.services-section,
#servicos {
  padding: 128px 0 145px;
  background: var(--ink);
  color: var(--white);
}

.services-heading {
  display: flex;
  align-items: flex-start;
  gap: clamp(24px, 5vw, 70px);
  margin-bottom: 92px;
}

.services-heading .section-label {
  margin-top: 34px;
  color: var(--acid);
}

#services-accordion,
.services-accordion {
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.service-item {
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.service-trigger {
  display: grid;
  width: 100%;
  grid-template-columns: 50px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  text-align: left;
}

.service-index {
  color: #747474;
  font-size: 12px;
}

.service-name,
.service-trigger > span:nth-child(2) {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(18px, 2vw, 27px);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.service-icon {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  font-size: 0;
  transition: background-color 250ms ease, transform 400ms var(--ease-spring);
}

.service-icon::before,
.service-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
}

.service-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 350ms var(--ease-out);
}

.service-trigger:hover .service-icon,
.service-trigger[aria-expanded="true"] .service-icon {
  background: var(--acid);
  color: var(--ink);
}

.service-trigger[aria-expanded="true"] .service-icon {
  transform: rotate(180deg);
}

.service-trigger[aria-expanded="true"] .service-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.service-panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 600ms var(--ease-out), visibility 600ms;
}

.service-item.is-open .service-panel {
  grid-template-rows: 1fr;
  visibility: visible;
}

.service-panel-inner,
.service-content {
  min-height: 0;
  overflow: hidden;
}

.service-panel-content,
.service-content-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) 1fr 170px;
  gap: 48px;
  padding: 12px 0 46px 68px;
}

.service-description {
  max-width: 430px;
  margin: 0;
  color: #b7b7b7;
}

.service-includes-label,
.service-price-label {
  display: block;
  margin-bottom: 16px;
  color: #777;
  font-size: 11px;
  font-weight: 600;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-tag {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
}

.service-price strong {
  display: block;
  margin-bottom: 15px;
  font-family: "Inter Tight", sans-serif;
  font-size: 21px;
}

.service-price a {
  color: var(--acid);
  font-size: 12px;
  font-weight: 600;
}

/* Process */

.process-section,
#processo,
#process {
  padding: 125px 0 155px;
}

.process-intro {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 42px;
  align-items: start;
  margin-bottom: 70px;
}

.process-intro .section-label {
  margin-top: 18px;
}

.process-orbit,
.process-wheel {
  position: relative;
  width: min(720px, 82vw);
  aspect-ratio: 1.13;
  margin-inline: auto;
}

.process-orbit::before,
.process-wheel::before {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(0, 0, 0, .25);
  border-radius: 50%;
  content: "";
}

.process-copy,
.process-center {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 280px;
  transform: translate(-50%, -50%);
  text-align: center;
}

.process-copy h3,
.process-center h3 {
  margin: 0 0 14px;
  font-family: "Inter Tight", sans-serif;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.process-copy p,
.process-center p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  transition: opacity 200ms ease, transform 300ms var(--ease-out);
}

.process-copy.is-changing p,
.process-center.is-changing p {
  opacity: 0;
  transform: translateY(8px);
}

.process-node {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 126px;
  aspect-ratio: 1;
  place-items: center;
  padding: 20px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: background-color 350ms ease, color 350ms ease, transform 500ms var(--ease-spring);
}

.process-node:hover {
  transform: scale(1.08) rotate(-4deg);
}

.process-node.is-active,
.process-node[aria-pressed="true"] {
  background: var(--acid);
  color: var(--ink);
  transform: scale(1.1);
}

.process-node:nth-of-type(1) { top: 0; left: 50%; transform: translateX(-50%); }
.process-node:nth-of-type(2) { top: 19%; right: 2%; }
.process-node:nth-of-type(3) { right: 10%; bottom: 4%; }
.process-node:nth-of-type(4) { bottom: 0; left: 50%; transform: translateX(-50%); }
.process-node:nth-of-type(5) { bottom: 4%; left: 10%; }
.process-node:nth-of-type(6) { top: 19%; left: 2%; }

.process-node:nth-of-type(1):hover,
.process-node:nth-of-type(1).is-active,
.process-node:nth-of-type(4):hover,
.process-node:nth-of-type(4).is-active {
  transform: translateX(-50%) scale(1.08) rotate(-4deg);
}

/* Testimonials and about */

.testimonials-section,
#depoimentos {
  padding: 100px 0 140px;
}

.testimonials-heading {
  display: flex;
  align-items: flex-start;
  gap: clamp(28px, 5vw, 70px);
  margin-bottom: 80px;
}

.testimonials-heading .section-label {
  margin-top: 34px;
}

.testimonials-grid,
.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.testimonial-card {
  min-height: 300px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--paper-strong);
  transition: transform 350ms var(--ease-spring), background-color 300ms ease, box-shadow 300ms ease;
}

.testimonial-card.is-selected {
  box-shadow: inset 0 0 0 1px rgba(5, 5, 5, .16);
}

.testimonial-card:hover {
  background: var(--white);
  transform: translateY(-8px) rotate(.5deg);
}

.testimonial-head {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 56px;
}

.testimonial-avatar {
  display: grid;
  width: 52px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--acid);
  font-weight: 700;
}

.testimonial-card h3 {
  margin: 0 0 3px;
  font-size: 14px;
}

.testimonial-role {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.stars {
  margin: 0 0 15px;
  color: var(--ink);
  letter-spacing: 3px;
}

.testimonial-card blockquote,
.testimonial-card > p:last-child {
  margin: 0;
  font-size: 13px;
}

.about-section,
#sobre {
  padding: 90px 0 150px;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(50px, 8vw, 110px);
  align-items: start;
}

.about-title {
  position: sticky;
  top: 140px;
  margin: 0;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(60px, 7vw, 100px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: .92;
}

.about-copy > p {
  margin: 0 0 28px;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.about-copy > p + p {
  color: var(--muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 50px;
}

.team-card {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--white);
}

.team-card::before {
  position: absolute;
  right: -35px;
  bottom: -55px;
  width: 180px;
  aspect-ratio: 1;
  border: 28px solid var(--acid);
  border-radius: 50%;
  content: "";
  transition: transform 600ms var(--ease-spring);
}

.team-card:hover::before {
  transform: scale(1.2) translate(-8px, -8px);
}

.team-card h3 {
  position: absolute;
  bottom: 22px;
  left: 22px;
  margin: 0;
  font-size: 16px;
}

.team-card p {
  margin: 0;
  color: #aaa;
  font-size: 11px;
}

/* Insights timeline */

.insights-section,
#insights {
  padding: 105px 0 150px;
}

.insights-heading {
  display: flex;
  align-items: flex-start;
  gap: clamp(30px, 5vw, 70px);
  margin-bottom: 76px;
}

.insights-heading .section-label {
  margin-top: 33px;
}

.insights-timeline,
.timeline {
  position: relative;
  max-width: 1000px;
  margin-inline: auto;
  padding-block: 30px;
}

.insights-timeline::before,
.timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: #c8c8c5;
  content: "";
}

.insight-item,
.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 54px 54px 0;
}

.insight-item:nth-child(even),
.timeline-item:nth-child(even) {
  margin-left: 50%;
  padding: 0 0 54px 54px;
}

.insight-item::after,
.timeline-item::after {
  position: absolute;
  z-index: 2;
  top: 38px;
  right: -6px;
  width: 13px;
  height: 13px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 1px #c8c8c5;
  content: "";
}

.insight-item:nth-child(even)::after,
.timeline-item:nth-child(even)::after {
  right: auto;
  left: -7px;
}

.insight-card {
  min-height: 220px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--paper-strong);
  transition: transform 400ms var(--ease-spring), background-color 300ms ease;
}

.insight-card:hover {
  background: var(--white);
  transform: translateY(-8px) rotate(-.5deg);
}

.insight-date {
  display: block;
  margin-bottom: 45px;
  color: #aaa;
  font-size: 10px;
}

.insight-card h3 {
  margin: 0 0 12px;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(21px, 2vw, 28px);
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.insight-card p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 12px;
}

.read-more {
  min-height: 35px;
  padding-inline: 17px;
  font-size: 10px;
}

/* Contact */

.contact-section,
#contato {
  padding: 95px 0 110px;
  background: var(--acid);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(310px, .9fr) 1.1fr;
  gap: clamp(55px, 9vw, 120px);
  align-items: start;
}

.contact-copy h2 {
  margin: 0 0 24px;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(58px, 7vw, 100px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: .88;
}

.contact-copy p {
  max-width: 480px;
  margin: 0;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

#contact-form,
.contact-form {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--paper-strong);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 12px;
}

.form-field {
  min-width: 0;
}

.form-field.full,
.form-field--full {
  grid-column: 1 / -1;
}

.form-field label,
.field-label,
.contact-form legend {
  display: block;
  margin: 0 0 7px;
  font-size: 10px;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, .35);
  border-radius: 0;
  background: transparent;
  transition: border-color 250ms ease, background-color 250ms ease;
}

.form-field input,
.form-field select,
.contact-form input,
.contact-form select {
  height: 43px;
}

.form-field textarea,
.contact-form textarea {
  min-height: 105px;
  padding-top: 12px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--ink);
}

.interest-options,
.checkbox-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 4px 0 12px;
  border: 0;
  margin: 0;
}

.interest-options label,
.checkbox-list label {
  position: relative;
  margin: 0;
}

.interest-options input,
.checkbox-list input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.interest-options span,
.checkbox-list span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(0, 0, 0, .28);
  border-radius: 999px;
  cursor: pointer;
  font-size: 9px;
  font-weight: 600;
  transition: background-color 200ms ease, color 200ms ease, transform 200ms var(--ease-spring);
}

.interest-options input:checked + span,
.checkbox-list input:checked + span {
  background: var(--ink);
  color: var(--white);
  transform: scale(1.03);
}

.form-submit {
  width: 100%;
  margin-top: 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.form-submit::before {
  background: var(--acid);
}

.form-submit:hover {
  color: var(--ink);
}

.form-status {
  min-height: 20px;
  margin: 12px 0 0;
  font-size: 11px;
  font-weight: 600;
}

/* Footer */

.site-footer {
  padding: 54px 0 30px;
  background: #e6e6e3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr .6fr;
  gap: 44px;
  padding-bottom: 55px;
}

.footer-brand .brand-mark {
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
}

.footer-brand p,
.footer-column p,
.footer-column a {
  margin: 0;
  font-size: 11px;
}

.footer-column h3,
.footer-column h2 {
  margin: 0 0 15px;
  font-size: 11px;
}

.footer-column nav,
.footer-links {
  display: grid;
  gap: 6px;
}

.footer-column a {
  width: fit-content;
  transition: color 200ms ease;
}

.footer-column a:hover {
  color: #6e7e18;
}

.social-links {
  display: flex;
  gap: 13px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

/* JavaScript animation states */

.js .reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
}

.js .reveal[data-reveal="left"] {
  transform: translateX(-44px);
}

.js .reveal[data-reveal="scale"] {
  transform: scale(.93);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-stagger > * {
  transition-delay: calc(var(--stagger-index, 0) * 80ms);
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  z-index: 3000;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease, width 250ms var(--ease-out), height 250ms var(--ease-out), background-color 250ms ease;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 7px;
  height: 7px;
  background: var(--acid);
  mix-blend-mode: difference;
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(213, 247, 76, .8);
  mix-blend-mode: difference;
}

.cursor-dot.is-visible,
.cursor-ring.is-visible {
  opacity: 1;
}

.cursor-ring.is-hovering {
  width: 64px;
  height: 64px;
  border-color: transparent;
  background: var(--acid);
  opacity: .34;
}

/* Semantic markup contract */

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
  transition: transform 200ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.section-shell {
  width: min(calc(100% - (var(--gutter) * 2)), var(--content));
  margin-inline: auto;
}

.section-heading {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr) minmax(230px, 330px);
  gap: clamp(25px, 4vw, 58px);
  align-items: start;
  margin-bottom: 78px;
}

.section-heading.compact {
  grid-template-columns: 160px 1fr;
}

.section-heading > div:first-child {
  padding-top: 12px;
}

.section-index {
  margin: 0 0 14px;
  color: #9a9a98;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
}

.eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.eyebrow::before {
  margin-right: 8px;
  content: "✦";
}

.section-heading > h2 {
  margin: 0;
  font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(48px, 5.5vw, 76px);
  font-weight: 650;
  letter-spacing: -.06em;
  line-height: .99;
}

.section-heading > p,
.section-heading > .about-copy {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.primary-nav {
  justify-self: center;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  padding: 10px 0;
  margin: 0 clamp(8px, 1.25vw, 18px);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.025em;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1.5px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 350ms var(--ease-out);
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

#loader .loader-mark,
#loader .loader-progress,
#loader .loader-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.brand-mark {
  color: transparent;
  font-size: 0;
}

.side-ribbon > span:first-child {
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.side-ribbon .side-ribbon-mark {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  writing-mode: horizontal-tb;
  transform: none;
}

.hero > #scene {
  position: absolute;
  inset: 0;
}

.hero .hero-content {
  inset: var(--header-height) 0 0;
}

.hero .hero-content > .eyebrow {
  position: absolute;
  top: 22%;
  left: max(var(--gutter), 78px);
  max-width: 230px;
  opacity: 0;
  animation: hero-copy-in 700ms .45s var(--ease-out) forwards;
}

#hero-canvas {
  opacity: 0;
  transition: opacity 500ms ease;
}

#scene.is-webgl-ready #hero-canvas {
  opacity: 1;
}

.hero .hero-content > h1,
.hero .hero-copy {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.hero .hero-actions {
  display: none !important;
}

.scroll-hint {
  pointer-events: auto;
  text-decoration: none;
}

.clients.section-shell {
  width: 100%;
  max-width: none;
}

.clients .section-intro {
  display: grid;
  width: min(calc(100% - (var(--gutter) * 2)), var(--content));
  grid-template-columns: 135px minmax(0, 720px);
  gap: 44px;
  align-items: start;
  margin: 0 auto 48px;
}

.clients .section-intro h2 {
  margin: 0;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(32px, 4.1vw, 58px);
  letter-spacing: -.055em;
  line-height: 1;
}

.client-marquee {
  display: block;
  width: 100%;
  overflow: hidden;
  animation: none;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.client-marquee-track {
  display: flex;
  width: max-content;
  overflow: visible;
  animation: marquee 28s linear infinite;
}

.client-marquee-track:hover {
  animation-play-state: paused;
}

.client-list {
  display: flex;
  gap: 10px;
  padding: 0 10px 0 0;
  margin: 0;
  list-style: none;
}

.client-list li {
  display: grid;
  width: 210px;
  height: 150px;
  flex: 0 0 auto;
  place-items: center;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--white);
  font-family: "Inter Tight", sans-serif;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -.04em;
  line-height: 1.05;
  overflow-wrap: break-word;
  text-align: center;
  transition: transform 350ms var(--ease-spring), background-color 250ms ease, color 250ms ease;
}

.client-list li:hover {
  background: var(--acid);
  color: var(--ink);
  transform: translateY(-7px) rotate(-1deg);
}

.projects {
  padding-block: 105px 145px;
}

#projetos,
#servicos {
  scroll-margin-top: calc(var(--header-height) + 22px);
}

.project-card-featured {
  grid-column: auto;
}

.project-card-featured .project-visual {
  height: 370px;
}

.dashboard-window {
  position: absolute;
  z-index: 2;
  inset: 16% 15% 18%;
  overflow: hidden;
  border: 5px solid #171717;
  border-radius: 10px;
  background: #f2f2ef;
  box-shadow: 0 28px 46px rgba(0, 0, 0, .25);
  transform: translateZ(45px) perspective(900px) rotateX(3deg) rotateY(-6deg);
}

.dashboard-window::before {
  position: absolute;
  inset: 0 0 auto;
  height: 9%;
  background: #181818;
  content: "";
}

.dashboard-window::after {
  position: absolute;
  top: 3.4%;
  left: 3%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 9px 0 #878787, 18px 0 #fff;
  content: "";
}

.dashboard-sidebar {
  position: absolute;
  inset: 9% auto 0 0;
  width: 22%;
  background:
    linear-gradient(var(--acid), var(--acid)) 50% 14% / 55% 7% no-repeat,
    repeating-linear-gradient(to bottom, transparent 0 18px, rgba(255, 255, 255, .18) 18px 21px) 50% 40% / 58% 50% no-repeat,
    #151515;
}

.dashboard-header {
  position: absolute;
  top: 16%;
  right: 7%;
  width: 62%;
  height: 8%;
  border-radius: 4px;
  background: linear-gradient(90deg, #171717 0 35%, transparent 35%);
}

.dashboard-chart {
  position: absolute;
  top: 34%;
  right: 7%;
  width: 62%;
  height: 42%;
  border-radius: 7px;
  background-color: #deded9;
}

.dashboard-chart-bars {
  background:
    linear-gradient(to top, var(--acid) 0 65%, transparent 65%) 12% 100% / 9% 70% no-repeat,
    linear-gradient(to top, #1c1c1c 0 82%, transparent 82%) 31% 100% / 9% 70% no-repeat,
    linear-gradient(to top, #8e8e8a 0 46%, transparent 46%) 50% 100% / 9% 70% no-repeat,
    linear-gradient(to top, var(--acid) 0 94%, transparent 94%) 69% 100% / 9% 70% no-repeat,
    linear-gradient(to top, #1c1c1c 0 58%, transparent 58%) 88% 100% / 9% 70% no-repeat,
    #deded9;
}

.dashboard-chart-line::before,
.dashboard-chart-area::before,
.dashboard-route::before {
  position: absolute;
  inset: 45% 9% auto;
  height: 3px;
  border-radius: 999px;
  background: var(--acid);
  box-shadow: 26px -20px 0 -1px var(--acid), 54px 11px 0 -1px var(--acid), 83px -28px 0 -1px var(--acid);
  content: "";
  transform: rotate(-7deg);
}

.dashboard-stat,
.dashboard-product,
.dashboard-progress,
.dashboard-calendar,
.dashboard-panel,
.dashboard-indicator {
  position: absolute;
  right: 7%;
  bottom: 8%;
  height: 9%;
  border-radius: 5px;
  background: #171717;
}

.dashboard-stat-a { width: 28%; right: 41%; }
.dashboard-stat-b { width: 28%; background: var(--acid); }
.dashboard-avatar { position: absolute; right: 11%; bottom: 13%; width: 17%; aspect-ratio: 1; border-radius: 50%; background: var(--acid); }
.dashboard-list { position: absolute; right: 34%; bottom: 13%; width: 35%; height: 14%; background: repeating-linear-gradient(to bottom, #92928e 0 3px, transparent 3px 10px); }
.dashboard-map { position: absolute; top: 30%; right: 7%; width: 62%; height: 50%; border-radius: 8px; background: radial-gradient(circle at 30% 40%, var(--acid) 0 4px, transparent 5px), radial-gradient(circle at 70% 65%, #151515 0 4px, transparent 5px), repeating-linear-gradient(35deg, #deded9 0 11px, #c5c5c0 11px 12px); }
.dashboard-route { position: absolute; top: 42%; right: 14%; width: 43%; height: 20%; }
.dashboard-product { top: 35%; bottom: auto; width: 17%; height: 38%; background: linear-gradient(145deg, var(--acid), #7c8c24); }
.dashboard-product-a { right: 49%; }
.dashboard-product-b { right: 28%; background: linear-gradient(145deg, #3831a5, #b4aaff); }
.dashboard-product-c { right: 7%; background: linear-gradient(145deg, #151515, #777); }
.dashboard-progress { bottom: auto; width: 55%; height: 8%; background: linear-gradient(90deg, var(--acid) 0 68%, #d4d4ce 68%); }
.dashboard-progress-a { top: 38%; }
.dashboard-progress-b { top: 54%; background: linear-gradient(90deg, #171717 0 45%, #d4d4ce 45%); }
.dashboard-calendar { top: 69%; bottom: auto; width: 55%; height: 16%; background: repeating-linear-gradient(90deg, #b7b7b2 0 10%, transparent 10% 14%); }
.dashboard-gauge { position: absolute; top: 32%; right: 31%; width: 35%; aspect-ratio: 2 / 1; overflow: hidden; border-radius: 100% 100% 0 0 / 200% 200% 0 0; background: conic-gradient(from 270deg at 50% 100%, var(--acid) 0 32%, #171717 32% 50%, transparent 50%); }

.project-visual > .dashboard-window ~ * {
  pointer-events: none;
}

.project-meta {
  display: grid;
  min-height: 272px;
  flex: 1;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(53px, auto) minmax(50px, auto) 1fr auto;
  align-content: start;
  align-items: start;
  gap: 13px;
  padding: 20px 18px 34px;
}

.project-meta > div h3 {
  margin-top: 5px;
  font-family: "Inter Tight", sans-serif;
  font-size: 18px;
  letter-spacing: -.04em;
}

.project-category {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.project-demo-label {
  display: inline-flex;
  min-height: 23px;
  align-items: center;
  margin-bottom: 10px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--acid);
  color: var(--ink);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.project-meta > p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.project-examples {
  align-self: start;
}

.project-examples > span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-examples ul {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.project-examples li {
  padding: 6px 9px;
  border: 1px solid rgba(18, 18, 18, .11);
  border-radius: 999px;
  color: #555;
  font-size: 9px;
  line-height: 1;
}

.project-link {
  justify-self: start;
  min-height: 38px;
  padding-inline: 16px;
  gap: 7px;
  font-size: 10px;
}

.landing-page-visual::before,
.landing-page-visual::after {
  display: none;
}

.landing-page-visual {
  background:
    radial-gradient(circle at 20% 16%, rgba(199, 255, 51, .7), transparent 22%),
    linear-gradient(145deg, #151515, #393939);
}

.landing-preview {
  position: absolute;
  z-index: 2;
  inset: 12% 10%;
  overflow: hidden;
  border: 5px solid #171717;
  border-radius: 11px;
  background: #f5f5f1;
  box-shadow: 0 28px 46px rgba(0, 0, 0, .28);
  transform: perspective(900px) rotateX(3deg) rotateY(-6deg);
  transition: transform 500ms var(--ease-out);
}

.project-card:hover .landing-preview {
  transform: perspective(900px) rotateX(0) rotateY(-2deg) translateY(-4px);
}

.landing-preview-nav,
.landing-preview-kicker,
.landing-preview-title,
.landing-preview-copy,
.landing-preview-cta,
.landing-preview-proof,
.landing-preview-form {
  position: absolute;
  display: block;
  border-radius: 999px;
}

.landing-preview-nav {
  inset: 7% 7% auto;
  height: 5%;
  background: linear-gradient(90deg, #171717 0 13%, transparent 13% 67%, #bcbcb6 67% 74%, transparent 74% 77%, #171717 77%);
}

.landing-preview-kicker {
  top: 26%;
  left: 8%;
  width: 24%;
  height: 3%;
  background: #82931e;
}

.landing-preview-title {
  top: 34%;
  left: 8%;
  width: 47%;
  height: 17%;
  border-radius: 2px;
  background: repeating-linear-gradient(to bottom, #171717 0 6px, transparent 6px 13px);
}

.landing-preview-copy {
  top: 56%;
  left: 8%;
  width: 38%;
  height: 9%;
  border-radius: 2px;
  background: repeating-linear-gradient(to bottom, #aaa 0 3px, transparent 3px 8px);
}

.landing-preview-cta {
  bottom: 18%;
  left: 8%;
  width: 25%;
  height: 10%;
  background: var(--acid);
  box-shadow: 0 8px 20px rgba(126, 145, 26, .22);
}

.landing-preview-proof {
  right: 8%;
  bottom: 8%;
  width: 46%;
  height: 7%;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, #b8b8b2 0 12%, transparent 12% 17%);
}

.landing-preview-form {
  top: 25%;
  right: 8%;
  width: 32%;
  height: 43%;
  border: 1px solid #d5d5cf;
  border-radius: 9px;
  background:
    linear-gradient(#c8c8c2, #c8c8c2) 15% 17% / 58% 5% no-repeat,
    linear-gradient(#e2e2dc, #e2e2dc) 50% 37% / 70% 12% no-repeat,
    linear-gradient(#e2e2dc, #e2e2dc) 50% 57% / 70% 12% no-repeat,
    linear-gradient(var(--acid), var(--acid)) 50% 80% / 70% 13% no-repeat,
    #fff;
}

/* Real solution previews */

.preview-visual {
  background: #e8e8e3;
}

.preview-visual::before,
.preview-visual::after {
  display: none;
}

.preview-automation {
  background: radial-gradient(circle at 18% 10%, #d8ff68 0, transparent 34%), linear-gradient(145deg, #f2f4e9, #cbd1ba);
}

.preview-landing {
  background: radial-gradient(circle at 84% 15%, #8d7bff 0, transparent 32%), linear-gradient(145deg, #eae6ff, #b8b0e7);
}

.preview-system {
  background: radial-gradient(circle at 18% 82%, #49dbbc 0, transparent 34%), linear-gradient(145deg, #ddf7ef, #9ccfc2);
}

.preview-bot {
  background: radial-gradient(circle at 84% 16%, #ff9a72 0, transparent 34%), linear-gradient(145deg, #ffe8de, #e5b3a0);
}

.preview-integration {
  background: radial-gradient(circle at 16% 15%, #70a7ff 0, transparent 32%), linear-gradient(145deg, #e0ebff, #aebfdc);
}

.preview-analytics {
  background: radial-gradient(circle at 85% 82%, #ffd85c 0, transparent 33%), linear-gradient(145deg, #f4efd9, #cfc49a);
}

.solution-ui {
  position: absolute;
  z-index: 2;
  inset: 10% 9%;
  overflow: hidden;
  border: 4px solid #151515;
  border-radius: 13px;
  background: #f7f7f3;
  box-shadow: 0 24px 40px rgba(18, 18, 18, .27);
  color: #171717;
  font-family: "Inter", sans-serif;
  transform: perspective(900px) rotateX(2deg) rotateY(-4deg);
  transition: transform 550ms var(--ease-out), box-shadow 550ms var(--ease-out);
}

.project-card:hover .solution-ui {
  box-shadow: 0 31px 48px rgba(18, 18, 18, .34);
  transform: perspective(900px) rotateX(0) rotateY(-1deg) translateY(-5px);
}

.ui-topbar {
  display: flex;
  height: 40px;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid #deded8;
  background: #fff;
}

.ui-brand {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
}

.ui-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eaffaa;
  color: #3d4d00;
  font-size: 6px;
  font-weight: 750;
  text-transform: uppercase;
}

.ui-live::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7a9b00;
  box-shadow: 0 0 0 3px rgba(122, 155, 0, .14);
  content: "";
  animation: ui-live-pulse 1.8s ease-in-out infinite;
}

@keyframes ui-live-pulse {
  50% { box-shadow: 0 0 0 6px rgba(122, 155, 0, 0); transform: scale(1.12); }
}

.ui-layout {
  display: grid;
  height: calc(100% - 40px);
  grid-template-columns: 18% minmax(0, 1fr);
}

.ui-sidebar {
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: center;
  padding-top: 18px;
  background: #171717;
}

.ui-sidebar span {
  width: 15px;
  height: 4px;
  border-radius: 999px;
  background: #61615e;
}

.ui-sidebar span:first-child {
  width: 20px;
  height: 20px;
  margin-bottom: 7px;
  background: var(--acid);
  clip-path: polygon(50% 0, 62% 35%, 100% 18%, 78% 50%, 100% 82%, 62% 65%, 50% 100%, 38% 65%, 0 82%, 22% 50%, 0 18%, 38% 35%);
}

.ui-content {
  min-width: 0;
  padding: 14px;
}

.ui-title {
  margin: 0 0 11px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: -.02em;
}

.ui-stats,
.system-kpis,
.analytics-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.ui-stats > span,
.system-kpis > span,
.analytics-kpis > span {
  display: grid;
  gap: 3px;
  padding: 9px;
  border: 1px solid #e0e0da;
  border-radius: 8px;
  background: #fff;
}

.ui-stats strong,
.system-kpis b,
.analytics-kpis b {
  font-family: "Inter Tight", sans-serif;
  font-size: 17px;
  letter-spacing: -.04em;
}

.ui-stats small,
.system-kpis small,
.analytics-kpis small {
  color: #7b7b76;
  font-size: 6px;
}

.automation-list {
  display: grid;
  gap: 5px;
  margin-top: 8px;
}

.automation-list > span {
  display: grid;
  grid-template-columns: 5px minmax(0, 1fr) auto;
  gap: 5px;
  align-items: center;
  padding: 6px 7px;
  border-radius: 6px;
  background: #ededE8;
  font-size: 6px;
}

.automation-list i,
.integration-log i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #90ad18;
}

.automation-list b {
  overflow: hidden;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.automation-list em {
  color: #667b0d;
  font-size: 5px;
  font-style: normal;
}

.landing-ui {
  display: flex;
  flex-direction: column;
  background: #f8f8f4;
}

.landing-nav {
  display: flex;
  height: 38px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid #e1e1db;
}

.landing-nav b {
  font-size: 9px;
  letter-spacing: -.04em;
}

.landing-nav b span {
  color: #6e5de7;
}

.landing-nav small {
  color: #777;
  font-size: 5px;
}

.landing-hero {
  display: grid;
  min-height: 0;
  flex: 1;
  grid-template-columns: 1.18fr .82fr;
  gap: 9px;
  align-items: center;
  padding: 13px 14px 8px;
  background: radial-gradient(circle at 76% 12%, rgba(139, 119, 255, .25), transparent 36%);
}

.landing-message small,
.landing-form-card > small {
  display: block;
  margin-bottom: 6px;
  color: #6e5de7;
  font-size: 5px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.landing-message strong {
  display: block;
  max-width: 140px;
  font-family: "Inter Tight", sans-serif;
  font-size: 20px;
  letter-spacing: -.06em;
  line-height: .85;
}

.landing-message p {
  max-width: 125px;
  margin: 7px 0;
  color: #74746f;
  font-size: 6px;
  line-height: 1.4;
}

.landing-message > span {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--acid);
  font-size: 6px;
  font-weight: 750;
}

.landing-form-card {
  display: grid;
  align-content: center;
  padding: 12px;
  border: 1px solid #ddd9f5;
  border-radius: 10px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 12px 24px rgba(79, 61, 155, .13);
}

.landing-form-card i {
  height: 16px;
  margin-bottom: 6px;
  border-radius: 4px;
  background: #efefe9;
}

.landing-form-card b {
  display: grid;
  height: 18px;
  place-items: center;
  border-radius: 4px;
  background: #171717;
  color: #fff;
  font-size: 5px;
}

.landing-proof {
  display: flex;
  height: 35px;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border-top: 1px solid #e1e1db;
  font-size: 6px;
}

.landing-proof b { font-size: 11px; }
.landing-proof small { flex: 1; color: #777; font-size: 5px; }
.landing-proof span { color: #7563ed; font-size: 7px; letter-spacing: 2px; }

.ui-user,
.ui-range {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #171717;
  color: #fff;
  font-size: 6px;
  font-weight: 750;
}

.system-kpis > span {
  padding: 7px;
}

.system-kpis b { font-size: 13px; }

.system-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin-top: 8px;
}

.system-board > div {
  min-height: 92px;
  padding: 7px 5px;
  border-radius: 6px;
  background: #e9eee9;
}

.system-board small {
  display: block;
  margin-bottom: 6px;
  color: #676b68;
  font-size: 5px;
  font-weight: 700;
}

.system-board i {
  display: block;
  height: 24px;
  margin-top: 5px;
  border-left: 3px solid #8ab72d;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
}

.bot-ui {
  inset: 7% 20%;
  display: grid;
  grid-template-rows: 46px minmax(0, 1fr) 38px;
  border-radius: 23px;
  background: #efece7;
  transform: perspective(900px) rotateY(-5deg) rotateZ(1deg);
}

.chat-header {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
  padding: 0 10px;
  background: #171717;
  color: #fff;
}

.chat-avatar {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
  color: #171717;
  font-size: 9px;
  font-weight: 800;
}

.chat-header > span:nth-child(2) { display: grid; }
.chat-header b { font-size: 7px; }
.chat-header small { color: #a6c766; font-size: 5px; }
.chat-header > i { color: #aaa; font-size: 7px; font-style: normal; }

.chat-body {
  display: flex;
  min-height: 0;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: radial-gradient(circle at 10% 10%, rgba(202,255,56,.12), transparent 27%), #e9e6df;
}

.chat-date {
  align-self: center;
  color: #898983;
  font-size: 4px;
}

.chat-bubble {
  max-width: 80%;
  padding: 6px 7px;
  margin: 0;
  border-radius: 7px;
  font-size: 5px;
  line-height: 1.35;
}

.bot-message { align-self: flex-start; background: #fff; }
.user-message { align-self: flex-end; background: #dfff83; }

.chat-options {
  display: flex;
  gap: 3px;
  align-self: flex-start;
}

.chat-options span {
  padding: 4px 6px;
  border: 1px solid #9eb13c;
  border-radius: 999px;
  color: #596412;
  font-size: 4px;
  font-weight: 700;
}

.chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 0 12px;
  background: #fff;
  color: #aaa;
  font-size: 5px;
}

.chat-input b {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
  color: #171717;
  font-size: 8px;
}

.integration-ui {
  padding-bottom: 10px;
}

.integration-ui > .ui-title,
.analytics-ui > .ui-title {
  padding: 12px 14px 0;
  margin-bottom: 5px;
}

.integration-map {
  position: relative;
  height: 130px;
  margin: 0 13px;
}

.integration-node {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 52px;
  height: 43px;
  place-items: center;
  border: 1px solid #d6d6d0;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 7px 13px rgba(0,0,0,.08);
  font-size: 9px;
  font-weight: 800;
}

.integration-node small {
  color: #868680;
  font-size: 4px;
  font-weight: 500;
}

.node-crm { top: 8px; left: 2px; }
.node-atlas { top: 44px; left: calc(50% - 26px); border-color: #b5c954; background: var(--acid); font-size: 15px; }
.node-erp { top: 7px; right: 2px; }
.node-pay { right: 18px; bottom: 0; }

.flow-line {
  position: absolute;
  z-index: 1;
  height: 2px;
  background: repeating-linear-gradient(90deg, #98ab38 0 5px, transparent 5px 9px);
  transform-origin: left;
}

.line-a { top: 37px; left: 49px; width: 90px; transform: rotate(20deg); }
.line-b { top: 66px; left: 56%; width: 81px; transform: rotate(-28deg); }
.line-c { top: 85px; left: 51%; width: 102px; transform: rotate(25deg); }

.integration-log {
  display: grid;
  gap: 4px;
  padding: 0 14px;
}

.integration-log > span {
  display: grid;
  grid-template-columns: 5px 1fr auto;
  gap: 6px;
  align-items: center;
  padding: 5px 7px;
  border-radius: 5px;
  background: #eeeee9;
  font-size: 5px;
}

.integration-log small { color: #8a8a84; font-size: 4px; }

.analytics-ui {
  background: #171717;
  color: #fff;
}

.analytics-ui .ui-topbar {
  border-color: #393939;
  background: #202020;
}

.analytics-ui .ui-range {
  border-radius: 999px;
  background: #393939;
}

.analytics-kpis {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 5px 13px 0;
}

.analytics-kpis > span {
  position: relative;
  padding: 7px;
  border-color: #383838;
  background: #242424;
}

.analytics-kpis b { color: #fff; font-size: 12px; }
.analytics-kpis small { color: #929292; }
.analytics-kpis em { color: var(--acid); font-size: 5px; font-style: normal; }

.analytics-chart {
  position: relative;
  height: 108px;
  margin: 8px 13px 0;
  overflow: hidden;
  border: 1px solid #353535;
  border-radius: 8px;
  background: repeating-linear-gradient(to bottom, transparent 0 24px, #292929 24px 25px);
}

.chart-label {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 9px;
  color: #aaa;
  font-size: 5px;
}

.analytics-chart svg {
  position: absolute;
  right: 8px;
  bottom: 5px;
  left: 8px;
  width: calc(100% - 16px);
  height: 76px;
}

.chart-area { fill: url(#atlas-chart-fill); }
.chart-line { fill: none; stroke: var(--acid); stroke-width: 2.5; stroke-linecap: round; }

.metrics {
  position: relative;
  overflow: hidden;
  padding: 100px 0 135px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 14% 18%, rgba(210, 255, 92, .4), transparent 32%),
    radial-gradient(circle at 84% 76%, rgba(51, 214, 126, .34), transparent 36%),
    linear-gradient(145deg, #061c0f, #0c4d28 52%, #227943);
  color: var(--white);
  isolation: isolate;
}

.metrics::before {
  position: absolute;
  z-index: -1;
  inset: -35%;
  background:
    radial-gradient(circle at 27% 39%, rgba(213, 247, 76, .58) 0 8%, transparent 23%),
    radial-gradient(circle at 70% 28%, rgba(75, 222, 133, .46) 0 9%, transparent 25%),
    radial-gradient(circle at 65% 75%, rgba(138, 255, 187, .35) 0 8%, transparent 23%),
    radial-gradient(circle at 36% 77%, rgba(23, 129, 68, .52) 0 8%, transparent 22%);
  filter: blur(42px);
  content: "";
  animation: atlas-aurora-drift 14s ease-in-out infinite alternate;
}

.metrics::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
  content: "";
}

@keyframes atlas-aurora-drift {
  0% { transform: translate3d(-3%, -2%, 0) rotate(-3deg) scale(1); }
  100% { transform: translate3d(4%, 3%, 0) rotate(4deg) scale(1.08); }
}

.metrics-inner {
  position: relative;
  z-index: 2;
}

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

.metrics-float-icon {
  position: absolute;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(226, 255, 203, .25);
  border-radius: 18px;
  background: rgba(4, 38, 18, .32);
  box-shadow: inset 0 1px rgba(255,255,255,.12), 0 18px 45px rgba(0,0,0,.15);
  color: rgba(234, 255, 219, .72);
  font-family: "Inter Tight", sans-serif;
  font-size: 18px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  animation: metrics-icon-float 8s ease-in-out infinite alternate;
}

.metrics-icon-code { top: 6%; left: 5%; transform: rotate(-12deg); }
.metrics-icon-ai { top: 15%; right: 4%; width: 74px; height: 74px; border-radius: 50%; animation-delay: -2.4s; }
.metrics-icon-gear { bottom: 9%; left: 7%; font-size: 27px; animation-delay: -4.8s; }
.metrics-icon-flow { right: 7%; bottom: 12%; font-size: 27px; animation-delay: -1.2s; }
.metrics-icon-data { top: 47%; left: 47%; width: 54px; height: 54px; color: var(--acid); animation-delay: -3.5s; }
.metrics-icon-orbit { top: 45%; right: 2%; width: 45px; height: 45px; border-radius: 50%; color: var(--acid); animation-delay: -5.6s; }

@keyframes metrics-icon-float {
  0% { translate: 0 -8px; rotate: -4deg; }
  50% { translate: 10px 5px; rotate: 4deg; }
  100% { translate: -6px 13px; rotate: -7deg; }
}

.metrics-grid {
  margin-left: clamp(0px, 8vw, 110px);
}

.metric-item {
  --metric-glow: rgba(207, 255, 63, .24);
  position: relative;
  display: flex;
  min-height: 250px;
  overflow: hidden;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 38px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 92% 115%, var(--metric-glow), transparent 48%), rgba(255,255,255,.075);
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 28px 70px rgba(0,0,0,.18);
  backdrop-filter: blur(14px);
  transition: transform 350ms var(--ease-spring), background-color 250ms ease, border-color 250ms ease;
}

.metric-item:nth-child(2) { --metric-glow: rgba(69, 237, 137, .28); }
.metric-item:nth-child(3) { --metric-glow: rgba(168, 255, 200, .24); }
.metric-item:nth-child(4) { --metric-glow: rgba(213, 247, 76, .3); }

.metric-item:hover {
  border-color: rgba(255,255,255,.3);
  background: radial-gradient(circle at 92% 105%, var(--metric-glow), transparent 52%), rgba(255,255,255,.12);
  transform: translateY(-8px) rotateX(1deg);
}

.metric-item dt {
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: 11px;
  letter-spacing: .04em;
}

.metric-item dd {
  margin: 0;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(58px, 5.5vw, 78px);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .8;
}

.services.section-shell {
  width: 100%;
  max-width: none;
  padding-inline: max(var(--gutter), calc((100vw - var(--content)) / 2));
}

.services .section-heading > h2 {
  color: var(--white);
}

.services .section-heading > p {
  color: #888;
}

.services .eyebrow {
  color: var(--acid);
}

.service-item h3 {
  margin: 0;
}

.service-number {
  color: #777;
  font-size: 11px;
}

.service-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) 1fr;
  gap: 48px;
  max-height: 0;
  padding: 0 0 0 68px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height 650ms var(--ease-out), padding 650ms var(--ease-out), opacity 300ms ease, visibility 650ms;
}

.service-item.is-open .service-panel {
  max-height: 430px;
  padding-block: 8px 42px;
  opacity: 1;
  visibility: visible;
}

.service-panel > p {
  max-width: 510px;
  margin: 0;
  color: #b7b7b7;
  font-size: 14px;
}

.service-panel ul {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-panel li {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
}

.process-section {
  padding-block: 125px 155px;
}

.process-layout > .section-heading {
  margin-bottom: 90px;
}

.process {
  position: relative;
  width: min(720px, 82vw);
  aspect-ratio: 1.13;
  margin-inline: auto;
}

.process .process-orbit {
  position: absolute;
  inset: 12%;
  width: auto;
  margin: 0;
  border: 1px solid rgba(0, 0, 0, .25);
  border-radius: 50%;
}

.process .process-orbit::before {
  display: none;
}

.process-detail {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 285px;
  transform: translate(-50%, -50%);
  text-align: center;
}

.process-detail-number {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 10px;
}

.process-detail h3 {
  margin: 0 0 12px;
  font-family: "Inter Tight", sans-serif;
  font-size: 25px;
  letter-spacing: -.04em;
}

.process-detail > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.testimonials {
  padding-block: 100px 140px;
}

.testimonial-track {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card blockquote {
  margin: 0 0 62px;
}

.testimonial-card blockquote p {
  margin: 0;
  font-size: 13px;
}

.testimonial-card figcaption {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 13px;
  align-items: center;
}

.testimonial-card figcaption span:last-child {
  display: grid;
  gap: 3px;
}

.testimonial-card figcaption strong {
  font-size: 13px;
}

.testimonial-card figcaption small {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 24px;
}

.testimonial-dot {
  position: relative;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.testimonial-dot::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #858585;
  content: "";
  transform: translate(-50%, -50%);
  transition: width 300ms var(--ease-out), border-radius 300ms ease, background-color 200ms ease;
}

.testimonial-dot.is-active::before {
  width: 26px;
  border-radius: 99px;
  background: var(--ink);
}

.about {
  padding-block: 95px 150px;
}

.about .section-heading {
  grid-template-columns: 135px minmax(0, 1fr) minmax(250px, 390px);
}

.about-copy p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.team {
  margin-left: clamp(0px, 12vw, 170px);
}

.team > h3 {
  max-width: 600px;
  margin: 0 0 44px;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: -.05em;
  line-height: 1;
}

.team-card h4 {
  position: relative;
  z-index: 2;
  bottom: auto;
  left: auto;
  margin: 0 0 7px;
  font-size: 17px;
}

.team-card > p {
  position: relative;
  z-index: 2;
  bottom: auto;
  left: auto;
  max-width: 370px;
  margin: 0;
  color: #aaa;
  font-size: 10px;
  line-height: 1.45;
}

.team-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 190px 28px 28px;
}

.team-portrait {
  position: absolute;
  right: -22px;
  bottom: -38px;
  display: grid;
  width: 160px;
  aspect-ratio: 1;
  place-items: center;
  border: 25px solid var(--acid);
  border-radius: 50%;
  color: var(--white);
  font-family: "Inter Tight", sans-serif;
  font-size: 22px;
  font-weight: 700;
  transition: transform 500ms var(--ease-spring);
}

#sobre {
  scroll-margin-top: calc(var(--header-height) + 32px);
}

.team-card:hover .team-portrait {
  transform: rotate(15deg) scale(1.1);
}

.team-card::before {
  display: none;
}

.insights {
  padding-block: 105px 150px;
}

.insight-item {
  min-height: 240px;
}

.insight-item > time {
  display: block;
  margin-bottom: 12px;
  color: #656565;
  font-size: 11px;
}

.insight-content {
  min-height: 220px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--paper-strong);
  transition: background-color 250ms ease, transform 400ms var(--ease-spring);
}

.insight-item:hover .insight-content {
  background: var(--white);
  transform: translateY(-6px);
}

.insight-category {
  margin: 0 0 35px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.insight-content h3 {
  margin: 0 0 14px;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(21px, 2.15vw, 30px);
  letter-spacing: -.045em;
  line-height: 1.02;
}

.insight-content > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.insight-arrow {
  position: absolute;
  right: 72px;
  bottom: 80px;
}

.insight-item:nth-child(even) .insight-arrow {
  right: 18px;
}

.contact {
  width: 100%;
  padding-block: 95px 110px;
  background: var(--acid);
}

.contact-intro h2 {
  margin: 18px 0 24px;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(54px, 6.5vw, 94px);
  font-weight: 650;
  letter-spacing: -.07em;
  line-height: .9;
}

.contact-intro > p:not(.eyebrow):not(.section-index) {
  max-width: 520px;
  margin: 0 0 30px;
  font-size: clamp(16px, 1.55vw, 21px);
  font-weight: 600;
  letter-spacing: -.03em;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 600;
}

.form-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0;
  border: 0;
  margin: 0;
}

.form-options legend {
  width: 100%;
}

.form-options label {
  position: relative;
  margin: 0;
}

.form-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-options span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(0, 0, 0, .28);
  border-radius: 999px;
  cursor: pointer;
  font-size: 9px;
  font-weight: 600;
}

.form-options input:checked + span {
  background: var(--ink);
  color: var(--white);
}

.form-options input:focus-visible + span,
.interest-options input:focus-visible + span,
.checkbox-list input:focus-visible + span {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.form-consent {
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 8px;
  align-items: start;
  margin-top: 18px;
  font-size: 11px;
}

.form-consent input {
  width: 15px;
  height: 15px;
  margin: 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr .75fr;
  gap: 42px;
  align-items: start;
  padding-bottom: 55px;
}

.footer-main .footer-brand {
  display: grid;
  gap: 15px;
}

.footer-main .footer-brand .brand-mark {
  width: 72px;
  height: 72px;
}

.footer-statement {
  max-width: 200px;
  margin: 0;
  font-size: 11px;
}

.footer-nav,
.footer-social {
  display: grid;
  gap: 6px;
}

.footer-nav a,
.footer-social a {
  width: fit-content;
  font-size: 11px;
}

.footer-bottom > div {
  display: flex;
  gap: 17px;
}

.footer-bottom p {
  margin: 0;
}

/* Responsive */

@media (max-width: 1060px) {
  .header-inner {
    grid-template-columns: 130px 1fr auto;
  }

  .brand-name {
    display: none;
  }

  .site-nav ul,
  .desktop-nav ul,
  .nav-list {
    gap: 18px;
  }

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

  .service-panel-content,
  .service-content-inner {
    grid-template-columns: 1.3fr 1fr;
  }

  .service-price {
    grid-column: 2;
  }
}

@media (max-width: 960px) {
  .header-actions > .header-cta:not(.header-portfolio) {
    display: none;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 82px;
    --gutter: 20px;
  }

  .site-header,
  .site-header.is-scrolled {
    height: var(--header-height);
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    width: calc(100% - 34px);
  }

  .site-nav,
  .desktop-nav,
  .primary-nav {
    position: fixed;
    z-index: -1;
    top: var(--header-height);
    right: auto;
    left: 50%;
    display: grid;
    width: 100vw;
    height: calc(100svh - var(--header-height));
    place-items: center;
    align-content: center;
    gap: 24px;
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translate(-50%, -25px);
    transition: opacity 350ms ease, transform 500ms var(--ease-out), visibility 500ms;
  }

  body.menu-open .site-nav,
  body.menu-open .desktop-nav,
  body.menu-open .primary-nav {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translate(-50%, 0);
  }

  .site-nav ul,
  .desktop-nav ul,
  .nav-list {
    flex-direction: column;
    gap: 4px;
  }

  .site-nav a,
  .desktop-nav a,
  .primary-nav a,
  .nav-link {
    font-family: "Inter Tight", sans-serif;
    font-size: clamp(36px, 10vw, 60px);
    letter-spacing: -0.06em;
    line-height: 1;
  }

  #menu-toggle,
  .menu-toggle {
    display: block;
    order: 2;
  }

  .header-actions {
    gap: 6px;
  }

  .header-cta {
    min-height: 44px;
    padding-inline: 21px;
  }

  .header-portfolio {
    padding-inline: 18px;
  }

  #lang-toggle,
  .language-toggle,
  .lang-toggle {
    width: 43px;
    height: 43px;
  }

  #scene,
  .hero {
    min-height: 650px;
  }

  .hero-kicker {
    top: 21%;
    left: 22px;
  }

  .scroll-hint {
    bottom: 17%;
    left: 18%;
  }

  .side-ribbon {
    width: 48px;
    height: 170px;
  }

  .clients-section,
  .clients {
    padding: 90px 0 70px;
  }

  .section-intro,
  .projects-intro,
  .portfolio-intro,
  .section-heading,
  .section-heading.compact,
  .results-head,
  .metrics-head,
  .process-intro,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .intro-title-wrap,
  .services-heading,
  .testimonials-heading,
  .insights-heading {
    display: block;
  }

  .intro-title-wrap .section-label,
  .services-heading .section-label,
  .testimonials-heading .section-label,
  .insights-heading .section-label,
  .results-head .section-label,
  .metrics-head .section-label,
  .process-intro .section-label {
    margin: 0 0 26px;
  }

  .section-intro > p,
  .projects-intro > p,
  .portfolio-intro > p {
    max-width: 500px;
  }

  .projects-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card-featured {
    grid-column: auto;
  }

  .project-card-featured .project-visual {
    height: min(520px, 80vw);
  }

  .project-visual {
    height: min(520px, 80vw);
  }

  .metrics-grid,
  .results-grid {
    margin-left: 0;
  }

  .service-panel-content,
  .service-content-inner {
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .service-price {
    grid-column: auto;
  }

  .process-orbit,
  .process-wheel {
    width: min(650px, 96vw);
  }

  .testimonials-grid,
  .testimonial-track {
    grid-template-columns: 1fr;
  }

  .testimonial-track {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .testimonial-track::-webkit-scrollbar {
    display: none;
  }

  .testimonial-card {
    flex: 0 0 min(88%, 420px);
    scroll-snap-align: center;
  }

  .about-title {
    position: static;
  }

  .about .section-heading {
    grid-template-columns: 1fr;
  }

  .team {
    margin-left: 0;
  }

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

/* Direct WhatsApp contact */
.whatsapp-contact-card {
  position: relative;
  display: flex;
  min-height: 790px;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  gap: 38px;
  padding: 48px;
  border-radius: 28px;
  background: var(--ink);
  color: var(--white);
  isolation: isolate;
}

.whatsapp-contact-card::before {
  position: absolute;
  z-index: -1;
  top: -210px;
  right: -190px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(207, 255, 63, .28), rgba(207, 255, 63, 0) 68%);
  content: "";
}

.whatsapp-card-top h3 {
  max-width: 560px;
  margin: 26px 0 18px;
  font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(42px, 4vw, 60px);
  font-weight: 650;
  letter-spacing: -.05em;
  line-height: .98;
}

.whatsapp-card-top > p {
  max-width: 540px;
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: 17px;
  line-height: 1.45;
}

.whatsapp-kicker {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--acid);
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.whatsapp-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.whatsapp-feature-list span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .84);
  font-size: 12px;
}

.whatsapp-chat-preview {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .055);
  backdrop-filter: blur(12px);
}

.whatsapp-chat-preview p {
  width: fit-content;
  max-width: 82%;
  margin: 0;
  padding: 12px 15px;
  border-radius: 16px 16px 16px 5px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}

.whatsapp-chat-preview p:last-child {
  justify-self: end;
  border-radius: 16px 16px 5px 16px;
  background: var(--acid);
}

.whatsapp-card-action {
  display: grid;
  gap: 10px;
}

.whatsapp-phone-label {
  color: rgba(255, 255, 255, .54);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.whatsapp-phone-number {
  margin-bottom: 12px;
  font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(28px, 3.1vw, 44px);
  font-weight: 620;
  letter-spacing: -.035em;
  line-height: 1;
}

.whatsapp-primary-cta {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 25px;
  border-radius: 999px;
  background: var(--acid);
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .25s ease, background-color .25s ease;
}

.whatsapp-primary-cta:hover,
.whatsapp-primary-cta:focus-visible {
  background: var(--white);
  transform: translateY(-3px);
}

.whatsapp-card-action small {
  color: rgba(255, 255, 255, .48);
  font-size: 11px;
}

@media (max-width: 720px) {
  .whatsapp-contact-card {
    min-height: 650px;
    gap: 30px;
    padding: 28px 22px;
  }

  .whatsapp-card-top h3 {
    font-size: clamp(39px, 12vw, 54px);
  }

  .whatsapp-chat-preview {
    padding: 16px;
  }

  .whatsapp-phone-number {
    font-size: clamp(27px, 8vw, 36px);
  }
}

@media (max-width: 560px) {
  .display-title {
    font-size: clamp(58px, 20vw, 88px);
  }

  .statement-title {
    font-size: clamp(39px, 11vw, 58px);
  }

  .brand-mark,
  .logo-mark {
    width: 43px;
    height: 43px;
  }

  .header-cta {
    font-size: 12px;
  }

  .header-cta > span {
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-portfolio {
    padding-inline: 14px;
    font-size: 11px;
  }

  .header-portfolio > span {
    max-width: none;
  }

  .side-ribbon {
    top: 49%;
  }

  .client-logo,
  .logo-marquee-item {
    width: 170px;
    height: 128px;
    border-radius: 22px;
  }

  .projects-section,
  .portfolio-section,
  #projetos,
  .results-section,
  .metrics-section,
  .process-section,
  #processo,
  #process,
  .testimonials-section,
  #depoimentos,
  .about-section,
  #sobre,
  .insights-section,
  #insights {
    padding-block: 82px 105px;
  }

  .services-section,
  #servicos {
    padding-block: 82px 100px;
  }

  .metrics-grid,
  .results-grid {
    grid-template-columns: 1fr;
  }

  .metric-card,
  .result-card {
    min-height: 210px;
  }

  .metric-value,
  .result-value {
    margin-bottom: 56px;
  }

  .service-trigger {
    grid-template-columns: 34px 1fr auto;
    gap: 9px;
  }

  .service-icon {
    width: 30px;
    height: 30px;
  }

  .process,
  .process-orbit,
  .process-wheel {
    display: grid;
    width: 100%;
    aspect-ratio: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .process .process-orbit,
  .process-orbit::before,
  .process-wheel::before {
    display: none;
  }

  .process-copy,
  .process-center {
    position: relative;
    top: auto;
    left: auto;
    grid-column: 1 / -1;
    grid-row: 1;
    width: auto;
    min-height: 180px;
    padding: 35px 24px;
    border-radius: var(--radius-lg);
    background: var(--paper-strong);
    transform: none;
  }

  .process-node,
  .process-node:nth-of-type(1),
  .process-node:nth-of-type(2),
  .process-node:nth-of-type(3),
  .process-node:nth-of-type(4),
  .process-node:nth-of-type(5),
  .process-node:nth-of-type(6) {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 1.45;
    border-radius: 22px;
    transform: none;
  }

  .process-detail {
    position: relative;
    top: auto;
    left: auto;
    grid-column: 1 / -1;
    grid-row: 1;
    width: auto;
    min-height: 180px;
    padding: 35px 24px;
    border-radius: var(--radius-lg);
    background: var(--paper-strong);
    transform: none;
  }

  .process-node:hover,
  .process-node.is-active,
  .process-node[aria-pressed="true"],
  .process-node:nth-of-type(1):hover,
  .process-node:nth-of-type(1).is-active,
  .process-node:nth-of-type(4):hover,
  .process-node:nth-of-type(4).is-active {
    transform: translateY(-3px);
  }

  .team-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .insights-timeline::before,
  .timeline::before {
    left: 6px;
  }

  .insight-item,
  .timeline-item,
  .insight-item:nth-child(even),
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 0 0 34px 33px;
  }

  .insight-item::after,
  .timeline-item::after,
  .insight-item:nth-child(even)::after,
  .timeline-item:nth-child(even)::after {
    top: 33px;
    right: auto;
    left: 0;
  }

  #contact-form,
  .contact-form {
    padding: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .client-marquee,
  .logo-marquee {
    animation: none;
  }
}

/* Reference-aligned services, process and closing sections */

#servicos.services {
  width: 100%;
  max-width: none;
  padding: 58px max(26px, calc((100vw - var(--content)) / 2)) 78px;
  border-radius: 30px;
  background: #000;
  color: var(--white);
}

.services-reference-heading {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 0 0 132px;
}

.services-reference-copy {
  grid-column: 2;
  max-width: 620px;
  margin: 28px 0 0;
  color: #969696;
  font-size: 16px;
  line-height: 1.55;
}

.services-reference-heading .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 28px;
  color: var(--acid);
  font-size: 15px;
}

.services-reference-heading .eyebrow::before {
  display: none;
}

.services-reference-heading .eyebrow > span:first-child {
  font-size: 20px;
}

.services-reference-heading h2 {
  margin: 0;
  color: var(--white);
  font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(84px, 9vw, 116px);
  font-weight: 650;
  letter-spacing: -.07em;
  line-height: .88;
}

#services-accordion.services-accordion {
  border-top: 1px solid #323232;
}

#services-accordion .service-item {
  border-bottom: 1px solid #323232;
}

#services-accordion .service-item h3 {
  margin: 0;
}

#services-accordion .service-trigger {
  display: grid;
  width: 100%;
  min-height: 76px;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 20px;
  align-items: center;
  padding: 22px 4px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  text-align: left;
}

#services-accordion .service-trigger > span:first-child {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.025em;
  transition: color 220ms ease;
}

#services-accordion .service-trigger:hover > span:first-child {
  color: var(--acid);
}

#services-accordion .service-trigger[aria-expanded="true"] > span:first-child {
  color: var(--white);
}

#services-accordion .service-trigger[aria-expanded="true"]:hover > span:first-child {
  color: var(--acid);
}

#services-accordion .service-icon {
  position: relative;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 0;
  color: currentColor;
  font-size: 0;
  transition: color 220ms ease, transform 350ms var(--ease-out);
}

#services-accordion .service-icon::before,
#services-accordion .service-icon::after {
  width: 12px;
  height: 1.5px;
}

#services-accordion .service-trigger:hover .service-icon,
#services-accordion .service-trigger[aria-expanded="true"] .service-icon {
  background: transparent;
  color: var(--acid);
}

#services-accordion .service-trigger[aria-expanded="true"] .service-icon {
  transform: rotate(180deg);
}

#services-accordion .service-panel {
  display: block;
  max-height: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height 440ms var(--ease-out), opacity 260ms ease, visibility 440ms;
}

#services-accordion .service-item.is-open .service-panel {
  max-height: 360px;
  padding: 0;
  overflow: visible;
  opacity: 1;
  visibility: visible;
}

#services-accordion .service-item.is-open .service-trigger {
  padding-top: 38px;
  padding-bottom: 6px;
}

#services-accordion .service-panel-content {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(330px, 1.2fr) minmax(180px, .62fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
  padding: 18px 44px 38px 4px;
}

#services-accordion .service-summary p {
  max-width: 430px;
  margin: 0 0 14px;
  color: #8f8f8f;
  font-size: 14px;
  line-height: 1.55;
}

#services-accordion .service-item.is-open .service-summary {
  padding-top: 0;
}

#services-accordion .service-item.is-open .service-includes {
  transform: none;
}

#services-accordion .service-item.is-open .service-price-label,
#services-accordion .service-item.is-open .service-price strong {
  position: static;
}

#services-accordion .service-detail-label,
#services-accordion .service-includes-label,
#services-accordion .service-price-label {
  display: block;
  margin: 0 0 10px;
  color: #797979;
  font-size: 12px;
  font-weight: 500;
}

#services-accordion .service-detail-label {
  color: var(--acid);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#services-accordion .service-outcomes {
  display: grid;
  gap: 6px;
  padding: 0;
  margin: 0;
  color: #d5d5d5;
  font-size: 11px;
  list-style: none;
}

#services-accordion .service-outcomes li {
  position: relative;
  padding: 0 0 0 15px;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: 500;
}

#services-accordion .service-outcomes li::before {
  position: absolute;
  top: .42em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid);
  content: "";
}

#services-accordion .service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

#services-accordion .service-tag {
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

#services-accordion .service-price strong {
  display: block;
  margin: 0 0 22px;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
}

#services-accordion .service-quote {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border-radius: 999px;
  background: var(--acid);
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  transition: transform 250ms var(--ease-spring), background-color 220ms ease;
}

#services-accordion .service-quote:hover {
  background: var(--white);
  transform: translateY(-2px);
}

/* Selected project showcase */

.project-showcase-grid {
  align-items: stretch;
}

.project-case-preview {
  display: block;
  border-radius: var(--radius-lg);
  color: inherit;
}

.project-site-visual {
  background:
    radial-gradient(circle at 16% 12%, rgba(207, 255, 63, .42), transparent 33%),
    linear-gradient(145deg, #e9eee4, #c9d0c3);
}

.project-case-card:nth-child(2) .project-site-visual {
  background:
    radial-gradient(circle at 86% 14%, rgba(95, 154, 215, .55), transparent 34%),
    linear-gradient(145deg, #d9e4ee, #9eb3c7);
}

.project-site-visual::before,
.project-site-visual::after {
  display: none;
}

.project-site-visual img {
  position: absolute;
  top: 50%;
  left: 6%;
  width: 88%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 4px solid var(--ink);
  border-radius: 11px;
  box-shadow: 0 26px 44px rgba(12, 12, 12, .25);
  object-fit: contain;
  object-position: center;
  transform: translateY(-50%) perspective(900px) rotateX(2deg) rotateY(-3deg);
  transition: transform 550ms var(--ease-out), box-shadow 550ms var(--ease-out), filter 350ms ease;
}

.project-site-visual picture {
  display: contents;
}

.project-case-preview:hover .project-site-visual img,
.project-case-preview:focus-visible .project-site-visual img {
  box-shadow: 0 32px 50px rgba(12, 12, 12, .32);
  filter: saturate(1.06);
  transform: translateY(calc(-50% - 5px)) perspective(900px) rotateX(0) rotateY(0);
}

.project-preview-action {
  position: absolute;
  z-index: 4;
  right: 9%;
  bottom: 11%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  font-size: 19px;
  font-weight: 750;
  transform: scale(.9);
  transition: transform 350ms var(--ease-spring), background-color 250ms ease;
}

.project-case-preview:hover .project-preview-action,
.project-case-preview:focus-visible .project-preview-action {
  background: var(--white);
  transform: scale(1) rotate(7deg);
}

.project-case-meta {
  min-height: 292px;
}

.project-more-card {
  min-height: 662px;
}

.project-more-link {
  position: relative;
  display: flex;
  height: 100%;
  min-height: 662px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--acid);
  color: var(--ink);
  isolation: isolate;
  transition: background-color 350ms ease, color 350ms ease, transform 450ms var(--ease-spring);
}

.project-more-link::before,
.project-more-link::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(10, 10, 10, .2);
  border-radius: 50%;
  content: "";
  transition: transform 800ms var(--ease-out), border-color 350ms ease;
}

.project-more-link::before {
  top: 15%;
  right: -38%;
  width: 116%;
  aspect-ratio: 1;
}

.project-more-link::after {
  top: 29%;
  right: -12%;
  width: 66%;
  aspect-ratio: 1;
}

.project-more-link:hover,
.project-more-link:focus-visible {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-5px);
}

.project-more-link:hover::before,
.project-more-link:focus-visible::before {
  border-color: rgba(255, 255, 255, .2);
  transform: rotate(20deg) scale(1.06);
}

.project-more-link:hover::after,
.project-more-link:focus-visible::after {
  border-color: rgba(255, 255, 255, .2);
  transform: rotate(-28deg) scale(.9);
}

.project-more-kicker {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.project-more-title {
  margin: auto 0;
  font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(54px, 5vw, 78px);
  font-weight: 650;
  letter-spacing: -.07em;
  line-height: .88;
}

.project-more-arrow {
  position: absolute;
  top: 26px;
  right: 28px;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 21px;
  transition: transform 400ms var(--ease-spring);
}

.project-more-link:hover .project-more-arrow,
.project-more-link:focus-visible .project-more-arrow {
  transform: rotate(12deg) scale(1.08);
}

.project-more-description {
  max-width: 245px;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 820px) {
  .project-case-meta {
    min-height: 270px;
  }

  .project-more-card,
  .project-more-link {
    min-height: min(520px, 105vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-site-visual img,
  .project-preview-action,
  .project-more-link,
  .project-more-link::before,
  .project-more-link::after,
  .project-more-arrow {
    transition: none;
  }
}

.process-section {
  padding: 112px 0 150px;
}

#process.process {
  --process-node-size: 151px;
  position: relative;
  display: block;
  width: min(707px, calc(100vw - 44px));
  aspect-ratio: 1;
  padding: 0;
  margin-inline: auto;
}

.process-rotator {
  position: absolute;
  z-index: 1;
  inset: 0;
  animation: atlas-process-spin 222s linear infinite;
}

#process .process-orbit {
  position: absolute;
  inset: calc(var(--process-node-size) / 2);
  width: auto;
  aspect-ratio: auto;
  margin: 0;
  border: 1px solid rgba(5, 5, 5, .42);
  border-radius: 50%;
}

#process .process-node {
  position: absolute;
  z-index: 3;
  right: auto;
  bottom: auto;
  display: grid;
  width: var(--process-node-size);
  height: var(--process-node-size);
  aspect-ratio: 1;
  place-items: center;
  padding: 20px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  transform: translate(-50%, -50%);
  transition: background-color 280ms ease, color 280ms ease, transform 360ms var(--ease-spring);
}

#process .process-node-inner {
  display: grid;
  gap: 5px;
  place-items: center;
  animation: atlas-process-counter-spin 222s linear infinite;
}

#process .process-node-number {
  display: block;
  font-size: 10px;
  font-weight: 500;
}

#process .process-node:hover,
#process .process-node.is-active,
#process .process-node[aria-pressed="true"] {
  background: var(--acid);
  color: var(--ink);
  transform: translate(-50%, -50%) scale(1.035);
}

#process .process-node:nth-of-type(1) { top: 10.68%; left: 50%; }
#process .process-node:nth-of-type(2) { top: 37.85%; left: 87.40%; }
#process .process-node:nth-of-type(3) { top: 81.82%; left: 73.11%; }
#process .process-node:nth-of-type(4) { top: 81.82%; left: 26.89%; }
#process .process-node:nth-of-type(5) { top: 37.85%; left: 12.60%; }

.metric-item .metric-outcome {
  max-width: 100%;
  font-size: clamp(28px, 3vw, 44px);
  line-height: .95;
  overflow-wrap: anywhere;
}

.insight-item > .insight-date {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
}

#process .process-detail {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 285px;
  transform: translate(-50%, -50%);
  text-align: center;
}

#process .process-detail-number,
#process .process-detail h3 {
  display: none;
}

#process .process-detail > p:last-child {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

@keyframes atlas-process-spin {
  to { transform: rotate(360deg); }
}

@keyframes atlas-process-counter-spin {
  to { transform: rotate(-360deg); }
}

#contato.contact {
  width: 100%;
  padding: 20px;
  border-radius: 30px;
  overflow: hidden;
  background: var(--acid);
}

#contato .contact-layout {
  display: grid;
  width: 100%;
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  margin: 0;
}

#contato .contact-intro {
  position: relative;
  display: flex;
  min-height: 790px;
  flex-direction: column;
  justify-content: center;
  padding: 66px;
}

#contato .contact-intro h2 {
  max-width: 520px;
  margin: 0 0 26px;
  font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(56px, 5.2vw, 72px);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: 1.02;
}

#contato .contact-title-muted {
  color: #81817c;
}

#contato .contact-intro p {
  max-width: 520px;
  margin: 0;
  font-size: clamp(16px, 1.45vw, 19px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.25;
}

.contact-globe {
  position: absolute;
  bottom: 8px;
  left: 0;
  display: block;
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, .52);
  border-radius: 50%;
}

.contact-globe::before,
.contact-globe::after,
.contact-globe > span {
  position: absolute;
  content: "";
}

.contact-globe::before {
  top: 50%;
  right: 3px;
  left: 3px;
  border-top: 1.5px solid rgba(255, 255, 255, .52);
}

.contact-globe::after {
  top: 3px;
  bottom: 3px;
  left: 50%;
  border-left: 1.5px solid rgba(255, 255, 255, .52);
}

.contact-globe > span {
  inset: 7px 3px;
  border: 1.5px solid rgba(255, 255, 255, .52);
  border-top: 0;
  border-bottom: 0;
  border-radius: 50%;
}

#contact-form.contact-form {
  display: grid;
  min-height: 790px;
  align-content: start;
  gap: 13px;
  padding: 30px;
  border-radius: 28px;
  background: var(--white);
}

#contact-form .form-field {
  min-width: 0;
}

#contact-form .form-field label,
#contact-form .form-field legend {
  display: block;
  margin: 0 0 7px;
  font-size: 13px;
  font-weight: 600;
}

#contact-form .form-field input:not([type="checkbox"]),
#contact-form .form-field select,
#contact-form .form-field textarea {
  width: 100%;
  border: 0;
  border-radius: 0;
  outline-offset: 2px;
  background: #f0f0f0;
  color: var(--ink);
}

#contact-form .form-field input:not([type="checkbox"]),
#contact-form .form-field select {
  height: 40px;
  padding: 0 14px;
}

#contact-form .form-field textarea {
  min-height: 96px;
  padding: 12px 14px;
  resize: vertical;
}

#contact-form .form-options {
  display: grid;
  gap: 5px;
  padding: 0;
  border: 0;
  margin: 0;
}

#contact-form .form-options legend {
  width: auto;
  margin-bottom: 5px;
}

#contact-form .form-options label {
  position: static;
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  margin: 0;
}

#contact-form .form-options input {
  position: static;
  width: 14px;
  height: 14px;
  margin: 0;
  opacity: 1;
  accent-color: var(--ink);
}

#contact-form .form-options span {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
}

#contact-form .form-options input:checked + span {
  background: transparent;
  color: var(--ink);
  font-weight: 600;
}

#contact-form .form-submit {
  width: 100%;
  min-height: 42px;
  margin: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
}

#contact-form .form-status {
  min-height: 16px;
  margin: 0;
}

.site-footer {
  padding: 26px 0 28px;
  background: var(--paper);
}

.site-footer .section-shell {
  width: calc(100% - 52px);
  max-width: none;
}

.site-footer .footer-main {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
  padding-bottom: 78px;
}

.footer-brand-column {
  display: grid;
  gap: 22px;
}

.site-footer .footer-main .footer-brand {
  display: block;
}

.site-footer .footer-main .footer-brand .brand-mark {
  width: 112px;
  height: 112px;
}

.site-footer .footer-statement {
  max-width: 265px;
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
}

.site-footer .footer-column h2 {
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 700;
}

.site-footer .footer-column p,
.site-footer .footer-column a,
.site-footer .footer-nav a,
.site-footer .footer-social a {
  font-size: 15px;
  line-height: 1.5;
}

.site-footer .footer-nav,
.site-footer .footer-social {
  display: grid;
  gap: 6px;
}

.site-footer .footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.site-footer .footer-social .footer-portfolio-button {
  width: fit-content;
  min-height: 44px;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  margin-top: 14px;
  border-radius: 999px;
  background: var(--acid);
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  transition: transform 260ms var(--ease-spring), background-color 220ms ease;
}

.site-footer .footer-social .footer-portfolio-button:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-3px);
}

.site-footer .footer-bottom {
  display: block;
  padding: 0;
  border: 0;
  color: var(--ink);
  font-size: 13px;
}

@media (max-width: 1024px) {
  .services-reference-heading {
    grid-template-columns: 170px minmax(0, 1fr);
    padding-bottom: 100px;
  }

  .services-reference-copy {
    max-width: 540px;
  }

  #services-accordion .service-panel-content {
    grid-template-columns: 1fr 1fr;
  }

  #services-accordion .service-price {
    grid-column: 2;
  }

  #services-accordion .service-item.is-open .service-panel {
    max-height: 460px;
  }

  #contato .contact-intro {
    padding: 46px;
  }

  .site-footer .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 58px;
  }
}

@media (max-width: 720px) {
  .side-ribbon {
    display: none;
  }

  .metrics {
    padding: 72px 0 90px;
    border-radius: 24px;
  }

  .metric-item {
    min-height: 205px;
    padding: 28px;
  }

  .metric-item dt {
    margin-bottom: 0;
  }

  .metrics-float-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    font-size: 13px;
    opacity: .58;
  }

  .metrics-icon-ai {
    width: 52px;
    height: 52px;
  }

  .metrics-icon-gear,
  .metrics-icon-flow {
    font-size: 20px;
  }

  .team-card {
    min-height: 220px;
    padding: 24px 128px 24px 22px;
  }

  .team-card h4 {
    font-size: 16px;
  }

  .team-card > p {
    font-size: 9px;
  }

  .team-portrait {
    right: -24px;
    bottom: -30px;
    width: 128px;
    border-width: 20px;
  }

  .project-meta {
    min-height: 0;
    grid-template-rows: auto;
    padding-inline: 4px;
  }

  .project-meta > div {
    min-height: 0;
  }

  .project-examples ul {
    gap: 6px;
  }

  #servicos.services {
    padding: 48px 20px 65px;
    border-radius: 24px;
  }

  .services-reference-heading {
    display: block;
    padding-bottom: 72px;
  }

  .services-reference-copy {
    max-width: 520px;
    margin-top: 24px;
    font-size: 14px;
  }

  .services-reference-heading .eyebrow {
    padding: 0 0 24px;
  }

  .services-reference-heading h2 {
    font-size: clamp(72px, 22vw, 105px);
  }

  #services-accordion .service-trigger {
    min-height: 66px;
    padding-block: 18px;
  }

  #services-accordion .service-item.is-open .service-trigger {
    padding-block: 18px;
  }

  #services-accordion .service-panel-content {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 4px 30px;
  }

  #services-accordion .service-price {
    grid-column: auto;
  }

  #services-accordion .service-item.is-open .service-summary {
    padding-top: 0;
  }

  #services-accordion .service-item.is-open .service-includes {
    transform: none;
  }

  #services-accordion .service-item.is-open .service-price-label,
  #services-accordion .service-item.is-open .service-price strong {
    position: static;
  }

  #services-accordion .service-item.is-open .service-panel {
    max-height: 720px;
  }

  #process.process {
    --process-node-size: clamp(60px, 20vw, 96px);
    width: min(100%, 470px);
  }

  #process .process-node {
    padding: 10px;
    font-size: 9px;
  }

  #process .process-node-number {
    font-size: 8px;
  }

  #process .process-detail {
    width: min(130px, 36vw);
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  #process .process-detail > p:last-child {
    font-size: 10px;
  }

  #contato.contact {
    padding: 16px;
    border-radius: 24px;
  }

  #contato .contact-layout {
    grid-template-columns: 1fr;
  }

  #contato .contact-intro {
    min-height: 520px;
    padding: 38px 20px 70px;
  }

  #contato .contact-intro h2 {
    font-size: clamp(50px, 15vw, 72px);
  }

  #contact-form.contact-form {
    min-height: 0;
    padding: 22px;
  }

  .site-footer .section-shell {
    width: calc(100% - 40px);
  }

  .site-footer .footer-main {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-rotator,
  #process .process-node-inner {
    animation: none !important;
  }
}

/* Additional details visible in the comparison recording */

.testimonials.section-shell {
  width: 100%;
  max-width: none;
  padding-inline: max(var(--gutter), calc((100vw - var(--content)) / 2));
  overflow: hidden;
}

.testimonials .section-heading.compact {
  grid-template-columns: 205px minmax(0, 1fr);
  margin-bottom: 80px;
}

.testimonials .section-heading > h2 {
  font-size: clamp(78px, 9vw, 116px);
  line-height: .88;
}

.testimonials .testimonial-track {
  width: calc(100% + 120px);
  grid-template-columns: repeat(3, minmax(360px, 1fr));
  margin-left: -60px;
}

.testimonials .testimonial-card {
  min-height: 330px;
}

.insight-content {
  position: relative;
  padding-bottom: 72px;
}

.insight-content::after {
  position: absolute;
  top: 38px;
  right: -18px;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 20px solid var(--paper-strong);
  content: "";
  transition: border-color 250ms ease;
}

.insight-item:nth-child(even) .insight-content::after {
  right: auto;
  left: -18px;
  border-right: 20px solid var(--paper-strong);
  border-left: 0;
}

.insight-item:hover .insight-content::after {
  border-left-color: var(--white);
}

.insight-item:nth-child(even):hover .insight-content::after {
  border-right-color: var(--white);
}

.insight-item::after,
.timeline-item::after {
  right: -10px;
  width: 21px;
  height: 21px;
}

.insight-item:nth-child(even)::after,
.timeline-item:nth-child(even)::after {
  left: -11px;
}

.insight-content > p:nth-last-of-type(1) {
  margin-bottom: 20px;
}

.insight-read-more {
  position: absolute;
  bottom: 25px;
  left: 28px;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border-radius: 999px;
  background: var(--acid);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform 250ms var(--ease-spring), background-color 220ms ease;
}

.insight-read-more:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

@media (max-width: 820px) {
  .testimonials .section-heading.compact {
    grid-template-columns: 1fr;
  }

  .testimonials .section-heading > h2 {
    font-size: clamp(68px, 18vw, 100px);
  }

  .testimonials .testimonial-track {
    display: flex;
    width: 100%;
    margin-left: 0;
  }

  .insight-content::after {
    right: auto;
    left: -18px;
    border-right: 20px solid var(--paper-strong);
    border-left: 0;
  }

  .insight-item:hover .insight-content::after {
    border-right-color: var(--white);
  }
}

/* Mobile refinement — compact hierarchy, readable copy and touch-friendly spacing */
@media (max-width: 720px) {
  :root {
    --header-height: 72px;
    --gutter: 20px;
    --radius-lg: 24px;
  }

  body {
    font-size: 15px;
    line-height: 1.5;
  }

  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  main > section:not(.hero) {
    content-visibility: visible;
    contain-intrinsic-size: none;
  }

  section[id] {
    scroll-margin-top: calc(var(--header-height) + 12px);
  }

  .site-header,
  .site-header.is-scrolled {
    height: var(--header-height);
  }

  .header-inner {
    width: calc(100% - 24px);
  }

  .brand-mark,
  .logo-mark {
    width: 38px;
    height: 38px;
  }

  .header-actions {
    gap: 5px;
  }

  .header-portfolio {
    min-height: 40px;
    padding-inline: 13px;
    font-size: 10.5px;
  }

  #lang-toggle,
  .language-toggle,
  .lang-toggle {
    width: 40px;
    height: 40px;
    font-size: 9px;
  }

  #menu-toggle,
  .menu-toggle {
    width: 40px;
    height: 40px;
    padding: 10px 8px;
  }

  .site-nav,
  .desktop-nav,
  .primary-nav {
    top: var(--header-height);
    height: calc(100svh - var(--header-height));
  }

  .site-nav a,
  .desktop-nav a,
  .primary-nav a,
  .nav-link {
    margin: 0;
    font-size: clamp(38px, 12vw, 52px);
  }

  #scene,
  .hero {
    height: 100svh;
    min-height: 680px;
  }

  .hero .hero-content > .eyebrow {
    top: 21%;
    left: 20px;
    max-width: 250px;
    font-size: 12px;
    line-height: 1.35;
  }

  .hero .hero-content > h1,
  .hero .hero-copy {
    contain: strict;
  }

  .webgl-fallback::before {
    inset: 48% 6% auto 16%;
    font-size: clamp(66px, 20vw, 82px);
    line-height: .78;
  }

  .webgl-fallback::after {
    top: 43%;
    left: 38%;
    width: clamp(150px, 44vw, 178px);
  }

  .scroll-hint {
    bottom: 10%;
    left: 20px;
    color: rgba(5, 5, 5, .74);
    font-size: 11px;
  }

  .clients-section,
  .clients {
    padding: 74px 0 70px;
  }

  .clients .section-intro {
    display: block;
    width: calc(100% - 40px);
    margin-bottom: 38px;
  }

  .clients .section-intro .section-index {
    margin-bottom: 22px;
  }

  .clients .section-intro h2 {
    max-width: 330px;
    font-size: clamp(42px, 13vw, 52px);
    line-height: .94;
  }

  .client-list li {
    width: min(70vw, 248px);
    height: 150px;
    padding: 18px;
    font-size: 21px;
  }

  .projects,
  #projetos,
  .metrics,
  #servicos.services,
  .process-section,
  .testimonials,
  .about,
  .insights {
    scroll-margin-top: calc(var(--header-height) + 12px);
  }

  .projects,
  #projetos {
    padding-block: 76px 92px;
  }

  .section-heading,
  .section-heading.compact,
  .about .section-heading,
  .testimonials .section-heading.compact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 44px;
  }

  .section-heading > div:first-child {
    padding-top: 0;
  }

  .section-heading > h2,
  .testimonials .section-heading > h2,
  .about .section-heading > h2 {
    max-width: 100%;
    font-size: clamp(44px, 13vw, 54px);
    letter-spacing: -.055em;
    line-height: .96;
    overflow-wrap: anywhere;
  }

  .section-heading > p,
  .section-heading > .about-copy,
  .about-copy p {
    max-width: 100%;
    margin-top: 0;
    font-size: 15px;
    line-height: 1.5;
  }

  .project-showcase-grid {
    gap: 14px;
  }

  .project-case-preview,
  .project-site-visual,
  .project-more-link {
    border-radius: 24px;
  }

  .project-case-meta {
    display: grid;
    min-height: 0;
    grid-template-rows: auto;
    gap: 16px;
    padding: 22px 4px 42px;
  }

  .project-case-meta > div,
  .project-case-meta > p,
  .project-case-meta .project-examples,
  .project-case-meta .project-link {
    min-height: 0;
    margin-top: 0;
  }

  .project-case-meta .project-link {
    position: relative;
    justify-self: start;
  }

  .project-more-card,
  .project-more-link {
    min-height: min(360px, 92vw);
  }

  .project-more-link {
    padding: 26px;
  }

  .project-more-title {
    font-size: clamp(48px, 15vw, 62px);
  }

  .project-more-description {
    max-width: 230px;
    font-size: 12px;
  }

  .metrics {
    padding: 72px 0 84px;
    border-radius: 24px;
  }

  .metric-item {
    min-height: 190px;
    padding: 26px;
  }

  .metric-item dd {
    font-size: clamp(48px, 15vw, 62px);
  }

  .metric-item .metric-outcome {
    font-size: clamp(29px, 9vw, 38px);
    line-height: .98;
  }

  #servicos.services {
    padding: 46px 20px 62px;
  }

  .services-reference-heading {
    padding-bottom: 54px;
  }

  .services-reference-heading .eyebrow {
    padding-bottom: 20px;
    font-size: 13px;
  }

  .services-reference-heading h2 {
    max-width: 100%;
    font-size: clamp(43px, 12.5vw, 52px);
    letter-spacing: -.055em;
    line-height: .93;
    overflow-wrap: anywhere;
  }

  .services-reference-copy {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.55;
  }

  #services-accordion .service-trigger,
  #services-accordion .service-item.is-open .service-trigger {
    min-height: 68px;
    gap: 14px;
    padding: 18px 2px;
  }

  #services-accordion .service-trigger > span:first-child {
    font-size: 15px;
    line-height: 1.25;
  }

  #services-accordion .service-panel-content {
    gap: 22px;
    padding: 2px 2px 30px;
  }

  #services-accordion .service-summary p {
    font-size: 14px;
    line-height: 1.55;
  }

  #services-accordion .service-outcomes {
    gap: 8px;
    font-size: 12px;
  }

  #services-accordion .service-tag {
    padding: 8px 12px;
    font-size: 10.5px;
  }

  #services-accordion .service-item.is-open .service-panel {
    max-height: 820px;
  }

  .process-section {
    padding: 72px 0 58px;
    overflow: hidden;
  }

  .process-layout > .section-heading {
    margin-bottom: 34px;
  }

  #process.process {
    --process-node-size: clamp(70px, 19vw, 78px);
    width: min(calc(100% - 30px), 334px);
  }

  #process .process-node {
    padding: 8px 5px;
    font-size: 8px;
    line-height: 1.06;
  }

  #process .process-node-inner {
    width: 100%;
    gap: 3px;
  }

  #process .process-node-inner > span:last-child {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  #process .process-node:nth-of-type(3) .process-node-inner > span:last-child {
    font-size: 7px;
    letter-spacing: -.02em;
  }

  #process .process-node-number {
    font-size: 7.5px;
  }

  #process .process-detail {
    width: min(124px, 35vw);
  }

  #process .process-detail > p:last-child {
    font-size: 10px;
    line-height: 1.32;
  }

  .testimonials {
    padding-block: 78px 92px;
  }

  .testimonials .testimonial-track {
    gap: 12px;
    padding-inline: 2px;
  }

  .testimonials .testimonial-card {
    min-height: 300px;
    flex-basis: min(88%, 360px);
    padding: 26px;
  }

  .testimonial-card blockquote p {
    font-size: 15px;
    line-height: 1.45;
  }

  .about {
    padding-block: 78px 96px;
  }

  .about .section-heading {
    gap: 28px;
  }

  .team {
    margin-left: 0;
  }

  .team > h3 {
    margin-bottom: 30px;
    font-size: clamp(34px, 10vw, 43px);
    line-height: .98;
  }

  .team-card {
    min-height: 235px;
    padding: 26px 118px 24px 22px;
  }

  .team-card > p {
    font-size: 11px;
  }

  .insights {
    padding-block: 78px 96px;
  }

  .insight-item,
  .timeline-item {
    padding-left: 27px;
  }

  .insight-content {
    min-height: 0;
    padding: 24px 22px 68px;
    border-radius: 22px;
  }

  .insight-content h3 {
    font-size: 25px;
    line-height: 1.05;
  }

  .insight-content > p:last-child {
    font-size: 13px;
    line-height: 1.5;
  }

  #contato.contact {
    padding: 12px;
    border-radius: 22px;
  }

  #contato .contact-intro {
    min-height: 430px;
    padding: 38px 18px 64px;
  }

  #contato .contact-intro h2 {
    max-width: 100%;
    font-size: clamp(44px, 13vw, 54px);
    line-height: .98;
  }

  #contato .contact-intro p {
    font-size: 16px;
    line-height: 1.45;
  }

  #contact-form.contact-form {
    padding: 22px 18px;
    border-radius: 20px;
  }

  #contact-form .form-field input:not([type="checkbox"]),
  #contact-form .form-field select {
    height: 46px;
  }

  #contact-form .form-field textarea {
    min-height: 112px;
  }

  .site-footer {
    padding-block: 38px 30px;
  }

  .site-footer .section-shell {
    width: calc(100% - 40px);
  }

  .site-footer .footer-main {
    gap: 36px;
    padding-bottom: 52px;
  }

  .site-footer .footer-main .footer-brand .brand-mark {
    width: 78px;
    height: 78px;
  }

  .site-footer .footer-statement,
  .site-footer .footer-column p,
  .site-footer .footer-column a,
  .site-footer .footer-nav a,
  .site-footer .footer-social a {
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .header-portfolio {
    padding-inline: 10px;
    font-size: 9.5px;
  }

  #lang-toggle,
  .language-toggle,
  .lang-toggle,
  #menu-toggle,
  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .services-reference-heading h2,
  .section-heading > h2,
  .testimonials .section-heading > h2,
  .about .section-heading > h2 {
    font-size: 42px;
  }
}
