/* Vertex landing — style + extras (PageSpeed: 1 CSS request) */
:root {
  --bg: #05070a;
  --bg-elevated: #0a0d14;
  --surface: #12151f;
  --surface2: #1a1f2e;
  --border: #252a3d;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --accent: #7c3aed;
  --accent-h: #a78bfa;
  --accent-dim: rgba(124, 58, 237, 0.14);
  --blue: #3b82f6;
  --blue-h: #60a5fa;
  --green: #22c55e;
  --gradient-brand: linear-gradient(135deg, #a78bfa 0%, #7c3aed 45%, #3b82f6 100%);
  --radius: 10px;
  --radius-lg: 14px;
  --radius-pill: 9999px;
  --max: 1120px;
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Roboto', system-ui, sans-serif;
  --section-pad: clamp(3.5rem, 8vw, 5rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% -8%, rgba(124, 58, 237, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 30% at 80% 10%, rgba(59, 130, 246, 0.07), transparent 50%),
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  pointer-events: none;
  z-index: -1;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-h); text-decoration: none; }
a:hover { text-decoration: underline; }

img[src*="/brand/"] { background: transparent !important; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ── Sections ── */
.section {
  padding: var(--section-pad) 0;
}

.section--elevated {
  background: var(--bg-elevated);
}

.section-header {
  margin-bottom: 2.5rem;
  max-width: 40rem;
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-h);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 42rem;
}

.section-lead--center {
  margin-inline: auto;
}

/* ── Split 50/50 ── */
.split-50 {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .split-50 {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }

  .split-50--align-center {
    align-items: center;
  }
}

html.locale-pending body {
  visibility: hidden;
}

html.locale-ready body {
  visibility: visible;
}

.lang-switch {
  display: inline-flex;
  flex: 0 0 auto;
  width: auto;
  align-self: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: var(--surface);
}

.lang-switch__btn {
  flex: 0 0 auto;
  min-width: 2.35rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.6rem;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-switch__btn.is-active {
  background: var(--accent-dim);
  color: var(--accent-h);
}

.lang-switch__btn:hover:not(.is-active) {
  color: var(--text);
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(5, 7, 10, 0.92);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: auto;
}

.logo:hover { text-decoration: none; }

.logo-img {
  height: 32px;
  width: auto;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 1px;
}

.nav-drawer {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.nav-drawer.is-open {
  display: flex;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  list-style: none;
  font-size: 0.92rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.25rem 0;
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: stretch;
}

@media (max-width: 959px) {
  .nav-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
  }

  .nav-actions .lang-switch {
    flex: 0 0 auto;
    width: auto;
    align-self: center;
  }

  .nav-actions .btn-sm {
    flex: 1 1 12rem;
    min-width: 0;
  }
}

@media (min-width: 960px) {
  .nav-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem 1.25rem;
    flex-wrap: nowrap;
    padding: 0.65rem 0;
  }

  .logo { margin-right: 0; }

  .nav-toggle { display: none; }

  .nav-drawer {
    display: contents;
  }

  .nav-links {
    flex-direction: row;
    justify-content: center;
    gap: 0.65rem 0.85rem;
    flex-wrap: nowrap;
    font-size: 0.84rem;
  }

  .nav-actions {
    flex-direction: row;
    gap: 0.45rem;
    align-items: center;
    flex-shrink: 0;
  }
}

@media (min-width: 960px) and (max-width: 1099px) {
  .nav-links {
    gap: 0.5rem 0.65rem;
    font-size: 0.8rem;
  }

  .nav-actions .btn-sm {
    padding: 0.5rem 0.85rem;
    font-size: 0.78rem;
  }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover { box-shadow: 0 6px 32px rgba(124, 58, 237, 0.45); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover { border-color: var(--accent); background: var(--accent-dim); }

.btn:focus-visible,
.nav-links a:focus-visible,
.nav-toggle:focus-visible,
.faq summary:focus-visible {
  outline: 2px solid var(--accent-h);
  outline-offset: 2px;
}

/* ── Hero ── */
.hero-showcase {
  padding: 1.5rem 0 var(--section-pad);
}

.showcase-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 960px) {
  .showcase-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2.5rem;
    align-items: start;
  }
}

.showcase-copy {
  padding: 0.5rem 0 0;
}

@media (min-width: 960px) {
  .showcase-copy {
    position: sticky;
    top: 5.5rem;
    padding: 2rem 0;
    max-width: 28rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--accent-dim);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--accent-h);
  margin-bottom: 1.25rem;
}

