/* GeoMinds — site público. A versão do cache é derivada do build no Service Worker. */
:root {
  --ink: #1d1d1f;
  --paper: #fbfaf7;
  --paper-2: #f4f2ed;
  --soft: #f8f6f1;
  --red: #e12d45;
  --red-dark: #c51f36;
  --line: #e8e4dd;
  --muted: #6f6b65;
  --green: #2c7a55;
  --amber: #9a640d;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.7 "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: "IBM Plex Mono", monospace; }
.eyebrow {
  font: 600 11px/1.2 "DM Sans", system-ui, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
}

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, .93);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -.03em; font-size: 20px; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.nav-links { display: flex; gap: 26px; align-items: center; font-size: 14px; font-weight: 500; color: #514d48; }
.nav-links a:hover { color: var(--red); }
.nav-cta {
  background: var(--ink);
  color: var(--white);
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--red); transform: translateY(-1px); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }

.hero { padding: 104px 0 84px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero h1 {
  font: 600 clamp(42px, 4.9vw, 68px)/1.08 "DM Sans", system-ui, sans-serif;
  letter-spacing: -.045em;
  margin: 20px 0 24px;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero p { font-size: 18px; line-height: 1.7; color: #5e5953; max-width: 610px; margin: 0; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14.5px;
  transition: transform .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(225, 45, 69, .12); }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { border: 1px solid var(--line); background: #fff; }
.btn-ghost:hover { border-color: #c8c0b5; }
.micro { margin-top: 20px; font-size: 13px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; }
.micro span:before { content: "·"; color: var(--red); font-weight: 700; margin-right: 7px; }

.console {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 24px 60px rgba(29, 29, 31, .08);
  position: relative;
}
.console-top { display: flex; gap: 6px; margin-bottom: 16px; }
.console-top i { width: 8px; height: 8px; border-radius: 50%; background: #ddd7ce; }
.console-top i:first-child { background: var(--red); }
.console-head { display: flex; justify-content: space-between; align-items: flex-start; color: var(--ink); padding: 6px 6px 20px; }
.console-head small {
  font: 600 11px/1.2 "DM Sans", system-ui, sans-serif;
  letter-spacing: .04em;
  color: var(--muted);
  text-transform: none;
}
.console-head h3 { font: 600 20px/1.2 "DM Sans", system-ui, sans-serif; margin: 6px 0 0; }
.live {
  font: 600 11px/1 "DM Sans", system-ui, sans-serif;
  color: var(--green);
  border: 1px solid #cfe6d9;
  padding: 6px 9px;
  border-radius: 999px;
  background: #f1f8f4;
}
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.kpi { background: var(--soft); border: 1px solid #ece7df; border-radius: 10px; padding: 14px; }
.kpi b { display: block; color: var(--ink); font: 600 22px/1.1 "DM Sans", system-ui, sans-serif; letter-spacing: -.03em; }
.kpi span { font-size: 11px; color: var(--muted); }
.queue { background: #fbfaf8; border: 1px solid #ece7df; border-radius: 10px; padding: 12px; }
.row { display: grid; grid-template-columns: 36px 1fr 54px; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid #eee9e2; color: var(--ink); }
.row:last-child { border-bottom: 0; }
.avatar { width: 30px; height: 30px; border-radius: 7px; background: #ece7df; display: grid; place-items: center; font: 600 10px "DM Sans", system-ui, sans-serif; color: #6b655e; }
.row b { display: block; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row small { display: block; font-size: 11px; color: var(--muted); }
.score { font: 600 13px "DM Sans", system-ui, sans-serif; color: var(--green); text-align: right; }
.console-foot { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 11px; padding: 13px 4px 2px; gap: 12px; }
.console-foot b { color: var(--red); font-weight: 600; }

.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.strip-in {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  overflow: auto;
  white-space: nowrap;
  font: 500 12px/1.2 "DM Sans", system-ui, sans-serif;
  letter-spacing: .01em;
  color: #5e5953;
}
.strip-in span:before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--red); margin-right: 9px; vertical-align: middle; }

section { padding: 104px 0; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head h2 {
  font: 600 clamp(30px, 3.4vw, 46px)/1.12 "DM Sans", system-ui, sans-serif;
  letter-spacing: -.04em;
  margin: 16px 0 18px;
}
.section-head p { font-size: 17px; line-height: 1.7; color: #625d57; margin: 0; }

.pain { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.pain-list { display: grid; gap: 12px; }
.pain-item { border-top: 1px solid var(--line); padding: 18px 0; display: grid; grid-template-columns: 32px 1fr; gap: 12px; }
.pain-item b { font: 600 11px "DM Sans", system-ui, sans-serif; color: var(--red); }
.pain-item h3 { font-size: 18px; font-weight: 600; margin: 0 0 5px; }
.pain-item p { margin: 0; color: var(--muted); font-size: 14.5px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); }
.step { padding: 30px 26px; border-right: 1px solid var(--line); min-height: 230px; }
.step:last-child { border-right: 0; }
.step b { font: 600 11px "DM Sans", system-ui, sans-serif; color: var(--red); letter-spacing: .04em; }
.step h3 { font: 600 21px/1.2 "DM Sans", system-ui, sans-serif; letter-spacing: -.02em; margin: 32px 0 10px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.module { border: 1px solid var(--line); background: var(--white); border-radius: 14px; padding: 26px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.module:hover { transform: translateY(-2px); border-color: #d5cec3; box-shadow: 0 14px 34px rgba(29, 29, 31, .05); }
.module .ico { width: 36px; height: 36px; border-radius: 9px; background: var(--soft); display: grid; place-items: center; font: 600 12px "DM Sans", system-ui, sans-serif; color: var(--red); margin-bottom: 18px; }
.module h3 { font-size: 17px; font-weight: 600; margin: 0 0 7px; }
.module p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.dark { background: #1f2126; color: #f5f3ee; padding: 104px 0; }
.dark .eyebrow { color: #ff8da0; }
.dark .section-head p { color: #b9b6b0; }
.nex { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.nex-card { border: 1px solid #3b3f48; background: #292c33; border-radius: 16px; padding: 28px; }
.nex-card h3 { font: 600 21px "DM Sans", system-ui, sans-serif; margin: 0 0 16px; }
.nex-row { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid #3a3e47; padding: 13px 0; font-size: 13.5px; }
.nex-row span { color: #b1ada7; }
.nex-row b { color: #f5f3ee; text-align: right; font-weight: 600; }
.nex-list { display: grid; gap: 18px; }
.nex-list div { border-left: 2px solid var(--red); padding-left: 20px; }
.nex-list h3 { margin: 0 0 4px; font-size: 17px; font-weight: 600; }
.nex-list p { margin: 0; color: #b9b6b0; font-size: 14px; }

.score-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.score-ring { width: 210px; height: 210px; border-radius: 50%; border: 10px solid #ece7df; border-top-color: var(--red); border-right-color: var(--red); display: grid; place-items: center; margin: auto; position: relative; }
.score-ring:after { content: ""; position: absolute; inset: 12px; border: 1px dashed #d8d0c5; border-radius: 50%; }
.score-ring b { font: 600 52px/1 "DM Sans", system-ui, sans-serif; letter-spacing: -.04em; }
.score-ring small { display: block; font: 600 10.5px "DM Sans", system-ui, sans-serif; letter-spacing: .04em; color: var(--muted); text-align: center; margin-top: 7px; }
.factors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.factor { border: 1px solid var(--line); background: var(--white); border-radius: 8px; padding: 12px; font-size: 12.5px; display: flex; justify-content: space-between; gap: 8px; }
.factor b { font-family: "DM Sans", system-ui, sans-serif; color: var(--red); font-weight: 600; }

.security { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sec { border-top: 1px solid var(--line); padding-top: 20px; }
.sec h3 { font-size: 16px; font-weight: 600; margin: 0 0 7px; }
.sec p { margin: 0; color: var(--muted); font-size: 14px; }

.api { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.code { background: #202228; border-radius: 14px; padding: 22px; color: #e8e8ef; font: 400 12.5px/1.7 "IBM Plex Mono", monospace; overflow: auto; box-shadow: 0 18px 44px rgba(29, 29, 31, .14); }
.code .c { color: #8a8a99; }
.code .k { color: #ff8da0; }
.code .s { color: #9ee6b8; }
.code .n { color: #f4c77a; }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { border: 1px solid var(--line); background: var(--white); border-radius: 14px; padding: 30px; display: flex; flex-direction: column; }
.plan.featured { border: 1.5px solid var(--red); position: relative; box-shadow: 0 18px 44px rgba(225, 45, 69, .06); }
.plan.featured:before { content: "MAIS ESCOLHIDO"; position: absolute; top: -11px; left: 24px; background: var(--red); color: white; font: 600 9.5px "DM Sans", system-ui, sans-serif; letter-spacing: .04em; padding: 5px 9px; border-radius: 4px; }
.plan h3 { font: 600 20px "DM Sans", system-ui, sans-serif; margin: 0; }
.plan .price { font: 600 40px/1 "DM Sans", system-ui, sans-serif; letter-spacing: -.04em; margin: 22px 0 5px; }
.plan .price small { font-size: 13px; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; font-size: 14px; color: #4f4a45; }
.plan li:before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 8px; }
.plan .btn { margin-top: auto; justify-content: center; }

.faq { max-width: 850px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary:after { content: "+"; color: var(--red); font: 500 22px "DM Sans", system-ui, sans-serif; }
.faq details[open] summary:after { content: "−"; }
.faq p { color: var(--muted); font-size: 14.5px; margin: 12px 0 0; max-width: 760px; }

.cta { background: var(--red); color: white; border-radius: 18px; padding: 54px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: center; }
.cta h2 { font: 600 clamp(30px, 3.4vw, 46px)/1.1 "DM Sans", system-ui, sans-serif; letter-spacing: -.04em; margin: 0 0 12px; }
.cta p { margin: 0; color: #ffe0e5; max-width: 640px; }
.cta .btn { background: white; color: var(--ink); justify-content: center; }
.cta .btn:hover { background: var(--paper); }

footer { padding: 54px 0 42px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot h4 { font: 600 11px "DM Sans", system-ui, sans-serif; letter-spacing: .03em; color: var(--ink); margin: 0 0 13px; }
.foot a { display: block; margin: 8px 0; }
.foot a:hover { color: var(--red); }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); margin-top: 42px; padding-top: 22px; flex-wrap: wrap; }

.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-grid, .pain, .nex, .score-grid, .api { grid-template-columns: 1fr; }
  .console { max-width: 620px; }
  .steps, .modules, .security, .pricing { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cta { grid-template-columns: 1fr; padding: 38px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 76px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 22px 24px; flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 64px; }
}
@media (max-width: 620px) {
  .steps, .modules, .security, .pricing, .factors { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 42px; }
  .wrap { padding: 0 18px; }
  section { padding: 72px 0; }
  .foot { grid-template-columns: 1fr; }
  .cta { padding: 30px; }
  .actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .module, .nav-cta { transition: none; }
}
