/* ============================================================
   JN Projetos e Soluções — tema escuro CAD
   Fundo grafite (como o tema escuro do AutoCAD), laranja da
   marca nos destaques, detalhes em fonte mono, cantos suaves.
   ============================================================ */

:root {
  --bg: #111317;
  --bg-2: #15181d;          /* seções alternadas */
  --surface: #1a1d23;       /* cards */
  --surface-2: #21252c;     /* hover / campos */
  --line: #2a2f37;
  --line-2: #363c46;
  --text: #ecebe8;
  --text-2: #c3c6cc;
  --muted: #8d939d;
  --orange: #ff6a2b;
  --orange-2: #ff8a4c;
  --orange-glow: rgba(255, 106, 43, 0.35);
  --orange-soft: rgba(255, 106, 43, 0.12);
  --cyan: #3ec7e0;          /* cor de layer, só em detalhes */
  --grip: #4b8dff;          /* grips azuis do CAD */

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --head: 68px;
  --wrap: 1200px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 16px); color-scheme: dark; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, .h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.012em; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 700; }
h3, .h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
p + p { margin-top: 0.8em; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--orange); color: #111; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--orange); color: #111; padding: 8px 14px; border-radius: var(--r-sm);
}
.skip:focus { top: 12px; }

/* ---------- Rótulos ---------- */

.tag {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.tag::before { content: '>'; color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--text-2); max-width: 52ch; margin-top: 20px; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s, color 0.15s;
}
.btn span[aria-hidden] { transition: transform 0.15s; }
.btn:hover span[aria-hidden] { transform: translateX(3px); }
.btn--primary { background: var(--orange); color: #111; }
.btn--primary:hover { background: var(--orange-2); box-shadow: 0 0 0 4px var(--orange-soft), 0 8px 28px -8px var(--orange-glow); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--text-2); background: var(--surface); }
.btn--sm { padding: 8px 16px; font-size: 0.88rem; }
.btn--block { width: 100%; }

/* ---------- Selos ---------- */

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  line-height: 1.6;
  white-space: nowrap;
}
.badge--new { color: var(--orange); background: var(--orange-soft); }
.badge--new::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 8px var(--orange); }
.badge--soon { color: var(--muted); border: 1px dashed var(--line-2); }

/* ---------- Faixa de aviso ---------- */

