/* ==========================================================================
   EscalaCAD — Home Oficial (Estética Estúdio Técnico Claro · Papel Pedra)
   ========================================================================== */

:root {
  --bg-paper: #F7F6F3;
  --bg-strip: #F2F0EB;
  --bg-soft: #F4F2ED;
  --surface: #FFFFFF;
  --ink: #141218;
  --ink-strong: #1C1A20;
  --ink-body: #5A5853;
  --ink-muted: #7C7972;
  --line: rgba(20, 18, 24, 0.08);
  --line-subtle: rgba(20, 18, 24, 0.048);
  --line-strong: rgba(20, 18, 24, 0.14);
  --green-live: #16A34A;
  --amber-live: #F59E0B;
  --radius-card: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 1px 2px rgba(20, 18, 24, 0.03), 0 12px 28px -14px rgba(20, 18, 24, 0.07);
  --shadow-stage: 0 2px 4px rgba(20, 18, 24, 0.04), 0 28px 64px -26px rgba(20, 18, 24, 0.14);
  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Botão CTA prismático (OpenBot credits-rail.css) */
  --ec-prism-ink: #141218;
  --ec-prism-star: #d0afed;
  --ec-prism-paper: #f5f5f5;
  --ec-prism-red: #fd2f3b;
  --ec-prism-yellow: #ff9412;
  --ec-prism-teal: #6bc7d9;
  --ec-prism-blue: #74b9ff;
  --ec-prism-ease: cubic-bezier(0.45, 0, 0.55, 1);
  --ec-prism-out: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--bg-paper);
  background-image: linear-gradient(to right, var(--line-subtle) 1px, transparent 1px);
  background-size: 168px 100%;
  background-position: center top;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.skip-link:focus {
  left: 16px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: 24px;
}

/* ==========================================================================
   Cabeçalho
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 246, 243, 0.88);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 28px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(247, 246, 243, 0.92) 0%, rgba(247, 246, 243, 0.48) 45%, rgba(247, 246, 243, 0) 100%);
  opacity: 0;
  transition: opacity 280ms ease;
}

body.is-scrolled .site-header {
  border-bottom-color: rgba(20, 18, 24, 0.06);
  background: rgba(247, 246, 243, 0.86);
}

body.is-scrolled .site-header::after {
  opacity: 1;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 16.5px;
  letter-spacing: -0.025em;
  line-height: 1;
}

.brand-escala {
  font-weight: 700;
  color: var(--ink);
}

.brand-cad {
  font-weight: 400;
  color: var(--ink-body);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.header-nav a {
  font-size: 14px;
  font-weight: 450;
  color: var(--ink-body);
  text-decoration: none;
  transition: color 160ms ease;
}

.header-nav a:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-login {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-body);
  text-decoration: none;
  transition: color 160ms ease;
}

.header-login:hover {
  color: var(--ink);
}

.header-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 6px 0 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 240ms ease, color 240ms ease, border-color 180ms ease, box-shadow 180ms ease, padding 220ms ease;
}

.header-cta:not(.is-prism-active) .header-prism-glow,
.header-cta:not(.is-prism-active) .header-prism-star {
  display: none !important;
}

.header-cta:hover {
  border-color: rgba(20, 18, 24, 0.28);
  box-shadow: 0 2px 8px rgba(20, 18, 24, 0.06);
}

.header-cta-mobile {
  display: none;
}

.header-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: #FFFFFF;
}

/* ==========================================================================
   Botão CTA Prismático Exato (botao-prisma-escalacad.css)
   ========================================================================== */
.ec-prism-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ec-prism-paper);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
}

.ec-prism-glow {
  --ec-glow-width: 1.75px;
  position: absolute;
  z-index: -1;
  inset: calc(-1 * var(--ec-glow-width));
  border-radius: 999px;
  pointer-events: none;
}

.ec-prism-glow-haze {
  position: absolute;
  inset: 0;
  overflow: visible;
  pointer-events: none;
  filter: blur(8px);
  -webkit-filter: blur(8px);
  opacity: 0.68;
  transform: translateZ(0);
  transition:
    inset 240ms var(--ec-prism-out),
    filter 240ms var(--ec-prism-out),
    opacity 240ms var(--ec-prism-out);
}

.ec-prism-glow-haze-clip,
.ec-prism-glow-ring {
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: 999px;
  clip-path: inset(0 round 999px);
  -webkit-clip-path: inset(0 round 999px);
}

.ec-prism-glow-ring {
  background-color: #2a2533;
}

.ec-prism-glow-fill {
  position: absolute;
  inset: var(--ec-glow-width);
  border-radius: 999px;
  background-color: var(--ec-prism-ink);
}

.ec-prism-spin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 165%;
  aspect-ratio: 1;
  translate: -50% -50%;
  mix-blend-mode: screen;
  will-change: rotate;
}

