/* =========================================================
   N1VO Partners — site institucional
   Celular primeiro. Cores e fontes da apresentação comercial.
   ========================================================= */

:root {
  --ink: #141414;          /* fundo escuro */
  --paper: #F7F6F2;        /* fundo claro / off-white da marca */
  --warm: #DCD9D3;         /* cinza quente: blocos, divisórias */
  --muted-l: #4A4A4A;      /* texto de apoio no claro */
  --muted-d: #BDBAB3;      /* texto de apoio no escuro */
  --bronze: #B08D57;       /* só botões, números e destaques curtos */
  --bronze-hi: #C7A472;

  --line-d: rgba(247, 246, 242, .10);
  --line-d2: rgba(247, 246, 242, .18);
  --line-l: rgba(20, 20, 20, .14);
  --glass: rgba(247, 246, 242, .035);
  --glass-2: rgba(247, 246, 242, .06);

  --serif: "EB Garamond", "Garamond", "Times New Roman", serif;
  --sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;

  --gutter: 20px;
  --max: 1240px;
  --header-h: 64px;
  --sec-y: clamp(88px, 13vw, 168px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

@media (min-width: 760px) { :root { --gutter: 40px; --header-h: 76px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }

.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i-lg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- tipografia ---------- */
.label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted-d);
}
h2 {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 6.4vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -.012em;
  text-wrap: balance;
}
h3 {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  line-height: 1.15;
}
.body-l { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.65; max-width: 34em; }
.dark .body-l, .dark p { color: var(--muted-d); }
.light .body-l, .light p { color: var(--muted-l); }

/* ---------- seções ---------- */
.section { position: relative; padding: var(--sec-y) 0; }
.dark { background: var(--ink); color: var(--paper); }
.light { background: var(--paper); color: var(--ink); }
.dark + .dark { border-top: 1px solid var(--line-d); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  background: var(--bronze); color: var(--ink);
  font-family: var(--sans); font-weight: 500; font-size: 16px; letter-spacing: .01em;
  text-decoration: none; border: 0; border-radius: 2px; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(176, 141, 87, .6), 0 14px 40px -14px rgba(176, 141, 87, .75);
  transition: background .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--bronze-hi); box-shadow: 0 0 0 1px rgba(199, 164, 114, .8), 0 18px 50px -12px rgba(176, 141, 87, .9); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; box-shadow: 0 0 0 1px rgba(176, 141, 87, .6); }