.showcase-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.showcase-copy h1 span { color: var(--accent-h); }

.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  max-width: 32rem;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.hero-meta strong {
  color: var(--text);
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
}

/* ── Cards ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.card-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hardware-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.hardware-figure img {
  width: 100%;
  max-width: 380px;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
}

/* ── Legacy module ── */
.legacy-section {
  padding-top: 0;
  padding-bottom: var(--section-pad);
}

.legacy-panel {
  display: grid;
  gap: 2rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--accent);
}

@media (min-width: 768px) {
  .legacy-panel {
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: start;
    padding: 2.5rem;
  }
}

.legacy-panel__copy p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

.legacy-panel__copy .section-title {
  margin-bottom: 1rem;
}

.legacy-panel__note strong {
  color: var(--text);
}

.legacy-panel__points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.legacy-panel__points li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.legacy-panel__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── Hardware ── */
.proc-section {
  background: var(--bg);
}

.proc-visual {
  display: flex;
  justify-content: center;
}

.proc-spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.proc-spec-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.proc-spec-list li.is-active {
  border-color: rgba(167, 139, 250, 0.45);
  background: linear-gradient(160deg, var(--surface), var(--accent-dim));
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.1);
}

.proc-spec-list li strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.spec-use {
  font-size: 0.88rem;
  color: var(--accent-h);
}

.spec-detail {
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 767px) {
  .proc-split .proc-visual {
    order: 1;
  }

  .proc-split .proc-spec-list {
    order: 2;
  }
}

/* ── Cap tags (MaestroSection) ── */
.cap-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
}

.cap-tag.edge { background: rgba(59, 130, 246, 0.22); color: #93c5fd; }
.cap-tag.maestro { background: var(--accent-dim); color: #ddd6fe; }
.cap-tag.cloud { background: rgba(34, 197, 94, 0.18); color: #86efac; }

/* ── Tiers ── */
.tiers-section {
  background: var(--bg-elevated);
}

.tier-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.tier-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
}

.tier-panel--highlight {
  border-color: rgba(124, 58, 237, 0.45);
  background: linear-gradient(160deg, var(--surface), rgba(124, 58, 237, 0.06));
}

.tier-panel__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tier-panel__desc {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.tier-table {
  list-style: none;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tier-table li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.tier-table li:last-child {
  border-bottom: none;
}

.tier-code {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-h);
  min-width: 3.5rem;
}

.tier-cap {
  color: var(--muted);
  text-align: right;
}

.roadmap-note {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  margin-top: 2rem;
  line-height: 1.6;
}

.roadmap-note strong { color: var(--text); }

/* ── FAQ ── */
.faq-section .section-lead--center {
  max-width: 32rem;
  margin-inline: auto;
}

.faq {
  max-width: 44rem;
  margin-inline: auto;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.65rem;
  overflow: hidden;
  transition: border-color 500ms ease, box-shadow 500ms ease;
}

.faq details.is-open {
  border-color: rgba(167, 139, 250, 0.35);
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.08);
}

.faq summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.25rem;
  transition: color 500ms ease;
}

.faq details.is-open summary {
  color: var(--accent-h);
}

.faq summary::-webkit-details-marker { display: none; }

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq details.is-open .faq-body {
  grid-template-rows: 1fr;
}

.faq-body-inner {
  overflow: hidden;
}

.faq-body-inner p {
  margin: 0;
  padding: 0 1.25rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 500ms ease, transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq details.is-open .faq-body-inner p {
  opacity: 1;
  transform: translateY(0);
}

.faq p {
  margin-top: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq code {
  font-size: 0.88em;
  color: var(--accent-h);
}

/* ── Contact ── */
.contact-section {
  padding-bottom: calc(var(--section-pad) + 1rem);
}

.contact-panel {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  height: 100%;
}

.contact-panel--primary {
  border-color: rgba(124, 58, 237, 0.35);
  background: linear-gradient(160deg, var(--surface), rgba(124, 58, 237, 0.08));
}

.contact-panel h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.contact-panel p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.5rem;
}

.contact-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
}

@media (min-width: 768px) {
  .contact-split {
    align-items: stretch;
  }
}

/* ── Footer ── */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-inner a {
  color: var(--accent-h);
  text-decoration: none;
}

.footer-inner a:hover { text-decoration: underline; }


/* ── Pilha 3D (hero + chips) — inclinação 10°, movimento para frente ── */

.stack {
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
}

.stack--proc {
  max-width: 320px;
}

.stack-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  perspective: 1400px;
  perspective-origin: 50% 38%;
  transform-style: preserve-3d;
}

