/* ============================================
   MVP BUILDERS — WEBSITE
   Brand tokens from Brand Manual V1.0 / 2025
   ============================================ */

:root {
  /* Brand — Laranja MVP scale */
  --orange-50:  #FDEDE8;
  --orange-100: #F9D4C7;
  --orange-200: #F5B099;
  --orange-300: #F08C6B;
  --orange-400: #EB683C;
  --orange-500: #E84E1B; /* primary */
  --orange-600: #C74114;
  --orange-700: #A23510;
  --orange-800: #7D290D;
  --orange-900: #531B08;

  /* Brand — Preto MVP (tinte roxo) scale */
  --ink-50:  #F7F6F8;
  --ink-100: #EBE8EE;
  --ink-200: #D9D3DE;
  --ink-300: #B2A7BE;
  --ink-400: #8C7B9D;
  --ink-500: #664B81;
  --ink-600: #402F51;
  --ink-700: #261C30;
  --ink-800: #140F1A;
  --ink-900: #0F0B13; /* primary */

  /* Semantic */
  --bg: #FFFFFF;
  --bg-alt: var(--ink-50);
  --fg: var(--ink-900);
  --fg-muted: var(--ink-500);
  --fg-subtle: var(--ink-400);
  --line: var(--ink-100);
  --line-strong: var(--ink-200);
  --accent: var(--orange-500);
  --accent-hover: var(--orange-600);

  /* Type */
  --font-sans: "Inter Tight", "Inter", "Helvetica Neue", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --max-w: 1440px;
  --pad-x: clamp(20px, 4vw, 64px);
  --radius: 2px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-theme="dark"] {
  --bg: var(--ink-900);
  --bg-alt: var(--ink-800);
  --fg: #FFFFFF;
  --fg-muted: var(--ink-300);
  --fg-subtle: var(--ink-400);
  --line: var(--ink-700);
  --line-strong: var(--ink-600);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.5;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

body {
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--orange-500); color: #fff; }

/* ============================================
   TYPOGRAPHY UTILITIES (Brand Manual scale)
   ============================================ */

.t-display {
  font-size: clamp(64px, 11vw, 160px);
  line-height: 0.86;
  letter-spacing: -0.05em;
  font-weight: 800;
}
.t-headline {
  font-size: clamp(40px, 6.5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.t-title {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.t-bodyL {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.005em;
  font-weight: 400;
}
.t-body {
  font-size: 16px;
  line-height: 1.5;
}
.t-mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ============================================
   ASTERISK — the operator
   ============================================ */
.ast {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  width: 0.85em;
  height: 0.85em;
  vertical-align: -0.08em;
  transition: transform 0.6s var(--ease);
  flex-shrink: 0;
}
.ast svg { width: 100%; height: 100%; display: block; }
.ast.spin svg { animation: spin 12s linear infinite; transform-origin: 50% 50%; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   LAYOUT
   ============================================ */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section {
  position: relative;
  padding-block: clamp(72px, 10vw, 140px);
}
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

/* ============================================
   TOP NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}
.nav__logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.nav__logo .ast { width: 0.95em; height: 0.95em; margin-left: 2px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--fg);
  border-radius: var(--radius);
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-expanded="true"]::after { transform: scaleX(1); }
.nav__link:hover { color: var(--accent); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--fg);
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.nav__cta:hover { background: var(--accent); color: #fff; }
.nav__cta .arrow { transition: transform 0.3s var(--ease); }
.nav__cta:hover .arrow { transform: translateX(4px); }

/* Mega menu */
.mega {
  position: absolute;
  top: 72px;
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  overflow: hidden;
  transform-origin: top;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
}
.mega.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.mega__inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  padding-block: 48px;
}
.mega__lede h3 {
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 12px 0 16px;
  font-weight: 700;
}
.mega__lede p {
  color: var(--fg-muted);
  font-size: 14px;
  margin: 0 0 20px;
}
.mega__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}
.mega__item {
  display: block;
  background: var(--bg);
  padding: 24px 28px;
  transition: background-color 0.2s var(--ease);
}
.mega__item:hover { background: var(--bg-alt); }
.mega__item .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fg-subtle);
}
.mega__item h4 {
  margin: 6px 0 6px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mega__item h4 .arrow {
  font-size: 14px;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
}
.mega__item:hover h4 .arrow { transform: translate(3px, -3px); }
.mega__item p {
  margin: 0;
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.45;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding-top: clamp(60px, 8vw, 110px);
  padding-bottom: clamp(60px, 8vw, 110px);
  overflow: hidden;
}
/* Photo hero variant — dark base for type contrast */
.hero--photo {
  background: var(--ink-900);
  color: #fff;
  min-height: clamp(640px, 92vh, 1000px);
  display: flex;
  align-items: center;
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
}
.hero--photo .wrap { position: relative; z-index: 2; width: 100%; text-align: right; }
.hero--photo .hero__eyebrow { color: rgba(255,255,255,0.85); justify-content: flex-end; }
.hero--photo h1 { margin-left: auto; }
.hero--photo .hero__lower { direction: rtl; }
.hero--photo .hero__lower > * { direction: ltr; }
.hero--photo .hero__lede { margin-left: auto; text-align: right; }
.hero--photo .hero__ctas { align-items: flex-end; }

.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center left;
  transform: scaleX(-1);
}
/* Strong gradient: right = dark for type, left = photo visible */
.hero__photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(270deg,
      rgba(15, 11, 19, 0.96) 0%,
      rgba(15, 11, 19, 0.88) 28%,
      rgba(15, 11, 19, 0.55) 55%,
      rgba(15, 11, 19, 0.15) 80%,
      rgba(15, 11, 19, 0.05) 100%),
    linear-gradient(180deg,
      rgba(15, 11, 19, 0.5) 0%,
      rgba(15, 11, 19, 0) 30%,
      rgba(15, 11, 19, 0) 70%,
      rgba(15, 11, 19, 0.4) 100%);
}
.hero__photo-grain {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mix-blend-mode: overlay;
  opacity: 0.6;
  pointer-events: none;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  color: var(--fg-muted);
}
.hero--photo .hero__eyebrow { color: rgba(255,255,255,0.85); }
.hero__eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.hero h1 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(56px, 11vw, 168px);
  line-height: 0.86;
  letter-spacing: -0.05em;
  max-width: 14ch;
}
.hero h1 .line { display: block; }
.hero h1 .ai {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}
.hero--photo h1 { color: #fff; text-shadow: 0 2px 40px rgba(15,11,19,0.4); }
.hero--photo h1 .ai { color: var(--orange-300); }
.hero h1 .ast {
  width: 0.7em;
  height: 0.7em;
  vertical-align: 0.05em;
  margin-left: 0.05em;
}

.hero__lower {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: clamp(48px, 7vw, 88px);
  align-items: end;
}
.hero__lede {
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  max-width: 38ch;
  color: var(--fg);
}
.hero__lede strong {
  color: var(--accent);
  font-weight: 500;
}
.hero--photo .hero__lede { color: rgba(255,255,255,0.92); }
.hero--photo .hero__lede strong { color: var(--orange-300); }
.hero--photo .hero__meta { color: rgba(255,255,255,0.75); }
.hero--photo .hero__meta .tick { background: var(--orange-400); }

/* Photo hero buttons — high contrast on dark + photo */
.hero--photo .btn {
  background: #fff;
  color: var(--ink-900);
  border-color: #fff;
}
.hero--photo .btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.hero--photo .btn--ghost {
  background: rgba(15, 11, 19, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.hero--photo .btn--ghost:hover {
  background: #fff;
  color: var(--ink-900);
  border-color: #fff;
}
.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.hero__meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
  color: var(--fg-muted);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .tick {
  width: 6px; height: 6px;
  background: var(--accent);
  display: inline-block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  background: var(--fg);
  color: var(--bg);
  border: 1px solid var(--fg);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn:hover .arrow { transform: translateX(5px); }

.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn--ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* ============================================
   GRID BACKGROUND (subtle)
   ============================================ */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 80%);
  opacity: 0.6;
  pointer-events: none;
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
  background: var(--ink-900);
  color: #fff;
  padding-block: 22px;
  border-block: 1px solid var(--ink-900);
  overflow: hidden;
  white-space: nowrap;
}
[data-theme="dark"] .marquee { background: var(--accent); color: #fff; border-color: var(--accent); }
.marquee__track {
  display: inline-flex;
  gap: 48px;
  align-items: center;
  animation: marq 40s linear infinite;
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.marquee__track .ast { color: var(--accent); }
[data-theme="dark"] .marquee__track .ast { color: #fff; }
@keyframes marq {
  to { transform: translateX(-50%); }
}

/* ============================================
   MANIFESTO STRIP
   ============================================ */
.manifesto {
  background: var(--bg-alt);
  padding-block: clamp(80px, 10vw, 140px);
  position: relative;
  overflow: hidden;
}
.manifesto__quote {
  font-size: clamp(32px, 5vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0;
  max-width: 22ch;
}
.manifesto__quote .crossed {
  position: relative;
  color: var(--fg-muted);
  text-decoration: line-through;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 4px;
}
.manifesto__quote .crossed-strong {
  position: relative;
  color: var(--fg-subtle);
  text-decoration: line-through;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 6px;
  white-space: nowrap;
}
.manifesto__quote em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  position: relative;
  display: inline-block;
}
.manifesto__quote em::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px; bottom: 4px;
  height: 14px;
  background: var(--orange-100);
  z-index: -1;
  border-radius: 2px;
}
[data-theme="dark"] .manifesto__quote em::after {
  background: var(--orange-800);
  opacity: 0.5;
}
.manifesto__quote .manif-accent {
  color: var(--accent);
  font-weight: 800;
  font-style: normal;
}
.manifesto__quote .manif-and {
  font-style: italic;
  font-weight: 400;
  color: var(--fg-muted);
  font-size: 0.85em;
  padding: 0 0.1em;
}
.manifesto__quote .ast {
  width: 0.6em;
  height: 0.6em;
  vertical-align: 0.1em;
  margin-left: 0.1em;
}
.manifesto__sig {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--fg-muted);
}

/* ============================================
   SECTION HEADER
   ============================================ */
.s-head {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(0, 2fr);
  gap: 64px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.s-head__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.s-head__num .bar {
  display: inline-block;
  width: 32px; height: 1px;
  background: var(--accent);
}
.s-head h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.s-head h2 .ast {
  width: 0.7em;
  height: 0.7em;
  vertical-align: 0.05em;
  margin-left: 0.05em;
}
.s-head__sub {
  color: var(--fg-muted);
  font-size: 18px;
  margin-top: 16px;
  max-width: 56ch;
  line-height: 1.45;
}

/* ============================================
   PILLARS — O QUE FAZEMOS
   ============================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.pillar {
  position: relative;
  padding: 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 380px;
  transition: background-color 0.3s var(--ease);
  cursor: pointer;
  overflow: hidden;
}
.pillar:hover { background: var(--ink-900); color: #fff; }
.pillar:hover .pillar__num { color: var(--orange-300); }
.pillar:hover .pillar__cta { color: var(--orange-300); }
.pillar:hover .pillar__visual { opacity: 1; }
[data-theme="dark"] .pillar:hover { background: var(--accent); }
[data-theme="dark"] .pillar:hover .pillar__num,
[data-theme="dark"] .pillar:hover .pillar__cta { color: #fff; }

.pillar__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  transition: color 0.3s var(--ease);
}
.pillar__title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.pillar__desc {
  color: var(--fg-muted);
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  max-width: 42ch;
}
.pillar:hover .pillar__desc { color: var(--ink-200); }
.pillar__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 14px;
  color: var(--accent);
  transition: color 0.3s var(--ease);
}
.pillar__cta .arrow { transition: transform 0.3s var(--ease); }
.pillar:hover .pillar__cta .arrow { transform: translate(4px, -4px); }
.pillar__visual {
  position: absolute;
  right: -60px;
  bottom: -60px;
  font-size: 320px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.06em;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  color: var(--orange-500);
  pointer-events: none;
  width: 320px;
  height: 320px;
}
.pillar__visual svg { width: 100%; height: 100%; }

/* ============================================
   PLATAFORMA SHOWCASE
   ============================================ */
.plat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--line);
}
.plat__copy {
  padding: clamp(40px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-right: 1px solid var(--line);
}
.plat__copy h3 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0;
}
.plat__copy h3 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
.plat__copy p { color: var(--fg-muted); margin: 0; max-width: 44ch; line-height: 1.5; }
.plat__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plat__features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
}
.plat__features li::before {
  content: "✱";
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
  font-size: 14px;
  margin-top: 3px;
}

.plat__demo {
  background: var(--ink-900);
  color: #fff;
  padding: clamp(32px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  position: relative;
  overflow: hidden;
}
.plat__demo .chrome {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 8px;
  font-size: 11px;
  color: var(--ink-400);
}
.plat__demo .chrome .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--ink-700);
}
.plat__demo .chrome .label {
  margin-left: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.plat__demo .msg {
  padding: 14px 16px;
  border: 1px solid var(--ink-700);
  border-radius: 4px;
  background: var(--ink-800);
  line-height: 1.5;
  max-width: 85%;
}
.plat__demo .msg--user {
  align-self: flex-end;
  background: var(--orange-700);
  border-color: var(--orange-700);
  color: #fff;
}
.plat__demo .msg--agent {
  align-self: flex-start;
}
.plat__demo .msg .label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 6px;
}
.plat__demo .msg--user .label { color: var(--orange-200); }
.plat__demo .typing {
  display: inline-flex;
  gap: 4px;
  padding-left: 4px;
}
.plat__demo .typing span {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 1.2s infinite;
}
.plat__demo .typing span:nth-child(2) { animation-delay: 0.2s; }
.plat__demo .typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink {
  0%, 60%, 100% { opacity: 0.3; }
  30% { opacity: 1; }
}

