/* ============ Elói Savedra · protótipo da Home ============ */
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-grotesque-latin-standard-normal.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  color-scheme: dark;
  --ink: #0a0b0d;
  --on-lime: #000;
  --graphite: #16181d;
  --graphite-2: #1f2229;
  --line: rgba(242, 241, 234, .12);
  --paper: #f2f1ea;
  --muted: #9b9ea6;
  --cobalt: #d4ff3a;
  --cobalt-l: #d4ff3a;
  --display: "Bricolage", "Arial Narrow", system-ui, sans-serif;
  --accent-display: "Bricolage", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --body: "Manrope", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font-family: var(--body); font-size: clamp(16px, 1.05vw, 18px); line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--accent-display); font-style: oblique; font-weight: 800; letter-spacing: -.035em; color: var(--cobalt-l); }
:is(h1, h2, h3) em { font-size: .94em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: var(--body); font-weight: 650; line-height: 1.02; letter-spacing: -.055em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--cobalt-l); outline-offset: 4px; border-radius: 6px; }
::selection { background: var(--cobalt); color: var(--ink); }

.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 16px; }

.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: .7em; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.hero__eyebrow::before { display: none; }
.hero__eyebrow { align-self: flex-start; color: var(--paper); padding: 8px 14px; border-radius: 999px; background: rgba(13,14,17,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cobalt-l); box-shadow: 0 0 0 4px rgba(212,255,58,.2); }
.h2 { font-size: clamp(2.6rem, 7vw, 7.2rem); }
.h2 em { font-size: .94em; }

/* ---------- botões ---------- */
.btn {
  --btn-bg: #d4fd40;
  --btn-fg: var(--on-lime);
  --btn-hover: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  box-sizing: border-box; max-width: 100%; min-height: 3.03125rem; padding: .8125em 1.45em;
  border: 1px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); cursor: pointer;
  font: 700 .98rem/1.25 var(--body); text-align: center; text-decoration: none;
  overflow-wrap: anywhere; transition: background-color .25s;
}
.btn:is(:hover, :focus-visible) { background-color: var(--btn-hover); }
.btn:focus-visible { outline: 2px solid var(--btn-focus, var(--cobalt)); outline-offset: 4px; border-radius: 999px; }
.btn > :is(i, svg, [aria-hidden="true"]) { flex: none; }
.btn svg { width: 1em; height: 1em; }
.btn--paper { --btn-bg: var(--paper); --btn-hover: #fff; }
.btn--ink {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-hover: #fff; --btn-focus: var(--ink);
}
.btn--ink { transition: none; }
.btn--ink:is(:hover, :focus-visible) { --btn-fg: var(--ink); }
.cta__btn {
  position: relative; display: grid; place-items: center;
  width: clamp(180px, 20vw, 240px); aspect-ratio: 1; padding: 28px;
  border-radius: 50%; font-weight: 800; text-wrap: balance; transition: none;
}
.cta__btn:focus-visible { border-radius: 50%; }
.cta__btn > b { position: absolute; top: 24%; right: 22%; }
.cta__btn svg { width: 1.25em; height: 1.25em; }
.btn--sm { min-height: 44px; padding: .72em 1.15em; font-size: .9375rem; }
.ctaband, .final { --btn-focus: var(--ink); }
:is(.ctaband, .final) .btn--paper { border-color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* ---------- cursor ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  html.js:not(.reduce) .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 140; }
  html.js:not(.reduce) body, html.js:not(.reduce) a { cursor: none; }
  /* 28/11/2026: popups (dialog) vão para a camada superior do navegador, acima de qualquer z-index.
     O cursor também vira popover (camada superior) e é reaberto sempre que um popup abre; dentro do popup tudo usa o cursor personalizado. */
  html.js:not(.reduce) .cursor[popover] { inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; overflow: visible; }
  html.js:not(.reduce) dialog, html.js:not(.reduce) dialog * { cursor: none; }
  /* se o navegador não tiver popover, o cursor do sistema aparece dentro dos popups */
  html.js:not(.reduce).no-popover dialog, html.js:not(.reduce).no-popover dialog * { cursor: auto; }
  html.js:not(.reduce).no-popover dialog button, html.js:not(.reduce).no-popover dialog a { cursor: pointer; }
}
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__dot { width: 6px; height: 6px; background: var(--paper); mix-blend-mode: difference; }
.cursor__ring { width: 38px; height: 38px; border: 1px solid rgba(242,241,234,.5); display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), background .3s, border-color .3s; }
.cursor__label { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--on-lime); opacity: 0; transition: opacity .2s; }
.cursor.is-link .cursor__ring { width: 64px; height: 64px; border-color: transparent; background: rgba(212,255,58,.18); }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; background: var(--cobalt); border-color: var(--cobalt); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }

