/* A fonte Inter é carregada por <link> no <head> de cada página: o @import
   daqui atrasava o download em uma requisição encadeada. */

:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --surface-alt: #eeeeeb;
  --ink: #020817;
  --muted: #626873;
  --line: rgba(2, 8, 23, 0.12);
  --inverse: #ffffff;
  --navy: #061938;
  --navy-deep: #020a18;
  --blue: #136af8;
  --blue-2: #0f51d7;
  --teal: #08ceb9;
  --teal-2: #00b5b0;
  --header-height: 106px;
  --container: 1540px;
  --gutter: clamp(20px, 3vw, 58px);
  --section-y: clamp(92px, 11vw, 180px);
  --ease: cubic-bezier(.2,.7,.2,1);
}

html[data-theme="dark"] {
  --bg: #06080d;
  --surface: #0b0e14;
  --surface-alt: #11151d;
  --ink: #f6f8fb;
  --muted: #9ca4b0;
  --line: rgba(255, 255, 255, 0.14);
  --inverse: #020817;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
::selection { background: var(--blue); color: #fff; }

.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 1000;
  background: #fff;
  color: #000;
  padding: 12px 16px;
  border: 1px solid #000;
}
.skip-link:focus { top: 20px; }

.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }

/* Página 404 */
.error-page { min-height: 62vh; display: grid; place-items: center; }
.error-page__inner { max-width: 640px; text-align: center; }
.error-page__inner .h2 { margin: 22px 0 0; }
.error-page__inner .copy { margin: 20px auto 0; }
.error-page__actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.error-link {
  border: 1px solid var(--line);
  padding: 13px 20px;
  font-size: 13px;
  font-weight: 600;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.error-link:hover { border-color: var(--ink); }
.error-link--primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.error-link--primary:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.section--compact { padding-block: clamp(68px, 8vw, 124px); }
.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}
.display {
  margin: 0;
  font-size: clamp(54px, 10vw, 172px);
  line-height: .88;
  letter-spacing: -.075em;
  font-weight: 500;
}
.h1 {
  margin: 0;
  font-size: clamp(54px, 8.2vw, 138px);
  line-height: .92;
  letter-spacing: -.067em;
  font-weight: 500;
}
.h2 {
  margin: 0;
  font-size: clamp(38px, 5.3vw, 82px);
  line-height: .98;
  letter-spacing: -.05em;
  font-weight: 500;
}
.h3 {
  margin: 0;
  font-size: clamp(25px, 2.5vw, 38px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 500;
}
.lead {
  margin: 0;
  font-size: clamp(18px, 1.7vw, 27px);
  line-height: 1.35;
  letter-spacing: -.022em;
  color: var(--muted);
}
.copy { color: var(--muted); max-width: 62ch; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: var(--header-height);
  color: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
}
.site-header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-inline: var(--gutter);
}
.site-header button,
.site-header a { pointer-events: auto; }
.header-action {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 9px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}
.header-action svg { width: 19px; height: 19px; stroke-width: 1.7; }
.header-mark {
  width: 29px;
  height: 29px;
  object-fit: contain;
  filter: grayscale(1) brightness(4);
}
.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-cta {
  border: 1px solid currentColor;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.header-cta:hover { background: #fff; color: #000; }
.clock {
  min-width: 92px;
  border: 1px solid currentColor;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: #060606;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}
.nav-overlay.is-open { opacity: 1; visibility: visible; }
.nav-overlay__inner {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 130px var(--gutter) 52px;
}
.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.nav-list a {
  display: inline-block;
  font-size: clamp(34px, 4vw, 66px);
  line-height: 1.16;
  font-weight: 500;
  letter-spacing: -.04em;
  text-transform: uppercase;
  position: relative;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 2px;
  background: currentColor;
  transition: right .3s var(--ease);
}
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { right: 0; }
.nav-meta {
  position: absolute;
  inset: auto var(--gutter) 30px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
  font-weight: 600;
}
.nav-social { display: flex; gap: 24px; }

.hero {
  min-height: 100svh;
  padding: calc(var(--header-height) + 20px) var(--gutter) 34px;
  background:
    radial-gradient(circle at 78% 12%, rgba(19,106,248,.18), transparent 25%),
    radial-gradient(circle at 20% 86%, rgba(8,206,185,.12), transparent 28%),
    #030407;
  color: #fff;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .15;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 45%, #000 0, transparent 72%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 42vw;
  height: 42vw;
  right: -18vw;
  top: -18vw;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255,255,255,.02), 0 0 0 140px rgba(255,255,255,.018);
}
.hero__headline {
  align-self: center;
  justify-self: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero__headline .display { white-space: nowrap; }
.hero__registered {
  font-size: .42em;
  vertical-align: top;
  margin-left: .04em;
}
/* Âncora da hero: fecha a composição e leva à vitrine, que saiu daqui para a
   seção "Projetos em movimento". */
.hero__scroll {
  position: relative;
  z-index: 3;
  justify-self: center;
  align-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: rgba(255,255,255,.82);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(3,4,7,.4);
  backdrop-filter: blur(8px);
  transition: color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.hero__scroll:hover {
  color: #fff;
  border-color: rgba(255,255,255,.55);
  transform: translateY(-2px);
}
.hero__scroll svg { width: 15px; height: 15px; animation: heroScrollHint 2.6s var(--ease) infinite; }
@keyframes heroScrollHint {
  0%, 70%, 100% { transform: translateY(0); }
  85% { transform: translateY(4px); }
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(180px, .65fr) minmax(300px, 1fr);
  gap: clamp(40px, 8vw, 140px);
  align-items: start;
}
.split-heading__copy { max-width: 700px; }

.about-media {
  margin-top: clamp(56px, 7vw, 110px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.about-panel {
  min-height: clamp(380px, 47vw, 650px);
  position: relative;
  overflow: hidden;
}
.about-panel--brand {
  background:
    radial-gradient(circle at 20% 80%, rgba(8,206,185,.28), transparent 25%),
    radial-gradient(circle at 80% 15%, rgba(19,106,248,.35), transparent 22%),
    #dfe3e8;
  display: grid;
  place-items: center;
}
.about-panel--brand img { width: min(78%, 640px); }
.about-panel--lab {
  background: #07090e;
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 34px;
}
.lab-emblem {
  width: 170px;
  height: 170px;
  border: 1px solid rgba(255,255,255,.42);
  display: grid;
  place-items: center;
  transform: rotate(45deg);
  position: relative;
}
.lab-emblem::before,
.lab-emblem::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.18);
}
.lab-emblem::after { inset: 38px; }
.lab-emblem span { transform: rotate(-45deg); font-size: 18px; font-weight: 600; letter-spacing: .14em; }
.metrics {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.metric { border-top: 1px solid var(--line); padding-top: 18px; }
.metric dt { color: var(--muted); font-size: 13px; }
.metric dd { margin: 7px 0 0; font-weight: 600; font-size: 18px; }

/* =========================================================
   Projetos em movimento — vitrine
   Os slides são posicionados por transform sobre um palco de altura fixa,
   derivada da largura do card ativo. Nada entra no fluxo do documento, então
   a expansão do slide ativo não provoca layout shift.
   ========================================================= */
.showcase { overflow: hidden; }
.showcase-head { display: flex; flex-direction: column; gap: 20px; }
.showcase-head .h3 { max-width: 17ch; }

.showcase-stage {
  position: relative;
  margin-top: clamp(44px, 5vw, 76px);
  height: clamp(280px, calc(min(62vw, 940px) / 1.6), 590px);
  touch-action: pan-y;
  cursor: grab;
}
.showcase-stage.is-dragging { cursor: grabbing; }
.showcase-stage:focus-visible { outline: 2px solid var(--blue); outline-offset: 8px; }
.showcase-track { position: absolute; inset: 0; }

.showcase-item {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(62vw, 940px);
  height: 100%;
  margin-left: calc(min(62vw, 940px) / -2);
  transform: translate3d(0, 0, 0) scale(.72);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: transform .72s var(--ease), opacity .55s var(--ease);
  will-change: transform, opacity;
}
.showcase-item.is-active {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
}
.showcase-item.is-prev { transform: translate3d(-62%, 0, 0) scale(.82); opacity: .38; z-index: 2; }
.showcase-item.is-next { transform: translate3d(62%, 0, 0) scale(.82); opacity: .38; z-index: 2; }
.showcase-item.is-far-prev { transform: translate3d(-105%, 0, 0) scale(.7); opacity: 0; }
.showcase-item.is-far-next { transform: translate3d(105%, 0, 0) scale(.7); opacity: 0; }

.showcase-card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #080a0f;
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px rgba(2, 8, 23, .18);
  isolation: isolate;
}
.showcase-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .9s var(--ease);
}
.showcase-item.is-active .showcase-card:hover .showcase-card__image { transform: scale(1.03); }
.showcase-card__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.04) 42%, rgba(0,0,0,.82) 100%);
  pointer-events: none;
}
.showcase-card__meta {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(18px, 2.4vw, 34px);
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s var(--ease) .12s, transform .5s var(--ease) .12s;
}
.showcase-item.is-active .showcase-card__meta { opacity: 1; transform: none; }
.showcase-card__meta strong {
  display: block;
  font-size: clamp(18px, 2vw, 30px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.showcase-card__meta em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: clamp(10px, 1vw, 12px);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.74);
}
.showcase-card__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  font-size: 13px;
  white-space: nowrap;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.showcase-card:hover .showcase-card__cta,
.showcase-card:focus-visible .showcase-card__cta {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.62);
}
.showcase-card__cta svg { width: 15px; height: 15px; }

.showcase-bar {
  margin-top: clamp(30px, 3.4vw, 50px);
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
}
.showcase-counter {
  margin: 0;
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.showcase-counter__sep { opacity: .5; }
.showcase-progress { flex: 1; height: 2px; background: var(--line); overflow: hidden; }
.showcase-progress > span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
}
.showcase-controls { flex: none; display: flex; align-items: center; gap: 10px; }

/* sem autoplay possível não há progresso nem pausa a exibir */
.showcase[data-autoplay="off"] .showcase-progress,
.showcase[data-autoplay="off"] [data-showcase-pause] { display: none; }

