@import "./components.css";
@import "./showcase.css";
:root,
[data-theme="dark"] {
  --bg: #0a0c10;
  --bg-2: #0f1319;
  --panel: #141a22;
  --panel-2: #1a212b;
  --ink: #f3f6f8;
  --ink-2: #ccd4de;
  --muted: #9aa5b4;
  --faint: #6b7684;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --control-line: #70808f;
  --accent: #14c3d4;
  --accent-ink: #5ee4f0;
  --on-accent: #0a0c10;
  --glow: rgba(20, 195, 212, 0.18);
  --amber: #f2b45c; /* só filme + causa social */
  --gutter: clamp(20px, 5vw, 64px);
  --maxw: 1200px;
  --maxw-wide: 1440px;
  --nav-h: 72px;
  --display: "Space Grotesk", sans-serif;
  --body: "Inter", sans-serif;
  --mono: "JetBrains Mono", monospace;
  --serif: "Instrument Serif", Georgia, serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 40px;
  --s-5: 64px;
  --s-6: 96px;
  --s-7: 144px;
}
[data-theme="light"] {
  --bg: #f4f3ef;
  --bg-2: #ebe9e3;
  --panel: #ffffff;
  --panel-2: #f8f7f3;
  --ink: #0e1116;
  --ink-2: #2a3340;
  --muted: #586273;
  --faint: #8a93a1;
  --line: rgba(14, 17, 22, 0.1);
  --line-2: rgba(14, 17, 22, 0.18);
  --accent-ink: #0a6f7c;
  --glow: rgba(20, 195, 212, 0.14);
}
[data-theme] {
  background: var(--bg);
  color: var(--ink);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--body);
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
}
h1 {
  font-size: clamp(2.375rem, 5.2vw, 4.5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.045em;
  max-width: 20ch;
}
h2 {
  font-size: clamp(1.875rem, 3.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 600;
  text-wrap: balance;
}
h3 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
}
p {
  color: var(--muted);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
summary {
  font: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 4px;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
::selection {
  background: var(--accent);
  color: var(--on-accent);
}
.wrap {
  width: min(1200px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}
.section {
  padding-block: 96px;
}
.eyebrow {
  display: block;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 16px;
}
/* Escala tipográfica (spec §0.2) — utilitários, aplicados nas fatias seguintes */
.display-xl {
  font: 700 clamp(44px, 7.2vw, 104px) / 0.95 var(--display);
  letter-spacing: -0.03em;
}
.display-l {
  font: 700 clamp(34px, 4.6vw, 64px) / 1.02 var(--display);
  letter-spacing: -0.025em;
}
.display-m {
  font: 600 clamp(24px, 2.4vw, 32px) / 1.1 var(--display);
}
.accent-serif {
  font: italic 400 1.08em var(--serif);
  color: var(--accent-ink);
}
.num {
  font: italic 400 clamp(56px, 8vw, 120px) / 1 var(--serif);
  color: var(--faint);
}
.muted {
  color: var(--muted);
}
.accent {
  color: var(--accent-ink);
}
.lead {
  font-size: 20px;
  line-height: 1.5;
  max-width: 56ch;
  margin-top: 20px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}
.section-head h2 {
  max-width: 20ch;
}
.section-head > p {
  max-width: 35ch;
}
.section-head > a {
  flex-shrink: 0;
}
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 52px;
  padding: 12px 24px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}
.btn:hover {
  text-decoration: none;
  border-color: var(--accent-ink);
}
.btn:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
}
.btn.primary {
  background: var(--accent);
  border-color: transparent;
  color: var(--on-accent);
  box-shadow:
    0 0 0 1px rgba(20, 195, 212, 0.35),
    0 10px 30px -10px var(--glow);
}
.btn.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 30%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  pointer-events: none;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-ink);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.small {
  font-size: 13px;
}
.line {
  border-top: 1px solid var(--line);
}
.soft {
  background: var(--bg-2);
}
[id] {
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.study {
  padding: 9px 20px;
  text-align: center;
  background: #e6fafc;
  color: #0a6f7c;
  font-size: 12px;
  line-height: 1.5;
}
.study a {
  text-decoration: underline;
}
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  background: transparent;
  color: #fff;
  border-bottom: 1px solid transparent;
  text-shadow: 0 1px 22px rgba(0, 0, 0, 0.55);
  transition:
    background-color 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out),
    color 0.3s var(--ease-out);
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 180%;
  background: linear-gradient(to bottom, rgba(5, 7, 11, 0.72), rgba(5, 7, 11, 0));
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.3s var(--ease-out);
}
.nav .btn {
  text-shadow: none;
}
.nav.is-scrolled {
  background: rgba(10, 12, 16, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
  text-shadow: none;
}
.nav.is-scrolled::before,
.nav.on-light::before {
  opacity: 0;
}
.nav.on-light {
  --ink: #0e1116;
  --ink-2: #2a3340;
  --muted: #586273;
  --line: rgba(14, 17, 22, 0.1);
  --accent-ink: #0a6f7c;
  background: rgba(244, 243, 239, 0.86);
  color: var(--ink);
  text-shadow: none;
}
main > .section:first-child {
  padding-top: calc(96px + var(--nav-h));
}
.nav-inner {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font: 600 23px/1.2 var(--display);
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.brand b {
  color: var(--accent);
  font-weight: 600;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 14px;
}
.nav-links a:not(.btn) {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.mobile-menu {
  display: none;
}
.mobile-menu summary {
  cursor: pointer;
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.mobile-menu summary::-webkit-details-marker {
  display: none;
}
.menu-panel {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  padding: 20px var(--gutter) 28px;
  background: #11151c;
  border-bottom: 1px solid var(--line);
}
.menu-panel a {
  display: flex;
  align-items: center;
  min-height: 48px;
}
.menu-panel .btn {
  margin-top: 16px;
}
.hero {
  padding-block: 92px 58px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px;
  align-items: center;
}
.hero-copy,
.hero-art {
  min-width: 0;
}
.hero .lead {
  max-width: 46ch;
}
.hero .actions {
  gap: 12px;
}
.hero .btn {
  padding-inline: 18px;
  gap: 16px;
}
.competencies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 24px;
}
.competencies span + span:before {
  content: "·";
  margin-right: 18px;
  color: var(--accent-ink);
}
.hero-art {
  position: relative;
  padding: 38px 0 0 0;
}
.hero-art:before {
  content: "";
  position: absolute;
  inset: -35px -10px 15px 0;
  background:
    linear-gradient(#5ee4f00e 1px, transparent 1px),
    linear-gradient(90deg, #5ee4f00e 1px, transparent 1px),
    radial-gradient(ellipse at center, #14c3d41f, transparent 70%);
  background-size:
    48px 48px,
    48px 48px,
    100% 100%;
  mask-image: radial-gradient(ellipse, #000 30%, transparent 72%);
  pointer-events: none;
}
.art-index {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 11px/1.5 var(--mono);
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 18px;
}
.pixel {
  width: 8px;
  height: 8px;
  background: var(--accent);
  display: inline-block;
  margin-right: 10px;
}
.browser {
  position: relative;
  border: 1px solid #39414c;
  border-radius: 12px;
  overflow: hidden;
  background: #11151c;
  box-shadow: 0 20px 50px #0002;
}
.browser-bar {
  height: 24px;
  display: flex;
  align-items: center;
  padding-inline: 12px;
  gap: 5px;
  background: #1a212b;
}
.browser-bar i {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #70808f;
}
.browser img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: contain;
}
.hero-art .browser {
  width: 86%;
}
.phone {
  position: relative;
  margin: -78px 0 0 auto;
  width: 25%;
  border: 5px solid #202832;
  background: #202832;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 32px #0005;
}
.phone img {
  width: 100%;
  aspect-ratio: 390/844;
  object-fit: contain;
  border-radius: 12px;
}
.hero-art figcaption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 20px;
}
.hero-bottom {
  margin-top: 54px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
}
.hero-bottom span:last-child {
  font-family: var(--mono);
  font-size: 11px;
}
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.service {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.service-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.service-top span {
  font: 12px var(--mono);
  color: var(--muted);
}
.service-top svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--accent-ink);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service p {
  margin-top: 14px;
}
.service ul {
  padding-left: 17px;
  margin: 22px 0 28px;
  font-size: 14px;
  color: var(--muted);
}
.service-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.service-footer .small {
  display: block;
}
.service-footer .text-link {
  justify-content: space-between;
  width: 100%;
}
.automation {
  margin-top: 24px;
  border-bottom: 1px solid var(--line);
  padding: 8px 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  font-size: 14px;
}
.automation strong {
  color: var(--ink);
  font-weight: 600;
}
.showcase {
  padding-bottom: 64px;
}
.showcase .section-head h2 {
  max-width: 19ch;
}
.cinema {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.cinema img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: contain;
}
.project-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
}
.project-caption h3 {
  margin-top: 6px;
}
.project-caption p {
  font-size: 14px;
  margin-top: 8px;
}
.project-caption .eyebrow {
  margin: 0;
}
.portfolio {
  padding-top: 48px;
}
.product {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.pending {
  min-height: 300px;
  aspect-ratio: 16/10;
  border: 1px dashed #70808f;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px;
  background: var(--bg-2);
}
.pending p {
  max-width: 29ch;
  margin-top: 12px;
  font-size: 14px;
}
.pending .pixel {
  width: 20px;
  height: 20px;
  margin: 0 0 24px;
}
.pending strong {
  font: 600 24px var(--display);
  color: var(--ink);
}
.product h3 {
  font-size: 36px;
  margin-bottom: 16px;
}
.product p {
  max-width: 40ch;
}
.product .text-link {
  margin-top: 16px;
}
.works {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 24px;
}
.work {
  min-width: 0;
}
.work .browser {
  box-shadow: none;
}
.work .caption {
  padding-top: 20px;
}
.work h3 {
  font-size: 24px;
  margin-top: 6px;
}
.work .caption .small {
  color: var(--muted);
}
.work .text-link {
  margin-top: 8px;
}
.social-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 64px;
}
.social h2 {
  max-width: 20ch;
}
.social .lead {
  max-width: 44ch;
}
.social-note {
  border-left: 2px solid var(--accent);
  padding: 8px 0 8px 28px;
  align-self: center;
}
.social-note h3 {
  font-size: 24px;
  margin-bottom: 16px;
}
.social-note p {
  font-size: 15px;
}
.invitation {
  margin-top: 40px;
  padding: 24px 0;
  border-block: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.invitation h3 {
  font-size: 22px;
}
.invitation p {
  font-size: 14px;
  margin-top: 5px;
}
.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.price-card {
  padding: 30px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-top: 3px solid var(--accent);
  padding-top: 28px;
  background: var(--bg-2);
}
.price-card h3 {
  font-size: 22px;
}
.price-card .qualifier {
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
  min-height: 22px;
}
.price {
  font: 600 40px/1.2 var(--display);
  letter-spacing: -0.035em;
  margin: 4px 0 20px;
}
.price.consult {
  font-size: 32px;
  margin-block: 8px 25px;
}
.price-card p {
  font-size: 14px;
  margin-bottom: 24px;
}
.price-card .btn {
  margin-top: auto;
}
.pricing-note {
  font-size: 13px;
  margin-top: 24px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.step {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.step span {
  font: 12px var(--mono);
  color: var(--accent-ink);
}
.step h3 {
  font-size: 20px;
  margin: 20px 0 12px;
}
.step p {
  font-size: 14px;
}
.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.final-cta h2 {
  max-width: 16ch;
}
.final-cta .actions {
  margin-top: 0;
  max-width: 360px;
}
.final-cta .mail {
  display: block;
  font-size: 14px;
  color: var(--muted);
  overflow-wrap: anywhere;
  margin-top: 16px;
}
.footer {
  padding-block: 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 13px;
}
.footer-links a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 24px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.footer-bottom a {
  overflow-wrap: anywhere;
}
.review-note {
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
  border-left: 2px solid var(--line);
  padding-left: 16px;
}
@media (max-width: 1199px) {
  :root {
    --gutter: 32px;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  .hero {
    padding-top: 64px;
  }
  .hero-grid {
    grid-template-columns: 7fr 5fr;
  }
  .hero .actions {
    flex-direction: column;
    align-items: start;
  }
  .hero .btn {
    min-width: 230px;
  }
  .product {
    gap: 32px;
  }
  .social-grid {
    gap: 32px;
  }
  .services {
    gap: 16px;
  }
  .service {
    padding: 24px;
  }
  .pricing {
    gap: 16px;
  }
  .price-card {
    padding-inline: 20px;
  }
}
@media (max-width: 1023px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    max-width: 740px;
  }
  .hero .actions {
    flex-direction: row;
  }
  .hero-art {
    width: min(560px, 100%);
    margin: 44px auto 0;
    padding-top: 0;
  }
  .hero .btn {
    min-width: 0;
  }
  .hero-art:before {
    inset: -30px 0;
  }
  .hero-bottom {
    margin-top: 40px;
  }
  .services {
    grid-template-columns: 1fr;
  }
  .service {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
  }
  .service-top {
    grid-column: 1/-1;
    margin-bottom: 20px;
  }
  .service h3 {
    grid-column: 1;
  }
  .service p {
    grid-column: 1;
  }
  .service ul {
    grid-column: 2;
    grid-row: 2/4;
    margin: 0;
  }
  .service-footer {
    grid-column: 1/-1;
    margin-top: 24px;
  }
  .pricing {
    grid-template-columns: 1fr;
  }
  .price-card {
    padding: 28px;
  }
  .price-card.featured {
    padding-top: 26px;
  }
  .price-card .qualifier {
    margin-top: 20px;
  }
  .price-card .btn {
    align-self: start;
  }
  .price {
    font-size: 36px;
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }
  .product {
    grid-template-columns: 1fr;
  }
  .product-copy {
    max-width: 54ch;
  }
  .product .pending {
    min-height: 240px;
    max-width: 100%;
  }
  .social-grid {
    grid-template-columns: 1fr;
  }
  .social-note {
    margin-top: 8px;
  }
  .section-head {
    align-items: start;
  }
  .footer-top {
    align-items: start;
    flex-direction: column;
  }
  .final-cta {
    align-items: start;
  }
  .works {
    gap: 40px 24px;
  }
}
@media (max-width: 767px) {
  :root {
    --gutter: 20px;
  }
  .section {
    padding-block: 64px;
  }
  .nav-inner {
    min-height: 64px;
  }
  .brand {
    font-size: 21px;
  }
  .hero {
    padding-top: 48px;
    padding-bottom: 32px;
  }
  .hero h1 {
    max-width: 18ch;
  }
  .lead {
    font-size: 17px;
  }
  .hero .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero .btn {
    width: 100%;
    min-height: 50px;
  }
  .competencies {
    gap: 8px 12px;
    font-size: 12px;
  }
  .competencies span + span:before {
    margin-right: 12px;
  }
  .hero-art {
    margin-top: 40px;
    width: min(360px, 100%);
  }
  .hero-art figcaption {
    font-size: 11px;
  }
  .phone {
    margin-top: -60px;
  }
  .hero-bottom {
    flex-direction: column;
    gap: 8px;
    margin-top: 32px;
    font-size: 11px;
  }
  .section-head {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 28px;
  }
  .section-head > p {
    max-width: 48ch;
  }
  .service {
    display: flex;
    padding: 24px;
  }
  .service-top {
    margin-bottom: 24px;
  }
  .service p {
    margin-top: 14px;
  }
  .service ul {
    margin: 20px 0 0;
  }
  .service-footer {
    margin-top: 24px;
  }
  .automation {
    flex-direction: column;
    align-items: start;
    gap: 8px;
  }
  .showcase {
    padding-bottom: 40px;
  }
  .project-caption {
    flex-direction: column;
    align-items: start;
    gap: 16px;
  }
  .project-caption h3 {
    font-size: 24px;
  }
  .portfolio {
    padding-top: 32px;
  }
  .product {
    gap: 24px;
    margin-bottom: 48px;
  }
  .product h3 {
    font-size: 30px;
  }
  .pending {
    min-height: 220px;
    padding: 24px;
  }
  .works {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .work h3 {
    font-size: 22px;
  }
  .social-grid {
    gap: 24px;
  }
  .social-note {
    padding-left: 20px;
  }
  .invitation {
    flex-direction: column;
    align-items: start;
    margin-top: 32px;
  }
  .invitation .btn {
    width: 100%;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .step {
    display: grid;
    grid-template-columns: 32px 1fr;
    column-gap: 16px;
    align-items: start;
  }
  .step span {
    padding-top: 4px;
  }
  .step h3 {
    margin: 0 0 12px;
  }
  .step p {
    grid-column: 2;
  }
  .final-cta {
    flex-direction: column;
    gap: 28px;
  }
  .final-cta > div {
    width: 100%;
  }
  .final-cta .actions {
    max-width: none;
  }
  .final-cta .btn {
    width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
  .study {
    font-size: 11px;
  }
  .cinema {
    border-radius: 12px;
  }
}
@media (max-width: 359px) {
  :root {
    --gutter: 16px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .brand {
    font-size: 19px;
  }
  .competencies {
    gap: 7px 10px;
  }
  .competencies span + span:before {
    margin-right: 10px;
  }
  .hero-art .phone {
    display: none;
  }
  .hero-art .browser {
    width: 100%;
  }
  .hero-art figcaption .mobile-credit {
    display: none;
  }
  .price-card {
    padding-inline: 22px;
  }
}
.product > * {
  min-width: 0;
}
.product .pending {
  width: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  .btn,
  .text-link {
    transition:
      background 0.16s,
      border-color 0.16s,
      color 0.16s,
      transform 0.16s var(--ease-out);
  }
  .btn.primary:hover {
    transform: translateY(-1px);
  }
  .btn.primary:active {
    transform: translateY(1px);
  }
  .btn.primary:hover::after {
    transform: translateX(120%);
    transition: transform 0.6s var(--ease-out);
  }
  .text-link .arrow {
    transition: transform 0.16s;
  }
  .text-link:hover .arrow {
    transform: translateX(3px);
  }
}
/* Chegada de seção (spec §0.3) */
html.js .section .wrap > * {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}
html.js .section.in .wrap > * {
  opacity: 1;
  transform: none;
}
html.js .section .wrap > :nth-child(2) {
  transition-delay: 0.09s;
}
html.js .section .wrap > :nth-child(3) {
  transition-delay: 0.18s;
}
html.js .section .wrap > :nth-child(4) {
  transition-delay: 0.27s;
}
@media (prefers-reduced-motion: reduce) {
  html.js .section .wrap > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============ S3 — seções em camadas (spec §2, §3, §5, §6, §7, §8) ============ */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}
.services-layer,
.showcase,
.social,
.final {
  min-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* §2 Serviços */
.services-layer {
  position: relative;
  z-index: 1;
  overflow: hidden;
  isolation: isolate;
}
.services-layer > .wrap {
  position: relative;
  z-index: 1;
}
.grid-bg {
  position: absolute;
  inset: -10% 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: radial-gradient(60% 50% at 50% 40%, #000 30%, transparent 100%);
  mask-image: radial-gradient(60% 50% at 50% 40%, #000 30%, transparent 100%);
}
.services-head {
  align-items: end;
  margin-bottom: var(--s-5);
}
.services-title {
  grid-column: 1 / 8;
}
.services-support {
  grid-column: 9 / 13;
  color: var(--ink-2);
}
.plate {
  grid-column: span 4;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 32px;
  min-height: 420px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: var(--s-3);
  color: var(--ink);
  text-decoration: none;
  transition:
    transform 0.5s var(--ease-out),
    border-color 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out);
}
.plate:hover,
.plate:focus-visible {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.8);
}
.plate:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
}
.plate-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
}
.plate .num {
  transition: color 0.5s var(--ease-out);
}
.plate:hover .num,
.plate:focus-visible .num {
  color: var(--accent-ink);
}
.plate-top svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--muted);
}
.plate-body p {
  margin-top: var(--s-2);
  color: var(--ink-2);
}
.plate-body ul {
  list-style: none;
  padding: 0;
  margin-top: var(--s-3);
  font: 12px/1.9 var(--mono);
  color: var(--muted);
}
.plate-body li::before {
  content: "— ";
}
.plate-foot {
  border-top: 1px solid var(--line);
  padding-top: var(--s-3);
  display: grid;
  gap: var(--s-1);
}
.plate-link {
  font: 500 13px var(--mono);
  color: var(--accent-ink);
}
.services-layer .automation {
  margin-top: var(--s-4);
  padding: var(--s-3) 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--s-3);
  align-items: center;
  font-size: 15px;
}
.services-layer .automation .eyebrow {
  margin: 0;
}
/* §3 Vitrine */
.showcase {
  background: var(--bg-2);
  min-height: min(100vh, 980px);
  padding-block: var(--s-6);
}
.showcase-grid {
  align-items: center;
  position: relative;
  z-index: 2;
}
.showcase-media {
  grid-column: 1 / 9;
  position: relative;
}
.frame-offset {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 16/10;
  border: 1px solid var(--accent);
  border-radius: 16px;
  translate: 14px 14px;
  transition: translate 0.6s var(--ease-out);
}
.showcase-grid:hover .frame-offset {
  translate: 0 0;
}
.showcase-video {
  position: relative;
}
.showcase .cinema {
  border-radius: 16px;
  border: 0;
  box-shadow: 0 40px 80px -40px #000;
}
.showcase .cinema img,
.showcase .cinema video {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
}
.showcase-copy {
  grid-column: 9 / 13;
  display: grid;
  gap: var(--s-2);
  justify-items: start;
}
.showcase-copy .eyebrow,
.social-copy .eyebrow,
.paper-head .eyebrow {
  margin: 0;
}
.showcase-copy p {
  color: var(--ink-2);
}
.showcase-quote {
  margin: var(--s-3) 0 0;
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  font: italic 400 28px/1.2 var(--serif);
  color: var(--ink-2);
}
/* §5 Causa social */
.social {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.social-rings {
  position: absolute;
  left: 72%;
  top: 50%;
  width: 1044px;
  height: 1044px;
  margin: -522px 0 0 -522px;
  color: var(--accent);
  pointer-events: none;
}
.social > .wrap {
  position: relative;
  z-index: 1;
}
.social .social-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}
.social-media {
  grid-column: 1 / 6;
  position: relative;
}
.social-media::before {
  content: "";
  position: absolute;
  inset: 0;
  translate: 16px 16px;
  background: var(--panel);
  border-radius: 16px;
}
.social-media .social-detail {
  position: relative;
  margin: 0;
}
.social-media img {
  border: 1px solid var(--line);
  border-radius: 16px;
  width: 100%;
  height: auto;
}
.social-media figcaption {
  font: 12px var(--mono);
  color: var(--muted);
  margin-top: var(--s-2);
  padding: 0 var(--s-2) var(--s-1);
}
.social-copy {
  grid-column: 7 / 13;
  display: grid;
  gap: var(--s-2);
  justify-items: start;
}
.social-copy p {
  color: var(--ink-2);
  max-width: 52ch;
}
.amber-rule {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--amber);
}
.chips {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-1);
}
.chips li {
  font: 12px/1 var(--mono);
  border: 1px solid var(--line-2);
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-2);
}
.social .invitation {
  margin-top: var(--s-2);
  padding: var(--s-3) 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  display: grid;
  gap: var(--s-1);
  width: 100%;
  justify-items: start;
}
.social .invitation .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-2);
}
.mono-link {
  font: 13px var(--mono);
}
/* §6 Placa de papel */
.paper {
  background: var(--bg);
  color: var(--ink);
  border-block: 1px solid var(--line);
}
.paper-head {
  display: grid;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
}
.price-grid {
  align-items: stretch;
}
.price-col {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  padding: var(--s-4) 32px;
  border: 1px solid transparent;
  border-radius: 20px;
}
.price-col.featured {
  background: var(--panel);
  border-color: var(--accent);
  box-shadow: 0 30px 60px -40px rgba(14, 17, 22, 0.35);
}
.price-sub,
.price-pre {
  font: 12px/1.4 var(--mono);
  color: var(--muted);
}
.price-sub {
  margin-top: var(--s-1);
}
.price-pre {
  margin-top: var(--s-4);
}
.price-val {
  font: 700 56px/1.05 var(--display);
  letter-spacing: -0.03em;
  margin: 4px 0 var(--s-3);
}
.price-val.consult {
  font-size: 40px;
  line-height: 1.47;
}
.price-col p {
  color: var(--ink-2);
  margin-bottom: var(--s-3);
}
.price-col .btn {
  margin-top: auto;
  align-self: start;
}
.paper .pricing-note {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-2);
  font-size: 15px;
  color: var(--ink-2);
}
.process .steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding-top: var(--s-4);
}
.steps-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  overflow: visible;
}
.steps-line line {
  stroke: var(--accent-ink);
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.process .step {
  display: block;
  border: 0;
  padding: 0;
}
.process .step .num {
  display: block;
  font-size: 56px;
  padding: 0;
  margin-bottom: var(--s-2);
}
.process .step h3 {
  margin: 0 0 var(--s-1);
}
.process .step p {
  font-size: 15px;
  color: var(--ink-2);
}
/* §7 CTA final + rodapé */
.final {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  text-align: center;
}
.cta-rings {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1804px;
  height: 1804px;
  margin: -902px 0 0 -902px;
  color: var(--accent);
  opacity: 0.06;
  pointer-events: none;
}
.final .final-cta {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: var(--s-3);
}
.final .final-cta .eyebrow {
  margin: 0;
}
.final h2 {
  max-width: 12ch;
}
.final .final-cta .actions {
  max-width: none;
  margin-top: var(--s-2);
}
.btn-glow {
  box-shadow:
    0 0 0 1px rgba(20, 195, 212, 0.35),
    0 0 60px -10px var(--glow);
}
.final .mail {
  font: 14px var(--mono);
  color: var(--muted);
  margin-top: 0;
}
.footer {
  border-top: 1px solid var(--line);
  padding-block: var(--s-5);
  font: 12px/1.7 var(--mono);
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: var(--s-4);
}
.footer-brand .brand {
  font-family: var(--display);
  font-size: 18px;
  color: var(--ink);
}
.footer-brand p {
  margin-top: var(--s-2);
}
.footer .footer-links {
  display: grid;
  gap: 0;
  font-size: 12px;
}
.footer .footer-links a {
  min-height: 32px;
}
.footer-info a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  overflow-wrap: anywhere;
}
/* §8 Internas */
.inner-hero.grain {
  background:
    linear-gradient(to bottom, rgba(10, 12, 16, 0.55), var(--bg)),
    url("/film/desktop/kf3.webp") center / cover no-repeat,
    var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.inner-hero.grain > .wrap {
  position: relative;
  z-index: 2;
}
.inner-hero h1.display-l {
  font: 700 clamp(34px, 4.6vw, 64px) / 1.02 var(--display);
  letter-spacing: -0.025em;
  max-width: 20ch;
}
.delivery .num {
  display: block;
  font-size: 56px;
  margin-bottom: var(--s-2);
}
@media (prefers-reduced-motion: no-preference) {
  .social-rings {
    animation: social-ring-breathe 6s ease-in-out infinite alternate;
  }
}
@keyframes social-ring-breathe {
  to {
    transform: scale(1.06);
  }
}
@media (max-width: 1023px) {
  .services-title,
  .services-support {
    grid-column: 1 / -1;
  }
  .plate {
    grid-column: 1 / -1;
    min-height: auto;
  }
  .showcase-media,
  .showcase-copy,
  .social-media,
  .social-copy {
    grid-column: 1 / -1;
  }
  .showcase-copy,
  .social-copy {
    margin-top: var(--s-4);
  }
  .social-media {
    max-width: 560px;
  }
  .social-rings {
    left: 80%;
    top: 30%;
  }
  .price-col {
    grid-column: 1 / -1;
  }
  .process .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: var(--s-4);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 767px) {
  .services-layer,
  .showcase,
  .social,
  .final {
    min-height: auto;
  }
  .plate {
    padding: 32px 24px;
  }
  .plate .num {
    font-size: 56px;
  }
  .services-layer .automation {
    grid-template-columns: 1fr;
    gap: var(--s-1);
  }
  .frame-offset {
    translate: 8px 8px;
  }
  .showcase-quote {
    font-size: 24px;
  }
  .social .invitation .btn,
  .final .btn,
  .final .final-cta .actions {
    width: 100%;
  }
  .price-col {
    padding: var(--s-4) 24px;
  }
  .process .steps {
    grid-template-columns: 1fr;
    padding-top: 0;
  }
  .steps-line {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
#servicos::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 120px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg));
}

/* ---------- S4 · Portfólio em corrida horizontal (spec §4) ---------- */
.portfolio {
  padding-block: var(--s-6);
  overflow: hidden;
}
.works-head {
  margin-bottom: var(--s-4);
}
.works-head h2 {
  margin-top: var(--s-2);
}
.works-count {
  margin-top: var(--s-2);
  font: 500 14px/1 var(--mono);
  letter-spacing: 0.08em;
  color: var(--muted);
}
.works-count [data-works-current] {
  color: var(--ink);
}
.works-track {
  position: relative; /* contém os .sr-only absolutos dentro do clip */
  display: flex;
  gap: 32px;
  padding-inline: var(--gutter);
  padding-bottom: var(--s-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.works-track::-webkit-scrollbar {
  display: none;
}
.portfolio .work {
  flex: none;
  width: min(72vw, 880px);
  scroll-snap-align: start;
}
.work-media {
  position: relative;
  margin-right: 6%;
}
.portfolio .work .browser {
  border-radius: 14px;
}
.work-phone {
  position: absolute;
  right: -6%;
  bottom: -6%;
  width: 26%;
  aspect-ratio: 390 / 844;
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line-2);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 0, 0, 0.4);
}
.work-phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-phone.image-unavailable .media-fallback {
  padding: 8px;
  font-size: 11px;
}
.work-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  padding-top: calc(var(--s-3) + 4%);
}
.work-index {
  font: 500 13px/1 var(--mono);
  color: var(--muted);
}
.portfolio .work h3,
.work-meta h3 {
  margin: 0;
  font: 600 clamp(24px, 2.4vw, 32px) / 1.1 var(--display);
}
.work-tag {
  font: 500 12px/1.4 var(--mono);
  letter-spacing: 0.06em;
  color: var(--muted);
}
.work-own .work-tag {
  color: var(--amber);
}
.work-meta .text-link {
  margin: 0 0 0 auto;
}
.works:not(.works-track) .work-phone {
  display: none;
}
/* Pin ativo (≥1024 com motion): trilho em largura natural, transladado pelo GSAP */
.portfolio.is-pinned {
  min-height: 100vh;
  padding-block: 0;
  display: flex;
  align-items: center;
}
.portfolio.is-pinned .works-pin {
  width: 100%;
  padding-block: calc(72px + var(--s-3)) var(--s-3);
}
/* teto por altura: cabeçalho + cartão + meta cabem em 100vh sob a nav fixa */
.portfolio.is-pinned .work {
  width: min(72vw, 880px, calc((100vh - 400px) * 1.5));
}
.portfolio.is-pinned .works-head {
  margin-bottom: var(--s-3);
}
.portfolio.is-pinned .works-track {
  width: max-content;
  overflow: visible;
  scroll-snap-type: none;
  will-change: transform;
}
@media (max-width: 1023px) {
  .portfolio .work {
    width: 84vw;
  }
  .work-meta .text-link {
    margin-left: 0;
    flex-basis: 100%;
  }
}
html:not(.js) .works-track {
  flex-direction: column;
  overflow: visible;
  gap: var(--s-5);
}
html:not(.js) .portfolio .work {
  width: 100%;
  max-width: 880px;
}
/* S3b — polimento pós-auditoria */
[data-theme="light"] .accent-serif {
  color: var(--accent-ink);
}
.num,
.process .step .num,
.delivery .num,
.compact-steps .num,
.cause-principles .num {
  display: block;
  font: italic 400 56px / 1 var(--serif);
  letter-spacing: 0;
  color: var(--faint);
}
[data-theme="light"] .num {
  color: var(--muted);
}
.compact-steps li {
  align-items: center;
}
.compact-steps .num {
  min-width: 2ch;
}
.cause-principles .num,
.delivery .num {
  margin-bottom: var(--s-2);
}
.showcase-copy {
  grid-column: 8 / 13;
}
.showcase-media {
  grid-column: 1 / 8;
}
.showcase-copy h2 {
  max-width: 12ch;
  text-wrap: balance;
  line-height: 1.02;
}
.showcase-copy h2 .accent-serif,
.final h2 .accent-serif {
  line-height: 1;
}
.inline-icon {
  font-size: 0.8em;
  line-height: 1;
  vertical-align: baseline;
  margin-left: 0.2em;
}
.final {
  text-align: left;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: center;
}
.final .cta-rings {
  left: 72%;
}
.final .final-cta {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  justify-items: start;
  align-items: start;
}
.final .final-cta > * {
  grid-column: 1 / 8;
}
.final .final-cta .btn {
  min-height: 56px;
}
.final .btn-glow {
  box-shadow:
    0 0 0 1px rgba(20, 195, 212, 0.45),
    0 0 60px -10px var(--glow),
    0 20px 50px -20px rgba(20, 195, 212, 0.6);
}
.footer .footer-links a {
  display: flex;
  align-items: center;
  min-height: 32px;
  padding-block: 4px;
}
@media (max-width: 1023px) {
  .showcase-media,
  .showcase-copy {
    grid-column: 1 / -1;
  }
  .final .final-cta > * {
    grid-column: 1 / -1;
  }
  .final .cta-rings {
    left: 72%;
  }
}
.social-copy p .text-link {
  display: inline;
  min-height: 0;
  font-size: inherit;
}
[data-theme="light"] .num,
[data-theme="light"] .process .step .num,
[data-theme="light"] .delivery .num,
[data-theme="light"] .compact-steps .num,
[data-theme="light"] .cause-principles .num {
  color: var(--muted);
}
.plate .num {
  font-size: clamp(56px, 8vw, 120px);
}