.ec-prism-spin-a {
  background: conic-gradient(
    from 0deg,
    transparent 0deg 14deg,
    var(--ec-prism-red) 20deg,
    var(--ec-prism-yellow) 30deg,
    var(--ec-prism-paper) 40deg,
    var(--ec-prism-teal) 50deg,
    var(--ec-prism-blue) 58deg,
    transparent 68deg 164deg,
    var(--ec-prism-blue) 170deg,
    var(--ec-prism-teal) 178deg,
    var(--ec-prism-paper) 186deg,
    var(--ec-prism-yellow) 194deg,
    var(--ec-prism-red) 200deg,
    transparent 208deg
  );
  animation: ec-prism-spin-a 10.3s var(--ec-prism-ease) infinite;
}

.ec-prism-spin-b {
  background: conic-gradient(
    from 0deg,
    transparent 0deg 244deg,
    var(--ec-prism-yellow) 250deg,
    var(--ec-prism-paper) 262deg,
    var(--ec-prism-teal) 276deg,
    var(--ec-prism-blue) 290deg,
    transparent 300deg
  );
  animation: ec-prism-spin-b 12.7s var(--ec-prism-ease) infinite;
}

.ec-prism-spin-c {
  background: conic-gradient(
    from 0deg,
    transparent 0deg 90deg,
    var(--ec-prism-red) 96deg,
    var(--ec-prism-paper) 104deg,
    var(--ec-prism-blue) 112deg,
    transparent 120deg
  );
  animation: ec-prism-spin-c 7.9s var(--ec-prism-ease) infinite;
}

.ec-prism-spin-d {
  background: conic-gradient(
    from 0deg,
    transparent 0deg 30deg,
    color-mix(in srgb, var(--ec-prism-paper) 75%, transparent) 75deg 120deg,
    transparent 200deg
  );
  animation: ec-prism-spin-d 15.1s var(--ec-prism-ease) infinite;
}

.ec-prism-btn :is(.ec-prism-glow-haze-clip, .ec-prism-glow-ring)::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 165%;
  aspect-ratio: 1;
  translate: -50% -50%;
  background: conic-gradient(
    from 0deg,
    var(--ec-prism-red),
    var(--ec-prism-yellow),
    var(--ec-prism-teal),
    var(--ec-prism-blue),
    var(--ec-prism-star),
    var(--ec-prism-red)
  );
  content: "";
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 240ms var(--ec-prism-out);
  animation: ec-prism-spin-b 12.7s var(--ec-prism-ease) infinite;
  will-change: rotate;
}

@media (hover: hover) and (pointer: fine) {
  .ec-prism-btn:hover .ec-prism-glow-haze {
    inset: -5px;
    filter: blur(11px) saturate(2.1) brightness(1.15);
    opacity: 0.95;
  }

  .ec-prism-btn:hover :is(.ec-prism-glow-haze-clip, .ec-prism-glow-ring)::before {
    opacity: 0.9;
  }
}

.ec-prism-star {
  position: relative;
  display: inline-grid;
  width: 16px;
  height: 16px;
  flex: none;
}

.ec-prism-star-haze {
  position: absolute;
  inset: 0;
  filter: blur(3px);
  opacity: 0.9;
}

