/* ==========================================================================
   Mintcode · Site 2.0
   Tokens, base, componentes e páginas. Breakpoint principal: 768px.
   ========================================================================== */

:root {
  --ink: #0b0d12;
  --muted: #566070;
  --line: #e6eaf0;
  --input: #d5dbe5;
  --placeholder: #8a94a3;
  --soft: #f6f8fb;
  --night: #06080d;
  --night-2: #e4e9f0;
  --night-3: #a9b4c4;
  --blue: #2f6feb;
  --lime: #7ed957;
  --body-text: #2a313c;

  --grad: linear-gradient(90deg, #7ed957 0%, #4c8df6 30%, #8b6cf6 56%, #f0629a 82%, #ffb547 100%);
  --grad-text: linear-gradient(90deg, #12a150 0%, #2f6feb 40%, #7a4ff0 72%, #e0457f 100%);

  --glow-card: 0 0 44px -10px rgba(76, 141, 246, 0.5), 16px 10px 48px -16px rgba(240, 98, 154, 0.4),
    -16px 10px 48px -16px rgba(126, 217, 87, 0.4);
  --glow-btn: 0 0 28px -6px rgba(76, 141, 246, 0.75), 12px 6px 34px -10px rgba(240, 98, 154, 0.6),
    -12px 6px 34px -10px rgba(126, 217, 87, 0.6);
  --shadow-card: 0 16px 40px -20px rgba(11, 13, 18, 0.14);

  --pad-x: clamp(20px, 5vw, 80px);
  --sec-y: clamp(64px, 9vw, 128px);
  --sec-y-tight: clamp(48px, 6vw, 88px);
  --font: "Google Sans", "Google Sans Flex", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ------------------------------------------------------------------ Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: var(--ink);
}
a:hover {
  color: var(--blue);
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}
[id] {
  scroll-margin-top: 96px;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* ---------------------------------------------------------------- Layout */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
}
/* Colunas de leitura: a largura já desconta o padding lateral da página. */
.wrap-narrow {
  width: min(920px, 100% - 2 * var(--pad-x));
  margin-inline: auto;
}
.wrap-article {
  width: min(1120px, 100% - 2 * var(--pad-x));
  margin-inline: auto;
}
.section {
  position: relative;
  padding: var(--sec-y) var(--pad-x);
}
.section--tight {
  padding-block: var(--sec-y-tight);
}
.section--soft {
  background: var(--soft);
}
.section--night {
  background: var(--night);
  color: #f5f7fa;
}
.stack-md {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.stack-lg {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vw, 64px);
}
.stack-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.center {
  display: flex;
  justify-content: center;
}
.center-text {
  text-align: center;
  align-items: center;
}
.head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 820px;
}
.head--row {
  max-width: none;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px 48px;
}
.grid-auto {
  display: grid;
  gap: 24px;
}
.grid-auto--290 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}
.grid-auto--400 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* ------------------------------------------------------------ Tipografia */
.h1,
.h1-article,
.h2,
.h2-md,
.h3,
.h3-lg,
.h3-xl {
  font-weight: 500;
  text-wrap: balance;
}
.h1 {
  font-size: clamp(38px, 4.8vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.h1-article {
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.h2 {
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.h2-md {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.h3 {
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.h3-lg {
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.h3-xl {
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.lead {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 620px;
  text-wrap: pretty;
}
.lead--wide {
  max-width: 680px;
}
.lead--narrow {
  max-width: 400px;
}
.lead-sm {
  font-size: clamp(17px, 1.4vw, 19px);
}
.muted {
  color: var(--muted);
  text-wrap: pretty;
}
.small {
  font-size: 15px;
}
.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--dark {
  color: var(--night-3);
}
.grad-text {
  background-image: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-bottom: 0.06em;
}
.grad-brand {
  background-image: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-bottom: 0.06em;
}
.meta {
  font-size: 14px;
  color: var(--muted);
}
.place {
  font-size: 15px;
  font-weight: 500;
  padding-top: 8px;
}

/* --------------------------------------------------- Aurora (fundos) */
.aurora {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.aurora::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(55% 65% at 10% 0%, rgba(76, 141, 246, 0.2), transparent 70%),
    radial-gradient(45% 60% at 90% 5%, rgba(139, 108, 246, 0.18), transparent 70%),
    radial-gradient(50% 55% at 55% 105%, rgba(126, 217, 87, 0.2), transparent 70%),
    radial-gradient(35% 50% at 100% 85%, rgba(240, 98, 154, 0.12), transparent 70%),
    radial-gradient(30% 40% at 0% 92%, rgba(255, 181, 71, 0.12), transparent 70%);
}
.aurora--alt::before {
  background: radial-gradient(45% 40% at 0% 10%, rgba(126, 217, 87, 0.16), transparent 70%),
    radial-gradient(40% 40% at 100% 30%, rgba(139, 108, 246, 0.16), transparent 70%),
    radial-gradient(45% 40% at 20% 100%, rgba(76, 141, 246, 0.14), transparent 70%),
    radial-gradient(35% 35% at 95% 95%, rgba(240, 98, 154, 0.12), transparent 70%);
}
.aurora--dark {
  background: var(--night);
  color: #f5f7fa;
}
.aurora--dark::before {
  background: radial-gradient(55% 65% at 10% 0%, rgba(76, 141, 246, 0.5), transparent 70%),
    radial-gradient(45% 60% at 90% 5%, rgba(139, 108, 246, 0.45), transparent 70%),
    radial-gradient(50% 55% at 55% 105%, rgba(126, 217, 87, 0.34), transparent 70%),
    radial-gradient(35% 50% at 100% 85%, rgba(240, 98, 154, 0.3), transparent 70%),
    radial-gradient(30% 40% at 0% 92%, rgba(255, 181, 71, 0.16), transparent 70%);
}

/* ------------------------------------------------------------------ Logo */
.brand-link {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
}
.brand-link:hover {
  color: inherit;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--s) * 0.22);
  line-height: 1;
}
.brand-mark {
  width: var(--s);
  height: var(--s);
  flex: none;
  overflow: visible;
}
.brand-mark path {
  transform-box: fill-box;
  transform-origin: center bottom;
}
.brand-link:hover .brand-mark path,
.brand-link:focus-visible .brand-mark path {
  animation: brand-chart 0.62s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.brand-link:hover .brand-mark path:nth-child(2),
.brand-link:focus-visible .brand-mark path:nth-child(2) {
  animation-delay: 70ms;
}
.brand-link:hover .brand-mark path:nth-child(3),
.brand-link:focus-visible .brand-mark path:nth-child(3) {
  animation-delay: 140ms;
}
.brand-link:hover .brand-mark path:nth-child(4),
.brand-link:focus-visible .brand-mark path:nth-child(4) {
  animation-delay: 210ms;
}
@keyframes brand-chart {
  0% {
    transform: scaleY(1);
  }
  32% {
    transform: scaleY(0.45);
  }
  72% {
    transform: scaleY(1.14);
  }
  100% {
    transform: scaleY(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .brand-link:hover .brand-mark path,
  .brand-link:focus-visible .brand-mark path {
    animation: none;
  }
}
.brand-word {
  font-size: calc(var(--s) * 0.78);
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* ---------------------------------------------------------------- Botões */
.btn {
  display: inline-flex;
  padding: 1.5px;
  border: 0;
  border-radius: 999px;
  background: var(--grad);
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  transition: box-shadow 0.25s;
}
.btn:hover {
  box-shadow: var(--glow-btn);
}
.btn-in {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #000;
  color: #fff;
  border-radius: 999px;
  padding: 16px 28px;
  font-size: 17px;
  font-weight: 500;
  white-space: nowrap;
}
.btn--sm .btn-in {
  padding: 11px 20px;
  font-size: 15px;
}
.btn--block {
  display: flex;
  width: 100%;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid var(--input);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost--dark {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn-ghost--dark:hover {
  border-color: #fff;
  color: #fff;
}
.card-link {
  font-weight: 500;
  text-decoration: none;
  align-self: flex-start;
}
.card-link--dark {
  color: #fff;
}
.card-link--dark:hover {
  color: var(--lime);
}

/* ---------------------------------------------------------------- Header */
.site-header {
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 20px var(--pad-x);
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header--light {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.site-header--dark {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding-block: 24px;
  background: transparent;
  border-bottom: 0;
  color: #fff;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 32px);
  font-size: 15px;
  font-weight: 500;
}
.site-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover {
  color: var(--ink);
}
.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.site-nav a.btn {
  color: inherit;
  padding: 1.5px;
  border-bottom: 0;
}
.site-header--dark .site-nav a {
  color: #fff;
}
.site-header--dark .site-nav a:hover {
  color: var(--lime);
}
.nav-glass {
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 999px;
  padding: 10px 20px !important;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.25s;
}
.site-header--dark .site-nav a.nav-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.nav-scrim {
  display: none;
}

/* Modal de contato (usado no celular): sobe de baixo para cima com fade. */
.modal {
  position: fixed;
  inset: auto 0 0 0;
  width: 100%;
  max-width: none;
  max-height: 92vh;
  max-height: 92dvh;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 28px 28px 0 0;
  background: #fff;
  color: var(--ink);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 -30px 80px -20px rgba(11, 13, 18, 0.5);
}
.modal::backdrop {
  background: rgba(6, 8, 13, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.modal[open] {
  animation: sheet-in 0.42s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.modal[open]::backdrop {
  animation: fade-in 0.3s ease both;
}
.modal.is-closing {
  animation: sheet-out 0.26s ease-in both;
}
.modal.is-closing::backdrop {
  animation: fade-out 0.26s ease-in both;
}
@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(56px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes sheet-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(56px);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
}
@keyframes fade-out {
  to {
    opacity: 0;
  }
}
.modal-in {
  position: relative;
  padding: 28px 24px 32px;
}
.modal-in h2 {
  padding-right: 52px;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.modal-sub {
  margin: 8px 0 22px;
  color: var(--muted);
  font-size: 16px;
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--input);
  border-radius: 50%;
  background: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.modal .form-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
html.modal-open {
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .modal[open],
  .modal[open]::backdrop,
  .modal.is-closing,
  .modal.is-closing::backdrop {
    animation-duration: 0.01ms;
  }
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1.5px solid transparent;
  border-radius: 50%;
  color: #fff;
  background:
    linear-gradient(#06080d, #06080d) padding-box,
    conic-gradient(from 0deg, #f0629a 0deg, #ffb547 75deg, #7ed957 150deg, #4c8df6 235deg, #8b6cf6 300deg, #f0629a 360deg) border-box;
  box-shadow:
    0 0 18px -2px rgba(139, 108, 246, 0.45),
    4px -2px 16px -4px rgba(240, 98, 154, 0.45),
    -4px 4px 16px -4px rgba(76, 141, 246, 0.4),
    2px 4px 14px -4px rgba(126, 217, 87, 0.35);
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, top 0.25s, opacity 0.2s;
}
.nav-toggle span:nth-child(1) {
  top: 14px;
}
.nav-toggle span:nth-child(2) {
  top: 20.5px;
}
.nav-toggle span:nth-child(3) {
  top: 27px;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 20.5px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 20.5px;
  transform: rotate(-45deg);
}

/* ---------------------------------------------------------------- Footer */
.site-footer {
  background: var(--night);
  color: var(--night-2);
  padding: clamp(56px, 7vw, 88px) var(--pad-x) 36px;
}
.footer-in {
  max-width: 1280px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #fff;
}
.footer-brand p {
  color: var(--night-3);
  max-width: 340px;
  font-size: 16px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
}
.footer-col h3 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--night-3);
}
.footer-col a {
  color: var(--night-2);
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--lime);
}
.footer-rule {
  height: 1px;
  margin: 48px 0 24px;
  background: var(--grad);
  opacity: 0.5;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 14px;
  color: var(--night-3);
}
.footer-simple {
  border-top: 1px solid var(--line);
  padding: 36px var(--pad-x) 48px;
}
.footer-simple-in {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 15px;
  color: var(--muted);
}
.footer-simple nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-weight: 500;
}
.footer-simple nav a {
  text-decoration: none;
}

/* ------------------------------------------------------------- CTA band */
.cta-wrap {
  padding: 0 var(--pad-x) clamp(56px, 8vw, 112px);
}
.cta-band {
  max-width: 1280px;
  margin: 0 auto;
  border-radius: 32px;
  padding: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 64px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px 48px;
}
.cta-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
}
.cta-copy h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.06;
  font-weight: 500;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.cta-copy p {
  color: var(--night-2);
  font-size: clamp(17px, 1.4vw, 19px);
  text-wrap: pretty;
}

/* ------------------------------------------------------ Cards gradiente */
.card-g {
  display: flex;
  padding: 1.5px;
  border-radius: 28px;
  background: var(--line);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s, background 0.3s, transform 0.35s;
}
.card-g:hover,
.card-g:focus-within {
  background: var(--grad);
  box-shadow: var(--glow-card);
}
.card-g-in {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  border-radius: 26.5px;
  padding: clamp(24px, 2.6vw, 36px);
}
.card-g--service .card-g-in {
  min-height: 340px;
}
.card-g--service .card-link {
  margin-top: auto;
}
.card-g--trilha .card-g-in {
  min-height: 260px;
}
.card-g--trilha .card-link {
  margin-top: auto;
}
.card-g--project {
  border-radius: 30px;
}
.card-g--project .card-g-in {
  border-radius: 28.5px;
  padding: clamp(14px, 1.6vw, 20px);
}
.card-g--project:hover {
  transform: translateY(-4px);
}
.card-g--include {
  border-radius: 30px;
}
.card-g--include .card-g-in {
  border-radius: 28.5px;
  padding: clamp(28px, 3vw, 40px);
  gap: 24px;
}
.bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* ------------------------------------------------------------------ Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: #fff;
  background: var(--night);
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(125% 110% at 0% 100%, rgba(6, 8, 13, 0.96) 0%, rgba(6, 8, 13, 0.8) 34%, rgba(6, 8, 13, 0.3) 58%, rgba(6, 8, 13, 0) 74%),
    linear-gradient(0deg, rgba(6, 8, 13, 0.8) 0%, rgba(6, 8, 13, 0.3) 28%, rgba(6, 8, 13, 0) 52%),
    linear-gradient(180deg, rgba(6, 8, 13, 0.7) 0%, rgba(6, 8, 13, 0) 24%);
}
.hero-body {
  margin-top: auto;
  width: 100%;
  max-width: calc(820px + 2 * var(--pad-x));
  padding: clamp(120px, 14vh, 160px) var(--pad-x) clamp(48px, 9vh, 96px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(18px, 2.4vw, 28px);
}
.hero-pill {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero h1 {
  font-size: clamp(30px, 4.6vw, 68px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.04em;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(6, 8, 13, 0.45);
}
.hero h1 .grad-brand {
  text-shadow: none;
}
.hero-rotate {
  display: inline-grid;
  justify-items: start;
  overflow: clip;
  padding: 0.08em 0 0.14em;
  margin: -0.08em 0 -0.14em;
}
.hero-rotate > span {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(45%);
  transition: none;
  pointer-events: none;
  will-change: transform, opacity;
}
.hero-rotate > span.is-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: auto;
}
.hero-rotate > span.is-leaving {
  opacity: 0;
  transform: translateY(-45%);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero p {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.45;
  color: var(--night-2);
  max-width: 560px;
  text-shadow: 0 1px 16px rgba(6, 8, 13, 0.6);
}

/* -------------------------------------------------------------- Clientes */
.clients {
  border-bottom: 1px solid var(--line);
  padding: clamp(56px, 7vw, 96px) var(--pad-x);
}
.clients-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(36px, 4.5vw, 56px);
  text-align: center;
}
.clients h2 {
  max-width: 820px;
}
.logos {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px 24px;
}
.logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  flex: 0 0 calc((100% - 96px) / 5);
  padding: 0 8px;
}
.logos img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.3s, opacity 0.3s;
}
.logos li:hover img {
  filter: none;
  opacity: 1;
}

/* ---------------------------------------------------------------- Método */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.steps li {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-bar {
  display: block;
  height: 2px;
  background: var(--grad);
}
.steps .eyebrow {
  margin-top: 12px;
}

/* -------------------------------------------------------------- Portfólio */
.project {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
}
.project--feature {
  flex-wrap: wrap;
}
.project--col {
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}
.project-shot {
  flex: 1 1 560px;
  min-width: 0;
}
.project-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}
.project--feature .project-info {
  flex: 1 1 300px;
  gap: 18px;
  padding: clamp(8px, 2vw, 24px);
}
.project--col .project-info {
  padding: 4px clamp(6px, 1vw, 12px) clamp(6px, 1vw, 12px);
}
.shot {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 1080 / 600;
}
.shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.card-g:hover .shot img,
.mockups a:hover .shot img {
  transform: scale(1.06) translateY(-2%);
}
.shot-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
}
.chips-static {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip-static {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink);
  text-decoration: none;
}
a.chip-static {
  font-size: 14px;
  padding: 8px 14px;
  transition: border-color 0.2s;
}
a.chip-static:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* ----------------------------------------------------------------- Casos */
.cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.case-big {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.case-num {
  font-size: clamp(96px, 15vw, 220px);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: -0.05em;
}
.case-caption {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.3;
}
.case-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.case-quote {
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.case-author {
  font-size: 15px;
  color: var(--night-3);
}
.rule-grad {
  height: 2px;
  width: 120px;
  background: var(--grad);
}
.case-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
}
.case-metrics > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.case-metric {
  font-size: 40px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03em;
}

/* --------------------------------------------------- Formulários / contato */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-grid--page {
  grid-template-columns: 1fr 1fr;
}
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 1px 2px rgba(11, 13, 18, 0.04), 0 24px 60px -24px rgba(11, 13, 18, 0.18);
  padding: clamp(24px, 3vw, 40px);
}
.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form h2 {
  font-size: 32px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field input,
.field textarea,
.input-prefix {
  width: 100%;
  border: 1px solid var(--input);
  border-radius: 14px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  outline: 0;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.field input {
  height: 52px;
  padding: 0 16px;
}
.field textarea {
  padding: 14px 16px;
  min-height: 120px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--placeholder);
}
.field input:focus,
.field textarea:focus,
.input-prefix:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(76, 141, 246, 0.18);
}
.field input[aria-invalid="true"] {
  border-color: #d92d52;
}
.input-prefix {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 16px;
}
.input-prefix b {
  font-weight: 500;
  color: var(--muted);
}
.input-prefix input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  padding: 0;
  box-shadow: none !important;
  border-radius: 0;
  background: transparent;
}
.field--chips legend {
  padding: 0;
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 500;
}
.field-hint {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}
.field--chips[aria-invalid="true"] .chip-toggle span {
  border-color: #d92d52;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip-toggle {
  position: relative;
  cursor: pointer;
}
.chip-toggle input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.chip-toggle span {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  padding: 6px 12px;
  border: 1px solid var(--input);
  border-radius: 999px;
  background: #fff;
  transition: border-color 0.2s;
}
.chip-toggle:hover span {
  border-color: var(--ink);
}
.chip-toggle input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.chip-toggle input:checked + span::before {
  content: "✓ ";
}
.chip-toggle input:focus-visible + span {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.form-note {
  font-size: 14px;
  color: var(--muted);
}
.form-error {
  font-size: 14px;
  color: #b3203f;
  font-weight: 500;
}
.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 0;
}
.form-success h3 {
  font-size: 32px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.form-success p {
  color: var(--muted);
}
.check-big {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.channels {
  width: 100%;
  margin-top: 8px;
}
.channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}
.channels li:last-child .channel {
  border-bottom: 1px solid var(--line);
}
.channel-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.channel-value {
  font-size: 20px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.channel-go {
  font-size: 22px;
  transition: transform 0.2s;
}
a.channel:hover .channel-go {
  transform: translateX(4px);
}
a.channel:hover {
  color: var(--ink);
}

/* ---------------------------------------------------- Páginas internas */
.page-hero {
  padding: clamp(56px, 8vw, 112px) var(--pad-x);
}
.page-hero .btn-row,
.page-hero .btn {
  margin-top: 8px;
}
.hero-split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--ink);
}
.breadcrumb [aria-current] {
  color: var(--ink);
  font-weight: 500;
}
.checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.checks--lg {
  gap: 16px;
  font-size: 18px;
}
.check-dot {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
}

/* lista de serviços */
.service-rows {
  display: flex;
  flex-direction: column;
}
.service-row {
  display: grid;
  grid-template-columns: 120px 1fr 1fr auto;
  gap: 24px 40px;
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.service-row:last-child {
  border-bottom: 1px solid var(--line);
}
.service-n {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding-top: 14px;
}
.service-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-main h2 {
  font-size: 40px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.service-go {
  padding-top: 8px;
  white-space: nowrap;
}

/* mockups */
.mockups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}
.mockups a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
}
.mockups h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: 10px;
}
.shot--sm {
  border-radius: 18px;
}

/* faq */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-icon {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border: 1px solid var(--input);
  border-radius: 50%;
  transition: border-color 0.2s;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  top: 15px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s;
}
.faq-icon::after {
  transform: rotate(90deg);
}
.faq-item[open] .faq-icon::after {
  transform: rotate(0deg);
}
.faq-item summary:hover .faq-icon {
  border-color: var(--ink);
}
.faq-item p {
  padding: 0 56px 28px 0;
  color: var(--muted);
  max-width: 640px;
  text-wrap: pretty;
}

/* ------------------------------------------------------------------ Blog */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  font-size: 14px;
  font-weight: 500;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.chip:hover {
  border-color: var(--ink);
}
.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.chip--dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.chip--dark:hover {
  border-color: #fff;
}
.featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.featured-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.featured-body h2 {
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.featured-body h2 a,
.post-card h3 {
  text-decoration: none;
}
.featured-body h2 a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.tag--solo {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
}
.divider {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 0;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
}
.post-card-link {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: opacity 0.2s;
}
.post-card-link:hover {
  opacity: 0.85;
  color: var(--ink);
}
.post-card h3 {
  font-size: 23px;
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.empty {
  text-align: center;
  color: var(--muted);
}
.newsletter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--soft);
}
.newsletter h2 {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.newsletter p {
  color: var(--muted);
  margin-top: 6px;
}
.nl-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: 1 1 360px;
  max-width: 520px;
}
.nl-form input {
  flex: 1 1 220px;
  height: 52px;
  padding: 0 20px;
  border: 1px solid var(--input);
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  outline: 0;
  background: #fff;
}
.nl-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(76, 141, 246, 0.18);
}
.nl-form .form-note {
  flex-basis: 100%;
}

/* capas */
.cover {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  color: #fff;
  background: var(--night);
}
.cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}
.cover-mark {
  position: absolute;
  width: 64%;
  height: auto;
  aspect-ratio: 1;
  right: -8%;
  bottom: -18%;
  opacity: 0.22;
}
.cover--a::before {
  background: radial-gradient(70% 90% at 12% 0%, rgba(76, 141, 246, 0.7), transparent 70%), radial-gradient(60% 80% at 100% 100%, rgba(126, 217, 87, 0.5), transparent 70%);
}
.cover--b {
  background: #eef3fb;
  color: var(--ink);
}
.cover--b::before {
  background: radial-gradient(70% 90% at 90% 0%, rgba(139, 108, 246, 0.4), transparent 70%), radial-gradient(60% 80% at 0% 100%, rgba(76, 141, 246, 0.35), transparent 70%);
}
.cover--c::before {
  background: radial-gradient(70% 90% at 90% 0%, rgba(139, 108, 246, 0.75), transparent 70%), radial-gradient(60% 80% at 0% 100%, rgba(240, 98, 154, 0.55), transparent 70%);
}
.cover--d {
  background: #effaf0;
  color: var(--ink);
}
.cover--d::before {
  background: radial-gradient(70% 90% at 10% 0%, rgba(126, 217, 87, 0.5), transparent 70%), radial-gradient(60% 80% at 100% 100%, rgba(76, 141, 246, 0.35), transparent 70%);
}
.cover--e::before {
  background: radial-gradient(70% 90% at 90% 0%, rgba(255, 181, 71, 0.55), transparent 70%), radial-gradient(60% 80% at 0% 100%, rgba(240, 98, 154, 0.6), transparent 70%);
}
.cover--b .cover-mark,
.cover--d .cover-mark {
  opacity: 0.16;
}
.cover--wide {
  aspect-ratio: 16 / 9;
  border-radius: 24px;
}
.cover--hero {
  aspect-ratio: 21 / 9;
  border-radius: 28px;
}

/* artigo */
.article-head {
  padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 5vw, 56px);
}
.article-head--bordered {
  border-bottom: 1px solid var(--line);
}
.article-head .lead {
  max-width: 720px;
}
.center-text .breadcrumb {
  justify-content: center;
}
.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  font-size: 15px;
  line-height: 1.35;
  padding-top: 8px;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad);
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.badge {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}
.badge--ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.wrap-article > .cover--hero {
  margin-top: clamp(0px, 2vw, 8px);
}
.article-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 8vw, 104px);
}
.academy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(32px, 6vw, 80px);
  padding-top: clamp(32px, 5vw, 56px);
  padding-bottom: clamp(56px, 8vw, 104px);
}
.side-sticky {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.side-title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.toc {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 15px;
}
.toc a {
  display: block;
  padding: 6px 0 6px 14px;
  border-left: 2px solid var(--line);
  color: var(--muted);
  text-decoration: none;
}
.toc a:hover {
  color: var(--ink);
}
.toc a.is-active {
  border-left-color: var(--ink);
  color: var(--ink);
  font-weight: 500;
}
.share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.share a,
.share button {
  font-size: 14px;
  font-weight: 500;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s;
}
.share a:hover,
.share button:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.prose {
  min-width: 0;
  max-width: 720px;
  font-size: 19px;
  line-height: 1.7;
  color: var(--body-text);
}
.prose > * + * {
  margin-top: 22px;
}
.prose h2 {
  font-size: 30px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-top: 48px;
  text-wrap: balance;
}
.prose p {
  text-wrap: pretty;
}
.prose ul,
.prose ol {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 1.4em;
}
.prose ul {
  list-style: disc;
}
.prose ol {
  list-style: decimal;
}
.prose li::marker {
  color: var(--muted);
}
.prose strong {
  color: var(--ink);
  font-weight: 600;
}
.prose a {
  color: var(--blue);
}
.prose blockquote {
  margin-block: 36px;
  padding: 4px 0 4px 28px;
  border-left: 3px solid;
  border-image: linear-gradient(180deg, #7ed957, #4c8df6 35%, #8b6cf6 65%, #f0629a) 1;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.prose .tags,
.prose .related ul {
  list-style: none;
  padding-left: 0;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}
.prose .tags {
  display: flex;
  margin-top: 48px;
}
.tags li {
  font-size: 14px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
}

/* academy: artigo */
.summary {
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--soft);
  font-size: 17px;
  line-height: 1.5;
}
.summary h2 {
  margin: 0 0 16px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.summary .checks {
  padding-left: 0;
  list-style: none;
}
.formula {
  border-radius: 20px;
  padding: clamp(28px, 4vw, 44px);
}
.formula p {
  margin-top: 12px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
}
.related h2 {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 14px;
}
.done-row {
  padding-top: 8px;
}
.done-row .btn-ghost[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.done-row .btn-ghost[aria-pressed="true"]::before {
  content: "✓ ";
  color: var(--lime);
  margin-right: 6px;
}
.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.pager a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 18px;
  line-height: 1.25;
  transition: border-color 0.2s, box-shadow 0.25s;
}
.pager-prev {
  border: 1px solid var(--line);
  color: var(--ink);
}
.pager-prev:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.pager-next {
  background: var(--ink);
  color: #fff;
  text-align: right;
}
.pager-next:hover {
  color: #fff;
  box-shadow: var(--glow-card);
}
.pager-next .meta {
  color: var(--night-3);
}
.trilha-steps {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 15px;
}
.trilha-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  color: var(--muted);
}
.trilha-steps a {
  color: var(--muted);
  text-decoration: none;
}
.trilha-steps a:hover {
  color: var(--ink);
}
.trilha-steps .dot {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  border: 1.5px solid var(--input);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
}
.trilha-steps .is-current {
  color: var(--ink);
  font-weight: 500;
}
.trilha-steps .is-current .dot {
  border: 2px solid var(--ink);
}
.trilha-steps .is-done .dot {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--lime);
}
.trilha-steps .is-done .dot::after {
  content: "✓";
}
.progress {
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  margin: 16px 0 8px;
  overflow: hidden;
}
.progress-bar {
  display: block;
  height: 100%;
  background: var(--grad);
  border-radius: 999px;
  transition: width 0.4s;
}

/* ---------------------------------------------------------------- Academy */
.academy-hero {
  padding: clamp(64px, 9vw, 128px) var(--pad-x);
}
.h1--dark {
  color: #fff;
}
.lead--dark {
  color: var(--night-2);
}
.search {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin-top: 8px;
}
.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-form:focus-within {
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.16);
}
.search-form input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 17px;
}
.search-form input::placeholder {
  color: var(--night-3);
}
.search-btn {
  flex: none;
  height: 44px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 500;
  cursor: pointer;
}
.search-btn:hover {
  background: var(--lime);
}
.search-results {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  max-height: 360px;
  overflow: auto;
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  padding: 8px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
}
.search-results a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
}
.search-results a:hover,
.search-results a[aria-selected="true"] {
  background: var(--soft);
  color: var(--ink);
}
.search-results small {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.search-results span {
  font-size: 14px;
  color: var(--muted);
}
.search-results li.none {
  padding: 14px 16px;
  color: var(--muted);
}
.popular {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trilha-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.trilha-dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(24px, 2.6vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 260px;
}
.trilha-dark p {
  color: var(--night-2);
}
.trilha-dark .card-link {
  margin-top: auto;
}
.start-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.start-list,
.trilha-list {
  display: flex;
  flex-direction: column;
}
.start-list li,
.trilha-list li {
  border-top: 1px solid var(--line);
}
.start-list li:last-child,
.trilha-list li:last-child {
  border-bottom: 1px solid var(--line);
}
.start-list a,
.trilha-list a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 4px;
  text-decoration: none;
  color: var(--ink);
}
.start-list a:hover .start-t,
.trilha-list a:hover b {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.start-list a:hover,
.trilha-list a:hover {
  color: var(--ink);
}
.start-n {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--input);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 500;
}
.start-t {
  flex: 1;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.trilha-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.trilha-item b {
  font-size: 20px;
  font-weight: 500;
}
.gloss-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gloss-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s;
}
.gloss-card:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.gloss-card b {
  font-size: 28px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.gloss-card span {
  font-size: 15px;
  color: var(--muted);
}
.az {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.az a {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 500;
  text-decoration: none;
}
.az a:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.az-group {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.az-letter {
  font-size: 56px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.az-term {
  padding: 8px 0 24px;
}
.az-term dt {
  font-size: 26px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.az-term dd {
  margin-top: 6px;
  color: var(--muted);
  max-width: 640px;
}
.az-term:target dt {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ================================================================ Mobile */
@media (max-width: 1100px) {
  .gloss-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-row {
    grid-template-columns: 80px 1fr 1fr;
  }
  .service-go {
    grid-column: 2 / -1;
    padding-top: 0;
  }
}

@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-side {
    display: none;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  /* header + menu */
  .site-header {
    padding-block: 14px;
  }
  .site-header--dark {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding-block: 14px;
    transition: background 0.25s, color 0.25s;
  }
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 2; /* o X fica sobre o menu aberto */
  }
  /* O backdrop-filter do header criaria um bloco de contenção para o menu fixo: sai no mobile. */
  .site-header--light,
  .site-header--dark.is-scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: 0;
    color: var(--ink);
    background:
      radial-gradient(40% 100% at 15% 100%, rgba(126, 217, 87, 0.14), transparent 70%),
      radial-gradient(40% 100% at 50% 100%, rgba(76, 141, 246, 0.1), transparent 70%),
      radial-gradient(40% 100% at 90% 100%, rgba(240, 98, 154, 0.14), transparent 70%),
      #fff;
  }
  .site-header--light::after,
  .site-header--dark.is-scrolled::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--grad);
    pointer-events: none;
  }
  .site-header--dark.is-scrolled .brand-mark path:nth-child(1) {
    fill: #0c4a6e;
  }
  .site-header--dark.is-scrolled .brand-mark path:nth-child(2) {
    fill: #007a85;
  }
  .site-header--dark.is-scrolled .brand-mark path:nth-child(3) {
    fill: #00ad8a;
  }
  /* Menu lateral escuro: entra pela direita e desliza para a esquerda. */
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 96px 24px 32px;
    overflow-y: auto;
    background: #0b0d13;
    color: #fff;
    font-size: 18px;
    box-shadow: -24px 0 60px -20px rgba(0, 0, 0, 0.7);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.38s;
  }
  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s;
  }
  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(6, 8, 13, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .site-nav.is-open ~ .nav-scrim {
    opacity: 1;
    pointer-events: auto;
  }
  html.nav-open {
    overflow: hidden;
  }
  .site-nav a {
    color: #fff;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .site-nav a:hover {
    color: var(--lime);
  }
  .site-nav a[aria-current="page"] {
    border-bottom-color: rgba(255, 255, 255, 0.12);
    color: var(--lime);
  }
  .site-nav a.btn {
    margin-top: 24px;
    border: 0;
    padding: 1.5px;
    width: 100%;
  }
  .site-nav a.btn .btn-in {
    padding: 15px 24px;
    font-size: 16px;
  }
  .site-header--dark .site-nav a.nav-glass {
    margin-top: 24px;
    text-align: center;
    display: block;
    padding: 15px 24px !important;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    border-radius: 999px;
    border: 1.5px solid transparent !important;
    background:
      linear-gradient(#000, #000) padding-box,
      var(--grad) border-box;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .site-header--dark .site-nav a.nav-glass:hover {
    background:
      linear-gradient(#0b0d13, #0b0d13) padding-box,
      var(--grad) border-box;
    box-shadow: var(--glow-btn);
    color: #fff;
  }

  /* layouts em 1 coluna */
  .grid-3,
  .post-grid,
  .gloss-grid,
  .hero-split,
  .faq-grid,
  .start-grid,
  .featured,
  .contact-grid--page,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .gloss-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .post-grid {
    gap: 36px;
  }
  .service-row {
    grid-template-columns: 1fr;
    padding: 32px 0;
    gap: 16px;
  }
  .service-n {
    padding-top: 0;
  }
  .service-main h2 {
    font-size: 32px;
  }
  .service-go {
    grid-column: auto;
  }
  .hide-sm {
    display: none;
  }
  /* Hero: a foto ocupa só a parte de cima (menos zoom, rosto inteiro) e se dissolve no fundo escuro. */
  .hero-img {
    bottom: auto;
    height: 62svh;
    object-position: 44% 22%;
  }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(6, 8, 13, 0.7) 0%, rgba(6, 8, 13, 0) 22%, rgba(6, 8, 13, 0) 42%, rgba(6, 8, 13, 0.88) 58%, #06080d 66%);
  }
  .hero h1 {
    font-size: clamp(34px, calc(4.6vw + 4px), 68px); /* +4px no celular */
  }
  .logos li {
    flex-basis: calc((100% - 48px) / 3);
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .head--row {
    align-items: flex-start;
  }
  .cta-band {
    flex-direction: column;
    align-items: stretch;
    border-radius: 24px;
  }
  .cta-band .btn {
    display: flex;
    width: 100%;
  }
  .project-shot {
    flex-basis: 100%;
  }
  .cover--hero {
    aspect-ratio: 4 / 3;
    border-radius: 20px;
  }
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: calc(var(--pad-x) * -1);
    padding-inline: var(--pad-x);
    scrollbar-width: none;
  }
  .filters::-webkit-scrollbar {
    display: none;
  }
  .filters .chip {
    flex: none;
  }
  .prose {
    font-size: 17px;
  }
  .prose h2 {
    font-size: 24px;
    margin-top: 40px;
  }
  .article-layout,
  .academy-layout {
    padding-top: 28px;
  }
  .academy-layout {
    grid-template-columns: 1fr;
  }
  .academy-side {
    order: 2;
  }
  .academy-side .side-sticky {
    position: static;
  }
  .academy-side .side-trilha {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
  }
  .academy-side .side-block:not(.side-trilha) {
    display: none;
  }
  .pager {
    grid-template-columns: 1fr;
  }
  .pager-next {
    text-align: left;
  }
  .az-group {
    grid-template-columns: 1fr;
  }
  .az-letter {
    font-size: 40px;
  }
  .search-form {
    padding-left: 18px;
  }
  .faq-item p {
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