.btn-sm:hover { box-shadow: 0 0 0 1px rgba(199, 164, 114, .8); }
.btn-dark { background: var(--ink); color: var(--paper); box-shadow: none; }
.btn-dark:hover { background: #2a2a2a; box-shadow: none; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 16px; color: var(--paper); text-decoration: none;
  border-bottom: 1px solid var(--line-d2);
  transition: border-color .2s, color .2s;
}
.link-arrow:hover { border-color: var(--bronze); color: var(--bronze-hi); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

/* ---------- menu fixo ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled, .site-header.open {
  background: rgba(20, 20, 20, .94);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-d);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: block; margin-right: auto; }
.brand img { width: 148px; height: auto; }
@media (min-width: 760px) { .brand img { width: 168px; } }

.nav { display: none; }
.nav a {
  font-size: 15px; color: var(--muted-d); text-decoration: none;
  padding: 6px 0; transition: color .2s;
}
.nav a:hover { color: var(--paper); }

.nav-toggle {
  width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer;
  display: grid; place-content: center; gap: 7px;
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--paper); transition: transform .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

@media (max-width: 959px) {
  .site-header .btn-sm { display: none; }
  .site-header.open .nav {
    display: flex; flex-direction: column;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    padding: 12px var(--gutter) 28px;
    background: var(--ink);
    min-height: calc(100svh - var(--header-h));
    border-bottom: 1px solid var(--line-d);
  }
  .site-header.open .nav a { font-family: var(--serif); font-size: 28px; color: var(--paper); padding: 10px 0; border-bottom: 1px solid var(--line-d); }
}
@media (min-width: 960px) {
  .nav { display: flex; gap: 32px; margin-right: 12px; }
  .nav-toggle { display: none; }
}

/* =========================================================
   1. TOPO
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 72px;
  min-height: 100svh;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-fine {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-d) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-d) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .45;
  -webkit-mask-image: radial-gradient(120% 70% at 30% 20%, #000 0%, transparent 70%);
  mask-image: radial-gradient(120% 70% at 30% 20%, #000 0%, transparent 70%);
}
.grid-floor {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 70%;
  background-image:
    linear-gradient(rgba(176, 141, 87, .28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(176, 141, 87, .28) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(600px) rotateX(68deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 85%);
  mask-image: linear-gradient(to top, #000 0%, transparent 85%);
  opacity: .55;
  animation: floor 14s linear infinite;
}
@keyframes floor { to { background-position: 0 64px, 0 0; } }
.glow {
  position: absolute; width: 70vmax; height: 70vmax; right: -25vmax; bottom: -30vmax;
  background: radial-gradient(closest-side, rgba(176, 141, 87, .22), transparent);
  filter: blur(10px);
}
.hero .wrap { position: relative; }

.hero-label { margin-bottom: 26px; }
@media (max-width: 420px) {
  .hero-label { font-size: 10.5px; letter-spacing: .13em; }
  .actions .btn { width: 100%; padding: 14px 16px; font-size: 15.5px; }
}
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 9.2vw, 5.5rem);
  line-height: .98;
  letter-spacing: -.022em;
  margin-bottom: 36px;
}
.hero-title .line { display: inline; }
@media (min-width: 760px) {
  .hero-title { font-size: clamp(3.1rem, 5.5vw, 5.6rem); line-height: 1; margin-bottom: 56px; }
  .hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
  .hero-title .line > span { display: inline-block; white-space: nowrap; }
}

.hero-grid { display: grid; gap: 48px; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.6; color: var(--muted-d); max-width: 30em; margin-bottom: 32px; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
  .hero-copy { padding-top: 8px; }
}
/* No desktop largo, o painel sobe para o lado da última linha do título (camadas) */
@media (min-width: 1200px) {
  .hero-title { margin-bottom: 40px; }
  .hero-copy { padding-top: 20px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); }
  .hero .dash { margin-top: -110px; }
}

/* Entrada orquestrada do topo (único momento automático) */
.js .hero-label, .js .hero-copy { opacity: 0; transform: translateY(14px); animation: rise .9s var(--ease) forwards; }
.js .hero-label { animation-delay: .05s; }
.js .hero-copy { animation-delay: .75s; }
.js .hero-title .line > span { opacity: 0; transform: translateY(40%); animation: rise 1s var(--ease) forwards; }
.js .hero-title .line:nth-child(1) > span { animation-delay: .15s; }
.js .hero-title .line:nth-child(2) > span { animation-delay: .27s; }
.js .hero-title .line:nth-child(3) > span { animation-delay: .39s; }
@media (max-width: 759px) {
  .js .hero-title .line > span { transform: none; }
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- mockups (vidro) ---------- */
.mock {
  position: relative; margin: 0;
  background: linear-gradient(180deg, rgba(247, 246, 242, .06), rgba(247, 246, 242, .02));
  border: 1px solid var(--line-d2);
  border-radius: 10px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(247, 246, 242, .08);
  font-family: var(--sans);
  overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px; border-bottom: 1px solid var(--line-d);
  font-size: 12px; color: var(--muted-d);
}
.mock-dots { display: flex; gap: 5px; }
.mock-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-d2); }
.mock-title { color: var(--paper); font-weight: 500; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-live { margin-left: auto; display: none; align-items: center; gap: 6px; white-space: nowrap; }
.mock-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--bronze); box-shadow: 0 0 0 0 rgba(176, 141, 87, .6); animation: ping 2.4s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(176, 141, 87, 0); } 100% { box-shadow: 0 0 0 0 rgba(176, 141, 87, 0); } }
@media (min-width: 420px) { .mock-live { display: inline-flex; } }