.ec-prism-star-light {
  position: absolute;
  inset: 0;
  isolation: isolate;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5c.9 0 1.3.8 1.6 1.9.8 3.1 2.9 5.2 6 6 1.1.3 1.9.7 1.9 1.6s-.8 1.3-1.9 1.6c-3.1.8-5.2 2.9-6 6-.3 1.1-.7 1.9-1.6 1.9s-1.3-.8-1.6-1.9c-.8-3.1-2.9-5.2-6-6C3.3 13.3 2.5 12.9 2.5 12s.8-1.3 1.9-1.6c3.1-.8 5.2-2.9 6-6 .3-1.1.7-1.9 1.6-1.9Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5c.9 0 1.3.8 1.6 1.9.8 3.1 2.9 5.2 6 6 1.1.3 1.9.7 1.9 1.6s-.8 1.3-1.9 1.6c-3.1.8-5.2 2.9-6 6-.3 1.1-.7 1.9-1.6 1.9s-1.3-.8-1.6-1.9c-.8-3.1-2.9-5.2-6-6C3.3 13.3 2.5 12.9 2.5 12s.8-1.3 1.9-1.6c3.1-.8 5.2-2.9 6-6 .3-1.1.7-1.9 1.6-1.9Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ec-prism-star-haze > .ec-prism-star-light {
  background-color: var(--ec-prism-star);
}

.ec-prism-star > .ec-prism-star-light {
  background-color: var(--ec-prism-paper);
}

.ec-prism-star-light .ec-prism-spin {
  top: 121%;
  left: 134%;
  width: 420%;
}

@keyframes ec-prism-spin-a {
  0% { rotate: 0deg; }
  24% { rotate: 170deg; }
  32% { rotate: 110deg; }
  58% { rotate: 300deg; }
  67% { rotate: 240deg; }
  92% { rotate: 420deg; }
  100% { rotate: 360deg; }
}

@keyframes ec-prism-spin-b {
  0% { rotate: 120deg; }
  23% { rotate: -20deg; }
  32% { rotate: 30deg; }
  62% { rotate: -150deg; }
  70% { rotate: -100deg; }
  97% { rotate: -260deg; }
  100% { rotate: -240deg; }
}

@keyframes ec-prism-spin-c {
  0% { rotate: 40deg; }
  30% { rotate: 230deg; }
  41% { rotate: 160deg; }
  67% { rotate: 330deg; }
  73% { rotate: 290deg; }
  95% { rotate: 430deg; }
  100% { rotate: 400deg; }
}

@keyframes ec-prism-spin-d {
  0% { rotate: 200deg; }
  20% { rotate: 90deg; }
  28% { rotate: 130deg; }
  59% { rotate: -40deg; }
  67% { rotate: 0deg; }
  98% { rotate: -170deg; }
  100% { rotate: -160deg; }
}

@media (prefers-reduced-motion: reduce) {
  .ec-prism-glow-haze,
  .ec-prism-btn :is(.ec-prism-glow-haze-clip, .ec-prism-glow-ring)::before,
  .ec-prism-spin {
    transition: none;
    animation: none;
  }
}

.btn-secondary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.btn-secondary-pill:hover {
  border-color: rgba(20, 18, 24, 0.30);
  background: #FFFFFF;
}

.btn-secondary-pill.btn-sm {
  height: 38px;
  padding: 0 18px;
  font-size: 13.5px;
}

/* ==========================================================================
   Hero + Palco 3D + Padrões da Engenharia
   ========================================================================== */
.hero {
  padding-top: 30px;
}

.hero-stack {
  display: flex;
  flex-direction: column;
}

.hero-head {
  order: 1;
  text-align: center;
  max-width: 1020px;
}

.hero-title {
  margin: 0 auto 12px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.75vw, 3.2rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.036em;
  color: var(--ink);
}

.hero-subtitle {
  margin: 0 auto 20px;
  max-width: 630px;
  font-size: 16px;
  line-height: 1.52;
  color: var(--ink-body);
}

.hero-subtitle strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* Palco 3D Central */
.hero-stage-shell {
  order: 2;
  max-width: 1020px;
  margin-top: 22px;
  margin-bottom: 24px;
}

.stage-bezel {
  padding: 10px;
  border-radius: 24px;
  background: #ECEAE3;
  border: 1px solid rgba(20, 18, 24, 0.06);
  box-shadow: var(--shadow-stage);
}

.stage-window {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid rgba(20, 18, 24, 0.07);
  overflow: hidden;
}

.stage-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #FAF9F6;
  border-bottom: 1px solid var(--line);
}

.stage-breadcrumb {
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crumb-muted {
  color: var(--ink-muted);
  margin-right: 4px;
}

.crumb-mobile {
  display: none;
}

.stage-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: #EFECE6;
}

.stage-tab {
  border: 0;
  background: transparent;
  color: var(--ink-body);
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 13px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.stage-tab:hover {
  color: var(--ink);
}

.stage-tab.is-active {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(20, 18, 24, 0.08);
}

.stage-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.stage-live-mobile {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-body);
}

.stage-spec {
  font-size: 12.5px;
  color: var(--ink-muted);
  white-space: nowrap;
}

.stage-export-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 160ms ease;
}

.stage-export-btn:hover {
  border-color: rgba(20, 18, 24, 0.30);
}

.stage-viewport {
  position: relative;
  width: 100%;
  height: clamp(320px, 46vw, 458px);
  background: #FAF9F6;
  background-image: radial-gradient(rgba(20, 18, 24, 0.09) 1px, transparent 1px);
  background-size: 20px 20px;
  overflow: hidden;
}

.stage-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.stage-panel.is-active {
  animation: stagePanelEnter 460ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes stagePanelEnter {
  from {
    opacity: 0;
    transform: scale(0.982);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.stage-panel[hidden] {
  display: none;
}

.hero-3d-live-canvas {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.hero-3d-live-canvas:active {
  cursor: grabbing;
}

.hero-3d-live-canvas[data-live-mounted="true"] .stage-fallback-img {
  display: none;
}

.hero-3d-live-canvas > canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  touch-action: none;
}

.stage-fallback-img,
.stage-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  transition: transform 220ms ease;
}

.stage-live-chip {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-strong);
  box-shadow: 0 2px 10px rgba(20, 18, 24, 0.06);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-live);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
  flex: none;
}

.stage-zoom-controls {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(20, 18, 24, 0.06);
}

.zoom-btn,
.zoom-reset {
  border: 0;
  background: transparent;
  color: var(--ink-body);
  font-size: 12px;
  font-weight: 600;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  cursor: pointer;
}

.zoom-btn:hover,
.zoom-reset:hover {
  background: var(--bg-soft);
  color: var(--ink);
}

.stage-steps-bar {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(20, 18, 24, 0.09);
  max-width: calc(100% - 170px);
}

