:root {
  
  --paper:      #ffffff;   
  --paper-2:    #f5f6f8;   
  --paper-3:    #eceef1;   
  --line:       #dde1e6;   
  --line-soft:  #e6e9ed;
  --ink:        #0d0f12;   

  --text:       #16191d;
  --muted:      #545c66;
  --muted-2:    #6b7480;

  --orange:      #f77100;
  --orange-2:    #ff8a2b;
  --orange-text: #b85400;

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1340px;
  --gutter: clamp(22px, 6vw, 88px);
  --radius: 5px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text);
  line-height: 1.65;
  font-size: 17.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--orange); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--orange-text);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--orange); display: inline-block;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; color: var(--text); }
.section { padding-block: clamp(80px, 11vw, 148px); position: relative; }
.section-head { max-width: 840px; margin-bottom: clamp(44px, 6vw, 76px); }
.section-head h2 { font-size: clamp(32px, 5vw, 56px); margin-top: 18px; }
.lead { color: var(--muted); font-size: clamp(18px, 2vw, 21px); margin-top: 20px; }
.h2-sm { font-size: clamp(28px, 4.5vw, 46px); margin-top: 18px; }
.p-lead-gap { margin-top: 24px; }
.tech-btn { margin-top: 28px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 500; font-size: 15px;
  padding: 15px 26px; border-radius: var(--radius);
  border: 1px solid transparent; transition: all .25s var(--ease);
  letter-spacing: .01em;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--orange); color: #fff; font-weight: 600; }
.btn-primary:hover { background: var(--orange-2); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(247,113,0,.5); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--paper); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-text); }

.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand-logo { height: 34px; width: auto; max-height: 40px; transition: height .3s var(--ease); }
.footer-logo { height: 42px; width: auto; margin-bottom: 20px; }
.site-header.scrolled .brand-logo { height: 30px; }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center;
  height: 74px; transition: height .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  height: 62px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 8px 30px -22px rgba(0,0,0,.35);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  font-size: 13.5px; color: var(--muted); padding: 8px 12px; border-radius: var(--radius);
  transition: color .2s; position: relative; font-weight: 500;
}
.nav a:hover { color: var(--text); }
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1.5px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 11px 18px; font-size: 13.5px; }
.header-cta .btn svg { width: 16px; height: 16px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; }

