/* =========================================================
   THOON — design system
   Tokens no :root; tema escuro por preferência do sistema
   ou pelo botão (data-theme no <html>).
   ========================================================= */

:root {
  --bg:        #F3F6F5;
  --surface:   #FFFFFF;
  --surface-2: #E8EFEC;
  --ink:       #0A1412;
  --ink-2:     #45574F;
  --ink-3:     #74867F;
  --line:      #D3DDD9;
  --line-2:    #E2E9E6;
  --brand:     #0A6B5C;
  --brand-2:   #0C8571;
  --brand-ink: #FFFFFF;
  --brand-soft:#D9EEE8;
  --accent:    #D86A12;
  --wa:        #1DAA52;
  --wa-ink:    #FFFFFF;
  --shadow:    0 1px 2px rgba(10, 20, 18, .05), 0 12px 32px -12px rgba(10, 20, 18, .18);
  --shadow-lg: 0 30px 80px -30px rgba(10, 40, 34, .45);

  /* sempre escuro: seção "Como funciona" e CTA final */
  --night:     #071311;
  --night-2:   #0E201C;
  --night-ink: #E9F2EF;
  --night-ink-2:#9BB3AC;
  --night-line:#1C332D;
  --mint:      #3FD1B0;

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body:    "Instrument Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:    "JetBrains Mono", Consolas, ui-monospace, monospace;

  --maxw: 1200px;
  --gut: 24px;
  --r: 14px;
  --r-lg: 22px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:        #070D0C;
    --surface:   #0F1816;
    --surface-2: #15221F;
    --ink:       #E8EFED;
    --ink-2:     #A2B4AF;
    --ink-3:     #6E817C;
    --line:      #22322E;
    --line-2:    #1A2724;
    --brand:     #3FBFA5;
    --brand-2:   #5BD3BA;
    --brand-ink: #04110E;
    --brand-soft:#11302A;
    --accent:    #F2963F;
    --shadow:    0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, .8);
    --night:     #040A09;
    --night-2:   #0B1715;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg:        #070D0C;
  --surface:   #0F1816;
  --surface-2: #15221F;
  --ink:       #E8EFED;
  --ink-2:     #A2B4AF;
  --ink-3:     #6E817C;
  --line:      #22322E;
  --line-2:    #1A2724;
  --brand:     #3FBFA5;
  --brand-2:   #5BD3BA;
  --brand-ink: #04110E;
  --brand-soft:#11302A;
  --accent:    #F2963F;
  --shadow:    0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, .8);
  --night:     #040A09;
  --night-2:   #0B1715;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--brand); color: var(--brand-ink); padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 12px; }

.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 14px;
}
.dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--wa); box-shadow: 0 0 0 0 rgba(29, 170, 82, .5);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(29, 170, 82, .5); }
  70% { box-shadow: 0 0 0 9px rgba(29, 170, 82, 0); }
  100% { box-shadow: 0 0 0 0 rgba(29, 170, 82, 0); }
}

