/* ============ Design tokens ============ */
:root {
  --bg: #1c1c1c;
  --panel: #262626;
  --panel-2: #2f2f2f;
  --line: rgba(255, 255, 255, .07);
  --text: #f4f4f2;
  --muted: #a6a6a1;
  --mint: #62e394;
  --mint-2: #8ef5b0;
  --green: #2fb45a;
  --deep: #0c2a1b;
  --ink: #141414;
  --radius: 28px;
  --radius-sm: 16px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --grad-hero:
    radial-gradient(120% 90% at 0% 0%, #8fe07c 0%, transparent 55%),
    radial-gradient(90% 120% at 100% 100%, #07170f 0%, #0d3321 35%, transparent 65%),
    linear-gradient(125deg, #56c96b 0%, #36b35d 40%, #1d7f47 70%, #0b2618 100%);
  --grad-side:
    radial-gradient(90% 70% at 0% 0%, #6fe38a 0%, transparent 60%),
    linear-gradient(160deg, #2aa65a 0%, #146b3e 45%, #0a2a1a 100%);
  --grad-cta:
    radial-gradient(80% 90% at 20% 0%, #33b07a 0%, transparent 60%),
    linear-gradient(170deg, #1f8a61 0%, #147050 50%, #0d4c38 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.045em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.12rem; letter-spacing: -.02em; line-height: 1.25; }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.accent { color: var(--mint); }
.muted { color: var(--muted); }

/* ============ Botões ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .9em 1.6em;
  border-radius: 999px;
  border: 1.5px solid var(--mint);
  background: var(--mint);
  color: var(--ink);
  font: 700 .98rem var(--font);
  letter-spacing: -.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(98, 227, 148, .3); }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.btn-sm { padding: .55em 1.15em; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.btn-line { background: transparent; border-color: rgba(20, 20, 20, .45); color: var(--ink); }
.btn-line:hover { background: rgba(255, 255, 255, .15); box-shadow: none; }
.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ============ Navegação ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(28, 28, 28, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo img { height: 32px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a:not(.btn) { text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--muted); transition: color .15s; }
.nav-links a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ============ Slides ============ */
.deck { display: grid; gap: 24px; padding: 8px 0 24px; }
.slide {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border-radius: var(--radius);
  padding: 72px 64px 88px;
}
.slide-top, .slide-meta {
  display: flex; justify-content: space-between;
  font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  color: var(--muted);
}
.slide-meta { position: absolute; left: 64px; right: 64px; bottom: 28px; }
.slide-top { margin-bottom: 64px; position: relative; }

.title-center { text-align: center; max-width: 620px; margin: 0 auto 64px; }
.title-left { max-width: 620px; margin-bottom: 40px; }

/* Hero */
.slide-hero {
  background: var(--grad-hero);
  color: #fff;
  min-height: min(720px, 88vh);
  display: flex; flex-direction: column;
}
.slide-hero .slide-top, .slide-hero .slide-meta { color: rgba(255, 255, 255, .85); }
.hero-body { position: relative; max-width: 820px; margin: auto 0; padding-left: clamp(0px, 7vw, 96px); }
.quote-mark {
  position: absolute; left: 0; top: -.28em;
  font: 800 clamp(5rem, 11vw, 9rem)/1 var(--font);
  color: var(--ink);
}
.slide-hero h1 em { font-style: normal; color: var(--ink); }
.lead { font-size: clamp(1.02rem, 1.8vw, 1.2rem); color: rgba(255, 255, 255, .88); max-width: 600px; margin-bottom: 2em; font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Soluções */
.solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.ico { width: 40px; height: 40px; fill: none; stroke: url(#g-ico); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px; }
.solution p { color: var(--muted); font-size: .95rem; }
.ticks { list-style: none; margin: 1.2em 0 0; padding: 1.2em 0 0; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding-left: 1.5em; font-size: .92rem; margin-bottom: .45em; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--mint-2), var(--green));
}

/* Para quem: círculos sobre a curva */
.orbit { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.orbit-curve { position: absolute; left: 0; top: 0; width: 100%; height: 300px; }
.orbit-curve path { fill: none; stroke: url(#g-curve); stroke-width: 26; stroke-linecap: round; }
.node { position: relative; text-align: center; }
.node .dot {
  width: 130px; height: 130px; margin: 0 auto 20px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, var(--mint-2), var(--mint) 55%, #3fcf7a);
  box-shadow: 0 16px 40px rgba(98, 227, 148, .25);
}
.node .dot svg { width: 46px; height: 46px; fill: none; stroke: var(--deep); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.node:nth-child(2) { margin-top: 145px; }
.node:nth-child(3) { margin-top: 175px; }
.node:nth-child(4) { margin-top: 85px; }
.node:nth-child(5) { margin-top: 5px; }
.node p { color: var(--muted); font-size: .92rem; max-width: 240px; margin-inline: auto; }

/* Como trabalhamos: agenda */
.slide-agenda { display: grid; grid-template-columns: .85fr 1.15fr; padding: 0; background: #fff; color: var(--ink); }
.agenda-side {
  position: relative;
  background: var(--grad-side);
  color: #fff;
  padding: 64px;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 520px;
}
.agenda-side h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.agenda-side p { color: rgba(255, 255, 255, .8); max-width: 300px; }
.agenda-meta { position: absolute; left: 64px; bottom: 28px; font-size: .78rem; font-weight: 600; color: rgba(255, 255, 255, .75); }
.agenda { list-style: none; margin: 0; padding: 48px 64px; display: flex; flex-direction: column; justify-content: center; }
.agenda li { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; border-bottom: 1px solid #e7e7e4; }
.agenda li:last-child { border-bottom: 0; }
.agenda small { font-size: .78rem; color: #7b7b76; font-weight: 500; }
.agenda h3 { font-size: 1.3rem; margin: 2px 0 4px; }
.agenda p { margin: 0; font-size: .92rem; color: #55554f; max-width: 420px; }
.agenda .num { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; }

/* Diferenciais + Contato: split */
.slide-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.split-text { position: relative; }
.ribbon { width: 100%; max-width: 360px; margin-top: 32px; }
.ribbon path { fill: url(#g-ribbon); }

.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.value {
  position: relative;
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--panel-2);
  border-radius: var(--radius-sm);
  padding: 24px 26px;
  overflow: hidden;
  transition: background .2s;
}
.value::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(var(--mint-2), var(--green));
  opacity: 0; transition: opacity .2s;
}
.value:first-child::before, .value:hover::before { opacity: 1; }
.value:hover { background: #343434; }
.value .ico { flex: none; width: 34px; height: 34px; margin: 2px 0 0; }
.value h3 { margin-bottom: .3em; }
.value p { margin: 0; color: var(--muted); font-size: .93rem; }

/* CTA */
.slide-cta { background: var(--grad-cta); min-height: 460px; display: flex; flex-direction: column; }
.slide-cta .slide-top, .slide-cta .slide-meta { color: rgba(255, 255, 255, .8); }
.arcs { position: absolute; inset: 0; width: 100%; height: 100%; }
.arcs circle { fill: none; stroke: rgba(255, 255, 255, .09); stroke-width: 1.2; }
.cta-body { position: relative; margin: auto; text-align: center; }
.cta-body h2 { font-size: clamp(2.4rem, 6vw, 4.8rem); margin-bottom: .5em; }

/* Contato */
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-list li { display: flex; flex-direction: column; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-list span { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.contact-list a { font-weight: 600; text-decoration: none; font-size: 1.1rem; }
.contact-list a:hover { color: var(--mint); }

.form { background: var(--panel-2); border-radius: var(--radius-sm); padding: 32px; }
.field { margin-bottom: 18px; flex: 1; }
.field-row { display: flex; gap: 16px; }
.field label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 6px; }
.field small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 1rem;
  padding: .8em .95em;
  border: 1.5px solid transparent;
  border-radius: 12px;
  background: #1f1f1f;
  color: var(--text);
  transition: border-color .15s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mint); }
.field .invalid { border-color: #ff8a65; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-size: .95rem; min-height: 1.5em; }
.form-status.ok { color: var(--mint); }
.form-status.err { color: #ff8a65; }

/* Quem somos: produtos */
.products { display: grid; gap: 12px; }
.products-label { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.product { background: var(--panel-2); border-radius: var(--radius-sm); padding: 26px 28px; border-left: 4px solid var(--mint); }
.product h3 { font-size: 1.4rem; margin-bottom: .35em; }
.product p { margin: 0; color: var(--muted); font-size: .95rem; }
.contact-list p { margin: 2px 0 0; font-weight: 500; }
.form-note { margin: 12px 0 0; font-size: .82rem; color: var(--muted); }
.form-note a { color: var(--mint); }

/* Rodapé institucional */
.footer { padding: 0 0 32px; color: var(--muted); }
.footer-panel {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border-radius: var(--radius);
  padding: 64px 32px 56px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.footer-panel::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(560px, 80%); height: 2px;
  background: linear-gradient(90deg, transparent, var(--mint), transparent);
}
.footer-logo img { height: 40px; width: auto; }
.footer-tagline { max-width: 440px; margin: 18px 0 32px; line-height: 1.7; font-size: .95rem; }
.footer a { color: var(--text); text-decoration: none; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-bottom: 36px; }
.footer-nav a { font-size: .92rem; font-weight: 500; color: var(--muted); transition: color .15s; }
.footer-nav a:hover { color: var(--mint); }
.footer-contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.chip {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--panel-2);
  border-radius: 999px;
  padding: 12px 22px 12px 14px;
  text-align: left;
  transition: background .15s;
}
.chip:hover { background: #363636; }
.chip svg {
  flex: none; width: 36px; height: 36px; padding: 8px;
  border-radius: 50%;
  background: rgba(98, 227, 148, .12);
  fill: none; stroke: var(--mint); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.chip span { display: flex; flex-direction: column; font-weight: 600; font-size: .98rem; line-height: 1.3; white-space: nowrap; }
.chip small { font-size: .72rem; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.footer-legal {
  display: flex; flex-direction: column; gap: 6px;
  font-style: normal; font-size: .9rem; line-height: 1.75;
  padding-top: 32px; border-top: 1px solid var(--line);
  width: min(640px, 100%);
}
.footer-legal strong { color: var(--text); font-size: 1rem; margin-bottom: 2px; }
.footer-copy { text-align: center; margin: 24px 0 0; font-size: .84rem; }

/* Páginas legais */
.legal > * { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.legal h2 { font-size: 1.35rem; letter-spacing: -.02em; margin: 2.2em 0 .6em; line-height: 1.25; }
.legal h2[id] { scroll-margin-top: 20px; }
.legal h3 { font-size: 1.05rem; margin: 1.6em 0 .5em; }
.legal p, .legal li { color: #d6d6d2; }
.legal ul, .legal ol { padding-left: 1.3em; margin: 0 0 1em; }
.legal li { margin-bottom: .45em; }
.legal a { color: var(--mint); }
.legal .updated { color: var(--muted); font-size: .9rem; }
.legal .card-info { background: var(--panel-2); border-radius: var(--radius-sm); padding: 20px 24px; margin: 1.2em 0; }
.legal .card-info p { margin: 0 0 .3em; }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .93rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: #d6d6d2; }
.legal th { color: var(--text); font-weight: 600; }
.table-wrap { overflow-x: auto; }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ Responsivo ============ */
@media (max-width: 1000px) {
  .slide { padding: 56px 40px 80px; }
  .slide-meta { left: 40px; right: 40px; }
  .solutions { grid-template-columns: 1fr; gap: 40px; }
  .orbit { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .orbit-curve { display: none; }
  .orbit .node { margin-top: 0 !important; }
  .slide-agenda { grid-template-columns: 1fr; padding: 0; }
  .agenda-side { min-height: 320px; padding: 48px 40px 72px; }
  .agenda-meta { left: 40px; }
  .agenda { padding: 24px 40px 40px; }
  .slide-split { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg);
    padding: 8px 16px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 16px; }
  .deck { gap: 16px; }
  .slide { padding: 40px 22px 72px; border-radius: 22px; }
  .slide-meta { left: 22px; right: 22px; bottom: 24px; }
  .slide-top { margin-bottom: 40px; }
  .hero-body { padding-left: 0; padding-top: 3.2rem; }
  .quote-mark { top: -.1em; font-size: 5rem; }
  .title-center { text-align: left; margin-bottom: 40px; }
  .orbit { grid-template-columns: 1fr; }
  .node { display: grid; grid-template-columns: 84px 1fr; column-gap: 18px; text-align: left; align-items: start; }
  .node .dot { width: 84px; height: 84px; margin: 0; grid-row: span 2; }
  .node .dot svg { width: 32px; height: 32px; }
  .node p { margin: 0; max-width: none; }
  .agenda-side { padding: 40px 22px 64px; min-height: 260px; }
  .agenda-meta { left: 22px; }
  .agenda { padding: 12px 22px 28px; }
  .field-row { flex-direction: column; gap: 0; }
  .form { padding: 22px; }
  .value { padding: 20px; gap: 16px; }
  .footer-panel { padding: 48px 20px 40px; border-radius: 22px; }
  .chip { width: 100%; }
}
