/* =====================================================================
   PIXEL FORGE · style.css
   Paleta oficial: Midnight #142431 · Forge Orange #F36B21 · Bronze #A66A43 · Mist #E9E9EC
   (+ tons derivados do Midnight para fundo e superfícies)
   ===================================================================== */

@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../assets/fonts/spacegrotesk-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 300 600; font-display: swap; src: url(../assets/fonts/sora-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* marca */
  --midnight: #142431;
  --orange: #F36B21;
  --bronze: #A66A43;
  --mist: #E9E9EC;
  /* derivados (tons do Midnight) */
  --bg: #0C1620;
  --bg-2: #101D29;
  --surface: #142431;
  --surface-2: #1A2D3C;
  --line: rgba(233, 233, 236, .12);
  --line-strong: rgba(233, 233, 236, .22);
  --text: var(--mist);
  --text-2: #AEB8C1;          /* 8.9:1 sobre --bg */
  --text-3: #8A97A3;          /* 5.9:1 sobre --bg (só textos auxiliares) */
  --on-orange: #0C1620;       /* 6.0:1 sobre laranja */
  --orange-soft: rgba(243, 107, 33, .14);

  --f-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Sora", ui-sans-serif, system-ui, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --sec-y: clamp(96px, 14vw, 200px);
  --radius: 14px;
  --radius-lg: 22px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-body); font-size: clamp(16px, 1.05vw, 17.5px); line-height: 1.65; font-weight: 300;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 500; line-height: 1.05; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
em { font-style: normal; color: var(--orange); }
::selection { background: var(--orange); color: var(--on-orange); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -100px; z-index: 100; background: var(--orange); color: var(--on-orange); padding: 12px 18px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- botões ---------- */
.btn {
  --pad: 18px 28px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: var(--pad); border-radius: 999px; border: 1px solid transparent;
  font: 500 15px/1 var(--f-display); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background-color .3s var(--ease-out), color .3s, border-color .3s, transform .3s var(--ease-out);
  overflow: hidden; isolation: isolate;
}
.btn .i { transition: transform .35s var(--ease-out); }
.btn:hover .i { transform: translateX(4px); }
.btn-primary { background: var(--orange); color: var(--on-orange); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--mist); }

/* Onda no hover (eco da onda do hero): duas ondas sobem, a de trás mais clara e adiantada */
.btn-primary { --wave-front: var(--mist); --wave-back: rgba(233, 233, 236, .45); }
.btn-ghost { --wave-front: rgba(243, 107, 33, .16); --wave-back: rgba(243, 107, 33, .1); }
.btn-primary::before, .btn-primary::after, .btn-ghost::before, .btn-ghost::after {
  content: ""; position: absolute; left: 0; right: 0; top: -12px; bottom: 0; z-index: -1; pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 12'%3E%3Cpath d='M0 6Q15 0 30 6T60 6V12H0Z'/%3E%3C/svg%3E") repeat-x 0 0 / 60px 12px, linear-gradient(#000, #000) 0 11px / 100% calc(100% - 11px) no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 12'%3E%3Cpath d='M0 6Q15 0 30 6T60 6V12H0Z'/%3E%3C/svg%3E") repeat-x 0 0 / 60px 12px, linear-gradient(#000, #000) 0 11px / 100% calc(100% - 11px) no-repeat;
  transform: translateY(calc(100% + 2px));
  transition: transform .75s var(--ease-out);
  animation: btn-wave 1.6s linear infinite;
}
.btn-primary::before, .btn-ghost::before { background: var(--wave-back); animation-direction: reverse; animation-duration: 2.3s; }
.btn-primary::after, .btn-ghost::after { background: var(--wave-front); transition-delay: .07s; }
.btn-primary:hover::before, .btn-ghost:hover::before { transform: translateY(-3px); transition-delay: 0s; }
.btn-primary:hover::after, .btn-ghost:hover::after { transform: translateY(0); }
@keyframes btn-wave { to { -webkit-mask-position: 60px 0, 0 11px; mask-position: 60px 0, 0 11px; } }
@media (prefers-reduced-motion: reduce) { .btn::before, .btn::after { animation: none !important; } }
.btn:active { transform: scale(.98); }
.btn-sm { --pad: 12px 20px; min-height: 44px; font-size: 14px; }
.btn-lg { --pad: 20px 32px; min-height: 56px; font-size: 16px; }

