/* =========================================================
   HAMEZ Tecnologia — style.css
   Paleta provisória (até termos branding):
   grafite quente + papel + um único acento "brasa"
   ========================================================= */

:root {
  --ink: #0d0d0c;
  --ink-2: #161614;
  --paper: #ece8df;
  --ember: #ff5a1f;
  --muted: #8b877e;

  --bg: var(--ink);
  --fg: var(--paper);
  --line: rgba(236, 232, 223, .12);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 64px);
}

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

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.mono { font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }

.eyebrow { color: var(--muted); margin-bottom: 1.4rem; display: flex; align-items: center; gap: .8rem; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--ember); }

/* grão de filme — tira o aspecto "digital limpo demais" */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ================= NAV ================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  mix-blend-mode: difference; color: #ece8df;
}
.nav__logo { font-weight: 600; letter-spacing: .22em; font-size: .95rem; }
.nav__logo span { font-size: .55rem; vertical-align: super; letter-spacing: 0; margin-left: 2px; }
.nav__links { display: flex; gap: 2.2rem; font-size: .88rem; }
.nav__links a, .nav__cta { position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s cubic-bezier(.7,0,.2,1);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  font-size: .85rem; padding: .6rem 1.1rem; border: 1px solid currentColor; border-radius: 99px;
  transition: background .3s, color .3s;
}
.nav__cta:hover { background: #ece8df; color: #0d0d0c; }

/* ================= JORNADA ================= */
.journey { position: relative; height: 1100vh; }
.journey__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: radial-gradient(ellipse 60% 50% at 62% 50%, #1d1b18 0%, var(--ink) 70%);
}

.blueprint {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center center;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 80%);
}

.bg-word {
  position: absolute; left: 50%; bottom: -4vw; transform: translateX(-50%);
  font-weight: 600; font-size: 31vw; line-height: .8; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(236, 232, 223, .07);
  pointer-events: none; white-space: nowrap;
}

/* Hero */
.hero-copy {
  position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%);
  max-width: 620px; z-index: 3;
}
.hero-title {
  font-family: var(--sans); font-weight: 300; font-size: clamp(2.6rem, 6.2vw, 6rem);
  line-height: .98; letter-spacing: -.035em;
}
.hero-title em { font-size: 1.08em; letter-spacing: -.01em; color: var(--ember); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.hero-sub { margin-top: 1.8rem; max-width: 400px; color: var(--muted); font-size: 1.05rem; }

.assembly {
  position: absolute; left: var(--gutter); bottom: 34px; z-index: 3;
  display: flex; align-items: center; gap: 14px; color: var(--muted);
}
.assembly b { color: var(--fg); font-weight: 500; }
.assembly__bar { width: 120px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.assembly__bar i { position: absolute; inset: 0; background: var(--ember); transform-origin: left; transform: scaleX(0); }

.scroll-hint {
  position: absolute; right: var(--gutter); bottom: 34px; z-index: 3;
  display: flex; align-items: center; gap: 12px; color: var(--muted);
}
.scroll-hint i { width: 1px; height: 38px; background: var(--line); position: relative; overflow: hidden; }
.scroll-hint i::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--fg);
  animation: drip 1.8s cubic-bezier(.6,0,.3,1) infinite;
}
@keyframes drip { to { top: 100%; } }

/* Painéis */
.panels {
  position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%);
  width: min(440px, 36vw); z-index: 3;
}
.panel { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 100%; opacity: 0; visibility: hidden; }
.panel__idx { color: var(--ember); margin-bottom: 1.4rem; }
.panel__idx span { color: var(--muted); }
.panel__title { font-weight: 300; font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1; letter-spacing: -.03em; margin-bottom: 1.4rem; }
.panel__title em { font-size: 1.08em; letter-spacing: -.01em; }
.panel__text { color: var(--muted); font-size: 1.02rem; max-width: 380px; }
.panel__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.8rem; }
.panel__tags li { border: 1px solid var(--line); border-radius: 99px; padding: .45rem .8rem; color: var(--fg); font-size: .66rem; }