/* ============================================
   CASOS
   ============================================ */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case {
  display: flex;
  flex-direction: column;
  gap: 0;
  cursor: pointer;
}
.case__visual {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: border-color 0.3s var(--ease);
}
.case:hover .case__visual { border-color: var(--accent); }

.case__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg,
      transparent 0,
      transparent 16px,
      var(--line) 16px,
      var(--line) 17px);
  opacity: 0.7;
}
.case__visual .label {
  position: absolute;
  bottom: 16px; left: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: var(--bg);
  padding: 4px 8px;
  border: 1px solid var(--line);
}
.case__tag {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--bg);
  padding: 6px 10px;
  border: 1px solid var(--accent);
}
.case__meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding: 16px 0 8px;
  border-bottom: 1px solid var(--line);
}
.case h3 {
  margin: 16px 0 12px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  transition: color 0.3s var(--ease);
}
.case:hover h3 { color: var(--accent); }
.case p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 14px;
  line-height: 1.5;
}
.case__metric {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.case__metric .num {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}
.case__metric .lbl {
  font-size: 13px;
  color: var(--fg-muted);
}

/* ============================================
   WORKSHOPS
   ============================================ */
.workshops {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.workshops__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.workshops__item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s var(--ease);
  cursor: pointer;
}
.workshops__item:hover { padding-left: 16px; }
.workshops__item .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
}
.workshops__item h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.workshops__item h3 + p {
  margin: 4px 0 0;
  color: var(--fg-muted);
  font-size: 14px;
}
.workshops__item .duration {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
}
.workshops__item .arrow {
  color: var(--accent);
  transition: transform 0.3s var(--ease);
  font-size: 18px;
}
.workshops__item:hover .arrow { transform: translate(6px, -6px); }