.step-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.step-pill:hover {
  color: var(--ink);
}

.step-pill.is-done {
  color: #15803D;
}

.step-pill.is-current {
  background: var(--ink);
  color: #FFFFFF;
  font-weight: 500;
}

.step-mark {
  display: none;
  font-weight: 700;
}

.step-pill.is-done .step-mark {
  display: inline;
}

.step-dot {
  display: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber-live);
  flex: none;
}

.step-pill.is-current .step-dot {
  display: inline-block;
}

.stage-mobile-status {
  display: none;
}

/* Faixa Padrões da Engenharia */
.hero-standards {
  order: 3;
  background: var(--bg-strip);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.standards-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.standards-eyebrow {
  margin: 0;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: center;
}

.eyebrow-mobile {
  display: none;
}

.standards-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px 18px;
  align-items: center;
}

.standard-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--ink);
}

.standard-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  flex: none;
}

.standard-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.standard-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.standard-sub {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin-top: 2px;
}

/* ==========================================================================
   Seções Globais
   ========================================================================== */
.section {
  padding: 84px 0;
}

.section-control {
  padding: 72px 0 80px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.section-title,
.section-title-left {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.1vw, 2.55rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.032em;
  color: var(--ink);
}

.section-head-center {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 44px;
}

.section-lead {
  margin: 14px auto 0;
  font-size: 15.5px;
  color: var(--ink-body);
  line-height: 1.58;
}

/* ==========================================================================
   Bloco 2: Sem planos caros. Controle total.
   ========================================================================== */
.control-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  align-items: end;
  gap: 28px;
  margin-bottom: 34px;
}

.control-head-right {
  margin: 0;
  font-size: 15px;
  line-height: 1.58;
  color: var(--ink-body);
  text-align: right;
  max-width: 400px;
  justify-self: end;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  flex: none;
}

.pillar-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.pillar-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.56;
  color: var(--ink-body);
}

/* ==========================================================================
   Bloco 3: O futuro do projeto elétrico (Grid 2×2 em malha pontilhada)
   ========================================================================== */
.bento-2x2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  margin-bottom: 14px;
  color: var(--ink);
}

.feature-icon.is-lavender { background: #EFE6FA; color: #6D28D9; }
.feature-icon.is-mint { background: #E3F6EE; color: #047857; }
.feature-icon.is-peach { background: #FCECDD; color: #C2410C; }
.feature-icon.is-sky { background: #E2F2FB; color: #0369A1; }

.feature-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.018em;
}

.feature-card > p {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--ink-body);
}

.dot-grid {
  background-color: #FAF9F5;
  background-image: radial-gradient(rgba(20, 18, 24, 0.12) 1px, transparent 1px);
  background-size: 16px 16px;
}

.feature-canvas {
  margin-top: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 18px;
  min-height: 248px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.canvas-shot {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px -12px rgba(20, 18, 24, 0.18);
}

.import-preview {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 14px;
  align-items: center;
}

.import-preview-img {
  width: 100%;
  height: 204px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.briefing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 8px 22px -14px rgba(20, 18, 24, 0.16);
}

.briefing-kicker {
  margin: 0 0 2px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
}

.briefing-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.briefing-sub {
  margin: 2px 0 10px;
  font-size: 11.5px;
  color: var(--ink-muted);
}

.briefing-list {
  margin: 0 0 12px;
  display: grid;
  gap: 5px;
  font-size: 12px;
}

.briefing-list > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.briefing-list dt {
  color: var(--ink-muted);
}

.briefing-list dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}

.briefing-cta {
  display: block;
  text-align: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: #F4F2ED;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  color: #1D4ED8;
  text-decoration: none;
}

.briefing-cta:hover {
  background: #ECE9E1;
}

.phone-mockup {
  width: 124px;
  padding: 6px;
  border-radius: 22px;
  background: #1B191F;
  box-shadow: 0 16px 32px -14px rgba(20, 18, 24, 0.35);
}

.phone-mockup img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 16px;
}

/* ==========================================================================
   Bloco 4: Blocos Pastéis de Fatos Reais
   ========================================================================== */
.pastel-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pastel-card {
  border-radius: var(--radius-card);
  padding: 32px 30px;
  border: 1px solid rgba(20, 18, 24, 0.05);
}

.pastel-card.is-lavender { background: #EDE4F8; }
.pastel-card.is-peach { background: #F8E5D8; }
.pastel-card.is-cyan { background: #DCF1F6; }

.pastel-card.is-wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.pastel-metric {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
}

.pastel-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.pastel-card p:not(.pastel-metric) {
  margin: 0;
  font-size: 14px;
  line-height: 1.58;
  color: #464440;
  max-width: 680px;
}

.pastel-inline-link {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 18, 24, 0.10);
  transition: background-color 160ms ease;
}

.pastel-inline-link:hover {
  background: #FFFFFF;
}

.section-center-cta {
  margin-top: 28px;
  text-align: center;
}

/* ==========================================================================
   Bloco 5: Perfis + Planos e Pix
   ========================================================================== */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.profile-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.profile-visual {
  border-radius: 13px;
  border: 1px solid var(--line);
  padding: 14px;
  height: 224px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
  border: 1px solid var(--line);
}

.profile-body {
  padding: 0 4px 4px;
}

.profile-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.profile-body p {
  margin: 0 0 14px;
  font-size: 14.5px;
  color: var(--ink-body);
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.text-link {
  font-size: 14px;
  font-weight: 600;
  color: #1D4ED8;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.text-link-muted {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
}

.text-link-muted:hover {
  color: var(--ink);
}

/* Planos & Pix transparentes */
.plans-strip {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  scroll-margin-top: 84px;
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.plan-card.is-highlight {
  border-color: rgba(20, 18, 24, 0.24);
  box-shadow: 0 14px 36px -18px rgba(20, 18, 24, 0.14);
}

.plan-tag {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.plan-head h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.plan-price {
  margin: 0 0 18px;
  font-size: 13.5px;
  color: var(--ink-body);
}

.plan-price strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.plan-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 9px;
  font-size: 13.5px;
  color: var(--ink-body);
}

.plan-list li {
  position: relative;
  padding-left: 18px;
}

.plan-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #15803D;
  font-weight: 700;
}

.btn-plan {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.btn-plan:hover {
  background: #ECEAE3;
}

.btn-plan.is-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #FFFFFF;
}

.btn-plan.is-dark:hover {
  background: #27242E;
}

/* ==========================================================================
   Bloco 6: FAQ Lateral
   ========================================================================== */
.section-faq {
  padding-top: 56px;
  padding-bottom: 92px;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: 44px;
  align-items: start;
}

.faq-lead {
  margin: 14px 0 22px;
  font-size: 15px;
  color: var(--ink-body);
  line-height: 1.58;
}

.faq-intro-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 160ms ease;
}

.faq-item[open] {
  border-color: var(--line-strong);
}

.faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}

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

.faq-plus {
  position: relative;
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--ink-muted);
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.6px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}

.faq-plus::after {
  transform: rotate(90deg);
}

.faq-item[open] .faq-plus::after {
  transform: rotate(0deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 20px 18px;
}

.faq-answer p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-body);
}