.hero { position: relative; padding-top: 180px; padding-bottom: clamp(64px, 9vw, 128px); overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: 1;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(130% 95% at 72% 0%, #000 28%, transparent 74%);
          mask-image: radial-gradient(130% 95% at 72% 0%, #000 28%, transparent 74%);
}
.hero-glow {
  position: absolute; z-index: 0; top: -18%; right: -8%; width: 60vw; height: 60vw; max-width: 860px; max-height: 860px;
  background: radial-gradient(circle, rgba(247,113,0,.12), transparent 60%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-inner { max-width: 1060px; }
.hero h1 {
  font-size: clamp(34px, 5.4vw, 68px);
  margin-top: 26px; letter-spacing: -0.03em;
}
.hero h1 .accent { color: var(--orange); }
.hero p.lead { max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 42px; }

.numeros {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
  padding-block: clamp(72px, 9vw, 120px);
}
.numeros-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(32px, 5vw, 64px);
}
.numero-item { text-align: center; }
.num-huge {
  font-family: var(--font-display); font-weight: 700; color: var(--orange-2);
  font-size: clamp(56px, 8vw, 96px); line-height: 1; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.num-label {
  font-family: var(--font-display); font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.16em; font-weight: 600; margin-top: 12px; color: rgba(255,255,255,.72);
}
.numeros-watermark {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  max-width: 100%; text-align: center;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(48px, 12vw, 180px); line-height: 1;
  color: rgba(255,255,255,.035); white-space: nowrap; pointer-events: none; letter-spacing: -0.04em; z-index: 1;
}

.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(48px, 7vw, 104px); align-items: center; }
.about-body p + p { margin-top: 20px; }
.about-body .muted { color: var(--muted); }
.about-quote {
  font-family: var(--font-display); font-size: clamp(21px, 2.6vw, 28px); font-weight: 500; line-height: 1.3;
  letter-spacing: -0.01em; color: var(--text); margin-top: 34px; padding-left: 28px; border-left: 3px solid var(--orange);
}
.about-quote b { color: var(--orange); font-weight: 600; }
.about-visual { position: relative; }
.about-visual img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(0,0,0,.4); }
.about-visual .frame-tag {
  position: absolute; left: -1px; bottom: 28px; background: var(--orange); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 14px; padding: 12px 20px; letter-spacing: .02em;
}

.pledge { background: var(--paper-2); border-block: 1px solid var(--line-soft); }
.pledge-inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.pledge-mark { font-family: var(--font-display); font-size: clamp(64px, 9vw, 130px); font-weight: 600; color: var(--orange); line-height: .9; }
.pledge h2 { font-size: clamp(26px, 3.4vw, 40px); }
.pledge p { color: var(--muted); margin-top: 18px; max-width: 820px; font-size: clamp(16px, 1.8vw, 20px); }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.svc {
  background: var(--paper); padding: 32px 28px 34px; position: relative;
  transition: background .3s var(--ease); min-height: 250px; display: flex; flex-direction: column;
}
.svc:hover { background: var(--paper-2); }
.svc-ico { width: 44px; height: 44px; color: var(--orange); margin-bottom: 20px; }
.svc-ico svg { width: 100%; height: 100%; }
.svc h3 { font-size: 18.5px; letter-spacing: -0.01em; line-height: 1.12; }
.svc p { color: var(--muted); font-size: 14.5px; margin-top: 12px; }
.svc .idx { position: absolute; top: 26px; right: 28px; font-family: var(--font-display); font-size: 12.5px; color: var(--muted-2); }
.svc-cta { background: var(--paper-3); justify-content: center; }
.svc-cta-title { color: var(--orange-text); }
.svc-cta-btn { margin-top: 20px; align-self: flex-start; }
.svc::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--orange); transition: width .35s var(--ease);
}
.svc:hover::after { width: 100%; }