.stack--proc .stack-viewport {
  aspect-ratio: 1 / 1;
}

.stack-stage {
  position: relative;
  width: 100%;
  height: 100%;
  transform: rotateX(10deg);
  transform-style: preserve-3d;
  transform-origin: center 55%;
}

.stack-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  transform-style: preserve-3d;
  transform-origin: center 55%;
  transition:
    transform 0.38s cubic-bezier(0.22, 0.95, 0.31, 1),
    opacity 0.32s ease,
    filter 0.32s ease;
  will-change: transform, opacity;
  pointer-events: none;
}

.stack-slide.is-active {
  pointer-events: auto;
}

.stack-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.42);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.stack-slide.is-active .stack-frame {
  border-color: rgba(167, 139, 250, 0.45);
  box-shadow:
    0 22px 56px rgba(124, 58, 237, 0.16),
    0 14px 44px rgba(0, 0, 0, 0.48);
}

.stack-slide.is-back-1 .stack-frame,
.stack-slide.is-back-2 .stack-frame {
  filter: brightness(0.88);
}

.stack-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.stack-frame--contain {
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stack-frame--contain img {
  object-fit: contain;
  padding: 0.75rem;
}

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

.stack-ui {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
}

.stack-dots {
  display: flex;
  gap: 0.15rem;
  justify-content: center;
  margin-bottom: 0.15rem;
}

.stack-progress {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--accent-h);
  margin: 0;
}

.stack-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-h);
  margin: 0;
  min-height: 0;
}

.stack-label:empty {
  display: none;
}

.stack-hint {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0.1rem 0 0;
  max-width: 16rem;
  line-height: 1.45;
}

.stack-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
  transition: transform 0.2s;
}

.stack-dot::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  transition: transform 0.2s, background 0.2s;
}

.stack-dot.is-active::after {
  background: var(--accent);
  transform: scale(1.15);
}

