/* ═══════════════════════════════════════════════════════
   Codeploy V2 — Versão Corporativa / Institucional
   Sem ornamentos. Inter only. Tom sóbrio.
   Inclui apenas o que difere de site.css; carregar DEPOIS.
   ═══════════════════════════════════════════════════════ */

body.v2 {
  --bg: #FCFCFA;
  --bg-elev: #FFFFFF;
  --bg-soft: #F4F4F0;
  --bg-dark: #0B1220;
  --bg-dark-2: #131C2E;
  --fg: #0A0F1A;
  --fg-muted: #525A6B;
  --fg-subtle: #8A93A2;
  --line: rgba(10, 15, 26, 0.10);
  --line-strong: rgba(10, 15, 26, 0.18);
  --accent: #1C509B;
  --radius: 4px;
  --radius-lg: 8px;
  background: var(--bg);
  color: var(--fg);
}

/* Remove italic serif accents — tom institucional sóbrio */
body.v2 h1, body.v2 h2, body.v2 h3, body.v2 h4 {
  font-family: 'Inter', sans-serif !important;
}
body.v2 .hero__title .accent,
body.v2 .section-head h2 em,
body.v2 .sub-hero__title em,
body.v2 .contact-info h2 em,
body.v2 em[style*="Instrument"] {
  font-family: 'Inter', sans-serif !important;
  font-style: normal !important;
  font-weight: 600 !important;
  color: var(--accent) !important;
}
body.v2 .mission-card .quote {
  font-family: 'Inter', sans-serif !important;
  font-style: normal;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 500;
}
body.v2 .service:nth-last-child(1) p[style*="Instrument"] {
  font-family: 'Inter', sans-serif !important;
}

/* Hero institucional */
body.v2 .hero { padding-top: 180px; padding-bottom: 110px; }
body.v2 .hero__title {
  font-weight: 600;
  letter-spacing: -0.028em;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.05;
}
body.v2 .hero__status {
  background: transparent;
  border-color: var(--line);
  color: var(--fg-muted);
  font-weight: 500;
}
body.v2 .hero__status::before { animation: none; }
body.v2 .hero__sub { font-size: 17px; line-height: 1.65; max-width: 58ch; }
body.v2 .hero__meta-item .num { font-weight: 600; letter-spacing: -0.02em; }

/* Visual institucional — architectural blueprint */
body.v2 .hero__visual {
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  border: 1px solid var(--line);
}
body.v2 .hero__visual canvas { display: none; }
body.v2 .hero__visual-label::before { background: var(--accent); box-shadow: none; }

.v2-bp {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10,15,26,0.04) 1px, transparent 1px) 0 0 / 40px 100%,
    linear-gradient(to bottom, rgba(10,15,26,0.04) 1px, transparent 1px) 0 0 / 100% 40px,
    var(--bg-elev);
  overflow: hidden;
}
.v2-bp svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.v2-bp__nodes circle { fill: var(--fg); }
.v2-bp__nodes circle.accent { fill: var(--accent); }
.v2-bp__lines { stroke: var(--line-strong); stroke-width: 1; fill: none; }
.v2-bp__lines.dashed { stroke-dasharray: 4 4; opacity: 0.5; }
.v2-bp__label {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--fg-subtle);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--bg-elev);
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
}

/* Pulse on accent node */
@keyframes v2pulse {
  0%, 100% { r: 5; }
  50% { r: 7; }
}
.v2-bp__nodes circle.accent { animation: v2pulse 2.4s ease-in-out infinite; }