/* ---------- botões ---------- */
.btn {
  --b: var(--surface); --c: var(--ink); --bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 20px;
  border-radius: 999px; border: 1px solid var(--bd);
  background: var(--b); color: var(--c);
  font: 600 15px/1 var(--body);
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--brand { --b: var(--brand); --c: var(--brand-ink); --bd: var(--brand); }
.btn--brand:hover { --b: var(--brand-2); --bd: var(--brand-2); }
.btn--wa { --b: var(--wa); --c: var(--wa-ink); --bd: var(--wa); }
.btn--wa:hover { --b: #18964A; --bd: #18964A; }
.btn--ghost { --b: transparent; }
.btn--ghost:hover { --bd: var(--brand); --c: var(--brand); }
.btn--light { --b: transparent; --c: var(--night-ink); --bd: rgba(233, 242, 239, .3); }
.btn--light:hover { --bd: var(--night-ink); }

/* ---------- topo ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.top.is-scrolled { border-bottom-color: var(--line); }
.top__in { display: flex; align-items: center; gap: 24px; height: 72px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo__mark rect { fill: var(--brand); }
.logo__mark path { fill: none; stroke: var(--brand-ink); stroke-width: 3.6; stroke-linecap: round; }
.logo__word { font: 800 25px/1 var(--display); letter-spacing: -0.045em; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.btn) {
  color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 8px 12px; border-radius: 999px;
}
.nav a:not(.btn):hover { color: var(--ink); background: var(--surface-2); }
.nav__cta { margin-left: 8px; min-height: 42px; }

.top__tools { display: flex; gap: 6px; }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); cursor: pointer;
}
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.menu-btn { display: none; }
.menu-btn { position: relative; }
.menu-btn span {
  position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px;
  background: currentColor; border-radius: 2px; transition: transform .2s;
}
.menu-btn span:first-child { transform: translateY(-3.5px); }
.menu-btn span + span { transform: translateY(3.5px); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 56px 0 0; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 48px; align-items: center;
  padding-bottom: 72px;
}
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line);
  padding: 7px 14px 7px 12px; border-radius: 999px; margin-bottom: 26px;
}
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1; letter-spacing: -0.045em; font-weight: 800; }
.hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); margin: 24px 0 32px; max-width: 54ch; }
.hero__lede strong { color: var(--ink); font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.proof {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 36px;
  margin: 42px 0 0; padding-top: 26px; border-top: 1px solid var(--line);
}
.proof dt { font-size: 13px; color: var(--ink-3); order: 2; }
.proof div { display: flex; flex-direction: column-reverse; }
.proof dd { margin: 0; font: 800 2.1rem/1 var(--display); letter-spacing: -0.04em; }
.proof dd span { color: var(--brand); }

/* palco com as telas */
.hero__stage { position: relative; aspect-ratio: 1 / .86; }
.dev {
  position: absolute; margin: 0; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg);
}
.dev img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.dev__bar {
  display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px;
  background: var(--surface-2); border-bottom: 1px solid var(--line);
}
.dev__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.dev__bar span {
  margin-left: 10px; font: 500 11px/1 var(--mono); color: var(--ink-3);
  background: var(--surface); padding: 5px 10px; border-radius: 6px;
}
.dev--back { width: 78%; top: 0; right: 0; transform: rotate(1.5deg); opacity: .96; }
.dev--front { width: 78%; left: 0; top: 30%; animation: float 7s ease-in-out infinite; }
.phone {
  position: absolute; margin: 0; right: 2%; bottom: -2%; width: 25%;
  border-radius: 26px; overflow: hidden; border: 6px solid #0B1311;
  box-shadow: var(--shadow-lg); background: #0B1311;
  animation: float 7s ease-in-out -3.5s infinite;
}
.phone img { aspect-ratio: 9 / 19; object-fit: cover; object-position: top; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 14px; font-size: 13.5px; font-weight: 500; box-shadow: var(--shadow);
  white-space: nowrap;
}
.chip b { font-family: var(--display); color: var(--brand); font-size: 17px; }
.chip--a { left: -4%; top: 12%; animation: float 6s ease-in-out -1s infinite; }
.chip--b { left: 8%; bottom: 0; animation: float 6s ease-in-out -4s infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.ribbon {
  border-block: 1px solid var(--line); background: var(--surface);
  overflow: hidden; padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ribbon__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ribbon__track span {
  font: 600 clamp(1.05rem, 2vw, 1.4rem)/1 var(--display); letter-spacing: -0.02em;
  color: var(--ink-3); padding: 0 28px; display: inline-flex; align-items: center; gap: 56px;
}
.ribbon__track span::after { content: "✦"; font-size: .6em; color: var(--brand); margin-left: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* clientes */
.clients { padding: 44px 0 8px; }
.clients__in { display: flex; align-items: center; gap: 20px 40px; flex-wrap: wrap; justify-content: center; }
.clients__title { margin: 0; font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.clients__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; }
.clients__list li { font: 700 clamp(1.05rem, 1.8vw, 1.3rem)/1.2 var(--display); letter-spacing: -0.025em; color: var(--ink-2); }
.clients__list a { color: inherit; text-decoration: none; }
.clients__list a:hover { color: var(--brand); }

/* ---------- seções ---------- */
.sec { padding: 104px 0; }
.sec--tight { padding: 80px 0 16px; }
.sec--alt { background: var(--surface); border-block: 1px solid var(--line-2); }
.sec__head { max-width: 760px; margin-bottom: 52px; }
.sec__head h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.sec__head--center { margin-inline: auto; text-align: center; }
.sec__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.sec__head--row > div { max-width: 640px; }
.sec__lede { font-size: 1.1rem; color: var(--ink-2); margin: 18px 0 0; max-width: 60ch; }
.sec__head--center .sec__lede { margin-inline: auto; }

/* dores */
.pains { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.pains__title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.pains__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pains__list li {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px 20px; font-size: 15.5px; color: var(--ink-2); line-height: 1.45;
  position: relative; padding-left: 46px;
}
.pains__list li::before {
  content: ""; position: absolute; left: 18px; top: 21px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 4px var(--brand-soft), inset 0 0 0 9px var(--brand);
}

/* serviços */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.svc__ico {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 22px;
}
.svc__ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-size: 1.35rem; margin-bottom: 10px; }
.svc p { color: var(--ink-2); font-size: 15.5px; }
.svc ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: 14.5px; }
.svc li { display: flex; gap: 10px; align-items: baseline; }
.svc li::before { content: "→"; color: var(--brand); font-family: var(--mono); font-size: 13px; }
.svc--hl { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.svc--hl p, .svc--hl li { color: color-mix(in srgb, var(--brand-ink) 82%, transparent); }
.svc--hl li::before { color: var(--brand-ink); }
.svc--hl .svc__ico { background: color-mix(in srgb, var(--brand-ink) 16%, transparent); color: var(--brand-ink); }

/* portfólio */
.filters { display: flex; flex-wrap: wrap; gap: 6px; background: var(--bg); padding: 5px; border-radius: 999px; border: 1px solid var(--line); }
.filters button {
  border: 0; background: transparent; color: var(--ink-2); font: 600 14.5px/1 var(--body);
  padding: 11px 16px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 7px; align-items: center;
}
.filters button span { font: 500 11px/1 var(--mono); color: var(--ink-3); }
.filters button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.filters button[aria-selected="true"] span { color: color-mix(in srgb, var(--bg) 70%, transparent); }

.grid-work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.work {
  display: flex; flex-direction: column; text-align: left;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; cursor: pointer; padding: 0; color: inherit; font: inherit;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
}
.work:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.work:hover .work__media img { transform: scale(1.035); }
.work[hidden] { display: none; }
.work__media {
  position: relative; aspect-ratio: 16 / 10.5; overflow: hidden;
  background: var(--surface-2); border-bottom: 1px solid var(--line);
}
.work__media > img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.work__media--phone {
  display: grid; place-items: end center; padding-top: 22px;
  background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--brand) 26%, var(--surface-2)), var(--surface-2));
}
.work__media--phone > img {
  width: 44%; height: auto; aspect-ratio: 9 / 16.5; object-fit: cover; object-position: top;
  border-radius: 20px 20px 0 0; border: 5px solid #0B1311; border-bottom: 0;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .45);
}
.work__media > .work__mobile {
  position: absolute; right: 5%; bottom: -14%; width: 21%; height: auto; object-fit: initial;
  border-radius: 14px; border: 4px solid #0B1311; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5);
}
.work__badge {
  position: absolute; left: 12px; top: 12px; z-index: 1;
  font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--ink);
  padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.work__live { left: auto; right: 12px; color: var(--wa); display: inline-flex; gap: 6px; align-items: center; }
.work__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.work__seg { font: 500 12px/1.3 var(--mono); letter-spacing: .06em; color: var(--brand); text-transform: uppercase; }
.work h3 { font-size: 1.28rem; }
.work p { color: var(--ink-2); font-size: 15px; margin: 0; }
.work__more { margin-top: auto; padding-top: 12px; font-weight: 600; font-size: 14.5px; color: var(--ink); display: inline-flex; gap: 6px; }
.work__more::after { content: "→"; transition: transform .2s; }
.work:hover .work__more::after { transform: translateX(4px); }

/* capa desenhada (projeto sem captura) */
.mock {
  position: absolute; inset: 0; padding: 22px 22px 0;
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--c) 55%, transparent), transparent 60%),
    linear-gradient(160deg, color-mix(in srgb, var(--c) 92%, #000), color-mix(in srgb, var(--c) 55%, #000));
  display: flex; align-items: flex-end;
}
.mock__win {
  width: 100%; height: 82%; background: #fff; border-radius: 12px 12px 0 0;
  display: grid; grid-template-columns: 24% 1fr; overflow: hidden;
  box-shadow: 0 -10px 40px -10px rgba(0, 0, 0, .4);
}
.mock__side { background: #0F1A18; padding: 14px 10px; display: grid; align-content: start; gap: 8px; }
.mock__side i { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .16); }
.mock__side i:first-child { height: 18px; width: 18px; border-radius: 5px; background: var(--c); margin-bottom: 6px; }
.mock__side i:nth-child(3) { background: color-mix(in srgb, var(--c) 70%, #fff); }
.mock__main { padding: 14px; display: grid; grid-template-rows: auto auto 1fr; gap: 10px; color: #0A1412; }
.mock__h { font: 700 12px/1 var(--body); display: flex; justify-content: space-between; }
.mock__h b { font: 800 11px/1 var(--mono); color: var(--c); }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mock__kpis i { height: 26px; border-radius: 6px; background: #EEF2F1; border-top: 3px solid var(--c); }
.mock__chart { display: flex; align-items: flex-end; gap: 5%; padding: 6px 4px 0; border-bottom: 1px solid #E3E8E6; }
.mock__chart i { flex: 1; border-radius: 4px 4px 0 0; background: color-mix(in srgb, var(--c) 80%, #fff); }
.mock__chart i:nth-child(even) { background: color-mix(in srgb, var(--c) 35%, #fff); }
.mock__sig {
  position: absolute; right: 16px; top: 14px;
  font: 800 13px/1 var(--display); color: #fff; letter-spacing: .02em;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25);
  padding: 7px 10px; border-radius: 9px;
}

.more { display: flex; justify-content: center; margin-top: 36px; }
.more[hidden] { display: none; }

/* diferenciais */
.diffs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.diff { padding: 34px 32px 34px 0; border-bottom: 1px solid var(--line); }
.diff:not(:nth-child(3n + 1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.diff__n { font: 500 12px/1 var(--mono); color: var(--brand); letter-spacing: .1em; }
.diff h3 { font-size: 1.35rem; margin: 16px 0 10px; }
.diff p { color: var(--ink-2); font-size: 15.5px; margin: 0; }

/* processo (escuro) */
.sec--dark { background: var(--night); color: var(--night-ink); }
.sec--dark .kicker { color: var(--mint); }
.sec--dark .sec__lede { color: var(--night-ink-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.steps li {
  background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--r-lg);
  padding: 26px 22px; position: relative;
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 46px; right: -15px; width: 16px; height: 1px; background: var(--night-line);
}
.steps__n {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font: 700 16px/1 var(--display); color: #04110E; background: var(--mint); margin-bottom: 20px;
}
.steps h3 { font-size: 1.18rem; margin-bottom: 8px; }
.steps p { color: var(--night-ink-2); font-size: 14.5px; margin: 0; }

.method {
  margin-top: 72px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center;
}
.method__shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--night-line); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8); }
.method__copy h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 18px; }
.method__copy p { color: var(--night-ink-2); }
.method__copy strong, .method__copy em { color: var(--night-ink); }

/* planos */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px;
}
.plan h3 { font-size: 1.4rem; }
.plan__for { color: var(--ink-3); font-size: 14.5px; margin: 8px 0 18px; min-height: 2.9em; }
.plan__price { font: 800 1.7rem/1.1 var(--display); letter-spacing: -0.03em; margin: 0 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.plan__price small { display: block; font: 500 12px/1.4 var(--mono); letter-spacing: .06em; color: var(--ink-3); text-transform: uppercase; margin-bottom: 4px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; align-content: start; font-size: 15px; color: var(--ink-2); flex: 1; }
.plan li { display: flex; gap: 10px; }
.plan li::before {
  content: "✓"; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; font-weight: 800; line-height: 1;
  background: var(--brand-soft); color: var(--brand);
}
.plan--hl { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.plan__badge {
  position: absolute; top: -13px; left: 26px; margin: 0;
  font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  background: var(--brand); color: var(--brand-ink); padding: 7px 12px; border-radius: 999px;
}
.plans__note { text-align: center; color: var(--ink-3); font-size: 15px; margin: 32px auto 0; max-width: 60ch; }

/* orçamento */
.quote { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.quote__intro h2 { font-size: clamp(2rem, 4vw, 3rem); }
.quote__promise { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.quote__promise li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.quote__promise li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: var(--wa) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.quote__form {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px; box-shadow: var(--shadow);
}
fieldset { border: 0; margin: 0 0 26px; padding: 0; min-width: 0; }
legend { font: 700 1.05rem/1.2 var(--display); margin-bottom: 14px; padding: 0; }
legend small, .field small { font: 400 13px var(--body); color: var(--ink-3); }
.opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.opts--check { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.opts label { position: relative; cursor: pointer; }
.opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opts span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 8px 10px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: 14.5px; font-weight: 500; line-height: 1.2; transition: all .15s;
}
.opts label:hover span { border-color: var(--brand); }
.opts input:checked + span { background: var(--brand-soft); border-color: var(--brand); color: var(--ink); box-shadow: inset 0 0 0 1px var(--brand); }
.opts input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.field { display: grid; gap: 7px; font-weight: 600; font-size: 14.5px; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--body); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.field input[aria-invalid="true"] { border-color: #D33; }
.quote__err { color: #D33; font-size: 14px; min-height: 0; margin: 0; }
.quote__err:not(:empty) { margin-bottom: 12px; }
.quote__alt { text-align: center; font-size: 14px; color: var(--ink-3); margin: 14px 0 0; }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 56px; align-items: start; }
.faq .sec__head { position: sticky; top: 110px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font: 600 1.13rem/1.35 var(--display); letter-spacing: -0.01em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 26px; height: 26px; margin-top: -13px;
  border-radius: 50%; border: 1px solid var(--line);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 10px 1.6px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.6px 10px no-repeat;
  transition: transform .2s;
}
.faq__list details[open] summary::after { transform: rotate(45deg); background-color: var(--brand-soft); }
.faq__list details p { color: var(--ink-2); margin: -6px 0 24px; max-width: 64ch; }

/* cta final */
.final { background: var(--night); color: var(--night-ink); position: relative; overflow: hidden; }
.final::before {
  content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%;
  background: radial-gradient(closest-side, rgba(63, 209, 176, .28), transparent 70%);
}
.final__in { position: relative; text-align: center; padding: 110px var(--gut); }
.final h2 { font-size: clamp(2.1rem, 5vw, 3.8rem); max-width: 18ch; margin: 0 auto 18px; letter-spacing: -0.04em; }
.final p { color: var(--night-ink-2); font-size: 1.15rem; margin-bottom: 34px; }
.final__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* rodapé */
.foot { background: var(--night); color: var(--night-ink-2); border-top: 1px solid var(--night-line); font-size: 15px; }
.foot .logo { color: var(--night-ink); }
.foot .logo__mark rect { fill: var(--mint); }
.foot .logo__mark path { stroke: #04110E; }
.foot__in { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.foot__brand p { margin: 16px 0 0; }
.foot__muted { color: #6C847D; font-size: 14px; }
.foot__col { display: grid; align-content: start; gap: 10px; }
.foot__col h4 { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--night-ink); margin-bottom: 8px; }
.foot__col a { color: var(--night-ink-2); text-decoration: none; word-break: break-word; }
.foot__col a:hover { color: var(--mint); }
.foot__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 32px; border-top: 1px solid var(--night-line); font-size: 13.5px; }

/* whatsapp flutuante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 12px 30px -8px rgba(29, 170, 82, .7);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

/* janela de projeto */
.case {
  width: min(1080px, calc(100% - 32px)); max-height: calc(100dvh - 40px);
  padding: 0; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); overflow: auto;
}
.case::backdrop { background: rgba(4, 10, 9, .66); backdrop-filter: blur(4px); }
.case[open] { animation: pop .22s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.985); } }
.case__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.case__media { position: relative; background: var(--surface-2); min-height: 320px; display: grid; place-items: center; overflow: hidden; }
.case__media > img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.case__media--phone { padding: 32px 0 0; align-items: end; background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--brand) 26%, var(--surface-2)), var(--surface-2)); }
.case__media--phone > img { width: 52%; height: auto; border-radius: 24px 24px 0 0; border: 6px solid #0B1311; border-bottom: 0; }
.case__media .mock { position: absolute; }
.case__body { padding: 40px 36px 36px; }
.case__seg { font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.case h3 { font-size: 1.9rem; margin-bottom: 12px; }
.case__resumo { color: var(--ink-2); }
.case h4 { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 26px 0 10px; }
.case ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 9px; font-size: 15.5px; }
.case li { display: flex; gap: 10px; }
.case li::before { content: "✓"; color: var(--brand); font-weight: 700; }
.case__ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.case__close {
  position: absolute; right: 14px; top: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer;
}
.case__in { position: relative; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.chips span { font: 500 11.5px/1 var(--mono); color: var(--ink-2); border: 1px solid var(--line); padding: 6px 9px; border-radius: 999px; }

/* revelar ao rolar */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .services, .grid-work { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li::after { display: none; }
  .steps li:last-child { grid-column: 1 / -1; }
  .diffs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diff, .diff:not(:nth-child(3n + 1)) { padding: 30px 28px 30px 0; border-left: 0; }
  .diff:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
}

@media (max-width: 920px) {
  .menu-btn { display: grid; }
  .top__tools { margin-left: auto; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 12px var(--gut) 22px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 12px; font-size: 17px; border-radius: 12px; }
  .nav__cta { margin: 10px 0 0; min-height: 52px; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] span + span { transform: rotate(-45deg); }

  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__stage { max-width: 620px; width: 100%; margin: 0 auto; }
  .pains, .quote, .faq, .method { grid-template-columns: 1fr; gap: 36px; }
  .faq .sec__head { position: static; margin-bottom: 0; }
  .case__in { grid-template-columns: 1fr; }
  .case__media { min-height: 0; aspect-ratio: 16 / 10; }
  .case__media--phone { aspect-ratio: auto; height: 340px; }
  .case__media--phone > img { width: 46%; max-width: 230px; }
}

@media (max-width: 640px) {
  :root { --gut: 16px; }
  body { font-size: 16px; }
  .sec { padding: 72px 0; }
  .sec--tight { padding: 56px 0 8px; }
  .sec__head { margin-bottom: 36px; }
  .hero { padding-top: 32px; }
  .hero__grid { padding-bottom: 48px; }
  .hero__ctas .btn { width: 100%; }
  .proof { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .proof dd { font-size: 1.6rem; }
  .proof dt { font-size: 12px; line-height: 1.3; }
  .chip { font-size: 12px; padding: 8px 10px; }
  .chip b { font-size: 14px; }
  .chip--a { left: 0; top: 4%; }
  .chip--b { left: 2%; }
  .services, .grid-work, .plans, .steps, .diffs { grid-template-columns: 1fr; }
  .diff, .diff:nth-child(even), .diff:not(:nth-child(3n + 1)) { padding: 26px 0; border-left: 0; }
  .pains__list { grid-template-columns: 1fr; }
  .filters { width: 100%; justify-content: space-between; }
  .filters button { padding: 10px 11px; font-size: 14px; flex: 1; justify-content: center; }
  .quote__form { padding: 22px 18px; }
  .opts, .opts--check { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fields { grid-template-columns: 1fr; }
  .final__in { padding: 80px var(--gut); }
  .final__ctas .btn { width: 100%; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .case { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .case__body { padding: 28px 20px 24px; }
  .case h3 { font-size: 1.55rem; }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .btn { white-space: normal; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
