/* ==========================================================================
   guilherme.trajano — site
   Sistema: tipografia Archivo + Newsreader itálico + Geist Mono,
   hairlines finas e o "cursor" cor de brasa da marca (gt▮).
   ========================================================================== */

:root {
  --paper: #FBF8F2;
  --paper-2: #F3EEE3;
  --card: #FFFDF8;
  --ink: #17130E;
  --ink-2: rgba(23, 19, 14, .68);
  --ink-3: rgba(23, 19, 14, .48);
  --line: rgba(23, 19, 14, .12);
  --line-2: rgba(23, 19, 14, .2);
  --dark: #17130E;
  --dark-2: #211B14;
  --on-dark: #FBF8F2;
  --on-dark-2: rgba(251, 248, 242, .64);
  --line-dark: rgba(251, 248, 242, .14);
  --accent: #B95A14;
  --accent-soft: rgba(185, 90, 20, .14);
  --ok: #2E9E63;

  --sans: 'Archivo', system-ui, -apple-system, sans-serif;
  --serif: 'Newsreader', Georgia, serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --gutter: clamp(20px, 4.4vw, 56px);
  --max: 1360px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --nav-h: 76px;
}

/* ─── Base ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--accent); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; transition: top .3s; }
.skip:focus { top: 12px; }

/* ─── Tipografia ─── */
.h2 {
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.04;
  text-wrap: balance;
}
.h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.lede { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.68; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.lede + .lede { margin-top: 14px; }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  color: var(--ink-3);
  min-height: 1.4em;
  margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--accent); flex: none; transform-origin: left; }
.js .eyebrow::before { transform: scaleX(0); transition: transform .8s var(--ease); }
.js .is-in .eyebrow::before, .js .eyebrow.is-in::before { transform: none; }

/* O cursor da marca */
.caret {
  display: inline-block;
  width: .12em; min-width: 2px;
  height: .8em;
  margin-left: .12em;
  vertical-align: -.06em;
  background: var(--accent);
  animation: blink 1.05s steps(2, jump-none) infinite;
}
[data-type] .caret { width: 7px; height: 1.15em; vertical-align: -.25em; margin-left: 4px; transition: opacity .6s; }
[data-type].is-typed .caret { opacity: 0; }

/* ─── Botões ─── */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font: 600 15px/1 var(--sans); letter-spacing: -.005em;
  white-space: nowrap; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s, transform .45s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--accent);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover { color: var(--paper); }
.btn .arrow { display: inline-block; transition: transform .45s var(--spring); }
.btn:hover .arrow { transform: translate(3px, -3px); }
.btn:hover .arrow--down { transform: translateY(3px); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 13.5px; }
.btn--ink { --bg: var(--ink); --fg: var(--paper); }
.btn--line { --bg: transparent; --fg: var(--ink); border-color: var(--line-2); }
.btn--line:hover { border-color: var(--accent); }
.btn--paper { --bg: var(--paper); --fg: var(--ink); }
.btn--accent { --bg: var(--accent); --fg: var(--paper); }
.btn--accent::before { background: var(--paper); }
.btn--accent:hover { color: var(--ink); }