/* Quote block */
.v2-quote {
  padding: 100px 0;
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.v2-quote__inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  padding: 0 32px;
}
.v2-quote__mark {
  font-family: 'Inter', sans-serif;
  font-size: 64px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 24px;
  font-weight: 400;
}
.v2-quote__text {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--fg);
  max-width: 30ch;
  margin: 0 auto;
}
.v2-quote__text .accent { color: var(--accent); font-weight: 600; }
.v2-quote__divider {
  margin: 32px auto 0;
  width: 40px;
  height: 1px;
  background: var(--line-strong);
}
.v2-quote__attribution {
  margin-top: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* Sections — softer corporate background */
body.v2 .section { padding: 120px 0; }
body.v2 .section--dark {
  background: var(--bg-dark);
}
body.v2 .section-head h2 {
  font-weight: 600;
  letter-spacing: -0.028em;
  font-size: clamp(34px, 4.4vw, 54px);
}

/* Services V2 — 4 cards, refined */
body.v2 .services-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) {
  body.v2 .services-grid { grid-template-columns: 1fr; }
}
body.v2 .service { min-height: 280px; padding: 40px 36px 36px; }
body.v2 .service:hover { background: var(--bg-elev); }
body.v2 .service h3 { font-size: 22px; margin-bottom: 14px; }
body.v2 .service p { font-size: 15px; line-height: 1.6; margin-bottom: 24px; }
body.v2 .service__tags li { font-size: 12px; padding: 5px 12px; }
body.v2 .service__icon {
  border-color: var(--line-strong);
  background: var(--bg-elev);
}

/* Products V2 — 2 cards, bigger, more detailed */
body.v2 .products-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 800px) {
  body.v2 .products-grid { grid-template-columns: 1fr; }
}
body.v2 .product {
  min-height: 320px;
  padding: 40px 36px 36px;
  border-radius: var(--radius-lg);
}
body.v2 .product h3 {
  font-size: 24px;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 14px;
  font-weight: 600;
}
body.v2 .product p {
  font-size: 15px;
  line-height: 1.6;
  color: #ABB1BE;
}
body.v2 .product__icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}
body.v2 .product__icon svg { width: 22px; height: 22px; }
body.v2 .product__link {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: #FFFFFF;
  margin-top: 28px;
}

