/* =========================================================
   Cauê Alves — portfólio
   Paleta pedra/areia, vidro fosco, Manrope.
   ========================================================= */

:root {
  --bg: #E7E3DD;
  --bg-2: #DDD7CF;
  --paper: #F5F2ED;
  --glass: rgba(250, 248, 245, .62);
  --glass-strong: rgba(250, 248, 245, .82);
  --glass-line: rgba(255, 255, 255, .7);
  --ink: #1D1B19;
  --ink-2: #45403A;
  --muted: #847C72;
  --line: rgba(29, 27, 25, .12);
  --accent: #8A5A38;
  --accent-soft: #B4875F;
  --dark: #2A2724;
  --dark-2: #36322E;

  --gutter: clamp(16px, 2.2vw, 28px);
  --radius-xl: clamp(24px, 2.6vw, 36px);
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow: 0 30px 60px -30px rgba(52, 40, 28, .35), 0 8px 20px -12px rgba(52, 40, 28, .18);
  --shadow-soft: 0 18px 40px -24px rgba(52, 40, 28, .35);
  --ease: cubic-bezier(.22, 1, .36, 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; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 85% -10%, #F1ECE5 0%, transparent 60%),
    radial-gradient(900px 600px at -10% 40%, #E2DBD1 0%, transparent 60%),
    var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before { /* grão */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .22; mix-blend-mode: multiply;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .35 0 0 0 0 .3 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
em { font-style: normal; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1180px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }

/* ---------- split text ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; will-change: transform; }

/* ---------- tipografia base ---------- */
.label { font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

.section-title {
  font-size: clamp(40px, 5.6vw, 84px); font-weight: 300; line-height: 1; letter-spacing: -.045em;
}
.section-title em, .hero__title em, .contact__title em, .work__big em { color: var(--accent); font-weight: 400; }

/* ---------- botões ---------- */
.pill-btn {
  --b: var(--glass-strong); --c: var(--ink); --ib: var(--ink); --ic: var(--paper);
  display: inline-flex; align-items: center; gap: 14px; padding: 6px 6px 6px 22px; min-height: 52px;
  border-radius: 999px; background: var(--b); color: var(--c); font-size: 14px; font-weight: 600; letter-spacing: -.01em;
  border: 1px solid var(--glass-line); white-space: nowrap;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.pill-btn i {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ib); color: var(--ic); font-size: 18px; transition: transform .5s var(--ease);
}
.pill-btn:hover i { transform: rotate(-45deg); }
.pill-btn--dark { --b: var(--dark); --c: var(--paper); --ib: var(--paper); --ic: var(--ink); border-color: transparent; }
.pill-btn--light { --b: var(--paper); --c: var(--ink); --ib: var(--ink); --ic: var(--paper); border-color: transparent; }
.pill-btn--outline { --b: transparent; --c: var(--paper); --ib: rgba(245, 242, 237, .14); --ic: var(--paper); border-color: rgba(245, 242, 237, .28); }
.pill-btn--outline:hover { --b: rgba(245, 242, 237, .08); }

.ghost-btn { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.ghost-btn__icon {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-size: 20px;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.ghost-btn:hover .ghost-btn__icon { background: var(--ink); color: var(--paper); }


.round-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 18px;
  background: rgba(29, 27, 25, .06); transition: transform .4s var(--ease), background .3s;
}
.round-btn:hover { transform: scale(1.06); }
.round-btn--dark { background: var(--ink); color: var(--paper); }
.round-btn--light { background: var(--paper); color: var(--ink); }

.text-link { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.text-link svg { transition: transform .4s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--dark); color: var(--paper);
  display: flex; flex-direction: column; justify-content: flex-end; padding: var(--gutter);
}
.loader__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 22px; }
.loader__name { font-size: clamp(36px, 7vw, 110px); font-weight: 300; letter-spacing: -.05em; line-height: .9; }
.loader__count { font-size: clamp(14px, 1.4vw, 18px); font-weight: 500; font-variant-numeric: tabular-nums; opacity: .7; }
.loader__bar { height: 1px; background: rgba(245, 242, 237, .15); }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--paper); transform: scaleX(0); transform-origin: left; }
.no-js .loader, .reduced .loader { display: none; }

/* ---------- cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--ink);
  display: grid; place-items: center; opacity: 0;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, opacity .3s;
}
.cursor__label { color: var(--paper); font-size: 12px; font-weight: 700; letter-spacing: .02em; opacity: 0; transition: opacity .25s; }
.cursor.is-big { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: rgba(29, 27, 25, .88); backdrop-filter: blur(6px); }
.cursor.is-big .cursor__label { opacity: 1; }
.has-cursor .cursor { opacity: 1; }
@media (pointer: coarse) { .cursor { display: none; } }

/* ---------- topbar ---------- */
.topbar {
  position: fixed; z-index: 60; top: calc(var(--gutter) + 18px); left: calc(var(--gutter) + 26px); right: calc(var(--gutter) + 26px);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  transition: top .5s var(--ease);
}
.topbar.is-scrolled { top: 14px; }
.brand { display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 10px; border-radius: 999px; transition: background .4s; }
.topbar.is-scrolled .brand { background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--glass-line); }
.brand__mark { width: 34px; height: 34px; stroke-width: 0; }
.brand__mark path { stroke-width: 3.4; }
.brand__name { font-size: 12px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; }
.nav {
  display: flex; gap: 4px; padding: 6px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow-soft);
}
.nav a { position: relative; padding: 11px 22px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: color .35s; }
.nav a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--dark); transform: scale(.6); opacity: 0; transition: transform .45s var(--ease), opacity .3s; z-index: -1; }
.nav a { z-index: 0; isolation: isolate; }
.nav a:hover { color: var(--ink); }
.nav a.is-active { color: var(--paper); }
.nav a.is-active::before { transform: scale(1); opacity: 1; }
.topbar__actions { display: flex; align-items: center; gap: 12px; }