/* ==========================================================================
   Rodapé
   ========================================================================== */
.site-footer {
  background: var(--bg-strip);
  border-top: 1px solid var(--line);
  padding: 36px 0 44px;
}

.footer-top-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.brand-footer .brand-name {
  font-size: 15px;
}

.footer-meta-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--ink-muted);
}

.footer-meta-links a {
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-meta-links a:hover {
  color: var(--ink);
}

.locale-pill {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-body);
}

.footer-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.footer-col-title {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.footer-col-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.footer-col-list a {
  font-size: 13px;
  color: var(--ink-body);
  text-decoration: none;
  transition: color 150ms ease;
}

.footer-col-list a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-legal {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-note {
  margin: 0;
  max-width: 720px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-muted);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.legal-links a {
  font-size: 12.5px;
  color: var(--ink-body);
  text-decoration: none;
}

.legal-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* ==========================================================================
   Motor 2D Ao Vivo (Hero + Card 2) & Troca Instantânea 2D ↔ 3D
   ========================================================================== */
.tab-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-live);
  margin-right: 6px;
  vertical-align: middle;
  box-shadow: 0 0 0 2.5px rgba(22, 163, 74, 0.20);
}

.stage-switch-chip {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--ink);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(20, 18, 24, 0.16);
  transition: transform 150ms ease, background-color 150ms ease;
}

.stage-switch-chip:hover {
  background: #23202A;
  transform: translateY(-1px);
}

.hero-2d-live-canvas,
.card-2d-live-canvas {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #FFFFFF;
  touch-action: pan-y;
}

.hero-2d-live-canvas[data-live-mounted="true"] .stage-fallback-img,
.card-2d-live-canvas[data-live-mounted="true"] .stage-fallback-img {
  display: none;
}

.hero-2d-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.is-live-2d-card {
  padding: 0;
  min-height: 248px;
}

.card-2d-live-canvas {
  min-height: 248px;
  border-radius: 13px;
}

.cad2d-card-pill {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-strong);
  box-shadow: 0 2px 10px rgba(20, 18, 24, 0.08);
  pointer-events: none;
}

.cad2d-tooltip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 8;
  max-width: 224px;
  padding: 8px 11px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.94);
  color: #FFFFFF;
  box-shadow: 0 10px 24px -8px rgba(15, 23, 42, 0.45);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11.5px;
  line-height: 1.35;
}

.cad2d-tooltip[hidden] {
  display: none;
}

.cad2d-tooltip strong {
  font-size: 12px;
  font-weight: 600;
  color: #FFFFFF;
}

.cad2d-tooltip span {
  color: rgba(255, 255, 255, 0.80);
}

