/* ═══════════════ TOKENS & RESET ═══════════════ */
:root {
  --bg: #F8F5F0;
  --surface: #fffdfa;
  --heading: #492C1A;
  --ink: #5b3a27;
  --ink-2: #6f5140;
  --muted: #876c5c;
  --line: rgba(73, 44, 26, 0.12);
  --accent: #ff3d00;
  --r-card: 15px;
  --r-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-pill: 0 18px 40px -18px rgba(73, 44, 26, 0.28);
  --shadow-card: 0 30px 60px -30px rgba(73, 44, 26, 0.22);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html.lenis, html.lenis body { height: auto; }

body {
  font-family: "Red Hat Display", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; }
i { font-style: normal; }

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

/* ═══════════════ REVEAL ANIMATION ═══════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(10px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease),
    filter 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
  will-change: opacity, transform, filter;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
[data-delay="1"] { --d: 1; } [data-delay="2"] { --d: 2; }
[data-delay="3"] { --d: 3; } [data-delay="4"] { --d: 4; }
[data-delay="5"] { --d: 5; } [data-delay="6"] { --d: 6; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  * { animation: none !important; }
}

/* ═══════════════ NAVBAR ═══════════════ */
.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  translate: -50% 0;
  z-index: 100;
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(10, 10, 10, 0.06);
  border-radius: var(--r-pill);
  padding: 10px 12px 10px 14px;
  box-shadow: 0 12px 32px -16px rgba(10, 10, 10, 0.25);
  transition: gap 0.6s var(--ease), padding 0.6s var(--ease);
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2d7f8f, #174b56);
  object-fit: cover;
  object-position: center;
  color: #fff;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0;
}
.nav__name { font-weight: 700; font-size: 17px; white-space: nowrap; letter-spacing: -0.01em; }
.nav__links {
  display: flex;
  gap: 4px;
  overflow: hidden;
  max-width: 400px;
  opacity: 1;
  transition: max-width 0.6s var(--ease), opacity 0.4s ease;
}
.nav__links a {
  font-weight: 600; font-size: 15.5px;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: background 0.25s ease;
}
.nav__links a:hover { background: rgba(10, 10, 10, 0.06); }
.nav__cta {
  font-weight: 600; font-size: 15.5px;
  padding: 10px 22px;
  border: 1.5px solid rgba(10, 10, 10, 0.85);
  border-radius: var(--r-pill);
  white-space: nowrap;
  max-width: 140px;
  overflow: hidden;
  transition: background 0.25s ease, color 0.25s ease,
    max-width 0.6s var(--ease), padding 0.6s var(--ease),
    opacity 0.4s ease, border-width 0.4s ease;
}
.nav__cta:hover { background: var(--ink); color: #fff; }

/* shrunk state */
.nav.is-shrunk .nav__inner { gap: 14px; }
.nav.is-shrunk .nav__links { max-width: 0; opacity: 0; }
.nav.is-shrunk .nav__cta { max-width: 0; padding: 10px 0; opacity: 0; border-width: 0; }
.nav.is-shrunk:hover .nav__inner { gap: 28px; }
.nav.is-shrunk:hover .nav__links { max-width: 400px; opacity: 1; }
.nav.is-shrunk:hover .nav__cta { max-width: 140px; padding: 10px 22px; opacity: 1; border-width: 1.5px; }

/* ═══════════════ DOCK ═══════════════ */
.dock {
  position: fixed;
  bottom: 24px;
  left: 50%;
  translate: -50% 0;
  z-index: 100;
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(10, 10, 10, 0.06);
  border-radius: var(--r-pill);
  padding: 8px;
  box-shadow: var(--shadow-pill);
  opacity: 0;
  translate: -50% 90px;
  transition: translate 0.7s var(--ease), opacity 0.5s ease;
}
.dock.is-visible { opacity: 1; translate: -50% 0; }
.dock__btn {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15.5px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.dock__btn svg { width: 18px; height: 18px; }
.dock__btn:hover { transform: translateY(-3px); box-shadow: 0 10px 24px -12px rgba(10,10,10,0.4); }
.dock__btn--dark { color: #fff; border-color: #0D2E5A; }

/* ═══════════════ LAYOUT ═══════════════ */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 40px 40px;
}
.section__title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
}
.section__display {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.section__sub {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 520px;
  margin-bottom: 56px;
}
.dim { color: var(--muted); }
.nobr { white-space: nowrap; }
.services__display { font-size: clamp(28px, 4.7vw, 60px); }
.about__display { max-width: 100%; }

h1, h2, h3, h4 {
  color: var(--heading);
  text-wrap: balance;
}
blockquote { text-wrap: balance; }
p { text-wrap: pretty; }
.eyebrow {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  margin: 40px 0 16px;
}

/* ═══════════════ BUTTONS / BADGES ═══════════════ */
/* degradê animado usado em todos os botões sólidos (exceto o CTA claro do rodapé) */
@keyframes btnGradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: var(--r-pill);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(10,10,10,0.5); }
.btn--dark { color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--lg { padding: 20px 40px; }

.btn--dark,
.dock__btn--dark,
.hero__book,
.nav__cta:hover {
  background-image: linear-gradient(120deg, #4181C1 0%, #4181C1 42%, #0D2E5A 72%, #4181C1 100%);
  background-size: 220% 220%;
  animation: btnGradientFlow 7s ease-in-out infinite;
}
.btn--dark:hover,
.dock__btn--dark:hover,
.hero__book:hover {
  animation-duration: 2.8s;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: var(--r-pill);
  padding: 12px 22px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 10px 24px -16px rgba(10,10,10,0.3);
}
.badge__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #35c759;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.badge--invert { background: rgba(255,255,255,0.12); color: #fff; box-shadow: none; }

.ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  margin-top: 40px;
  position: relative;
}
button.ghost-link {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
}
.ghost-link i { transition: translate 0.3s var(--ease); }
.ghost-link:hover i { translate: 3px -3px; }

/* ═══════════════ HERO ═══════════════ */
.hero { padding-top: 160px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero__title {
  font-size: clamp(32px, 4.7vw, 60px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 28px 0;
}
.hero__title .line {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.hero__title .word {
  display: inline-block;
  animation: wordup 1s var(--ease) both;
}
.hero__title .dim { color: var(--muted); }
.w1 { animation-delay: 0.05s; } .w2 { animation-delay: 0.11s; }
.w3 { animation-delay: 0.17s; } .w4 { animation-delay: 0.23s; }
.w5 { animation-delay: 0.29s; } .w6 { animation-delay: 0.35s; }
.w7 { animation-delay: 0.41s; }
@keyframes wordup {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.hero__sub { font-size: 19px; color: var(--ink-2); max-width: 620px; margin-bottom: 36px; }
.hero__sub strong { color: var(--ink); }
.hero__sub-line { white-space: nowrap; }
.hero__book {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 600;
  font-size: 16.5px;
  padding: 10px 28px 10px 10px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-pill);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.hero__book:hover { transform: translateY(-3px) scale(1.02); }
.hero__book-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2d7f8f, #174b56);
  object-fit: cover;
  object-position: center;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
}

/* hero → cards viajam (fixed) até pousarem nos cards reais de "Últimos projetos" */
.hero__collage { position: relative; height: 520px; }

.hero__stage {
  position: fixed;
  inset: 0;
  z-index: 45;
  pointer-events: none;
}
.shot {
  position: absolute;
  left: 0; top: 0;
  border-radius: 15px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transform-origin: top left;
  will-change: transform, width, height, opacity;
  padding: 0;
}
.shot--a { background: radial-gradient(120% 140% at 80% 0%, #2b2b2e, #101012 60%); color: #fff; }
.shot--b { background: linear-gradient(160deg, #1c1d1f, #060607); color: #fff; }
.shot--c { background: linear-gradient(150deg, #dfeef2, #b9d8e0 55%, #f3d9c8); color: #123; }
.shot--d { background: #0b0b0c; }
.shot__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .hero__stage { display: none; }
}

.shot__chrome { display: flex; gap: 6px; margin-bottom: 18px; }
.shot__chrome i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.25); }
.shot__kicker { font-size: 10px; letter-spacing: 0.2em; opacity: 0.5; margin-bottom: 8px; }
.shot__display {
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.98;
}
.shot__display--md { font-size: clamp(20px, 2.2vw, 30px); }
.shot__row { display: flex; gap: 8px; margin-top: 22px; }
.shot__row span { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.15); flex: 1; }
.shot__tag {
  display: inline-block;
  margin-top: 18px;
  font-size: 10px; letter-spacing: 0.25em;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--r-pill);
  padding: 6px 14px;
}
.shot__navline { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; font-size: 12px; }
.shot__navline span { width: 26px; height: 5px; border-radius: 3px; background: rgba(18,51,51,0.18); }
.shot__heading {
  font-size: clamp(17px, 1.8vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.shot__pill {
  display: inline-block;
  background: #0f2e33;
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: var(--r-pill);
  padding: 8px 16px;
}

/* proof */
.clients { padding-top: 60px; }
.clients .hero__proof {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.hero__proof {
  display: flex;
  align-items: center;
  column-gap: 64px;
  row-gap: 20px;
  margin-top: 90px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.avatars { display: flex; }
.av {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
  color: #fff;
  border: 3px solid var(--bg);
  flex-shrink: 0;
}
.avatars .av:not(:first-child) { margin-left: -12px; }
.av1 { background: linear-gradient(135deg, #b06ab3, #4568dc); }
.av2 { background: linear-gradient(135deg, #2d7f8f, #174b56); }
.av3 { background: linear-gradient(135deg, #d38312, #a83279); }
.av4 { background: linear-gradient(135deg, #11998e, #38ef7d); }
.av5 { background: linear-gradient(135deg, #414345, #232526); }
.stars { letter-spacing: 4px; font-size: 15px; }
.hero__proof-text {
  flex-shrink: 0;
  display: grid;
  justify-items: start;
  text-align: left;
}
.hero__proof-text p { font-weight: 600; font-size: 17px; white-space: nowrap; }

/* logo carousel */
.logos {
  flex: 0 1 720px;
  max-width: 720px;
  min-width: 0;
  overflow: hidden;
  margin-left: auto;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.logos__track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  animation: logos-marquee 32s linear infinite;
}
.logos:hover .logos__track { animation-play-state: paused; }
.logos__group {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}
.logo {
  display: block;
  flex-shrink: 0;
}
.logo img {
  width: auto;
  height: 56px;
  max-width: none;
}
@keyframes logos-marquee {
  to { transform: translateX(calc(-50% - 12px)); }
}

/* ═══════════════ PROJECTS ═══════════════ */
.projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 32px;
}
.project { display: block; }
.project__media {
  border-radius: var(--r-card);
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  position: relative;
  transition: transform 0.6s var(--ease), box-shadow 0.6s ease;
}
.project__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project--extra { display: none; }
.projects.is-expanded .project--extra { display: block; }
.project:hover .project__media {
  transform: translateY(-8px) scale(1.015);
  box-shadow: var(--shadow-card);
}
.project__media--kora {
  background: linear-gradient(150deg, #e8f1f4, #bfdbe4 50%, #f4dcc9);
  color: #10333a;
}
.project__media--kyma {
  background: radial-gradient(130% 120% at 20% 10%, #24343e, #0a0f14 65%);
  color: #fff;
}
.project__media--mugen {
  background: radial-gradient(120% 140% at 80% 0%, #2b2b2e, #0f0f11 60%);
  color: #fff;
}
.project__media--axiom {
  background: linear-gradient(165deg, #17181a, #030304);
  color: #fff;
}
.pm__nav { display: flex; align-items: center; gap: 10px; font-size: 13px; position: absolute; top: 28px; left: 32px; right: 32px; }
.pm__nav span { width: 32px; height: 6px; border-radius: 3px; background: rgba(16,51,58,0.16); }
.pm__heading {
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  max-width: 88%;
  margin-bottom: 24px;
}
.pm__pill {
  align-self: flex-start;
  background: #0f2e33; color: #fff;
  font-size: 13px; font-weight: 600;
  border-radius: var(--r-pill);
  padding: 10px 20px;
}
.pm__display {
  font-size: clamp(46px, 6vw, 84px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.pm__display--md { font-size: clamp(30px, 3.6vw, 52px); }
.pm__display--ghost { color: rgba(255,255,255,0.85); }
.pm__display--ghost br + * { color: rgba(255,255,255,0.4); }
.pm__caption { margin-top: 16px; font-size: 14px; opacity: 0.55; max-width: 70%; }
.pm__kicker { font-size: 11px; letter-spacing: 0.2em; opacity: 0.45; margin-bottom: 14px; }
.pm__logos { display: flex; gap: 10px; margin-top: 28px; }
.pm__logos span { height: 8px; flex: 1; border-radius: 4px; background: rgba(255,255,255,0.12); }
.pm__tag {
  align-self: flex-start;
  margin-top: 22px;
  font-size: 11px; letter-spacing: 0.25em;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--r-pill);
  padding: 8px 18px;
}
.project__meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 20px;
}
.project__meta h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.project__meta p { color: var(--muted); font-size: 15.5px; }
.project__link {
  font-weight: 600; font-size: 16px;
  display: inline-flex; gap: 6px; align-items: center;
  opacity: 0.85;
}
.project__link i { transition: translate 0.3s var(--ease); }
.project:hover .project__link i { translate: 3px -3px; }

/* ═══════════════ QUOTE ═══════════════ */
.quote blockquote {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.quote p {
  color: var(--heading);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin-bottom: 36px;
}
.quote footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.quote footer div { text-align: left; display: flex; flex-direction: column; }
.quote footer b { font-size: 16px; }
.quote footer span:last-child { color: var(--muted); font-size: 14.5px; }

/* ═══════════════ SERVICES ═══════════════ */
.services__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  align-items: start;
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 24s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 12px 24px;
  font-weight: 600;
  font-size: 15.5px;
  white-space: nowrap;
}
.services__list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.services__list li:last-child { border-bottom: none; }
.service__copy {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.service__copy strong {
  font: inherit;
  line-height: 1.08;
}
.service__copy span {
  color: var(--muted);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
}
.service__copy .service__condition {
  color: var(--heading);
  font-weight: 700;
  margin-top: 14px;
}
.service__copy .service__detail {
  color: var(--ink-2);
  font-weight: 400;
  margin-top: 8px;
}
.service__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: 0 12px 24px -12px rgba(10,10,10,0.5);
  transition: transform 0.4s var(--ease);
}
.services__list li:hover .service__icon { transform: scale(1.1) rotate(-6deg); }
.service__icon svg { width: 24px; height: 24px; }

/* ═══════════════ ABOUT ═══════════════ */
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  margin-top: 64px;
}
.portrait {
  position: relative;
  border-radius: var(--r-card);
  aspect-ratio: 3 / 3.6;
  background:
    radial-gradient(90% 70% at 50% 30%, #2d7f8f 0%, #17505c 55%, #0d3038 100%);
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-card);
}
.portrait__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.portrait__label {
  position: absolute;
  left: 20px; bottom: 20px;
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  border-radius: 15px;
  padding: 14px 20px;
  display: flex; flex-direction: column;
}
.portrait__label b { font-size: 16px; }
.portrait__label span { font-size: 13.5px; opacity: 0.7; }
.portrait__count {
  position: absolute;
  top: 20px; right: 20px;
  background: rgba(255,255,255,0.92);
  border-radius: var(--r-pill);
  padding: 8px 14px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.02em;
}
.history li {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.history b { font-size: 19px; letter-spacing: -0.01em; }
.history span { color: var(--ink-2); font-size: 16px; }
.history__years { color: var(--muted) !important; font-variant-numeric: tabular-nums; }
.about__text { display: grid; gap: 20px; max-width: 560px; }
.about__text p { font-size: 17px; color: var(--ink-2); }

/* work history (expandable) */
.workhist { margin-top: 32px; max-width: 400px; }
.workhist .eyebrow { margin: 0 0 12px; font-size: 13.5px; }
.workhist__list { position: relative; }
.wcard {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 14px 18px;
  box-shadow: 0 10px 22px -18px rgba(10, 10, 10, 0.35);
}
.wcard h4 {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 5px;
}
.wcard__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
}
.wcard__row span:first-child { font-weight: 600; color: var(--ink-2); }
.wcard__row span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }

/* stacked peek when collapsed */
.workhist:not(.is-open) .workhist__list .wcard:first-child::before,
.workhist:not(.is-open) .workhist__list .wcard:first-child::after {
  content: "";
  position: absolute;
  z-index: -1;
  height: 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0 0 15px 15px;
  transition: opacity 0.3s ease;
}
.workhist:not(.is-open) .workhist__list .wcard:first-child::before {
  left: 10px; right: 10px; bottom: -6px;
  opacity: 0.75;
}
.workhist:not(.is-open) .workhist__list .wcard:first-child::after {
  left: 20px; right: 20px; bottom: -11px;
  opacity: 0.45;
}

/* expand / collapse */
.workhist__more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.7s var(--ease);
}
.workhist__more-inner { min-height: 0; overflow: hidden; }
.workhist__more-inner .wcard { margin-top: 10px; }
.workhist.is-open .workhist__more { grid-template-rows: 1fr; }

.workhist__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px auto 0;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 9px 16px;
  cursor: pointer;
  box-shadow: 0 10px 20px -14px rgba(10, 10, 10, 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.workhist__toggle:hover { transform: translateY(-2px); box-shadow: 0 14px 24px -14px rgba(10,10,10,0.45); }
.workhist__chev {
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.workhist__chev svg {
  width: 10px; height: 10px;
  transition: rotate 0.5s var(--ease);
}
.workhist.is-open .workhist__chev svg { rotate: 180deg; }
.about__text em { font-style: normal; font-weight: 600; color: var(--ink); }
.about__text strong { font-weight: 600; color: var(--ink); }

/* ═══════════════ PRICING ═══════════════ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.step {
  background: #fff;
  border-radius: var(--r-card);
  padding: 32px;
}
.step__num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 48px;
}
.step h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 15.5px; }

.pricing__banner {
  background: radial-gradient(120% 160% at 85% 10%, #33353a, #0c0c0e 60%);
  color: #fff;
  border-radius: var(--r-card);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 32px;
}
.pricing__banner h3 {
  color: #fff;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 20px 0 12px;
  max-width: 520px;
}
.pricing__banner p { opacity: 0.65; max-width: 440px; }
.pricing__banner .btn { flex-shrink: 0; }

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.plan {
  background: #fff;
  border-radius: var(--r-card);
  padding: 44px;
  display: flex;
  flex-direction: column;
}
.plan--dark {
  background: radial-gradient(130% 130% at 20% 0%, #2a2b2f, #0b0b0d 65%);
  color: #fff;
}
.plan--dark h3 { color: #fff; }
.plan__head h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 10px; }
.plan__head p { opacity: 0.65; font-size: 15.5px; max-width: 380px; }
.plan__price {
  font-size: clamp(40px, 4.6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 32px 0;
}
.plan__price span { font-size: 17px; font-weight: 600; opacity: 0.55; letter-spacing: 0; margin-left: 8px; }
.plan__price--text { opacity: 0.9; }
.plan ul { display: grid; gap: 12px; margin-bottom: 40px; }
.plan li {
  font-size: 15.5px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.plan li::before {
  content: "✓";
  font-size: 12px;
  font-weight: 800;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(127,127,127,0.14);
  flex-shrink: 0;
}
.plan .btn { margin-top: auto; }

/* ═══════════════ TESTIMONIALS ═══════════════ */
.testimonials {
  columns: 3;
  column-gap: 24px;
}
.tcard {
  break-inside: avoid;
  background: #fff;
  border-radius: var(--r-card);
  padding: 32px;
  margin-bottom: 24px;
}
.tcard__proof {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 20px;
}
.tcard blockquote {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.45;
  margin-bottom: 24px;
}
.tcard figcaption { display: flex; align-items: center; gap: 12px; }
.tcard figcaption .av { border-color: #fff; width: 42px; height: 42px; }
.tcard figcaption div { display: flex; flex-direction: column; }
.tcard b { font-size: 15px; }
.tcard figcaption span:last-child { color: var(--muted); font-size: 13.5px; }

/* ═══════════════ FAQ ═══════════════ */
.faq { display: grid; gap: 16px; max-width: 980px; }
.faq__item {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 32px;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  letter-spacing: -0.015em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__num { color: var(--muted); font-size: 15px; font-weight: 600; }
.faq__toggle {
  margin-left: auto;
  position: relative;
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.faq__toggle::before, .faq__toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--ink);
  border-radius: 2px;
  transition: rotate 0.45s var(--ease);
}
.faq__toggle::before { width: 18px; height: 2.5px; }
.faq__toggle::after { width: 2.5px; height: 18px; }
.faq__item[open] .faq__toggle::after { rotate: 90deg; }
.faq__item[open] .faq__toggle::before { rotate: 180deg; }
.faq__body { padding: 0 32px 32px 92px; }
.faq__body p { color: var(--ink-2); font-size: 16.5px; max-width: 720px; }
.faq__item[open] .faq__body p { animation: faqin 0.5s var(--ease) both; }
@keyframes faqin {
  from { opacity: 0; transform: translateY(-8px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* CTA */
.cta {
  margin-top: 80px;
  background: #fff;
  border-radius: var(--r-card);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta h3 {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 14px;
}
.cta p { color: var(--ink-2); max-width: 420px; }
.cta .btn { flex-shrink: 0; }

/* ═══════════════ BLOG ═══════════════ */
.blog__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}
.blog__head .ghost-link { margin: 0 0 10px; }
.blog {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}
.blog__side { display: grid; gap: 24px; align-content: start; }
.post { display: block; }
.post__media {
  border-radius: var(--r-card);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s ease;
}
.post:hover .post__media { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.post--featured .post__media { aspect-ratio: 16 / 10; }
.post__media span {
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.9);
}
.post__media--a { background: radial-gradient(120% 140% at 20% 10%, #35424d, #10151a 65%); }
.post__media--b { background: linear-gradient(150deg, #b9d8e0, #58808c); }
.post__media--c { background: linear-gradient(150deg, #f0d9c6, #b98a63); }
.post__body { padding: 20px 8px 0; }
.post__body h3 {
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 8px;
}
.post__meta { color: var(--muted); font-size: 14.5px; }
.post__excerpt { margin-top: 12px; color: var(--ink-2); font-size: 16px; max-width: 560px; }

/* ═══════════════ FOOTER ═══════════════ */
.footer {
  margin-top: 140px;
  background: var(--heading);
  color: var(--bg);
  border-radius: 15px 15px 0 0;
  position: relative;
  overflow: hidden;
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 40px 60px;
  position: relative;
  z-index: 2;
}
.footer__title {
  color: var(--bg);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin-bottom: 56px;
}
.footer__title span { color: #b99c88; }
.footer__cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 70px;
}
.footer__label { color: #c9b3a3; font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.footer__big {
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
}
.footer__big::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: var(--bg);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.footer__big:hover::after { transform: scaleX(1); transform-origin: left; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: grid; place-items: center;
  font-weight: 700;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease);
}
.footer__social a:hover { background: var(--bg); color: var(--heading); transform: translateY(-3px); }
.footer__rule { border: none; border-top: 1px solid rgba(255,255,255,0.12); margin-bottom: 60px; }
.footer__menus {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}
.footer__menu-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 12px 48px;
  font-weight: 600;
}
.footer__menu-grid--single { grid-template-columns: auto; }
.footer__menu-grid a { opacity: 0.9; transition: opacity 0.25s ease; }
.footer__menu-grid a:hover { opacity: 0.5; }
.footer__copy { color: #c9b3a3; font-weight: 600; align-self: end; text-align: right; }
.footer__giant {
  font-size: clamp(72px, 12.5vw, 240px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.72;
  text-align: center;
  white-space: nowrap;
  color: var(--bg);
  filter: blur(4px);
  opacity: 0.9;
  transform: translateY(24%);
  user-select: none;
  pointer-events: none;
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(30px, 7vw, 60px); }
  .hero__collage { height: 440px; max-width: 640px; }
  .services__grid, .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .services__display { font-size: clamp(28px, 6vw, 60px); }
  .testimonials { columns: 2; }
  .blog { grid-template-columns: 1fr; }
}

/* celulares (~320–480px): H1 maior e com mais destaque, calibrada para
   caber sempre em duas linhas ("Seu negócio é bom." / "Que pareça também.") */
@media (max-width: 480px) {
  .hero__title { font-size: clamp(30px, calc(0.7px + 9.17vw), 41px); }
}

@media (max-width: 720px) {
  .section { padding: 80px 20px 24px; }
  .hero { padding-top: 130px; }
  .hero__sub-line { white-space: normal; }
  .nav { top: 12px; width: calc(100% - 24px); }
  .nav__inner { justify-content: space-between; }
  .nav__links { display: none; }
  .projects, .plans, .steps { grid-template-columns: 1fr; }
  .testimonials { columns: 1; }
  .pricing__banner, .cta { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .footer__cols, .footer__menus { grid-template-columns: 1fr; }
  .footer__copy { text-align: left; }
  .footer__giant { font-size: 14vw; }
  .faq__body { padding-left: 32px; }
  .history li { grid-template-columns: 1fr auto; }
  .history li span:nth-child(2) { display: none; }
  .dock { bottom: 14px; }
  .dock__btn { padding: 12px 18px; font-size: 14.5px; }
  .hero__proof { flex-wrap: wrap; }
  .logos { flex-basis: 100%; max-width: 100%; margin-left: 0; margin-top: 20px; }
  .logo img { height: 50px; }
  .about__display { max-width: 100%; }
  .services__list li { font-size: 20px; }
}

/* ═══════════════ MOBILE POLISH + ACCESSIBILITY ═══════════════ */
html {
  overflow-x: clip;
  scroll-padding-top: 100px;
}
body { min-width: 320px; }
img { max-width: 100%; height: auto; }
a, button { -webkit-tap-highlight-color: transparent; }
:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid rgba(73, 44, 26, 0.45);
  outline-offset: 3px;
}
.nav__menu-toggle,
.nav__mobile { display: none; }

@media (max-width: 720px) {
  .nav {
    top: max(12px, env(safe-area-inset-top));
    width: min(calc(100% - 24px), 540px);
  }
  .nav__inner {
    min-height: 56px;
    padding: 6px 8px 6px 10px;
    gap: 8px;
  }
  .nav__brand { min-width: 0; }
  .nav__name {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav__menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 6px;
    flex: 0 0 auto;
    border: 0;
    border-radius: 50%;
    color: var(--heading);
    background: transparent;
    cursor: pointer;
  }
  .nav__menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.25s ease;
  }
  .nav.is-menu-open .nav__menu-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }
  .nav.is-menu-open .nav__menu-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
  .nav__mobile {
    display: grid;
    position: absolute;
    top: calc(100% + 8px);
    inset-inline: 0;
    padding: 8px;
    border: 1px solid rgba(73, 44, 26, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 44px rgba(73, 44, 26, 0.14);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top center;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }
  .nav.is-menu-open .nav__mobile {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .nav__mobile a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-radius: 16px;
    font-weight: 650;
  }
  .nav__mobile a:hover,
  .nav__mobile a:focus-visible { background: rgba(73, 44, 26, 0.07); }

  .hero__grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .hero__content {
    order: 1;
    min-width: 0;
    position: relative;
    z-index: 46;
  }
  .hero__collage {
    order: 2;
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    height: clamp(340px, 94vw, 390px);
    margin-top: 6px;
  }
  .hero__title,
  .hero__sub,
  .about__text p,
  .testimonial__quote { overflow-wrap: anywhere; }
  .about__text p {
    font-size: 16px;
    line-height: 1.65;
  }
  .dock {
    bottom: max(12px, env(safe-area-inset-bottom));
    width: calc(100% - 24px);
  }
  .dock__btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }
  .footer { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .footer__inner { padding-inline: 20px; }
  .footer__giant {
    font-size: clamp(48px, 14vw, 90px);
    transform: translateY(18%);
  }
}

@media (max-width: 420px) {
  .nav__cta { display: none; }
  .hero__collage { height: clamp(320px, 96vw, 350px); }
}

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