.progress {
  position: absolute; right: var(--gutter); bottom: 34px; z-index: 3;
  display: flex; gap: 22px; opacity: 0;
}
.progress li { color: var(--muted); opacity: .45; transition: opacity .4s, color .4s; display: flex; align-items: center; justify-content: flex-end; gap: 10px; font-size: .62rem; }
.progress li::after { content: ""; width: 14px; height: 1px; background: currentColor; transition: width .4s; }
.progress li.on { opacity: 1; color: var(--fg); }
.progress li.on::after { width: 32px; background: var(--ember); }

/* ================= PALCO 3D ================= */
.stage {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
  perspective: 2200px; perspective-origin: 50% 45%;
}
.device {
  position: relative; width: 300px; height: 620px; --r: 46px; border-radius: var(--r);
  transform-style: preserve-3d; will-change: transform;
}
.tilt { position: absolute; inset: 0; transform-style: preserve-3d; }
.device { position: absolute !important; left: 50%; top: 50%; }
.layer {
  position: absolute; inset: 0; border-radius: inherit;
  transform-style: preserve-3d; backface-visibility: hidden;
}

/* rótulos técnicos (vista explodida) */
.tag {
  position: absolute; left: calc(100% + 18px); top: 18%;
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--paper);
}
.tag i { width: 56px; height: 1px; background: var(--ember); position: relative; }
.tag i::before { content: ""; position: absolute; left: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); }