.dash { box-shadow: 0 50px 120px -50px rgba(0, 0, 0, .9), 0 0 0 1px rgba(176, 141, 87, .08), 0 30px 90px -40px rgba(176, 141, 87, .35); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line-d); }
.kpi { padding: 16px 14px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kpi + .kpi { border-left: 1px solid var(--line-d); }
.kpi-l { font-size: 11px; letter-spacing: .04em; color: var(--muted-d); }
.kpi-v { font-family: var(--serif); font-weight: 500; font-size: clamp(1.05rem, 4.4vw, 1.75rem); color: var(--paper); line-height: 1.1; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.kpi-d { font-size: 11px; color: var(--muted-d); }
.kpi-d.up { color: var(--bronze-hi); }
@media (min-width: 960px) { .kpi-v { font-size: clamp(1.3rem, 1.9vw, 1.9rem); } .kpi { padding: 18px 20px; } }

.chart { padding: 14px 16px 6px; }
.chart-head { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted-d); margin-bottom: 8px; }
.chart-meta { display: inline-flex; align-items: center; gap: 6px; }
.chart-meta i { width: 14px; border-top: 1px dashed var(--muted-d); }
.chart svg { width: 100%; height: 110px; overflow: visible; }
.chart .gridline { stroke: var(--line-d); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart .meta-line { stroke: var(--muted-d); stroke-dasharray: 4 4; stroke-width: 1; opacity: .6; vector-effect: non-scaling-stroke; }
.chart .area { fill: url(#area); opacity: 0; transition: opacity 1.2s .9s; }
.chart .stroke { fill: none; stroke: var(--bronze); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.js .chart .stroke { clip-path: inset(0 100% 0 0); transition: clip-path 1.8s .3s var(--ease); }
.js .in .chart .stroke { clip-path: inset(0 0 0 0); }

.indicator { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 16px 16px; border-top: 1px solid var(--line-d); }
.indicator-v { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; color: var(--paper); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }

/* desenho: linhas que se desenham ao aparecer */
.draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .draw { stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s .3s var(--ease); }
.js .in .draw, .js .draw.in { stroke-dashoffset: 0; }
.js .in .chart .area { opacity: 1; }

/* revelar ao rolar (discreto) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .chart .area { opacity: 0; }

/* =========================================================
   2. VOCÊ SE RECONHECE?
   ========================================================= */
.sym-head { display: grid; gap: 18px; margin-bottom: 44px; }
.sym-head h2 { max-width: 14em; }
.hint { font-size: 15px; }
.symptoms { border-top: 1px solid var(--line-l); }
.sym {
  width: 100%; display: flex; align-items: flex-start; gap: 18px;
  padding: 24px 0; background: none; border: 0; border-bottom: 1px solid var(--line-l);
  text-align: left; cursor: pointer;
  font-family: var(--serif); font-size: clamp(1.4rem, 3.6vw, 2.35rem); line-height: 1.2; color: var(--ink);
  transition: color .3s;
}
.sym:hover .tick { border-color: var(--ink); }
.tick {
  flex: none; width: 30px; height: 30px; margin-top: .12em;
  border: 1px solid rgba(20, 20, 20, .35); border-radius: 50%;
  display: grid; place-items: center;
  transition: background .3s var(--ease), border-color .3s;
}
.tick svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .35s var(--ease); }
.sym[aria-pressed="true"] .tick { background: var(--bronze); border-color: var(--bronze); }
.sym[aria-pressed="true"] .tick svg { stroke-dashoffset: 0; }

.sym-close { margin-top: 40px; display: grid; gap: 22px; justify-items: start; }
.sym-close p { font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 1.8rem); color: var(--ink); line-height: 1.3; max-width: 22em; }
@media (min-width: 960px) {
  .sym-head { grid-template-columns: 1fr auto; align-items: end; }
  .sym-close { grid-template-columns: 1fr auto; align-items: center; }
}

/* =========================================================
   3. COMO PENSAMOS
   ========================================================= */
.rule-grid { display: grid; gap: 48px; }
.rule-copy .label { margin-bottom: 22px; }
.rule-copy h2 { margin-bottom: 28px; max-width: 11em; }

.field { position: relative; margin: 0; }
.field svg { width: 100%; height: auto; overflow: visible; }
.field-dots { opacity: .32; transition: opacity 1.4s .3s var(--ease); }
.in .field-dots { opacity: .2; }
.field .other { fill: var(--paper); opacity: .38; transition: opacity 1.4s .3s; }
.in .field .other { opacity: .2; }
.field .chosen { fill: var(--bronze); }
.field .ring { fill: none; stroke: var(--bronze); stroke-width: 1; opacity: .7; transform-origin: 225px 105px; animation: pulse 3.2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.field .halo { opacity: .25; transition: opacity 1.4s .5s; }
.in .field .halo { opacity: 1; }
.field .leader { fill: none; stroke: var(--bronze); stroke-width: 1; }
.js .field .leader { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s 1s var(--ease); }
.js .field.in .leader { stroke-dashoffset: 0; }
.field-tag { position: absolute; right: 0; top: 17.3%; transform: translateY(-100%); padding-bottom: 6px; }
.field-tag span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-hi); font-weight: 500; }
.js .field-tag { opacity: 0; transition: opacity .6s 1.9s; }
.js .field.in .field-tag { opacity: 1; }

.contrasts { display: grid; gap: 0; border-top: 1px solid var(--line-d); }
.contrasts li { padding: 26px 0; border-bottom: 1px solid var(--line-d); display: grid; gap: 6px; }
.contrasts h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); text-wrap: balance; }
@media (min-width: 960px) {
  .rule-grid { grid-template-columns: 1.1fr 1fr; column-gap: 80px; row-gap: 72px; align-items: center; }
  .contrasts { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .contrasts li { padding: 28px 32px 0 0; border-bottom: 0; border-top: 1px solid var(--line-d2); }
  .contrasts li + li { padding-left: 32px; border-left: 1px solid var(--line-d); }
}

/* =========================================================
   4. ONDE ATUAMOS
   ========================================================= */
.areas-sec { overflow: hidden; }
.areas-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(247, 246, 242, .22) 1.3px, transparent 1.6px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(80% 60% at 70% 30%, #000, transparent 75%);
  mask-image: radial-gradient(80% 60% at 70% 30%, #000, transparent 75%);
  opacity: .7;
}
.areas-sec .wrap { position: relative; }
.areas-head { margin-bottom: 56px; }
.areas-head .label { margin-bottom: 22px; }
.areas-head h2 { max-width: 15em; }
.areas { display: grid; gap: 0; }
.area { position: relative; padding: 40px 0 36px; border-top: 1px solid var(--line-d2); }
.area-dot {
  position: absolute; left: 0; top: -6px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--bronze);
  box-shadow: 0 0 0 5px rgba(176, 141, 87, .14), 0 0 30px 6px rgba(176, 141, 87, .45);
}
.area-dot::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 1px solid var(--bronze); opacity: 0;
  animation: dotpulse 3.6s var(--ease) infinite;
}
.area:nth-child(2) .area-dot::after { animation-delay: 1.2s; }
.area:nth-child(3) .area-dot::after { animation-delay: 2.4s; }
@keyframes dotpulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(2); opacity: 0; } }
.area .i-lg { color: var(--bronze); margin-bottom: 18px; }
.area h3 {
  font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--paper); margin-bottom: 14px;
}
.area li {
  padding: 12px 0; border-bottom: 1px solid var(--line-d);
  font-family: var(--serif); font-size: clamp(1.2rem, 1.9vw, 1.4rem); line-height: 1.3; color: var(--paper);
}
.area li:last-child { border-bottom: 0; }
.areas-close {
  margin-top: 48px; max-width: 30em;
  font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 1.8rem); line-height: 1.3;
}
.dark .areas-close { color: var(--paper); }
@media (min-width: 900px) {
  .areas { grid-template-columns: repeat(3, 1fr); gap: 48px; }
  .area { padding-right: 8px; }
  .areas-close { margin-top: 64px; }
}