/* ==========================================================================
   Bloco 3.5: Comparativo Visual de Alto Contraste (CAD Tradicional vs EscalaCAD)
   ========================================================================== */
.section-compare {
  padding: 78px 0;
  background: linear-gradient(180deg, rgba(236, 234, 227, 0.48) 0%, rgba(247, 246, 243, 0) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.vs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.vs-card {
  position: relative;
  min-width: 0;
  border-radius: 22px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.vs-card.is-legacy {
  background: #F1EFEA;
  border: 1px solid rgba(20, 18, 24, 0.09);
  color: var(--ink-body);
}

.vs-card.is-escalacad {
  background: #141218;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  box-shadow: 0 28px 60px -24px rgba(15, 13, 20, 0.55);
}

.vs-prism-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3B82F6 0%, #8B5CF6 28%, #EC4899 54%, #F59E0B 78%, #22C55E 100%);
  background-size: 200% 100%;
  animation: vsPrismSlide 6s linear infinite;
}

@keyframes vsPrismSlide {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.vs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}

.vs-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-body);
}

.vs-label.is-dark {
  color: #FFFFFF;
  font-size: 16px;
}

.vs-badge-muted {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
  background: rgba(20, 18, 24, 0.06);
  padding: 4px 10px;
  border-radius: 999px;
}

.vs-badge-sync {
  font-size: 11px;
  font-weight: 600;
  color: #86EFAC;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.28);
  padding: 4px 11px;
  border-radius: 999px;
}

.vs-metric-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}

.vs-metric-legacy {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #64748B;
}

.vs-metric-fast {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: #22C55E;
}

.vs-metric-sub {
  font-size: 13.5px;
  color: var(--ink-muted);
}

.vs-metric-sub.is-dark {
  color: rgba(255, 255, 255, 0.72);
}

.vs-legacy-track,
.vs-fast-track {
  position: relative;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 20px;
}

.vs-legacy-track {
  background: rgba(20, 18, 24, 0.08);
}

.vs-legacy-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #CBD5E1 0%, #94A3B8 100%);
  border-radius: 999px;
}

.vs-fast-track {
  background: rgba(255, 255, 255, 0.10);
  overflow: visible;
}

.vs-fast-fill {
  display: block;
  width: 24%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #16A34A 0%, #4ADE80 100%);
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.65);
  animation: vsPulseBar 2.8s ease-in-out infinite;
}

@keyframes vsPulseBar {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.22); }
}

.vs-manual-steps {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.vs-manual-steps li {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(20, 18, 24, 0.08);
  border-radius: 10px;
  padding: 9px 6px;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink-body);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.vs-manual-steps li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #CBD5E1;
  color: #334155;
  font-size: 10.5px;
  font-weight: 700;
}

.vs-sync-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
}

.vs-sync-pill {
  padding: 6px 11px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 600;
  color: #F8FAFC;
}

.vs-sync-plus {
  font-size: 12px;
  font-weight: 700;
  color: #4ADE80;
}

.vs-cons,
.vs-pros {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14px;
  line-height: 1.45;
}

.vs-cons li,
.vs-pros li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.vs-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(148, 163, 184, 0.22);
  color: #64748B;
  font-size: 11px;
  font-weight: 700;
  flex: none;
  margin-top: 1px;
}

.vs-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #22C55E;
  color: #052E16;
  font-size: 12px;
  font-weight: 800;
  flex: none;
  margin-top: 1px;
}

.vs-pros {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 24px;
}

.vs-pros strong {
  color: #FFFFFF;
}

.vs-card-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: #22C55E;
  color: #052E16;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 150ms ease, filter 150ms ease;
}

.vs-card-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

/* ==========================================================================
   Bloco 3.7: Baixe um Projeto Completo Feito no EscalaCAD (PDF Real)
   ========================================================================== */
.section-sample-pdf {
  padding: 72px 0;
}

.sample-pdf-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px;
  box-shadow: var(--shadow-card);
}

.sample-pdf-lead {
  margin: 12px 0 18px;
  font-size: 15px;
  line-height: 1.58;
  color: var(--ink-body);
}

.sample-pdf-lead strong {
  color: var(--ink);
}

.sample-pdf-sheets {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-body);
}

.sample-pdf-sheets li {
  position: relative;
  padding-left: 18px;
}

.sample-pdf-sheets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #16A34A;
  font-weight: 700;
}

.sample-pdf-sheets strong {
  color: var(--ink);
}

.sample-pdf-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.sample-pdf-preview {
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 16px;
}

.sample-sheet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sample-thumb {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 16px -10px rgba(20, 18, 24, 0.16);
}

.sample-thumb img {
  display: block;
  width: 100%;
  height: 112px;
  object-fit: cover;
}

.sample-thumb figcaption {
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  border-top: 1px solid var(--line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sample-pdf-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--ink-muted);
}

.sample-pdf-meta strong {
  color: #15803D;
}

.ec-prism-btn-sm {
  height: 46px;
  padding: 0 22px;
  font-size: 14.5px;
}

