/* ==========================================================================
   Paganini Engenharia — folha de estilo
   Tokens · base · componentes · seções · responsivo · movimento
   ========================================================================== */

:root {
  /* Cor */
  --bg: #F7F6F3;
  --surface: #FFFFFF;
  --ink: #232326;
  --ink-2: #5F5F67;
  --ink-3: #9A9AA2;
  --line: #E4E2DD;
  --line-strong: #CFCDC7;
  --accent: #FF8830;
  --accent-deep: #C75A0F;
  --accent-soft: #FFF1E6;

  /* Tipografia */
  --font-display: "Sora", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", "SF Mono", Menlo, Consolas, monospace;

  /* Escala */
  --text-xs: 0.75rem;
  --text-sm: 0.9rem;
  --text-md: 1.0625rem;
  --text-lg: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  --h2: clamp(2rem, 1.2rem + 3.4vw, 3.8rem);
  --h1: clamp(2.75rem, 1.4rem + 6.6vw, 6.8rem);

  /* Ritmo */
  --container: 1320px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --section: clamp(80px, 6vw + 40px, 150px);

  /* Movimento */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.6s;
}

/* ---------- Base ---------- */

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

html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, figure, p, h1, h2, h3 { margin: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 14px; background: var(--ink); color: #fff; font-size: var(--text-sm);
  transform: translateY(-200%); transition: transform .2s;
}
.skip:focus { transform: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Tipografia ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.04;
  text-wrap: balance;
}
h2 { font-size: var(--h2); }
h3 { font-size: 1.25rem; font-weight: 400; letter-spacing: -0.015em; line-height: 1.25; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow__dot {
  width: 7px; height: 7px; background: var(--accent); flex: none;
}
.mono {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.lead { font-size: var(--text-lg); color: var(--ink-2); line-height: 1.5; }

.section-head { margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head--row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
}
.section-head__note { max-width: 32ch; color: var(--ink-2); font-size: var(--text-sm); padding-bottom: 6px; }

/* ---------- Botões e links ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 24px;
  font-family: var(--font-body); font-weight: 500; font-size: var(--text-sm);
  letter-spacing: 0.01em; white-space: nowrap;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { border-color: var(--ink); }
.btn--sm { height: 40px; padding: 0 18px; }
.btn--primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--primary:hover { background: var(--accent); border-color: var(--accent); color: #1a1a1c; }

.link {
  position: relative; display: inline-flex; align-items: center;
  font-weight: 500; font-size: var(--text-sm); color: var(--ink);
  padding-bottom: 3px;
}
.link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.link:hover::after { transform: scaleX(0); transform-origin: left; }

/* ---------- Navegação ---------- */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .4s;
}
.nav.is-solid { box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(35,35,38,.18); }
.nav__inner {
  max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
  height: 84px; display: flex; align-items: center; gap: 40px;
}
.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand__logo { height: 48px; width: auto; }
.nav__links { display: flex; gap: 32px; font-size: var(--text-sm); font-weight: 500; }
.nav__links a { position: relative; padding: 6px 0; color: var(--ink-2); transition: color .3s; }
.nav__links a:hover, .nav__links a.is-current { color: var(--ink); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); }

