/* =========================================================
   Core — estilos globais
   ========================================================= */

:root {
  --bg: #0a0c11;
  --bg-soft: #0e1118;
  --surface: #131823;
  --surface-2: #19202e;
  --border: #232b3b;
  --border-strong: #2f3950;
  --text: #eef1f7;
  --muted: #a3acbd;
  --faint: #737d90;
  --accent: #34e0a1;
  --accent-hover: #5cefba;
  --accent-ink: #03150e;
  --accent-soft: rgba(52, 224, 161, 0.12);
  --accent-2: #8b7bff;
  --radius: 16px;
  --radius-lg: 22px;
  --maxw: 1160px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  z-index: 100;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Ícones (traço) */
.i {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Cabeçalho ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 17, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.brand svg { width: 30px; height: 30px; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--text); }

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: 600 0.95rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn .i { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface); }

.btn-sm { padding: 9px 16px; font-size: 0.9rem; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 760px;
  height: 760px;
  top: -320px;
  right: -220px;
  background: radial-gradient(closest-side, rgba(139, 123, 255, 0.26), transparent);
}
.hero::after {
  width: 620px;
  height: 620px;
  bottom: -360px;
  left: -200px;
  background: radial-gradient(closest-side, rgba(52, 224, 161, 0.16), transparent);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(52, 224, 161, 0.18);
}

h1, h2, h3 {
  font-family: var(--font-head);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 22px 0 22px;
}

.grad {
  background: linear-gradient(92deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-legal {
  margin-top: 30px;
  font-size: 0.85rem;
  color: var(--faint);
}

/* Cartão ilustrativo do pedido */

.order-card {
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.75);
}

.order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
}

.timeline {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  padding-bottom: 22px;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(var(--accent), rgba(52, 224, 161, 0.25));
}
.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(52, 224, 161, 0.35);
}
.step-dot .i { width: 16px; height: 16px; stroke-width: 2.6; }
.timeline strong { display: block; font-size: 0.98rem; font-weight: 600; }
.timeline span { display: block; font-size: 0.88rem; color: var(--muted); }

.order-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}
.order-foot .i { width: 18px; height: 18px; color: var(--accent); }

/* ---------- Faixa de confiança ---------- */

.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 28px 24px;
}
.trust-item + .trust-item { border-left: 1px solid var(--border); }
.trust-item .i { color: var(--accent); margin-top: 2px; }
.trust-item strong { display: block; font-size: 0.98rem; font-weight: 600; }
.trust-item span { display: block; font-size: 0.87rem; color: var(--muted); }

/* ---------- Seções ---------- */

.section { padding: 96px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 660px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.section-head p { margin: 16px 0 0; color: var(--muted); font-size: 1.07rem; }

/* Como funciona */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  counter-increment: step;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
}
.steps h3 { font-size: 1.12rem; margin-bottom: 10px; }
.steps p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* Sobre */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: start;
}
.about-grid .kicker { margin-bottom: 14px; }
.about-grid h2 { margin-bottom: 22px; }
.about-text p { color: var(--muted); font-size: 1.05rem; }

.checklist {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .i { width: 20px; height: 20px; color: var(--accent); margin-top: 3px; stroke-width: 2.4; }

.company-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.company-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  margin-bottom: 20px;
}
.company-card h3 .i { color: var(--accent); }
.company-card dl { margin: 0; display: grid; gap: 16px; }
.company-card dt {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
.company-card dd { margin: 2px 0 0; font-weight: 500; overflow-wrap: anywhere; }
.company-card dd a { color: var(--accent); text-decoration: none; }
.company-card dd a:hover { text-decoration: underline; }

/* Segurança */

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.card {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: var(--accent-soft);
  color: var(--accent);
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.card a.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}
.card a.more:hover { text-decoration: underline; }
.card a.more .i { width: 16px; height: 16px; }

/* FAQ */

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  transition: border-color 0.15s ease;
}
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 20px; height: 20px; color: var(--muted); transition: transform 0.2s ease; }
.faq details[open] summary .i { transform: rotate(45deg); color: var(--accent); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq .answer a { color: var(--accent); }

/* Contato */

.contact-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: center;
  padding: 56px;
  border-radius: 28px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(139, 123, 255, 0.18), transparent 70%),
    radial-gradient(500px 300px at 0% 100%, rgba(52, 224, 161, 0.12), transparent 70%),
    var(--surface);
}
.contact-card h2 { margin-bottom: 16px; }
.contact-card p { color: var(--muted); font-size: 1.05rem; margin: 0; max-width: 520px; }

