:root {
  --bg: #f5f5f7;
  --bg-soft: #ffffff;
  --text: #111111;
  --muted: #6e6e73;
  --line: rgba(17,17,17,0.08);
  --line-strong: rgba(17,17,17,0.12);
  --dark: #0b0b0d;
  --dark-soft: #151518;
  --dark-line: rgba(255,255,255,0.1);
  --white-soft: rgba(255,255,255,0.82);
  --shadow: 0 18px 60px rgba(15, 18, 28, 0.08);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fcfcfd 0%, #f5f5f7 55%, #efeff3 100%);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 70%; }
svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.section,
.section-dark {
  padding: 34px 0 108px;
}

.section-dark {
  background: radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 30%), linear-gradient(180deg, #0b0b0d, #121216 62%, #16161a 100%);
  color: #fff;
}

.section-dark-compact {
  padding: 80px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11,11,13,0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 132px;
  object-fit: contain;
}

.menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.menu a {
  color: rgba(255,255,255,0.76);
  font-size: 0.95rem;
}

.menu a:hover,
.menu a.active {
  color: #fff;
}

.nav-cta {
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  background: transparent;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  margin: 6px auto;
  border-radius: 999px;
}

.hero {
  padding-top: 52px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 700;
}

.eyebrow-light {
  color: rgba(255,255,255,0.64);
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(2.5rem, 4.4vw, 4.9rem);
  line-height: 1.03;
  letter-spacing: -0.065em;
  margin-bottom: 20px;
}
header h1{
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    margin: 0;
    color: #e4e4e4;
}

h2 {
  font-size: clamp(1.95rem, 3.4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
  margin-bottom: 16px;
}

h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.hero-text,
.section-intro,
.service-card p,
.case-card p,
.process-card p,
.promise p,
.site-footer p,
.metrics-grid p {
  color: var(--muted);
  line-height: 1.68;
  font-size: 1rem;
}

.section-dark .hero-text,
.section-dark .promise p {
  color: rgba(255,255,255,0.72);
}

.hero-copy {
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.2px;
  
  background: #25d366;
  color: #ffffff;
  
  text-decoration: none;
  backdrop-filter: blur(10px);
  
  border: 1px solid rgba(17, 17, 17, 0.08);
  
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  background: #006f29;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Ícone */
.btn-whatsapp .icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  opacity: 0.85;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary,
.btn-dark {
  background: #25d366;
  color: #111;
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
}

.btn-light {
  background: rgba(17,17,17,0.04);
  color: #111;
  border: 1px solid rgba(17,17,17,0.08);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-proof span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
}

.showcase-window {
  border-radius: 34px;
  border: 1px solid var(--dark-line);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  box-shadow: 0 26px 80px rgba(0,0,0,0.28);
  overflow: hidden;
}

.window-bar {
  display: flex;
  gap: 8px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.28);
}

.window-body {
  display: grid;
  grid-template-columns: 180px 2fr;
  min-height: 500px;
  align-items: center;
}

.window-sidebar {
  padding: 12px;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.window-sidebar small,
.mockup-hero-card small,
.mockup-metrics small,
.case-screen-copy small {
  display: block;
  color: rgba(255,255,255,0.56);
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.window-sidebar strong,
.mockup-hero-card strong,
.mockup-metrics strong,
.case-screen-copy h3 {
  display: block;
  color: #fff;
  letter-spacing: -0.03em;
}

.window-sidebar p {
  color: rgba(255,255,255,0.66);
  margin-top: 12px;
  line-height: 1.65;
}

.window-screen {
  padding: 12px;
  display: grid;
  align-content: start;
  gap: 16px;
}

.mockup-hero-card,
.mockup-metrics div {
  border-radius: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

.mockup-hero-card {
  min-height: 190px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.mockup-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mockup-metrics div {
  padding: 20px;
}

.mockup-chart {
  height: 140px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 14px;
  padding: 12px 8px 0;
}

.mockup-chart span {
  display: block;
  border-radius: 16px 16px 10px 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0.3));
}
.mockup-chart span:nth-child(1) { height: 42%; }
.mockup-chart span:nth-child(2) { height: 56%; }
.mockup-chart span:nth-child(3) { height: 72%; }
.mockup-chart span:nth-child(4) { height: 64%; }
.mockup-chart span:nth-child(5) { height: 90%; }

.metrics-strip {
  padding-top: 26px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.metrics-grid article,
.service-card,
.case-card,
.process-card,
.cta-box {
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(17,17,17,0.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.metrics-grid article {
  padding: 28px;
}

.metrics-grid strong,
.case-top strong {
  display: block;
  font-size: 1.02rem;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.section-head {
  max-width: 920px;
  margin-bottom: 34px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  padding: 28px;
}

.icon-wrap {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #111111;
  color: #fff;
  margin-bottom: 18px;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255,255,255,0.45), rgba(255,255,255,0.2));
  border-top: 1px solid rgba(17,17,17,0.04);
  border-bottom: 1px solid rgba(17,17,17,0.04);
}

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.side-intro {
  margin-bottom: 8px;
}

.case-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px;
}

.case-card {
  padding: 24px;
}

.case-card-large {
  grid-column: span 2;
}

.case-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.case-top span,
.process-card span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.case-screen {
  min-height: 320px;
  border-radius: 24px;
  overflow: hidden;
}

.dark-screen {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  background: linear-gradient(145deg, #0b0b0d 0%, #17171b 100%);
}

.case-screen-copy {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.case-screen-copy h3 {
  color: #fff;
  margin-bottom: 0;
}

.case-screen-stack {
  padding: 28px;
  display: grid;
  gap: 14px;
  align-content: center;
}

.case-screen-stack div {
  height: 64px;
  border-radius: 18px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
}

.process-wrap {
  display: grid;
  gap: 26px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.process-card {
  padding: 28px;
}

.promise {
  max-width: 900px;
}

.promise h2 {
  max-width: 880px;
}

.promise p {
  max-width: 720px;
}

.cta-box {
  padding: 44px;
  text-align: center;
  background: radial-gradient(circle at top, rgba(255,255,255,0.96), rgba(255,255,255,0.74)), #fff;
}

.cta-box h2,
.cta-box p {
  margin-left: auto;
  margin-right: auto;
}

.cta-box p {
  max-width: 760px;
}

.cta-actions {
  justify-content: center;
}

.site-footer {
  padding: 0 0 36px;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  border-top: 1px solid rgba(17,17,17,0.08);
}

.footer-logo {
  width: 124px;
  margin-bottom: 14px;
  filter: invert(1);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-links a {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }

@media (max-width: 1100px) {
  .hero-layout,
  .split-head,
  .services-grid,
  .process-grid,
  .metrics-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-card-large {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .section,
  .section-dark {
    padding: 26px 0 84px;
  }

  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .menu-toggle {
    display: block;
  }

  .menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 6px;
    padding: 12px;
    border-radius: 20px;
    background: rgba(11,11,13,0.96);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 45px rgba(0,0,0,0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  }

  .menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .menu a {
    padding: 12px 10px;
    border-radius: 12px;
  }

  .nav-cta { text-align: center; }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 3.1rem);
    line-height: 1.05;
    margin-bottom: 16px;
  }

  h2 {
    font-size: clamp(1.6rem, 7vw, 2.25rem);
    line-height: 1.08;
  }

  .hero-text,
  .section-intro,
  .service-card p,
  .case-card p,
  .process-card p,
  .promise p,
  .site-footer p,
  .metrics-grid p {
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .window-body,
  .dark-screen,
  .mockup-metrics,
  .footer-wrap {
    grid-template-columns: 1fr;
    display: grid;
  }

  .window-body {
    min-height: auto;
  }

  .window-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .window-screen,
  .cta-box,
  .metrics-grid article,
  .service-card,
  .case-card,
  .process-card {
    padding: 22px;
  }

  .mockup-chart {
    height: 110px;
    gap: 10px;
  }

  .site-footer {
    padding-bottom: 28px;
  }

  .footer-links {
    gap: 14px;
  }
}