.aviso { background: linear-gradient(90deg, #1d1410, #1a1d23 40%, #1a1d23 60%, #1d1410); border-bottom: 1px solid var(--line); font-size: 0.88rem; color: var(--text-2); }
.aviso__inner { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding-top: 9px; padding-bottom: 9px; text-align: center; }
.aviso a { color: var(--orange); font-weight: 600; text-decoration: none; white-space: nowrap; }
.aviso a:hover { color: var(--orange-2); text-decoration: underline; }

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

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17, 19, 23, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--head); }
.header__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.header__icon { height: 36px; width: auto; }
.header__word { height: 27px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; position: relative; }
.nav > a:not(.btn), .dd__btn {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-family: var(--font); font-size: 0.93rem; font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  background: none; border: 0; cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.nav > a:not(.btn):hover, .dd__btn:hover, .dd.is-open .dd__btn { background: var(--surface); color: var(--text); }
.nav .btn { margin-left: 12px; }

.dd { position: relative; }
.dd:has(.dd__panel--wide) { position: static; }
.dd__btn::after {
  content: ''; width: 6px; height: 6px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform 0.15s;
}
.dd.is-open .dd__btn::after { transform: rotate(225deg); margin-top: 3px; }

.dd__panel {
  display: none;
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 60;
  min-width: 280px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  padding: 8px;
}
.dd__panel--wide { left: auto; right: 0; min-width: 780px; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.dd.is-open .dd__panel { display: block; }
.dd.is-open .dd__panel--wide { display: grid; }
@media (hover: hover) and (min-width: 861px) {
  .dd:hover .dd__panel { display: block; }
  .dd:hover .dd__panel--wide { display: grid; }
  .dd:hover .dd__btn { background: var(--surface); color: var(--text); }
  /* ponte invisível para o mouse não "cair" entre botão e painel */
  .dd__panel::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
}
.dd__title {
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--orange); padding: 8px 12px 6px;
}
.dd__panel a { display: block; padding: 9px 12px; border-radius: var(--r-sm); text-decoration: none; }
.dd__panel a:hover { background: var(--surface-2); }
.dd__panel a b { display: block; font-weight: 600; font-size: 0.94rem; color: var(--text); }
.dd__panel a b small { font-family: var(--mono); font-size: 0.58rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 999px; padding: 1px 6px; margin-left: 4px; vertical-align: middle; }
.dd__panel a span { display: block; font-size: 0.83rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-btn span:not(.sr-only) { width: 18px; height: 2px; border-radius: 2px; background: var(--text); display: block; }

/* ---------- Abertura ---------- */

.hero { position: relative; padding: 72px 0 88px; overflow: hidden; }
/* grade de pontos, como o fundo do model space */
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; width: 700px; height: 700px; right: -160px; top: -200px;
  background: radial-gradient(circle, rgba(255, 106, 43, 0.16), transparent 62%);
  pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--orange); text-shadow: 0 0 40px var(--orange-glow); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Janela de CAD */
.cad {
  background: #1b1f25;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}
.cad__tabs {
  display: flex; align-items: center; gap: 2px;
  background: #15181d;
  border-bottom: 1px solid var(--line);
  padding: 6px 8px 0;
  font-family: var(--mono); font-size: 0.7rem; color: var(--muted);
}
.cad__tab { padding: 7px 12px; border-radius: 6px 6px 0 0; }
.cad__tab.is-active { background: #1b1f25; color: var(--text); border: 1px solid var(--line); border-bottom-color: #1b1f25; margin-bottom: -1px; }
.cad__tab i { font-style: normal; color: var(--muted); margin-left: 8px; }
.cad__layer { margin-left: auto; display: flex; align-items: center; gap: 6px; padding: 0 6px 6px; }
.cad__layer i { width: 9px; height: 9px; border-radius: 2px; background: var(--orange); }
.cad__view {
  aspect-ratio: 600 / 380;
  background-color: #1e232a;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 20px 20px;
}
.cad__view svg { width: 100%; height: 100%; display: block; }
.c-road { fill: none; stroke: #2b313a; stroke-width: 26; stroke-linecap: round; }
.c-axis { fill: none; stroke: #4a5260; stroke-width: 1; stroke-dasharray: 10 6 2 6; }
.c-lot rect { fill: none; stroke: #3a414c; stroke-width: 1; }
.c-drop path { fill: none; stroke: var(--cyan); stroke-width: 1.2; stroke-dasharray: 4 3; opacity: 0.8; }
.c-cable {
  fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgba(255, 106, 43, 0.55));
  stroke-dasharray: 700; stroke-dashoffset: 700;
  animation: desenhar 2.2s 0.3s ease-out forwards;
}
@keyframes desenhar { to { stroke-dashoffset: 0; } }
.c-pole circle { fill: #1e232a; stroke: #d7dbe1; stroke-width: 1.6; }
.c-cto rect { fill: var(--orange); stroke: #ffd2bd; stroke-width: 1; }
.c-label text { font-family: var(--mono); font-size: 9px; fill: var(--muted); }
.c-label--cto text { fill: var(--orange-2); }
.c-grip rect { fill: var(--grip); stroke: #b9d0ff; stroke-width: 0.8; }
.c-dim path { fill: none; stroke: #9aa3b0; stroke-width: 0.8; }
.c-dim text { font-family: var(--mono); font-size: 9px; fill: #c9ced6; }
.c-cursor path { stroke: rgba(255, 255, 255, 0.28); stroke-width: 0.8; }
.c-cursor rect { fill: none; stroke: rgba(255, 255, 255, 0.7); stroke-width: 1; }
.c-ucs path { stroke-width: 2; }
.c-ucs .x { stroke: #e5484d; }
.c-ucs .y { stroke: #46a758; }
.c-ucs text { font-family: var(--mono); font-size: 9px; fill: var(--muted); }

.cad__cmd {
  border-top: 1px solid var(--line);
  background: #15181d;
  font-family: var(--mono); font-size: 0.74rem;
  padding: 8px 14px 10px;
}
.cad__hist { display: block; color: var(--muted); font-size: 0.68rem; margin-bottom: 3px; }
.cad__line { color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.cad__line b { font-weight: 500; color: var(--muted); }
.cad__typed {
  display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom;
  color: var(--text);
  width: 0; animation: digitar 1.6s 1.2s steps(16) forwards;
}
@keyframes digitar { to { width: 16ch; } }
.cad__caret { display: inline-block; width: 7px; height: 14px; background: var(--orange); animation: piscar 1s steps(1) infinite; }
@keyframes piscar { 50% { opacity: 0; } }

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

.section { padding: 88px 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--first { padding-top: 48px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section__sub { color: var(--muted); margin-top: 12px; font-size: 1.05rem; max-width: 60ch; }

/* ---------- Recursos (faixa rolável) ---------- */

.strip-nav { display: flex; gap: 8px; flex-shrink: 0; }
.strip-nav button {
  width: 44px; height: 44px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line-2); border-radius: 50%;
  cursor: pointer; font-size: 1rem;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}
.strip-nav button:hover { border-color: var(--orange); color: var(--orange); }

.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4);
  gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 16px;
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.strip:focus-visible { outline-offset: 6px; }
.feat {
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.feat:hover { border-color: rgba(255, 106, 43, 0.5); transform: translateY(-3px); }
.feat__img {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid; place-items: center;
  background-color: #1e232a;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 16px 16px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.feat__img img { width: 100%; height: 100%; object-fit: cover; }
.feat__img code {
  font-family: var(--mono); font-size: 0.8rem; color: var(--orange-2);
  background: rgba(17, 19, 23, 0.85); border: 1px solid var(--line-2); border-radius: 6px;
  padding: 6px 12px;
}
.feat__num { position: absolute; top: 10px; left: 12px; font-family: var(--mono); font-size: 0.66rem; color: var(--muted); }
.feat__body { padding: 16px 18px 12px; flex: 1; }
.feat h3 { margin-bottom: 6px; font-size: 1.08rem; }
.feat p { font-size: 0.92rem; color: var(--muted); line-height: 1.5; }
.feat__links {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  padding: 10px 18px 16px;
}
.feat__links small { width: 100%; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.feat__links a {
  font-size: 0.78rem; font-weight: 500; text-decoration: none;
  color: var(--text-2);
  padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--line-2);
  transition: border-color 0.15s, color 0.15s;
}
.feat__links a:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- Produtos (3 grupos lado a lado) ---------- */

.pgroups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pgroup {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pgroup__title {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--orange);
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.pgroup__title small { font-size: 0.66rem; color: var(--muted); }
.prows { list-style: none; padding: 6px; }
.prow {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start;
  padding: 12px;
  border-radius: var(--r);
  text-decoration: none;
  transition: background-color 0.15s;
}
.prow:hover { background: var(--surface-2); }
.prow__text b { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-weight: 600; font-size: 1rem; line-height: 1.3; }
.prow__text > span { display: block; font-size: 0.88rem; color: var(--muted); line-height: 1.45; margin-top: 3px; }
.prow__text small { display: block; font-family: var(--mono); font-size: 0.66rem; color: var(--text-2); margin-top: 6px; opacity: 0.8; }
.prow__go { align-self: center; color: var(--muted); transition: transform 0.15s, color 0.15s; }
.prow:hover .prow__go { transform: translateX(3px); color: var(--orange); }

.app-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--mono); font-weight: 600; font-size: 0.8rem;
  border-radius: 10px;
}
.app-icon--lg { width: 72px; height: 72px; font-size: 1.2rem; border-radius: 16px; }
.app-icon--fttx { background: linear-gradient(135deg, #ff8a4c, #f2501b); color: #1a0d07; box-shadow: 0 6px 18px -6px var(--orange-glow); }
.app-icon--cad { background: #2a2f38; color: var(--orange-2); border: 1px solid var(--line-2); }
.app-icon--geo, .app-icon--web { background: rgba(62, 199, 224, 0.12); color: var(--cyan); border: 1px solid rgba(62, 199, 224, 0.3); }
.app-card--soon .app-icon { filter: grayscale(0.6); opacity: 0.75; }

/* ---------- Serviços ---------- */

.services-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.srv {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 20px 18px;
  transition: border-color 0.2s;
}
.srv:hover { border-color: var(--line-2); }
.srv__num { font-family: var(--mono); font-size: 0.75rem; color: var(--orange); margin-bottom: 14px; }
.srv h3 { margin-bottom: 8px; }
.srv p { color: var(--muted); font-size: 0.92rem; flex: 1; margin-bottom: 18px; }
.srv__cta {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 8px;
  padding-top: 14px; border-top: 1px solid var(--line);
  font-weight: 600; font-size: 0.9rem; color: var(--orange);
  text-decoration: none;
}
.srv__cta span { transition: transform 0.15s; }
.srv__cta:hover span { transform: translateX(3px); }

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

.footer { border-top: 1px solid var(--line); padding: 56px 0 28px; background: #0d0f12; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand img { width: 190px; margin-bottom: 14px; }
.footer__brand p { color: var(--muted); font-size: 0.9rem; max-width: 30ch; }
.footer h4 { font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; }
.footer li { margin-bottom: 9px; font-size: 0.9rem; }
.footer a { color: var(--text-2); text-decoration: none; transition: color 0.15s; }
.footer a:hover { color: var(--orange); }
.footer__muted { color: var(--muted); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 44px; padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 0.72rem; color: var(--muted);
}

/* ---------- Página do app ---------- */

.crumbs { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); margin-bottom: 32px; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--orange); }

.detail { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.detail__head { display: flex; gap: 20px; align-items: center; }
.detail__head .tag { margin-bottom: 6px; }
.detail__head h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.detail__main .fig { margin: 32px 0 40px; }
.detail__main h2 { margin: 36px 0 12px; font-size: 1.35rem; }
.detail__main > p { color: var(--text-2); max-width: 65ch; }

.fig { margin: 0; }
.fig__frame { position: relative; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; }
.fig figcaption { margin-top: 10px; font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }
.fig__ref { color: var(--orange); margin-right: 8px; }
.mark { display: none; }
.shot {
  aspect-ratio: 16 / 9;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 0.8rem; color: var(--muted);
  background-color: #1e232a;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 20px 20px;
}
.shot span { background: rgba(17, 19, 23, 0.85); border: 1px solid var(--line-2); border-radius: 6px; padding: 6px 12px; }

.notes { list-style: none; padding: 0; counter-reset: nota; display: grid; gap: 8px; }
.notes li {
  counter-increment: nota;
  position: relative;
  padding: 12px 16px 12px 50px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
  color: var(--text-2);
}
.notes li::before {
  content: counter(nota, decimal-leading-zero);
  position: absolute; left: 16px; top: 12px;
  font-family: var(--mono); font-size: 0.8rem; color: var(--orange);
}

.buybox {
  position: sticky; top: calc(var(--head) + 24px);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.buybox__price { padding: 20px 22px; border-bottom: 1px solid var(--line); }
.buybox__price small, .buybox__specs dt {
  display: block;
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.buybox__price strong { font-family: var(--display); font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; }
.buybox__actions { display: flex; flex-direction: column; gap: 10px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.buybox__specs div { padding: 11px 22px; }
.buybox__specs div + div { border-top: 1px solid var(--line); }
.buybox__specs dd { font-size: 0.93rem; color: var(--text-2); }

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

@media (max-width: 1080px) {
  .strip { grid-auto-columns: calc((100% - 40px) / 3); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .dd__panel--wide { min-width: 640px; }
}

@media (max-width: 960px) {
  .hero__grid, .detail { grid-template-columns: 1fr; gap: 44px; }
  .pgroups { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .buybox { position: static; }
}

@media (max-width: 860px) {
  .menu-btn { display: flex; }
  .nav {
    display: none;
    position: absolute; top: calc(100% + 1px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 10px 20px 20px;
    max-height: calc(100vh - var(--head)); overflow-y: auto;
  }
  .header { position: sticky; }
  .header__inner { position: relative; }
  .nav.is-open { display: flex; }
  .nav > a:not(.btn), .dd__btn { padding: 12px 8px; justify-content: space-between; width: 100%; }
  .dd, .dd:has(.dd__panel--wide) { position: relative; }
  .dd__panel, .dd__panel--wide {
    position: static; min-width: 0; box-shadow: none;
    border: 0; border-left: 2px solid var(--line-2); border-radius: 0;
    background: transparent; margin: 2px 0 8px 10px; padding: 0 0 0 6px;
  }
  .dd.is-open .dd__panel--wide { display: block; }
  .nav .btn { margin: 10px 0 0; }
  .strip { grid-auto-columns: calc((100% - 20px) / 2); }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .hero { padding: 44px 0 64px; }
  .section { padding: 64px 0; }
  .header__icon { height: 30px; }
  .header__word { height: 22px; }
  .section__head { align-items: flex-start; }
  .strip { grid-auto-columns: 84%; }
  .strip-nav { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__ctas .btn { width: 100%; }
  .cad__layer { display: none; }
}

/* ============================================================
   CONTEÚDO REAL — clientes, recursos por painel, vitrine,
   planos, serviços ilustrados, WhatsApp flutuante
   ============================================================ */

.hero { padding-bottom: 48px; }
.hero__note { margin-top: 16px; font-size: 0.88rem; color: var(--muted); }
.hero__note b { color: var(--text); font-weight: 600; }

/* ---------- Clientes ---------- */
.clients { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.clients__title { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); flex-shrink: 0; }
.clients__list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 36px; flex: 1; }
.clients__list li {
  font-family: var(--display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em;
  color: #6b717b;
  transition: color 0.2s;
}
.clients__list li:hover { color: var(--text); }

/* ---------- Filtro por painel ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 24px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-size: 0.88rem; font-weight: 500;
  padding: 7px 14px;
  background: var(--surface); color: var(--text-2);
  border: 1px solid var(--line-2); border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background-color 0.15s;
}
.chip small { font-family: var(--mono); font-size: 0.68rem; color: var(--muted); }
.chip:hover { border-color: var(--text-2); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #111; }
.chip[aria-pressed="true"] small { color: rgba(17, 17, 17, 0.65); }

/* ---------- Card de recurso com ícone da ribbon ---------- */
.feat__img img.feat__ico { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 6px 18px rgba(255, 106, 43, 0.4)); }
.feat__grupo {
  position: absolute; top: 10px; left: 12px;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.feat__cmd {
  display: block;
  margin: 0 18px 16px; padding: 7px 10px;
  font-family: var(--mono); font-size: 0.72rem; color: var(--orange-2);
  background: #15181d; border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- Vitrine do FTTx.CAD ---------- */
.showcase { display: grid; grid-template-columns: 1fr 340px; gap: 20px; }
.showcase__main {
  display: flex; flex-direction: column; gap: 24px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-decoration: none;
  transition: border-color 0.2s;
  min-width: 0;
}
.showcase__main:hover { border-color: rgba(255, 106, 43, 0.5); }
.showcase__top { display: flex; gap: 18px; align-items: center; }
.showcase__icon { width: 64px; height: 64px; padding: 10px; background: #15181d; border: 1px solid var(--line-2); border-radius: 16px; }
.showcase__top h3 { font-size: 1.6rem; display: flex; align-items: center; gap: 10px; }
.showcase__top p { color: var(--muted); margin-top: 4px; }
.ribbon { margin: 0; }
.ribbon img {
  width: 100%; height: auto;
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.9);
}
.ribbon figcaption { margin-top: 8px; font-family: var(--mono); font-size: 0.68rem; color: var(--muted); }
.ribbon--lg { margin: 28px 0 8px; overflow-x: auto; }
.ribbon--lg img { min-width: 900px; }
.showcase__stats { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.showcase__stats li { padding: 14px; background: #15181d; border: 1px solid var(--line); border-radius: var(--r-sm); }
.showcase__stats b { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 700; color: var(--orange); line-height: 1.1; }
.showcase__stats span { font-size: 0.82rem; color: var(--muted); }
.showcase__go, .prow-card__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--orange); }
.showcase__go span, .prow-card__go span { transition: transform 0.15s; }
.showcase__main:hover .showcase__go span, .prow-card:hover .prow-card__go span { transform: translateX(3px); }

.showcase__side { display: grid; gap: 20px; align-content: start; }
.prow-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-decoration: none;
  transition: border-color 0.2s;
}
.prow-card:hover { border-color: var(--line-2); }
.prow-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.prow-card b { font-family: var(--display); font-size: 1.15rem; }
.prow-card > span:not(.prow-card__top):not(.prow-card__go) { color: var(--muted); font-size: 0.9rem; }
.prow-card small { font-family: var(--mono); font-size: 0.66rem; color: var(--text-2); }
.prow-card .prow-card__go { margin-top: 8px; font-size: 0.9rem; }
.prow-card.is-soon { border-style: dashed; }
.prow-card--cta { background: linear-gradient(160deg, rgba(255, 106, 43, 0.12), var(--surface) 60%); }
.app-img { width: 44px; height: 44px; flex-shrink: 0; }
.app-img--lg { width: 72px; height: 72px; padding: 12px; background: #15181d; border: 1px solid var(--line-2); border-radius: 16px; }

/* ---------- Planos ---------- */
.section__head--center { justify-content: center; text-align: center; }
.section__head--center .tag { justify-content: center; }
.section__head--center .section__sub { margin-left: auto; margin-right: auto; }
.period {
  display: flex; width: max-content; margin: -8px auto 32px; padding: 4px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px;
}
.period button {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 20px; border: 0; border-radius: 999px;
  background: transparent; color: var(--text-2);
  font-family: var(--font); font-size: 0.9rem; font-weight: 500; cursor: pointer;
}
.period button small { font-family: var(--mono); font-size: 0.66rem; color: var(--orange); background: var(--orange-soft); padding: 1px 6px; border-radius: 999px; }
.period button[aria-pressed="true"] { background: var(--text); color: #111; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; max-width: 1040px; margin: 0 auto; }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.plan--hot { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange), 0 30px 70px -30px var(--orange-glow); }
.plan__flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--orange); color: #111; padding: 4px 12px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-size: 1.3rem; }
.plan__pcs { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }
.plan__price { margin: 22px 0 22px; }
.plan__price b { display: block; font-family: var(--display); font-size: 2.6rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.plan__price span { display: block; margin-top: 6px; font-size: 0.8rem; color: var(--muted); }
.plan__list { list-style: none; padding: 0; margin-top: 22px; display: grid; gap: 10px; }
.plan__list li { position: relative; padding-left: 26px; font-size: 0.92rem; color: var(--text-2); }
.plan__list li::before {
  content: ''; position: absolute; left: 2px; top: 6px;
  width: 10px; height: 6px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}
.plans__note { text-align: center; margin-top: 28px; color: var(--muted); font-size: 0.92rem; }
.plans__note a { color: var(--orange); font-weight: 600; }

/* ---------- Serviços com ilustração ---------- */
.services-grid { grid-template-columns: repeat(3, 1fr); }
.srv { padding: 0; overflow: hidden; }
.srv__ill { aspect-ratio: 320 / 170; background-color: #1e232a; background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px); background-size: 16px 16px; border-bottom: 1px solid var(--line); }
.srv__ill svg { width: 100%; height: 100%; display: block; }
.srv__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 18px; }
.srv__itens { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 18px; }
.srv__itens li { font-size: 0.75rem; color: var(--text-2); padding: 3px 10px; border: 1px solid var(--line-2); border-radius: 999px; }
.srv p { margin-bottom: 18px; flex: 0; }
.srv__cta { margin-top: auto; }
.ill-box { fill: #15181d; stroke: var(--line-2); }
.ill-t { font-family: var(--mono); font-size: 8.5px; fill: var(--muted); letter-spacing: 0.04em; }
.ill-t--o { fill: var(--orange-2); }
.ill-fiber { fill: none; stroke: var(--cyan); stroke-width: 1.2; }
.ill-ground { stroke: #4a5260; stroke-width: 1.5; }
.ill-pole { fill: #2b313a; stroke: #9aa3b0; stroke-width: 1; }
.ill-cross { stroke: #9aa3b0; stroke-width: 3; }
.ill-energy { fill: none; stroke: #f5c542; stroke-width: 1.4; }
.ill-cto { fill: var(--orange); stroke: #ffd2bd; }
.ill-force { stroke: var(--orange); stroke-width: 2; }
.ill-force-h { fill: none; stroke: var(--orange); stroke-width: 2; }
.ill-hwy { fill: #2b313a; }
.ill-lane { stroke: #f5c542; stroke-width: 1.5; stroke-dasharray: 14 10; }
.ill-domain { stroke: var(--cyan); stroke-width: 1; stroke-dasharray: 6 4; }

/* ---------- Página do produto: comandos por painel ---------- */
.rgroup + .rgroup { margin-top: 22px; }
.rgroup__title { font-family: var(--mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.rlist { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.rlist li { display: flex; gap: 12px; align-items: flex-start; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); }
.rlist img { width: 32px; height: 32px; flex-shrink: 0; }
.rlist b { display: block; font-size: 0.93rem; }
.rlist span { display: block; font-size: 0.84rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.buybox__price strong small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.buybox__sub { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 4px; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px;
  background: #25d366; color: #0b2e17;
  border-radius: 999px;
  font-weight: 600; font-size: 0.92rem; text-decoration: none;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float svg { width: 24px; height: 24px; fill: currentColor; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(37, 211, 102, 0.7), 0 4px 12px rgba(0, 0, 0, 0.4); }

@media (max-width: 1080px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase__side { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .plans { grid-template-columns: 1fr; max-width: 440px; gap: 28px; }
  .rlist { grid-template-columns: 1fr; }
  .showcase__stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .clients { margin-top: 48px; gap: 14px; }
  .clients__list { gap: 6px 22px; }
  .clients__list li { font-size: 1.05rem; }
  .showcase__main { padding: 20px; }
  .showcase__side { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .wa-float { right: 14px; bottom: 14px; padding: 14px; }
  .wa-float span { display: none; }
  .ribbon { overflow-x: auto; }
  .ribbon img { min-width: 640px; }
}

@media (prefers-reduced-motion: reduce) {
  html, .strip { scroll-behavior: auto; }
  .c-cable { animation: none; stroke-dashoffset: 0; }
  .cad__typed { animation: none; width: 16ch; }
  .cad__caret { animation: none; }
  * { transition: none !important; }
}

/* linha do rodapé alinhada ao conteúdo */
.footer__bottom { position: relative; border-top: 0; }
.footer__bottom::before { content: ''; position: absolute; top: 0; left: 32px; right: 32px; border-top: 1px solid var(--line); }
@media (max-width: 560px) { .footer__bottom::before { left: 18px; right: 18px; } }

/* ajustes finos */
.detail__main { min-width: 0; }
.buybox__price strong small { display: inline; font-family: var(--font); font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 500; }
#recursos { padding-top: 64px; }
@media (max-width: 560px) { .clients { flex-direction: column; align-items: flex-start; } }

/* ============================================================
   RIBBON INTERATIVA — imita a interface do AutoCAD (tema escuro)
   ============================================================ */
.acad {
  --acad-bar: #1f232a;
  --acad-tabs: #262b33;
  --acad-ribbon: #3b4352;
  --acad-panel-cap: #323946;
  --acad-hover: #4a5466;
  --acad-line: #4d576a;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
.acad__title {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  background: var(--acad-bar);
  font-family: var(--font); font-size: 0.8rem; color: var(--text-2);
}
.acad__logo { width: 22px; height: auto; }
.acad__file { flex: 1; text-align: center; color: var(--muted); }
.acad__win { display: flex; gap: 14px; }
.acad__win i { width: 10px; height: 10px; border: 1.5px solid var(--muted); border-radius: 2px; }
.acad__win i:first-child { height: 0; border-width: 1.5px 0 0; margin-top: 6px; }

.acad__tabs {
  display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none;
  padding: 6px 8px 0;
  background: var(--acad-tabs);
}
.acad__tabs::-webkit-scrollbar { display: none; }
.acad__tab {
  flex-shrink: 0;
  padding: 7px 14px;
  background: transparent; color: var(--text-2);
  border: 0; border-radius: 4px 4px 0 0;
  font-family: var(--font); font-size: 0.84rem; cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.acad__tab:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }
.acad__tab[aria-selected="true"] {
  background: var(--acad-ribbon); color: #fff;
  box-shadow: inset 0 2px 0 var(--orange);
}

.acad__ribbon { background: var(--acad-ribbon); }
.acad__panel { display: inline-flex; flex-direction: column; min-width: 100%; }
.acad__btns { display: flex; gap: 2px; padding: 8px 8px 6px; overflow-x: auto; scrollbar-width: thin; }
.acad__btn {
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  width: 92px; min-height: 84px; padding: 8px 4px 6px;
  background: transparent; color: #e6e8ec;
  border: 1px solid transparent; border-radius: 4px;
  font-family: var(--font); font-size: 0.74rem; line-height: 1.2; text-align: center;
  cursor: pointer;
  transition: background-color 0.12s, border-color 0.12s;
}
.acad__btn img { width: 32px; height: 32px; }
.acad__btn:hover { background: var(--acad-hover); border-color: var(--acad-line); }
.acad__btn.is-active { background: rgba(255, 106, 43, 0.16); border-color: var(--orange); }
.acad__caption {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 3px 0 4px;
  background: var(--acad-panel-cap);
  font-family: var(--font); font-size: 0.72rem; color: #c9ced6;
}
.acad__caption i { width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-top: -3px; }

.acad__toolbar {
  display: flex; flex-wrap: wrap; gap: 1px;
  padding: 4px 8px;
  background: #2b313b;
  border-top: 1px solid #222731; border-bottom: 1px solid #222731;
}
.acad__mini {
  width: 30px; height: 28px; display: grid; place-items: center;
  background: transparent; border: 1px solid transparent; border-radius: 3px; cursor: pointer;
}
.acad__mini img { width: 20px; height: 20px; }
.acad__mini:hover { background: var(--acad-hover); border-color: var(--acad-line); }
.acad__mini.is-active { background: rgba(255, 106, 43, 0.18); border-color: var(--orange); }

/* painel de descrição */
.acad__info {
  display: grid; grid-template-columns: 300px 1fr auto; gap: 28px; align-items: center;
  padding: 24px;
  background-color: #1e232a;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  min-height: 230px;
}
.acad__preview {
  aspect-ratio: 16 / 10;
  display: grid; place-items: center;
  background: #171a20; border: 1px solid var(--line-2); border-radius: var(--r);
  overflow: hidden;
}
.acad__big { width: 72px; height: 72px; filter: drop-shadow(0 8px 24px rgba(255, 106, 43, 0.45)); animation: surgir 0.35s ease-out; }
.acad__shot { width: 100%; height: 100%; object-fit: cover; }
@keyframes surgir { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: none; } }
.acad__desc { animation: surgir-texto 0.3s ease-out; }
@keyframes surgir-texto { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.acad__meta { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.acad__desc h3 { font-size: 1.5rem; margin-bottom: 10px; }
.acad__desc p:not(.acad__meta) { color: var(--text-2); max-width: 62ch; }
.acad__chip {
  display: inline-block; margin-top: 14px;
  font-family: var(--mono); font-size: 0.78rem; color: var(--orange-2);
  background: #15181d; border: 1px solid var(--line-2); border-radius: 6px; padding: 5px 10px;
}
.acad__nav { display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }
.acad__nav button {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface); color: var(--text); border: 1px solid var(--line-2); cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.acad__nav button:hover { border-color: var(--orange); color: var(--orange); }

/* linha de comando */
.acad__cmd {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  background: #15181d; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 0.8rem; color: var(--text);
}
.acad__cmd-label { color: var(--muted); }
.acad__typed { display: inline-block; overflow: hidden; white-space: nowrap; width: calc(var(--n, 0) * 1ch); }
.acad__typed.is-typing { animation: digitar-cmd 0.6s steps(var(--n, 10)) both; }
@keyframes digitar-cmd { from { width: 0; } to { width: calc(var(--n, 0) * 1ch); } }

/* barra do produto */
.prodbar {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: 20px; padding: 18px 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.prodbar__icon { width: 52px; height: 52px; padding: 8px; background: #15181d; border: 1px solid var(--line-2); border-radius: 14px; }
.prodbar__text { flex: 1; min-width: 220px; }
.prodbar__text b { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.25rem; }
.prodbar__text > span { color: var(--muted); font-size: 0.9rem; }
.prodbar__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.soon-line {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 14px; padding: 0 4px;
  font-size: 0.9rem; color: var(--muted);
}
.soon-line b { color: var(--text-2); }
.soon-line a { color: var(--orange); font-weight: 600; text-decoration: none; }

@media (max-width: 960px) {
  .acad__info { grid-template-columns: 1fr; gap: 18px; }
  .acad__preview { aspect-ratio: 16 / 7; }
  .acad__nav { flex-direction: row; justify-content: center; }
}
@media (max-width: 560px) {
  .acad__file { display: none; }
  .acad__btn { width: 80px; font-size: 0.7rem; }
  .acad__info { padding: 18px; }
  .acad__desc h3 { font-size: 1.25rem; }
  .prodbar__btns, .prodbar__btns .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .acad__typed.is-typing, .acad__big, .acad__desc { animation: none; }
}

/* ============================================================
   DEMOS ANIMADAS dos comandos (prévia da ribbon)
   ============================================================ */
.acad__preview { position: relative; }
.acad__demo { position: absolute; inset: 0; }
.demo { width: 100%; height: 100%; display: block; background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 16px 16px; }
.acad__badge {
  position: absolute; left: 8px; bottom: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 0.62rem; color: var(--text-2);
  background: rgba(17, 19, 23, 0.85); border: 1px solid var(--line-2); border-radius: 5px;
  padding: 3px 7px 3px 4px;
}
.acad__badge img { width: 16px; height: 16px; }

/* movimentos */
.demo .d-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: d-draw var(--dur, 1s) var(--d, 0s) ease-out forwards; }
@keyframes d-draw { to { stroke-dashoffset: 0; } }
.demo .d-pop { transform-box: fill-box; transform-origin: center; animation: d-pop 0.4s var(--d, 0s) cubic-bezier(0.3, 1.6, 0.6, 1) both; }
@keyframes d-pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.demo .d-fade { animation: d-fade 0.5s var(--d, 0s) ease-out both; }
@keyframes d-fade { from { opacity: 0; } to { opacity: 1; } }
.demo .d-move { animation: d-move var(--dur, 1s) var(--d, 0s) ease-in-out both; }
@keyframes d-move {
  from { transform: translate(var(--x0, 0px), var(--y0, 0px)) rotate(var(--r0, 0deg)); }
  to { transform: translate(var(--x1, 0px), var(--y1, 0px)) rotate(var(--r1, 0deg)); }
}
.demo .d-drop { animation: d-drop 0.6s var(--d, 0s) cubic-bezier(0.3, 1.5, 0.6, 1) both; }
@keyframes d-drop { from { transform: translateY(-40px); opacity: 0; } to { transform: none; opacity: 1; } }
.demo .d-rise { animation: d-rise 0.6s var(--d, 0s) ease-out both; }
@keyframes d-rise { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.demo .d-grow-x { transform-box: fill-box; transform-origin: left center; animation: d-grow-x 0.5s var(--d, 0s) ease-out both; }
@keyframes d-grow-x { from { transform: scaleX(0); } to { transform: none; } }
.demo .d-grow-y { transform-box: fill-box; transform-origin: center bottom; animation: d-grow-y 0.5s var(--d, 0s) ease-out both; }
@keyframes d-grow-y { from { transform: scaleY(0); } to { transform: none; } }
.demo .d-pulse { animation: d-fade 0.3s var(--d, 0s) both, d-pulse 1s calc(var(--d, 0s) + 0.3s) ease-in-out infinite; }
@keyframes d-pulse { 50% { opacity: 0.35; } }
.demo .d-spin { transform-box: fill-box; transform-origin: center; animation: d-spin 1.4s linear infinite; }
@keyframes d-spin { to { transform: rotate(360deg); } }
.demo .d-flow { fill: none; stroke: var(--orange); stroke-width: 2; stroke-dasharray: 6 6; animation: d-fade 0.3s var(--d, 0s) both, d-flow 0.6s linear infinite; }
.demo .d-flow--rev { stroke: var(--cyan); }
@keyframes d-flow { to { stroke-dashoffset: -12; } }
.demo .d-hl { fill: none; stroke: var(--orange); stroke-width: 3; opacity: 0; filter: drop-shadow(0 0 5px rgba(255, 106, 43, 0.7)); animation: d-fade 0.4s var(--d, 0s) forwards; }
.demo .d-swap { animation: d-out 0.2s var(--d, 0s) forwards; }
@keyframes d-out { to { opacity: 0; } }

/* peças */
.demo .d-road { fill: none; stroke: #2b313a; stroke-width: 24; stroke-linecap: round; }
.demo .d-road--thin { stroke-width: 12; }
.demo .d-road--faint { stroke-width: 14; stroke: #252a32; }
.demo .d-road--sat { stroke: rgba(200, 200, 190, 0.25); stroke-width: 16; fill: none; }
.demo .d-axis { fill: none; stroke: #4a5260; stroke-width: 1; stroke-dasharray: 8 5 2 5; }
.demo .d-pole { fill: #1e232a; stroke: #d7dbe1; stroke-width: 1.6; }
.demo .d-cable { fill: none; stroke: var(--orange); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(255, 106, 43, 0.5)); }
.demo .d-cable--off { stroke: #5b6472; filter: none; }
.demo .d-cable--erro { stroke: #e5484d; filter: drop-shadow(0 0 4px rgba(229, 72, 77, 0.6)); }
.demo .d-cto { fill: var(--orange); stroke: #ffd2bd; stroke-width: 1; }
.demo .d-ceo { fill: #1e232a; stroke: var(--orange); stroke-width: 2; }
.demo .d-leader { fill: none; stroke: #9aa3b0; stroke-width: 0.8; }
.demo .d-card { fill: #15181d; stroke: var(--line-2); stroke-width: 1; }
.demo .d-click { stroke: var(--cyan); stroke-width: 1.6; }
.demo .d-lot { fill: rgba(255, 255, 255, 0.03); stroke: #6b7480; stroke-width: 1; }
.demo .d-region { fill: none; stroke: var(--orange); stroke-width: 2; stroke-linejoin: round; }
.demo .d-region-fill { fill: rgba(255, 106, 43, 0.12); }
.demo .d-cursor { fill: none; stroke: rgba(255, 255, 255, 0.85); stroke-width: 1; }
.demo .d-ring { fill: none; stroke: var(--cyan); stroke-width: 1.6; }
.demo .d-ghost { opacity: 0.3; }
.demo .d-ground { stroke: #4a5260; stroke-width: 1.5; }
.demo .d-poste { fill: #2b313a; stroke: #9aa3b0; stroke-width: 1; }
.demo .d-cross { stroke: #9aa3b0; stroke-width: 3; }
.demo .d-energy { fill: none; stroke: #f5c542; stroke-width: 1.4; }
.demo .d-force { stroke: var(--orange); stroke-width: 3; marker-end: none; }
.demo .d-force--y { stroke: #f5c542; }
.demo .d-coil { fill: none; stroke: var(--orange); stroke-width: 1.6; }
.demo .d-tower { fill: none; stroke: #c9ced6; stroke-width: 1.6; }
.demo .d-signal { fill: none; stroke: var(--cyan); stroke-width: 1.6; }
.demo .d-mer { fill: none; stroke: rgba(255, 255, 255, 0.15); stroke-width: 1; }
.demo .d-globe { fill: #18263a; stroke: #3d8bff; stroke-width: 1.4; }
.demo .d-hwy { fill: #2b313a; }
.demo .d-lane { fill: none; stroke: #f5c542; stroke-width: 1.6; stroke-dasharray: 1; }
.demo .d-domain { fill: none; stroke: var(--cyan); stroke-width: 1.2; }
.demo .d-km { fill: #1b5e3a; stroke: #2fbf71; }
.demo .d-axisl { fill: none; stroke: #4a5260; stroke-width: 1; }
.demo .d-terrain { fill: none; stroke: #8fd18b; stroke-width: 2; }
.demo .d-polev { stroke: #d7dbe1; stroke-width: 2.4; }
.demo .d-sheet { fill: none; stroke: var(--cyan); stroke-width: 1.4; }
.demo .d-fiber { fill: none; stroke-width: 2; }
.demo .d-alert { fill: rgba(229, 72, 77, 0.15); stroke: #e5484d; }
.demo .d-pin { fill: var(--orange); stroke: #ffd2bd; stroke-width: 0.8; }
.demo .d-pin-dot { fill: #1e232a; }
.demo .d-pano { fill: #2b3a4f; stroke: var(--line-2); }
.demo .d-pano-road { fill: #3a3f47; stroke: none; }
.demo .d-pano-lane { stroke: #f5c542; stroke-width: 1.4; stroke-dasharray: 6 6; }
.demo .d-tog { fill: #2a2f38; stroke: var(--line-2); }
.demo .d-knob { fill: var(--orange); }
.demo .d-sync { fill: none; stroke: var(--orange); stroke-width: 2.2; stroke-linecap: round; }

/* textos */
.demo .d-t { font-family: var(--mono); font-size: 8.5px; fill: var(--muted); letter-spacing: 0.03em; }
.demo .d-t--w { fill: #e6e8ec; }
.demo .d-t--o { fill: var(--orange-2); }
.demo .d-t--y { fill: #f5c542; }
.demo .d-t--ok { fill: #46c37b; }
.demo .d-t--erro { fill: #ff6b6f; }
.demo .d-t--km { fill: #e8fff1; font-size: 7.5px; }
.demo .d-t--lg { font-size: 12px; font-family: var(--display); font-weight: 700; }
.demo .d-t--big { font-size: 22px; fill: var(--orange); }

@media (prefers-reduced-motion: reduce) {
  .demo * { animation-duration: 0.01s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
}

/* ---------- vistoria (ilustração) + 4 serviços ---------- */
.ill-pin path { fill: var(--orange); stroke: #ffd2bd; stroke-width: 0.6; }
.ill-cam rect { fill: #15181d; stroke: #ffd2bd; stroke-width: 0.8; }
.ill-gps { fill: none; stroke: var(--cyan); stroke-width: 1.2; }
.ill-photo { fill: #3a3f47; stroke: var(--line-2); }
.ill-photo-sky { fill: #2b3a4f; }
.ill-t--ok { fill: #46c37b; }
.services-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1200px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* ============================================================
   ABERTURA — projeto montado etapa por etapa
   ============================================================ */
.hero__grid { grid-template-columns: 1fr 1.15fr; }
.hero h1 { font-size: clamp(2.4rem, 4.8vw, 3.9rem); }
.hero__proof { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 0.88rem; color: var(--muted); }
.hero__proof li { display: flex; align-items: center; gap: 8px; }
.hero__proof li::before {
  content: ''; width: 9px; height: 5px; margin-top: -3px;
  border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg);
}
.hero__proof b { color: var(--text); font-weight: 600; }

.cad__view .demo { background: none; }
[data-etapa] { display: none; }
[data-etapa].is-on { display: inline; }
.demo .h-street { font-family: var(--mono); font-size: 9px; fill: #8d939d; letter-spacing: 0.06em; }
.demo .h-tag { fill: rgba(70, 195, 123, 0.15); stroke: #46c37b; stroke-width: 1; }
.demo .h-tag--warn { fill: rgba(229, 72, 77, 0.15); stroke: #e5484d; }
.demo .h-tag-t { font-family: var(--mono); font-size: 9px; fill: #7ee2a8; }
.demo .h-tag-t--warn { fill: #ff8a8d; }
.demo .h-toast { fill: #15181d; stroke: var(--line-2); }
.demo .h-toast-t { font-family: var(--font); font-size: 11px; font-weight: 600; fill: #e6e8ec; }
.demo .h-toast-s { font-family: var(--mono); font-size: 9px; fill: #46c37b; }
.cad__hist { min-height: 1.2em; }

.flow {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  background: #15181d;
}
.flow li + li { border-left: 1px solid var(--line); }
.flow__step {
  position: relative; width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 4px 12px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font); font-size: 0.78rem; color: var(--muted);
  transition: color 0.2s, background-color 0.2s;
}
.flow__step b { font-family: var(--mono); font-size: 0.66rem; font-weight: 500; }
.flow__step:hover { color: var(--text); background: rgba(255, 255, 255, 0.03); }
.flow__step.is-done { color: var(--text-2); }
.flow__step.is-done b { color: #46c37b; }
.flow__step.is-current { color: var(--text); }
.flow__step.is-current b { color: var(--orange); }
.flow__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--orange); }
.flow__step.is-done .flow__bar { width: 100%; background: rgba(70, 195, 123, 0.6); }
.flow__step.is-current.is-anim .flow__bar { animation: flow-bar var(--t, 2.6s) linear forwards; }
@keyframes flow-bar { to { width: 100%; } }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .flow__step { flex-direction: column; gap: 2px; font-size: 0.68rem; padding: 8px 2px 10px; }
}

/* ============================================================
   PLANOS (v2) — computadores, preço por máquina, comparação
   ============================================================ */
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan__pcs-icons { display: flex; align-items: center; gap: 2px; color: var(--muted); }
.plan__pcs-icons svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.plan__pcs-icons em { font-style: normal; font-family: var(--mono); font-size: 0.7rem; margin-left: 4px; }
.plan--hot .plan__pcs-icons { color: var(--orange); }
.plan__price { margin: 20px 0 22px; min-height: 96px; }
.plan__price p { display: flex; align-items: baseline; gap: 4px; }
.plan__price p b { font-family: var(--display); font-size: 2.8rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.plan__price p small { font-size: 1rem; color: var(--muted); }
.plan__price > span { display: block; margin-top: 8px; font-size: 0.82rem; color: var(--muted); }
.plan__save { color: #46c37b; font-weight: 600; }
.plan__unit { font-family: var(--mono); font-size: 0.72rem !important; color: var(--text-2) !important; }
.plan:not(.plan--hot):hover { border-color: var(--line-2); }

.plans__extra { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; max-width: 1040px; margin: 40px auto 0; }
.plans__h { font-size: 1.05rem; margin-bottom: 14px; }
.cmp-wrap, .steps-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.cmp-scroll { overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.cmp th, .cmp td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp thead th { font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.cmp th[scope="row"], .cmp thead th:first-child { text-align: left; font-weight: 500; color: var(--text-2); }
.cmp thead th:first-child { color: var(--muted); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp .is-hot { background: var(--orange-soft); }
.cmp thead .is-hot { color: var(--orange); }
.cmp__yes { color: var(--orange); font-weight: 700; }
.cmp__no { color: var(--line-2); }

.steps-wrap { display: flex; flex-direction: column; }
.steps-list { list-style: none; padding: 0; display: grid; gap: 14px; margin-bottom: 20px; flex: 1; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step__n {
  flex-shrink: 0; width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 50%; background: var(--orange-soft); color: var(--orange);
  font-family: var(--mono); font-weight: 600; font-size: 0.85rem;
}
.step div > b { display: block; font-size: 0.95rem; }
.step div > span { display: block; font-size: 0.86rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }

@media (max-width: 960px) { .plans__extra { grid-template-columns: 1fr; max-width: 560px; } }

/* ============================================================
   TEMA CLARO / ESCURO
   ============================================================ */

/* botão sol/lua */
.theme-btn {
  width: 40px; height: 40px; flex-shrink: 0;
  display: grid; place-items: center;
  margin-left: 10px;
  background: var(--surface); color: var(--text-2);
  border: 1px solid var(--line-2); border-radius: 50%;
  cursor: pointer; transition: color 0.15s, border-color 0.15s;
}
.theme-btn:hover { color: var(--orange); border-color: var(--orange); }
.theme-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.theme-btn__sun { display: none; }
[data-theme="light"] .theme-btn__sun { display: block; }
[data-theme="light"] .theme-btn__moon { display: none; }
@media (max-width: 860px) { .theme-btn { margin-left: auto; margin-right: 10px; } }

/* logos */
.logo--light { display: none !important; }
[data-theme="light"] .logo--light { display: block !important; }
[data-theme="light"] .logo--dark { display: none !important; }

/* "telas" de CAD continuam escuras nos dois temas */
.cad, .acad, .srv__ill, .fig__frame, .feat__img {
  --bg: #111317; --bg-2: #15181d; --surface: #1a1d23; --surface-2: #21252c;
  --line: #2a2f37; --line-2: #363c46;
  --text: #ecebe8; --text-2: #c3c6cc; --muted: #8d939d;
  --orange: #ff6a2b; --orange-2: #ff8a4c;
  color-scheme: dark;
  color: var(--text);
}

/* paleta clara */
[data-theme="light"] {
  --bg: #f6f5f2;
  --bg-2: #efede8;
  --surface: #ffffff;
  --surface-2: #f3f1ec;
  --line: #e3e0d9;
  --line-2: #d2cec5;
  --text: #16181c;
  --text-2: #3c4048;
  --muted: #6b6f77;
  --orange: #e5541b;
  --orange-2: #c94712;
  --orange-glow: rgba(229, 84, 27, 0.28);
  --orange-soft: rgba(229, 84, 27, 0.10);
  color-scheme: light;
}
[data-theme="light"] .header { background: rgba(246, 245, 242, 0.85); }
[data-theme="light"] .aviso { background: linear-gradient(90deg, #fde6da, #ffffff 40%, #ffffff 60%, #fde6da); }
[data-theme="light"] .hero::before { background-image: radial-gradient(rgba(0, 0, 0, 0.09) 1px, transparent 1px); }
[data-theme="light"] .hero::after { background: radial-gradient(circle, rgba(229, 84, 27, 0.12), transparent 62%); }
[data-theme="light"] .hero h1 em { text-shadow: none; }
[data-theme="light"] .footer { background: #ecebe6; }
[data-theme="light"] .btn--primary { color: #fff; }
[data-theme="light"] .btn--primary:hover { background: #cf4a14; }
[data-theme="light"] .chip[aria-pressed="true"] { color: #fff; }
[data-theme="light"] .period button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
[data-theme="light"] .plan__flag { color: #fff; }
[data-theme="light"] .plan--hot { box-shadow: 0 0 0 1px var(--orange), 0 30px 60px -34px rgba(229, 84, 27, 0.5); }
[data-theme="light"] .cad, [data-theme="light"] .acad { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.35); }
[data-theme="light"] .showcase__icon,
[data-theme="light"] .prodbar__icon,
[data-theme="light"] .app-img--lg { background: #1a1d23; border-color: #1a1d23; }
[data-theme="light"] .dd__panel { box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.25); }
[data-theme="light"] .plan__save { color: #1f8a4c; }
[data-theme="light"] .wa-float { box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0, 0, 0, 0.15); }
[data-theme="light"] ::selection { color: #fff; }

/* troca suave de tema */
body, .header, .footer, .section--alt, .plan, .srv, .cmp-wrap, .steps-wrap, .prodbar {
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}

/* ordem do cabeçalho: logo · menu · tema · (botão do menu no celular) */
.header__logo { order: 1; }
.nav { order: 2; margin-left: auto; }
.theme-btn { order: 3; }
.menu-btn { order: 4; }

/* ============================================================
   RITMO VERTICAL — um só espaçamento para todas as seções
   (64 px da borda de cada seção até o conteúdo; 48 px no celular)
   ============================================================ */
:root { --sec: 64px; }
.section, .section--alt, #recursos { padding-top: var(--sec); padding-bottom: var(--sec); }
.hero { padding-top: 72px; padding-bottom: var(--sec); }
.footer { padding-top: var(--sec); }
.section__head { margin-bottom: 36px; }
@media (max-width: 560px) {
  :root { --sec: 48px; }
  .hero { padding-top: 40px; }
}

/* ============================================================
   PÁGINAS INTERNAS — Sobre, Downloads, Termos, Privacidade, 404
   ============================================================ */
.page-hero { padding: 56px 0 var(--sec); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); mask-image: linear-gradient(180deg, #000, transparent 90%);
}
[data-theme="light"] .page-hero::before { background-image: radial-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1px); }
.page-hero > .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 18ch; }
.page-hero--sm h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .crumbs { margin-bottom: 24px; }

.split-2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.split-2--top { grid-template-columns: 1fr 1.2fr; }

/* texto corrido */
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.45rem; margin: 36px 0 12px; scroll-margin-top: calc(var(--head) + 20px); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-2); }
.prose p + p { margin-top: 0.9em; }
.prose ul { padding-left: 1.2em; margin: 10px 0; display: grid; gap: 6px; }
.prose a { color: var(--orange); text-underline-offset: 3px; }
.prose code, .install code { font-family: var(--mono); font-size: 0.86em; background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; color: var(--text); }

/* Sobre */
.facts { list-style: none; padding: 0; display: grid; gap: 12px; }
.facts li { padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.facts b { display: block; font-family: var(--display); font-size: 1.3rem; color: var(--orange); }
.facts span { color: var(--muted); font-size: 0.92rem; }
.values { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.values li { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.values b { display: block; font-family: var(--display); font-size: 1.15rem; margin-bottom: 8px; }
.values span { color: var(--muted); font-size: 0.94rem; }
.cta-band {
  display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap;
  padding: 36px 40px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(255, 106, 43, 0.16), var(--surface) 55%);
  border: 1px solid var(--line);
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { color: var(--muted); margin-top: 6px; }
.cta-band__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Downloads */
.dl-card { padding: 28px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 18px; }
.dl-card__top { display: flex; gap: 16px; align-items: center; }
.dl-card__top img { width: 64px; height: 64px; padding: 10px; background: #1a1d23; border-radius: 16px; }
.dl-card__top h2 { font-size: 1.6rem; }
.dl-card__ver { font-family: var(--mono); font-size: 0.76rem; color: var(--muted); }
.dl-card__specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.92rem; }
.dl-card__specs dt { color: var(--muted); }
.dl-card__specs dd { text-align: right; }
.dl-card__note { font-size: 0.84rem; color: var(--muted); text-align: center; }
.install { list-style: none; padding: 0; counter-reset: passo; display: grid; gap: 14px; }
.install li { counter-increment: passo; position: relative; padding: 16px 18px 16px 62px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.install li::before {
  content: counter(passo); position: absolute; left: 18px; top: 16px;
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
  background: var(--orange-soft); color: var(--orange); font-family: var(--mono); font-weight: 600;
}
.install li > b { display: block; color: var(--text); margin-bottom: 4px; }
.install li > span { color: var(--text-2); font-size: 0.94rem; }
.install__help { margin-top: 18px; color: var(--muted); }

/* Termos / Privacidade */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.legal__toc { position: sticky; top: calc(var(--head) + 24px); display: flex; flex-direction: column; gap: 2px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.legal__toc p { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.legal__toc a { font-size: 0.88rem; color: var(--text-2); text-decoration: none; padding: 5px 8px; border-radius: 6px; }
.legal__toc a:hover { background: var(--surface-2); color: var(--orange); }

/* 404 */
.notfound { padding-top: 96px; padding-bottom: 120px; }
.notfound__cad { max-width: 560px; margin-bottom: 36px; }
.notfound__err { color: #ff6b6f; }

@media (max-width: 960px) {
  .split-2, .split-2--top, .legal { grid-template-columns: 1fr; gap: 36px; }
  .values { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
}
@media (max-width: 560px) {
  .cta-band { padding: 26px 22px; }
  .cta-band__btns, .cta-band__btns .btn { width: 100%; }
}

/* ============================================================
   AJUSTES DE CELULAR
   ============================================================ */
/* nada pode ficar mais largo que a tela */
html, body { overflow-x: clip; }
.acad, .acad__ribbon, .acad__info, .plans__extra > *, .hero__grid > *, .detail > * { min-width: 0; }
.acad__panel { display: flex; width: 100%; }
.acad__btns { max-width: 100%; }

/* aviso: versão curta no celular */
.aviso__curto { display: none; }

@media (max-width: 560px) {
  /* faixa de aviso numa linha só */
  .aviso__longo, .aviso .badge { display: none; }
  .aviso__curto { display: inline; }
  .aviso__inner { flex-wrap: nowrap; gap: 8px; padding-top: 8px; padding-bottom: 8px; font-size: 0.82rem; }

  /* ribbon: só abas + botões grandes (a barra de ícones pequenos sai) */
  .acad__toolbar { display: none; }
  .acad__btn { width: 74px; min-height: 76px; padding: 6px 2px; font-size: 0.68rem; }
  .acad__info { padding: 16px; gap: 14px; min-height: 0; }
  .acad__preview { aspect-ratio: 16 / 9; }
  .acad__desc p:not(.acad__meta) { font-size: 0.93rem; }

  /* abertura */
  .hero h1 { font-size: 2.15rem; }
  .lead { font-size: 1.02rem; }
  .hero__proof { gap: 6px 16px; font-size: 0.82rem; }
  .flow__step span { font-size: 0.64rem; }

  /* comparar planos: tabela compacta */
  .cmp-wrap, .steps-wrap { padding: 18px 14px; }
  .cmp { font-size: 0.78rem; }
  .cmp th, .cmp td { padding: 8px 4px; }
  .cmp thead th { font-size: 0.58rem; letter-spacing: 0.02em; }
  .cmp th[scope="row"] { width: 42%; }

  /* planos */
  .plan { padding: 24px 20px; }
  .plan__price p b { font-size: 2.4rem; }

  /* rodapé em 2 colunas */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer__brand, .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: 6px; }
}