/* =========================================================
   6. O QUE VOCÊ RECEBE
   ========================================================= */
.sec-head-narrow { max-width: 13em; margin-bottom: 56px; }
.deliverables { display: grid; gap: 56px; }
.deliv { display: flex; flex-direction: column; }
.deliv .mock { flex: 1; }
.deliv h3 { margin: 26px 0 8px; }
.mini { min-height: 260px; }
.mini-rows { padding: 8px 16px 16px; }
.mini-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 12px 0; border-bottom: 1px solid var(--line-d); font-size: 13px; color: var(--muted-d); }
.mini-row:last-child { border-bottom: 0; }
.mini-row b { font-family: var(--serif); font-weight: 500; font-size: 20px; color: var(--paper); font-variant-numeric: lining-nums tabular-nums; }
.mini-row .bar { grid-column: 1 / -1; height: 3px; background: var(--line-d); position: relative; overflow: hidden; border-radius: 2px; }
.mini-row .bar::after { content: ""; position: absolute; inset: 0; width: calc(var(--w) * 100%); background: var(--bronze); transform-origin: left; transition: transform 1.3s .3s var(--ease); }
.mini-row .bar.warn::after { background: var(--muted-d); }
.js .mini-row .bar::after { transform: scaleX(0); }
.js .in .mini-row .bar::after { transform: scaleX(1); }