/* ---------- dock ---------- */
.dock {
  position: fixed; z-index: 55; left: calc(var(--gutter) + 22px); top: 50%; transform: translateY(-38%);
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 8px 14px;
  border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: var(--shadow-soft);
}
.dock__item { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; color: var(--ink-2); transition: background .35s, color .35s; }
.dock__item:hover { background: rgba(29, 27, 25, .06); color: var(--ink); }
.dock__item.is-active { background: var(--dark); color: var(--paper); }
.dock__sep { width: 22px; height: 1px; background: var(--line); margin: 6px 0; }
.dock__avatar { width: 50px; height: 50px; border-radius: 50%; overflow: hidden; border: 2px solid var(--paper); box-shadow: var(--shadow-soft); }
.dock__avatar img { width: 100%; height: 100%; object-fit: cover; }
.dock__reel { margin-top: 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 10px; font-weight: 600; text-align: center; line-height: 1.25; color: var(--ink-2); }
.dock__reel-icon { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-size: 17px; color: var(--ink); transition: background .3s, color .3s; }
.dock__reel:hover .dock__reel-icon { background: var(--ink); color: var(--paper); }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding: var(--gutter); min-height: 100svh; }
.hero__frame {
  position: relative; overflow: hidden; isolation: isolate;
  height: calc(100svh - 2 * var(--gutter)); min-height: 680px; max-height: 980px;
  border-radius: var(--radius-xl); border: 1px solid var(--glass-line);
  background: linear-gradient(180deg, #F3ECE3 0%, #EADDCD 46%, #D9C4AD 78%, #C8AF96 100%);
  box-shadow: var(--shadow);
}
.hero__sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__sun {
  position: absolute; width: 62vw; aspect-ratio: 1; right: -12vw; top: -18vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 246, 232, .95) 0%, rgba(255, 232, 205, .55) 32%, rgba(244, 214, 182, 0) 66%);
}
.hero__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(138, 90, 56, .14); }
.hero__ring--1 { width: 58vw; aspect-ratio: 1; right: -6vw; bottom: -36vw; }
.hero__ring--2 { width: 82vw; aspect-ratio: 1; right: -18vw; bottom: -52vw; }
.hero__frame::after { /* chão em degradê, como o horizonte do template */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; z-index: -1;
  background: linear-gradient(180deg, rgba(200, 175, 150, 0) 0%, rgba(160, 128, 100, .35) 100%);
}