.nav__toggle {
  display: none; width: 40px; height: 40px; position: relative; margin-left: -8px;
}
.nav__toggle span {
  position: absolute; left: 10px; width: 20px; height: 1.5px; background: var(--ink);
  transition: transform .4s var(--ease-out), top .4s var(--ease-out);
}
.nav__toggle span:first-child { top: 15px; }
.nav__toggle span:last-child { top: 23px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column;
  padding: 12px var(--gutter) 28px;
  background: var(--bg);
}
.mobile-menu a {
  padding: 14px 0; font-family: var(--font-display); font-size: 1.6rem; font-weight: 300;
  letter-spacing: -0.02em;
  opacity: 0; transform: translateY(12px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.mobile-menu a + a { border-top: 1px solid var(--line); }
.nav.is-open .mobile-menu { display: flex; }
.nav.is-open .mobile-menu a { opacity: 1; transform: none; }
.nav.is-open .mobile-menu a:nth-child(2) { transition-delay: .05s; }
.nav.is-open .mobile-menu a:nth-child(3) { transition-delay: .1s; }
.nav.is-open .mobile-menu a:nth-child(4) { transition-delay: .15s; }
.nav.is-open .mobile-menu a:nth-child(5) { transition-delay: .2s; }

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
  margin-top: 85px;
  min-height: calc(100vh - 85px); min-height: calc(100svh - 85px);
}
.hero__media { position: absolute; inset: 0; overflow: hidden; background: var(--ink); }
.hero__img {
  position: absolute; inset: -8% 0; width: 100%; height: 116%;
  object-fit: cover; object-position: center 35%;
  filter: contrast(1.14) saturate(1.12) brightness(.98);
  will-change: transform;
}
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(18,18,20,.78) 0%, rgba(18,18,20,.42) 42%, rgba(18,18,20,.08) 72%, rgba(18,18,20,0) 100%),
    linear-gradient(to right, rgba(18,18,20,.45), rgba(18,18,20,.1) 50%, rgba(18,18,20,0) 70%);
}
.hero__content {
  position: relative; z-index: 2;
  padding-bottom: clamp(72px, 10vh, 120px);
  padding-top: clamp(64px, 12vh, 140px);
}
.hero__eyebrow { color: rgba(255,255,255,.78); margin-bottom: 28px; }
.hero__title {
  font-size: var(--h1);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.98;
  max-width: 13ch;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero__title .line > span { display: block; }
.hero__sub {
  display: grid; grid-template-columns: minmax(0, 52ch) auto; align-items: end; gap: 28px 64px;
  margin-top: clamp(28px, 4vw, 44px);
}
.hero__sub p { font-size: var(--text-lg); color: rgba(255,255,255,.86); line-height: 1.5; }
.hero__cta { display: flex; align-items: center; gap: 28px; }
.hero .btn--primary { background: var(--accent); border-color: var(--accent); color: #1a1a1c; }
.hero .btn--primary:hover { background: #fff; border-color: #fff; }
.link--light { color: #fff; }

.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 32px; z-index: 2;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.hero__scroll svg { width: 12px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; animation: nudge 2.2s var(--ease-io) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- Manifesto ---------- */

.manifesto {
  background: var(--surface);
  padding-block: clamp(96px, 8vw + 40px, 180px);
}
.manifesto__text {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.6rem, 1rem + 2.6vw, 3.2rem);
  letter-spacing: -0.03em; line-height: 1.22;
  max-width: 28ch;
}
.manifesto__text .w { display: inline-block; opacity: .16; transition: opacity .25s linear; }
.manifesto__text .w.is-lit { opacity: 1; }

/* ---------- Serviços ---------- */

.services { padding-block: var(--section); }
.services__pin { position: relative; }
.services__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
  min-height: calc(100vh - 84px);
  min-height: calc(100svh - 84px);
  padding-block: 24px;
}
.services__list { display: flex; flex-direction: column; }
.service { border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service__btn {
  width: 100%; display: flex; align-items: baseline; gap: 20px;
  padding: 18px 0; text-align: left;
}
.service__num { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--ink-3); letter-spacing: .08em; transition: color .4s; }
.service__title {
  font-family: var(--font-display); font-weight: 300; letter-spacing: -0.02em;
  font-size: clamp(1.35rem, 1rem + 1.2vw, 2rem);
  color: var(--ink-3); transition: color .5s var(--ease-out);
}
.service.is-active .service__title { color: var(--ink); }
.service.is-active .service__num { color: var(--accent-deep); }
.service__body {
  display: grid; grid-template-rows: 0fr; overflow: hidden;
  transition: grid-template-rows .6s var(--ease-io);
}
.service__body > * { min-height: 0; }
.service__body p { color: var(--ink-2); padding-left: 44px; max-width: 46ch; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s var(--ease-out); }
.service.is-active .service__body { grid-template-rows: 1fr; }
.service.is-active .service__body p { opacity: 1; transform: none; transition-delay: .2s; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0 24px 44px; opacity: 0; transition: opacity .5s .3s; }
.service.is-active .tags { opacity: 1; }
.tags li { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: .06em; color: var(--ink-2); padding: 5px 10px; border: 1px solid var(--line-strong); }

.services__media { position: relative; }
.services__frame {
  position: relative; overflow: hidden; background: var(--line);
  height: min(calc(100svh - 180px), 700px);
}
.services__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06);
  transition: opacity .9s var(--ease-io), transform 1.4s var(--ease-out);
}
.services__img.is-active { opacity: 1; transform: scale(1); }
.services__progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.25);
}
.services__progress span { display: block; height: 100%; width: 0; background: var(--accent); }

/* ---------- Números ---------- */