/* ==========================================================================
   Header
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 90;
  display: flex; justify-content: center;
  padding: 0 var(--nav-pad, 0px);
  pointer-events: none;
  --ink-n: var(--ink);
  --line-n: var(--line);
}
.nav__bar {
  pointer-events: auto;
  width: 100%; max-width: var(--max);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--gutter);
  margin-top: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink-n);
  animation: navIn 1s var(--ease) both;
  transition: max-width .7s var(--ease), padding .7s var(--ease), margin .7s var(--ease),
              background-color .5s, border-color .5s, box-shadow .7s var(--ease), color .45s;
}
.nav.is-scrolled .nav__bar {
  max-width: 920px;
  margin-top: 14px;
  padding: 8px 8px 8px 20px;
  background: rgba(251, 248, 242, .8);
  border-color: var(--line);
  box-shadow: 0 22px 50px -26px rgba(23, 19, 14, .38);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
}
.nav.is-dark { --ink-n: var(--on-dark); --line-n: var(--line-dark); }
.nav.is-dark.is-scrolled .nav__bar { background: rgba(23, 19, 14, .72); border-color: var(--line-dark); box-shadow: 0 22px 50px -24px rgba(0, 0, 0, .6); }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 38px; height: auto; overflow: visible; transition: transform .5s var(--spring); }
.brand__mark text { fill: currentColor; }
.brand__mark rect { fill: var(--accent); animation: markBlink 5s steps(1) infinite; }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-weight: 700; font-size: 17px; letter-spacing: -.02em; white-space: nowrap; }
.brand__name i { font-style: normal; color: var(--accent); }
.brand__tag {
  font: 400 9.5px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase;
  opacity: .55; white-space: nowrap; overflow: hidden; max-height: 16px;
  transition: max-height .5s var(--ease), opacity .4s;
}
.nav.is-scrolled .brand__tag { max-height: 0; opacity: 0; }

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a { position: relative; display: block; padding: 4px 0 7px; font-size: 14px; font-weight: 500; }
.nav__links a > span { display: block; height: 20px; line-height: 20px; overflow: hidden; position: relative; }
.nav__links a > span::before,
.nav__links a > span::after { display: block; transition: transform .45s var(--ease-io); }
.nav__links a > span { color: transparent; }
.nav__links a > span::before { content: attr(data-t); color: var(--ink-n); position: absolute; inset: 0; transition: transform .45s var(--ease-io), color .45s; }
.nav__links a > span::after { content: attr(data-t); color: var(--accent); font: italic 500 16px/20px var(--serif); position: absolute; inset: 100% 0 auto; }
.nav__links a:hover > span::before { transform: translateY(-100%); }
.nav__links a:hover > span::after { transform: translateY(-100%); }
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease-io);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }

.nav__end { display: flex; align-items: center; gap: 18px; flex: none; }
.nav__clock {
  font: 400 10px/1 var(--mono); letter-spacing: .16em; opacity: .55; white-space: nowrap;
  overflow: hidden; max-width: 90px;
  transition: max-width .5s var(--ease), opacity .4s, margin .5s;
}
.nav.is-scrolled .nav__clock { max-width: 0; opacity: 0; margin-right: -18px; }
.nav.is-dark .nav__cta { --bg: var(--paper); --fg: var(--ink); }

.burger {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-n); background: transparent; cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  transition: border-color .4s;
}
.burger span { display: block; width: 16px; height: 1.5px; background: var(--ink-n); border-radius: 2px; transition: transform .5s var(--ease), background-color .4s; }
.menu-open .burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Menu mobile */
.menu {
  position: fixed; inset: 0; z-index: 80;
  display: flex; flex-direction: column;
  padding: 120px var(--gutter) max(28px, env(safe-area-inset-bottom));
  background: var(--dark); color: var(--on-dark);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s .7s;
}
.menu-open .menu { clip-path: inset(0); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
.menu-open { overflow: hidden; }
.menu__links { display: flex; flex-direction: column; gap: 4px; }
.menu__links a {
  display: flex; align-items: baseline; gap: 18px;
  font: italic 500 clamp(44px, 12vw, 64px)/1.12 var(--serif);
  padding: 4px 0;
  border-bottom: 1px solid var(--line-dark);
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .8s var(--ease), color .3s;
}
.menu__links a small { font: 400 11px/1 var(--mono); letter-spacing: .16em; color: var(--accent); font-style: normal; transform: translateY(-4px); }
.menu__links a:hover { color: var(--accent); }
.menu-open .menu__links a { opacity: 1; transform: none; }
.menu-open .menu__links a:nth-child(1) { transition-delay: .15s; }
.menu-open .menu__links a:nth-child(2) { transition-delay: .21s; }
.menu-open .menu__links a:nth-child(3) { transition-delay: .27s; }
.menu-open .menu__links a:nth-child(4) { transition-delay: .33s; }
.menu__cta { margin-top: 36px; align-self: flex-start; opacity: 0; transition: opacity .6s .4s; }
.menu-open .menu__cta { opacity: 1; }
.menu__foot { margin-top: auto; opacity: .4; font-size: 10px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: clamp(130px, 18vh, 170px);
  padding-bottom: clamp(48px, 7vh, 80px);
}
.hero__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; animation: riseIn .8s .05s var(--ease) both; }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 10px; letter-spacing: .18em;
}
.status__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); position: relative; }
.status__dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--ok); animation: ping 2.4s var(--ease) infinite; }
.hero__meta { font-size: 10px; letter-spacing: .18em; color: var(--ink-3); }