.v2-product-features {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.v2-product-features li {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #C0C5CF;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.v2-product-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

/* Clients — logo wall */
body.v2 .clients-grid {
  grid-template-columns: repeat(4, 1fr);
  background: var(--line);
}
@media (max-width: 900px) { body.v2 .clients-grid { grid-template-columns: repeat(2, 1fr); } }

body.v2 .client {
  padding: 0;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  transition: background 0.2s;
}
body.v2 .client:hover { background: var(--bg-elev); }

/* Client logos + name layout */
body.v2 .client {
  padding: 24px 16px;
  min-height: 140px;
  gap: 14px;
  text-align: center;
  overflow: hidden;
}
@media (min-width: 701px) {
  body.v2 .client {
    padding: 32px 24px;
    min-height: 160px;
  }
}
body.v2 .client a, body.v2 a.client { text-align: center; }

.v2-client-logo {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.78;
  transition: filter 0.3s, opacity 0.3s;
}
@media (min-width: 701px) { .v2-client-logo { max-width: 160px; } }
body.v2 .client:hover .v2-client-logo {
  filter: none;
  opacity: 1;
}

.v2-client-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  text-align: center;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}
body.v2 .client:hover .v2-client-name {
  opacity: 1;
  color: var(--fg-muted);
}
.v2-client-sector {
  margin-top: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-align: center;
}

/* About section refinements */
body.v2 .mission-card {
  background: var(--bg-elev);
  border-color: var(--line-strong);
}
body.v2 .mission-card h3 { color: var(--accent); }
body.v2 .value h4 { font-weight: 600; }

/* Contact V2 */
body.v2 .contact-info h2 { font-weight: 600; }
body.v2 .contact-info .email { font-family: 'Inter', sans-serif; font-weight: 500; }
body.v2 .contact-form { background: var(--bg-elev); border-color: var(--line-strong); }

/* Footer V2 */
body.v2 .foot { background: var(--bg-dark); }

/* Submit button — fix oversized full-width inherited from base */
body.v2 .contact-form button[type="submit"] {
  width: auto;
  margin-top: 8px;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  border-radius: 6px;
  white-space: nowrap;
  line-height: 1;
}
body.v2 .contact-form button[type="submit"] svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Nav — prevent CTA wrap, hide badge below breakpoint */
body.v2 .nav__cta { white-space: nowrap; }
body.v2 .nav__cta span { white-space: nowrap; }
@media (max-width: 1100px) {
  body.v2 .v2-badge { display: none; }
}

/* Clients grid — 3 cols (9 items → 3 rows of 3) */
body.v2 .clients-grid {
  grid-template-columns: repeat(3, 1fr);
  background: var(--line);
}
@media (max-width: 1100px) { body.v2 .clients-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { body.v2 .clients-grid { grid-template-columns: repeat(2, 1fr); } }

/* ════════ Roadmap section ════════ */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .roadmap-grid { grid-template-columns: 1fr; } }

.roadmap-card {
  background: var(--bg-elev);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.25s, background 0.25s;
}
.roadmap-card:hover {
  border-color: var(--accent);
  border-style: solid;
  background: var(--bg);
}

/* Dark variant — matches codebot's next-pillar style */
.roadmap-grid--dark { gap: 1px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); overflow: hidden; }
.roadmap-grid--dark .roadmap-card {
  background: var(--bg-dark);
  border: none;
  border-radius: 0;
  padding: 36px 32px;
  min-height: 240px;
  overflow: hidden;
}
.roadmap-grid--dark .roadmap-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(28,80,155,0.18), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.roadmap-grid--dark .roadmap-card:hover {
  background: var(--bg-dark-2);
  border: none;
}
.roadmap-grid--dark .roadmap-card:hover::before { opacity: 1; }
.roadmap-grid--dark .roadmap-card > * { position: relative; z-index: 1; }
.roadmap-grid--dark .roadmap-card h3 { color: #FFF; font-size: 19px; }
.roadmap-grid--dark .roadmap-card p { color: #9CA3B0; }
.roadmap-grid--dark .roadmap-card__idx { color: rgba(255,255,255,0.4); }
.roadmap-grid--dark .roadmap-card__badge { color: #7BAAEF; background: rgba(123,170,239,0.12); }
.roadmap-grid--dark .roadmap-card__badge::before { background: #7BAAEF; }
.roadmap-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.roadmap-card__badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.roadmap-card__badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.roadmap-card__idx {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-subtle);
  letter-spacing: 0.08em;
}
.roadmap-card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.roadmap-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-muted);
  margin: 0;
}

/* Hide tweaks panel in v2 */
body.v2 .tweaks { display: none !important; }

/* Hero status — replace pulsing green w/ corporate ribbon */
body.v2 .hero__status::before {
  background: var(--accent);
  box-shadow: none;
}

/* Add "v2" badge on nav */
.v2-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: var(--fg-muted);
  margin-left: 10px;
}

/* Marquee tone-down */
body.v2 .marquee { background: var(--bg-elev); }
body.v2 .marquee__item { font-family: 'Inter', sans-serif; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--fg); }
body.v2 .marquee__item::after { background: var(--accent); }

/* ════════ Hero 3D cube + floating tags ════════ */
.cube-scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  perspective: 1200px;
  overflow: hidden;
}
.cube-scene::before {
  content: '';
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(28,80,155,0.07), transparent 60%);
  pointer-events: none;
}
.cube {
  position: relative;
  width: 180px;
  height: 180px;
  transform-style: preserve-3d;
  animation: cube-spin 28s linear infinite;
  will-change: transform;
}
@keyframes cube-spin {
  0%   { transform: rotateX(-22deg) rotateY(0deg); }
  100% { transform: rotateX(-22deg) rotateY(360deg); }
}
.cube__face {
  position: absolute;
  inset: 0;
  border: 1px solid var(--accent);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  padding: 20px;
  backface-visibility: visible;
  box-shadow: 0 0 0 1px rgba(28,80,155,0.04);
}
.cube__face::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(28,80,155,0.08) 1px, transparent 1px) 0 0 / 100% 22px,
    linear-gradient(90deg, rgba(28,80,155,0.08) 1px, transparent 1px) 0 0 / 22px 100%;
  pointer-events: none;
}
.cube__face > * { position: relative; z-index: 1; }
.cube__face .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}
.cube__face .word {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  line-height: 1.05;
}
.cube__face .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-bottom: 4px;
}
.cube__face--front  { transform: translateZ(90px); }
.cube__face--back   { transform: rotateY(180deg) translateZ(90px); }
.cube__face--right  { transform: rotateY(90deg)  translateZ(90px); }
.cube__face--left   { transform: rotateY(-90deg) translateZ(90px); }
.cube__face--top    { transform: rotateX(90deg)  translateZ(90px); }
.cube__face--bottom { transform: rotateX(-90deg) translateZ(90px); }