.stats { padding-bottom: var(--section); }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stat { padding: 36px 24px 8px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat dt { font-size: var(--text-sm); color: var(--ink-2); margin-bottom: 14px; }
.stat dd {
  font-family: var(--font-display); font-weight: 300; letter-spacing: -0.04em;
  font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.6rem); line-height: 1;
  display: flex; align-items: baseline; gap: 6px;
  font-variant-numeric: tabular-nums;
}
.stat dd sup { font-size: .45em; color: var(--accent-deep); line-height: 1; align-self: flex-start; margin-top: .2em; }
.stat dd small { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: .08em; color: var(--ink-2); }

/* ---------- Projetos ---------- */

.projects { overflow: hidden; padding-bottom: var(--section); }
.projects__pin { position: relative; }
.projects__track {
  display: flex; gap: clamp(16px, 2vw, 32px);
  padding-inline: var(--gutter);
  padding-block: 8px;
  will-change: transform;
  align-items: flex-end;
}
.project { flex: none; width: min(62vw, 720px); }
.project--tall { width: min(38vw, 440px); }
.project__figure { overflow: hidden; aspect-ratio: 3 / 2; background: var(--line); }
.project--tall .project__figure { aspect-ratio: 3 / 4; }
.project__figure img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02); transition: transform 1.2s var(--ease-out);
}
.project:hover .project__figure img { transform: scale(1.06); }
.project__meta { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; }
.project__meta h3 { font-size: 1.15rem; }
.project--cta {
  width: min(44vw, 460px); aspect-ratio: 3 / 4; align-self: stretch;
  display: flex; background: var(--ink); color: #fff;
  transition: background .5s var(--ease-out);
}
.project--cta:hover { background: var(--accent); color: var(--ink); }
.project--cta__inner { display: flex; flex-direction: column; justify-content: space-between; padding: 32px; width: 100%; }
.project--cta .eyebrow { color: inherit; opacity: .7; }
.project--cta__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(3rem, 2rem + 4vw, 6rem); letter-spacing: -0.04em; line-height: 1; }
.project--cta .link { color: inherit; }

/* ---------- Método ---------- */

.method { background: var(--surface); padding-block: var(--section); }
.method__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 120px); align-items: start;
}
.method__intro { position: sticky; top: 132px; }
.method__intro .eyebrow { margin-bottom: 20px; }
.method__intro h2 { max-width: 12ch; margin-bottom: 24px; }
.steps { position: relative; }
.steps::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line);
}
.steps::after {
  content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 100%;
  background: var(--accent); transform: scaleY(var(--p, 0)); transform-origin: top;
}
.step {
  display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px;
  padding: 36px 0 36px 32px;
}
.step + .step { border-top: 1px solid var(--line); }
.step__num { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .1em; color: var(--ink-3); padding-top: 6px; }
.step h3 { font-size: clamp(1.4rem, 1rem + 1.3vw, 2.1rem); margin-bottom: 12px; }
.step p { color: var(--ink-2); max-width: 48ch; }

/* ---------- Sobre ---------- */

.about { padding-block: var(--section); }
.about__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 120px); align-items: center;
}
.about__figure { overflow: hidden; aspect-ratio: 4 / 5; background: var(--line); }
.about__figure img { width: 100%; height: 120%; object-fit: cover; margin-top: -10%; will-change: transform; }
.about__text .eyebrow { margin-bottom: 20px; }
.about__text h2 { margin-bottom: 24px; max-width: 16ch; }
.about__text > p { color: var(--ink-2); max-width: 52ch; }
.values {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px;
  margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line);
}
.values li { display: flex; gap: 16px; align-items: flex-start; }
.values svg { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--accent-deep); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.values h3 { font-size: 1.05rem; font-weight: 500; margin-bottom: 4px; }
.values p { font-size: var(--text-sm); color: var(--ink-2); }

/* ---------- Contato ---------- */

.contact { background: var(--surface); padding-block: var(--section); }
.contact__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 120px); align-items: start;
}
.contact__text .eyebrow { margin-bottom: 20px; }
.contact__text h2 { margin-bottom: 24px; max-width: 14ch; }
.contact__text > p { color: var(--ink-2); max-width: 44ch; }
.contact__info { margin-top: 40px; display: grid; gap: 18px; }
.contact__info dt { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.contact__info dd a { position: relative; }
.contact__info dd a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--line-strong); transition: background .3s; }
.contact__info dd a:hover::after { background: var(--ink); }