.hero__title {
  margin-top: clamp(28px, 4vh, 44px);
  font-size: clamp(44px, 7.2vw, 112px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.0;
  max-width: 12.5em;
}
.hero__title em { letter-spacing: -.02em; font-weight: 400; }
.hero__title b { color: var(--accent); font-weight: inherit; }

/* palavras que sobem por máscara */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; }
.js .hero__title .w > span { transform: translateY(110%); animation: lineUp 1.1s var(--ease) both; animation-delay: calc(.12s + var(--i) * .055s); }

.hero__foot {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px 56px;
  margin-top: clamp(32px, 5vh, 52px);
  animation: riseIn .9s .5s var(--ease) both;
}
.hero__lede { max-width: 32em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Fluxo do pedido */
.flow { margin-top: auto; padding-top: clamp(56px, 9vh, 96px); animation: riseIn 1s .7s var(--ease) both; }
.flow__nodes { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.flow__track { position: absolute; left: calc(100% / 6); right: calc(100% / 6); top: 50%; height: 1px; background: var(--line-2); }
.flow__dot {
  position: absolute; top: 50%; left: 0; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px;
  border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
  animation: flowX 5.4s var(--ease-io) infinite;
}
.flow__node {
  position: relative; justify-self: center;
  display: flex; align-items: center; gap: 16px;
  padding: 15px 22px 15px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 36px -26px rgba(23, 19, 14, .4);
  transition: transform .5s var(--ease);
  animation: nodeHit 5.4s linear infinite;
  animation-delay: calc(var(--n) * 2.43s - .1s);
}
.flow__node:hover { transform: translateY(-3px); }
.flow__n { color: var(--accent); font-size: 10px; }
.flow__node strong { display: block; font-size: 15px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.flow__node small { display: block; margin-top: 3px; font-size: 9px; letter-spacing: .16em; color: var(--ink-3); white-space: nowrap; }
.flow__cap { margin-top: 22px; text-align: center; font-size: 9.5px; letter-spacing: .22em; color: var(--ink-3); }

/* ==========================================================================
   Números
   ========================================================================== */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: 30px 28px 28px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat dd { font-size: clamp(40px, 4.4vw, 60px); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat dt { font-size: 10px; letter-spacing: .16em; color: var(--ink-3); line-height: 1.6; max-width: 24em; }

/* ==========================================================================
   Cabeçalho de seção
   ========================================================================== */
.head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.head .lede { margin-top: 22px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); margin-top: 34px; border-top: 1px solid var(--line); max-width: 600px; }
.facts > div { padding: 16px 28px 0; border-left: 1px solid var(--line); }
.facts > div:first-child { padding-left: 0; border-left: 0; }
.facts dt { font-size: 9.5px; color: var(--ink-3); letter-spacing: .18em; }
.facts dd { margin-top: 6px; font-size: 11.5px; letter-spacing: .1em; color: var(--ink); }

/* ==========================================================================
   Case Ao Gosto — capítulos
   ========================================================================== */
.case { padding-top: clamp(96px, 12vw, 150px); }
.chapter {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center; gap: clamp(40px, 6vw, 96px);
  padding-block: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line);
}
.chapter--flip { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.chapter--flip .chapter__text { order: 2; }
.chapter__text { max-width: 460px; }
.chapter--flip .chapter__text { justify-self: end; }
.chapter__n { display: block; font: italic 400 clamp(46px, 5vw, 68px)/1 var(--serif); color: var(--accent); letter-spacing: -.02em; margin-bottom: 22px; }
.chapter__n i { font-size: .34em; color: var(--ink-3); font-family: var(--mono); font-style: normal; letter-spacing: .1em; margin-left: 8px; vertical-align: .9em; }
.chapter__text p { margin-top: 16px; color: var(--ink-2); font-size: 16.5px; line-height: 1.68; text-wrap: pretty; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tags li { font-size: 9.5px; letter-spacing: .14em; padding: 7px 13px; border: 1px solid var(--line-2); border-radius: 999px; }
.chapter__media { display: flex; justify-content: center; }

/* Celular */
.phone {
  --r: 44px;
  position: relative;
  width: min(272px, 64vw);
  aspect-ratio: 9 / 19;
  padding: 10px;
  border-radius: var(--r);
  background: var(--dark);
  box-shadow: 0 50px 90px -46px rgba(23, 19, 14, .55), inset 0 0 0 1px rgba(255, 255, 255, .06);
  transition: transform .9s var(--ease);
}
.phone::before {
  content: ''; position: absolute; z-index: 2; top: 18px; left: 50%; transform: translateX(-50%);
  width: 30%; height: 22px; border-radius: 999px; background: var(--dark);
}
.phone video {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: calc(var(--r) - 10px);
  background: repeating-linear-gradient(45deg, #F2ECDF 0 11px, #ECE4D4 11px 22px);
}
.phone--tilt-l { transform: rotate(-2.5deg); }
.phone--tilt-r { transform: rotate(2deg); }
.phone:hover { transform: rotate(0) translateY(-6px); }

/* Janela de navegador */
.browser {
  width: 100%;
  background: var(--dark-2);
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(23, 19, 14, .3);
  box-shadow: 0 50px 90px -50px rgba(23, 19, 14, .6);
}
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line-dark); }
.browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(251, 248, 242, .16); }
.browser__bar span { margin-left: 10px; font-size: 10px; letter-spacing: .08em; text-transform: none; color: var(--on-dark-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser__view { position: relative; aspect-ratio: 2 / 1; background: #fff; overflow: hidden; }
.browser__view img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: left top;
  opacity: 0; transform: scale(1.025);
  transition: opacity .9s var(--ease), transform 5s linear;
}
.browser__view img.is-on { opacity: 1; transform: none; }
.browser__cap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-top: 1px solid var(--line-dark); }
.browser__label { color: var(--accent); font-size: 9.5px; letter-spacing: .16em; min-height: 1.4em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.progress { display: flex; gap: 6px; flex: none; }
.progress button {
  position: relative; width: 26px; height: 16px; padding: 0; border: 0; background: none; cursor: pointer;
}
.progress button::before, .progress button::after { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 2px; border-radius: 2px; background: rgba(251, 248, 242, .22); }
.progress button::after { background: var(--accent); transform: scaleX(0); transform-origin: left; }
.progress button.is-done::after { transform: scaleX(1); }
.progress button.is-on::after { animation: fill var(--dur, 4.2s) linear forwards; }
.browser.is-paused .progress button.is-on::after { animation-play-state: paused; }

/* Duo: celular + card */
.duo { position: relative; display: flex; align-items: center; padding-right: 180px; }
.duo .phone { width: min(252px, 56vw); z-index: 1; }
.card-shot {
  position: absolute; right: 0; bottom: 12%; z-index: 2;
  width: min(310px, 62%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 34px 64px -30px rgba(23, 19, 14, .45);
  transition: transform .8s var(--ease);
}
.card-shot:hover { transform: translateY(-6px); }
.card-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
.card-shot figcaption { padding: 10px 12px; border-top: 1px solid var(--line); font-size: 8.5px; letter-spacing: .18em; color: var(--ink-3); }

/* ==========================================================================
   Seção escura — Shuei
   ========================================================================== */
.dark { background: var(--dark); color: var(--on-dark); margin-top: clamp(60px, 8vw, 110px); }
.dark .lede { color: var(--on-dark-2); }
.dark .eyebrow { color: rgba(251, 248, 242, .5); }
.dark .facts { border-color: var(--line-dark); }
.dark .facts > div { border-color: var(--line-dark); }
.dark .facts dt { color: rgba(251, 248, 242, .45); }
.dark .facts dd { color: var(--on-dark); }
.shuei {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center; gap: clamp(48px, 6vw, 96px);
  padding-block: clamp(100px, 12vw, 160px);
}
.shuei .lede { margin-top: 22px; }
.shuei__media { position: relative; padding: 0 44px 60px 0; }
.browser--dark { border-color: var(--line-dark); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8); }
.browser--dark .browser__view { background: #0d0b08; }
.phone--sm {
  --r: 28px;
  position: absolute; right: 0; bottom: 0;
  width: clamp(116px, 26%, 160px);
  padding: 6px;
  background: #000;
  box-shadow: 0 36px 60px -24px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(251, 248, 242, .14);
  transform: rotate(3deg);
}
.phone--sm::before { top: 11px; height: 12px; }
.phone--sm video { background: repeating-linear-gradient(45deg, #241D15 0 9px, #281F16 9px 18px); }

/* ==========================================================================
   Estúdio
   ========================================================================== */
.studio {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  align-items: center; gap: clamp(48px, 7vw, 110px);
  padding-top: clamp(100px, 12vw, 160px);
}
.studio__photo { max-width: 440px; width: 100%; justify-self: center; }
.portrait { position: relative; aspect-ratio: 4 / 5; }
.portrait::before {
  content: ''; position: absolute; inset: 22px -22px -22px 22px;
  border: 1px solid var(--accent); border-radius: 18px; opacity: .6;
  transition: transform .9s var(--ease);
}
.portrait img {
  position: relative; width: 100%; height: 100%; object-fit: cover;
  border-radius: 18px; border: 1px solid var(--line);
  transition: transform .9s var(--ease);
}
.portrait:hover img { transform: translate(-6px, -6px); }
.portrait:hover::before { transform: translate(4px, 4px); }
.portrait__cap { margin-top: 42px; font-size: 9.5px; letter-spacing: .18em; color: var(--ink-3); }
.studio__text .lede:first-of-type { margin-top: 22px; }
.principles { margin-top: 34px; border-top: 1px solid var(--line); }
.principles li { display: flex; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 10.5px; letter-spacing: .14em; line-height: 1.6; }
.principles span { color: var(--accent); width: 22px; flex: none; text-transform: none; font-family: var(--serif); font-style: italic; font-size: 15px; letter-spacing: 0; line-height: 1.1; }

/* ==========================================================================
   Frentes
   ========================================================================== */
.fronts { padding-top: clamp(100px, 12vw, 160px); }
.head--row { max-width: none; display: flex; flex-direction: column; }
.rows { border-top: 1px solid var(--line); }
.row {
  position: relative;
  display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr) 32px;
  align-items: baseline; gap: 12px 32px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}
.row::before {
  content: ''; position: absolute; inset: 0 calc(var(--gutter) * -1);
  background: var(--paper-2); opacity: 0; z-index: -1; transition: opacity .5s;
}
.row:hover::before { opacity: 1; }
.row__n { color: var(--accent); font-size: 11px; }
.row__title { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; transition: transform .6s var(--ease); }
.row__title::after { content: ''; }
.row:hover .row__title { transform: translateX(10px); }
.row__desc { color: var(--ink-2); font-size: 15.5px; line-height: 1.62; max-width: 30em; }
.row__arrow { color: var(--accent); font-size: 22px; opacity: 0; transform: translate(-8px, 8px); transition: opacity .4s, transform .6s var(--ease); justify-self: end; }
.row:hover .row__arrow { opacity: 1; transform: none; }

/* ==========================================================================
   Contato
   ========================================================================== */
.contact { padding-top: clamp(80px, 10vw, 130px); }
.contact__card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  padding: clamp(36px, 6vw, 84px);
  border-radius: 28px;
  background: var(--dark); color: var(--on-dark);
  position: relative; overflow: hidden;
}
.contact__card::after {
  content: ''; position: absolute; width: 520px; height: 520px; right: -200px; top: -260px;
  background: radial-gradient(closest-side, rgba(185, 90, 20, .22), transparent);
  pointer-events: none;
}
.contact__card .eyebrow { color: rgba(251, 248, 242, .5); }
.contact__card .h2 { font-size: clamp(34px, 3.8vw, 54px); }
.contact__card .lede { color: var(--on-dark-2); margin: 22px 0 34px; }
.form { display: flex; flex-direction: column; gap: 6px; position: relative; z-index: 1; }
.form__title { font-size: 9.5px; letter-spacing: .2em; color: rgba(251, 248, 242, .5); margin-bottom: 10px; }
.field { position: relative; display: block; padding-top: 18px; }
.field input, .field textarea {
  width: 100%; display: block;
  background: transparent; border: 0; border-bottom: 1px solid rgba(251, 248, 242, .22); border-radius: 0;
  color: var(--on-dark); font: 400 16px/1.5 var(--sans);
  padding: 10px 0 10px; outline: none; resize: vertical;
}
.field span {
  position: absolute; left: 0; top: 28px;
  color: rgba(251, 248, 242, .45); font-size: 16px;
  pointer-events: none; transform-origin: left top;
  transition: transform .45s var(--ease), color .3s, font .3s;
}
.field::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.field:focus-within::after { transform: none; }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span {
  transform: translateY(-22px) scale(.72); color: var(--accent);
  font-family: var(--mono); letter-spacing: .14em; text-transform: uppercase;
}
.field.is-error::after { background: #E26B4F; transform: none; }
.field textarea { min-height: 96px; }
.form__end { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 22px; }
.form__note { font-size: 9.5px; letter-spacing: .16em; color: rgba(251, 248, 242, .45); }
.form.is-sent .btn { --bg: var(--ok); --fg: var(--paper); }

/* ==========================================================================
   Rodapé — a assinatura digitada
   ========================================================================== */
.foot { padding-top: clamp(60px, 8vw, 100px); padding-bottom: max(40px, env(safe-area-inset-bottom)); }
.sign {
  display: flex; flex-direction: column; align-items: center; width: 100%;
  padding: clamp(40px, 6vw, 64px) 0 clamp(52px, 7vw, 80px);
  background: none; border: 0; cursor: pointer;
}
.sign__word {
  font-size: clamp(36px, 7vw, 96px); font-weight: 800; letter-spacing: -.04em; line-height: 1.15;
  min-height: 1.15em; white-space: nowrap;
}
.sign__word i { font-style: normal; color: var(--accent); }
.sign__word .caret { width: 3px; margin-left: 8px; height: .78em; vertical-align: -.04em; }
.sign__sub { margin-top: 16px; font-size: 10px; letter-spacing: .28em; color: var(--ink-3); opacity: 0; transform: translateY(6px); transition: opacity .9s, transform .9s var(--ease); }
.sign.is-done .sign__sub { opacity: 1; transform: none; }
.foot__bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px;
  padding-top: 26px; border-top: 1px solid var(--line);
  font-size: 9.5px; letter-spacing: .16em; color: var(--ink-3);
}
.foot__bar nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot__bar a { transition: color .3s; }
.foot__bar a:hover { color: var(--accent); }

/* ==========================================================================
   Revelação no scroll
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Keyframes
   ========================================================================== */
@keyframes navIn { from { opacity: 0; transform: translateY(-16px); } }
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } }
@keyframes lineUp { to { transform: none; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes markBlink { 0%, 86%, 92%, 98% { opacity: 1; } 89%, 95% { opacity: .15; } }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes flowX { 0% { left: 0; opacity: 0; } 6%, 94% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes flowY { 0% { top: 0; opacity: 0; } 6%, 94% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes nodeHit {
  0% { border-color: var(--line); box-shadow: 0 18px 36px -26px rgba(23, 19, 14, .4); }
  4% { border-color: rgba(185, 90, 20, .55); box-shadow: 0 0 0 4px var(--accent-soft), 0 18px 36px -26px rgba(23, 19, 14, .4); }
  22%, 100% { border-color: var(--line); box-shadow: 0 18px 36px -26px rgba(23, 19, 14, .4); }
}
@keyframes fill { to { transform: scaleX(1); } }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1100px) {
  .flow__node { padding: 13px 16px 13px 14px; gap: 12px; }
  .flow__node strong { font-size: 14px; }
}

@media (max-width: 920px) {
  :root { --nav-h: 64px; }
  .nav__links, .nav__clock, .nav__cta { display: none; }
  .burger { display: flex; }
  .nav__bar { padding: 14px var(--gutter); }
  .nav.is-scrolled .nav__bar { margin-top: 10px; max-width: calc(100vw - 24px); padding: 7px 7px 7px 16px; }
  .menu-open .nav .nav__bar { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-open .nav { --ink-n: var(--on-dark); --line-n: var(--line-dark); }

  .hero__foot { grid-template-columns: 1fr; }

  .chapter, .chapter--flip { grid-template-columns: 1fr; gap: 44px; }
  .chapter--flip .chapter__text { order: 0; justify-self: start; }
  .chapter__text { max-width: 560px; }

  .shuei { grid-template-columns: 1fr; }
  .studio { grid-template-columns: 1fr; }
  .studio__photo { justify-self: start; max-width: 380px; }
  .contact__card { grid-template-columns: 1fr; }
  .row { grid-template-columns: 48px minmax(0, 1fr); }
  .row__desc { grid-column: 2; }
  .row__arrow { display: none; }
}

@media (max-width: 720px) {
  .hero__meta { display: none; }
  .hero__title { font-size: clamp(40px, 11.6vw, 64px); letter-spacing: -.04em; line-height: 1.02; }
  .hero__ctas { display: grid; grid-template-columns: 1fr; }
  .hero__ctas .btn { width: 100%; }

  /* fluxo vira linha do tempo vertical */
  .flow__nodes { grid-template-columns: 1fr; gap: 12px; padding-left: 30px; }
  .flow__track { left: 7px; right: auto; top: calc(100% / 6); bottom: calc(100% / 6); width: 1px; height: auto; }
  .flow__dot { top: 0; left: 50%; animation-name: flowY; }
  .flow__node { justify-self: stretch; }
  .flow__node::before { content: ''; position: absolute; left: -27px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line-2); }
  .flow__cap { text-align: left; padding-left: 30px; line-height: 1.7; }

  .stats { grid-template-columns: 1fr; }
  .stat { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 16px; padding: 20px 0; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat dd { order: -1; font-size: 40px; }
  .stat dt { font-size: 9.5px; }

  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts > div { padding: 16px 10px 0 12px; }
  .facts dd { font-size: 10.5px; letter-spacing: .06em; line-height: 1.45; }

  .chapter { padding-block: 56px 64px; }
  .chapter__n { font-size: 48px; margin-bottom: 16px; }
  .phone { width: min(244px, 62vw); --r: 38px; padding: 9px; }
  .phone::before { top: 15px; height: 18px; }

  .browser { border-radius: 12px; }
  .browser__view { aspect-ratio: 16 / 10; }
  .browser__bar { padding: 10px 12px; }
  .browser__cap { flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px; }
  .progress { width: 100%; }
  .progress button { flex: 1; width: auto; }

  .duo { width: 100%; justify-content: flex-start; padding: 0 0 36px; }
  .duo .phone { width: min(216px, 56vw); }
  .card-shot { width: 54%; bottom: 0; }

  .shuei { padding-block: 88px 96px; }
  .shuei__media { padding: 0 16px 56px 0; }
  .phone--sm { width: 30%; --r: 22px; padding: 5px; }
  .phone--sm::before { top: 9px; height: 9px; }

  .portrait::before { inset: 14px -14px -14px 14px; }
  .portrait__cap { margin-top: 30px; }
  .studio__photo { max-width: calc(100% - 14px); }

  .row { padding: 28px 0; gap: 10px 16px; grid-template-columns: 36px minmax(0, 1fr); }
  .row__title { font-size: 24px; }
  .row:hover .row__title { transform: none; }

  .contact { padding-inline: 12px; }
  .contact__card { border-radius: 22px; padding: 40px 22px 36px; }
  .contact__card .btn, .form .btn { width: 100%; }

  .sign__word { font-size: clamp(30px, 10.4vw, 56px); }
  .foot__bar { flex-direction: column; }
}

@media (max-width: 360px) {
  .brand__tag { display: none; }
  .stat { grid-template-columns: 76px minmax(0, 1fr); }
  .stat dd { font-size: 34px; }
}

@media (hover: none) {
  .phone:hover { transform: none; }
  .phone--tilt-l { transform: rotate(-2deg); }
  .phone--tilt-r { transform: rotate(2deg); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero__title .w > span { transform: none; }
  .flow__dot { display: none; }
}
