/* ===== SmartReBuild — site de divulgação ===== */
:root {
  --bg: #0f1713;
  --bg-2: #13201a;
  --panel: #182a22;
  --panel-2: #1e3329;
  --line: #294538;
  --text: #e8f3ec;
  --muted: #93ad9f;
  --green: #2fbf71;
  --green-2: #46d98a;
  --teal: #2bb6a8;
  --amber: #f2b53b;
  --red: #ef6461;
  --blue: #5aa9e6;
  --purple: #9b8cf0;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 16px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { margin: 0; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 80% -10%, #15291f 0%, var(--bg) 55%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  font: inherit; font-weight: 700; font-size: 14px; cursor: pointer;
  border-radius: 11px; padding: 11px 18px; border: 1px solid var(--line);
  background: var(--panel); color: var(--text); transition: .16s;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn:hover { border-color: var(--green); transform: translateY(-1px); }
.btn.primary { background: linear-gradient(135deg, var(--green), var(--teal)); border: 0; color: #06120c; box-shadow: 0 8px 22px rgba(47,191,113,.28); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; }
.btn.sm { padding: 8px 14px; font-size: 13px; }
.btn.lg { padding: 14px 24px; font-size: 15px; }

/* tints (from platform) */
.tint-green { background: rgba(47,191,113,.15); color: var(--green-2); }
.tint-amber { background: rgba(242,181,59,.15); color: var(--amber); }
.tint-blue { background: rgba(90,169,230,.15); color: var(--blue); }
.tint-purple { background: rgba(155,140,240,.15); color: var(--purple); }
.tint-teal { background: rgba(43,182,168,.15); color: var(--teal); }

.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Navbar ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,23,19,.72); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .25s, background .25s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(15,23,19,.9); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 18px; }

.brand { display: flex; gap: 12px; align-items: center; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: #07130d; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(47,191,113,.35); flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: .2px; }
.brand-tag { font-size: 11px; color: var(--muted); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--muted); transition: .15s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.btn { color: #06120c; }
.nav-links a.btn:hover { color: #06120c; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: transparent; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { padding: 70px 0 80px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }

.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--green-2);
  background: rgba(47,191,113,.12); border: 1px solid rgba(47,191,113,.25);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero-copy h1 { font-size: clamp(33px, 5vw, 54px); line-height: 1.08; margin: 0 0 18px; font-weight: 800; letter-spacing: -.5px; }
.grad { background: linear-gradient(120deg, var(--green-2), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 17px; color: var(--muted); margin: 0 0 28px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 16px; margin-top: 30px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.hero-trust b { color: var(--text); }
.hero-trust .sep { width: 1px; height: 16px; background: var(--line); }

/* hero mockup */
.hero-visual { position: relative; }
.mock-card {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); border-radius: 20px; padding: 18px;
  box-shadow: var(--shadow); position: relative; z-index: 2;
}
.mock-top { display: flex; align-items: center; gap: 10px; padding: 4px 4px 16px; border-bottom: 1px solid var(--line); }
.mock-title { font-weight: 700; font-size: 14px; }
.mock-pill { margin-left: auto; font-size: 11px; color: var(--muted); background: var(--panel-2); border: 1px solid var(--line); padding: 5px 10px; border-radius: 999px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.dot.live { background: var(--green-2); box-shadow: 0 0 0 0 rgba(70,217,138,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(70,217,138,.55)} 70%{box-shadow:0 0 0 8px rgba(70,217,138,0)} 100%{box-shadow:0 0 0 0 rgba(70,217,138,0)} }

.mock-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px 4px; }
.mk { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 13px; display: flex; flex-direction: column; gap: 2px; }
.mk-ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: 16px; margin-bottom: 6px; font-weight: 800; }
.mk b { font-size: 22px; font-weight: 800; }
.mk i { font-style: normal; font-size: 11.5px; color: var(--muted); }

.mock-chart { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin: 0 4px 4px; }
.mc-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.mc-head b { font-size: 13px; } .mc-head span { font-size: 11px; color: var(--muted); }
.mc-bars { display: flex; align-items: flex-end; gap: 9px; height: 92px; }
.mc-bars span { flex: 1; background: linear-gradient(180deg, var(--green-2), var(--teal)); border-radius: 6px 6px 0 0; min-height: 6px; }

.float-chip {
  position: absolute; z-index: 3; font-size: 12px; font-weight: 600;
  background: rgba(24,42,34,.92); border: 1px solid var(--line); backdrop-filter: blur(6px);
  padding: 9px 13px; border-radius: 12px; box-shadow: var(--shadow); white-space: nowrap;
}
.float-chip b { color: var(--green-2); }
.chip-a { top: 128px; left: -26px; animation: floaty 5s ease-in-out infinite; }
.chip-b { bottom: 30px; right: -22px; animation: floaty 5s ease-in-out infinite .8s; }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }

/* ===== Strip ===== */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(19,32,26,.5); }
.strip-inner { padding: 26px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.strip-label { font-size: 12px; color: var(--muted); font-weight: 600; max-width: 230px; }
.strip-items { display: flex; gap: 26px; flex-wrap: wrap; }
.strip-items span { font-size: 14px; font-weight: 600; color: var(--text); opacity: .85; }

/* ===== Sections ===== */
.section { padding: 86px 0; }
.section.alt { background: linear-gradient(180deg, rgba(19,32,26,.5), transparent); border-top: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.kicker { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--green-2); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); margin: 0 0 14px; line-height: 1.15; letter-spacing: -.4px; }
.section-sub { font-size: 16px; color: var(--muted); margin: 0; }