/* ==========================================================================
   Bloco 2.5: Seu projeto elétrico em 3 passos simples (3 telas ao vivo)
   ========================================================================== */
.section-steps3 {
  padding: 72px 0;
  background: linear-gradient(180deg, rgba(236, 234, 227, 0.35) 0%, rgba(247, 246, 243, 0) 100%);
  border-top: 1px solid var(--line);
}

.steps3-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.step3-card {
  position: relative;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px 22px 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.step3-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--ink);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  box-shadow: 0 6px 16px -6px rgba(20, 18, 24, 0.35);
}

.step3-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.step3-list {
  margin: 0 0 18px;
  padding: 0 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-body);
}

.step3-list strong {
  color: var(--ink);
  font-weight: 600;
}

.step3-screen {
  position: relative;
  margin-top: auto;
  width: 100%;
  height: 204px;
  border-radius: 13px;
  border: 1px solid rgba(20, 18, 24, 0.12);
  background: #FFFFFF;
  overflow: hidden;
  box-shadow: 0 12px 28px -16px rgba(20, 18, 24, 0.22);
}

/* ==========================================================================
   Header CTA Prismático ao fazer scroll (vira preto + arco-íris + estrela)
   ========================================================================== */
.header-cta {
  position: relative;
  isolation: isolate;
  transition: background-color 260ms ease, color 260ms ease, border-color 260ms ease, box-shadow 260ms ease, padding 220ms ease;
}

.header-prism-glow {
  opacity: 0;
  transition: opacity 280ms ease;
}

.header-prism-star {
  width: 0;
  height: 14px;
  margin-right: 0;
  opacity: 0;
  overflow: hidden;
  transition: width 240ms ease, opacity 240ms ease, margin-right 240ms ease;
}

.header-cta.is-prism-active {
  background: #141218;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 24px -10px rgba(20, 18, 24, 0.55);
  padding: 0 14px;
}

.header-cta.is-prism-active .header-prism-glow {
  opacity: 1;
}

.header-cta.is-prism-active .header-prism-star {
  width: 14px;
  margin-right: 2px;
  opacity: 1;
}

.header-cta.is-prism-active .header-cta-arrow {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

/* ==========================================================================
   Card Largura Total: Cortes de Vista 2D ao Vivo (Corte AA · 1:50)
   ========================================================================== */
.feature-card.is-span-2 {
  grid-column: 1 / -1;
}

.span-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.span-card-head p {
  margin: 0;
  max-width: 680px;
  font-size: 14px;
  color: var(--ink-body);
}

.is-section-cut-card {
  padding: 0;
  min-height: 290px;
}

.section-cut-live-canvas {
  position: relative;
  width: 100%;
  min-height: 290px;
  border-radius: 13px;
  overflow: hidden;
  background: #FFFFFF;
}

/* ==========================================================================
   Animações suaves de fade + blur ao rolar (estilo OpenBot.run) + Scanner IA
   ========================================================================== */
.reveal-ready {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(6px);
  will-change: opacity, transform, filter;
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Scanner de IA ao vivo no card de Importação */
.import-preview-media {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  line-height: 0;
}

.import-preview-media .import-preview-img {
  display: block;
}

.import-ai-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
  z-index: 2;
}

.import-ai-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: -18%;
  height: 28%;
  background: linear-gradient(
    to bottom,
    rgba(116, 185, 255, 0) 0%,
    rgba(107, 199, 217, 0.16) 55%,
    rgba(208, 175, 237, 0.30) 92%,
    rgba(116, 185, 255, 0.88) 100%
  );
  box-shadow: 0 2px 14px rgba(116, 185, 255, 0.55);
  animation: importAiScan 3.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes importAiScan {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateY(440%); opacity: 0; }
}

.import-ai-node {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2563EB;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.55);
  animation: importAiNodePulse 2.4s ease-out infinite;
}

