/* =========================================================
   Acelere Tech — Landing Page
   Implementação fiel ao protótipo "Acelere Tech.dc.html"
   ========================================================= */

:root {
  --bg: #0A0C0B;
  --bg-2: #0D0F0E;
  --text: #F5F7F6;
  --muted: #9AA3A0;
  --dim: #7C8480;
  --dim-2: #6B736F;
  --chip-text: #C7CECB;
  --quote: #D6DCD9;
  --emerald: #34D399;
  --cyan: #22D3EE;
  --blue: #3B82F6;
  --ink: #06231A;
  --error: #fb7185;
  --grad: linear-gradient(135deg, #34D399, #22D3EE);
  --line: rgba(255, 255, 255, 0.08);
  --maxw: 1240px;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: rgba(52, 211, 153, 0.3); }
a { color: inherit; }
input, textarea, button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; border-radius: 4px; }

/* ---------- keyframes ---------- */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulseGlow { 0%, 100% { opacity: .55; } 50% { opacity: .9; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes auroraDrift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(50px, 40px) scale(1.12); } }
@keyframes auroraDrift2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-60px, -30px) scale(1.15); } }

/* ---------- shells & utilities ---------- */
.app { position: relative; overflow-x: hidden; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.shell { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; }
.at-section { padding: 90px 28px; }

/* ---------- background glow field ---------- */
.bg-field { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000, transparent 75%);
}
.aurora { position: absolute; filter: blur(20px); }
.aurora-1 { top: -200px; left: 50%; margin-left: -550px; width: 1100px; height: 700px; background: radial-gradient(ellipse at center, rgba(52, 211, 153, 0.12), transparent 60%); animation: auroraDrift 16s ease-in-out infinite; }
.aurora-2 { top: 600px; right: -200px; width: 700px; height: 700px; background: radial-gradient(ellipse at center, rgba(34, 211, 238, 0.08), transparent 60%); animation: auroraDrift2 19s ease-in-out infinite; }
.aurora-3 { top: 1700px; left: -150px; width: 600px; height: 600px; background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.06), transparent 62%); animation: auroraDrift 22s ease-in-out infinite; }

/* ---------- header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(10, 12, 11, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 16px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.02em;
}
.brand img { width: 28px; height: 28px; object-fit: contain; display: block; filter: drop-shadow(0 0 12px rgba(52, 211, 153, 0.45)); }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 14.5px; color: var(--muted); }
.lnk { text-decoration: none; transition: color .2s ease; }
.lnk:hover { color: var(--text); }

.icon-btn {
  width: 40px; height: 40px; border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; background: rgba(255, 255, 255, 0.03);
  transition: border-color .2s ease, background .2s ease;
}
.icon-btn:hover { border-color: rgba(52, 211, 153, 0.5); background: rgba(52, 211, 153, 0.08); }

/* ---------- buttons ---------- */
.cta {
  display: inline-block; text-decoration: none; text-align: center;
  font-weight: 600; color: var(--ink);
  background: var(--grad); border: none; cursor: pointer;
  transition: box-shadow .25s ease, transform .25s ease;
}
.cta-sm { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 14.5px; font-weight: 700; padding: 11px 20px; border-radius: 12px; box-shadow: 0 4px 20px rgba(52, 211, 153, 0.28); }
.cta-sm svg { flex-shrink: 0; }
.cta-sm:hover { box-shadow: 0 6px 28px rgba(52, 211, 153, 0.45); transform: translateY(-1px); }
.cta-hero { font-size: 15.5px; padding: 15px 26px; border-radius: 13px; box-shadow: 0 6px 28px rgba(52, 211, 153, 0.32); }
.cta-hero:hover { box-shadow: 0 8px 36px rgba(52, 211, 153, 0.5); transform: translateY(-2px); }
.cta-scope { font-weight: 700; font-size: 15.5px; padding: 15px 20px; border-radius: 13px; box-shadow: 0 6px 24px rgba(52, 211, 153, 0.3); }
.cta-scope:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(52, 211, 153, 0.5); }
.cta-glow { font-weight: 700; border-radius: 13px; box-shadow: 0 6px 24px rgba(52, 211, 153, 0.3); }
.cta-glow:hover { box-shadow: 0 8px 32px rgba(52, 211, 153, 0.5); }

