:root {
  /* 60% — Base clara */
  --bg:    #CDCDCD;
  --bg2:   #D8D8D8;
  --card:  #E4E4E4;

  /* 30% — Estrutural escuro */
  --txt:   #1A1A1A;
  --txt2:  #444444;
  --border: rgba(26,26,26,0.12);

  /* 10% — Acento */
  --signal:       #E31600;
  --signal-muted: #C41200;

  /* Positivo */
  --positive: #1a7a3a;

  --r:  8px;
  --r2: 12px;
  --r3: 999px;
  --ease: cubic-bezier(.16,1,.3,1);
  --f: 'Inter', -apple-system, sans-serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; background: var(--bg); }
body { font-family: var(--f); background: var(--bg); color: var(--txt2); line-height: 1.6; font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select { font-family: inherit; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }

.fi { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.fi.on { opacity: 1; transform: none; }

.label {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--txt2); margin-bottom: 12px;
}
.label-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--signal); flex: none; }

.h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 800; letter-spacing: -.025em; line-height: 1.1;
  color: var(--txt); margin-bottom: 12px;
}
.sub { font-size: 15px; color: var(--txt2); line-height: 1.8; max-width: 56ch; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 64px;
  background: rgba(26,26,26,.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .3s;
}
.nav.scrolled { background: rgba(26,26,26,1); }
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.6);
  letter-spacing: .04em; text-transform: uppercase; transition: color .2s;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--r);
  background: var(--signal); color: #fff;
  font-weight: 700; font-size: 13px;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--signal-muted); transform: translateY(-1px); }
.nav-cta:active { transform: scale(.97); }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; padding: 10px; border-radius: var(--r); }
.nav-hamburger span { display: block; height: 2px; background: rgba(255,255,255,.7); border-radius: 2px; transition: .3s var(--ease); transform-origin: center; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  position: fixed; inset: 0; z-index: 49;
  background: rgba(26,26,26,.98); backdrop-filter: blur(24px);
  display: flex; flex-direction: column; padding: 80px 32px 40px; gap: 4px;
  transform: translateX(100%); transition: transform .35s var(--ease); pointer-events: none;
}
.nav-drawer.open { transform: translateX(0); pointer-events: all; }
.nav-drawer a { font-size: 18px; font-weight: 700; color: rgba(255,255,255,.6); padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); text-transform: uppercase; transition: color .2s; }
.nav-drawer a:hover { color: #fff; }
.nav-drawer .drawer-cta { margin-top: 24px; display: flex; align-items: center; justify-content: center; padding: 16px; border-radius: var(--r2); background: var(--signal); color: #fff; font-weight: 700; font-size: 15px; border-bottom: none; }

/* ── HERO ── */
.hero {
  position: relative; z-index: 2;
  min-height: 100svh; overflow: hidden;
  padding-top: 64px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100svh - 64px);
  max-width: var(--max);
  margin: 0 auto;
}

/* lado esquerdo — texto */
.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 64px 48px 64px 24px;
}
.hero-left-inner {
  width: 100%;
  max-width: 520px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--r3);
  border: 1px solid var(--border);
  font-size: 11px; font-weight: 600; color: var(--txt2);
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 28px;
  width: fit-content;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); animation: blink 2s ease-in-out infinite; flex: none; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-title {
  font-size: clamp(2.8rem, 4.5vw, 4.8rem);
  font-weight: 800; letter-spacing: -.04em; line-height: .96;
  color: var(--txt); margin-bottom: 24px;
}
.hero-title .accent { color: var(--signal); font-style: italic; }