.flow { position: relative; padding: 18px 16px 18px 46px; }
.flow::before { content: ""; position: absolute; left: 25px; top: 30px; bottom: 30px; width: 1px; background: var(--bronze); transform-origin: top; }
.js .flow::before { transform: scaleY(0); transition: transform 1.6s .3s var(--ease); }
.js .in .flow::before { transform: scaleY(1); }
.flow li { position: relative; padding: 9px 0; display: grid; gap: 2px; }
.flow .node { position: absolute; left: -26px; top: 15px; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 1px solid var(--bronze); transition: background .3s calc(.4s + var(--d) * .4s); }
.js .in .flow .node { background: var(--bronze); }
.f-name { color: var(--paper); font-size: 15px; }
.f-meta { font-size: 12px; color: var(--muted-d); }

.cal {
  display: grid;
  grid-template-columns: 30px repeat(5, 1fr);
  grid-template-rows: 24px repeat(16, 13px);
  column-gap: 4px;
  padding: 14px 16px 18px;
  position: relative;
}
.cal::before {
  content: ""; position: absolute; left: 50px; right: 16px; top: 38px; height: 208px;
  background-image: linear-gradient(var(--line-d) 1px, transparent 1px);
  background-size: 100% 52px;
}
.cal-d { grid-row: 1; font-size: 11px; color: var(--muted-d); text-align: center; letter-spacing: .04em; }
.cal-h { grid-column: 1; font-size: 10px; color: var(--muted-d); line-height: 1; transform: translateY(-4px); }
.cal-ev { border-radius: 3px; background: rgba(247, 246, 242, .07); border: 1px solid var(--line-d); margin: 1px 0; }
.cal-main {
  position: relative; z-index: 1; margin: 1px 0; border-radius: 3px;
  background: var(--bronze);
  box-shadow: 0 0 0 1px rgba(199, 164, 114, .7), 0 10px 28px -8px rgba(176, 141, 87, .8);
  transform-origin: top; transition: transform .7s .3s var(--ease);
}
.cal-tag {
  position: relative; z-index: 2; align-self: center; justify-self: start;
  margin-left: 8px; padding: 6px 10px;
  background: var(--ink); border: 1px solid var(--bronze); border-radius: 3px;
  font-size: 11px; line-height: 1.2; color: var(--muted-d); white-space: nowrap;
  transition: opacity .5s .9s;
}
.cal-tag::before {
  content: ""; position: absolute; left: -5px; top: 50%; width: 8px; height: 8px;
  background: var(--ink); border-left: 1px solid var(--bronze); border-bottom: 1px solid var(--bronze);
  transform: translateY(-50%) rotate(45deg);
}
.cal-tag b { font-weight: 500; color: var(--paper); }
.js .cal-main { transform: scaleY(0); }
.js .in .cal-main { transform: none; }
.js .cal-tag { opacity: 0; }
.js .in .cal-tag { opacity: 1; }