/* ---------- cabeçalho ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: transform .5s var(--ease-out), background-color .4s, border-color .4s; border-bottom: 1px solid transparent; }
.site-header.is-solid { background: rgba(12, 22, 32, .82); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.brand { display: block; margin-right: auto; padding: 6px 0; }
.brand img { width: 150px; height: auto; }
.nav ul { display: flex; gap: 6px; }
.nav a { display: block; padding: 10px 14px; border-radius: 999px; font: 400 14.5px/1 var(--f-display); color: var(--text-2); text-decoration: none; transition: color .25s, background-color .25s; }
.nav a:hover, .nav a.is-active { color: var(--text); background: rgba(233, 233, 236, .06); }
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; cursor: pointer; color: var(--text); }
.menu-icon { position: relative; display: block; width: 18px; height: 10px; margin: auto; }
.menu-icon i { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.menu-icon i:first-child { top: 0; } .menu-icon i:last-child { top: 8.5px; }
.menu-toggle[aria-expanded="true"] .menu-icon i:first-child { top: 4.25px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon i:last-child { top: 4.25px; transform: rotate(-45deg); }
.menu-mobile { position: fixed; inset: var(--header-h) 0 0; background: var(--bg); padding: 32px var(--gutter) calc(32px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.menu-mobile[hidden] { display: none; }
.menu-mobile ol a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font: 500 clamp(30px, 9vw, 44px)/1.1 var(--f-display); letter-spacing: -.02em; text-decoration: none; }
.menu-mobile ol span { font-size: 13px; color: var(--orange); letter-spacing: .1em; }
.menu-mobile .btn { margin-top: 32px; width: 100%; }

@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .brand img { width: 136px; }
}

/* ---------- títulos de seção ---------- */
.section { position: relative; padding-block: var(--sec-y); }
.sec-index { display: inline-flex; align-items: center; gap: 12px; font: 500 13px/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.sec-index span { position: relative; display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding-inline: 8px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--orange); letter-spacing: .06em; }
.sec-title { font-size: clamp(34px, 5.2vw, 76px); max-width: 17ch; }
.split-head { display: grid; gap: 28px; margin-bottom: clamp(48px, 7vw, 96px); }
@media (min-width: 1024px) {
  .split-head { grid-template-columns: 1fr 2.6fr; align-items: start; }
  .split-head .sec-index { margin-top: .9em; }
}
.ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ln > span { display: inline-block; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 500 13px/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); }
.px { width: 10px; height: 10px; background: var(--orange); box-shadow: 0 0 18px var(--orange); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font: 400 12.5px/1 var(--f-display); letter-spacing: .02em; color: var(--text-2); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding-top: calc(var(--header-h) + 32px); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; background: var(--bg) url(../assets/video/hero-poster-960.webp) center bottom / cover no-repeat; }
@media (min-width: 1024px) { .hero-media { background-image: url(../assets/video/hero-poster-1600.webp); } }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; opacity: 0; transition: opacity 1.6s var(--ease-out); }
.hero-video.is-playing { opacity: 1; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; opacity: .35; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 22, 32, .92) 0%, rgba(12, 22, 32, .55) 45%, rgba(12, 22, 32, .1) 75%), linear-gradient(180deg, rgba(12, 22, 32, .6) 0%, transparent 30%, transparent 70%, var(--bg) 100%); }
.hero-inner { display: grid; align-items: center; gap: 40px; padding-block: clamp(24px, 6vh, 80px); }
.hero-copy { position: relative; z-index: 2; }
.hero-title { margin-top: 28px; font-size: clamp(64px, 12.4vw, 196px); font-weight: 600; line-height: .9; letter-spacing: -.055em; }
.hero-title em { color: var(--orange); }
.hero-lead { margin-top: 32px; max-width: 34em; font-size: clamp(16px, 1.25vw, 19px); color: var(--text-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-symbol { position: relative; justify-self: end; width: min(34vw, 440px); }
.symbol { width: 100%; height: auto; overflow: visible; }
.symbol rect { transform-box: fill-box; transform-origin: center; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 32px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 22px; font: 400 14px/1 var(--f-display); color: var(--text-2); }
.hero-tags li { display: inline-flex; align-items: center; gap: 10px; }
.hero-tags li::before { content: ""; width: 6px; height: 6px; background: var(--orange); }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; font: 400 13px/1 var(--f-display); color: var(--text-2); text-decoration: none; padding: 12px 0; }
.scroll-cue i { position: relative; width: 1px; height: 44px; background: var(--line-strong); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--orange); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { to { top: 100%; } }

@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.5fr 1fr; }
}
@media (max-width: 1023px) {
  .hero-symbol { position: absolute; right: calc(var(--gutter) * -0.2); top: calc(var(--header-h) + 8px); width: min(38vw, 220px); opacity: .9; }
  .hero-inner { align-items: end; }
  .hero-shade { background: linear-gradient(180deg, rgba(12, 22, 32, .35) 0%, rgba(12, 22, 32, .55) 40%, rgba(12, 22, 32, .88) 70%, var(--bg) 100%); }
  .hero-copy { padding-top: min(44vw, 240px); }
}
@media (max-width: 600px) {
  .hero-foot .scroll-cue { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- onda de pixels (canvas, entre o hero e o "Quem somos") ---------- */
.pixel-wave { position: relative; height: clamp(170px, 17vw, 250px); background: var(--bg); overflow: hidden; }
.pixel-wave canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- brasas (canvas de fundo) ---------- */
.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.about > .wrap, .contact > .wrap { position: relative; z-index: 1; }

/* ---------- linha de pixels que acende (bordas de destaque) ---------- */
.px-line { position: relative; display: block; height: 4px; margin-bottom: 22px; }
.px-line::before, .px-line::after { content: ""; position: absolute; inset: 0;
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 4px, transparent 4px 8px); mask: repeating-linear-gradient(90deg, #000 0 4px, transparent 4px 8px); }
.px-line::before { background: var(--line-strong); }
.px-line::after { background: linear-gradient(90deg, var(--orange), var(--bronze) 70%, transparent); transform-origin: left; transform: scaleX(var(--heat, 1)); }
.motion .px-line { --heat: 0; }

/* ---------- 01 sobre ---------- */
.statement { margin-top: 40px; font: 500 clamp(28px, 4.4vw, 64px)/1.12 var(--f-display); letter-spacing: -.03em; max-width: 22ch; text-wrap: balance; }
.statement .w { transition: none; }
.about-cols { display: grid; gap: 28px; margin-top: clamp(48px, 7vw, 96px); max-width: 920px; margin-left: auto; color: var(--text-2); font-size: clamp(16px, 1.2vw, 18.5px); }
@media (min-width: 768px) { .about-cols { grid-template-columns: 1fr 1fr; gap: 48px; } }
.about-cols p { position: relative; }

/* ---------- 02 serviços ---------- */
.services { background: var(--bg-2); }
.service-list { display: grid; gap: 16px; }
@media (min-width: 900px) { .service-list { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.service {
  --mx: 50%; --my: 0%;
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: clamp(28px, 3vw, 40px); min-height: 420px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  transition: border-color .4s, transform .5s var(--ease-out);
}
.service::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx) var(--my), var(--orange-soft), transparent 60%); opacity: 0; transition: opacity .4s; }
.service:hover { border-color: rgba(243, 107, 33, .45); }
.service:hover::before { opacity: 1; }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; }
.service-num { font: 500 14px/1 var(--f-display); color: var(--text-3); letter-spacing: .1em; }
.pxicon { width: 80px; height: 64px; }
.pxi-frame rect { fill: var(--text-3); transition: fill .4s; }
.pxi-hot rect { fill: var(--bronze); transition: fill .3s; }
.service:hover .pxi-frame rect { fill: var(--mist); }
.service:hover .pxi-hot rect { fill: var(--orange); }
.service:hover .pxi-hot rect:nth-child(2) { transition-delay: .06s; } .service:hover .pxi-hot rect:nth-child(3) { transition-delay: .12s; }
.service:hover .pxi-hot rect:nth-child(4) { transition-delay: .18s; } .service:hover .pxi-hot rect:nth-child(5) { transition-delay: .24s; }
.service h3 { font-size: clamp(30px, 2.8vw, 40px); margin-top: 56px; }
@media (max-width: 899px) { .service { min-height: 0; } .service h3 { margin-top: 28px; } }
.service p { color: var(--text-2); }
.service .chips { margin-top: 8px; }

/* ---------- trabalhos ---------- */
.browser { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding-inline: 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.browser-bar span { margin-inline: auto; padding: 4px 14px; border-radius: 6px; background: rgba(0, 0, 0, .25); font: 400 11.5px/1 var(--f-display); color: var(--text-3); transform: translateX(-20px); }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.pixel-veil { position: absolute; inset: 34px 0 0; display: grid; pointer-events: none; }
.pixel-veil i { background: var(--surface); }

.feature { display: grid; gap: clamp(32px, 4vw, 64px); align-items: center; }
@media (min-width: 1024px) { .feature { grid-template-columns: 1.7fr 1fr; } }
.feature-media { position: relative; display: block; padding-right: 9%; padding-bottom: 6%; text-decoration: none; }
.feature-media .browser { transition: transform .8s var(--ease-out); }
.feature-media:hover .browser { transform: translateY(-6px); }
.phone { position: absolute; right: 0; bottom: 0; width: 25%; border-radius: 22px; padding: 6px; background: #05090D; border: 1px solid var(--line-strong); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); }
.phone img { border-radius: 16px; aspect-ratio: 390 / 844; object-fit: cover; }
.kicker { font: 500 13px/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.feature-info h3 { margin-top: 18px; font-size: clamp(40px, 4.6vw, 68px); }
.feature-info > p:not(.kicker) { margin-top: 20px; color: var(--text-2); }
.feature-info .chips { margin-top: 24px; }
.feature-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 36px; }
.link-ext { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 500 15px/1 var(--f-display); text-decoration: none; color: var(--text); border-bottom: 1px solid var(--line-strong); transition: border-color .3s, color .3s; }
.link-ext:hover { color: var(--orange); border-color: var(--orange); }

.concepts-head { display: grid; gap: 12px; margin-top: clamp(80px, 10vw, 140px); margin-bottom: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .concepts-head { grid-template-columns: 1fr 1.4fr; align-items: end; } }
.concepts-head h3 { font-size: clamp(26px, 2.6vw, 36px); }
.concepts-head p { color: var(--text-2); max-width: 52ch; }
.concepts { display: grid; gap: 32px 20px; }
@media (min-width: 760px) { .concepts { grid-template-columns: repeat(2, 1fr); } }

.concept .browser img { transition: transform 1.2s var(--ease-out); }
.concept:hover .browser img { transform: scale(1.04); }
.concept-info { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; margin-top: 18px; }
.concept-info h4 { font-size: 22px; }
.concept-info p { grid-column: 1 / -1; color: var(--text-2); font-size: 15px; }
.tag { justify-self: start; padding: 5px 10px; border-radius: 6px; background: rgba(166, 106, 67, .18); color: #E2B08E; font: 500 11.5px/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; }

/* ---------- 03 abordagem ---------- */
.approach { background: var(--bg-2); }
.approach-lead { font: 500 clamp(18px, 1.6vw, 22px)/1.3 var(--f-display); color: var(--text-2); margin-bottom: 32px; }
.pillars { display: grid; gap: 0; counter-reset: p; }
@media (min-width: 700px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar { position: relative; padding: 36px 28px 40px 0; border-top: 1px solid var(--line); }
@media (min-width: 1100px) { .pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--line); } }
.pillar-bar { position: absolute; left: 0; top: -2px; height: 4px; -webkit-mask: repeating-linear-gradient(90deg, #000 0 4px, transparent 4px 8px); mask: repeating-linear-gradient(90deg, #000 0 4px, transparent 4px 8px); width: 100%; background: linear-gradient(90deg, var(--orange), var(--bronze)); transform-origin: left; }
.pillar-n { font: 500 13px/1 var(--f-display); color: var(--orange); letter-spacing: .1em; }
.pillar h3 { margin-top: 48px; font-size: clamp(24px, 2vw, 30px); }
.pillar p { margin-top: 12px; color: var(--text-2); max-width: 26ch; }

/* ---------- 04 processo ---------- */
.process-grid { display: grid; gap: 56px; }
@media (min-width: 1024px) {
  .process-grid { grid-template-columns: 1fr 1.3fr; gap: 96px; }
  .process-aside { position: sticky; top: calc(var(--header-h) + 64px); align-self: start; }
}
.process-aside .sec-title { margin-top: 28px; }
.process-note { margin-top: 28px; color: var(--text-2); max-width: 34ch; }
.steps { position: relative; display: grid; gap: 0; }
.steps-line { position: absolute; left: 5px; top: 12px; bottom: 12px; width: 5px; -webkit-mask: repeating-linear-gradient(180deg, #000 0 5px, transparent 5px 10px); mask: repeating-linear-gradient(180deg, #000 0 5px, transparent 5px 10px); background: var(--line-strong); }
.steps-line span { position: absolute; inset: 0; background: linear-gradient(180deg, var(--orange), var(--bronze)); transform-origin: top; transform: scaleY(0); }
html:not(.motion) .steps-line span { transform: none; }
.step { position: relative; padding: 0 0 clamp(48px, 6vw, 80px) 56px; }
.step:last-child { padding-bottom: 0; }
.step-dot { position: absolute; left: 0; top: 8px; width: 15px; height: 15px; background: var(--bg); border: 1px solid var(--line-strong); transition: background-color .4s, border-color .4s, box-shadow .4s; }
.step.is-on .step-dot, html:not(.motion) .step-dot { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 22px rgba(243, 107, 33, .6); }
.step-n { font: 500 13px/1 var(--f-display); color: var(--text-3); letter-spacing: .1em; }
.step h3 { margin-top: 12px; font-size: clamp(34px, 4vw, 58px); transition: color .4s; color: var(--text-3); }
.step.is-on h3, html:not(.motion) .step h3 { color: var(--text); }
.step p { margin-top: 14px; color: var(--text-2); max-width: 40ch; }

/* ---------- 05 diferenciais ---------- */
.reasons { border-top: 1px solid var(--line); }
.reason { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: baseline; padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--line); isolation: isolate; }
.reason::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -0.5); z-index: -1; background: linear-gradient(90deg, var(--orange-soft), transparent 70%); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.reason:hover::before { transform: scaleX(1); }
.reason-n { font: 500 13px/1 var(--f-display); color: var(--orange); letter-spacing: .1em; }
.reason p { font: 500 clamp(22px, 3vw, 42px)/1.15 var(--f-display); letter-spacing: -.02em; transition: transform .6s var(--ease-out); }
.reason:hover p { transform: translateX(12px); }

.quote { position: relative; margin-top: clamp(80px, 10vw, 140px); padding: clamp(32px, 5vw, 72px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.quote::after { content: ""; position: absolute; right: -10%; bottom: -60%; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(243, 107, 33, .18), transparent); pointer-events: none; }
.quote-mark { width: 44px; height: 36px; fill: var(--orange); }
.quote blockquote { margin: 28px 0 0; }
.quote blockquote p { font: 400 clamp(22px, 2.6vw, 36px)/1.3 var(--f-display); letter-spacing: -.015em; max-width: 34ch; }
.quote figcaption { display: grid; gap: 4px; margin-top: 32px; }
.quote figcaption strong { font: 500 17px/1.2 var(--f-display); }
.quote figcaption span { color: var(--text-2); font-size: 14.5px; }

/* ---------- 06 contato ---------- */
.contact { overflow: hidden; isolation: isolate; }
.contact-glow { position: absolute; z-index: -1; left: 50%; top: 0; width: min(1200px, 140vw); aspect-ratio: 2 / 1; transform: translate(-50%, -35%); background: radial-gradient(closest-side, rgba(243, 107, 33, .16), transparent); pointer-events: none; }
.contact-title { margin-top: 28px; font-size: clamp(56px, 10.5vw, 168px); font-weight: 600; line-height: .92; letter-spacing: -.05em; }
.contact-lead { margin-top: 28px; max-width: 40em; color: var(--text-2); font-size: clamp(16px, 1.25vw, 19px); }
.contact-grid { display: grid; gap: 40px; margin-top: clamp(56px, 7vw, 96px); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.6fr 1fr; gap: 64px; } }

.form { padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 22px; }
.form-title { font-size: clamp(24px, 2.2vw, 30px); margin-bottom: 4px; }
.field-row { display: grid; gap: 22px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font: 500 14px/1.3 var(--f-display); color: var(--text); padding: 0; }
.field legend { margin-bottom: 8px; }
.opt { color: var(--text-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--bg); color: var(--text); font: 400 16px/1.4 var(--f-body); transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AEB8C1' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(233, 233, 236, .4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243, 107, 33, .25); }
.field [aria-invalid="true"] { border-color: #FF8A7A; }
.field-error { color: #FF9C8F; font-size: 14px; }
.field-help { color: var(--text-3); font-size: 14px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 46px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line-strong); font: 400 15px/1 var(--f-display); transition: background-color .25s, border-color .25s, color .25s; }
.choice:hover span { border-color: rgba(233, 233, 236, .45); }
.choice input:checked + span { background: var(--orange); border-color: var(--orange); color: var(--on-orange); font-weight: 500; }
.choice input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 3px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 6px; }
.form-privacy { font-size: 14px; color: var(--text-3); }
.form-status { font: 500 15px/1.4 var(--f-display); }
.form-status:empty { display: none; }
.form-status.ok { color: #7EE0A4; } .form-status.err { color: #FF9C8F; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.hp { position: absolute; left: -9999px; }

.direct h3 { font-size: clamp(22px, 2vw, 28px); }
.direct-list { margin-top: 20px; border-top: 1px solid var(--line); }
.direct-link { display: flex; align-items: center; gap: 16px; padding: 20px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: color .25s, padding .4s var(--ease-out); word-break: break-word; }
.direct-link .i { width: 26px; height: 26px; color: var(--orange); }
.direct-link span:not(.sr-only) { display: grid; gap: 4px; font: 500 17px/1.25 var(--f-display); }
.direct-link small { font: 400 13px/1 var(--f-body); color: var(--text-3); letter-spacing: .02em; }
.direct-link:hover { color: var(--orange); padding-left: 12px; }

/* ---------- rodapé ---------- */
.footer { border-top: 1px solid var(--line); padding-block: clamp(56px, 8vw, 96px) 32px; background: var(--bg-2); overflow: hidden; }
.footer-claim { font: 600 clamp(52px, 13.5vw, 220px)/.9 var(--f-display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px var(--line-strong); white-space: nowrap; margin-bottom: clamp(32px, 4vw, 56px);
  width: max-content; padding: 0 .04em .16em 0;
  background: linear-gradient(0deg, var(--orange) 0%, var(--bronze) 42%, rgba(166, 106, 67, 0) 50%) no-repeat; background-size: 100% 200%; background-position: 0 var(--melt, 100%); -webkit-background-clip: text; background-clip: text; }
.motion .footer-claim { --melt: 0%; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { width: 180px; }
.footer-brand p { margin-top: 16px; color: var(--text-2); max-width: 30ch; font-size: 15px; }
.footer-nav ul, .footer-contact { display: grid; gap: 4px; align-content: start; }
.footer a { text-decoration: none; color: var(--text-2); transition: color .25s; font-size: 15px; display: inline-block; padding: 8px 0; word-break: break-word; }
.footer a:hover { color: var(--orange); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 14px; }
.to-top { display: inline-flex !important; align-items: center; gap: 8px; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; display: grid; justify-items: end; gap: 12px; }
.wa-btn { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--orange); color: var(--on-orange); display: grid; place-items: center; cursor: pointer; box-shadow: 0 16px 40px -10px rgba(243, 107, 33, .6); transition: transform .4s var(--ease-out); }
.wa-btn .i { width: 28px; height: 28px; stroke-width: 1.7; }
.wa-btn:hover { transform: scale(1.06); }
.wa-pop { width: 260px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); display: grid; gap: 6px; }
.wa-pop[hidden] { display: none; }
.wa-pop p { font: 500 14px/1.3 var(--f-display); color: var(--text-2); margin-bottom: 6px; }
.wa-pop a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 10px 14px; border-radius: 10px; text-decoration: none; background: var(--bg); transition: background-color .25s; }
.wa-pop a:hover { background: var(--orange); color: var(--on-orange); }
.wa-pop a:hover span { color: inherit; }
.wa-pop b { font: 500 15px/1 var(--f-display); }
.wa-pop span { font-size: 13px; color: var(--text-2); }

/* ---------- estados iniciais das animações (só com .motion) ---------- */
.motion [data-reveal], .motion [data-hero="fade"], .motion [data-hero="eyebrow"] { opacity: 0; }
.motion .hero-title .ln > span, .motion [data-lines] .ln > span { transform: translateY(105%); }
.motion .symbol rect { opacity: 0; }
.motion .service, .motion .concept, .motion .pillar, .motion .reason, .motion .step, .motion .feature-info { opacity: 0; }
.motion .pillar-bar { transform: scaleX(0); }

/* ---------- página de case ---------- */
.case-hero { padding-top: calc(var(--header-h) + clamp(48px, 8vw, 120px)); padding-bottom: clamp(48px, 6vw, 80px); }
.back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 500 14px/1 var(--f-display); color: var(--text-2); text-decoration: none; }
.back:hover { color: var(--orange); }
.back .i { transform: rotate(180deg); }
.case-title { margin-top: 28px; font-size: clamp(56px, 10vw, 156px); font-weight: 600; line-height: .92; letter-spacing: -.05em; }
.case-sub { margin-top: 24px; max-width: 36em; font-size: clamp(17px, 1.4vw, 21px); color: var(--text-2); }
.case-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .case-meta { grid-template-columns: repeat(4, 1fr); } }
.case-meta div { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); }
.case-meta dt { font: 500 12.5px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.case-meta dd { margin: 10px 0 0; font: 500 17px/1.3 var(--f-display); }
.case-meta a { color: var(--orange); text-decoration: none; }
.case-cover { padding-bottom: var(--sec-y); }
.case-block { display: grid; gap: 24px; padding-block: clamp(56px, 8vw, 112px); }
.case-block > .px-line { grid-column: 1 / -1; margin: 0 0 clamp(16px, 3vw, 40px); }
.case-head .sec-index { margin-bottom: 22px; }
@media (min-width: 1024px) { .case-block { grid-template-columns: 1fr 2fr; gap: 64px; } }
.case-block h2 { font-size: clamp(30px, 3.6vw, 52px); }
.case-block .body { display: grid; gap: 20px; color: var(--text-2); font-size: clamp(16px, 1.2vw, 18.5px); max-width: 46em; }
.case-block .body strong { color: var(--text); font-weight: 500; }
.deliver { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 700px) { .deliver { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.deliver li { display: flex; gap: 14px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.deliver li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--orange); transform: translateY(-2px); }
.gallery { display: grid; gap: 20px; padding-bottom: var(--sec-y); }
@media (min-width: 900px) { .gallery-2 { grid-template-columns: 1fr 1fr; } }
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 2vw, 28px); align-items: start; max-width: 980px; margin-inline: auto; width: 100%; }
.phones .phone { position: relative; width: 100%; }
.phones .phone:nth-child(2) { margin-top: 12%; }
.scores { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .scores { grid-template-columns: repeat(4, 1fr); } }
.score { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.score b { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto; border-radius: 50%; border: 3px solid var(--orange); box-shadow: 0 0 28px rgba(243, 107, 33, .28), inset 0 0 18px rgba(243, 107, 33, .18); font: 600 30px/1 var(--f-display); color: var(--orange); font-variant-numeric: tabular-nums; }
.score span { display: block; margin-top: 14px; font: 400 14px/1.3 var(--f-display); color: var(--text-2); }
.case-note { margin-top: 14px; font-size: 14px; color: var(--text-3); }
.next { padding-block: var(--sec-y); text-align: center; border-top: 1px solid var(--line); }
.next .contact-title { margin-inline: auto; }
.next .hero-actions { justify-content: center; }
.case-kicker { margin-top: 40px; }
.case-media { padding-right: 7%; padding-bottom: 5%; }
.case-phone { width: 22%; }
.quote-flush { margin-top: 0; }
.page-404 { min-height: 100vh; display: grid; place-items: center; border: 0; }
.page-404 .contact-lead { margin-inline: auto; }

.motion .pxicon rect { opacity: 0; }
.pxicon rect { transform-box: fill-box; transform-origin: center; }
.sec-index span::after { content: ""; position: absolute; right: -3px; top: -3px; width: 5px; height: 5px; background: var(--orange); box-shadow: 0 0 8px var(--orange); opacity: var(--spark, 1); }
.motion .sec-index span { --spark: 0; }

/* ---------- case: elementos da marca ---------- */
.case-hero { position: relative; overflow: hidden; isolation: isolate; }
.case-hero > .wrap { position: relative; z-index: 1; }
.case-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 55% 75% at 88% 30%, rgba(243, 107, 33, .2), transparent 70%), radial-gradient(ellipse 40% 50% at 10% 100%, rgba(166, 106, 67, .12), transparent 70%); }
.case-symbol { position: absolute; z-index: 0; right: var(--gutter); top: calc(var(--header-h) + 48px); width: min(24vw, 300px); }
.case-title em { color: var(--orange); }
@media (max-width: 899px) { .case-symbol { width: 110px; top: calc(var(--header-h) + 20px); opacity: .55; } }
.next { position: relative; overflow: hidden; isolation: isolate; }
.next > .wrap { position: relative; z-index: 1; }
