/* =======================================================
   A-SPEC PERFORMANCE — Stylesheet
   ======================================================= */

:root {
  --black: #000;
  --black-2: #0a0a0a;
  --black-3: #111;
  --black-4: #181818;
  --black-5: #1f1f1f;
  --line: #232323;
  --line-2: #2e2e2e;
  --white: #fff;
  --gray-1: #c7c7c7;
  --gray-2: #8a8a8a;
  --gray-3: #5a5a5a;
  --gray-4: #404040;
  --redline: #ff1a2e;
  --redline-dim: #b0121f;

  --f-display: 'Antonio', 'Bebas Neue', system-ui, sans-serif;
  --f-body: 'Manrope', system-ui, -apple-system, sans-serif;
  --f-mono: 'JetBrains Mono', 'Courier New', monospace;

  --container: 1320px;
  --radius: 2px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  background: var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--redline); color: var(--white); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* ============ TYPOGRAPHY ============ */

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
h4 { font-size: clamp(1rem, 1.4vw, 1.2rem); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-2);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--redline);
}

.lead {
  font-size: 1.15rem;
  color: var(--gray-1);
  max-width: 60ch;
  line-height: 1.6;
}

.text-redline { color: var(--redline); }
.text-mono { font-family: var(--f-mono); }
.text-display { font-family: var(--f-display); }

/* ============ BUTTONS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--white);
  background: var(--white);
  color: var(--black);
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { background: var(--redline); border-color: var(--redline); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-redline { background: var(--redline); border-color: var(--redline); color: var(--white); }
.btn-redline:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn svg { width: 14px; height: 14px; }

/* ============ TOP NAV ============ */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 26, 46, 0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.5rem;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 1rem; }
.brand img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.08));
  transition: filter 0.25s ease, transform 0.25s ease;
}
.brand:hover img {
  filter: drop-shadow(0 0 22px rgba(255, 26, 46, 0.35));
}
.brand-mark {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gray-2);
  text-transform: uppercase;
  border-left: 1px solid var(--line-2);
  padding-left: 1rem;
}
@media (max-width: 1240px) {
  .brand img { height: 36px; }
}
@media (max-width: 1024px) {
  .brand img { height: 32px; }
}
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-1);
  white-space: nowrap;
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--white); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -8px;
  height: 1px; width: 0;
  background: var(--redline);
  transition: width 0.25s ease;
}
.nav-links a:hover::after, .nav-links a.is-active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 0.85rem; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-2);
  color: var(--white);
}
.nav-toggle svg { width: 18px; height: 18px; }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .brand-mark { display: none; }
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--black);
  padding: 2.5rem 1.5rem;
  z-index: 99;
  border-top: 1px solid var(--line);
}
.nav-mobile.is-open { display: block; }
.nav-mobile a {
  display: block;
  padding: 1.2rem 0;
  font-family: var(--f-display);
  font-size: 1.8rem;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.005em;
}

/* ============ HERO ============ */

.hero {
  position: relative;
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent 95%, rgba(255,255,255,0.04) 95%),
    linear-gradient(90deg, transparent 95%, rgba(255,255,255,0.04) 95%);
  background-size: 64px 64px;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  top: 50%; left: 70%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(255,26,46,0.18), transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: blur(40px);
}
.hero-inner { position: relative; z-index: 2; }

.hero h1 {
  margin: 1.4rem 0 1.6rem;
  max-width: 18ch;
}
.hero h1 .num {
  font-family: var(--f-mono);
  font-size: 0.35em;
  vertical-align: super;
  color: var(--redline);
  letter-spacing: 0.1em;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 3.5rem;
  background: var(--line);
  border: 1px solid var(--line);
}
.hero-stat {
  background: var(--black);
  padding: 1.6rem 1.4rem;
}
.hero-stat .v {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
}
.hero-stat .l {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-2);
  margin-top: 0.6rem;
}
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.hero-side {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--gray-2);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2.2rem;
}
.dot-live {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--redline);
  box-shadow: 0 0 0 0 rgba(255,26,46,0.5);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,26,46,0.6); }
  70%  { box-shadow: 0 0 0 12px rgba(255,26,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,26,46,0); }
}

