/* ==========================================================================
   Sip-Corp — site público (landing) · v1
   Tokens extraídos do design Penpot "SITE v1 · DESKTOP 1440" + "MOBILE 390"
   (TASK-0238/ata DEC-0029). Zero JS obrigatório. Copy literal v1.
   ========================================================================== */

:root {
  --bg: #070b14;
  --bg-mid: #0a101f;
  --surface: #0d1526;
  --surface-2: #0e1830;
  --chip: #111b31;
  --border: #1c2843;
  --border-2: #2a3650;
  --hairline: #131c2e;
  --text: #f5f7fa;
  --text-2: #a7b1c4;
  --text-3: #7c879c;
  --accent: #67e8f9;
  --eyebrow: #8fb4ff;
  --indigo: #6366f1;
  --sky: #38bdf8;
  --violet: #818cf8;
  --green: #25d366;
  --on-green: #07271a;
  --prova-a: #4f46e5;
  --prova-b: #0ea5e9;
  --foot-bg: #05070d;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius-card: 12px;
  --radius-btn: 10px;
  --container: 1200px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-mid) 50%, var(--bg) 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; margin: 0; }
p { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--sky);
  color: #04121f;
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
  z-index: 100;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-btn);
  font: 600 15px/1 var(--font-body);
  text-decoration: none;
  transition: filter .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn-lg { padding: 18px 28px; }
.btn-primary { background: var(--green); color: var(--on-green); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost {
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--border-2);
  color: #d7deea;
  font-weight: 500;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .09); }

/* ---------- navegação ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 20, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-word {
  font: 700 19px var(--font-display);
  color: var(--text);
  letter-spacing: .01em;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) {
  font: 400 14px var(--font-body);
  color: var(--text-2);
  text-decoration: none;
  transition: color .15s ease;
}
.nav-links a:not(.btn):hover { color: var(--text); }
.btn-nav { padding: 10px 20px; font-size: 14px; }
.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 7px;
  padding: 10px;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--text-2);
}
.nav-toggle:focus-visible + .nav-burger { outline: 2px solid var(--sky); outline-offset: 2px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 110px; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.orb-sky { width: 380px; height: 380px; background: var(--sky); opacity: .10; top: -120px; right: 6%; }
.orb-indigo { width: 340px; height: 340px; background: var(--indigo); opacity: .13; top: 80px; left: -160px; }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}
.eyebrow {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 8px;
  background: var(--chip);
  color: var(--eyebrow);
  font: 600 10.5px var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 22px 0 20px;
  font-size: clamp(32px, 3vw + 13px, 44px);
  font-weight: 700;
  letter-spacing: -.01em;
}
.hero h1 .accent { color: var(--accent); }
.hero .lead { color: var(--text-2); font-size: 17px; max-width: 56ch; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}
.micro { margin-top: 18px; color: var(--text-3); font-size: 13px; }

/* órbita "23 agentes" */
.hero-orbit {
  position: relative;
  width: 340px;
  height: 340px;
  margin-inline: auto;
}
.orbit-ring {
  position: absolute;
  inset: 0;
  border: 1px solid #223051;
  border-radius: 50%;
}
.node {
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1.5px solid var(--sky);
}
.node-0 { top: -9px;  left: calc(50% - 9px); }
.node-1 { top: 18%;   right: 6%; }
.node-2 { bottom: 18%; right: 6%; }
.node-3 { bottom: -9px; left: calc(50% - 9px); }
.node-4 { bottom: 18%; left: 6%; }
.node-5 { top: 18%;   left: 6%; }
.core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 88px; height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.28), transparent 42%),
              linear-gradient(135deg, var(--indigo), var(--sky));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.core-23 { font: 700 26px var(--font-display); color: var(--text); }
.core-label {
  font: 600 8px var(--font-body);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #c7d8ff;
}

/* ---------- seções ---------- */
.section { padding: 96px 0; }
.section-title {
  font-size: clamp(26px, 2.4vw + 12px, 34px);
  font-weight: 600;
  text-align: center;
}
.section-sub {
  margin: 14px auto 0;
  max-width: 62ch;
  text-align: center;
  color: var(--text-2);
  font-size: 16px;
}
.section .grid { margin-top: 56px; }