/* ── Hero: CTAs e meta em linha ── */
@media (min-width: 520px) {
  .hero-cta {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
  }

  .hero-meta {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .hero-meta > div {
    flex: 1;
    min-width: 0;
  }
}

/* ── Player Vertex (Por que) ── */
.hw-intro {
  padding-bottom: calc(var(--section-pad) * 0.75);
}

.hw-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.hw-showcase .stack {
  max-width: 480px;
}

.hw-showcase .stack-viewport {
  aspect-ratio: 4 / 3;
}

.hw-spec-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.hw-spec-badges li {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
}

.hw-copy .section-title {
  margin-bottom: 0.75rem;
}

.hw-points {
  list-style: none;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hw-points li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.hw-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.hw-config {
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.hw-config__title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-h);
  margin-bottom: 0.65rem;
}

.hw-config__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hw-config__list li {
  font-size: 0.92rem;
  color: var(--text);
}

.hw-config__list strong {
  font-family: var(--font-display);
}

.hw-config__note {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ── Retrofit — após console (solução) ── */
.legacy-section {
  padding-top: calc(var(--section-pad) * 0.65);
}

.legacy-bridge {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.legacy-bridge .section-lead {
  margin-inline: auto;
}

/* ── Processadores: emblema · ficha · hardware ── */
.proc-triple {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .proc-triple {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr) minmax(0, 0.9fr);
    gap: 2rem 2.25rem;
    align-items: start;
  }
}

.proc-triple__specs {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  position: relative;
}

.proc-triple__emblem {
  display: flex;
  justify-content: center;
}

.proc-triple__emblem .stack--proc {
  max-width: 300px;
}

.proc-spec-panel {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  scroll-margin-top: 6rem;
}

.proc-spec-panel.is-active {
  border-color: rgba(167, 139, 250, 0.45);
  background: linear-gradient(160deg, var(--surface), var(--accent-dim));
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.1);
  padding: 1.15rem 1.2rem;
}

.proc-spec-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.proc-spec-panel:not(.is-active) .proc-spec-label {
  display: none;
}

.proc-spec-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.proc-spec-panel.is-active .proc-spec-name {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.proc-spec-tier {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.proc-spec-panel.is-active .proc-spec-tier {
  font-size: 0.65rem;
  margin-bottom: 0.25rem;
}

.proc-spec-tier--value {
  color: #ddd6fe;
}

.proc-spec-panel.is-active .proc-spec-tier--value {
  color: #ede9fe;
}

.proc-spec-tier--premium {
  color: #fde68a;
}

.proc-spec-panel:not(.is-active) .proc-spec-tier--value,
.proc-spec-panel:not(.is-active) .proc-spec-tier--premium {
  opacity: 0.92;
}

.proc-spec-status {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.proc-spec-status--ok {
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.proc-spec-status--pending {
  color: #fcd34d;
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.22);
}

.proc-spec-panel:not(.is-active) .proc-spec-status {
  display: none;
}

.proc-spec-footnote {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  font-size: 0.68rem;
  line-height: 1.4;
  color: var(--muted);
  opacity: 0.78;
  text-align: center;
  max-width: 34rem;
  margin-inline: auto;
}

.proc-spec-footnote strong {
  font-weight: 600;
  color: inherit;
}

.proc-spec-footnote a {
  color: #c4b5fd;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.proc-spec-footnote a:hover {
  color: #ddd6fe;
}

.tier-footnote {
  margin-top: 0.85rem;
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--muted);
  opacity: 0.78;
  text-align: center;
  max-width: 34rem;
  margin-inline: auto;
}

.proc-spec-dl {
  display: none;
  margin: 0;
}

.proc-spec-panel.is-active .proc-spec-dl {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.proc-spec-dl div {
  display: grid;
  gap: 0.15rem;
}

.proc-spec-dl dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-h);
}

.proc-spec-dl dd {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.proc-triple__device {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 12rem;
}

@media (min-width: 1024px) {
  .proc-triple__device {
    align-self: stretch;
    min-height: 100%;
  }
}

.proc-device-glow {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0.5rem;
  transform: translate3d(0, 0, 0);
  transition: transform 0.38s cubic-bezier(0.22, 0.95, 0.31, 1);
  background: radial-gradient(
    ellipse 78% 68% at 50% 50%,
    rgba(167, 139, 250, 0.1),
    transparent 76%
  );
}

@media (min-width: 1024px) {
  .proc-device-glow {
    position: absolute;
    left: 0;
    right: 0;
    padding: 0 0.5rem;
  }
}

.proc-device-glow img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.4));
  transition: filter 0.38s ease, max-height 0.38s ease;
}

@media (min-width: 1024px) {
  .proc-device-glow img {
    max-height: min(340px, 100%);
  }
}

.proc-device-glow.is-active img {
  filter: drop-shadow(0 20px 40px rgba(124, 58, 237, 0.2));
}

@media (max-width: 1023px) {
  .proc-triple__emblem { order: 1; }
  .proc-triple__specs { order: 2; }
  .proc-triple__device { order: 3; }
}