.workshops__visual {
  background: var(--ink-900);
  color: #fff;
  padding: 48px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.workshops__visual h3 {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  max-width: 14ch;
}
.workshops__visual h3 em {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}
.workshops__visual .ast-bg {
  position: absolute;
  right: -60px; bottom: -100px;
  color: var(--accent);
  width: 480px;
  height: 480px;
  opacity: 0.18;
  pointer-events: none;
  animation: spin 60s linear infinite;
  display: block;
}
.workshops__visual .ast-bg svg { width: 100%; height: 100%; display: block; }
.workshops__visual .meta {
  display: flex;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-300);
  position: relative;
  z-index: 1;
}

/* ============================================
   VALORES (10)
   ============================================ */
.values {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.value {
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background-color 0.3s var(--ease);
}
.value:hover {
  background: var(--accent);
  color: #fff;
}
.value:hover .value__num { color: #fff; }
.value:hover .value__sub { color: var(--orange-100); }
.value__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.value__name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
}
.value__sub {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.4;
  margin: 0;
  margin-top: auto;
}

/* ============================================
   INSIGHTS
   ============================================ */
.insights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.insight {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 2px solid var(--fg);
  cursor: pointer;
  transition: padding 0.3s var(--ease);
}
.insight:hover { padding-top: 16px; }
.insight__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: flex;
  justify-content: space-between;
}
.insight h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  transition: color 0.3s var(--ease);
}
.insight:hover h3 { color: var(--accent); }
.insight p {
  margin: 0;
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
}
.insight__cta {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ============================================
   STATS
   ============================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 40px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat:last-child { border-right: 0; }
.stat__num {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.stat__num .unit { font-size: 0.5em; color: var(--accent); margin-left: 4px; vertical-align: 0.2em; }
.stat__lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 8px;
}

/* ============================================
   FINAL CTA
   ============================================ */
.cta-final {
  background: var(--ink-900);
  color: #fff;
  padding-block: clamp(80px, 10vw, 140px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-final__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-final__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.cta-final__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(15, 11, 19, 0.78) 0%,
      rgba(15, 11, 19, 0.55) 35%,
      rgba(15, 11, 19, 0.55) 65%,
      rgba(15, 11, 19, 0.85) 100%),
    linear-gradient(90deg,
      rgba(15, 11, 19, 0.6) 0%,
      rgba(15, 11, 19, 0.15) 50%,
      rgba(15, 11, 19, 0.6) 100%);
}
.cta-final .wrap { position: relative; z-index: 2; }
[data-theme="dark"] .cta-final { background: var(--accent); }
[data-theme="dark"] .cta-final__bg-overlay {
  background:
    linear-gradient(180deg,
      rgba(232, 78, 27, 0.55) 0%,
      rgba(232, 78, 27, 0.30) 50%,
      rgba(232, 78, 27, 0.65) 100%);
}
.cta-final h2 {
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-weight: 800;
  margin: 0;
  max-width: 14ch;
  text-shadow: 0 4px 60px rgba(15, 11, 19, 0.6);
}
.cta-final h2 em {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}
[data-theme="dark"] .cta-final h2 em { color: #fff; text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 8px; }
.cta-final__row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-top: 64px;
  flex-wrap: wrap;
}
.cta-final__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cta-final__contact .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-400);
}
[data-theme="dark"] .cta-final__contact .label { color: var(--orange-100); }
.cta-final__contact .val {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(15, 11, 19, 0.5);
}
.cta-final .btn {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  padding: 22px 32px;
  font-size: 18px;
}
.cta-final .btn:hover { background: #fff; color: var(--ink-900); border-color: #fff; }
[data-theme="dark"] .cta-final .btn { background: #fff; color: var(--ink-900); border-color: #fff; }
[data-theme="dark"] .cta-final .btn:hover { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }

.cta-final .ast-deco {
  position: absolute;
  right: -120px; top: -120px;
  width: 600px;
  height: 600px;
  color: var(--accent);
  opacity: 0.22;
  pointer-events: none;
  animation: spin 80s linear infinite;
  display: block;
  z-index: 1;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 40px rgba(232, 78, 27, 0.4));
}
.cta-final .ast-deco svg { width: 100%; height: 100%; display: block; }
[data-theme="dark"] .cta-final .ast-deco { color: #fff; opacity: 0.2; }

/* ============================================
   FOOTER
   ============================================ */
footer.foot {
  background: var(--bg);
  color: var(--fg);
  padding-block: 64px 32px;
  border-top: 1px solid var(--line);
}
.foot__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.foot__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.foot__brand .logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.foot__brand p {
  color: var(--fg-muted);
  font-size: 14px;
  margin: 0;
  max-width: 32ch;
  line-height: 1.5;
}
.foot__col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin: 0 0 16px;
  font-weight: 500;
}
.foot__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot__col a {
  font-size: 14px;
  transition: color 0.2s var(--ease);
}
.foot__col a:hover { color: var(--accent); }

.foot__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================================
   THEME TOGGLE
   ============================================ */
.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav__toggle:hover { color: var(--accent); border-color: var(--accent); }

/* ============================================
   REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .hero__lower { grid-template-columns: 1fr; gap: 32px; }
  .pillars { grid-template-columns: 1fr; }
  .plat { grid-template-columns: 1fr; }
  .plat__copy { border-right: 0; border-bottom: 1px solid var(--line); }
  .cases { grid-template-columns: 1fr; }
  .workshops { grid-template-columns: 1fr; gap: 40px; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .insights { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .s-head { grid-template-columns: 1fr; gap: 24px; }
  .mega__inner { grid-template-columns: 1fr; gap: 32px; padding-block: 32px; }
  .mega__list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .foot__top { grid-template-columns: 1fr; }
}