.hero-sub {
  font-size: 16px; color: var(--txt2); max-width: 42ch;
  margin-bottom: 36px; line-height: 1.75;
}
.hero-sub strong { color: var(--txt); font-weight: 600; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px; border-radius: var(--r);
  background: var(--signal); color: #fff;
  font-weight: 700; font-size: 14px;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-primary:hover { background: var(--signal-muted); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(227,22,0,.25); }
.btn-primary:active { transform: scale(.97); }
.btn-primary svg { width: 18px; height: 18px; fill: #fff; flex: none; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px; border-radius: var(--r);
  border: 1px solid var(--border); color: var(--txt2);
  font-weight: 600; font-size: 14px;
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: rgba(26,26,26,.4); color: var(--txt); }

.hero-trust { display: flex; flex-wrap: wrap; gap: 14px 20px; }
.trust-item { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; color: var(--txt2); }
.trust-item svg { width: 14px; height: 14px; stroke: var(--positive); stroke-width: 2.5; fill: none; flex: none; }

/* lado direito — visual escuro: cobre da metade do container até a borda direita da tela */
.hero-right {
  position: relative; background: var(--txt);
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  /* estende até a borda direita da tela independente do container */
  margin-right: calc(-1 * (100vw - var(--max)) / 2);
  padding-right: calc((100vw - var(--max)) / 2);
}
.hero-right-glow {
  position: absolute; bottom: -10%; right: -10%;
  width: 60%; height: 60%;
  background: radial-gradient(ellipse, rgba(227,22,0,.35) 0%, transparent 70%);
  pointer-events: none;
}
.hero-right-glow2 {
  position: absolute; top: 20%; left: -5%;
  width: 40%; height: 40%;
  background: radial-gradient(ellipse, rgba(227,22,0,.12) 0%, transparent 70%);
  pointer-events: none;
}

/* mockup dentro do hero-right */
.hero-mockup {
  position: relative; z-index: 2;
  margin: 0 32px;
  background: #222; border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r2);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.6);
}
.mockup-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: #2a2a2a;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #888;
}
.mockup-bar-dots { display: flex; gap: 6px; }
.mockup-bar-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.15); }
.mockup-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.mockup-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.mockup-metric {
  background: #2a2a2a; border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r); padding: 14px 16px;
}
.mockup-metric-label { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #888; margin-bottom: 6px; }
.mockup-metric-val { font-size: 1.4rem; font-weight: 800; color: #fff; line-height: 1; }
.mockup-metric-val.positive { color: #3FB950; }
.mockup-metric-delta { font-size: 10px; font-weight: 600; color: #3FB950; margin-top: 4px; }
.mockup-chart {
  background: #2a2a2a; border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r); padding: 16px;
}
.mockup-chart-label { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #888; margin-bottom: 12px; }
.mockup-chart svg { width: 100%; height: 72px; display: block; }
.mockup-tags { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 0 4px; }
.mockup-tag { font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: var(--r3); border: 1px solid rgba(255,255,255,.12); color: #888; letter-spacing: .06em; }
.mockup-tag.active { border-color: #3FB950; color: #3FB950; }

/* ── TICKER ── */
.ticker {
  position: relative; z-index: 2;
  background: var(--txt); border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 20px 0; overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.ticker-track { display: flex; gap: 0; width: max-content; animation: ticker 28s linear infinite; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.ticker-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 36px; white-space: nowrap;
  font-size: 12px; font-weight: 600; color: #888;
  border-right: 1px solid rgba(255,255,255,.08);
}
.ticker-val { font-size: 14px; font-weight: 800; color: #fff; }
.ticker-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--signal); flex: none; }

/* ── CASES ── */
.cases-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; margin-top: 48px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r2); overflow: hidden; }
.case-card { background: var(--card); padding: 36px; display: flex; flex-direction: column; gap: 16px; transition: background .25s, box-shadow .25s; }
.case-card:hover { background: var(--bg); box-shadow: inset 0 0 0 1px rgba(227,22,0,.2); }
.case-tag { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--txt2); }
.case-problem, .case-strategy { font-size: 13px; color: var(--txt2); line-height: 1.65; }
.case-problem strong, .case-strategy strong { color: var(--txt); font-weight: 600; }
.case-result { display: flex; align-items: baseline; gap: 10px; padding-top: 16px; border-top: 1px solid var(--border); }
.case-result-val { font-size: 2rem; font-weight: 800; color: var(--txt); line-height: 1; letter-spacing: -.02em; }
.case-result-val.positive { color: var(--positive); font-variant-numeric: tabular-nums; }
.case-result-desc { font-size: 12px; color: var(--txt2); line-height: 1.5; }
.case-link { font-size: 11px; font-weight: 700; color: var(--signal); letter-spacing: .06em; text-transform: uppercase; margin-top: auto; display: inline-flex; align-items: center; gap: 5px; transition: gap .2s; }
.case-link:hover { gap: 9px; }

/* ── DIAGNÓSTICO ── */
.diag-section { background: var(--txt); border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); position: relative; }
.diag-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(227,22,0,.4), transparent); pointer-events: none; }
.diag-section .label { color: #888; }
.diag-section .h2 { color: #fff; }
.diag-section .sub { color: #888; }
.diag-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin-top: 48px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r2); overflow: hidden; }
.diag-card { background: #1e1e1e; padding: 28px 24px; transition: background .25s; }
.diag-card:hover { background: #252525; }
.diag-icon { width: 36px; height: 36px; border-radius: var(--r); background: #2a2a2a; border: 1px solid rgba(255,255,255,.08); display: grid; place-items: center; margin-bottom: 14px; }
.diag-icon svg { width: 18px; height: 18px; stroke: var(--signal); stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.diag-title { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.diag-desc { font-size: 12px; color: #888; line-height: 1.65; }
.diag-punch { text-align: center; margin-top: 36px; font-size: clamp(.95rem,1.6vw,1.2rem); font-weight: 600; color: #888; }
.diag-punch strong { color: #fff; }

/* ── SERVIÇOS ── */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 48px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r2); overflow: hidden; }
.services-grid .svc-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.svc-card { background: var(--card); padding: 32px; transition: background .25s, box-shadow .25s; position: relative; }
.svc-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.svc-card:hover { background: var(--bg); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-platform { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--txt2); margin-bottom: 6px; }
.svc-title { font-size: 15px; font-weight: 800; color: var(--txt); margin-bottom: 10px; }
.svc-desc { font-size: 13px; color: var(--txt2); line-height: 1.75; margin-bottom: 14px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-tag { font-size: 10px; padding: 3px 10px; border-radius: var(--r3); border: 1px solid var(--border); color: var(--txt2); font-weight: 500; }

/* ── SOBRE ── */
.sobre-section { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sobre-card { border: 1px solid var(--border); border-radius: var(--r2); padding: 48px; background: var(--card); }
.sobre-grid { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: center; }
.sobre-foto-wrap { position: relative; }
.sobre-foto { width: 100%; height: auto; display: block; border-radius: var(--r); filter: grayscale(20%) contrast(1.05); object-position: top; }
.sobre-content { display: flex; flex-direction: column; }
.sobre-bio { font-size: 15px; color: var(--txt2); line-height: 1.85; max-width: 80ch; margin-top: 14px; margin-bottom: 36px; }
.sobre-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; margin-bottom: 36px; }
.sobre-stat { background: var(--bg); padding: 20px; text-align: center; border-top: 2px solid var(--signal); }
.sobre-stat-n { display: block; font-size: 1.6rem; font-weight: 800; color: var(--txt); line-height: 1; letter-spacing: -.02em; }
.sobre-stat-l { display: block; font-size: 10px; color: var(--txt2); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; margin-top: 6px; }
.sobre-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; padding-top: 28px; border-top: 1px solid var(--border); }
.sobre-list li { font-size: 13px; color: var(--txt2); padding-left: 18px; position: relative; line-height: 1.5; }
.sobre-list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--signal); }

/* ── FAQ ── */
.faq-section { background: var(--bg); }
.faq-wrap { margin-top: 44px; border: 1px solid var(--border); border-radius: var(--r2); overflow: hidden; }
details.faq-d { border-bottom: 1px solid var(--border); background: var(--card); }
details.faq-d:last-child { border-bottom: none; }
details.faq-d summary { padding: 18px 22px; font-size: 14px; font-weight: 500; cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none; color: var(--txt); transition: .2s; }
details.faq-d summary:hover { background: var(--bg2); }
details.faq-d summary::-webkit-details-marker { display: none; }
details.faq-d summary svg { width: 16px; height: 16px; stroke: var(--txt2); stroke-width: 2; fill: none; flex: none; transition: .3s; }
details.faq-d[open] summary { background: var(--bg2); }
details.faq-d[open] summary svg { transform: rotate(45deg); stroke: var(--signal); }
details.faq-d p { padding: 0 22px 18px; font-size: 13px; color: var(--txt2); line-height: 1.75; }

/* ── CTA FINAL ── */
.cta-section { background: var(--txt); border-top: 1px solid rgba(255,255,255,.06); }
.cta-final { border: 1px solid rgba(255,255,255,.08); border-radius: var(--r2); padding: 64px 48px; text-align: center; background: #1e1e1e; }
.cta-final .h2 { color: #fff; margin-bottom: 8px; }
.cta-final .sub { color: #888; margin: 0 auto 36px; }
.cta-form { display: flex; flex-direction: column; gap: 12px; max-width: 420px; margin: 0 auto; }
.cta-form input {
  width: 100%; padding: 13px 16px; font-size: 14px;
  background: #2a2a2a; border: 1px solid rgba(255,255,255,.1); border-radius: var(--r);
  color: #fff; transition: border-color .2s;
}
.cta-form input:focus { outline: none; border-color: rgba(255,255,255,.3); }
.cta-form input::placeholder { color: #555; }
.cta-form .btn-primary { width: 100%; justify-content: center; padding: 15px; font-size: 15px; }

/* ── FOOTER ── */
.footer { background: #111; border-top: 1px solid rgba(255,255,255,.06); padding: 40px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; margin-bottom: 28px; }
.footer-brand img { height: 40px; width: auto; display: block; margin-bottom: 12px; }
.footer-desc { font-size: 12px; color: #999; line-height: 1.65; }
.footer-col h4 { font-size: 10px; font-weight: 700; color: #999; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .12em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 12px; color: #aaa; transition: color .2s; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.06); font-size: 11px; color: #999; flex-wrap: wrap; gap: 8px; }

/* ── STICKY MOBILE ── */
.sticky-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 45; padding: 10px 14px; background: rgba(205,205,205,.97); border-top: 1px solid var(--border); gap: 9px; }
.sticky-bar .btn-wa { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 12px; border-radius: var(--r); background: #25d366; color: #04210f; font-weight: 700; font-size: 13px; }
.sticky-bar .btn-wa svg { width: 17px; height: 17px; fill: #04210f; }
.sticky-bar .btn-cta { flex: 1; display: flex; align-items: center; justify-content: center; padding: 12px; border-radius: var(--r); background: transparent; border: 1.5px solid var(--border); color: var(--txt); font-weight: 700; font-size: 13px; }

#cases, #servicos, #sobre, #faq, #contato { scroll-margin-top: 72px; }

/* ── RESPONSIVE ── */
@media(max-width: 960px) {
  .nav { padding: 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; max-width: 100%; }
  .hero-left { padding: 48px 24px; }
  .hero-left-inner { max-width: 100%; }
  .hero-title { font-size: clamp(2.4rem, 5.5vw, 3.4rem); }
  .hero-right { min-height: 360px; margin-right: 0; padding-right: 0; }
  .cases-grid { grid-template-columns: 1fr; }
  .diag-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-foto-wrap { max-width: 240px; margin: 0 auto; }
  .sobre-stats { grid-template-columns: repeat(2,1fr); }
  .sobre-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-grid > :first-child { grid-column: 1/-1; }
  .sticky-bar { display: flex; }
  body { padding-bottom: 72px; }
  .section { padding: 64px 0; }
  .cta-final { padding: 40px 24px; }
}
@media(max-width: 540px) {
  .hero-left { padding: 32px 20px; }
  .hero-title { font-size: clamp(2.2rem, 9vw, 3rem); }
  .sobre-content .h2 { font-size: clamp(1.4rem, 6vw, 1.8rem); }
  .diag-grid { grid-template-columns: 1fr; }
  .sobre-card { padding: 28px 20px; }
  .mockup-row { grid-template-columns: 1fr 1fr; }
  .mockup-row .mockup-metric:last-child { grid-column: 1/-1; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; }
  .cta-row .btn-primary, .cta-row .btn-ghost { width: 100%; justify-content: center; }
}