/* ── Privacy blur ── */
.privacy-blur {
  position: absolute;
  pointer-events: none;
  background: rgba(10, 12, 16, 0.03);
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
}

img[src*="brand/"] { background: transparent !important; }

/* ── Arquitetura ── */
.arch-section {
  padding: var(--section-pad) 0;
  background: var(--bg-elevated);
}

.arch-layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .arch-layout {
    grid-template-columns: 1fr 1.15fr;
    gap: 3rem;
  }
}

.arch-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.arch-bullets li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.arch-bullets .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.arch-bullets .dot.edge { background: var(--blue); }
.arch-bullets .dot.maestro { background: var(--accent); }
.arch-bullets .dot.cloud { background: var(--green); }

.arch-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.arch-cloud-pill {
  font-size: 0.72rem;
  color: var(--green);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.08);
  margin-bottom: 0.5rem;
}

.arch-import-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 32px;
  margin-bottom: 0.25rem;
}

.arch-import-line::before {
  content: '';
  flex: 1;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--green) 0 4px, transparent 4px 8px);
  opacity: 0.45;
}

.arch-import-label {
  font-size: 0.68rem;
  color: var(--green);
  background: var(--bg-elevated);
  padding: 0.1rem 0.45rem;
  margin-top: -0.55rem;
  position: relative;
  z-index: 1;
}

.arch-lan-box {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem 1rem;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.05), transparent 45%);
}

.arch-lan-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.arch-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
}

.arch-tag.lan { background: rgba(59, 130, 246, 0.15); color: var(--blue-h); }
.arch-tag.neutral { background: var(--accent-dim); color: var(--accent-h); }

.arch-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  align-items: stretch;
}

@media (min-width: 641px) {
  .arch-columns { grid-template-columns: repeat(3, 1fr) 130px; }
}

@media (max-width: 640px) {
  .arch-columns {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
    margin-inline: 0;
    gap: 0.25rem;
  }

  .arch-maestro-col {
    grid-column: 1 / -1;
    margin-top: 0.65rem;
    max-width: 240px;
    margin-inline: auto;
    width: 100%;
  }

  .arch-labels {
    grid-template-columns: repeat(3, 1fr) !important;
    max-width: 100%;
    margin-inline: 0;
    gap: 0.25rem;
  }

  .arch-pill-spacer { display: none; }

  .arch-bus-track {
    left: 10% !important;
    right: 10% !important;
  }

  .arch-monitor {
    width: 52px;
    padding: 3px;
  }

  .arch-monitor-screen {
    font-size: 0.52rem;
  }

  .arch-hw {
    width: 56px;
  }

  .arch-hw-maestro {
    width: 72px;
  }

  .arch-maestro-title {
    font-size: 0.88rem;
  }

  .arch-maestro-desc {
    font-size: 0.58rem;
    line-height: 1.3;
  }

  .arch-hex {
    width: 30px;
    height: 30px;
    font-size: 0.82rem;
  }

  .arch-wire--short {
    height: 10px;
  }

  .arch-wire--bus {
    min-height: 12px;
  }

  .arch-pill {
    font-size: 0.58rem;
    padding: 0.15rem 0.4rem;
  }

  .arch-lan-box {
    padding: 1rem 0.65rem 0.85rem;
  }
}

.arch-edge-col,
.arch-maestro-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.arch-maestro-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1rem 0.85rem 0;
  border: 1px solid rgba(167, 139, 250, 0.4);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(124, 58, 237, 0.12), transparent 55%);
  text-align: center;
}

.arch-maestro-body {
  width: 100%;
  flex: 1;
  justify-content: flex-end;
}

.arch-wire {
  width: 2px;
  background: var(--blue);
  opacity: 0.48;
  flex-shrink: 0;
}

.arch-wire--short { height: 14px; }

.arch-wire--bus {
  flex: 1;
  min-height: 18px;
  position: relative;
  align-self: center;
}