.btn-ghost {
  display: inline-block; text-decoration: none; text-align: center;
  font-size: 15.5px; font-weight: 600; padding: 15px 26px; border-radius: 13px;
  color: var(--text); border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.03);
  cursor: pointer; transition: border-color .25s ease, background .25s ease;
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.06); }
.btn-back {
  font-size: 15px; font-weight: 600; padding: 14px 20px; border-radius: 13px;
  color: var(--text); border: 1px solid rgba(255, 255, 255, 0.14); background: transparent;
  cursor: pointer; transition: background .2s ease;
}
.btn-back:hover { background: rgba(255, 255, 255, 0.05); }

/* ---------- section header / eyebrow ---------- */
.eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 12.5px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--emerald); margin-bottom: 14px;
}
.eyebrow .slash { color: var(--cyan); opacity: .65; }
.sec-head { max-width: 680px; margin-bottom: 52px; }
.sec-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: 40px; line-height: 1.1; letter-spacing: -0.025em; font-weight: 800; margin: 0 0 14px; }
.sec-head p { font-size: 17px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ---------- hero ---------- */
.hero { padding: 160px 28px 90px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tag {
  font-size: 12.5px; font-weight: 500; padding: 7px 13px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10); background: rgba(255, 255, 255, 0.03);
  color: var(--chip-text); display: inline-flex; align-items: center; gap: 7px;
}
.dot { width: 6px; height: 6px; border-radius: 50%; }
.dot-e { background: var(--emerald); }
.dot-c { background: var(--cyan); }
.dot-b { background: var(--blue); }
.at-h1 { font-size: 58px; line-height: 1.04; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 22px; overflow-wrap: break-word; }
.hero-sub { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 520px; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 42px; }
.proof-label { font-size: 13.5px; color: var(--dim); margin: 0 0 14px; }
.proof-label strong { color: var(--text); }
.marquee-wrap {
  position: relative; overflow: hidden; max-width: 540px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 38px; width: max-content; animation: marquee 22s linear infinite; }
.marquee-track span { font-size: 16px; font-weight: 700; color: var(--dim-2); letter-spacing: -0.01em; white-space: nowrap; }
.marquee-track .hot { color: var(--emerald); }

/* hero mockup */
.mockup { position: relative; }
.mockup-glow { position: absolute; inset: -30px; background: radial-gradient(ellipse at center, rgba(34, 211, 238, 0.18), transparent 65%); filter: blur(10px); animation: pulseGlow 5s ease-in-out infinite; }
.mockup-ring { position: absolute; inset: -1.5px; border-radius: 21px; background: conic-gradient(from 0deg, transparent 0deg, rgba(52, 211, 153, 0.7) 60deg, rgba(34, 211, 238, 0.7) 110deg, transparent 180deg); animation: spin 7s linear infinite; filter: blur(1px); z-index: 0; }
.badge-build {
  position: absolute; top: -18px; right: -14px; z-index: 3;
  padding: 9px 13px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(13, 15, 14, 0.88); backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--emerald);
  display: flex; align-items: center; gap: 8px; animation: floatY 5s ease-in-out infinite;
}
.badge-build .led { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 9px var(--emerald); }
.mockup-card {
  position: relative; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(160deg, rgba(20, 24, 22, 0.9), rgba(12, 15, 13, 0.9));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); overflow: hidden;
  backdrop-filter: blur(12px); animation: floatY 6s ease-in-out infinite;
}
.mockup-bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.win-dot { width: 11px; height: 11px; border-radius: 50%; background: #3a3f3c; }
.mockup-url { margin-left: 10px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--dim-2); }
.mockup-body { padding: 22px; }
.mockup-kpi-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 18px; }
.kpi-label { font-size: 12px; color: var(--dim); margin-bottom: 6px; }
.kpi-value { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.kpi-delta { font-size: 12.5px; font-weight: 600; color: var(--emerald); padding: 5px 10px; border-radius: 8px; background: rgba(52, 211, 153, 0.10); }
.chart { display: flex; align-items: flex-end; gap: 8px; height: 120px; margin-bottom: 20px; }
.chart .col { flex: 1; border-radius: 6px 6px 0 0; background: rgba(255, 255, 255, 0.07); }
.chart .col.mid { background: rgba(255, 255, 255, 0.10); }
.chart .col.hot { background: linear-gradient(180deg, #34D399, #22D3EE); }
.mockup-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-card { padding: 13px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.07); background: rgba(255, 255, 255, 0.02); }
.mini-card .l { font-size: 11px; color: var(--dim); margin-bottom: 5px; }
.mini-card .v { font-size: 18px; font-weight: 700; }
.badge-mvp {
  position: absolute; bottom: -22px; left: -26px;
  padding: 13px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(13, 15, 14, 0.85); backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  display: flex; align-items: center; gap: 11px; animation: floatY 7s ease-in-out infinite;
}
.badge-mvp .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); display: flex; align-items: center; justify-content: center; }
.badge-mvp .t { font-size: 13px; font-weight: 700; }
.badge-mvp .s { font-size: 11px; color: var(--dim); }