.grain { position: fixed; inset: -50%; z-index: 130; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- header ---------- */
.header { position: fixed; z-index: 100; inset: 0 0 auto; display: flex; align-items: center; gap: 24px; padding: 18px var(--gutter); transition: background .4s, backdrop-filter .4s; }
.header.is-solid { background: rgba(13,14,17,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand svg { height: 22px; width: auto; }
.brand__mark { fill: var(--cobalt-l); }
.brand__word { fill: var(--paper); }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: .92rem; font-weight: 600; }
.nav a { position: relative; opacity: .8; transition: opacity .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 760px) { .nav { display: none; } .header .btn { margin-left: auto; } .header .btn { font-size: .78rem; padding: .75em 1em; } }
@media (max-width: 400px) { .header .btn span { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; }
.hero__media { position: absolute; inset: 0; overflow: hidden; will-change: clip-path; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(13,14,17,.55) 0%, rgba(13,14,17,.05) 30%, rgba(13,14,17,.35) 60%, rgba(13,14,17,.92) 100%),
  radial-gradient(80% 60% at 10% 100%, rgba(212,255,58,.28), transparent 70%); }
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--gutter) clamp(28px, 6vh, 64px); }
.hero__title { font-size: clamp(2.7rem, 7.4vw, 8.4rem); max-width: 14ch; margin: 18px 0 clamp(24px, 4vh, 44px); font-weight: 600; text-wrap: balance; }
.hero__title em { font-size: 1.06em; color: #fff; position: relative; }
.hero__title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .07em; background: var(--cobalt); transform-origin: left; transform: scaleX(var(--line, 1)); }
.hero__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.hero__lead { max-width: 46ch; color: rgba(242,241,234,.82); font-size: clamp(1rem, 1.2vw, 1.15rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__search { position: absolute; z-index: 2; right: var(--gutter); top: 16vh; display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px; background: rgba(242,241,234,.12); border: 1px solid rgba(242,241,234,.22); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font-size: .95rem; }
.hero__search-icon { font-size: 1.2rem; color: var(--cobalt-l); }
.caret { width: 1.5px; height: 1.1em; background: var(--paper); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__scroll { position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(28px, 6vh, 64px); display: none; }
@media (min-width: 1100px) { .hero__scroll { display: grid; justify-items: center; gap: 10px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
  .hero__scroll i { width: 1px; height: 54px; background: linear-gradient(var(--paper), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; } }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 760px) { .hero__search { top: 92px; left: var(--gutter); right: auto; font-size: .85rem; } }

/* ---------- manifesto ---------- */
.manifesto { padding: clamp(110px, 20vh, 220px) var(--gutter); max-width: 1500px; }
.manifesto__text { margin-top: 32px; font-size: clamp(2rem, 4.6vw, 4.6rem); line-height: 1.08; font-weight: 500; letter-spacing: -.01em; }
.pill { display: inline-block; vertical-align: middle; width: 2.2em; height: .9em; border-radius: 999px; overflow: hidden; margin: 0 .08em; transform: translateY(-.06em); }
.pill img { width: 100%; height: 100%; object-fit: cover; }
.pill--cobalt { background: var(--cobalt); color: var(--on-lime); font-size: .75em; width: 1.6em; height: 1.1em; text-align: center; line-height: 1.1em; }

/* ---------- jornada ---------- */
.journey { position: relative; padding: clamp(60px, 10vh, 120px) 0; background: var(--graphite); border-radius: var(--radius) var(--radius) 0 0; }
.journey__head { padding: 0 var(--gutter); display: grid; gap: 18px; }
.journey__bar { height: 2px; background: var(--line); margin-top: 18px; overflow: hidden; }
.journey__bar i { display: block; height: 100%; background: var(--cobalt-l); transform-origin: left; transform: scaleX(.02); }
.journey__track { display: grid; gap: 64px; padding: 56px var(--gutter) 0; }
.step { display: grid; gap: 32px; align-items: center; }
.step__n { font-family: var(--display); color: var(--cobalt-l); font-size: 1rem; font-weight: 600; }
.step h3 { font-size: clamp(3rem, 7vw, 6.4rem); margin: 10px 0 18px; }
.step p { color: rgba(242,241,234,.75); max-width: 42ch; }
.step__visual { display: grid; place-items: center; min-height: 380px; border-radius: var(--radius); background: radial-gradient(70% 70% at 50% 40%, rgba(212,255,58,.22), transparent 70%), var(--graphite-2); border: 1px solid var(--line); padding: 28px; overflow: hidden; }
@media (min-width: 1000px) {
  html.js:not(.reduce) .journey { height: 100vh; padding: 0; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  html.js:not(.reduce) .journey__track { display: flex; gap: 0; padding: 40px 0 0; width: max-content; }
  html.js:not(.reduce) .step { width: 100vw; padding: 0 var(--gutter); grid-template-columns: .9fr 1.1fr; gap: 6vw; }
  html.js:not(.reduce) .step__visual { min-height: 54vh; }
  html.js:not(.reduce) .journey__head { grid-template-columns: auto 1fr; align-items: end; column-gap: 48px; }
  html.js:not(.reduce) .journey__head .eyebrow { grid-column: 1 / -1; }
  html.js:not(.reduce) .journey__head .h2 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); }
}
@media (min-width: 1000px) { .step { grid-template-columns: .9fr 1.1fr; } }

.gsearch { width: min(520px, 100%); display: grid; gap: 14px; }
.gsearch__bar { display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 600; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.gsearch__bar .caret { background: var(--ink); }
.gsearch__result { padding: 18px 22px; border-radius: 16px; background: rgba(242,241,234,.06); border: 1px solid var(--line); }
.gsearch__result small { color: var(--muted); font-size: .78rem; }
.gsearch__result strong { display: block; color: var(--cobalt-l); font-size: 1.15rem; margin: 4px 0; font-family: var(--display); font-weight: 600; }
.gsearch__result p { font-size: .9rem; color: rgba(242,241,234,.7); }
.gsearch__result:first-of-type { border-color: rgba(212,255,58,.5); box-shadow: 0 0 0 4px rgba(212,255,58,.12); }
.gsearch__result--dim { opacity: .35; }

.phone { width: 240px; aspect-ratio: 9 / 19; border-radius: 38px; padding: 10px; background: #050608; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 40px 80px rgba(0,0,0,.5); }
.phone__screen { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; position: relative; background: var(--paper); }
.phone__screen video, .phone__screen img { width: 100%; height: 100%; object-fit: cover; }
.phone--ui .phone__screen { padding: 22px 16px; display: grid; align-content: start; gap: 14px; color: var(--ink); }
.ui__nav { display: flex; justify-content: space-between; align-items: center; font-family: var(--display); }
.ui__nav i { width: 22px; height: 10px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.ui__hero { display: grid; font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: .95; letter-spacing: -.01em; margin-top: 18px; }
.ui__hero span:last-child { color: var(--cobalt); }
.ui__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ui__chips i { font-style: normal; font-size: .68rem; font-weight: 700; padding: 5px 9px; border-radius: 999px; background: rgba(13,14,17,.08); }
.ui__card { height: 78px; border-radius: 14px; background: linear-gradient(135deg, #c9d2ff, #e9e7dd); }
.ui__card--b { height: 54px; background: linear-gradient(135deg, #e9e7dd, #d8dcef); }
.ui__cta { margin-top: 6px; padding: 12px; border-radius: 999px; background: var(--cobalt); color: var(--on-lime); text-align: center; font-weight: 700; font-size: .85rem; }

.chat { width: min(420px, 100%); border-radius: 22px; background: #0b141a; padding: 0 0 18px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.5); border: 1px solid var(--line); }
.chat__head { display: flex; gap: 12px; align-items: center; padding: 14px 18px; background: #1f2c34; }
.chat__head i { width: 36px; height: 36px; border-radius: 50%; background: var(--cobalt); }
.chat__head small { display: block; color: #8ab; font-size: .75rem; }
.chat__msg { margin: 16px 18px 0 auto; max-width: 80%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: #005c4b; font-size: .95rem; }
.chat__msg small { display: block; text-align: right; font-size: .7rem; opacity: .7; margin-top: 4px; }
.chat__msg--in { margin: 12px auto 0 18px; border-radius: 14px 14px 14px 4px; background: #1f2c34; }
.chat__typing { display: inline-flex; gap: 4px; margin: 12px 0 0 18px; padding: 12px 14px; border-radius: 14px; background: #1f2c34; }
.chat__typing i { width: 6px; height: 6px; border-radius: 50%; background: #8ab; animation: bob 1.2s infinite; }
.chat__typing i:nth-child(2) { animation-delay: .15s; } .chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bob { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-5px); } }

/* ---------- projetos ---------- */
.work { padding: clamp(100px, 16vh, 180px) 0 clamp(60px, 10vh, 120px); background: var(--ink); }
.work__intro { padding: 0 var(--gutter); display: grid; gap: 22px; margin-bottom: clamp(40px, 8vh, 90px); }
.work__title { max-width: 12ch; }
.work__lead { color: var(--muted); max-width: 40ch; }
.case { position: relative; display: grid; gap: 32px; padding: 40px var(--gutter); align-items: center; overflow: hidden; }
.case::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 75% 50%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 70%); opacity: 1; pointer-events: none; }
.case__index { position: absolute; right: var(--gutter); top: 0; font-family: var(--display); font-weight: 800; font-size: clamp(8rem, 26vw, 26rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(242,241,234,.1); pointer-events: none; }
.case__info { position: relative; display: grid; gap: 16px; align-content: center; }
.case__meta { color: var(--accent); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; filter: brightness(1.25); }
.case__name { font-size: clamp(2.4rem, 4.8vw, 4.8rem); }
.case__text { color: rgba(242,241,234,.78); max-width: 44ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 4px 0; }
.tags li { font-size: .78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: rgba(242,241,234,.8); }
.link { justify-self: start; }
.case__stage { position: relative; perspective: 1400px; }
.browser { border-radius: 16px; overflow: hidden; background: #08090b; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 60px 120px rgba(0,0,0,.55); transform-origin: 50% 0; }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #1b1d23; }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3d46; }
.browser__bar span { margin-left: 14px; flex: 1; max-width: 340px; padding: 5px 14px; border-radius: 999px; background: #0f1014; font-size: .75rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser__screen { height: min(62vh, 640px); overflow: hidden; }
.browser__page img { width: 100%; height: auto; }
html.reduce .browser__screen, html:not(.js) .browser__screen { overflow-y: auto; }
@media (min-width: 1000px) {
  .case { grid-template-columns: .78fr 1.22fr; gap: 5vw; min-height: 100vh; }
  html.js:not(.reduce) .case { height: 100vh; padding-top: 90px; }
  .browser__screen { height: min(66vh, 700px); }
}
.work__more { padding: 40px var(--gutter) 0; }

/* ---------- telas ---------- */
.screens { position: relative; padding: clamp(80px, 14vh, 160px) var(--gutter); display: grid; gap: 40px; overflow: hidden; background: var(--graphite); }
.screens__copy { display: grid; gap: 18px; max-width: 760px; }
.screens__copy p:last-child { color: rgba(242,241,234,.75); max-width: 46ch; }
.screens__stage { position: relative; height: clamp(320px, 58vw, 720px); max-width: 1200px; width: 100%; margin: 0 auto; }
.dev { position: absolute; margin: 0; border-radius: 14px; overflow: hidden; background: #050608; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 40px 90px rgba(0,0,0,.6); }
.dev img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dev--desktop { left: 8%; top: 4%; width: 74%; aspect-ratio: 1100 / 688; padding: 10px; }
.dev--desktop img { border-radius: 6px; }
.dev--tablet { left: 0; bottom: 0; width: 26%; aspect-ratio: 640 / 783; padding: 9px; border-radius: 22px; }
.dev--tablet img { border-radius: 14px; }
.dev--phone { right: 2%; bottom: 0; width: 17%; aspect-ratio: 380 / 760; padding: 7px; border-radius: 28px; }
.dev--phone img { border-radius: 22px; }

/* ---------- faixa ---------- */
.marquee { padding: clamp(40px, 8vh, 90px) 0; overflow: hidden; background: var(--ink); display: grid; gap: 6px; }
.marquee__row { display: flex; width: max-content; font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 8vw, 8rem); letter-spacing: -.015em; line-height: 1.05; white-space: nowrap; }
.marquee__row span { padding-right: .3em; }
.marquee__row i { font-style: normal; color: var(--cobalt-l); font-size: .5em; vertical-align: middle; }
.marquee__row--alt { color: transparent; -webkit-text-stroke: 1px rgba(242,241,234,.4); font-weight: 600; }
.marquee__row--alt em { -webkit-text-stroke: 0; color: var(--cobalt-l); }

/* ---------- pilares ---------- */
.pillars { padding: clamp(80px, 14vh, 160px) var(--gutter); background: var(--ink); }
.pillars__head { display: grid; gap: 18px; margin-bottom: 56px; }
.pillars__stack { display: grid; gap: 20px; }
.pcard { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 20px 32px; align-items: start; padding: clamp(28px, 4vw, 56px); border-radius: var(--radius); background: var(--graphite-2); border: 1px solid var(--line); overflow: hidden; transform-origin: 50% 0; }
.pcard:nth-child(2) { background: #1c2012; } .pcard:nth-child(3) { background: #20294d; } .pcard:nth-child(4) { background: var(--cobalt); }
.pcard__n { font-family: var(--display); font-weight: 300; font-size: clamp(3rem, 7vw, 7rem); line-height: .8; color: var(--cobalt-l); }
.pcard:nth-child(4) .pcard__n { color: #fff; }
.pcard h3 { font-size: clamp(2rem, 4vw, 3.8rem); margin-bottom: 14px; }
.pcard p { max-width: 40ch; color: rgba(242,241,234,.8); }
.pcard__art { grid-column: 1 / -1; width: min(260px, 60%); justify-self: end; fill: none; stroke: rgba(242,241,234,.55); stroke-width: 2.5; stroke-linecap: round; }
@media (min-width: 900px) {
  .pcard { grid-template-columns: auto 1fr auto; min-height: 52vh; align-items: center; }
  .pcard__art { grid-column: auto; width: 240px; }
}

/* ---------- serviços ---------- */
.services { position: relative; padding: clamp(80px, 14vh, 160px) var(--gutter); background: var(--graphite); border-radius: var(--radius) var(--radius) 0 0; }
.services__head { display: grid; gap: 18px; max-width: 900px; }
.services__head p:last-child { color: rgba(242,241,234,.75); max-width: 46ch; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 4vw, 64px); margin: clamp(48px, 10vh, 110px) auto; max-width: 820px; }
.duo__item { margin: 0; display: grid; justify-items: center; gap: 22px; text-align: center; }
.duo__item--b { margin-top: clamp(40px, 12vh, 140px); }
.duo .phone { width: min(280px, 100%); }
.duo figcaption { max-width: 30ch; font-size: .92rem; color: rgba(242,241,234,.72); }
.duo figcaption b { display: block; font-family: var(--display); font-size: 1.5rem; color: var(--paper); margin-bottom: 6px; letter-spacing: -.005em; }
.slist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.slist li { border-bottom: 1px solid var(--line); }
.slist a { position: relative; display: grid; grid-template-columns: 3.2em 1fr auto; align-items: center; gap: 16px; padding: clamp(18px, 3vh, 30px) 0; transition: padding .4s var(--ease), color .3s; }
.slist__n { color: var(--muted); font-size: .85rem; font-weight: 700; }
.slist__t { font-family: var(--display); font-size: clamp(1.5rem, 3.6vw, 3.4rem); font-weight: 600; letter-spacing: -.01em; line-height: 1; }
.slist__a { font-size: 1.6rem; color: var(--cobalt-l); transition: transform .4s var(--ease); }
.slist a:hover { padding-left: 18px; color: var(--cobalt-l); }
.slist a:hover .slist__a { transform: rotate(45deg); }
.preview { position: fixed; left: 0; top: 0; z-index: 90; width: 300px; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.6); }
.preview img { width: 100%; height: 100%; object-fit: cover; }
@media (pointer: coarse), (max-width: 900px) { .preview { display: none; } }

/* ---------- sobre ---------- */
.about { display: grid; gap: 48px; padding: clamp(80px, 14vh, 160px) var(--gutter); background: var(--graphite); align-items: center; }
.about__photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; max-width: 520px; }
.about__photo img { width: 100%; height: 120%; object-fit: cover; }
.about__copy { display: grid; gap: 22px; max-width: 640px; }
.about__big { font-family: var(--display); font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.1; letter-spacing: -.005em; }
.about__copy p:not(.eyebrow):not(.about__big):not(.about__sig) { color: rgba(242,241,234,.75); }
.about__sig { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt-l); font-weight: 700; }
@media (min-width: 900px) { .about { grid-template-columns: .9fr 1.1fr; gap: 6vw; } }

/* ---------- contato ---------- */
.cta { position: relative; min-height: 100vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 28px; padding: 120px var(--gutter); background: var(--cobalt); color: var(--ink); overflow: hidden; }
.cta__title { font-size: clamp(3.2rem, 11vw, 12rem); max-width: 10ch; }
.cta__title em { color: #fff; }
.cta > p { font-size: clamp(1.05rem, 1.4vw, 1.3rem); max-width: 36ch; opacity: .9; }

/* ---------- rodapé ---------- */
.footer { display: grid; gap: 28px; padding: 64px var(--gutter) 40px; background: var(--ink); color: var(--muted); font-size: .9rem; }
.footer__brand { width: min(100%, 1400px); height: auto; }
.footer nav { display: flex; flex-wrap: wrap; gap: 24px; color: var(--paper); font-weight: 600; }
@media (min-width: 900px) { .footer { grid-template-columns: 1fr auto auto; align-items: end; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* telas: duas colunas no desktop para caber no quadro fixado */
@media (min-width: 1000px) {
  .screens { grid-template-columns: minmax(300px, .62fr) 1.38fr; align-items: center; min-height: 100vh; gap: 4vw; }
  .screens__stage { height: min(66vh, 44vw); }
}

/* máscaras do SplitText: folga para não cortar descendentes, acentos e o itálico */
:is(h1, h2, h3, p, [data-split]) [style*="overflow: clip"] { padding: .16em .14em .24em; margin: -.16em -.14em -.24em; }

/* símbolo da marca como separador */
svg.lg { display: inline-block; width: .56em; height: .85em; fill: currentColor; vertical-align: -.08em; }

/* ---------- botão flutuante do WhatsApp ---------- */
:root {
  --floating-edge: clamp(16px, 2.4vw, 32px);
  --whatsapp-diameter: 68px;
  --top-diameter: 46px;
}
.scroll-cue {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  translate: -50% 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 30px;
  border-radius: 999px;
  background: rgba(13, 14, 17, .8);
  color: var(--paper);
  pointer-events: none;
}
.scroll-cue[hidden], body:has(dialog[open], .menu:not([hidden])) .scroll-cue { display: none; }
html.has-scroll-cue :is(.stage__hint, .pz-hint) { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue svg { animation: scroll-cue-sway 1.25s ease-in-out 3; }
}
@keyframes scroll-cue-sway { 50% { transform: translateY(4px); } }
@media print { .scroll-cue { display: none; } }

.back-top {
  position: fixed;
  z-index: 110;
  right: calc(var(--floating-edge) + (var(--whatsapp-diameter) - var(--top-diameter)) / 2);
  bottom: calc(var(--floating-edge) + var(--whatsapp-diameter) + 14px);
  display: grid;
  place-items: center;
  width: var(--top-diameter);
  height: var(--top-diameter);
  padding: 0;
  border: 1px solid rgba(242, 241, 234, .34);
  border-radius: 50%;
  background: rgba(25, 28, 35, .76);
  color: var(--paper);
  box-shadow: inset 0 1px rgba(255, 255, 255, .12), 0 8px 22px rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  cursor: pointer;
}
.back-top[hidden] { display: none; }
.back-top svg { width: 22px; height: 22px; }
.back-top:hover { border-color: var(--lime, var(--cobalt)); }
.back-top:focus-visible { outline: 2px solid var(--lime, var(--cobalt)); outline-offset: 3px; }
.waf { position: fixed; z-index: 110; right: var(--floating-edge); bottom: var(--floating-edge); display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); -webkit-tap-highlight-color: transparent; }
.waf__btn { position: relative; width: var(--whatsapp-diameter); height: var(--whatsapp-diameter); flex: none; border-radius: 50%; display: block; transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.waf__photo { position: relative; z-index: 2; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #1b1d22; border: 3px solid var(--cobalt-l); box-shadow: 0 0 0 2px var(--ink), 0 14px 34px rgba(0,0,0,.45); }
.waf__on { position: absolute; z-index: 3; right: 3px; top: 3px; width: 13px; height: 13px; border-radius: 50%; background: #25d366; border: 2px solid var(--ink); }
.waf__ico { position: absolute; z-index: 3; right: -6px; bottom: -4px; width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: #25d366; fill: #fff; border: 2px solid var(--ink); }
.waf__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--cobalt-l); opacity: 0; }
.waf__bubble { position: relative; display: inline-flex; align-items: center; min-height: 32px; padding: 6px 12px; border-radius: 16px 16px 5px 16px; background: var(--paper); font-weight: 600; font-size: .8rem; white-space: nowrap; box-shadow: 0 0 0 1px rgba(14,15,18,.12), 0 14px 30px rgba(0,0,0,.35); transform-origin: 100% 100%; }
.waf__bubble::after { content: ""; position: absolute; right: -4px; bottom: 5px; border: 5px solid transparent; border-left-color: var(--paper); border-right: 0; }
.waf__dots { display: none; gap: 4px; }
.waf__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); opacity: .35; animation: wafDot 1s infinite; }
.waf__dots i:nth-child(2) { animation-delay: .15s; } .waf__dots i:nth-child(3) { animation-delay: .3s; }
.waf__text { display: inline-block; }
.waf.is-typing .waf__dots { display: inline-flex; } .waf.is-typing .waf__text { display: none; }
html.js:not(.reduce) .waf { opacity: 0; transform: translateY(30px) scale(.6); transition: opacity .6s, transform .8s cubic-bezier(.34,1.56,.64,1); }
html.js:not(.reduce) .waf.is-in { opacity: 1; transform: none; }
html.js:not(.reduce) .waf__bubble { opacity: 0; transform: translateX(14px) scale(.4) rotate(6deg); filter: blur(4px); transition: opacity .35s, transform .55s cubic-bezier(.34,1.56,.64,1), filter .35s; pointer-events: none; }
html.js:not(.reduce) .waf.is-talk .waf__bubble { opacity: 1; transform: none; filter: none; }
html.js:not(.reduce) .waf__ring { animation: wafRing 2.6s cubic-bezier(.2,.6,.3,1) infinite; }
html.js:not(.reduce) .waf__ring--2 { animation-delay: 1.3s; }
html.js:not(.reduce) .waf.is-talk .waf__btn { animation: wafWiggle .7s ease; }
.waf:hover .waf__btn, .waf:focus-visible .waf__btn { transform: scale(1.1) rotate(-6deg); }
.waf:focus-visible { outline: none; } .waf:focus-visible .waf__photo { outline: 3px solid var(--paper); outline-offset: 3px; }
.waf__char { display: inline-block; opacity: 0; transform: translateY(.5em); animation: wafChar .4s cubic-bezier(.34,1.56,.64,1) forwards; }
@keyframes wafRing { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes wafDot { 0%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes wafWiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-10deg); } 50% { transform: rotate(8deg); } 75% { transform: rotate(-4deg); } }
@keyframes wafChar { to { opacity: 1; transform: none; } }
@media (max-width: 640px) { :root { --whatsapp-diameter: 58px; --top-diameter: 44px; } .waf__bubble { font-size: .75rem; min-height: 28px; padding: 5px 10px; } .waf__ico { width: 26px; height: 26px; padding: 5px; } }
@media print { .waf, .back-top { display: none; } }
/* impede rolagem lateral no celular (faixas e trilhos largos) */
html { overflow-x: hidden; }
html.js:not(.reduce) .waf:not(.is-in) { pointer-events: none; }
html.js.reduce .waf:not(.is-in) { display: none; }

/* cursor sobre fundo claro */
.cursor.is-light .cursor__dot { background: #3a3d44; mix-blend-mode: normal; }
.cursor.is-light .cursor__ring { border-color: rgba(10,11,13,.55); }
.cursor.is-light.is-link .cursor__ring { background: rgba(10,11,13,.14); border-color: transparent; }
.cursor.is-light.is-label .cursor__ring { background: #2a2d33; border-color: #2a2d33; }
.cursor.is-light.is-label .cursor__label { color: var(--cobalt); }

.asset-picture { display: contents; }
/* lote 31: balão do WhatsApp menor, a noroeste do círculo (não cobre setas nem botões) */
.waf__bubble { position: absolute; right: calc(var(--whatsapp-diameter) * .62); bottom: calc(var(--whatsapp-diameter) * .92); min-height: 24px; padding: 4px 9px; border-radius: 12px 12px 4px 12px; font-size: .68rem; font-weight: 600; opacity: .96; box-shadow: 0 0 0 1px rgba(14,15,18,.1), 0 8px 18px rgba(0,0,0,.28); transform-origin: 100% 100%; pointer-events: none; }
.waf__bubble::after { right: 7px; bottom: -4px; border: 4px solid transparent; border-top-color: var(--paper); border-bottom: 0; border-left-color: transparent; }
.waf__dots i { width: 5px; height: 5px; }
@media (max-width: 640px) { .waf__bubble { font-size: .64rem; min-height: 22px; padding: 3px 8px; right: calc(var(--whatsapp-diameter) * .5); } }
