/* ============================================================
   Datalab — v2  ·  paleta clean: branco, offwhite, cinza, verde
   ============================================================ */

:root {
  --white: #ffffff;
  --offwhite: #f4f3ef;
  --mist: #e9e8e2;
  --ink: #232722;
  --gray: #6e6d68;
  --gray-soft: #a9a8a1;
  --line-l: #e4e2da;
  --green: #2c5545;
  --green-mid: #3f6b58;
  --green-deep: #1d3a2f;
  --green-ink: #142a22;
  --sage: #a9bcb0;
  --mint: #9fd0b4;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "Roboto Mono", Menlo, Consolas, monospace;
  --r-lg: 22px;
  --r-md: 16px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* Temas por seção */
.section--light { --bg: var(--white);    --fg: var(--ink);  --muted: var(--gray); --line: var(--line-l); --rule: rgba(35,39,34,.22); --tile: #f1f0ea; --card: var(--white); --card-solid: var(--white); --accent-text: var(--green); }
.section--off   { --bg: var(--offwhite); --fg: var(--ink);  --muted: var(--gray); --line: var(--line-l); --rule: rgba(35,39,34,.22); --tile: var(--white); --card: var(--white); --card-solid: var(--white); --accent-text: var(--green); }
.section--mist  { --bg: var(--mist);     --fg: var(--ink);  --muted: #67665f;     --line: #d9d7ce;        --rule: rgba(35,39,34,.22); --tile: var(--white); --card: var(--white); --card-solid: var(--white); --accent-text: var(--green); }
.section--green { --bg: var(--green-deep); --fg: #eef2ee;   --muted: var(--sage); --line: rgba(255,255,255,.14); --rule: rgba(255,255,255,.3); --tile: rgba(255,255,255,.08); --card: rgba(255,255,255,.05); --card-solid: #224236; --accent-text: var(--mint); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
svg { display: block; }
img { max-width: 100%; }
::selection { background: var(--green); color: #fff; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.section { position: relative; background: var(--bg); color: var(--fg); padding: 130px 0; overflow: hidden; }

/* Texturas geométricas da marca (ecos do logo) — só nas seções verdes */
.section[data-tex]::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--teximg); background-size: cover; background-position: center;
  opacity: .6;
}
.section[data-tex="green-a"] { --teximg: url("assets/tex-green-a.svg"); }
.section[data-tex="green-b"] { --teximg: url("assets/tex-green-b.svg"); }
.section > .container { position: relative; z-index: 1; }

/* Grão fino sobre tudo */
.grain {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Barra de progresso de rolagem */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--green), var(--green-mid)); z-index: 100; }

/* ---------- Tipografia ---------- */
h1, h2 { font-weight: 600; letter-spacing: -.05em; line-height: .98; }
h1 { font-size: clamp(3rem, 7.4vw, 6rem); }
h2 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); }
h1 em, h2 em { font-style: normal; color: var(--accent-text); position: relative; }
h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }

.label { display: flex; align-items: center; gap: 12px; font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.wm { font-family: var(--mono); font-size: .76rem; font-weight: 600; letter-spacing: .04em; color: var(--accent-text); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 46ch; }

/* ---------- Botões ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; justify-content: center; padding: 15px 28px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-size: .96rem; font-weight: 600; cursor: pointer; transition: transform .25s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .25s; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 10px 30px -14px rgba(44,85,69,.55); }
.btn--primary:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(44,85,69,.6); }
.btn--line { border-color: var(--rule); color: var(--fg); }
.btn--line:hover { border-color: var(--fg); background: rgba(35,39,34,.04); transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn__dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; opacity: .6; transition: transform .3s var(--ease); }
.btn--primary:hover .btn__dot { transform: translateX(3px) scale(1.2); opacity: .9; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.5rem; letter-spacing: -.045em; color: var(--ink); }
.logo__mark { width: 26px; height: 26px; flex-shrink: 0; }
.logo__mark path { fill: var(--green); transform-origin: center; transition: transform .4s var(--ease); }
.logo:hover .logo__mark path:nth-child(1) { transform: translate(-1px,-1px); }
.logo:hover .logo__mark path:nth-child(2) { transform: translate(1px,-1px); }
.logo:hover .logo__mark path:nth-child(3) { transform: translate(-1px,1px); }
.logo:hover .logo__mark path:nth-child(4) { transform: translate(1px,1px); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 90; background: rgba(244,243,239,.85); backdrop-filter: blur(14px) saturate(1.1); border-bottom: 1px solid transparent; transition: border-color .25s, background .25s; }
.nav.scrolled { border-color: rgba(35,39,34,.08); background: rgba(255,255,255,.92); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav__links { display: flex; align-items: center; gap: 32px; font-size: .95rem; }
.nav__links a { position: relative; color: var(--gray); transition: color .2s; }
.nav__links a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1.5px; background: var(--green); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.nav__links a:not(.nav__cta):hover { color: var(--ink); }
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__links .nav__cta { color: #fff; background: var(--green); padding: 10px 20px; border-radius: 999px; font-weight: 600; transition: background .2s, transform .2s; }
.nav__links .nav__cta:hover { color: #fff; background: var(--green-deep); transform: translateY(-1px); }
.nav__toggle { display: none; width: 42px; height: 42px; background: none; border: 1px solid rgba(35,39,34,.14); border-radius: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; }
.nav__toggle span { display: block; width: 20px; height: 1.6px; background: var(--ink); margin-inline: auto; transition: transform .3s var(--ease), opacity .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 66px 0 96px; overflow: hidden; }
.hero__label { margin-bottom: 30px; }

.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; padding-bottom: 20px; }
.hero__text h1 { max-width: 15ch; }
.hero__lead { font-size: 1.22rem; color: var(--muted); max-width: 50ch; margin-top: 26px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 44px; }
.hero__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; border-top: 1px solid var(--rule); padding-top: 22px; max-width: 560px; }
.hero__facts dt, .facts dt { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin-bottom: 5px; font-family: var(--mono); }
.hero__facts dd { font-size: .96rem; }

/* Funil ao vivo */
.funnel { background: var(--card-solid); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: 0 30px 60px -40px rgba(35,39,34,.35); }
.funnel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .78rem; color: var(--muted); font-family: var(--mono); padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.funnel__title { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); font-weight: 600; font-family: var(--sans); font-size: .92rem; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #3f9d6f; box-shadow: 0 0 0 0 rgba(63,157,111,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63,157,111,.5); } 70% { box-shadow: 0 0 0 8px rgba(63,157,111,0); } 100% { box-shadow: 0 0 0 0 rgba(63,157,111,0); } }

.funnel__kpis { display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid var(--line); }
.funnel__kpis div { padding: 16px 0; }
.funnel__kpis div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.funnel__kpis span { display: block; font-size: .7rem; color: var(--muted); font-weight: 600; letter-spacing: .07em; font-family: var(--mono); }
.funnel__kpis b { font-weight: 600; font-size: 1.5rem; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }

.funnel__stages { display: grid; gap: 11px; padding: 20px 0 6px; }
.funnel__stages li { display: grid; grid-template-columns: 96px 1fr 52px; align-items: center; gap: 12px; font-size: .88rem; }
.s-name { color: var(--muted); }
.s-bar { display: block; height: 10px; width: var(--w); background: var(--green); border-radius: 5px; transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-out); }
.funnel.in .s-bar { transform: scaleX(1); }
.funnel__stages li:nth-child(2) .s-bar { background: var(--green-mid); transition-delay: .08s; }
.funnel__stages li:nth-child(3) .s-bar { background: #6f8d7e; transition-delay: .16s; }
.funnel__stages li:nth-child(4) .s-bar { background: var(--sage); transition-delay: .24s; }
.funnel__stages li:nth-child(5) .s-bar { background: #c9d6cd; transition-delay: .32s; }
.s-val { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; font-family: var(--mono); font-size: .86rem; }
.funnel__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .82rem; color: var(--muted); }
.funnel__foot b { font-size: 1.15rem; color: var(--accent-text); font-variant-numeric: tabular-nums; font-family: var(--mono); }
.funnel__note { margin-top: 12px; font-size: .72rem; color: var(--muted); font-family: var(--mono); }

/* ---------- Cabeçalho de seção ---------- */
.head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: end; margin-bottom: 76px; }
.head > p { color: var(--muted); font-size: 1.06rem; max-width: 46ch; }