/* ============ SECTIONS ============ */

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
  align-items: end;
}
.section-head h2 { letter-spacing: -0.01em; }
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ============ MARQUEE ============ */

.marquee {
  display: flex;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--black-2);
}
.marquee-track {
  display: flex;
  gap: 4rem;
  padding: 1.4rem 0;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
}
.marquee-track span {
  font-family: var(--f-display);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--gray-3);
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
}
.marquee-track span::after {
  content: "";
  width: 6px; height: 6px;
  background: var(--redline);
  border-radius: 50%;
  display: inline-block;
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ============ CARD ============ */

.card {
  background: var(--black-2);
  border: 1px solid var(--line);
  padding: 1.8rem;
  transition: all 0.25s ease;
  position: relative;
}
.card:hover { border-color: var(--line-2); background: var(--black-3); }

.card-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--gray-3);
  text-transform: uppercase;
}
.card h3 {
  margin-top: 1.5rem;
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  word-break: break-word;
  hyphens: auto;
  line-height: 1.05;
}
.card-list {
  margin-top: 1.4rem;
  padding: 0;
  list-style: none;
}
.card-list li {
  padding: 0.65rem 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.93rem;
  color: var(--gray-1);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}
.card-list li::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--redline);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============ PILLARS GRID ============ */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pillar {
  background: var(--black);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}
.pillar:hover { background: var(--black-3); }
.pillar h3 {
  margin-top: 1.8rem;
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  letter-spacing: -0.01em;
  line-height: 1.05;
  word-break: break-word;
}
.pillar h3 em { font-style: italic; font-weight: 500; color: var(--gray-1); }
.pillar p {
  margin-top: 1rem;
  color: var(--gray-1);
  line-height: 1.6;
}
.pillar .arr {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
}
.pillar .arr::after {
  content: "→";
  transition: transform 0.2s ease;
}
.pillar:hover .arr::after { transform: translateX(4px); }
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
}

/* ============ STAGES GRID ============ */

.stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.stage {
  background: var(--black-2);
  border: 1px solid var(--line);
  padding: 1.8rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.stage-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--redline);
  text-transform: uppercase;
}
.stage h4 {
  font-size: 1.6rem;
  margin: 1rem 0 1rem;
}
.stage p {
  font-size: 0.9rem;
  color: var(--gray-1);
  line-height: 1.6;
  flex: 1;
}
@media (max-width: 1024px) {
  .stages { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .stages { grid-template-columns: 1fr; }
}

/* ============ FOOTER ============ */

.footer {
  background: var(--black);
  border-top: 1px solid var(--line);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand img {
  height: 44px;
  margin-bottom: 1.4rem;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.08));
}
.footer-brand p { color: var(--gray-2); font-size: 0.9rem; max-width: 30ch; line-height: 1.6; }
.footer h5 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gray-2);
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.footer ul { list-style: none; padding: 0; }
.footer ul li { padding: 0.4rem 0; font-size: 0.9rem; color: var(--gray-1); }
.footer ul a:hover { color: var(--redline); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gray-3);
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-social { display: flex; gap: 0.8rem; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--line-2);
  display: inline-flex;
  align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.footer-social a:hover { background: var(--redline); border-color: var(--redline); }
.footer-social svg { width: 16px; height: 16px; }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============ FLOATING WHATSAPP ============ */

.wa-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; color: #fff; }

/* ============ ANIMATIONS ============ */

.fade-in { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* ============ BREADCRUMBS ============ */

.crumbs {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gray-3);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.crumbs a:hover { color: var(--white); }
.crumbs .sep { color: var(--gray-4); }

/* ============ FORM ============ */

.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gray-2);
  text-transform: uppercase;
}
.field input, .field select, .field textarea {
  background: var(--black-2);
  border: 1px solid var(--line-2);
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: var(--f-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--redline);
}
.field textarea { min-height: 110px; resize: vertical; }

/* ============ UTILS ============ */

.flex { display: flex; }
.grid { display: grid; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.text-center { text-align: center; }
.hidden { display: none !important; }