.hero__copy {
  position: absolute; z-index: 3; left: clamp(36px, 4.6vw, 76px); top: 0; bottom: 0; width: min(620px, 46%);
  display: flex; flex-direction: column; justify-content: center; padding-top: 40px;
}
.hero__title { font-size: clamp(72px, 9.4vw, 150px); font-weight: 300; line-height: .9; letter-spacing: -.055em; }
.hero__title em { font-weight: 400; }
.hero__lead { margin-top: clamp(22px, 3.4vh, 32px); max-width: 420px; font-size: 16px; line-height: 1.6; color: var(--ink-2); font-weight: 500; }
.hero__ctas { margin-top: clamp(22px, 3.6vh, 34px); display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }


.hero__stage {
  position: absolute; z-index: 2; right: clamp(36px, 4.6vw, 76px); left: 52%; top: 25%; bottom: 12%;
  perspective: 1600px;
}
.mock { position: relative; border-radius: 14px; overflow: hidden; background: var(--paper); box-shadow: 0 40px 70px -30px rgba(60, 40, 20, .55), 0 12px 24px -12px rgba(60, 40, 20, .3); }
.mock img { width: 100%; }
.mock__bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #F2EEE8; border-bottom: 1px solid rgba(29, 27, 25, .07); }
.mock__bar i { width: 8px; height: 8px; border-radius: 50%; background: #D5CDC2; }
.mock__bar span { margin-left: 10px; flex: 1; max-width: 260px; height: 17px; border-radius: 6px; background: rgba(255, 255, 255, .8); font-size: 9.5px; font-weight: 600; color: var(--muted); display: flex; align-items: center; padding: 0 9px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mock--phone { border-radius: 26px; border: 5px solid #1D1B19; background: #1D1B19; }
.mock--phone img { border-radius: 20px; }

.hero__stage .mock { position: absolute; transform-style: preserve-3d; }
.mock--a { width: 100%; right: 0; top: 2%; transform: rotateY(-12deg) rotateX(3deg); }
.mock--c { width: 24%; left: -9%; bottom: -4%; transform: rotateY(-12deg) rotateX(3deg) translateZ(80px); }

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto { padding: clamp(110px, 16vw, 210px) 0 clamp(80px, 11vw, 150px); }
.manifesto__text {
  margin-top: 0; font-size: clamp(28px, 3.9vw, 58px); font-weight: 400; line-height: 1.14; letter-spacing: -.035em; text-wrap: pretty;
}
.manifesto__text .sw { transition: none; }
.stats { margin-top: clamp(60px, 8vw, 110px); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stats__item { padding-top: 26px; }
.stats__item + .stats__item { padding-left: clamp(16px, 3vw, 40px); border-left: 1px solid var(--line); }
.stats dt { font-size: clamp(52px, 7vw, 112px); font-weight: 300; letter-spacing: -.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats dd { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }

/* =========================================================
   SERVIÇOS
   ========================================================= */
.services { padding: clamp(40px, 6vw, 80px) 0 clamp(110px, 14vw, 180px); }
.section-head { display: grid; gap: 28px; margin-bottom: clamp(44px, 6vw, 80px); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service {
  position: relative; padding: 28px 26px 30px; min-height: 330px; display: flex; flex-direction: column;
  border-radius: var(--radius-lg); background: var(--glass); border: 1px solid var(--glass-line);
  transition: background .5s var(--ease), color .5s var(--ease), transform .6s var(--ease);
}
.service:hover { background: var(--dark); color: var(--paper); transform: translateY(-6px); }
.service:hover p { color: rgba(245, 242, 237, .65); }
.service:hover .service__icon { background: var(--paper); color: var(--ink); }
.service__num { font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.service__icon { margin: 26px 0 auto; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: var(--paper); transition: background .5s, color .5s; }
.service h3 { margin-top: 40px; font-size: 21px; font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.service p { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--muted); transition: color .5s; }

/* =========================================================
   PROJETOS — horizontal
   ========================================================= */
.work { position: relative; height: 100svh; overflow: hidden; background: var(--bg); }
.work__hud {
  position: absolute; z-index: 5; left: 0; right: 0; top: clamp(84px, 11vh, 110px);
  width: min(1180px, calc(100% - 2 * var(--gutter))); margin-inline: auto;
  display: flex; align-items: center; gap: 28px;
}
.work__progress { flex: 1; height: 1px; background: var(--line); }
.work__progress span { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.work__count { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.work__count b { color: var(--ink); font-weight: 700; }

.work__track { display: flex; height: 100%; width: max-content; will-change: transform; }
.panel { position: relative; height: 100%; flex-shrink: 0; display: flex; align-items: center; }

.panel--intro { width: 64vw; padding-left: max(var(--gutter), calc((100vw - 1180px) / 2)); flex-direction: column; align-items: flex-start; justify-content: center; gap: 30px; }
.work__big { font-size: clamp(64px, 10vw, 168px); font-weight: 300; letter-spacing: -.06em; line-height: .86; }
.work__intro-text { max-width: 400px; font-size: 16px; line-height: 1.6; color: var(--ink-2); font-weight: 500; }
.work__hint { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.work__hint svg { font-size: 20px; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }

.project {
  width: min(92vw, 1320px); margin-right: 3vw; padding: 0;
  display: grid; grid-template-columns: minmax(280px, .78fr) 1.6fr; gap: clamp(28px, 4vw, 64px); align-items: center;
}
.project::before { /* bloco de cor por trás */
  content: ""; position: absolute; z-index: 0; inset: 21% 0 9% 0; border-radius: var(--radius-xl); background: var(--tint);
}
.project > * { position: relative; z-index: 1; }
.project__meta { padding-left: clamp(28px, 3.4vw, 56px); padding-top: 9vh; }
.project__num { font-size: clamp(56px, 6vw, 96px); font-weight: 200; letter-spacing: -.06em; line-height: 1; color: var(--accent); display: block; }
.project__name { margin-top: 18px; font-size: clamp(28px, 2.6vw, 40px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
.project__where { margin-top: 10px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.project__where i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.project__desc { margin-top: 20px; font-size: 15px; line-height: 1.65; color: var(--ink-2); max-width: 400px; }
.project__tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.project__tags li, .chips li { padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid var(--line); background: rgba(255, 255, 255, .35); }
.project__link { margin-top: 28px; }

.project--dark .project__name { color: var(--paper); }
.project--dark .project__desc { color: rgba(245, 242, 237, .72); }
.project--dark .project__where { color: rgba(245, 242, 237, .55); }
.project--dark .project__num { color: var(--accent-soft); }
.project--dark .project__tags li { color: var(--paper); border-color: rgba(245, 242, 237, .2); background: rgba(245, 242, 237, .06); }

.project__visual { position: relative; height: 72vh; max-height: 640px; margin-right: clamp(28px, 3vw, 48px); padding-top: 9vh; }
.project__visual .mock { position: absolute; }
.mock__screen { overflow: hidden; aspect-ratio: 16 / 10; }
.mock__screen img { width: 112%; max-width: none; margin-left: -6%; height: 100%; object-fit: cover; object-position: top; }
.project__main { width: 84%; top: 4%; left: 0; z-index: 1; display: block; }
.project__main:hover img { filter: brightness(1.03); }
.project__second { width: 46%; right: 0; bottom: 0; z-index: 2; }
.project__phone { width: 17%; left: 6%; bottom: -4%; z-index: 3; }

.panel--outro { width: 62vw; padding: 0 8vw 0 4vw; flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; }
.outro__num { font-size: clamp(100px, 16vw, 260px); font-weight: 200; letter-spacing: -.07em; line-height: .8; color: var(--accent); }
.outro__text { max-width: 460px; font-size: clamp(20px, 2vw, 28px); font-weight: 400; line-height: 1.3; letter-spacing: -.02em; }

/* =========================================================
   PROCESSO
   ========================================================= */
.process { padding: clamp(110px, 14vw, 190px) 0; }
.process__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.process__head { position: sticky; top: 130px; display: grid; gap: 28px; }
.process__lead { max-width: 380px; font-size: 16px; line-height: 1.6; color: var(--ink-2); font-weight: 500; }
.process__steps { counter-reset: s; }
.step { display: grid; grid-template-columns: 74px 1fr; gap: 10px; padding: 34px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num { font-size: 13px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; padding-top: 8px; }
.step h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; letter-spacing: -.035em; }
.step p { margin-top: 10px; font-size: 15px; line-height: 1.65; color: var(--ink-2); max-width: 460px; }

/* =========================================================
   SOBRE
   ========================================================= */
.about { padding: clamp(60px, 8vw, 110px) 0 clamp(110px, 14vw, 180px); }
.about__grid { display: grid; grid-template-columns: .82fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__photo { position: relative; }
.about__img { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); background: #1c2230; }
.about__img img { width: 100%; height: 118%; object-fit: cover; object-position: center 40%; }
.about__photo figcaption {
  position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: var(--glass-strong); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #5DA36A; box-shadow: 0 0 0 4px rgba(93, 163, 106, .2); }
.about__body { display: grid; gap: 28px; }
.about__text { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.65; color: var(--ink-2); max-width: 540px; }
.about__facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.about__facts div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.about__facts div:nth-child(odd) { padding-right: 18px; }
.about__facts dt { font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.about__facts dd { margin-top: 6px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* =========================================================
   CONTATO
   ========================================================= */
.contact { padding-bottom: var(--gutter); }
.marquee { overflow: hidden; padding: 10px 0 clamp(36px, 5vw, 60px); }
.marquee__row { display: flex; width: max-content; align-items: center; gap: clamp(24px, 3vw, 48px); animation: marquee 34s linear infinite; }
.marquee__row span { font-size: clamp(56px, 9vw, 150px); font-weight: 300; letter-spacing: -.055em; line-height: 1; white-space: nowrap; }
.marquee__row i { font-style: normal; font-size: clamp(24px, 3vw, 46px); color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

.contact__card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-xl); background: var(--dark); color: var(--paper);
  padding: clamp(40px, 7vw, 110px) clamp(24px, 6vw, 96px);
  display: grid; gap: 30px; justify-items: start;
}
.contact__glow { position: absolute; z-index: -1; width: 70vw; aspect-ratio: 1; right: -24vw; top: -30vw; border-radius: 50%; background: radial-gradient(circle, rgba(180, 135, 95, .45) 0%, rgba(180, 135, 95, 0) 62%); }
.contact__title { font-size: clamp(44px, 7vw, 116px); font-weight: 300; line-height: .95; letter-spacing: -.055em; }
.contact__title em { color: var(--accent-soft); }
.contact__lead { max-width: 460px; font-size: 16px; line-height: 1.6; color: rgba(245, 242, 237, .7); }
.contact__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.footer { padding: 26px 0 34px; }
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; font-weight: 500; color: var(--muted); }
.footer__top { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }

/* barra de atalhos só existe no celular (no desktop o menu do topo já cobre) */
@media (min-width: 861px) { .dock { display: none; } }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1280px) {
  .nav a { padding: 11px 16px; }
}

@media (max-width: 1099px) {
  .brand__name { display: none; }
  .hero__copy { width: 50%; }
  .hero__stage { left: 56%; top: 24%; bottom: 20%; }
  .services__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  /* topo enxuto e dock vira barra inferior */
  .topbar { top: 14px !important; left: 14px; right: 14px; }
  .brand { background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); padding: 6px 12px 6px 8px; }
  .brand__name { display: inline; font-size: 10.5px; letter-spacing: .26em; }
  .brand__mark { width: 28px; height: 28px; }
  .nav { display: none; }
  .topbar .pill-btn { min-height: 44px; padding: 4px 4px 4px 16px; font-size: 13px; gap: 10px; }
  .topbar .pill-btn i { width: 36px; height: 36px; }
  .topbar .pill-btn span { display: none; }
  .topbar .pill-btn { padding-left: 4px; }

  .dock {
    top: auto; bottom: calc(12px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%);
    flex-direction: row; padding: 6px; gap: 2px;
  }
  .dock__item { width: 44px; height: 44px; font-size: 18px; }
  .dock__sep { width: 1px; height: 22px; margin: 0 4px; }
  .dock__avatar { width: 40px; height: 40px; }
  .dock__reel { display: none; }

  .hero { padding: 10px; }
  .hero__frame { height: auto; max-height: none; min-height: 0; padding: 96px 20px 20px; display: flex; flex-direction: column; }
  .hero__copy { position: relative; left: auto; top: auto; bottom: auto; width: auto; padding-top: 0; }
  .hero__title { font-size: clamp(60px, 18vw, 96px); }
  .hero__lead { font-size: 15px; }
  .hero__ctas { gap: 16px; }
  .hero__stage { position: relative; left: auto; right: auto; top: auto; bottom: auto; height: 76vw; max-height: 420px; margin: 48px 0 10px; }
  .mock--a { width: 90%; right: 0; top: 0; }
  .mock--c { width: 28%; left: 0; bottom: 0; }
  .mock__bar { height: 18px; padding: 0 8px; gap: 4px; }
  .mock__bar i { width: 5px; height: 5px; }
  .mock__bar span { display: none; }
  .mock--phone { border-width: 3px; border-radius: 16px; }
  .mock--phone img { border-radius: 13px; }

  .manifesto { padding: 100px 0 70px; }
  .stats dd { font-size: 12px; }
  .services__grid { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .service__icon { margin-bottom: 0; }
  .service h3 { margin-top: 26px; }

  /* projetos: segue horizontal, empilhado por painel */
  .work__hud { top: 76px; gap: 14px; }
  .panel--intro { width: 92vw; padding: 0 var(--gutter); }
  .work__big { font-size: clamp(48px, 13.5vw, 90px); }
  .project { width: 92vw; margin-right: 4vw; grid-template-columns: 1fr; grid-template-rows: auto auto; gap: 22px; align-content: center; padding: 120px 0 90px; }
  .project::before { inset: 104px 0 76px 0; }
  .project__meta { padding: 26px 22px 0; }
  .project__num { font-size: 44px; }
  .project__name { margin-top: 8px; font-size: 26px; }
  .project__desc { margin-top: 12px; font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .project__tags { display: none; }
  .project__link { margin-top: 18px; min-height: 44px; font-size: 13px; }
  .project__link i { width: 34px; height: 34px; }
  .project__visual { height: 60vw; max-height: 340px; margin: 0 16px 18px; padding: 0; }
  .project__main { width: 88%; top: 0; }
  .project__second { width: 52%; }
  .project__phone { width: 21%; left: 4%; bottom: -6%; }
  .panel--outro { width: 92vw; padding: 0 var(--gutter); }

  .process__grid, .about__grid { grid-template-columns: 1fr; }
  .process__head { position: static; }
  .step { grid-template-columns: 48px 1fr; padding: 26px 0; }
  .about__photo { max-width: 440px; }
  .about__facts { grid-template-columns: 1fr; }
  .about__facts div:nth-child(odd) { padding-right: 0; }
  .contact__ctas .pill-btn { width: 100%; justify-content: space-between; }
  .footer { padding-bottom: 100px; }
}

@media (max-width: 860px) and (max-height: 700px) {
  .project__desc { -webkit-line-clamp: 3; }
  .project__visual { height: 52vw; }
}

/* sem animação para quem pede */
.reduced .work { height: auto; overflow-x: auto; }
.reduced .work__track { height: 100svh; }
@media (prefers-reduced-motion: reduce) {
  .marquee__row, .work__hint svg { animation: none; }
}