@media (max-width: 980px) {
  .showcase-item { width: min(78vw, 640px); margin-left: calc(min(78vw, 640px) / -2); }
  .showcase-stage { height: clamp(240px, calc(min(78vw, 640px) / 1.6), 420px); }
  .showcase-item.is-prev { transform: translate3d(-70%, 0, 0) scale(.84); opacity: .3; }
  .showcase-item.is-next { transform: translate3d(70%, 0, 0) scale(.84); opacity: .3; }
}

@media (max-width: 680px) {
  /* um projeto por vez, com só uma lasca do próximo aparecendo */
  .showcase-item { width: 84vw; margin-left: -42vw; }
  .showcase-stage { height: calc(84vw / 1.5); }
  .showcase-item.is-prev { transform: translate3d(-94%, 0, 0) scale(.9); opacity: .22; }
  .showcase-item.is-next { transform: translate3d(94%, 0, 0) scale(.9); opacity: .22; }
  .showcase-card__meta { flex-direction: column; align-items: flex-start; gap: 12px; }
  .showcase-bar { flex-wrap: wrap; row-gap: 18px; }
  .showcase-progress { order: 3; flex-basis: 100%; }
  .showcase-controls { margin-left: auto; }
}

.circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--surface-alt);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.circle-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.circle-btn:hover { transform: translateY(-2px); background: var(--line); }
.circle-btn svg { width: 17px; height: 17px; }
.dots { margin-left: 24px; display: flex; gap: 8px; }
.dot { width: 31px; height: 5px; border: 0; background: var(--surface-alt); padding: 0; cursor: pointer; }
.dot.is-active { background: var(--ink); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.service-card {
  min-height: 330px;
  background: var(--surface-alt);
  padding: clamp(28px, 3.3vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid transparent;
  transition: border-color .25s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
.service-card:hover { border-color: var(--line); transform: translateY(-4px); background: var(--surface); }
.service-card svg { width: 33px; height: 33px; stroke-width: 1.35; }
.service-card h3 { margin: 40px 0 18px; font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -.04em; }
.service-card p { margin: 0; color: var(--muted); max-width: 54ch; }
.text-link {
  margin-top: auto;
  padding-top: 34px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 13px;
}
.text-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

.cta-band {
  background: var(--blue);
  color: #fff;
  padding-block: clamp(90px, 12vw, 190px);
}
.cta-band__inner { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.cta-band h2 { max-width: 1000px; }
.cta-arrow {
  flex: 0 0 74px;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.cta-arrow:hover { background: #fff; color: var(--blue); transform: translate(3px,-3px); }
.cta-arrow svg { width: 27px; height: 27px; }

.site-footer {
  background: #050505;
  color: #fff;
  padding: 42px var(--gutter) 30px;
  min-height: 540px;
  display: flex;
  flex-direction: column;
}
.footer-top { display: flex; justify-content: space-between; gap: 35px; }
.footer-nav, .footer-social { display: flex; gap: clamp(22px, 4vw, 54px); flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.footer-nav a, .footer-social a { position: relative; }
.footer-nav a::after, .footer-social a::after {
  content: "";
  position: absolute;
  height: 1px;
  left: 0;
  right: 100%;
  bottom: -5px;
  background: currentColor;
  transition: right .2s var(--ease);
}
.footer-nav a:hover::after, .footer-social a:hover::after { right: 0; }
.footer-brand {
  margin: auto 0;
  text-align: center;
  font-size: clamp(68px, 15vw, 250px);
  line-height: .8;
  letter-spacing: -.075em;
  font-weight: 500;
  background: linear-gradient(90deg, #0b5eff, #0edcc4, #0b5eff);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brandShift 7s linear infinite;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; font-size: 13px; font-weight: 600; }

.page-hero {
  padding: calc(var(--header-height) + 80px) 0 clamp(90px, 11vw, 170px);
}
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  gap: clamp(40px, 8vw, 140px);
  align-items: end;
}
.page-hero__copy { padding-bottom: 12px; }

.service-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.service-showcase__item {
  min-height: 470px;
  color: #fff;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.service-showcase__item:nth-child(1) { background: linear-gradient(145deg, #09255c, #116cfa 70%, #08ceb9); }
.service-showcase__item:nth-child(2) { background: linear-gradient(145deg, #04100f, #00a596 70%, #0bdac4); }
.service-showcase__item:nth-child(3) { background: linear-gradient(145deg, #080a0e, #2f3544 70%, #0c6ff9); }
.service-showcase__item:nth-child(4) { background: linear-gradient(145deg, #0f1830, #05275b 62%, #08ceb9); }
.service-showcase__item:nth-child(5) { background: linear-gradient(145deg, #021528, #0d5ce7 65%, #4c9aff); }
.service-showcase__item:nth-child(6) { background: linear-gradient(145deg, #0b0d11, #132a2a 62%, #08ceb9); }
.service-showcase__item svg { width: 44px; height: 44px; stroke-width: 1.2; }
.service-showcase__item h3 { margin-top: auto; font-size: clamp(30px, 3vw, 52px); letter-spacing: -.05em; }
.service-showcase__item p { max-width: 48ch; color: rgba(255,255,255,.72); }
.service-tags { margin-top: 25px; display: flex; gap: 10px; flex-wrap: wrap; }
.service-tags span { border-top: 1px solid rgba(255,255,255,.4); padding-top: 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.process-step { background: var(--bg); min-height: 300px; padding: 34px; }
.process-step__number { color: var(--muted); font-size: 13px; }
.process-step h3 { margin: 72px 0 18px; font-size: 25px; letter-spacing: -.03em; }
.process-step p { margin: 0; color: var(--muted); }

.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.work-card { display: block; }
.work-card__visual { min-height: clamp(420px, 53vw, 760px); display: grid; place-items: center; overflow: hidden; }
.work-card:nth-child(1) .work-card__visual { background: linear-gradient(145deg,#d89138,#28150a 68%,#090604); }
.work-card:nth-child(2) .work-card__visual { background: linear-gradient(145deg,#0b335f,#090a0d 66%,#4b0a0f); }
.work-card:nth-child(3) .work-card__visual { background: linear-gradient(145deg,#f1becf,#83415e 60%,#351022); }
.work-card:nth-child(4) .work-card__visual { background: linear-gradient(145deg,#071431,#0c5fe7 58%,#08ceb9); }
.work-card__visual span { font-size: clamp(48px, 7vw, 108px); color: #fff; font-weight: 500; letter-spacing: -.07em; }
.work-card__visual img { width: min(44%, 230px); filter: drop-shadow(0 22px 38px rgba(0,0,0,.22)); transition: transform .6s var(--ease); }
.work-card:hover .work-card__visual img { transform: scale(1.06) rotate(-2deg); }
.work-card__meta { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0 44px; border-top: 1px solid var(--line); }
.work-card__meta h2 { margin: 0; font-size: 22px; }
.work-card__meta span { color: var(--muted); font-size: 13px; }

.studio-story { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(48px, 9vw, 160px); }
.studio-story__copy p { margin: 0 0 24px; font-size: clamp(21px, 2vw, 31px); line-height: 1.35; letter-spacing: -.025em; }
.studio-visual {
  margin-top: clamp(70px, 9vw, 150px);
  min-height: min(68vw, 880px);
  background:
    linear-gradient(110deg, transparent 38%, rgba(8,206,185,.34) 39% 51%, transparent 52%),
    linear-gradient(58deg, transparent 33%, rgba(19,106,248,.4) 34% 52%, transparent 53%),
    #07142e;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.studio-visual img { width: min(70%, 760px); }
.values-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value-card { background: var(--bg); padding: 30px; min-height: 280px; }
.value-card svg { width: 29px; height: 29px; stroke-width: 1.3; }
.value-card h3 { margin: 76px 0 15px; font-size: 22px; }
.value-card p { color: var(--muted); margin: 0; }

.contact-hero { min-height: 100svh; display: grid; align-items: center; padding: calc(var(--header-height) + 50px) 0 70px; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 10vw, 180px); align-items: start; }
.contact-intro .h1 { font-size: clamp(58px, 8vw, 128px); }
.contact-meta { margin-top: 50px; display: grid; gap: 20px; }
.contact-meta a { font-size: 18px; font-weight: 600; }
.contact-form { display: grid; gap: 34px; }
.form-field label, .form-field legend { display: block; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.form-field input, .form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 13px 0;
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--blue); }
.choice-grid { display: flex; gap: 8px; flex-wrap: wrap; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { display: block; border: 1px solid var(--line); padding: 11px 14px; cursor: pointer; margin: 0; font-size: 13px; }
.choice input:checked + label { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.submit-btn {
  border: 0;
  background: var(--blue);
  color: #fff;
  padding: 18px 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.submit-btn svg { width: 20px; height: 20px; }
.form-status { min-height: 24px; color: var(--muted); font-size: 13px; }

.project-page-hero { padding: calc(var(--header-height) + 40px) 0 80px; }
.project-title { text-align: center; margin-bottom: 72px; }
.project-cover { min-height: min(64vw, 850px); display: grid; place-items: center; overflow: hidden; }
.project-cover span { color: #fff; font-size: clamp(55px, 10vw, 150px); font-weight: 500; letter-spacing: -.07em; text-align: center; }
.project-cover--feijoada { background: linear-gradient(145deg,#d89238,#2b170b 65%,#080604); }
.project-cover--barber { background: linear-gradient(145deg,#0b315c,#08090b 64%,#47090d); }
.project-cover--cake { background: linear-gradient(145deg,#f1bdce,#86415f 60%,#351020); }
.project-overview { padding-block: clamp(80px, 10vw, 150px); display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(50px, 9vw, 160px); }
.project-overview__details { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; margin-top: 60px; }
.project-overview__details dt { color: var(--muted); font-size: 12px; }
.project-overview__details dd { margin: 7px 0 0; font-size: 13px; font-weight: 600; }
.project-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gallery-panel { min-height: min(55vw, 760px); display: grid; place-items: center; color: #fff; overflow: hidden; }
.gallery-panel--wide { grid-column: 1/-1; min-height: min(48vw, 700px); }
.gallery-panel strong { font-size: clamp(42px, 7vw, 104px); letter-spacing: -.06em; font-weight: 500; text-align: center; }
.gallery-panel:nth-child(1) { background: linear-gradient(135deg,#071938,#0c68f8 65%,#08ceb9); }
.gallery-panel:nth-child(2) { background: linear-gradient(135deg,#08111e,#152036 64%,#0dceb8); }
.gallery-panel:nth-child(3) { background: linear-gradient(135deg,#0f131d,#2e394c 64%,#0c67f7); }
.project-process { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px,9vw,150px); padding-block: clamp(90px, 11vw, 170px); }
.project-process__items { display: grid; gap: 0; }
.project-process__item { padding: 28px 0; border-top: 1px solid var(--line); }
.project-process__item:last-child { border-bottom: 1px solid var(--line); }
.project-process__item h3 { font-size: 16px; margin: 0 0 12px; }
.project-process__item p { color: var(--muted); margin: 0; }

/* O estado escondido só vale quando o JS que revela está de pé — ver a rede de
   segurança no <head> de cada página. */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  :root { --header-height: 82px; }
  .header-cta, .clock { display: none; }
  .hero { min-height: auto; padding-top: 150px; }
  .hero__headline { padding-block: 100px 150px; }
  .hero__headline .display { white-space: normal; }
  .split-heading,
  .page-hero__grid,
  .studio-story,
  .contact-grid,
  .project-overview,
  .project-process { grid-template-columns: 1fr; }
  .service-showcase, .work-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .values-grid { grid-template-columns: repeat(2,1fr); }
  .project-overview__details { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 680px) {
  :root { --gutter: 18px; }
  .site-header__inner { grid-template-columns: 1fr auto 1fr; }
  .header-right { gap: 4px; }
  .hero { padding-inline: 10px; padding-bottom: 10px; }
  .hero__headline { padding-block: 90px 120px; }
  .about-media { grid-template-columns: 1fr; }
  .about-panel { min-height: 390px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 300px; }
  .cta-band__inner { align-items: flex-start; flex-direction: column; }
  .site-footer { min-height: 620px; }
  .footer-top, .footer-bottom { flex-direction: column; }
  .footer-brand { font-size: 23vw; }
  .process-grid { grid-template-columns: 1fr; }
  .service-showcase__item { min-height: 420px; }
  .values-grid { grid-template-columns: 1fr; }
  .project-gallery { grid-template-columns: 1fr; }
  .gallery-panel--wide { grid-column: auto; }
  .project-overview__details { grid-template-columns: 1fr 1fr; }
  .nav-meta { flex-direction: column; align-items: center; text-align: center; }
  .nav-social { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}


/* Imagens reais dos projetos */
.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;
}

.work-card__visual {
  min-height: 0;
  aspect-ratio: 16 / 10;
  background: #e8e8e5;
}

.work-card__visual > img:not([src$="nyoneo-mark.png"]) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: none;
  transition: transform .75s var(--ease), filter .75s var(--ease);
}

.work-card:hover .work-card__visual > img:not([src$="nyoneo-mark.png"]) {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.015);
}

.work-card__visual--lab {
  background:
    radial-gradient(circle at 30% 70%, rgba(8,206,185,.68), transparent 24%),
    radial-gradient(circle at 78% 22%, rgba(19,106,248,.75), transparent 24%),
    #07142e;
}

.project-cover {
  min-height: 0;
  aspect-ratio: 16 / 9;
  background: #e8e8e5;
}

.project-cover__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.project-gallery--screens {
  align-items: stretch;
}

.gallery-screen {
  margin: 0;
  min-height: min(48vw, 720px);
  background: var(--surface-alt);
  overflow: hidden;
  position: relative;
}

.gallery-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .8s var(--ease);
}

.gallery-screen:hover img {
  transform: scale(1.025);
}

.gallery-screen--crop img {
  object-position: 72% top;
  transform: scale(1.12);
}

.gallery-screen--crop:hover img {
  transform: scale(1.15);
}

.gallery-screen--wide {
  grid-column: 1 / -1;
  min-height: min(48vw, 760px);
}

.gallery-screen--wide img {
  object-position: center 32%;
}

.gallery-screen figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  background: rgba(3,4,7,.82);
  color: #fff;
  padding: 9px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

@media (max-width: 680px) {
  .project-cover { aspect-ratio: 4 / 3; }
  .gallery-screen,
  .gallery-screen--wide { min-height: 112vw; }
  .gallery-screen--wide { grid-column: auto; }
}

/* =========================================================
   Componentes 21st adaptados para o site estático da NyoNeo
   ========================================================= */

/* Nebulosa WebGL da hero */
.hero-nebula {
  position: absolute;
  /* antes parava em 31% para não invadir a faixa de projetos; sem ela a
     nebulosa ocupa a hero inteira e o brilho fica centrado na headline */
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #030407;
}
.hero-nebula canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: .94;
  filter: saturate(1.12) contrast(1.06);
}
.hero-nebula__fallback {
  position: absolute;
  inset: -12%;
  background:
    radial-gradient(ellipse at 48% 52%, rgba(8,206,185,.35) 0 5%, transparent 28%),
    radial-gradient(ellipse at 44% 48%, rgba(19,106,248,.44) 0 8%, transparent 34%),
    radial-gradient(ellipse at 58% 54%, rgba(4,29,78,.86) 0 14%, transparent 43%),
    #030407;
  filter: blur(42px);
  transform: scale(1.04);
  animation: nebulaFallback 11s ease-in-out infinite alternate;
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 48% 38% at 50% 44%, rgba(3,4,7,.08), rgba(3,4,7,.52) 72%, rgba(3,4,7,.88) 100%),
    linear-gradient(180deg, rgba(3,4,7,.18), rgba(3,4,7,.04) 42%, rgba(3,4,7,.88) 72%, #030407 91%);
}
.hero::before,
.hero::after { z-index: 1; }
.hero__headline { z-index: 3; }
.hero__headline .display {
  text-shadow: 0 10px 60px rgba(0,0,0,.68);
}
@keyframes nebulaFallback {
  from { transform: scale(1.02) rotate(-2deg); opacity: .74; }
  to { transform: scale(1.12) rotate(3deg); opacity: 1; }
}

/* Pricing por serviço */
.pricing-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(96px, 11vw, 170px);
  color: #f7f9fc;
  background: #05070b;
  isolation: isolate;
}
.pricing-grid-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .28;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 88% 60% at 50% 3%, #000 35%, transparent 88%);
}
.pricing-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 760px;
  height: 760px;
  left: 50%;
  top: -520px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(19,106,248,.2), rgba(8,206,185,.08) 37%, transparent 69%);
  pointer-events: none;
}
.pricing-shell { position: relative; }
.pricing-heading {
  max-width: 900px;
  margin: 0 auto clamp(58px, 7vw, 96px);
  text-align: center;
}
.eyebrow--inverse { color: rgba(255,255,255,.58); }
.pricing-heading h2 { margin-top: 24px; }
.pricing-heading > p {
  max-width: 720px;
  margin: 26px auto 0;
  color: rgba(255,255,255,.58);
  font-size: clamp(15px, 1.2vw, 18px);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  min-height: 630px;
  padding: clamp(28px, 3.1vw, 46px);
  display: flex;
  flex-direction: column;
  color: #f6f8fb;
  background: rgba(8,11,17,.86);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 26px 80px rgba(0,0,0,.2);
  backdrop-filter: blur(14px);
  transition: transform .38s var(--ease), border-color .38s var(--ease), background .38s var(--ease);
}
.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(8,206,185,.58);
  background: rgba(10,14,23,.96);
}
.pricing-card--popular {
  border: 2px solid transparent;
  background:
    linear-gradient(#090c13, #090c13) padding-box,
    linear-gradient(135deg, var(--blue), var(--teal)) border-box;
}
.pricing-card--inverse {
  color: #061024;
  background:
    linear-gradient(rgba(255,255,255,.94), rgba(247,250,255,.98)),
    linear-gradient(135deg, rgba(19,106,248,.08), rgba(8,206,185,.05));
  border-color: rgba(255,255,255,.9);
}
.pricing-card--inverse:hover {
  background: #fff;
  border-color: #fff;
}
.pricing-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pricing-card__badge svg { width: 13px; height: 13px; }
.pricing-card__top {
  min-height: 72px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.pricing-card__top > svg { width: 34px; height: 34px; stroke-width: 1.35; }
.pricing-card__index {
  color: rgba(255,255,255,.34);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}
.pricing-card--inverse .pricing-card__index { color: rgba(6,16,36,.42); }
.pricing-card h3 {
  margin: 15px 0 0;
  font-size: clamp(26px, 2.4vw, 38px);
  line-height: 1;
  letter-spacing: -.045em;
}
.pricing-card__price {
  margin: 38px 0 0;
  display: grid;
  gap: 9px;
}
.pricing-card__price small {
  color: rgba(255,255,255,.46);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.pricing-card--inverse .pricing-card__price small { color: rgba(6,16,36,.55); }
.pricing-card__price strong {
  max-width: 15ch;
  font-size: clamp(22px, 2vw, 31px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.pricing-card__description {
  min-height: 88px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.58);
}
.pricing-card--inverse .pricing-card__description { color: rgba(6,16,36,.66); }
.pricing-card ul {
  list-style: none;
  padding: 24px 0 0;
  margin: 0;
  display: grid;
  gap: 13px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.pricing-card--inverse ul { border-color: rgba(6,16,36,.12); }
.pricing-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.7);
  font-size: 14px;
}
.pricing-card--inverse li { color: rgba(6,16,36,.76); }
.pricing-card li svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  stroke-width: 1.7;
  color: var(--teal);
}
.pricing-card__cta {
  margin-top: auto;
  padding-top: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .01em;
  border-bottom: 1px solid rgba(255,255,255,.24);
  padding-bottom: 12px;
}
.pricing-card--inverse .pricing-card__cta { border-color: rgba(6,16,36,.25); }
.pricing-card__cta svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.pricing-card__cta:hover svg { transform: translate(3px, -3px); }

/* Depoimentos com composição em profundidade */
.testimonials-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(102px, 12vw, 190px);
  color: #fff;
  background: #111315;
  isolation: isolate;
}
.testimonials-noise {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .18;
  background-image:
    linear-gradient(115deg, transparent 0 49.7%, rgba(255,255,255,.09) 50%, transparent 50.3%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 100% 100%, 100% 72px;
}
.testimonials-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -15% -55% 20%;
  height: 75%;
  background: radial-gradient(ellipse, rgba(19,106,248,.17), transparent 67%);
  pointer-events: none;
}
.testimonials-heading {
  max-width: 880px;
  margin-bottom: clamp(54px, 6vw, 88px);
}
.testimonials-heading h2 { margin-top: 25px; }
.testimonials-heading p {
  max-width: 680px;
  margin: 25px 0 0;
  color: rgba(255,255,255,.55);
}
.testimonials-stage {
  position: relative;
  width: min(100%, 1340px);
  min-height: 500px;
  margin-inline: auto;
  perspective: 1400px;
}
.testimonial-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(520px, 46vw);
  min-height: 390px;
  padding: clamp(34px, 4.3vw, 60px);
  display: flex;
  flex-direction: column;
  transform: translate(-50%, -50%) scale(.74);
  opacity: 0;
  color: rgba(255,255,255,.82);
  background: #111315;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 32px 90px rgba(0,0,0,.34);
  transition: transform .72s var(--ease), opacity .55s var(--ease), background .55s var(--ease), color .55s var(--ease), filter .55s var(--ease);
  pointer-events: none;
}
.testimonial-card img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(1);
}
.testimonial-card blockquote {
  margin: 30px 0 70px;
  font-size: clamp(20px, 2.05vw, 32px);
  line-height: 1.28;
  letter-spacing: -.025em;
  font-weight: 500;
}
.testimonial-card footer {
  margin-top: auto;
  display: grid;
  gap: 4px;
  font-size: 13px;
}
.testimonial-card footer span { opacity: .56; }
.testimonial-card.is-active {
  z-index: 5;
  opacity: 1;
  color: #07101f;
  background: #f4f5f5;
  border-color: #f4f5f5;
  transform: translate(-50%, -50%) scale(1) rotateY(0deg);
  clip-path: polygon(0 0, 84% 0, 100% 12%, 100% 100%, 0 100%);
  pointer-events: auto;
}
.testimonial-card.is-active img { filter: grayscale(.25); }
.testimonial-card.is-prev {
  z-index: 2;
  opacity: .78;
  transform: translate(-128%, -48%) scale(.88) rotateY(13deg) rotate(-1.5deg);
  filter: brightness(.82);
}
.testimonial-card.is-next {
  z-index: 2;
  opacity: .78;
  transform: translate(28%, -48%) scale(.88) rotateY(-13deg) rotate(1.5deg);
  filter: brightness(.82);
}
.testimonial-card.is-far-prev {
  z-index: 1;
  opacity: .3;
  transform: translate(-190%, -44%) scale(.72) rotateY(18deg) rotate(-2deg);
}
.testimonial-card.is-far-next {
  z-index: 1;
  opacity: .3;
  transform: translate(90%, -44%) scale(.72) rotateY(-18deg) rotate(2deg);
}
.testimonials-controls {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.testimonials-controls button {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  background: transparent;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.testimonials-controls button:hover,
.testimonials-controls button:focus-visible {
  color: #061024;
  background: #fff;
  border-color: #fff;
}
.testimonials-controls button svg { width: 20px; height: 20px; }
.testimonials-counter {
  min-width: 70px;
  display: flex;
  justify-content: center;
  gap: 6px;
  color: rgba(255,255,255,.52);
  font-size: 12px;
  letter-spacing: .08em;
}
.testimonials-counter [data-testimonial-current] { color: #fff; }

@media (max-width: 1180px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonial-card { width: min(520px, 54vw); }
  .testimonial-card.is-prev { transform: translate(-113%, -48%) scale(.8) rotateY(12deg); }
  .testimonial-card.is-next { transform: translate(13%, -48%) scale(.8) rotateY(-12deg); }
  .testimonial-card.is-far-prev,
  .testimonial-card.is-far-next { opacity: 0; }
}

@media (max-width: 760px) {
  .hero-nebula { bottom: 58%; }
  .hero__veil {
    background:
      radial-gradient(ellipse 80% 34% at 50% 28%, rgba(3,4,7,.1), rgba(3,4,7,.48) 73%, rgba(3,4,7,.88)),
      linear-gradient(180deg, rgba(3,4,7,.12), rgba(3,4,7,.65) 45%, #030407 70%);
  }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { min-height: 580px; }
  .pricing-card__description { min-height: auto; }
  .testimonials-stage { min-height: 450px; }
  .testimonial-card {
    width: min(88vw, 500px);
    min-height: 390px;
  }
  .testimonial-card.is-prev {
    opacity: .18;
    transform: translate(-80%, -48%) scale(.78) rotate(-1deg);
  }
  .testimonial-card.is-next {
    opacity: .18;
    transform: translate(-20%, -48%) scale(.78) rotate(1deg);
  }
}

@media (max-width: 480px) {
  .pricing-card { padding: 26px 22px; }
  .pricing-card__badge { position: static; align-self: flex-start; margin-bottom: 20px; }
  .testimonial-card { padding: 34px 26px; }
  .testimonial-card blockquote { margin-bottom: 50px; font-size: 20px; }
  .testimonials-stage { min-height: 430px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-nebula__fallback { animation: none; }
  .pricing-card,
  .testimonial-card { transition: none; }
}
.hero-nebula.is-webgl-ready .hero-nebula__fallback { opacity: .12; }


/* =========================================================
   Refinamentos finais: hero, depoimentos e mobile
   ========================================================= */

/* Nebulosa central, mais luminosa e com a paleta completa da NyoNeo */
.hero-nebula {
  inset: 0;
  background: #020309;
}
.hero-nebula canvas {
  opacity: 1;
  filter: saturate(1.7) contrast(1.13) brightness(1.2);
  transform: scale(1.04);
  transform-origin: center;
}
.hero-nebula__fallback {
  inset: -10%;
  background:
    radial-gradient(ellipse 35% 30% at 50% 48%, rgba(0,229,208,.72), transparent 66%),
    radial-gradient(ellipse 38% 34% at 47% 48%, rgba(21,103,255,.82), transparent 70%),
    radial-gradient(ellipse 30% 28% at 55% 54%, rgba(210,35,255,.58), transparent 68%),
    radial-gradient(ellipse 22% 22% at 42% 56%, rgba(255,40,185,.46), transparent 72%),
    #020309;
  filter: blur(48px) saturate(1.45);
}
.hero__veil {
  background:
    radial-gradient(ellipse 55% 43% at 50% 46%, rgba(3,4,7,.03) 0, rgba(3,4,7,.12) 48%, rgba(3,4,7,.48) 82%, rgba(3,4,7,.74) 100%),
    linear-gradient(180deg, rgba(3,4,7,.08), rgba(3,4,7,.02) 42%, rgba(3,4,7,.78) 73%, #030407 93%);
}
.hero__headline {
  width: min(100%, 1320px);
  padding-inline: var(--gutter);
}
.hero__headline .display {
  text-shadow: 0 8px 40px rgba(0,0,0,.52), 0 0 90px rgba(7,92,255,.18);
}

/* Controles do carrossel dos projetos da hero */
/* Depoimentos: composição editorial inclinada e com recorte no canto */
.testimonials-stage {
  min-height: 560px;
  perspective: 1700px;
  transform-style: preserve-3d;
}
.testimonials-stage::before,
.testimonials-stage::after {
  content: "";
  position: absolute;
  left: -12%;
  width: 124%;
  height: 1px;
  background: rgba(255,255,255,.12);
  transform-origin: center;
  pointer-events: none;
}
.testimonials-stage::before { top: 20%; transform: rotate(2.6deg); }
.testimonials-stage::after { bottom: 14%; transform: rotate(-2.1deg); }
.testimonial-card {
  width: min(540px, 45vw);
  min-height: 410px;
  padding: clamp(34px, 4.2vw, 58px);
  transform-origin: 50% 65%;
  clip-path: polygon(0 0, 86% 0, 100% 13%, 100% 100%, 0 100%);
  box-shadow: 0 38px 95px rgba(0,0,0,.42);
  will-change: transform, opacity;
}
.testimonial-card::before {
  content: "“";
  position: absolute;
  right: 34px;
  top: 28px;
  font-size: 68px;
  line-height: 1;
  font-weight: 500;
  opacity: .08;
}
.testimonial-card img {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,.18);
}
.testimonial-card blockquote {
  max-width: 16ch;
  margin: 30px 0 64px;
  font-weight: 560;
}
.testimonial-card footer strong { font-weight: 500; }
.testimonial-card footer span {
  margin-top: 5px;
  font-style: italic;
  opacity: .66;
}
.testimonial-card.is-active {
  transform: translate(-50%, -50%) scale(1) rotateZ(-1.65deg) rotateY(-1.5deg);
  box-shadow: 0 46px 110px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.8);
}
.testimonial-card.is-active::before { color: #07101f; opacity: .08; }
.testimonial-card.is-prev {
  opacity: .72;
  transform: translate(-136%, -47%) scale(.87) rotateZ(-7deg) rotateY(19deg) translateZ(-55px);
  filter: brightness(.7) saturate(.75);
}
.testimonial-card.is-next {
  opacity: .72;
  transform: translate(36%, -49%) scale(.87) rotateZ(7deg) rotateY(-19deg) translateZ(-55px);
  filter: brightness(.7) saturate(.75);
}
.testimonial-card.is-far-prev {
  opacity: .26;
  transform: translate(-205%, -43%) scale(.7) rotateZ(-11deg) rotateY(24deg) translateZ(-120px);
}
.testimonial-card.is-far-next {
  opacity: .26;
  transform: translate(105%, -45%) scale(.7) rotateZ(11deg) rotateY(-24deg) translateZ(-120px);
}

/* Ajustes gerais para telas médias */
@media (max-width: 1180px) {
  .testimonial-card { width: min(520px, 56vw); }
  .testimonial-card.is-prev { transform: translate(-118%, -47%) scale(.8) rotateZ(-6deg) rotateY(16deg); }
  .testimonial-card.is-next { transform: translate(18%, -49%) scale(.8) rotateZ(6deg) rotateY(-16deg); }
}

/* Experiência mobile: menos altura, carrossel horizontal e alvos de toque confortáveis */
@media (max-width: 680px) {
  html { scroll-padding-top: 82px; }
  body { overflow-x: hidden; }

  .hero {
    padding-inline: 0;
    padding-bottom: 12px;
    grid-template-rows: auto auto auto;
  }
  .hero__headline {
    padding: 92px 18px 82px;
  }
  .hero__headline .display {
    font-size: clamp(54px, 18vw, 78px);
    line-height: .91;
  }
  .hero-nebula {
    inset: 0 0 34% 0;
  }
  .hero-nebula canvas {
    transform: scale(1.18);
    filter: saturate(1.78) contrast(1.12) brightness(1.25);
  }
  .hero__veil {
    background:
      radial-gradient(ellipse 88% 39% at 50% 31%, rgba(3,4,7,.02), rgba(3,4,7,.16) 55%, rgba(3,4,7,.58) 100%),
      linear-gradient(180deg, rgba(3,4,7,.04), rgba(3,4,7,.18) 46%, rgba(3,4,7,.86) 67%, #030407 82%);
  }

  .section { padding-block: clamp(72px, 19vw, 100px); }
  .split-heading { gap: 24px; }
  .about-panel { min-height: 310px; }
  .metrics { gap: 1px; }
  .metric { min-height: 150px; padding: 22px 18px; }

  .pricing-section { padding-block: 84px; }
  .pricing-heading { margin-bottom: 48px; }
  .pricing-card {
    min-height: auto;
    padding: 28px 22px;
  }
  .pricing-card__price strong { font-size: 28px; }
  .pricing-card ul { margin-top: 26px; padding-top: 24px; }

  .testimonials-section { padding-block: 86px; }
  .testimonials-heading { margin-bottom: 42px; }
  .testimonials-stage {
    min-height: 450px;
    width: calc(100% + 36px);
    margin-left: -18px;
    overflow: hidden;
  }
  .testimonial-card {
    width: min(82vw, 430px);
    min-height: 370px;
    padding: 32px 25px;
  }
  .testimonial-card blockquote {
    max-width: 18ch;
    margin: 26px 0 48px;
    font-size: 20px;
  }
  .testimonial-card.is-active {
    transform: translate(-50%, -50%) scale(1) rotateZ(-1.25deg);
  }
  .testimonial-card.is-prev {
    opacity: .24;
    transform: translate(-92%, -48%) scale(.78) rotateZ(-7deg) rotateY(10deg);
  }
  .testimonial-card.is-next {
    opacity: .24;
    transform: translate(-8%, -49%) scale(.78) rotateZ(7deg) rotateY(-10deg);
  }
  .testimonials-controls button { min-width: 46px; min-height: 46px; }

  .cta-band__inner { gap: 34px; }
  .cta-arrow { width: 62px; height: 62px; }
}

@media (max-width: 390px) {
  .hero__headline { padding-top: 84px; padding-bottom: 70px; }
  .testimonial-card { width: 84vw; min-height: 360px; }
  .testimonial-card blockquote { font-size: 19px; }
  .project-overview__details { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-nebula canvas { filter: saturate(1.35) brightness(1.08); }
}

/* Salvaguardas de usabilidade para celulares estreitos */
@media (max-width: 680px) {
  .header-action,
  .circle-btn,
  .testimonials-controls button {
    touch-action: manipulation;
  }
  .header-action { min-width: 44px; min-height: 44px; }
  .nav-list a { padding-block: 5px; }
  .h1,
  .h2,
  .h3,
  .display,
  .lead,
  .page-hero p,
  .project-title,
  .cta-band h2 {
    overflow-wrap: anywhere;
  }
  .form-field input,
  .form-field textarea,
  .choice label {
    font-size: 16px;
  }
  .choice-grid { gap: 10px; }
  .choice label { padding: 12px 14px; }
  .submit-btn { min-height: 54px; }
  .project-cover,
  .gallery-screen,
  .work-card__visual { touch-action: pan-y; }
  .footer-nav,
  .footer-social { flex-wrap: wrap; gap: 14px 20px; }
}

/* =========================================================
   Ajustes finais de alinhamento, tema, sobre e carrosséis
   ========================================================= */

/* Sobre: identidade em destaque e indicadores animados */
.about-intro {
  margin: 24px 0 0;
  font-size: clamp(15px, 1.15vw, 18px);
}
.about-media--single {
  grid-template-columns: minmax(0, 1fr);
}
.about-panel--wide {
  min-height: clamp(360px, 43vw, 650px);
  isolation: isolate;
}
.about-panel--wide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, transparent 20%, rgba(255,255,255,.5) 48%, transparent 76%),
    radial-gradient(circle at 18% 78%, rgba(8,206,185,.32), transparent 25%),
    radial-gradient(circle at 82% 18%, rgba(19,106,248,.38), transparent 23%),
    #dfe3e8;
  background-size: 220% 100%, auto, auto, auto;
  animation: aboutLightSweep 9s ease-in-out infinite;
}
.about-panel--wide img {
  position: relative;
  z-index: 2;
  width: min(74%, 880px);
  filter: drop-shadow(0 28px 70px rgba(6,25,56,.15));
}
.about-panel__glow {
  position: absolute;
  z-index: 1;
  width: min(54vw, 680px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 120deg, rgba(19,106,248,.42), rgba(8,206,185,.32), rgba(111,58,255,.28), rgba(19,106,248,.42));
  filter: blur(72px);
  opacity: .42;
  animation: aboutGlow 11s ease-in-out infinite alternate;
}
@keyframes aboutLightSweep {
  0%, 100% { background-position: 130% 0, center, center, center; }
  50% { background-position: -80% 0, center, center, center; }
}
@keyframes aboutGlow {
  from { transform: translate3d(-8%, 5%, 0) scale(.92) rotate(-12deg); }
  to { transform: translate3d(8%, -4%, 0) scale(1.08) rotate(14deg); }
}
.metrics--animated {
  gap: 1px;
  padding: 1px;
  background: var(--line);
}
.metrics--animated .metric {
  position: relative;
  min-height: 230px;
  padding: clamp(24px, 2.8vw, 42px);
  border: 0;
  background: var(--surface);
  overflow: hidden;
  isolation: isolate;
}
.metrics--animated .metric::before {
  content: "";
  position: absolute;
  inset: auto -30% -65% 30%;
  z-index: -1;
  height: 90%;
  background: radial-gradient(ellipse, rgba(19,106,248,.13), transparent 68%);
  transform: translateY(28%);
  transition: transform .8s var(--ease);
}
.metrics--animated.is-counting .metric::before,
.metrics--animated .metric:hover::before {
  transform: translateY(0);
}
.metrics--animated .metric dt {
  max-width: 18ch;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.metrics--animated .metric dd {
  margin: auto 0 15px;
  padding-top: 36px;
  font-size: clamp(44px, 5vw, 78px);
  line-height: .9;
  letter-spacing: -.065em;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(110deg, var(--blue), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.metric-note {
  display: block;
  max-width: 27ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

/* Imagem real e confiável no carrossel de projetos em movimento */
/* O tema claro agora alcança os componentes que tinham fundo fixo escuro. */
html[data-theme="light"] .nav-overlay {
  color: var(--ink);
  background: rgba(247,247,245,.98);
}
html[data-theme="light"] .pricing-section {
  color: var(--ink);
  background: #eef1f5;
}
html[data-theme="light"] .pricing-grid-bg {
  opacity: .6;
  background-image:
    linear-gradient(rgba(6,25,56,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6,25,56,.08) 1px, transparent 1px);
}
html[data-theme="light"] .pricing-section::before {
  background: radial-gradient(circle, rgba(19,106,248,.16), rgba(8,206,185,.09) 38%, transparent 70%);
}
html[data-theme="light"] .pricing-section .eyebrow--inverse,
html[data-theme="light"] .pricing-heading > p {
  color: var(--muted);
}
html[data-theme="light"] .pricing-card,
html[data-theme="light"] .pricing-card--popular,
html[data-theme="light"] .pricing-card--inverse {
  color: var(--ink);
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(6,25,56,.12);
  box-shadow: 0 24px 70px rgba(6,25,56,.08);
}
html[data-theme="light"] .pricing-card--popular {
  border: 2px solid transparent;
  background:
    linear-gradient(rgba(255,255,255,.96), rgba(255,255,255,.96)) padding-box,
    linear-gradient(135deg, var(--blue), var(--teal)) border-box;
}
html[data-theme="light"] .pricing-card:hover,
html[data-theme="light"] .pricing-card--inverse:hover {
  background: #fff;
  border-color: rgba(8,206,185,.58);
}
html[data-theme="light"] .pricing-card__index,
html[data-theme="light"] .pricing-card--inverse .pricing-card__index {
  /* .38 dava 2,4:1 sobre o card claro; .62 chega a 4,9:1 sem mudar o tom */
  color: rgba(6,25,56,.62);
}
html[data-theme="light"] .pricing-card__price small,
html[data-theme="light"] .pricing-card--inverse .pricing-card__price small,
html[data-theme="light"] .pricing-card__description,
html[data-theme="light"] .pricing-card--inverse .pricing-card__description,
html[data-theme="light"] .pricing-card li,
html[data-theme="light"] .pricing-card--inverse li {
  color: rgba(6,25,56,.66);
}
html[data-theme="light"] .pricing-card ul,
html[data-theme="light"] .pricing-card--inverse ul {
  border-color: rgba(6,25,56,.11);
}
html[data-theme="light"] .pricing-card__cta,
html[data-theme="light"] .pricing-card--inverse .pricing-card__cta {
  border-color: rgba(6,25,56,.22);
}
html[data-theme="light"] .pricing-card__badge {
  color: #fff;
  /* o fim em --teal deixava o texto branco em 2,0:1; os dois azuis da marca
     mantêm o gradiente e passam em AA (4,7:1 e 6,5:1) */
  background: linear-gradient(105deg, var(--blue), var(--blue-2));
  border-color: transparent;
}
html[data-theme="light"] .testimonials-section {
  color: var(--ink);
  background: #f4f5f3;
}
/* O kicker vinha de `--inverse` (branco 58%) e ficava invisível depois que a
   seção passou a ter fundo claro — 1,09:1. Alinha com o mesmo tratamento já
   usado na seção de investimento. */
html[data-theme="light"] .testimonials-section .eyebrow--inverse {
  color: var(--muted);
}
html[data-theme="light"] .testimonials-noise {
  opacity: .5;
  background-image:
    linear-gradient(115deg, transparent 0 49.7%, rgba(6,25,56,.08) 50%, transparent 50.3%),
    linear-gradient(rgba(6,25,56,.04) 1px, transparent 1px);
}
html[data-theme="light"] .testimonials-heading p {
  color: var(--muted);
}
html[data-theme="light"] .testimonials-stage::before,
html[data-theme="light"] .testimonials-stage::after {
  background: rgba(6,25,56,.12);
}
html[data-theme="light"] .testimonial-card {
  color: rgba(6,25,56,.74);
  background: #ebecea;
  border-color: rgba(6,25,56,.14);
  box-shadow: 0 32px 88px rgba(6,25,56,.12);
}
html[data-theme="light"] .testimonial-card.is-active {
  color: #07101f;
  background: #fff;
  border-color: #fff;
  box-shadow: 0 42px 100px rgba(6,25,56,.16), 0 0 0 1px rgba(6,25,56,.08);
}
html[data-theme="light"] .testimonials-controls button {
  color: var(--ink);
  border-color: rgba(6,25,56,.25);
}
html[data-theme="light"] .testimonials-controls button:hover,
html[data-theme="light"] .testimonials-controls button:focus-visible {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}
html[data-theme="light"] .testimonials-counter {
  color: rgba(6,25,56,.45);
}
html[data-theme="light"] .testimonials-counter [data-testimonial-current] {
  color: var(--ink);
}
html[data-theme="light"] .site-footer {
  color: var(--ink);
  background: #f7f7f5;
  border-top: 1px solid var(--line);
}

/* Header mobile alinhado em três pontos: menu, marca central e tema. */
@media (max-width: 680px) {
  :root { --header-height: 72px; }
  .site-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 14px;
  }
  .site-header__inner > a[aria-label^="NyoNeo"] {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%);
  }
  .header-right {
    min-width: 44px;
    margin-left: auto;
    justify-content: flex-end;
    gap: 0;
  }
  .header-action {
    width: 44px;
    height: 44px;
    padding: 0;
  }
  .header-mark {
    width: 30px;
    height: 30px;
  }

  /* A primeira dobra é a hero inteira: nebulosa, headline e a âncora. */
  .hero {
    display: block;
    min-height: auto;
    padding: 0;
    position: relative;
  }
  .hero__headline {
    min-height: 100svh;
    width: 100%;
    padding: calc(var(--header-height) + 34px) 18px 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  /* fora do fluxo para não esticar a dobra além de 100svh */
  .hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
  }
  .hero__scroll:hover { transform: translateX(-50%) translateY(-2px); }
  .hero-nebula {
    inset: 0 auto auto 0;
    width: 100%;
    height: 100svh;
  }
  .hero__veil {
    inset: 0 auto auto 0;
    width: 100%;
    height: 100svh;
  }
  .hero::before {
    inset: 0 0 auto;
    height: 100svh;
  }
  .hero::after {
    top: -10vw;
    right: -38vw;
  }
  .about-media--single {
    grid-template-columns: minmax(0, 1fr);
  }
  .about-panel--wide {
    min-height: 320px;
  }
  .about-panel--wide img {
    width: min(88%, 620px);
  }
  .metrics--animated {
    grid-template-columns: 1fr 1fr;
  }
  .metrics--animated .metric {
    min-height: 205px;
    padding: 22px 18px;
  }
  .metrics--animated .metric dd {
    font-size: clamp(42px, 14vw, 62px);
  }

  /* O nome da marca deixa espaço para descendentes como o “y”. */
  .site-footer {
    min-height: auto;
    padding: 34px 18px 28px;
    gap: 42px;
    overflow: visible;
  }
  .footer-brand {
    margin: 0;
    padding: .12em 0 .24em;
    font-size: clamp(72px, 22vw, 110px);
    line-height: .96;
    overflow: visible;
  }
  .footer-bottom {
    gap: 14px;
  }
}

@media (max-width: 420px) {
  .metrics--animated {
    grid-template-columns: 1fr;
  }
  .metrics--animated .metric {
    min-height: 190px;
  }
  .footer-brand {
    font-size: 21.5vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-panel--wide::before,
  .about-panel__glow {
    animation: none;
  }
}

/* Typewriter da hero — inspirado no componente do 21st.dev */
.hero__typewriter {
  margin: 18px auto 0;
  min-height: 1.5em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: rgba(255,255,255,.9);
  font-size: clamp(17px, 1.55vw, 24px);
  font-weight: 600;
  letter-spacing: -.025em;
  text-shadow: 0 4px 22px rgba(0,0,0,.7);
}
.hero__caret {
  width: 1px;
  height: 1.05em;
  background: currentColor;
  animation: heroCaretBlink 1s step-end infinite;
}
@keyframes heroCaretBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@media (max-width: 680px) {
  .hero__typewriter {
    margin-top: 16px;
    min-height: 2.7em;
    max-width: 28ch;
    font-size: clamp(16px, 4.7vw, 20px);
  }
}

/* ========================================================================
   Refinamentos 2026-08 — header inteligente, idioma, social, marquees e FAQ
   ======================================================================== */

/* O header sai suavemente ao descer e volta imediatamente ao subir. */
.site-header {
  transform: translate3d(0, 0, 0);
  transition: transform .42s cubic-bezier(.22,.7,.2,1), opacity .3s ease;
  will-change: transform;
}
.site-header.is-hidden {
  transform: translate3d(0, calc(-100% - 10px), 0);
  opacity: 0;
}
body.nav-open .site-header { transform: translate3d(0,0,0); opacity: 1; }

/* Idiomas — compacto para não quebrar o header em nenhuma largura. */
.language-switcher {
  position: relative;
  pointer-events: auto;
}
.language-switcher__toggle {
  appearance: none;
  min-width: 54px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}
.language-switcher__toggle svg { width: 15px; height: 15px; stroke-width: 1.7; }
.language-switcher__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 166px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(5,7,11,.96);
  color: #fff;
  box-shadow: 0 18px 54px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  pointer-events: none;
}
.language-switcher.is-open .language-switcher__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.language-switcher__menu button {
  appearance: none;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  min-height: 38px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 8px;
  text-align: left;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
}
.language-switcher__menu button span {
  color: rgba(255,255,255,.62);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}
.language-switcher__menu button:hover,
.language-switcher__menu button:focus-visible,
.language-switcher__menu button.is-active { background: rgba(255,255,255,.09); }

/* Social: ícones oficiais vindos da biblioteca Font Awesome Brands. */
.nav-social a,
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.nav-social a i,
.footer-social a i {
  font-size: 15px;
  width: 16px;
  text-align: center;
}

/* Corrige o descendente do Y no wordmark do footer. */
.footer-brand {
  line-height: .94;
  padding-block: .08em .13em;
  overflow: visible;
}

/* O card final acompanha de verdade o tema, sem permanecer branco no dark. */
html[data-theme="dark"] .pricing-card--inverse {
  color: #f7fbff;
  background:
    radial-gradient(circle at 85% 10%, rgba(8,206,185,.18), transparent 36%),
    linear-gradient(145deg, rgba(12,36,74,.98), rgba(5,13,28,.98));
  border-color: rgba(74,154,255,.34);
  box-shadow: 0 28px 90px rgba(0,0,0,.34);
}
html[data-theme="dark"] .pricing-card--inverse:hover {
  background:
    radial-gradient(circle at 82% 8%, rgba(8,206,185,.23), transparent 38%),
    linear-gradient(145deg, rgba(16,47,96,.99), rgba(5,14,31,.99));
  border-color: rgba(8,206,185,.58);
}
html[data-theme="dark"] .pricing-card--inverse .pricing-card__index,
html[data-theme="dark"] .pricing-card--inverse .pricing-card__price small,
html[data-theme="dark"] .pricing-card--inverse .pricing-card__description,
html[data-theme="dark"] .pricing-card--inverse li {
  color: rgba(240,248,255,.68);
}
html[data-theme="dark"] .pricing-card--inverse ul { border-color: rgba(255,255,255,.12); }
html[data-theme="dark"] .pricing-card--inverse .pricing-card__cta { border-color: rgba(255,255,255,.25); }
html[data-theme="light"] .pricing-card--inverse {
  color: #061024;
  background:
    radial-gradient(circle at 85% 10%, rgba(8,206,185,.12), transparent 38%),
    linear-gradient(145deg, #ffffff, #f2f7ff);
  border-color: rgba(19,106,248,.18);
}

/* Marquee de tecnologias inspirado no componente 21st.dev, nativo e leve. */
.technology-marquee-section {
  padding: clamp(74px, 8vw, 126px) 0;
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.technology-marquee__heading {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
  margin-bottom: clamp(42px, 5vw, 72px);
}
.technology-marquee__heading .h3 { max-width: 760px; }
.technology-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.technology-marquee__track {
  display: flex;
  width: max-content;
  animation: technologyMarquee 34s linear infinite;
}
.technology-marquee:hover .technology-marquee__track { animation-play-state: paused; }
.technology-marquee__group {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.technology-logo {
  width: clamp(180px, 16vw, 260px);
  min-height: 92px;
  margin-inline: clamp(12px, 1.6vw, 28px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--ink);
  opacity: .78;
  transition: opacity .25s ease, transform .25s ease;
}
.technology-logo:hover { opacity: 1; transform: translateY(-2px); }
.technology-logo i { font-size: clamp(28px, 2.5vw, 40px); }
.technology-logo span { font-size: clamp(18px, 1.6vw, 25px); font-weight: 600; letter-spacing: -.03em; }
.technology-marquee__fade {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: min(18vw, 180px);
  pointer-events: none;
}
.technology-marquee__fade--left { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.technology-marquee__fade--right { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
@keyframes technologyMarquee { to { transform: translateX(-50%); } }

/* Novo testimonials marquee: duas linhas em sentidos opostos + fades laterais. */
.testimonials-marquee-section { padding-block: clamp(92px, 10vw, 154px); }
.testimonials-marquee-section .testimonials-heading { margin-inline: auto; padding-inline: var(--gutter); width: min(100%, var(--container)); }
.testimonial-marquee {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  padding-block: 10px;
}
.testimonial-marquee__row {
  display: flex;
  width: max-content;
}
.testimonial-marquee__group {
  display: flex;
  flex: 0 0 auto;
  gap: 18px;
  padding-right: 18px;
}
.testimonial-marquee__row--forward { animation: testimonialForward 36s linear infinite; }
.testimonial-marquee__row--reverse { animation: testimonialReverse 40s linear infinite; }
.testimonial-marquee:hover .testimonial-marquee__row { animation-play-state: paused; }
.testimonial-marquee-card {
  width: clamp(300px, 34vw, 520px);
  min-height: 280px;
  padding: clamp(24px, 2.3vw, 34px);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.055);
  box-shadow: 0 22px 60px rgba(0,0,0,.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}
.testimonial-marquee-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-marquee-card__head img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.14);
}
.testimonial-marquee-card__head > div { display: grid; gap: 3px; }
.testimonial-marquee-card__head strong { font-size: 14px; font-weight: 650; }
.testimonial-marquee-card__head span { color: rgba(255,255,255,.5); font-size: 12px; }
.testimonial-marquee-card blockquote {
  margin: 0;
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.35;
  letter-spacing: -.025em;
}
.testimonial-marquee-card footer {
  color: rgba(255,255,255,.5);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.testimonial-marquee__fade {
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  width: min(17vw, 210px);
  pointer-events: none;
}
.testimonial-marquee__fade--left { left: 0; background: linear-gradient(90deg, #111315 10%, transparent); }
.testimonial-marquee__fade--right { right: 0; background: linear-gradient(270deg, #111315 10%, transparent); }
@keyframes testimonialForward { to { transform: translateX(-50%); } }
@keyframes testimonialReverse { from { transform: translateX(-50%); } to { transform: translateX(0); } }
html[data-theme="light"] .testimonial-marquee-card {
  color: var(--ink);
  background: rgba(255,255,255,.72);
  border-color: rgba(6,25,56,.11);
  box-shadow: 0 18px 54px rgba(6,25,56,.07);
}
html[data-theme="light"] .testimonial-marquee-card__head span,
html[data-theme="light"] .testimonial-marquee-card footer { color: rgba(6,25,56,.52); }
html[data-theme="light"] .testimonial-marquee-card__head img { border-color: rgba(6,25,56,.1); }
html[data-theme="light"] .testimonial-marquee__fade--left { background: linear-gradient(90deg, #f4f5f3 10%, transparent); }
html[data-theme="light"] .testimonial-marquee__fade--right { background: linear-gradient(270deg, #f4f5f3 10%, transparent); }

/* FAQ com tabs animadas, sem dependência de framework. */
.faq-section { overflow: hidden; }
.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px,.78fr) minmax(0,1.22fr);
  gap: clamp(50px, 8vw, 140px);
  align-items: start;
}
.faq-heading { position: sticky; top: calc(var(--header-height) + 30px); }
.faq-heading .h2 { margin-top: 26px; max-width: 760px; }
.faq-heading .lead { margin-top: 28px; max-width: 540px; }
.faq-panel { min-width: 0; }
.faq-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.faq-tabs::-webkit-scrollbar { display: none; }
.faq-tab {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  min-height: 42px;
  padding: 0 16px;
  white-space: nowrap;
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.faq-tab:hover { color: var(--ink); border-color: currentColor; }
.faq-tab.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.faq-category { padding-top: 8px; }
.faq-category[hidden] { display: none; }
.faq-category.is-active { animation: faqPanelIn .34s var(--ease); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 48px 26px 0;
  position: relative;
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 560;
  letter-spacing: -.02em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before,
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 15px;
  height: 1px;
  background: currentColor;
  transition: transform .3s var(--ease);
}
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0); }
.faq-item p {
  margin: -4px 0 28px;
  max-width: 68ch;
  color: var(--muted);
  line-height: 1.75;
}
@keyframes faqPanelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Páginas legais */
.legal-hero { padding: calc(var(--header-height) + 80px) 0 clamp(58px,7vw,100px); border-bottom: 1px solid var(--line); }
.legal-hero .h1 { margin-top: 28px; max-width: 1100px; }
.legal-updated { margin: 28px 0 0; color: var(--muted); font-size: 13px; }
.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px,.58fr) minmax(0,1.42fr);
  gap: clamp(50px, 8vw, 150px);
  padding-block: clamp(70px, 9vw, 140px);
}
.legal-aside { position: sticky; top: calc(var(--header-height) + 28px); align-self: start; color: var(--muted); }
.legal-aside p { margin: 0 0 24px; max-width: 34ch; }
.legal-aside a { color: var(--ink); font-weight: 600; }
.legal-content { max-width: 820px; }
.legal-section { padding: 0 0 46px; margin: 0 0 46px; border-bottom: 1px solid var(--line); }
.legal-section:last-child { margin-bottom: 0; }
.legal-section h2 { margin: 0 0 20px; font-size: clamp(22px,2vw,30px); letter-spacing: -.035em; font-weight: 560; }
.legal-section p { margin: 0 0 15px; color: var(--muted); line-height: 1.78; }
.legal-section p:last-child { margin-bottom: 0; }

@media (max-width: 980px) {
  .language-switcher__toggle { min-width: 50px; height: 36px; padding-inline: 8px; }
  .technology-marquee__heading,
  .faq-layout,
  .legal-layout { grid-template-columns: 1fr; }
  .faq-heading,
  .legal-aside { position: static; }
  .technology-logo { width: 190px; }
}

@media (max-width: 680px) {
  .header-right { gap: 2px; }
  .language-switcher__toggle { min-width: 45px; padding-inline: 7px; gap: 4px; }
  .language-switcher__toggle svg { width: 14px; height: 14px; }
  .language-switcher__menu { width: 154px; }
  .technology-marquee-section { padding-block: 68px; }
  .technology-marquee__heading { margin-bottom: 30px; }
  .technology-logo { width: 160px; min-height: 74px; margin-inline: 9px; gap: 10px; }
  .technology-logo i { font-size: 28px; }
  .technology-logo span { font-size: 17px; }
  .technology-marquee__fade { width: 58px; }
  .testimonial-marquee { gap: 12px; }
  .testimonial-marquee__group { gap: 12px; padding-right: 12px; }
  .testimonial-marquee-card { width: min(84vw, 390px); min-height: 260px; }
  .testimonial-marquee__fade { width: 48px; }
  .faq-tabs { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .faq-item summary { padding-block: 22px; }
  .legal-hero { padding-top: calc(var(--header-height) + 56px); }
  .footer-nav { row-gap: 16px; }
}

@media (max-width: 390px) {
  .language-switcher__toggle span { font-size: 10px; }
  .language-switcher__toggle svg { display: none; }
  .language-switcher__toggle { min-width: 36px; padding-inline: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
  .technology-marquee__track,
  .testimonial-marquee__row { animation: none !important; transform: none !important; }
  .technology-marquee,
  .testimonial-marquee { overflow-x: auto; }
  .technology-marquee__fade,
  .testimonial-marquee__fade { display: none; }
}


/* ========================================================================
   Ajustes 2026-08 — header mobile, overlay e faixa de tecnologias em Serviços
   ======================================================================== */

/* Todos os controles compactos do header passam a compartilhar a mesma altura. */
@media (min-width: 681px) {
  .header-action {
    width: 40px;
    height: 40px;
    padding: 0;
  }
  .language-switcher__toggle {
    height: 40px;
    min-width: 52px;
    padding-inline: 9px;
  }
}

/* A faixa agora funciona como apoio visual da página de Serviços, sem título extra. */
.technology-marquee-section--services {
  padding: clamp(34px, 4.4vw, 68px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-alt);
}
.technology-marquee-section--services .technology-marquee__fade--left {
  background: linear-gradient(90deg, var(--surface-alt), transparent);
}
.technology-marquee-section--services .technology-marquee__fade--right {
  background: linear-gradient(270deg, var(--surface-alt), transparent);
}
.technology-marquee-section--services .technology-logo {
  width: clamp(174px, 15vw, 244px);
  min-height: 78px;
}
.technology-logo > svg {
  width: clamp(27px, 2.25vw, 36px);
  height: clamp(27px, 2.25vw, 36px);
  flex: 0 0 auto;
  stroke-width: 1.55;
}
.technology-logo--ai span {
  letter-spacing: -.035em;
}

/* Menu fullscreen: usa a viewport dinâmica e nunca corta os metadados no mobile. */
@media (max-width: 680px) {
  .language-switcher {
    display: none !important;
  }

  .nav-overlay {
    height: 100dvh;
    min-height: 100svh;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .nav-overlay__inner {
    position: relative;
    min-height: 100dvh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding:
      calc(var(--header-height) + 16px)
      var(--gutter)
      max(20px, env(safe-area-inset-bottom));
  }
  .nav-list {
    flex: 1 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-block: clamp(26px, 7dvh, 62px);
  }
  .nav-list a {
    font-size: clamp(31px, 9.3vw, 46px);
    line-height: 1.08;
    padding-block: 4px;
  }
  .nav-meta {
    position: static;
    inset: auto;
    flex: 0 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.12);
    text-align: center;
    font-size: 12px;
    line-height: 1.3;
  }
  html[data-theme="light"] .nav-meta {
    border-top-color: var(--line);
  }
  .nav-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 22px;
  }
  .nav-social a {
    min-height: 28px;
  }

  .technology-marquee-section--services {
    padding-block: 28px;
  }
  .technology-marquee-section--services .technology-logo {
    width: 154px;
    min-height: 68px;
    margin-inline: 8px;
  }
  .technology-logo > svg {
    width: 27px;
    height: 27px;
  }
}

/* Telefones baixos / navegador com barras grandes: compacta sem esconder conteúdo. */
@media (max-width: 680px) and (max-height: 700px) {
  .nav-overlay__inner {
    padding-top: calc(var(--header-height) + 8px);
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }
  .nav-list {
    padding-block: 16px;
  }
  .nav-list a {
    font-size: clamp(28px, 8.4vw, 38px);
    line-height: 1.04;
    padding-block: 2px;
  }
  .nav-meta {
    gap: 9px;
    padding-top: 12px;
    font-size: 11px;
  }
}

/* ========================================================================
   Refinamentos finais 2026-08 — toque mobile, header, menu e marquees
   ======================================================================== */

/* Remove o flash azul/cinza de toque dos navegadores WebKit/Blink sem
   remover o foco de teclado. O outline nativo/focus-visible continua ativo. */
a,
button,
summary,
[role="button"],
[role="tab"] {
  -webkit-tap-highlight-color: transparent;
}

a,
button,
summary {
  touch-action: manipulation;
}

/* O bloco extra só existe visualmente no menu compacto. */
.nav-mobile-tools {
  display: none;
}

/* Altura única para os controles do header desktop. */
:root {
  --header-control-size: 42px;
}

@media (min-width: 981px) {
  .site-header__inner,
  .header-right {
    align-items: center;
  }

  .header-action {
    width: var(--header-control-size);
    height: var(--header-control-size);
    min-width: var(--header-control-size);
    min-height: var(--header-control-size);
    padding: 0;
    display: inline-grid;
    place-items: center;
    line-height: 1;
    box-sizing: border-box;
  }

  .language-switcher {
    height: var(--header-control-size);
    display: inline-flex;
    align-items: center;
  }

  .language-switcher__toggle {
    height: var(--header-control-size);
    min-height: var(--header-control-size);
    min-width: 56px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    line-height: 1;
    vertical-align: middle;
  }

  .header-cta,
  .clock {
    height: var(--header-control-size);
    min-height: var(--header-control-size);
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
}

/* A partir do mesmo breakpoint em que CTA/relógio saem, o idioma deixa o
   header e passa a ficar dentro do menu. Isso evita um header apertado em
   celulares grandes e tablets em retrato. */
@media (max-width: 980px) {
  .language-switcher {
    display: none !important;
  }

  .header-action {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    display: inline-grid;
    place-items: center;
    line-height: 1;
  }

  .nav-overlay {
    height: 100dvh;
    min-height: 100svh;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .nav-overlay__inner {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    padding:
      calc(var(--header-height) + 8px)
      var(--gutter)
      max(22px, env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .nav-list {
    flex: 0 0 auto;
    width: 100%;
  }

  .nav-list a {
    font-size: clamp(34px, 7.2vw, 52px);
    line-height: 1.08;
    padding-block: 3px;
  }

  .nav-mobile-tools {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: clamp(24px, 4vh, 38px);
  }

  .nav-social--menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 26px;
    font-size: 13px;
    font-weight: 650;
  }

  .nav-social--menu a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .nav-social--menu i {
    width: 17px;
    font-size: 16px;
    text-align: center;
  }

  .nav-language-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .nav-language-mobile button {
    appearance: none;
    border: 1px solid rgba(255,255,255,.22);
    background: transparent;
    color: rgba(255,255,255,.66);
    min-width: 42px;
    height: 34px;
    padding: 0 9px;
    cursor: pointer;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .08em;
    line-height: 1;
  }

  .nav-language-mobile button.is-active {
    color: #fff;
    border-color: rgba(255,255,255,.72);
    background: rgba(255,255,255,.08);
  }

  .nav-meta {
    position: static;
    inset: auto;
    flex: 0 0 auto;
    width: 100%;
    margin-top: clamp(30px, 6vh, 64px);
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    font-size: 11px;
    line-height: 1.3;
  }

  /* O social principal já está logo após a navegação; evita duplicação. */
  .nav-meta .nav-social {
    display: none;
  }
}

@media (max-width: 680px) {
  .nav-list a {
    font-size: clamp(31px, 9vw, 44px);
  }

  .nav-mobile-tools {
    margin-top: clamp(20px, 3.5vh, 30px);
  }

  .nav-meta {
    margin-top: clamp(22px, 4.5vh, 42px);
  }
}

/* Viewports realmente baixos continuam roláveis, mas a composição compacta
   bastante antes de precisar rolar. */
@media (max-width: 980px) and (max-height: 700px) {
  .nav-overlay__inner {
    justify-content: flex-start;
    padding-top: calc(var(--header-height) + 4px);
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }

  .nav-list {
    margin-top: 12px;
  }

  .nav-list a {
    font-size: clamp(28px, 7.3vh, 38px);
    line-height: 1.02;
    padding-block: 1px;
  }

  .nav-mobile-tools {
    margin-top: 18px;
    gap: 10px;
  }

  .nav-meta {
    margin-top: 18px;
    padding-top: 10px;
    gap: 6px;
  }
}

/* Logos de tecnologia: os glifos vêm da coleção Simple Icons via Iconify.
   Cada nome usa o desenho oficial da respectiva marca; nenhuma forma é
   desenhada manualmente neste projeto. */
.technology-logo > iconify-icon {
  display: inline-block;
  width: clamp(28px, 2.35vw, 38px);
  height: clamp(28px, 2.35vw, 38px);
  flex: 0 0 auto;
  color: var(--technology-brand, currentColor);
}

.technology-logo--aws { --technology-brand: #232f3e; }
.technology-logo--cloudflare { --technology-brand: #f38020; }
.technology-logo--docker { --technology-brand: #2496ed; }
.technology-logo--github { --technology-brand: #181717; }
.technology-logo--claude { --technology-brand: #d97757; }
.technology-logo--openai { --technology-brand: #412991; }
.technology-logo--n8n { --technology-brand: #ea4b71; }
.technology-logo--supabase { --technology-brand: #3fcf8e; }
.technology-logo--vercel { --technology-brand: #000000; }
.technology-logo--figma { --technology-brand: #f24e1e; }

/* GitHub/Vercel são essencialmente escuros; no tema dark o desenho continua
   oficial, apenas usa currentColor para não desaparecer no fundo. */
html[data-theme="dark"] .technology-logo--dark-brand {
  --technology-brand: #f6f8fb;
}

html[data-theme="dark"] .technology-logo--aws {
  --technology-brand: #f4f7fb;
}

@media (max-width: 680px) {
  .technology-logo > iconify-icon {
    width: 27px;
    height: 27px;
  }
}

/* Testimonials: deixa só transform no compositor, reduz custo de pintura e
   pausa apenas a linha sob o ponteiro. */
.testimonial-marquee__row {
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
}

.testimonial-marquee__row--forward {
  animation: testimonialForward 44s linear infinite;
}

.testimonial-marquee__row--reverse {
  animation: testimonialReverse 50s linear infinite;
}

/* Substitui o hover antigo que pausava as duas linhas ao mesmo tempo. */
.testimonial-marquee:hover .testimonial-marquee__row {
  animation-play-state: running;
}

.testimonial-marquee__row:hover {
  animation-play-state: paused;
}

.testimonial-marquee-card {
  contain: layout paint style;
  backface-visibility: hidden;
  transform: translateZ(0);
  box-shadow: 0 14px 38px rgba(0,0,0,.09);
}

html[data-theme="light"] .testimonial-marquee-card {
  box-shadow: 0 12px 34px rgba(6,25,56,.055);
}

.testimonial-marquee-card__head img {
  width: 52px;
  height: 52px;
}

@keyframes testimonialForward {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes testimonialReverse {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

html[data-theme="light"] .nav-language-mobile button {
  border-color: rgba(2,8,23,.18);
  color: rgba(2,8,23,.58);
}

html[data-theme="light"] .nav-language-mobile button.is-active {
  color: var(--ink);
  border-color: rgba(2,8,23,.58);
  background: rgba(2,8,23,.05);
}

html[data-theme="light"] .nav-meta {
  border-top-color: var(--line);
}

/* Especificidade intencional: o container mantém ambas rodando, e somente a
   linha efetivamente sob o cursor entra em pausa. */
.testimonial-marquee:hover .testimonial-marquee__row:hover {
  animation-play-state: paused;
}

/* Evita o conteúdo da página aparecendo por trás do menu no tema claro. */
html[data-theme="light"] .nav-overlay {
  background: #f7f7f5;
}


/* =========================================================
   Produção 2026-08 — cases mobile e refinamento do marquee
   ========================================================= */

/* Moldura inspirada no componente Iphone16Pro do 21st.dev fornecido pelo cliente. */
.project-device-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 2.5vw, 38px);
  align-items: start;
  margin: clamp(62px, 8vw, 118px) 0;
}
.device-shot {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 16px;
  min-width: 0;
}
.iphone16-pro {
  display: block;
  width: min(100%, 268px);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .18));
  transition: transform .55s var(--ease), filter .55s var(--ease);
}
.device-shot:hover .iphone16-pro {
  transform: translateY(-5px);
  filter: drop-shadow(0 32px 46px rgba(0, 0, 0, .23));
}
.device-shot figcaption,
.project-desktop-shot figcaption {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
}
.project-desktop-shot {
  grid-column: 1 / -1;
  margin: clamp(18px, 3vw, 42px) 0 0;
  display: grid;
  gap: 14px;
}
.project-desktop-shot__frame {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0d0e10;
  box-shadow: 0 26px 70px rgba(0,0,0,.12);
}
.project-desktop-shot__frame img {
  display: block;
  width: 100%;
  height: auto;
}
html[data-theme="light"] .iphone16-pro {
  filter: drop-shadow(0 24px 34px rgba(6, 25, 56, .14));
}

/* Iconify/Simple Icons: logo e nome passam a compartilhar o mesmo centro vertical. */
.technology-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(14px, 1.4vw, 20px);
  min-height: 92px;
}
.technology-logo > iconify-icon {
  display: block;
  width: clamp(46px, 3.7vw, 62px);
  height: clamp(46px, 3.7vw, 62px);
  flex: 0 0 clamp(46px, 3.7vw, 62px);
  line-height: 1;
  vertical-align: middle;
}
.technology-logo > span {
  display: inline-flex;
  align-items: center;
  min-height: clamp(46px, 3.7vw, 62px);
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .project-device-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .project-device-gallery {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-block: 58px 72px;
  }
  .iphone16-pro { width: min(74vw, 292px); }
  .project-desktop-shot { margin-top: 8px; }
  .technology-logo {
    min-height: 82px;
    gap: 13px;
  }
  .technology-logo > iconify-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }
  .technology-logo > span { min-height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .device-shot:hover .iphone16-pro { transform: none; }
}

/* Sobrescreve as dimensões antigas específicas da página de Serviços. */
.technology-marquee-section--services .technology-logo {
  width: clamp(220px, 18vw, 300px);
  min-height: 98px;
  justify-content: center;
  gap: clamp(14px, 1.4vw, 20px);
}

@media (max-width: 680px) {
  .technology-marquee-section--services .technology-logo {
    width: 196px;
    min-height: 84px;
    margin-inline: 10px;
    justify-content: center;
  }
}