/* ---------- grids ---------- */
.at-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.at-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* impede que filhos com conteúdo "largo" (mockup, marquee) estourem a coluna
   no mobile — sem isso, a track 1fr não encolhe abaixo do min-content */
.hero-grid > *, .at-grid-2 > *, .at-grid-4 > *, .at-process > *, .est-grid > *, .contact-grid > * { min-width: 0; }

/* diferenciais cards */
.card-diff {
  padding: 26px; border-radius: 18px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.card-diff:hover { transform: translateY(-4px); border-color: rgba(52, 211, 153, 0.35); background: rgba(255, 255, 255, 0.04); }
.card-icon { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.card-icon.e { border: 1px solid rgba(52, 211, 153, 0.3); background: rgba(52, 211, 153, 0.08); }
.card-icon.c { border: 1px solid rgba(34, 211, 238, 0.3); background: rgba(34, 211, 238, 0.08); }
.card-icon.b { border: 1px solid rgba(59, 130, 246, 0.3); background: rgba(59, 130, 246, 0.08); }
.card-diff h3 { font-size: 18px; font-weight: 700; margin: 0 0 10px; letter-spacing: -0.01em; }
.card-diff p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.6; }

/* soluções cards */
.card-sol {
  padding: 30px; border-radius: 20px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025);
  transition: transform .3s ease, border-color .3s ease;
  position: relative; overflow: hidden;
}
.card-sol:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, 0.35); }
.card-sol .sol-icon { width: 52px; height: 52px; border-radius: 15px; background: linear-gradient(135deg, rgba(52, 211, 153, 0.15), rgba(34, 211, 238, 0.12)); border: 1px solid rgba(255, 255, 255, 0.10); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.card-sol h3 { font-size: 21px; font-weight: 700; margin: 0 0 11px; letter-spacing: -0.015em; }
.card-sol p { font-size: 15px; color: var(--muted); margin: 0 0 20px; line-height: 1.65; }
.sol-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  font-size: 12.5px; font-weight: 500; color: var(--chip-text);
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10); background: rgba(255, 255, 255, 0.03);
}