.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field label { font-size: var(--text-sm); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 0;
  padding: 14px 16px; transition: border-color .3s, background .3s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23232326' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); background: var(--surface);
}
.form .btn { justify-self: start; }
.form__note { font-size: var(--text-xs); color: var(--ink-3); }

/* ---------- Rodapé ---------- */

.footer { padding: 64px 0 32px; }
.footer__brand img { width: 210px; height: auto; }
.footer__grid {
  display: grid; grid-template-columns: auto 1fr auto; gap: 48px; align-items: start;
  padding-bottom: 40px; border-bottom: 1px solid var(--line);
}
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; font-size: var(--text-sm); font-weight: 500; justify-content: center; padding-top: 8px; }
.footer__links a { color: var(--ink-2); transition: color .3s; }
.footer__links a:hover { color: var(--ink); }
.footer__social { display: flex; justify-content: flex-end; }
.social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--ink-2); transition: color .3s, border-color .3s, background .3s;
}
.social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.social:hover { color: var(--ink); border-color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; color: var(--ink-3); }

/* ---------- Revelação genérica ---------- */

[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* Estado inicial do hero (animado no load) */
.hero__title .line > span { transform: translateY(110%); }
.hero__eyebrow, .hero__sub, .hero__scroll { opacity: 0; transform: translateY(16px); }
.hero__img { opacity: 0; }
body.is-ready .hero__title .line > span { transform: none; transition: transform 1.1s var(--ease-out); }
body.is-ready .hero__title .line:nth-child(2) > span { transition-delay: .08s; }
body.is-ready .hero__eyebrow { opacity: 1; transform: none; transition: opacity .8s var(--ease-out) .1s, transform .8s var(--ease-out) .1s; }
body.is-ready .hero__sub { opacity: 1; transform: none; transition: opacity .9s var(--ease-out) .5s, transform .9s var(--ease-out) .5s; }
body.is-ready .hero__scroll { opacity: 1; transform: none; transition: opacity .9s var(--ease-out) 1s, transform .9s var(--ease-out) 1s; }
body.is-ready .hero__img { opacity: 1; transition: opacity 1.4s var(--ease-out); }

/* ---------- Responsivo ---------- */

@media (max-width: 1024px) {
  .hero__sub { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; min-height: 0; padding-block: 0; }
  .services__media { display: none; }
  .service__btn { cursor: default; }
  .service .service__title { color: var(--ink); }
  .service .service__num { color: var(--accent-deep); }
  .service .service__body { grid-template-rows: 1fr; }
  .service .service__body p, .service .tags { opacity: 1; transform: none; }
  .method__grid, .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .method__intro { position: static; }
  .about__figure { aspect-ratio: 16 / 10; order: -1; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__links { justify-content: flex-start; }
  .footer__social { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .nav__links, .nav .btn--sm { display: none; }
  .nav__toggle { display: block; }
  .hero__title { max-width: none; }
  .hero__content { padding-bottom: 80px; }
  .nav__inner { height: 72px; }
  .brand__logo { height: 40px; }
  .hero { margin-top: 73px; min-height: calc(100svh - 73px); }
  .hero__scroll span { display: none; }
  .hero__img { object-position: 68% 20%; }
  .hero__shade {
    background:
      linear-gradient(to top, rgba(18,18,20,.86) 0%, rgba(18,18,20,.62) 45%, rgba(18,18,20,.18) 72%, rgba(18,18,20,0) 100%);
  }
  .hero__sub p { font-size: 1rem; }
  .hero__cta { flex-wrap: wrap; gap: 20px; }
  .section-head--row { flex-direction: column; align-items: flex-start; gap: 16px; }
  /* Galeria vira scroll nativo com snap */
  .projects__track {
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scroll-padding-inline: var(--gutter); scrollbar-width: none; align-items: flex-start;
  }
  .projects__track::-webkit-scrollbar { display: none; }
  .project, .project--tall { width: 80vw; scroll-snap-align: start; }
  .project--tall .project__figure { aspect-ratio: 3 / 2; }
  .project--cta { width: 70vw; aspect-ratio: auto; min-height: 320px; }
  .step { grid-template-columns: 1fr; gap: 8px; padding-left: 24px; }
  .values { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .service__body p, .tags { padding-left: 0; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat { padding-left: 0; border-left: 0; }
  .stat + .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Movimento reduzido ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  [data-reveal], .hero__eyebrow, .hero__sub, .hero__scroll, .hero__img { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
  .manifesto__text .w { opacity: 1; }
}