.import-ai-node.is-a { left: 26%; top: 32%; animation-delay: 0s; }
.import-ai-node.is-b { left: 62%; top: 44%; animation-delay: 0.7s; background: #10B981; }
.import-ai-node.is-c { left: 42%; top: 62%; animation-delay: 1.4s; background: #F59E0B; }

@keyframes importAiNodePulse {
  0% { transform: scale(0.85); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.55); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 11px rgba(37, 99, 235, 0); }
  100% { transform: scale(0.85); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.import-ai-pill {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: calc(100% - 20px);
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(20, 18, 24, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 20px -8px rgba(20, 18, 24, 0.5);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.import-ai-spark {
  display: inline-block;
  color: #D0AFED;
  font-size: 13px;
  line-height: 1;
  animation: importAiSpark 2.2s ease-in-out infinite;
}

@keyframes importAiSpark {
  0%, 100% { transform: scale(0.92) rotate(0deg); opacity: 0.8; }
  50% { transform: scale(1.18) rotate(18deg); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-ready {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .import-ai-scan,
  .import-ai-node,
  .import-ai-spark {
    animation: none;
  }
}

/* ==========================================================================
   Responsividade — Tablet e Mobile (CRÍTICO: <= 768px Padrões ACIMA do 3D)
   ========================================================================== */
@media (max-width: 1024px) {
  .header-nav {
    gap: 18px;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .standards-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .plans-strip {
    grid-template-columns: 1fr;
  }

  .stage-topbar {
    grid-template-columns: auto 1fr;
  }

  .stage-meta {
    display: none;
  }
}

@media (max-width: 768px) {
  body {
    background-size: 92px 100%;
  }

  .container {
    padding-inline: 18px;
  }

  .header-inner {
    height: 58px;
  }

  .header-nav,
  .header-login,
  .header-cta-desktop {
    display: none;
  }

  .header-cta-mobile {
    display: inline;
  }

  .header-cta {
    height: 36px;
    padding: 0 5px 0 14px;
    font-size: 13.5px;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-title {
    font-size: clamp(1.95rem, 8.2vw, 2.35rem);
    max-width: 340px;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 14.5px;
    max-width: 340px;
    margin-bottom: 22px;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .ec-prism-btn,
  .btn-secondary-pill {
    width: 100%;
    height: 48px;
  }

  /* REGRA CRÍTICA MOBILE: Padrões da Engenharia ACIMA do Palco 3D */
  .hero-standards {
    order: 2;
    margin-top: 24px;
    padding: 16px 0;
  }

  .eyebrow-desktop {
    display: none;
  }

  .eyebrow-mobile {
    display: inline;
  }

  .standards-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 6px;
  }

  .standard-item {
    justify-content: flex-start;
    gap: 6px;
  }

  .standard-icon svg {
    width: 20px;
    height: 20px;
  }

  .standard-title {
    font-size: 12px;
  }

  .standard-sub {
    display: none;
  }

  .hero-stage-shell {
    order: 3;
    margin-top: 20px;
    margin-bottom: 12px;
  }

  .stage-bezel {
    padding: 8px;
    border-radius: 20px;
  }

  .stage-topbar {
    grid-template-columns: 1fr auto;
    padding: 10px 12px;
    row-gap: 8px;
  }

  .stage-breadcrumb {
    order: 1;
  }

  .crumb-desktop {
    display: none;
  }

  .crumb-mobile {
    display: inline;
  }

  .stage-meta {
    order: 2;
    display: flex;
  }

  .stage-live-mobile {
    display: inline-flex;
  }

  .stage-spec,
  .stage-export-btn {
    display: none;
  }

  .stage-tabs {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
    gap: 2px;
    padding: 3px;
    justify-content: space-between;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .stage-tabs::-webkit-scrollbar {
    display: none;
  }

  .stage-tab {
    padding: 5px 6px;
    font-size: 11px;
    white-space: nowrap;
    flex: 1 1 auto;
    text-align: center;
  }

  .stage-viewport {
    aspect-ratio: 4 / 3.9;
    max-height: none;
  }

  .stage-fallback-img {
    transform: scale(1.22);
    object-position: center 54%;
  }

  .stage-live-chip,
  .stage-zoom-controls,
  .stage-steps-bar {
    display: none;
  }

  .stage-mobile-status {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--ink);
    color: #FFFFFF;
    font-size: 12.5px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(20, 18, 24, 0.24);
  }

  /* Bloco 2 no Mobile: cartões horizontais compactos como home-maket-mobile-com-controle.png */
  .section {
    padding: 56px 0;
  }

  .section-control {
    padding: 46px 0 56px;
  }

  .control-head {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 22px;
  }

  .control-head-right {
    text-align: left;
    justify-self: start;
    font-size: 14.5px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pillar-card {
    flex-direction: row;
    align-items: flex-start;
    padding: 16px;
    gap: 14px;
    border-radius: 15px;
  }

  .bento-2x2,
  .steps3-grid,
  .pastel-bento,
  .profiles-grid,
  .faq-layout,
  .footer-directory {
    grid-template-columns: 1fr;
  }

  .import-preview {
    grid-template-columns: 1fr;
  }

  .pastel-card.is-wide {
    flex-direction: column;
    align-items: flex-start;
  }

  .faq-layout {
    gap: 24px;
  }

  .span-card-head {
    flex-direction: column;
    gap: 12px;
  }

  .is-section-cut-card,
  .section-cut-live-canvas {
    min-height: 240px;
  }

  .stage-switch-chip {
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    font-size: 11px;
  }

  .section-compare {
    padding: 52px 0;
  }

  .vs-grid,
  .sample-pdf-shell {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .vs-card {
    padding: 22px 18px;
  }

  .vs-manual-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sample-pdf-shell {
    padding: 22px 18px;
  }

  .sample-pdf-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sample-pdf-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  .container {
    padding-inline: 14px;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .standard-title {
    font-size: 11px;
  }

  .stage-tab {
    padding: 5px 7px;
    font-size: 11px;
  }
}