/* serviços */
.grid-servicos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 30px 28px;
}
.card h3 { font-size: 20px; font-weight: 600; margin: 18px 0 10px; }
.card > p { color: var(--text-2); font-size: 15px; }
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid currentColor;
}
.badge svg { display: block; }
.badge-indigo { color: var(--indigo); background: rgba(99, 102, 241, .16); }
.badge-sky    { color: var(--sky);    background: rgba(56, 189, 248, .16); }
.badge-violet { color: var(--violet); background: rgba(129, 140, 248, .16); }
.badge-green  { color: var(--green);  background: rgba(37, 211, 102, .16); }
.bullets {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.bullets li {
  position: relative;
  padding-left: 20px;
  color: var(--text-2);
  font-size: 15px;
}
.bullets li::before {
  content: "›";
  position: absolute;
  left: 2px;
  top: -1px;
  color: var(--sky);
  font-weight: 600;
}
.footnote {
  margin-top: 32px;
  text-align: center;
  color: var(--text-3);
  font-size: 13px;
}

/* diferenciais */
.grid-dif {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 26px;
}
.num { font: 700 26px var(--font-display); }
.num-indigo { color: var(--violet); }
.num-sky { color: var(--sky); }
.num-green { color: var(--green); }
.block h3 { font-size: 18px; font-weight: 600; margin: 14px 0 10px; }
.block p { color: var(--text-2); font-size: 15px; }
.block strong { color: var(--text); font-weight: 600; }

/* faixa de prova */
.prova {
  position: relative;
  overflow: hidden;
  margin-top: 64px;
  padding: 56px 0;
  background: linear-gradient(90deg, var(--prova-a), var(--prova-b));
  text-align: center;
}
.prova-glow {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  pointer-events: none;
}
.prova-glow-l { width: 300px; height: 300px; opacity: .08; left: -60px; top: -80px; }
.prova-glow-r { width: 260px; height: 260px; opacity: .06; right: -40px; bottom: -90px; }
.prova-inner { position: relative; }
.prova-title { font-size: clamp(26px, 2.6vw + 10px, 32px); font-weight: 700; }
.prova p {
  margin: 14px auto 0;
  max-width: 74ch;
  color: rgba(255, 255, 255, .94);
  font-size: 16px;
}

/* FAQ */
.container-policy { max-width: 860px; }
.container-policy h1 { font-size: clamp(28px, 2.6vw + 10px, 34px); font-weight: 700; }
.container-policy h2 { font-size: 19px; font-weight: 600; margin: 32px 0 10px; }
.container-policy p { color: var(--text-2); font-size: 15px; }
.container-policy a { color: var(--sky); }
.policy-meta { margin-top: 12px; color: var(--text-3); font-size: 13px; }

.faq-item {
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font: 600 17px var(--font-body);
  color: var(--text);
  border-radius: var(--radius-card);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chev { flex: none; color: var(--text-3); transition: transform .18s ease; }
.faq-item[open] .chev { transform: rotate(180deg); }
.faq-item[open] summary { border-bottom: 1px solid #223051; border-radius: var(--radius-card) var(--radius-card) 0 0; }
.faq-item > p {
  padding: 18px 24px 22px;
  color: var(--text-2);
  font-size: 15px;
}

/* CTA final */
.section-cta { padding-bottom: 110px; }
.cta-panel {
  position: relative;
  overflow: hidden;
  max-width: 960px;
  margin-inline: auto;
  padding: 56px 48px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-card);
  text-align: center;
}
.cta-glow {
  position: absolute;
  top: -70px; left: 50%;
  transform: translateX(-50%);
  width: 240px; height: 120px;
  border-radius: 50%;
  background: var(--indigo);
  opacity: .25;
  filter: blur(50px);
  pointer-events: none;
}
.cta-panel h2 { position: relative; font-size: clamp(26px, 2.6vw + 10px, 32px); font-weight: 700; }
.cta-body {
  position: relative;
  margin: 16px auto 0;
  max-width: 62ch;
  color: var(--text-2);
  font-size: 16px;
}
.cta-row-center { justify-content: center; }
.expect { margin-top: 18px; color: var(--text-3); font-size: 13px; }

/* ---------- rodapé ---------- */
.foot {
  background: var(--foot-bg);
  border-top: 1px solid var(--hairline);
  padding: 56px 0 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}
.foot-tagline { margin-top: 14px; color: #8a94a8; font-size: 14px; max-width: 30ch; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-label {
  font: 600 11px var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}
.foot-col a {
  color: var(--text-2);
  font-size: 14px;
  text-decoration: none;
  width: fit-content;
}
.foot-col a:hover { color: var(--text); }
.foot-muted { color: var(--text-3); font-size: 14px; }
.foot-legal {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
}
.foot-legal p { color: var(--text-3); font-size: 13px; }
.foot-legal a { color: var(--text-2); }

/* ---------- responsivo (mobile 390 do design) ---------- */
@media (max-width: 960px) {
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 20px;
    background: rgba(7, 11, 20, .98);
    border-bottom: 1px solid var(--hairline);
  }
  .nav-links a:not(.btn) { padding: 10px 4px; font-size: 15px; }
  .btn-nav { margin-top: 8px; justify-content: center; }
  .nav-toggle:checked ~ .nav-links { display: flex; }

  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-orbit { width: 172px; height: 172px; }
  .node { width: 14px; height: 14px; }
  .node-0 { top: -7px; left: calc(50% - 7px); }
  .node-3 { bottom: -7px; left: calc(50% - 7px); }
  .node-1, .node-2 { right: 2px; }
  .node-4, .node-5 { left: 2px; }
  .core { width: 76px; height: 76px; }
  .core-23 { font-size: 20px; }
  .core-label { font-size: 6.5px; }

  .section { padding: 64px 0; }
  .section .grid { margin-top: 36px; }
  .grid-servicos, .grid-dif { grid-template-columns: 1fr; gap: 20px; }
  .card, .block { padding: 24px 22px; }
  .prova { margin-top: 44px; padding: 44px 0; }

  .cta-panel { padding: 40px 24px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }

  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 30px; }
}

/* acessibilidade: movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