/* ---------- processo ---------- */
.process-wrap { position: relative; }
.process-line { position: absolute; top: 26px; left: 6%; right: 6%; height: 1px; background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.4), rgba(34, 211, 238, 0.4), transparent); }
.at-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.step-num {
  width: 54px; height: 54px; border-radius: 50%; background: var(--bg-2);
  border: 1px solid rgba(52, 211, 153, 0.4); display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 18px; color: var(--emerald);
  margin-bottom: 22px; box-shadow: 0 0 0 6px var(--bg);
}
.at-process h3 { font-size: 19px; font-weight: 700; margin: 0 0 10px; letter-spacing: -0.01em; }
.at-process p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ---------- depoimentos ---------- */
.testi-cols { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.testi {
  width: 380px; max-width: 100%; padding: 26px; border-radius: 18px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025);
}
.stars { display: flex; gap: 3px; margin-bottom: 16px; }
.testi p { font-size: 15px; color: var(--quote); margin: 0 0 20px; line-height: 1.65; }
.testi-foot { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: var(--ink); font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.testi-name { font-size: 14.5px; font-weight: 700; }
.testi-role { font-size: 12.5px; color: var(--dim); }

/* ---------- estatísticas ---------- */
.stats-band { padding: 40px 28px 90px; }
.stats-card {
  border-radius: 24px; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(18, 22, 20, 0.7), rgba(11, 14, 12, 0.7));
  padding: 48px 40px; overflow: hidden; position: relative;
}
.stats-card .blob { position: absolute; top: -100px; right: -50px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(34, 211, 238, 0.10), transparent 65%); filter: blur(10px); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; text-align: center; }
.stats-grid .mid { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.stat-num { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stat-label { font-size: 15px; color: var(--muted); margin-top: 10px; }
.stats-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; position: relative; }
.stats-chip { font-size: 13px; font-weight: 500; color: var(--chip-text); padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.10); background: rgba(255, 255, 255, 0.03); display: inline-flex; align-items: center; gap: 8px; }

/* ---------- orçamento ---------- */
.est-lock-wrap { max-width: 560px; margin: 0 auto; }
.est-panel {
  position: relative; border-radius: 22px; border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(160deg, rgba(18, 26, 23, 0.9), rgba(11, 14, 12, 0.92));
  backdrop-filter: blur(14px); padding: 34px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.est-panel .blob { position: absolute; top: -80px; right: -60px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(34, 211, 238, 0.14), transparent 65%); filter: blur(10px); pointer-events: none; }
.est-panel .inner { position: relative; }
.est-lock-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--emerald); margin-bottom: 14px; }
.est-panel h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 8px; }
.est-panel .lead { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin: 0 0 24px; }
.est-fields { display: flex; flex-direction: column; gap: 12px; }
.field {
  width: 100%; font-size: 15px; color: var(--text); padding: 14px 15px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.03); outline: none;
  transition: border-color .2s ease;
}
.field::placeholder { color: var(--dim); }
.field:focus { border-color: rgba(52, 211, 153, 0.5); }
.err-msg { font-size: 13px; color: var(--error); margin-top: 10px; }
.fine { font-size: 11.5px; color: #5f6763; margin: 14px 0 0; text-align: center; line-height: 1.55; }
.est-unlock-btn { width: 100%; margin-top: 18px; font-size: 15.5px; padding: 15px 20px; }

.est-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start; max-width: 940px; margin: 0 auto; }
.est-controls { display: flex; flex-direction: column; gap: 32px; }
.est-step-label { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.est-types { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.est-type {
  display: flex; flex-direction: column; gap: 4px; align-items: flex-start; text-align: left;
  cursor: pointer; padding: 14px 16px; border-radius: 14px; transition: all .2s ease;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02);
}
.est-type:hover { border-color: rgba(255, 255, 255, 0.16); }
.est-type.active { border-color: rgba(52, 211, 153, 0.5); background: linear-gradient(120deg, rgba(52, 211, 153, 0.10), rgba(34, 211, 238, 0.05)); }
.est-type .ttl { font-weight: 700; font-size: 15px; color: var(--text); }
.est-type .hint { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--dim); }
.est-type.active .hint { color: var(--emerald); }