/* ---------- Problemas (vazamentos) ---------- */
.leaks { border-top: 1px solid var(--rule); }
.leak { display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 24px; padding: 26px 12px 26px 0; border-bottom: 1px solid var(--line); transition: background .3s var(--ease), padding-left .3s var(--ease); }
.leak:hover { background: rgba(44,85,69,.05); padding-left: 12px; }
.leak__n { font-family: var(--mono); font-size: 1rem; font-weight: 600; color: var(--accent-text); }
.leak h3 { font-size: 1.4rem; font-weight: 600; letter-spacing: -.03em; margin-bottom: 4px; }
.leak p { color: var(--muted); font-size: .98rem; max-width: 52ch; }
.leak__tag { font-family: var(--mono); font-size: .78rem; color: var(--accent-text); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.leak:hover .leak__tag { background: var(--green); color: #fff; border-color: var(--green); }

/* ---------- Soluções (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(12,1fr); gap: 18px; }
.card { grid-column: span 5; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; overflow: hidden; transition: transform .35s var(--ease), border-color .3s, background .3s; }
.card--wide { grid-column: span 7; }
.card--banner { grid-column: span 12; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.08); }
.tile { width: 54px; height: 54px; border-radius: 14px; background: var(--tile); border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 20px; transition: transform .35s var(--ease), background .3s; }
.card:hover .tile { transform: rotate(-6deg) scale(1.05); background: var(--offwhite); }
.tile svg { width: 26px; height: 26px; fill: none; stroke: #b9c8bf; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.card:hover .tile svg { stroke: var(--green-deep); }
.card h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -.035em; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; max-width: 46ch; }
.card ul { display: grid; gap: 9px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.card li { position: relative; padding-left: 22px; font-size: .94rem; color: #cfd8d2; }
.card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 11px; height: 2px; background: var(--mint); }
.card--banner .card__banner-main { display: flex; gap: 22px; align-items: flex-start; }
.card--banner .tile { margin-bottom: 0; flex-shrink: 0; }
.card--banner ul { margin-top: 0; padding-top: 0; border-top: 0; border-left: 1px solid var(--line); padding-left: 30px; }

/* ---------- Sites ---------- */
.sites { display: grid; grid-template-columns: 1.05fr 1fr; gap: 76px; align-items: center; }
.sites__text h2 { margin-bottom: 20px; }
.sites__text > p:not(.label) { color: var(--muted); margin-bottom: 26px; }
.sites__text .btn { margin-top: 34px; }
.checklist { display: grid; border-top: 1px solid var(--line); }
.checklist li { padding: 12px 0 12px 32px; border-bottom: 1px solid var(--line); position: relative; font-size: .97rem; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 11px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.contact .checklist { margin-top: 30px; }
.contact .checklist li { color: #dfe8e2; }
.contact .checklist li::before { border-color: var(--mint); }

.browser-wrap { margin: 0; min-width: 0; perspective: 1200px; }
.browser { display: block; background: var(--white); border-radius: var(--r-md); overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 40px 70px -40px rgba(35,39,34,.35); transition: transform .4s var(--ease), box-shadow .4s; transform-style: preserve-3d; }
.browser__bar { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line-l); background: #fbfaf7; }
.browser__bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 16px 0 0 #c9c7be, 32px 0 0 #e0ded5; flex-shrink: 0; }
.browser__bar .url { flex: 1; margin-left: 40px; text-align: center; font-size: .78rem; color: var(--gray); font-family: var(--mono); background: var(--offwhite); padding: 5px 12px; border-radius: 999px; }
.browser img { display: block; width: 100%; height: auto; }
.browser-wrap figcaption { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 18px; font-size: .88rem; color: var(--muted); }
.browser-wrap figcaption a { display: inline-flex; align-items: center; gap: 5px; color: var(--accent-text); font-weight: 600; }
.browser-wrap figcaption a svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.browser-wrap figcaption a:hover svg { transform: translate(2px,-2px); }

/* ---------- Método (trilha) ---------- */
.track { position: relative; }
.track__line { position: absolute; top: 21px; left: 0; right: 0; height: 2px; background: var(--line); }
.track__fill { display: block; height: 100%; width: 0; background: var(--green); transition: width 1.4s var(--ease-out); }
.steps { display: grid; grid-template-columns: repeat(5,1fr); gap: 22px; position: relative; }
.step { padding-top: 0; }
.step__node { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--tile); border: 2px solid var(--line); color: var(--muted); font-family: var(--mono); font-weight: 600; font-size: 1rem; position: relative; z-index: 1; transition: background .4s var(--ease) var(--d,0s), color .4s var(--ease) var(--d,0s), border-color .4s var(--ease) var(--d,0s), transform .4s var(--ease) var(--d,0s); }
.step.in .step__node { background: var(--green); border-color: var(--green); color: #fff; transform: scale(1.06); }
.step h3 { margin: 22px 0 8px; font-size: 1.15rem; }
.step p { color: var(--muted); font-size: .93rem; max-width: 30ch; }

/* ---------- Automação / chat ---------- */
.automation { display: grid; grid-template-columns: 1.05fr .95fr; gap: 76px; align-items: center; }
.automation h2 { margin-bottom: 20px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 36px; margin-top: 40px; }
.facts div { border-top: 1px solid var(--rule); padding-top: 14px; }
.facts dd { font-size: .95rem; color: var(--muted); }

.chat { background: var(--card-solid); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 60px -40px rgba(35,39,34,.35); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; font-size: .82rem; flex-shrink: 0; }
.chat__head b { display: block; font-size: .95rem; }
.chat__head small { font-size: .76rem; color: var(--muted); font-family: var(--mono); }
.chat__live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; color: var(--muted); font-family: var(--mono); }
.chat__body { padding: 22px 18px; display: flex; flex-direction: column; gap: 10px; min-height: 320px; }
.msg { max-width: 84%; padding: 11px 15px; font-size: .9rem; line-height: 1.45; border-radius: 16px; opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.chat.play .msg { opacity: 1; transform: none; }
.msg--in { align-self: flex-start; background: #ecebe4; color: var(--ink); border-bottom-left-radius: 4px; }
.msg--out { align-self: flex-end; background: var(--green); color: #fff; border-bottom-right-radius: 4px; }
.msg--sys { align-self: center; max-width: 100%; width: 100%; margin-top: 6px; font-size: .76rem; color: var(--accent-text); font-weight: 600; font-family: var(--mono); background: none; padding: 10px 0 0; border-radius: 0; border-top: 1px solid var(--line); text-align: center; }

/* ---------- Métricas ---------- */
.metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border-top: 1px solid var(--rule); }
.metric { padding: 34px 28px 8px 0; transition: background .3s; }
.metric + .metric { padding-left: 28px; border-left: 1px solid var(--line); }
.metric:hover { background: rgba(44,85,69,.05); }
.metric b { display: block; font-family: var(--mono); font-weight: 600; font-size: clamp(2.6rem,4.4vw,3.6rem); line-height: 1; color: var(--accent-text); letter-spacing: -.04em; }
.metric h3 { margin: 18px 0 6px; }
.metric p { color: var(--muted); font-size: .94rem; max-width: 30ch; }

/* ---------- Competências ---------- */
.skills { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.skills h2 { margin-bottom: 18px; }
.skills__note { color: var(--muted); max-width: 34ch; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 11px 18px; background: var(--card); border: 1px solid var(--line); font-size: .93rem; border-radius: 999px; color: #4a4945; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s; }
.tags li:hover { transform: translateY(-3px); background: var(--green); color: #fff; border-color: var(--green); }

/* ---------- Liderança ---------- */
.leaders { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 56px; align-items: start; }
.leader__media { margin-bottom: 24px; }
.leader__photo { display: block; width: 100%; max-width: 360px; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 16%; border-radius: var(--r-lg); background: var(--card-solid); filter: grayscale(1) contrast(1.05); transition: filter .5s var(--ease), transform .5s var(--ease); }
.leader__media:hover .leader__photo { filter: grayscale(0); transform: translateY(-4px); }
.leader__name { font-size: 1.65rem; font-weight: 600; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 8px; }
.leader__role { font-weight: 600; color: var(--accent-text); font-size: .98rem; }
.leader__meta { font-size: .85rem; color: var(--muted); font-family: var(--mono); margin: 8px 0 16px; }
.leader__bio { color: var(--muted); font-size: .97rem; max-width: 46ch; }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.02fr; gap: 76px; align-items: start; }
.contact h2 { margin-bottom: 20px; }
.contact .lead { color: var(--sage); }
.contact .label { color: var(--sage); }
.form { background: var(--white); color: var(--ink); padding: 34px; display: grid; gap: 16px; border-radius: var(--r-lg); box-shadow: 0 40px 80px -50px rgba(0,0,0,.55); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .84rem; font-weight: 600; color: #55544e; }
.form input, .form select { width: 100%; padding: 13px 16px; font: inherit; font-size: .95rem; color: var(--ink); background: var(--white); border: 1px solid #d8d6cd; border-radius: 12px; outline: none; transition: border-color .2s, box-shadow .2s; }
.form select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236e6d68' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form input::placeholder { color: #a6a49c; }
.form input:focus, .form select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(44,85,69,.14); }
.form .invalid { border-color: #b3261e; }
.form .btn { margin-top: 6px; }
.form__msg { font-size: .9rem; min-height: 1.4em; text-align: center; }
.form__msg.ok { color: #2f6b3f; }
.form__msg.err { color: #b3261e; }

/* ---------- Footer ---------- */
.footer { background: var(--green-ink); color: var(--sage); padding: 42px 0; font-size: .9rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer .logo { font-size: 1.3rem; color: #fff; }
.footer .logo__mark { width: 22px; height: 22px; }
.footer .logo__mark path { fill: var(--mint); }
.footer__url { transition: color .2s; }
.footer__url:hover { color: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out) var(--d,0s), transform .7s var(--ease-out) var(--d,0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1040px) {
  .hero__grid { grid-template-columns: 1fr; gap: 46px; }
  .sites, .automation, .contact, .head, .skills { grid-template-columns: 1fr; gap: 44px; }
  .head { gap: 20px; margin-bottom: 56px; }
  .bento { grid-template-columns: repeat(6,1fr); }
  .card, .card--wide { grid-column: span 6; }
  .card--banner { grid-template-columns: 1fr; gap: 24px; }
  .card--banner ul { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(3) { padding-left: 0; border-left: 0; }
  .metric { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  .track__line { display: none; }
}
@media (max-width: 760px) {
  .nav__toggle { display: flex; }
  .nav__links { position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(35,39,34,.1); max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
  .nav__links a { padding: 16px 24px; border-top: 1px solid rgba(35,39,34,.07); }
  .nav__links a:not(.nav__cta)::after { display: none; }
  .nav__links .nav__cta { border-radius: 0; background: none; color: var(--green); padding: 16px 24px; }
  .nav__links.open { max-height: 420px; }
  .nav__toggle.open span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle.open span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .leak { grid-template-columns: 54px 1fr; gap: 14px; }
  .leak__tag { grid-column: 2; justify-self: start; margin-top: 10px; }
  .steps { grid-template-columns: 1fr; }
  .leaders { grid-template-columns: 1fr; gap: 52px; }
  .hero__facts, .facts, .form__row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { width: min(1180px, 100% - 32px); }
  .section { padding: 92px 0; }
  .hero { padding-top: 44px; }
  .funnel__kpis b { font-size: 1.22rem; }
  .funnel__stages li { grid-template-columns: 92px 1fr 44px; gap: 9px; font-size: .8rem; }
  .s-name { font-size: .78rem; }
  .metrics { grid-template-columns: 1fr; }
  .metric + .metric { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .form { padding: 24px; }
  .hero__ctas .btn { width: 100%; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .funnel .s-bar { transform: scaleX(1); }
  .msg { opacity: 1; transform: none; }
}