.contact-box {
  display: grid;
  gap: 14px;
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(10, 12, 17, 0.6);
  border: 1px solid var(--border);
}
.contact-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
.contact-label .i { width: 16px; height: 16px; }
.contact-email {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-email:hover { color: var(--accent); }

/* ---------- Rodapé ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 64px 0 36px;
  font-size: 0.93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.footer-about p { color: var(--muted); margin: 16px 0 0; max-width: 340px; }
.footer-col h4 {
  margin: 0 0 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--text); }

.footer-legal {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 6px;
  color: var(--faint);
  font-size: 0.86rem;
}
.footer-legal .company { color: var(--text); font-weight: 600; }
.footer-legal .cnpj { color: var(--text); font-weight: 600; white-space: nowrap; }
.footer-legal .copy { margin-top: 12px; }

/* ---------- Páginas legais ---------- */

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
}
.legal-hero::before {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  top: -380px;
  right: -160px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139, 123, 255, 0.2), transparent);
  pointer-events: none;
}
.legal-hero .container { position: relative; }
.breadcrumb { font-size: 0.87rem; color: var(--faint); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.legal-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -0.03em; }
.legal-hero p { margin: 16px 0 0; color: var(--muted); max-width: 680px; font-size: 1.05rem; }
.updated {
  display: inline-flex;
  margin-top: 22px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  font-size: 0.82rem;
  color: var(--muted);
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 64px;
  padding: 56px 0 96px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 96px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.9rem;
}
.toc h2 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 14px;
}
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--faint); }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--accent); }

.legal-content { max-width: 760px; }
.legal-content section + section { margin-top: 44px; }
.legal-content h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  padding-top: 4px;
}
.legal-content h3 { font-size: 1.05rem; margin: 24px 0 10px; }
.legal-content p,
.legal-content li { color: #c6ccd8; }
.legal-content ul,
.legal-content ol { margin: 0 0 1em; padding-left: 22px; display: grid; gap: 8px; }
.legal-content a { color: var(--accent); }
.legal-content strong { color: var(--text); }

.callout {
  margin: 0 0 1.2em;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(52, 224, 161, 0.3);
  color: var(--text);
}
.callout p { color: var(--text); margin: 0; }

.info-box {
  margin: 0 0 1.2em;
  padding: 20px 22px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.info-box p { margin: 0; }
.info-box p + p { margin-top: 4px; }

.table-wrap {
  overflow-x: auto;
  margin: 0 0 1.2em;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.legal-content table { width: 100%; border-collapse: collapse; font-size: 0.93rem; min-width: 520px; }
.legal-content th,
.legal-content td { text-align: left; padding: 14px 16px; vertical-align: top; border-bottom: 1px solid var(--border); }
.legal-content th { background: var(--surface); font-weight: 600; color: var(--text); }
.legal-content td { color: #c6ccd8; }
.legal-content tr:last-child td { border-bottom: 0; }

/* ---------- Responsivo ---------- */

@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item + .trust-item { border-left: 0; }
  .trust-item:nth-child(even) { border-left: 1px solid var(--border); }
  .trust-item:nth-child(n + 3) { border-top: 1px solid var(--border); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero { padding: 64px 0 64px; }
  .hero-grid,
  .about-grid,
  .contact-card { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 44px; }
  .contact-card { padding: 36px 28px; gap: 28px; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 36px; }
  .toc { position: static; }
  .section { padding: 72px 0; }
}

@media (max-width: 720px) {
  .nav { display: none; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .steps,
  .cards,
  .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .trust-item:nth-child(even) { border-left: 0; }
  .trust-item + .trust-item { border-top: 1px solid var(--border); }
  .trust-item { padding: 20px 4px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .order-card { padding: 20px; }
  .card { padding: 24px; }
  .contact-card { padding: 32px 20px; }
  .contact-box { padding: 20px; }
  .contact-email { font-size: 1.05rem; }
  .faq summary { padding: 18px 18px; }
  .faq .answer { padding: 0 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