.l-chassis {
  background: linear-gradient(145deg, #3a3833 0%, #1b1a18 45%, #0f0f0e 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 60px 120px -30px rgba(0,0,0,.8);
}
.l-chassis .camera {
  position: absolute; top: 26px; left: 26px; width: 74px; height: 74px; border-radius: 22px;
  background: #0b0b0a; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.l-chassis .camera::after { content: ""; position: absolute; inset: 20px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3b3a46, #050505 70%); }
.l-chassis .tag { top: 70%; }

.l-board {
  background: #12120f; inset: 10px; border-radius: calc(var(--r) - 8px);
  box-shadow: inset 0 0 0 1px rgba(255, 90, 31, .25);
}
.l-board .traces { position: absolute; inset: 0; width: 100%; height: 100%; }
.l-board .traces path, .l-board .traces rect { fill: none; stroke: rgba(255, 90, 31, .55); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.l-board .traces circle { fill: var(--ember); }
.l-board .tag { top: 46%; }

.l-ui {
  background: #050505;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.l-ui .tag { top: 26%; }
.l-glass {
  background: linear-gradient(115deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.02) 32%, transparent 55%, rgba(255,255,255,.05) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
  pointer-events: none;
}
.l-glass .tag { top: 8%; }

.screen {
  position: absolute; inset: 9px; border-radius: calc(var(--r) - 9px);
  overflow: hidden; background: #0e0e0d; color: var(--paper);
  font-family: var(--sans); font-size: 13px;
}
.view { position: absolute; inset: 0; opacity: 0; }
.view b { font-weight: 600; }

/* ---- 01 App ---- */
.v-app { padding: 18px 18px 0; display: flex; flex-direction: column; gap: 14px; background: linear-gradient(180deg, #16150f 0%, #0e0e0d 50%); }
.v-app__status { display: flex; justify-content: space-between; font-size: 10px; padding: 0 10px; opacity: .8; }
.v-app__hello { font-size: 22px; line-height: 1.15; font-weight: 300; margin-top: 18px; }
.v-app__hello b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.15em; }
.v-app__card { background: var(--paper); color: var(--ink); border-radius: 20px; padding: 16px; display: grid; gap: 2px; }
.v-app__card strong { font-size: 40px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.v-app__card .mono { font-size: 9px; }
.v-app__card .up { color: #c4400f; }
.spark { display: flex; align-items: flex-end; gap: 5px; height: 44px; margin-top: 10px; }
.spark i { flex: 1; height: var(--h); background: var(--ink); border-radius: 3px; opacity: .85; transform-origin: bottom; }
.spark i:last-child { background: var(--ember); opacity: 1; }
.v-app__list { display: grid; gap: 8px; }
.v-app__list li { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: #1a1916; }
.v-app__list div { flex: 1; display: grid; line-height: 1.25; }
.v-app__list small { color: var(--muted); font-size: 10.5px; }
.v-app__list em { font-family: var(--sans); font-style: normal; font-weight: 500; }
.av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 600; background: #2a2823; color: var(--paper); flex: none; }
.v-app__tabs { margin-top: auto; display: flex; justify-content: space-around; padding: 16px 10px 24px; border-top: 1px solid #22211d; }
.v-app__tabs i { width: 20px; height: 20px; border-radius: 6px; background: #2a2823; }
.v-app__tabs i.on { background: var(--ember); }

/* ---- 02 Sistema ---- */
.v-sys { display: flex; background: #f3f1ec; color: var(--ink); }
.v-sys aside { width: 58px; background: var(--ink); display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 0; }
.v-sys aside b { color: var(--paper); font-size: 15px; margin-bottom: 10px; letter-spacing: .1em; }
.v-sys aside i { width: 20px; height: 20px; border-radius: 6px; background: #2a2823; }
.v-sys aside i.on { background: var(--ember); }
.v-sys__main { flex: 1; padding: 22px 26px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.v-sys__top { display: flex; justify-content: space-between; align-items: center; font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.v-sys__top .mono { font-size: 9px; color: #777; }
.v-sys__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.v-sys__kpis div { background: #fff; border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; box-shadow: 0 1px 0 rgba(0,0,0,.05); }
.v-sys__kpis small { font-size: 8.5px; color: #888; }
.v-sys__kpis b { font-size: 22px; font-weight: 500; letter-spacing: -.03em; }
.v-sys__kpis em { font-family: var(--mono); font-style: normal; font-size: 9px; color: #1f8a4c; }
.v-sys__chart { flex: 1; background: #fff; border-radius: 12px; padding: 16px; display: flex; align-items: flex-end; gap: 8px; min-height: 0; }
.v-sys__chart i { flex: 1; height: var(--h); background: #d9d4c8; border-radius: 4px 4px 1px 1px; transform-origin: bottom; }
.v-sys__chart i:last-child { background: var(--ember); }
.v-sys__rows { display: grid; gap: 6px; }
.v-sys__rows i { height: 22px; border-radius: 6px; background: #fff; }

/* ---- 03 Site ---- */
.v-site { display: flex; flex-direction: column; background: #e9e6df; }
.v-site__bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: #d8d4cb; }
.v-site__bar .dots { display: flex; gap: 6px; }
.v-site__bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #b8b3a8; }
.v-site__bar .url { flex: 1; max-width: 300px; margin: 0 auto; background: #f3f1ec; border-radius: 6px; padding: 5px 12px; font-size: 9.5px; color: #555; text-transform: none; text-align: center; }
.v-site__page { flex: 1; padding: 20px 30px; display: flex; flex-direction: column; gap: 20px; color: var(--ink); }
.v-site__nav { display: flex; justify-content: space-between; align-items: center; }
.v-site__nav b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 20px; }
.v-site__nav span { display: flex; gap: 14px; }
.v-site__nav span i { width: 40px; height: 6px; border-radius: 3px; background: #bdb8ad; }
.v-site__hero { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; min-height: 0; }
.v-site__hero .txt { display: grid; gap: 10px; }
.v-site__hero .h1 { height: 26px; border-radius: 6px; background: var(--ink); }
.v-site__hero .h1.s { width: 70%; }
.v-site__hero .p { height: 8px; border-radius: 4px; background: #b5b0a5; margin-top: 6px; }
.v-site__hero .p.s { width: 80%; margin-top: 0; }
.v-site__hero .btn { width: 110px; height: 32px; border-radius: 99px; background: var(--ember); margin-top: 10px; }
.v-site__hero .img { height: 100%; min-height: 120px; border-radius: 14px; background: radial-gradient(circle at 30% 30%, #ffb08f, #ff5a1f 40%, #6e2410 100%); }
.v-site__scores { display: flex; gap: 12px; }
.v-site__scores span { flex: 1; display: flex; align-items: center; gap: 8px; background: #f6f4ef; border-radius: 10px; padding: 8px 10px; font-size: 8px; color: #555; }
.v-site__scores b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #1f8a4c; color: #1f8a4c; font-size: 10px; font-family: var(--sans); }

/* ---- 04 Lançamento ---- */
.v-launch { padding: 28px; display: flex; flex-direction: column; gap: 6px; background: radial-gradient(ellipse at 80% 0%, #2a170e 0%, #0e0e0d 60%); }
.v-launch__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.v-launch__head .mono { font-size: 10px; color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 99px; background: rgba(255,90,31,.14); color: var(--ember) !important; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .2; } }
.v-launch small { font-size: 9.5px; color: var(--muted); }
.v-launch__num { font-size: 46px; font-weight: 300; letter-spacing: -.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.v-launch__chart { flex: 1; width: 100%; margin: 12px 0; min-height: 0; }
.v-launch__chart .line { fill: none; stroke: var(--ember); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.v-launch__chart .area { fill: url(#none); fill: rgba(255, 90, 31, .12); }
.v-launch__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border-top: 1px solid #262420; padding-top: 14px; }
.v-launch__stats span { display: grid; gap: 2px; font-size: 9px; color: var(--muted); }
.v-launch__stats b { font-family: var(--sans); font-size: 20px; font-weight: 400; color: var(--paper); letter-spacing: -.02em; text-transform: none; }

/* ---- 05 E-mail ---- */
.v-mail { padding: 26px; background: #f3f1ec; color: var(--ink); display: flex; flex-direction: column; gap: 18px; }
.v-mail__top { display: flex; justify-content: space-between; align-items: center; }
.v-mail__top b { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.v-mail__top .mono { font-size: 9px; color: #1f8a4c; background: rgba(31,138,76,.1); padding: 5px 9px; border-radius: 99px; }
.v-mail ul { display: grid; gap: 10px; }
.v-mail li { display: grid; grid-template-columns: 1.3fr 1fr 40px; align-items: center; gap: 16px; background: #fff; border-radius: 12px; padding: 14px 16px; }
.v-mail li div { display: grid; line-height: 1.3; }
.v-mail li small { font-size: 8.5px; color: #888; }
.v-mail li em { font-family: var(--mono); font-style: normal; font-size: 11px; text-align: right; }
.rate { height: 6px; border-radius: 3px; background: #ebe7de; overflow: hidden; }
.rate i { display: block; height: 100%; width: var(--w); background: var(--ink); border-radius: 3px; transform-origin: left; }
.v-mail li:first-child .rate i { background: var(--ember); }

/* ---- 06 API ---- */
.v-api { display: flex; flex-direction: column; background: #121210; }
.v-api__head { display: flex; align-items: center; gap: 10px; padding: 44px 16px 14px; background: #1a1916; }
.v-api__head div { display: grid; line-height: 1.25; }
.v-api__head small { font-size: 8.5px; color: var(--muted); }
.v-api__head .av { background: var(--ember); color: var(--ink); }
.ok { display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: #2f9e5f; color: #fff; font-style: normal; font-size: 8px; vertical-align: 1px; margin-left: 2px; }
.v-api__chat { flex: 1; padding: 18px 14px; display: flex; flex-direction: column; gap: 10px; }
.v-api__chat p { max-width: 82%; padding: 10px 12px; border-radius: 14px; font-size: 12.5px; line-height: 1.4; }
.v-api__chat .in { background: #24231f; align-self: flex-start; border-bottom-left-radius: 4px; }
.v-api__chat .out { background: var(--paper); color: var(--ink); align-self: flex-end; border-bottom-right-radius: 4px; }
.v-api__chat .out .mono { font-size: 9px; color: #666; text-transform: none; }
.v-api__chat .btns { background: transparent; padding: 0; display: grid; gap: 6px; }
.v-api__chat .btns span { border: 1px solid #3a3833; color: var(--paper); border-radius: 10px; padding: 8px 12px; text-align: center; font-size: 11.5px; }
.v-api__input { display: flex; gap: 8px; padding: 12px 14px 26px; }
.v-api__input i { flex: 1; height: 36px; border-radius: 99px; background: #1f1e1b; }
.v-api__input span { width: 36px; height: 36px; border-radius: 50%; background: var(--ember); }

/* ================= MANIFESTO ================= */
.manifesto {
  min-height: 100vh; padding: 22vh var(--gutter) 18vh;
  display: flex; flex-direction: column; justify-content: center;
}
.manifesto__text {
  font-weight: 300; font-size: clamp(1.9rem, 4.6vw, 4.6rem); line-height: 1.08; letter-spacing: -.03em;
  max-width: 1300px;
}
.manifesto__text .w { display: inline-block; }
.manifesto__text .w.ser { font-family: var(--serif); font-style: italic; letter-spacing: -.01em; font-size: 1.07em; }

/* ================= PROCESSO ================= */
.process { position: relative; height: 380vh; }
.process__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 6vh; }
.process__head { padding: 0 var(--gutter); }
.process__head h2 { font-weight: 300; font-size: clamp(2.2rem, 5vw, 4.8rem); line-height: 1; letter-spacing: -.035em; }
.process__track { display: flex; gap: 24px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.step {
  width: clamp(280px, 30vw, 440px); min-height: 340px; padding: 32px;
  border: 1px solid color-mix(in srgb, var(--fg) 16%, transparent); border-radius: 22px;
  display: flex; flex-direction: column; gap: 16px;
  background: color-mix(in srgb, var(--fg) 3%, transparent);
}
.step__n { color: var(--ember); font-size: .8rem; }
.step h3 { font-weight: 400; font-size: 2rem; letter-spacing: -.025em; margin-top: auto; }
.step p { color: color-mix(in srgb, var(--fg) 62%, transparent); max-width: 340px; }
.step small { color: color-mix(in srgb, var(--fg) 50%, transparent); border-top: 1px solid color-mix(in srgb, var(--fg) 14%, transparent); padding-top: 14px; }
.process__line { margin: 0 var(--gutter); height: 1px; background: color-mix(in srgb, var(--fg) 14%, transparent); }
.process__line i { display: block; height: 100%; background: var(--ember); transform-origin: left; transform: scaleX(0); }

/* ================= STACK ================= */
.stack { padding: 10vh 0; border-top: 1px solid color-mix(in srgb, var(--fg) 12%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--fg) 12%, transparent); overflow: hidden; }
.marquee__inner { display: flex; gap: 4rem; width: max-content; animation: marquee 40s linear infinite; font-size: 1rem; }
.marquee__inner span { display: flex; align-items: center; gap: 4rem; opacity: .75; }
.marquee__inner span::after { content: "✦"; color: var(--ember); font-size: .7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ================= CLIENTES ================= */
.clients { padding: 18vh var(--gutter) 26vh; }
.clients__head h2 { font-weight: 300; font-size: clamp(2.2rem, 5vw, 4.8rem); line-height: 1; letter-spacing: -.035em; margin-bottom: 8vh; }
.clients__list { list-style: none; border-top: 1px solid color-mix(in srgb, var(--fg) 16%, transparent); }
.client { position: relative; border-bottom: 1px solid color-mix(in srgb, var(--fg) 16%, transparent); overflow: hidden; }
.client::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--ember); transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.client a { display: grid; grid-template-columns: 3rem 1.15fr 1fr 14rem; align-items: center; gap: 2rem; padding: 4.2vh 0; }
.client__n { color: var(--muted); }
.client__name { font-weight: 400; font-size: clamp(2rem, 4.6vw, 4.4rem); line-height: 1; letter-spacing: -.035em; transition: transform .6s cubic-bezier(.2,.8,.2,1), color .4s; }
.client__name em { letter-spacing: -.01em; }
.client__what { color: color-mix(in srgb, var(--fg) 62%, transparent); font-size: clamp(.95rem, 1.1vw, 1.05rem); max-width: 30ch; }
.client__url { display: inline-flex; align-items: center; justify-content: flex-end; gap: .9rem; white-space: nowrap; }
.client__url i { font-style: normal; width: 42px; height: 42px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--fg) 28%, transparent); display: grid; place-items: center; font-size: .9rem; transition: background .4s, border-color .4s, color .4s, transform .5s cubic-bezier(.2,.8,.2,1); }
.client:hover::before, .client:focus-within::before { transform: scaleX(1); }
.client:hover .client__name, .client:focus-within .client__name { transform: translateX(1.2rem); }
.client:hover .client__name em { color: var(--ember); }
.client:hover .client__url i, .client:focus-within .client__url i { background: var(--ember); border-color: var(--ember); color: var(--ink); transform: rotate(45deg); }

/* ================= CONTATO ================= */
.contact { min-height: 100vh; padding: 20vh var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.contact__title { font-weight: 300; font-size: clamp(2.6rem, 7vw, 7.4rem); line-height: .98; letter-spacing: -.04em; }
.contact__title em { color: var(--ember); font-size: 1.06em; letter-spacing: -.015em; }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 8vh; }
.btn-big {
  display: inline-flex; align-items: center; gap: 22px; padding: 1.3rem 1.3rem 1.3rem 2rem;
  background: var(--fg); color: var(--bg); border-radius: 99px; font-size: clamp(1rem, 1.6vw, 1.3rem);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.btn-big i { font-style: normal; width: 48px; height: 48px; border-radius: 50%; background: var(--ember); color: var(--ink); display: grid; place-items: center; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.btn-big:hover i { transform: rotate(-45deg); }
.btn-ghost { padding: 1.1rem 1.6rem; border: 1px solid color-mix(in srgb, var(--fg) 30%, transparent); border-radius: 99px; transition: border-color .3s; }
.btn-ghost:hover { border-color: var(--ember); }

/* ================= FOOTER ================= */
.footer { padding: 0 var(--gutter) 28px; overflow: hidden; perspective: 1200px; }
.footer__mark {
  display: flex; justify-content: space-between; font-weight: 600;
  font-size: 23.5vw; line-height: .78; letter-spacing: -.04em; padding-top: 4vw;
  transform-style: preserve-3d;
}
.footer__mark span { display: inline-block; transform-origin: 50% 100%; }
.footer__row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; margin-top: 2vw; border-top: 1px solid color-mix(in srgb, var(--fg) 14%, transparent); color: color-mix(in srgb, var(--fg) 55%, transparent); }
.footer__row a:hover { color: var(--ember); }

/* ================= RESPONSIVO ================= */
@media (max-width: 820px) {
  .client a { grid-template-columns: 2.4rem 1fr; gap: .6rem 1rem; padding: 3.2vh 0; }
  .client__what, .client__url { grid-column: 2; }
  .client__url { justify-content: flex-start; }
  .client__url i { width: 34px; height: 34px; }

  .nav__links { display: none; }
  .hero-copy { top: auto; bottom: 90px; transform: none; right: var(--gutter); }
  .hero-sub { font-size: .95rem; }
  .panels { top: auto; bottom: 40px; transform: none; width: auto; right: var(--gutter); height: 260px; }
  .panel { top: auto; bottom: 0; transform: none; }
  .panel__title { font-size: 2rem; margin-bottom: .8rem; }
  .panel__idx { margin-bottom: .8rem; }
  .panel__text { font-size: .92rem; }
  .panel__tags { margin-top: 1rem; }
  .progress { display: none; }
  .scroll-hint { display: none; }
  .tag { font-size: 16px; }
  .step { min-height: 300px; padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .marquee__inner, .scroll-hint i::after, .pill i { animation: none; }
}