.arch-wire--bus::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-h);
  box-shadow: 0 0 6px rgba(96, 165, 250, 0.5);
  z-index: 3;
}

.arch-bus {
  position: relative;
  height: 2px;
  margin-top: -1px;
  z-index: 2;
}

.arch-bus-track {
  position: absolute;
  left: 11%;
  right: 3%;
  top: 0;
  height: 2px;
  background: var(--blue);
  opacity: 0.48;
}

.arch-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 130px;
  gap: 0.35rem;
  margin-top: 0.65rem;
  justify-items: center;
}

.arch-monitor {
  width: 62px;
  padding: 4px;
  border-radius: 6px;
  border: 2px solid rgba(167, 139, 250, 0.45);
  background: #0a0d14;
}

.arch-monitor-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 3px;
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--accent-h);
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.35), rgba(59, 130, 246, 0.18)),
    radial-gradient(circle at 35% 35%, rgba(167, 139, 250, 0.45), transparent 65%);
}

.arch-hw {
  width: 68px;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}

.arch-hw-maestro { width: 82px; }

.arch-pill {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
}

.arch-pill.edge {
  background: rgba(59, 130, 246, 0.15);
  color: var(--blue-h);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.arch-hex {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  background: var(--gradient-brand);
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}

.arch-maestro-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--accent-h);
}

.arch-maestro-desc {
  font-size: 0.65rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.arch-footnote {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}

.arch-integrador {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ── Maestro ── */
.maestro-section { background: var(--bg-elevated); }
.maestro-intro { margin-bottom: 2rem; max-width: 42rem; }

.maestro-value-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .maestro-value-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

.maestro-feat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem;
}

.maestro-feat h3 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.maestro-feat p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
}

.maestro-feat code {
  font-size: 0.82em;
  color: var(--accent-h);
}

.maestro-cloud-promise {
  margin-top: 1.5rem;
  padding: 1.5rem 1.65rem;
  border: 1px solid rgba(124, 58, 237, 0.4);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(124, 58, 237, 0.12), rgba(59, 130, 246, 0.05) 60%, transparent);
}

.maestro-cloud-promise h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0.65rem 0 0.5rem;
}

.maestro-cloud-promise p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 44rem;
}

.maestro-cloud-promise strong {
  color: var(--text);
}

/* ── Modelo comercial — Maestro em faixa + 3 cards ── */
.tiers-layout {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tiers-row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .tiers-row {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.tier-panel--maestro {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 2.25rem;
}

@media (min-width: 768px) {
  .tier-panel--maestro {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
  }

  .tier-panel__head {
    flex: 0 1 22rem;
  }
}

.tier-panel__head .tier-panel__desc {
  margin-bottom: 0;
}

.tier-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  flex: 1;
  justify-content: flex-start;
}

@media (min-width: 768px) {
  .tier-chips {
    justify-content: flex-end;
  }
}

.tier-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  min-width: 6.25rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
  text-align: center;
}

.tier-panel--highlight .tier-chip {
  border-color: rgba(167, 139, 250, 0.28);
  background: rgba(124, 58, 237, 0.08);
}

.tier-chip .tier-code {
  font-size: 0.95rem;
}

.tier-chip .tier-cap {
  font-size: 0.78rem;
  text-align: center;
  line-height: 1.3;
}

.tiers-row .tier-panel {
  padding: 1.75rem 1.85rem;
  min-height: 9.5rem;
}

.tier-panel--roadmap {
  border-style: dashed;
  border-color: rgba(167, 139, 250, 0.35);
  background: linear-gradient(160deg, var(--surface), rgba(124, 58, 237, 0.04));
}

.platform-pillars {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.cap-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .cap-grid { grid-template-columns: repeat(3, 1fr); }
}

.cap-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.cap-card--featured {
  border-color: rgba(124, 58, 237, 0.45);
  background: linear-gradient(160deg, var(--surface), rgba(124, 58, 237, 0.06));
}

.cap-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0.5rem 0 0.35rem;
}

.cap-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}