.tech { position: relative; background: var(--paper-2); border-block: 1px solid var(--line-soft); overflow: hidden; }
.tech .chev-bg { position: absolute; inset: 0; opacity: .06; color: var(--orange); z-index: 0; }
.tech .chev-bg svg { position: absolute; right: -4%; top: 50%; transform: translateY(-50%); height: 130%; width: auto; }
.tech .wrap { position: relative; z-index: 1; }
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 96px); align-items: center; }
.tech-list { display: grid; gap: 16px; margin-top: 10px; }
.tech-list li { list-style: none; display: flex; gap: 16px; align-items: flex-start; padding: 20px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 40px -34px rgba(0,0,0,.3); }
.tech-list .num { font-family: var(--font-display); color: var(--orange-text); font-weight: 600; }
.tech-list h3 { font-family: var(--font-display); font-weight: 600; font-size: 16.5px; margin-bottom: 4px; line-height: 1.25; }
.tech-list p { color: var(--muted); font-size: 15px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.blog-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 4px 16px rgba(15,23,32,.05);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(15,23,32,.45); }
.blog-image {
  display: block; width: 100%; height: 220px;
  background-size: cover; background-position: center;
  filter: grayscale(12%) contrast(1.05); transition: filter .4s var(--ease), transform .5s var(--ease);
}
.blog-card:hover .blog-image { filter: none; transform: scale(1.04); }
.blog-content { padding: 30px 30px 34px; display: flex; flex-direction: column; flex: 1; }
.blog-category { font-family: var(--font-display); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-text); margin-bottom: 12px; }
.blog-title { font-size: 20px; line-height: 1.28; margin-bottom: 14px; }
.blog-desc { font-size: 15px; color: var(--muted); line-height: 1.6; margin-bottom: 22px; flex: 1; }
.blog-link { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text); display: inline-flex; align-items: center; gap: 8px; transition: color .3s, gap .3s; }
.blog-link::after { content: "→"; transition: transform .3s var(--ease); }
.blog-link:hover { color: var(--orange-text); gap: 12px; }
.blog-link:hover::after { transform: translateX(3px); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 96px); }
.contact h2 { font-size: clamp(32px, 5vw, 56px); }
.contact-lines { margin-top: 36px; display: grid; gap: 2px; }
.cline { display: flex; gap: 18px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); }
.cline:last-child { border-bottom: 1px solid var(--line); }
.cline .ci { width: 42px; height: 42px; flex: none; display: grid; place-items: center; color: var(--orange); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.cline .ci svg { width: 20px; height: 20px; }
.cline .ct small { display: block; color: var(--muted-2); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; }
.cline .ct a, .cline .ct span { font-family: var(--font-display); font-weight: 500; font-size: 17.5px; }
.cline .ct a:hover { color: var(--orange-text); }

.card-cta { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(32px, 4vw, 48px); }
.card-cta h3 { font-size: 25px; }
.card-cta p { color: var(--muted); margin-top: 14px; }
.field { margin-top: 20px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; font-family: var(--font-display); letter-spacing: .02em; }
.field input, .field textarea {
  width: 100%; background: var(--paper); border: 1px solid var(--line); color: var(--text);
  padding: 14px 16px; border-radius: var(--radius); font: inherit; font-size: 15.5px; transition: border-color .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(247,113,0,.12); }
.field textarea { resize: vertical; min-height: 120px; }
.card-cta .btn-primary { width: 100%; justify-content: center; margin-top: 24px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 16px; padding: 13px 16px; border-radius: var(--radius); font-size: 14.5px; border: 1px solid transparent; }
.form-msg.ok { color: #14532d; background: #e7f6ec; border-color: #b6e3c3; }
.form-msg.erro { color: #7f1d1d; background: #fdeaea; border-color: #f3c0c0; }
.form-msg.wait { color: #7a4d00; background: #fdf3e2; border-color: #f0d9a8; }

.legal { padding-top: 132px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(30px, 5vw, 48px); margin-bottom: 10px; }
.legal .updated { color: var(--muted-2); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 22px; margin: 40px 0 14px; }
.legal p, .legal li { color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 14px 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--orange-text); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--orange); }
.legal .back { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; font-family: var(--font-display); font-weight: 600; color: var(--orange-text); }
.legal .back:hover { color: var(--orange); }
.legal-header { position: static; height: 74px; border-bottom: 1px solid var(--line-soft); }

.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); padding-block: 60px 34px; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand p { color: var(--muted); max-width: 340px; font-size: 15.5px; }
.footer-credit a { color: var(--text); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.footer-credit a:hover { color: var(--orange-text); }
.footer-nav { display: flex; gap: clamp(36px, 6vw, 80px); flex-wrap: wrap; }
.footer-col-title { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--muted); font-size: 15px; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--orange-text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 13.5px; }
.footer-bottom a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: var(--orange-text); }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 34px -8px rgba(37,211,102,.5); transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08) translateY(-2px); }
.wa-float svg { width: 30px; height: 30px; }

.js [data-reveal] { opacity: 0; transform: translateY(24px); }
.js [data-reveal].in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 1180px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .about, .tech-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .numeros-grid { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .about-visual { order: -1; }
}
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.menu-open { height: auto; align-items: flex-start; background: var(--paper); box-shadow: 0 8px 30px -22px rgba(0,0,0,.35); }
  .site-header.menu-open .wrap { flex-wrap: wrap; padding-block: 16px; }
  .site-header.menu-open .nav { display: flex; flex-direction: column; align-items: stretch; width: 100%; gap: 2px; margin-top: 12px; order: 3; }
  .site-header.menu-open .nav a { padding: 12px 8px; border-top: 1px solid var(--line-soft); }
  .header-cta .btn-ghost { display: none; }
  .services-grid, .blog-grid { grid-template-columns: 1fr; }
  .pledge-inner { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
}