.est-feats { display: flex; flex-wrap: wrap; gap: 10px; }
.est-feat {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  padding: 10px 15px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: all .2s ease;
  border: 1px solid rgba(255, 255, 255, 0.10); background: rgba(255, 255, 255, 0.02); color: var(--muted);
}
.est-feat:hover { border-color: rgba(255, 255, 255, 0.2); }
.est-feat.active { border-color: rgba(52, 211, 153, 0.5); background: rgba(52, 211, 153, 0.10); color: var(--text); }
.est-feat .box { width: 16px; height: 16px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .2s ease; border: 1px solid rgba(255, 255, 255, 0.2); }
.est-feat.active .box { border-color: transparent; background: var(--grad); }
.est-feat .box svg { opacity: 0; }
.est-feat.active .box svg { opacity: 1; }
.est-feat .price { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600; color: var(--dim-2); }
.est-feat.active .price { color: var(--emerald); }

.est-urg { display: flex; gap: 10px; max-width: 340px; }
.est-urg button {
  flex: 1; cursor: pointer; padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 600;
  transition: all .2s ease; border: 1px solid rgba(255, 255, 255, 0.10); background: rgba(255, 255, 255, 0.02); color: var(--muted);
}
.est-urg button:hover { border-color: rgba(255, 255, 255, 0.2); }
.est-urg button.active { border-color: rgba(52, 211, 153, 0.5); background: rgba(52, 211, 153, 0.10); color: var(--text); }

.est-summary { position: sticky; top: 96px; }
.est-summary-card {
  position: relative; border-radius: 22px; border: 1px solid rgba(52, 211, 153, 0.28);
  background: linear-gradient(160deg, rgba(18, 26, 23, 0.9), rgba(11, 14, 12, 0.92));
  backdrop-filter: blur(14px); padding: 30px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.est-summary-card .blob { position: absolute; top: -80px; right: -60px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(34, 211, 238, 0.16), transparent 65%); filter: blur(10px); pointer-events: none; }