@media (min-width: 960px) {
  .deliverables { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .deliv:nth-child(2) { transform: translateY(40px); }
  .js .deliv:nth-child(2)[data-reveal] { transform: translateY(58px); }
  .js .deliv:nth-child(2)[data-reveal].in { transform: translateY(40px); }
}

/* =========================================================
   O QUE ACREDITAMOS
   ========================================================= */
.light .label { color: var(--muted-l); }
.beliefs-head { margin-bottom: 48px; }
.beliefs-head .label { margin-bottom: 22px; }
.beliefs-head h2 { max-width: 13em; }
.beliefs { display: grid; gap: 16px; }
.belief {
  background: rgba(220, 217, 211, .55);
  border-top: 1px solid var(--ink);
  padding: 28px 24px 32px;
  display: grid; align-content: start; gap: 14px;
}
.belief h3 { font-size: clamp(1.55rem, 2.6vw, 2rem); text-wrap: balance; }
.link-quiet {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 32px;
  font-size: 15px; color: var(--muted-l); text-decoration: none;
  border-bottom: 1px solid var(--line-l); transition: color .2s, border-color .2s;
}
.link-quiet:hover { color: var(--ink); border-color: var(--ink); }
@media (min-width: 900px) {
  .beliefs { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .belief { padding: 36px 32px 40px; }
}

/* =========================================================
   7. COMPROMISSOS
   ========================================================= */
.commits { display: grid; gap: 0; border-top: 1px solid var(--line-d); }
.commits li { padding: 30px 0; border-bottom: 1px solid var(--line-d); display: grid; grid-template-columns: 30px 1fr; column-gap: 20px; row-gap: 8px; }
.commits .i-lg { grid-row: span 2; color: var(--bronze); }
@media (min-width: 760px) {
  .commits { grid-template-columns: 1fr 1fr; border-top: 0; }
  .commits li { padding: 36px 40px 36px 0; border-top: 1px solid var(--line-d); border-bottom: 0; }
  .commits li:nth-child(even) { padding-left: 40px; border-left: 1px solid var(--line-d); }
}

/* =========================================================
   8. PERGUNTAS FREQUENTES
   ========================================================= */
.faq-grid { display: grid; gap: 40px; }
.faq { border-top: 1px solid var(--line-l); }
.faq details { border-bottom: 1px solid var(--line-l); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0;
  font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.25; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.pm { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid var(--line-l); border-radius: 50%; transition: background .3s, border-color .3s; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .3s var(--ease), background .3s; }
.pm::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .pm { background: var(--ink); border-color: var(--ink); }
details[open] .pm::before, details[open] .pm::after { background: var(--paper); }
details[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details p { padding: 0 0 26px; max-width: 36em; }
@media (min-width: 760px) { .faq details p { padding-right: 54px; } }
.faq summary:hover .pm { border-color: var(--ink); }
@media (min-width: 960px) {
  .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
  .faq-grid h2 { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* =========================================================
   9. CHAMADA FINAL + FORMULÁRIO
   ========================================================= */
.final { overflow: hidden; }
.final-bg { position: absolute; inset: 0; pointer-events: none; }
.final-bg .glow { left: -30vmax; right: auto; bottom: -40vmax; }
.final-bg .grid-floor { animation-duration: 20s; opacity: .35; }
.final .wrap { position: relative; display: grid; gap: 64px; }
.final-head h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.05; margin-bottom: 24px; max-width: 13em; }
.final-head .body-l { margin-bottom: 36px; }

.form-wrap {
  scroll-margin-top: calc(var(--header-h) + 16px);
  background: rgba(20, 20, 20, .6);
  border: 1px solid var(--line-d2);
  border-radius: 10px;
  padding: 28px 20px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.form-wrap h3 { margin-bottom: 8px; }
.form-sub { font-size: 15px; margin-bottom: 24px; }
.form { display: grid; gap: 18px; }
.field-row { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field-row label, .field-row legend { font-size: 14px; color: var(--paper); padding: 0; }
.opt { color: var(--muted-d); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: rgba(247, 246, 242, .04); color: var(--paper);
  border: 1px solid var(--line-d2); border-radius: 3px;
  font: inherit; font-size: 16px;
  transition: border-color .2s, background .2s;
}
.form textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.form input::placeholder, .form textarea::placeholder { color: rgba(189, 186, 179, .55); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--bronze); background: rgba(247, 246, 242, .07); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--line-d2); border-radius: 999px; font-size: 15px; color: var(--muted-d);
  transition: all .2s;
}
.chips input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.chips input:focus-visible + span { outline: 2px solid var(--bronze); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px !important; color: var(--muted-d) !important; line-height: 1.5; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--bronze); }
.check a { color: var(--paper); }
.err { display: none; font-size: 13px; color: #E4B98A; }
.field-row.invalid .err { display: block; }
.field-row.invalid input[type="text"], .field-row.invalid input[type="email"], .field-row.invalid input[type="tel"] { border-color: #E4B98A; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-status { font-size: 14px; min-height: 1em; }
.form-status.error { color: #E4B98A; }
.form-done { display: grid; gap: 14px; justify-items: start; padding: 8px 0; }
.form-done .i-lg { color: var(--bronze); width: 40px; height: 40px; }
.form-done p { font-family: var(--serif); font-size: 1.6rem; line-height: 1.25; color: var(--paper); }
.form-done:focus { outline: none; }

@media (min-width: 960px) {
  .final .wrap { grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: start; }
  .form-wrap { padding: 36px 36px 32px; }
  .final-head { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* =========================================================
   10. RODAPÉ
   ========================================================= */
.footer { background: var(--ink); border-top: 1px solid var(--line-d); padding: 56px 0 calc(100px + env(safe-area-inset-bottom)); color: var(--muted-d); font-size: 15px; }
.foot-top { display: grid; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--line-d); }
.foot-brand img { width: 172px; height: auto; margin-bottom: 14px; }
.foot-brand p { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--paper); }
.foot-contacts { display: grid; gap: 10px; }
.foot-contacts a, .foot-social a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 40px; transition: color .2s; }
.foot-contacts a:hover, .foot-social a:hover { color: var(--paper); }
.foot-social { display: flex; gap: 8px; }
.foot-social a { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line-d2); border-radius: 50%; }
.foot-social a:hover { border-color: var(--bronze); }
.foot-bottom { display: grid; gap: 8px; padding-top: 24px; font-size: 13px; }
.foot-bottom a { color: var(--paper); }
@media (min-width: 860px) {
  .foot-top { grid-template-columns: 1.4fr 1fr auto; align-items: start; }
  .foot-bottom { grid-template-columns: 1fr auto; }
}

/* ---------- WhatsApp flutuante (celular) ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bronze); color: var(--ink);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6), 0 0 0 1px rgba(176, 141, 87, .6);
  transition: transform .3s var(--ease), opacity .3s;
}
.wa-float svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wa-float:active { transform: scale(.95); }
@media (min-width: 960px) { .wa-float { display: none; } .footer { padding-bottom: 40px; } }

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .hero-label, .js .hero-copy, .js .hero-title .line > span { opacity: 1 !important; transform: none !important; }
  .js .draw, .js .field .leader { stroke-dashoffset: 0 !important; }
  .js .mini-row .bar::after, .js .cal-main { transform: none !important; }
  .js .cal-tag { opacity: 1 !important; }
  .js .flow::before { transform: none !important; }
  .js .chart .area, .js .field-tag { opacity: 1 !important; }
  .js .chart .stroke { clip-path: none !important; }
  .js .flow .node { background: var(--bronze); }
  .field .ring { opacity: .5; }
}

/* ---------- página interna (política) ---------- */
.doc { padding: calc(var(--header-h) + 64px) 0 96px; background: var(--paper); color: var(--ink); }
.doc .wrap { max-width: calc(760px + 2 * var(--gutter)); }
.doc h1 { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.05; margin-bottom: 12px; }
.doc .updated { color: var(--muted-l); font-size: 15px; margin-bottom: 48px; }
.doc h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 44px 0 14px; }
.doc p, .doc li { color: var(--muted-l); line-height: 1.7; }
.doc p + p { margin-top: 14px; }
.doc ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-top: 10px; }
.doc a { color: var(--ink); }
.doc .back { display: inline-block; margin-top: 56px; }
.site-header.solid { background: rgba(20, 20, 20, .92); border-bottom-color: var(--line-d); }