/* Floating tags */
.tag {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--fg-muted);
  background: var(--bg-elev);
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  white-space: nowrap;
  animation: tag-float 5s ease-in-out infinite;
  z-index: 2;
}
.tag::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: 1px;
}
.tag--strong { color: var(--fg); border-color: var(--accent); }
.tag--strong::before { box-shadow: 0 0 0 3px rgba(28,80,155,0.18); }
.tag--ghost { background: transparent; color: var(--fg-subtle); }
.tag--ghost::before { background: var(--fg-subtle); }
@keyframes tag-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.tag.d1 { animation-delay: 0.5s; }
.tag.d2 { animation-delay: 1.0s; }
.tag.d3 { animation-delay: 1.5s; }
.tag.d4 { animation-delay: 2.0s; }
.tag.d5 { animation-delay: 2.5s; }
.tag.d6 { animation-delay: 3.0s; }

/* Pause cube on hover */
.hero__visual:hover .cube { animation-play-state: paused; }

/* ════════ Manifesto — refined dark band ════════ */
.v2-manifesto {
  background: var(--bg-dark);
  color: #FFF;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.v2-manifesto::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(28,80,155,0.22), transparent 50%),
    radial-gradient(circle at 82% 70%, rgba(28,80,155,0.10), transparent 50%);
  pointer-events: none;
}
.v2-manifesto .wrap { position: relative; z-index: 1; }
.v2-manifesto__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 56px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.v2-manifesto__eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.v2-manifesto__eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: rgba(255,255,255,0.4);
}
.v2-manifesto__attribution {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}
.v2-manifesto__layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: end;
}
@media (max-width: 900px) {
  .v2-manifesto__layout { grid-template-columns: 1fr; gap: 48px; }
}
.v2-manifesto__text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.22;
  letter-spacing: -0.022em;
  color: #FFF;
  margin: 0;
  max-width: 22ch;
}
.v2-manifesto__text .accent {
  color: #7BAAEF;
  font-weight: 600;
}
.v2-manifesto__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 600px) { .v2-manifesto__pillars { grid-template-columns: 1fr; } }
.v2-manifesto__pillar {
  border-top: 1px solid rgba(255,255,255,0.16);
  padding-top: 16px;
}
.v2-manifesto__pillar-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
}
.v2-manifesto__pillar-word {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #FFF;
  letter-spacing: -0.01em;
}
.v2-manifesto__pillar--past .v2-manifesto__pillar-word { opacity: 0.5; }
.v2-manifesto__pillar--present { border-top-color: rgba(123, 170, 239, 0.55); }
.v2-manifesto__pillar--present .v2-manifesto__pillar-word { color: #7BAAEF; }
.v2-manifesto__pillar--future .v2-manifesto__pillar-word { opacity: 0.85; }

/* Hide the old in-flow quote block (legacy from previous v2 version) */
body.v2 .v2-quote { display: none; }

/* ════════ Hero — code script visual ════════ */
.v2-code {
  position: absolute;
  inset: 24px;
  border-radius: 8px;
  background: #0F1320;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 20px 60px -20px rgba(11, 18, 32, 0.4);
  border: 1px solid rgba(28, 80, 155, 0.18);
}
.v2-code__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}
.v2-code__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.v2-code__dot:nth-child(1) { background: #FF5F57; }
.v2-code__dot:nth-child(2) { background: #FEBC2E; }
.v2-code__dot:nth-child(3) { background: #28C840; }
.v2-code__tab {
  margin-left: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.02em;
}
.v2-code__body {
  flex: 1;
  margin: 0;
  padding: 20px 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  line-height: 1.85;
  color: #E2E6EF;
  overflow: hidden;
  white-space: pre;
}
.v2-code__body .ln {
  display: inline-block;
  width: 26px;
  margin-right: 10px;
  color: rgba(255,255,255,0.22);
  text-align: right;
  user-select: none;
}
.v2-code__body .k { color: #7BAAEF; }
.v2-code__body .s { color: #E9A36A; }
.v2-code__body .c { color: rgba(255,255,255,0.32); font-style: italic; }
.v2-code__body .v { color: #DCE3F0; }
.v2-code__body .a { color: #6FCF97; }
.v2-code__body .n { color: #C490F0; }
.v2-code__body .caret {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: #7BAAEF;
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: v2caret 1.1s steps(2) infinite;
}
@keyframes v2caret { 50% { opacity: 0; } }
.v2-code__status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.02);
}
.v2-code__status-dot {
  width: 6px;
  height: 6px;
  background: #6FCF97;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(111, 207, 151, 0.18);
  animation: v2pulse2 2s ease-in-out infinite;
}
@keyframes v2pulse2 { 50% { opacity: 0.5; } }

/* ════════ Manifesto card (inside Empresa) ════════ */
.v2-manifesto-card {
  margin-top: 32px;
  margin-bottom: 80px;
  background: var(--bg-dark);
  color: #FFF;
  padding: 56px 56px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 700px) { .v2-manifesto-card { padding: 36px 28px; } }
.v2-manifesto-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(28,80,155,0.32), transparent 50%),
    radial-gradient(circle at 88% 80%, rgba(28,80,155,0.16), transparent 50%);
  pointer-events: none;
}
.v2-manifesto-card > * { position: relative; z-index: 1; }
.v2-manifesto-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.v2-manifesto-card__head h3 {
  color: #FFF;
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace !important;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
}
.v2-manifesto-card__attribution {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}
.v2-manifesto-card__text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #FFF;
  margin: 0 0 40px;
  max-width: 38ch;
}
.v2-manifesto-card__text .accent {
  color: #7BAAEF;
  font-weight: 600;
}
.v2-manifesto-card__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
@media (max-width: 600px) { .v2-manifesto-card__pillars { grid-template-columns: 1fr; gap: 16px; } }
.v2-manifesto-card__pillar-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
}
.v2-manifesto-card__pillar-word {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: -0.01em;
}
.v2-manifesto-card__pillar--active .v2-manifesto-card__pillar-word { color: #7BAAEF; }

/* Hide old dark-band manifesto (legacy) */
body.v2 .v2-manifesto { display: none; }

/* Hide old cube-scene (legacy) */
body.v2 .cube-scene { display: none; }

/* Sub-hero accent — match v2 institutional (no italic serif) */
body.v2 .sub-hero__title em {
  font-family: 'Inter', sans-serif !important;
  font-style: normal !important;
  font-weight: 600 !important;
  color: var(--accent) !important;
}
body.v2 .sub-hero__title {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
}
/* Catch any inline Instrument Serif overrides (product taglines, etc) */
body.v2 [style*="Instrument Serif"],
body.v2 [style*="Instrument"] {
  font-family: 'Inter', sans-serif !important;
  font-style: normal !important;
}

/* Hide overlapping legacy hero corner labels (the code editor has its own header) */
body.v2 .hero__visual-label,
body.v2 .hero__visual-corner { display: none; }

/* Hide legacy hero variants (canvas/terminal/geo from v1) — v2 uses .v2-code */
body.v2 .hero__variant { display: none !important; }

/* Make reveals visible by default in v2 (the IntersectionObserver path is
   unreliable in some iframe contexts; CSS-only fade-in is enough) */
body.v2 .reveal {
  opacity: 1 !important;
  transform: none !important;
  animation: v2-fade-in 0.6s ease both;
}
body.v2 .reveal.d1 { animation-delay: 0.08s; }
body.v2 .reveal.d2 { animation-delay: 0.16s; }
body.v2 .reveal.d3 { animation-delay: 0.24s; }
body.v2 .reveal.d4 { animation-delay: 0.32s; }
body.v2 .reveal.d5 { animation-delay: 0.40s; }
@keyframes v2-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