/* ===== Problema ===== */
.prob-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prob-card { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.prob-num { display: block; font-size: 26px; font-weight: 800; color: var(--green-2); margin-bottom: 8px; }
.prob-card p { margin: 0; font-size: 14px; color: var(--muted); }

/* ===== Funcionalidades ===== */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-card { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: .2s; }
.feat-card:hover { transform: translateY(-4px); border-color: var(--green); }
.feat-card.highlight { border-color: rgba(47,191,113,.45); background: linear-gradient(180deg, rgba(47,191,113,.08), var(--bg-2)); }
.feat-ico { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px; }
.feat-card h3 { margin: 0 0 8px; font-size: 18px; }
.feat-card > p { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.feat-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.feat-list li { font-size: 13px; color: var(--text); padding-left: 22px; position: relative; }
.feat-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green-2); font-weight: 800; }

/* ===== Como funciona ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.step-num { position: absolute; top: 18px; right: 20px; font-size: 30px; font-weight: 800; color: rgba(47,191,113,.22); }
.step-ico { font-size: 34px; margin-bottom: 14px; }
.step h3 { margin: 0 0 8px; font-size: 17px; }
.step p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ===== Impacto ===== */
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 40px; }
.impact-card { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; box-shadow: var(--shadow); }
.impact-ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; font-weight: 800; margin: 0 auto 14px; }
.impact-card b { display: block; font-size: 32px; font-weight: 800; line-height: 1; color: var(--green-2); }
.impact-label { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }

.quote { max-width: 820px; margin: 0 auto; text-align: center; padding: 8px 20px; }
.quote p { font-size: clamp(19px, 2.6vw, 25px); font-weight: 600; line-height: 1.4; margin: 0 0 16px; }
.quote-by { font-size: 14px; color: var(--muted); }

/* ===== Para quem ===== */
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.who-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: .2s; }
.who-card:hover { transform: translateY(-4px); border-color: var(--green); }
.who-ico { font-size: 36px; display: block; margin-bottom: 14px; }
.who-card h3 { margin: 0 0 8px; font-size: 16px; }
.who-card p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ===== CTA / Contacto ===== */
.cta-section { background: linear-gradient(180deg, rgba(19,32,26,.55), transparent); border-top: 1px solid var(--line); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.cta-copy .section-sub { margin-bottom: 22px; }
.cta-copy .kicker { margin-bottom: 12px; }
.cta-copy h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 14px; text-align: left; }
.cta-points { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 12px; }
.cta-points li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; }
.cta-points .tick { width: 24px; height: 24px; border-radius: 50%; background: rgba(47,191,113,.16); color: var(--green-2); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex-shrink: 0; }
.cta-direct { display: flex; gap: 18px; flex-wrap: wrap; }
.cta-direct a { font-size: 14px; font-weight: 600; color: var(--green-2); }
.cta-direct a:hover { text-decoration: underline; }

.card { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.cta-form { padding: 28px; }
.cta-form h3 { margin: 0 0 18px; font-size: 19px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: 11px;
  padding: 12px 14px; color: var(--text); font: inherit; font-size: 14px; outline: 0; transition: .15s; resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(47,191,113,.14); }
.field input.invalid, .field textarea.invalid { border-color: var(--red); }
.form-note { font-size: 13px; margin: 14px 0 0; text-align: center; min-height: 18px; }
.form-note.ok { color: var(--green-2); }
.form-note.err { color: var(--red); }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(16,26,21,.6)); padding: 40px 0; }
.footer-logos { text-align: center; padding-bottom: 30px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.footer-logos-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer-logos-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 38px; }
.footer-logos-row a { display: inline-flex; align-items: center; transition: opacity .15s, transform .15s; }
.footer-logos-row a:hover { opacity: .8; transform: translateY(-2px); }
.footer-logos-row img { height: 54px; width: auto; max-width: 240px; object-fit: contain; display: block; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand strong { font-size: 16px; }
.footer-brand p { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12.5px; color: var(--muted); margin: 0; width: 100%; padding-top: 18px; border-top: 1px solid var(--line); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .chip-a, .chip-b { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 10px; }
::-webkit-scrollbar-track { background: transparent; }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 460px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .prob-grid, .impact-grid, .steps, .who-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: rgba(15,23,19,.97); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line); padding: 18px 24px 24px;
    transform: translateY(-130%); transition: transform .28s ease; visibility: hidden;
  }
  .nav-links.open { transform: translateY(0); visibility: visible; }
  .nav-links a { padding: 12px 4px; font-size: 16px; }
  .nav-links a.btn { padding: 13px; margin-top: 6px; }
  .nav-toggle { display: flex; }
  .strip-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .strip-label { max-width: none; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .hero { padding: 44px 0 60px; }
  .feat-grid, .prob-grid, .impact-grid, .steps, .who-grid { grid-template-columns: 1fr; }
  .mock-kpis { grid-template-columns: 1fr 1fr; }
  .float-chip { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