.est-sum-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--emerald); margin-bottom: 12px; }
.est-price { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.est-price-note { font-size: 12.5px; color: var(--dim); margin-top: 8px; }
.est-divider { height: 1px; background: var(--line); margin: 22px 0; }
.est-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.est-row:last-of-type { margin-bottom: 0; }
.est-row .k { font-size: 14px; color: var(--muted); }
.est-row .v { font-size: 14.5px; font-weight: 700; text-align: right; }
.est-scope-btn { display: block; margin-top: 24px; font-size: 15.5px; padding: 15px 20px; }

/* ---------- contato / formulário ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.contact-in-orcamento { max-width: 960px; margin: 72px auto 0; padding-top: 56px; border-top: 1px solid var(--line); }
.contact-grid h2 { font-size: 44px; line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 18px; }
.contact-sub { font-size: 17px; color: var(--muted); line-height: 1.65; max-width: 440px; margin: 0 0 28px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--quote); }
.check-badge { width: 24px; height: 24px; border-radius: 7px; background: rgba(52, 211, 153, 0.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.form-card {
  border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(160deg, rgba(18, 22, 20, 0.85), rgba(11, 14, 12, 0.9));
  backdrop-filter: blur(14px); padding: 36px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.form-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.form-step { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--dim); }
.form-pct { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--emerald); }
.progress { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; margin-bottom: 28px; }
.progress-bar { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #34D399, #22D3EE); transition: width .4s cubic-bezier(.2, .8, .2, 1); width: 25%; }
.form-q { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 18px; }
.form-input, .form-textarea {
  width: 100%; font-size: 16px; color: var(--text); padding: 15px 16px; border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.03); outline: none;
  transition: border-color .2s ease;
}
.form-textarea { resize: vertical; line-height: 1.5; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--dim); }
.form-input:focus, .form-textarea:focus { border-color: rgba(52, 211, 153, 0.5); }
.form-actions { display: flex; gap: 10px; margin-top: 24px; }
.form-continue { flex: 1; font-size: 15.5px; padding: 14px 20px; }
.form-hint { font-size: 12px; color: #5f6763; margin: 16px 0 0; text-align: center; }
.form-success { text-align: center; padding: 30px 6px; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; box-shadow: 0 0 40px rgba(52, 211, 153, 0.4); }
.form-success h3 { font-size: 24px; font-weight: 800; margin: 0 0 10px; letter-spacing: -0.02em; }
.form-success p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.6; }
.hidden { display: none !important; }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 60px 28px 40px; background: rgba(8, 10, 9, 0.6); }
.at-footer-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer .brand { margin-bottom: 18px; }
.footer .brand img { filter: none; }
.footer-about { font-size: 14.5px; color: var(--muted); line-height: 1.65; max-width: 340px; margin: 0 0 22px; }
.socials { display: flex; gap: 10px; }
.social {
  width: 38px; height: 38px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, 0.10);
  display: flex; align-items: center; justify-content: center; text-decoration: none; background: rgba(255, 255, 255, 0.03);
  transition: border-color .2s ease, background .2s ease;
}
.social:hover { border-color: rgba(52, 211, 153, 0.5); background: rgba(52, 211, 153, 0.08); }
.footer-col-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); margin-bottom: 18px; }
.footer-col-links { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; color: var(--muted); }
.footer-bottom { max-width: var(--maxw); margin: 40px auto 0; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.footer-legal { font-size: 12.5px; color: var(--dim-2); line-height: 1.7; margin: 0 0 18px; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--dim-2); }
.footer-meta .heart { color: var(--emerald); }

/* ---------- WhatsApp FAB ---------- */
.fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #1faa52);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 38px rgba(37, 211, 102, 0.55); }

/* ---------- modal de agendamento (Calendly) ---------- */
.cal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(5, 7, 6, 0.8); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 24px; }
.cal-box { position: relative; width: 100%; max-width: 1000px; height: 86vh; background: #0D0F0E; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.cal-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(13, 15, 14, 0.85); color: var(--text); font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.cal-close:hover { background: rgba(255, 255, 255, 0.1); }
#cal-inline { position: relative; z-index: 1; width: 100%; height: 100%; min-width: 0; }
.cal-loading { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; background: #0D0F0E; transition: opacity .35s ease; }
.cal-loading.done { opacity: 0; pointer-events: none; }
.cal-spin { width: 44px; height: 44px; border: 3px solid rgba(255, 255, 255, 0.15); border-top-color: #34D399; border-radius: 50%; animation: spin .8s linear infinite; }
@media (max-width: 520px) {
  .cal-overlay { padding: 0; }
  .cal-box { max-width: 100%; height: 100%; border-radius: 0; border: none; }
}

/* ---------- páginas legais (privacidade / termos) ---------- */
.legal-topbar { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(8, 10, 9, 0.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.legal-topbar-inner { max-width: 900px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 14px; color: var(--muted); border: 1px solid rgba(255, 255, 255, 0.14); padding: 9px 14px; border-radius: 10px; transition: all .2s ease; }
.legal-back:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.04); }
.legal-wrap { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; padding: 56px 24px 72px; }
.legal h1 { font-size: 38px; line-height: 1.1; letter-spacing: -0.025em; font-weight: 800; margin: 0 0 10px; }
.legal .updated { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--dim); margin: 0 0 26px; }
.legal .intro { font-size: 16px; color: var(--muted); line-height: 1.75; margin: 0 0 8px; }
.legal h2 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; margin: 40px 0 14px; scroll-margin-top: 80px; }
.legal h3 { font-size: 16.5px; font-weight: 700; margin: 24px 0 8px; }
.legal p { font-size: 15.5px; color: var(--quote); line-height: 1.75; margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { font-size: 15.5px; color: var(--quote); line-height: 1.75; margin-bottom: 8px; }
.legal a { color: var(--emerald); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--text); }
.legal .note { font-size: 13.5px; color: var(--dim); border: 1px dashed rgba(255, 255, 255, 0.18); border-radius: 12px; padding: 16px 18px; line-height: 1.65; margin: 32px 0 0; background: rgba(255, 255, 255, 0.02); }
.legal-foot { max-width: 800px; margin: 0 auto; padding: 26px 24px 56px; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 12.5px; color: var(--dim-2); line-height: 1.7; }
@media (max-width: 520px) {
  .legal h1 { font-size: 30px; }
  .legal-wrap { padding: 40px 18px 56px; }
  .legal-topbar-inner { padding: 12px 16px; }
}

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ---------- responsivo ---------- */
@media (max-width: 860px) {
  .nav-links { display: none !important; }
  .hero-grid { grid-template-columns: 1fr !important; gap: 40px; }
  .at-grid-4 { grid-template-columns: 1fr !important; }
  .at-grid-2 { grid-template-columns: 1fr !important; }
  /* processo vira timeline vertical no mobile */
  .process-line { display: none; }
  .at-process { grid-template-columns: 1fr !important; gap: 0; }
  .at-process > div { position: relative; padding: 0 0 34px 74px; }
  .at-process > div:last-child { padding-bottom: 0; }
  .at-process .step-num { position: absolute; left: 0; top: 0; margin-bottom: 0; z-index: 1; }
  .at-process > div:not(:last-child)::before {
    content: ""; position: absolute; left: 26px; top: 12px; bottom: -12px; width: 2px;
    background: linear-gradient(180deg, rgba(52, 211, 153, 0.5), rgba(34, 211, 238, 0.35));
    z-index: 0;
  }
  .at-footer-grid { grid-template-columns: 1fr !important; }
  .stats-grid { grid-template-columns: 1fr !important; }
  .stats-grid .mid { border-left: none; border-right: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
  .est-grid { grid-template-columns: 1fr !important; }
  .est-summary { position: static; }
  .contact-grid { grid-template-columns: 1fr !important; gap: 32px; }
  .contact-in-orcamento { margin-top: 56px; padding-top: 40px; }

  /* tipografia */
  .at-h1 { font-size: 38px !important; }
  .sec-head h2 { font-size: 30px; }
  .contact-grid h2 { font-size: 32px; }
  .hero-sub { font-size: 16px; }

  /* espaçamentos */
  .at-section { padding: 64px 20px !important; }
  .hero { padding: 104px 20px 64px !important; }
  .stats-band { padding: 28px 20px 64px !important; }

  /* header compacto */
  .header-inner { padding: 14px 18px; gap: 12px; }
  .brand { font-size: 17px; }
  .cta-sm { padding: 10px 15px; font-size: 13.5px; }

  /* CTAs do hero ocupam a largura toda (alvo de toque maior) */
  .hero-actions { gap: 12px; }
  .hero-actions .cta, .hero-actions .btn-ghost { flex: 1 1 100%; }

  /* mockup centralizado e sem cortar as badges flutuantes */
  .mockup { max-width: 420px; margin: 0 auto; }
  .badge-mvp { left: -6px; bottom: -16px; }
  .badge-build { right: 0; }
}

@media (max-width: 520px) {
  .at-h1 { font-size: 31px !important; line-height: 1.1 !important; }
  .sec-head h2 { font-size: 26px; }
  .contact-grid h2 { font-size: 27px; }
  .sec-head p, .hero-sub { font-size: 15.5px; }
  .at-section { padding: 52px 16px !important; }
  .hero { padding: 96px 16px 52px !important; }
  .stats-band { padding: 24px 16px 52px !important; }

  /* header: botão "Agendar" vira ícone (economiza espaço), WhatsApp fica visível */
  .header-inner { padding: 12px 14px; gap: 10px; }
  .cta-sm span { display: none; }
  .cta-sm { padding: 0; width: 40px; height: 40px; justify-content: center; gap: 0; border-radius: 11px; }
  .cta-sm svg { width: 18px; height: 18px; }

  /* painéis e números mais enxutos */
  .stat-num { font-size: 46px; }
  .est-panel, .est-summary-card { padding: 24px; }
  .stats-card { padding: 32px 22px; }
  .est-types { grid-template-columns: 1fr; }

  /* FAB um pouco menor */
  .fab { width: 54px; height: 54px; bottom: 18px; right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}
