:root {
  --ink: #0b1220;
  --ink-soft: #3a4558;
  --muted: #6b7588;
  --line: rgba(11, 18, 32, 0.1);
  --paper: #f4f7f5;
  --paper-2: #e7efe9;
  --white: #ffffff;
  --accent: #54fa80;
  --accent-2: #3ee66c;
  --accent-ink: #062016;
  --accent-soft: rgba(84, 250, 128, 0.22);
  --radius: 18px;
  --shadow: 0 24px 60px rgba(11, 18, 32, 0.08);
  --container: min(1120px, calc(100% - 2.5rem));
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  background:
    radial-gradient(1100px 560px at 90% -8%, rgba(84, 250, 128, 0.28), transparent 55%),
    radial-gradient(900px 500px at -10% 18%, rgba(11, 18, 32, 0.04), transparent 50%),
    linear-gradient(180deg, #f7faf8 0%, var(--paper) 42%, #eef3f0 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    backdrop-filter 0.3s ease,
    box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px rgba(11, 18, 32, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-logo {
  display: block;
  height: 34px;
  width: auto;
  max-width: 148px;
  object-fit: contain;
}

.brand-logo-dark {
  display: none;
}

.site-header.is-scrolled .brand-logo-light {
  display: none;
}

.site-header.is-scrolled .brand-logo-dark {
  display: block;
}

.site-header:has(.nav.is-open) .brand-logo-light {
  display: none;
}

.site-header:has(.nav.is-open) .brand-logo-dark {
  display: block;
}

.page-error .brand-logo-light,
.page-error .site-header.is-scrolled .brand-logo-light,
.page-error .site-header:has(.nav.is-open) .brand-logo-light {
  display: block;
}

.page-error .brand-logo-dark,
.page-error .site-header.is-scrolled .brand-logo-dark,
.page-error .site-header:has(.nav.is-open) .brand-logo-dark {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #fff;
}

.site-header.is-scrolled .nav-links a {
  color: var(--ink-soft);
}

.site-header.is-scrolled .nav-links a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-header .nav-actions .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.site-header .nav-actions .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled .nav-actions .btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

.site-header.is-scrolled .nav-actions .btn-ghost:hover {
  border-color: rgba(11, 18, 32, 0.25);
  background: rgba(255, 255, 255, 0.55);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: #fff;
  display: block;
  transition: background 0.25s ease;
}

.site-header.is-scrolled .menu-toggle {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.site-header.is-scrolled .menu-toggle span {
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: #1a2436;
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-accent:hover {
  background: var(--accent-2);
  color: var(--accent-ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: rgba(11, 18, 32, 0.25);
  background: rgba(255, 255, 255, 0.55);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 6.5rem 0 4.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(125deg, #050a08 0%, #0a1510 42%, #102218 72%, #163024 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 75% 65% at 65% 45%, #000 10%, transparent 78%);
  animation: gridDrift 18s linear infinite;
  opacity: 0.7;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}

.hero-glow-a {
  width: min(640px, 70vw);
  height: min(640px, 70vw);
  right: -8%;
  top: 42%;
  transform: translateY(-50%);
  background: radial-gradient(circle at 40% 40%, #c8ffd8 0%, #54fa80 32%, rgba(84, 250, 128, 0.2) 55%, transparent 70%);
  animation: glowPulseA 6.5s ease-in-out infinite;
}

.hero-glow-b {
  width: min(360px, 45vw);
  height: min(360px, 45vw);
  left: -8%;
  bottom: -8%;
  background: radial-gradient(circle, rgba(84, 250, 128, 0.28), transparent 68%);
  animation: glowPulseB 8s ease-in-out infinite;
}

.hero-ring {
  position: absolute;
  width: min(520px, 62vw);
  height: min(520px, 62vw);
  right: 2%;
  top: 48%;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(84, 250, 128, 0.22);
  box-shadow: inset 0 0 40px rgba(84, 250, 128, 0.08);
  animation: ringPulse 5.5s ease-in-out infinite;
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, var(--paper));
  z-index: 2;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  min-height: min(620px, calc(100vh - 160px));
}

.hero-content {
  max-width: 640px;
  color: #f4faf6;
}

.hero-kicker {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: heroRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.98;
  margin: 0 0 1.2rem;
  color: #fff;
  max-width: 11ch;
  animation: heroRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.hero-title span {
  color: var(--accent);
  display: inline-block;
  animation: accentShine 3.2s ease-in-out infinite;
}

.hero-text {
  margin: 0 0 2rem;
  color: rgba(232, 245, 236, 0.78);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  max-width: 34ch;
  line-height: 1.55;
  animation: heroRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  animation: heroRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}

.btn-hero {
  min-height: 52px;
  padding-inline: 1.45rem;
  font-size: 1.02rem;
  box-shadow: 0 0 0 0 rgba(84, 250, 128, 0.45);
  animation: ctaPulse 2.8s ease-in-out infinite;
}

.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  min-height: 52px;
}

.hero .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.hero-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  transition: transform 0.25s ease-out;
  will-change: transform;
}

.hero-stage {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1.05 / 1;
}

.hero-frame {
  position: absolute;
  inset: 8% 6% 18% 0;
  border-radius: 18px;
  background: rgba(8, 16, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
  animation: stageIn 1s ease both 0.15s, stageFloat 7s ease-in-out 1.2s infinite;
}

.hero-frame-bar {
  display: flex;
  gap: 6px;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.hero-frame-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.hero-frame-bar span:nth-child(2) {
  background: rgba(84, 250, 128, 0.55);
}

.hero-frame-body {
  display: grid;
  grid-template-columns: 72px 1fr;
  height: calc(100% - 42px);
}

.hero-ui-side {
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(84, 250, 128, 0.12), transparent 40%),
    repeating-linear-gradient(180deg, transparent 0 18px, rgba(255, 255, 255, 0.05) 18px 19px);
}

.hero-ui-main {
  padding: 1.1rem 1.15rem;
  display: grid;
  align-content: start;
  gap: 0.7rem;
}

.hero-ui-line {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  width: 78%;
  animation: linePulse 2.8s ease-in-out infinite;
}

.hero-ui-line:nth-child(2) { animation-delay: 0.25s; }
.hero-ui-line:nth-child(3) { animation-delay: 0.5s; }

.hero-ui-line-lg {
  width: 58%;
  height: 16px;
  background: linear-gradient(90deg, #54fa80, rgba(84, 250, 128, 0.35), #54fa80);
  background-size: 200% 100%;
  animation: shimmer 2.4s linear infinite;
}

.hero-ui-line-sm {
  width: 42%;
}

.hero-ui-progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 0.15rem;
}

.hero-ui-progress i {
  display: block;
  height: 100%;
  width: 35%;
  border-radius: inherit;
  background: var(--accent);
  animation: progressRun 2.8s ease-in-out infinite;
}

.hero-ui-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.hero-ui-blocks div {
  aspect-ratio: 1.15 / 1;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: blockPop 3.4s ease-in-out infinite;
}

.hero-ui-blocks div:nth-child(2) { animation-delay: 0.35s; }
.hero-ui-blocks div:nth-child(3) { animation-delay: 0.7s; }

.hero-ui-blocks div:first-child {
  background: linear-gradient(160deg, rgba(84, 250, 128, 0.35), rgba(84, 250, 128, 0.08));
  border-color: rgba(84, 250, 128, 0.28);
}

.hero-device {
  position: absolute;
  width: 38%;
  aspect-ratio: 0.52 / 1;
  right: 0;
  bottom: 0;
  border-radius: 28px;
  background: #0b1410;
  border: 2px solid rgba(255, 255, 255, 0.16);
  padding: 10px 8px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
  transform: rotate(8deg);
  animation: deviceIn 1s ease both 0.35s, deviceFloat 6s ease-in-out 1.4s infinite;
}

.hero-device-screen {
  height: 100%;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(84, 250, 128, 0.2), transparent 35%),
    #102018;
  padding: 1.1rem 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.hero-device-line {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  width: 78%;
}

.hero-device-line-sm {
  width: 48%;
}

.hero-device-dot {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  margin-top: 0.8rem;
  background: var(--accent);
  animation: dotBlink 2.2s ease-in-out infinite;
}

.hero-device-pulse {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-top: auto;
  background: rgba(84, 250, 128, 0.35);
  box-shadow: 0 0 0 0 rgba(84, 250, 128, 0.45);
  animation: softPulse 2s ease-out infinite;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  z-index: 3;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  display: grid;
  justify-items: center;
  padding-top: 8px;
  animation: heroRise 1s ease 0.8s both;
}

.hero-scroll span {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  animation: scrollCue 1.6s ease-in-out infinite;
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@keyframes glowPulseA {
  0%, 100% { opacity: 0.85; transform: translateY(-50%) scale(1); }
  50% { opacity: 1; transform: translateY(-54%) scale(1.06); }
}

@keyframes glowPulseB {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 72px 72px, 72px 72px; }
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(84, 250, 128, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(84, 250, 128, 0); }
}

@keyframes stageIn {
  from { opacity: 0; transform: perspective(1200px) rotateY(-8deg) rotateX(4deg) translateY(30px); }
  to { opacity: 1; transform: perspective(1200px) rotateY(-8deg) rotateX(4deg) translateY(0); }
}

@keyframes stageFloat {
  0%, 100% { transform: perspective(1200px) rotateY(-8deg) rotateX(4deg) translateY(0); }
  50% { transform: perspective(1200px) rotateY(-8deg) rotateX(4deg) translateY(-10px); }
}

@keyframes deviceIn {
  from { opacity: 0; transform: rotate(8deg) translateY(24px); }
  to { opacity: 1; transform: rotate(8deg) translateY(0); }
}

@keyframes deviceFloat {
  0%, 100% { transform: rotate(8deg) translateY(0); }
  50% { transform: rotate(8deg) translateY(-8px); }
}

@keyframes ringPulse {
  0%, 100% { opacity: 0.35; transform: translateY(-50%) scale(1); }
  50% { opacity: 0.7; transform: translateY(-50%) scale(1.04); }
}

@keyframes accentShine {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.25); }
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes linePulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@keyframes progressRun {
  0% { width: 18%; transform: translateX(0); }
  50% { width: 72%; }
  100% { width: 18%; transform: translateX(40%); }
}

@keyframes blockPop {
  0%, 100% { transform: translateY(0); opacity: 0.75; }
  50% { transform: translateY(-4px); opacity: 1; }
}

@keyframes softPulse {
  0% { box-shadow: 0 0 0 0 rgba(84, 250, 128, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(84, 250, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(84, 250, 128, 0); }
}

@keyframes dotBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.94); }
}

@keyframes scrollCue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0.2; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section-head {
  max-width: 620px;
  margin-bottom: 2.75rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: #1f9a4a;
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head h2,
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin: 0 0 0.9rem;
}

.section-head p,
.lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.section-services {
  padding-top: 4.5rem;
}

.services-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem 2.5rem;
  align-items: start;
  padding: 1.85rem 1.1rem 1.85rem 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.3s ease, padding 0.3s ease;
}

.service-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.service-row:hover,
.service-row:focus-visible {
  background: linear-gradient(90deg, rgba(84, 250, 128, 0.14), rgba(84, 250, 128, 0.02) 55%, transparent);
  padding-left: 1.15rem;
  outline: none;
}

.service-row:hover::before,
.service-row:focus-visible::before {
  transform: scaleY(1);
}

.service-row-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: baseline;
  grid-column: 1 / -1;
}

.service-index {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1f9a4a;
  min-width: 2ch;
}

.service-row h3 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0;
  transition: transform 0.3s ease;
}

.service-row:hover h3 {
  transform: translateX(4px);
}

.service-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  position: relative;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.service-arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink);
  border-top: 2px solid var(--ink);
  transform: rotate(45deg) translate(-1px, 1px);
}

.service-row:hover .service-arrow {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateX(4px);
}

.service-desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 42ch;
  line-height: 1.55;
  padding-left: calc(2ch + 1rem);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  margin: 0;
  padding: 0.15rem 0 0;
  list-style: none;
}

.service-tags li {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding-left: 0.9rem;
}

.service-tags li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: #1f9a4a;
  font-weight: 700;
}

@media (max-width: 960px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1.5rem 0;
  }

  .service-desc {
    padding-left: 0;
    max-width: none;
  }

  .service-row:hover,
  .service-row:focus-visible {
    padding-left: 0.85rem;
  }
}


/* Metodologia */
.section-method {
  position: relative;
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(84, 250, 128, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.7));
}

.method-head {
  max-width: 640px;
  margin-bottom: 3rem;
}

.method-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.method-track::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: 1.1rem;
  right: 1.1rem;
  height: 2px;
  background: linear-gradient(90deg, #54fa80, rgba(84, 250, 128, 0.15));
  z-index: 0;
}

.method-step {
  position: relative;
  z-index: 1;
  padding: 0 1.1rem 0 0;
  display: grid;
  gap: 1.15rem;
  align-content: start;
}

.method-num {
  width: 2.7rem;
  height: 2.7rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #0b1220;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 6px rgba(244, 247, 245, 0.95);
}

.method-body h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.method-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 28ch;
}

@media (max-width: 960px) {
  .method-track {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .method-track::before {
    top: 0;
    bottom: 0;
    left: 1.3rem;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, #54fa80, rgba(84, 250, 128, 0.12));
  }

  .method-step {
    grid-template-columns: auto 1fr;
    gap: 1rem 1.15rem;
    padding: 0 0 0.25rem;
    align-items: start;
  }

  .method-body {
    padding-top: 0.35rem;
  }

  .method-body p {
    max-width: none;
  }
}

/* Clientes */
.section-clients {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.clients-head {
  margin-bottom: 2rem;
}

.clients-head h2 {
  margin-bottom: 0;
}

.clients-marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  margin: 0;
  padding: 1.6rem 0;
  list-style: none;
  animation: clientsScroll 28s linear infinite;
}

.clients-track li {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: rgba(11, 18, 32, 0.38);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.clients-track li:hover {
  color: var(--ink);
}

@keyframes clientsScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Depoimentos */
.section-testimonials {
  position: relative;
  background:
    radial-gradient(900px 420px at 80% 0%, rgba(84, 250, 128, 0.12), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.75));
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial {
  margin: 0;
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 1.35rem 0 0;
  border-top: 2px solid var(--accent);
}

.testimonial .testimonial-quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.4;
  color: var(--ink);
}

.testimonial-meta {
  display: grid;
  gap: 0.2rem;
}

.testimonial-meta strong {
  font-size: 0.98rem;
  font-weight: 650;
  color: var(--ink);
}

.testimonial-meta span {
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 960px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Contact */
.contact {
  padding-bottom: 6rem;
}

.contact-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  padding: 2rem;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.65)),
    var(--paper-2);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.contact-copy h2 {
  margin-bottom: 0.8rem;
}

.contact-copy p {
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
}

.contact-meta {
  display: grid;
  gap: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.contact-meta a {
  color: #1f9a4a;
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  min-height: 48px;
  padding: 0.75rem 0.95rem;
  font: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(84, 250, 128, 0.85);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
}

.alert-success {
  background: rgba(84, 250, 128, 0.18);
  color: #0d5c2c;
}

.alert-error {
  background: rgba(185, 28, 28, 0.1);
  color: #991b1b;
}

.error-text {
  display: block;
  margin-top: 0.3rem;
  color: #b91c1c;
  font-size: 0.82rem;
}

.input-error {
  border-color: #dc2626 !important;
}

/* Footer */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  color: var(--ink);
  padding: 4.5rem 0 1.75rem;
  margin-top: 1rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  margin-bottom: 0.9rem;
}

.footer-logo-img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
}

.footer-note {
  margin: 0 0 1.4rem;
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 28ch;
  line-height: 1.55;
}

.footer-cta {
  min-height: 46px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.footer-col {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.footer-col h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1f9a4a;
}

.footer-col a {
  color: var(--ink-soft);
  font-size: 0.98rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.35rem;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
}

.footer-legal a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #1f9a4a;
}

@media (max-width: 960px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding-top: 3.5rem;
  }
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .nav-links,
  .nav-actions .btn-ghost {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open .nav-links a {
    width: 100%;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
  }

  .nav.is-open .nav-links a:hover {
    color: var(--ink);
  }

  .site-header:has(.nav.is-open) {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
  }

  .site-header:has(.nav.is-open) .brand {
    color: var(--ink);
  }

  .site-header:has(.nav.is-open) .menu-toggle {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.7);
  }

  .site-header:has(.nav.is-open) .menu-toggle span {
    background: var(--ink);
  }

  .site-header:has(.nav.is-open) .nav-actions .btn-ghost {
    color: var(--ink);
    border-color: var(--line);
    background: transparent;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 100vh;
    padding-top: 5.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    min-height: auto;
  }

  .hero-visual {
    min-height: 320px;
  }

  .hero-stage {
    width: min(100%, 380px);
  }

  .hero-glow-a {
    right: -20%;
    opacity: 0.75;
  }

  .hero-ring {
    opacity: 0.45;
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 600px) {
  .contact-shell {
    padding: 1.25rem;
  }

  .section {
    padding: 4rem 0;
  }
}

/* WhatsApp widget */
.wa-widget {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.wa-fab {
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.42);
}

.wa-panel {
  width: min(340px, calc(100vw - 2rem));
  border-radius: 18px;
  overflow: hidden;
  background: #efeae2;
  box-shadow: 0 20px 50px rgba(11, 18, 32, 0.22);
  border: 1px solid rgba(11, 18, 32, 0.08);
  animation: waPanelIn 0.25s ease;
}

.wa-panel[hidden] {
  display: none !important;
}

@keyframes waPanelIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.wa-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  background: #075e54;
  color: #fff;
}

.wa-panel-identity {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.wa-panel-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.wa-panel-avatar img {
  width: 210%;
  height: 210%;
  max-width: none;
  object-fit: cover;
  object-position: 6% 50%;
  transform: translateX(-2%);
}

.wa-panel-identity strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 650;
}

.wa-panel-identity span {
  display: block;
  font-size: 0.78rem;
  opacity: 0.85;
}

.wa-close {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
}

.wa-close:hover {
  opacity: 1;
}

.wa-messages {
  height: 280px;
  overflow-y: auto;
  padding: 1rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background:
    linear-gradient(rgba(239, 234, 226, 0.92), rgba(239, 234, 226, 0.92)),
    repeating-linear-gradient(0deg, transparent, transparent 11px, rgba(0, 0, 0, 0.015) 11px, rgba(0, 0, 0, 0.015) 12px);
}

.wa-bubble {
  max-width: 85%;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.4;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
}

.wa-bubble.is-bot {
  align-self: flex-start;
  background: #fff;
  color: #111;
  border-top-left-radius: 3px;
}

.wa-bubble.is-user {
  align-self: flex-end;
  background: #dcf8c6;
  color: #111;
  border-top-right-radius: 3px;
}

.wa-typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 4px;
  padding: 0.7rem 0.85rem;
  background: #fff;
  border-radius: 10px;
  border-top-left-radius: 3px;
}

.wa-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #999;
  animation: waDot 1s infinite ease-in-out;
}

.wa-typing span:nth-child(2) { animation-delay: 0.15s; }
.wa-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes waDot {
  0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

.wa-form {
  display: flex;
  gap: 0.45rem;
  padding: 0.65rem;
  background: #f0f0f0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.wa-form input {
  flex: 1;
  border: none;
  border-radius: 999px;
  min-height: 42px;
  padding: 0 0.95rem;
  font: inherit;
  font-size: 0.92rem;
  outline: none;
}

.wa-form button {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.wa-form button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .wa-widget {
    right: 0.85rem;
    bottom: 0.85rem;
  }
}

/* Legal pages */
.page-legal .site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.page-legal .brand,
.page-legal .site-header.is-scrolled .brand {
  color: var(--ink);
}

.page-legal .nav-links a,
.page-legal .site-header.is-scrolled .nav-links a {
  color: var(--ink-soft);
}

.page-legal .nav-links a:hover,
.page-legal .site-header.is-scrolled .nav-links a:hover {
  color: var(--ink);
}

.page-legal .nav-actions .btn-ghost,
.page-legal .site-header.is-scrolled .nav-actions .btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

.page-legal .menu-toggle,
.page-legal .site-header.is-scrolled .menu-toggle {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.page-legal .menu-toggle span,
.page-legal .site-header.is-scrolled .menu-toggle span {
  background: var(--ink);
}

.legal-page {
  padding: 7.5rem 0 4.5rem;
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(84, 250, 128, 0.1), transparent 58%),
    linear-gradient(180deg, #f7faf8 0%, #fff 40%);
}

.legal-wrap {
  max-width: 760px;
}

.legal-kicker {
  margin: 0 0 0.75rem;
  color: #1f9a4a;
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-page h1 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.legal-updated {
  margin: 0 0 2.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-content h2 {
  margin: 2rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.65;
}

.legal-content p {
  margin: 0 0 0.9rem;
}

.legal-content ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  list-style: disc;
}

.legal-content li {
  margin-bottom: 0.35rem;
}

.legal-content a {
  color: #1f9a4a;
  font-weight: 600;
}

.legal-content a:hover {
  text-decoration: underline;
}

/* 404 */
.page-error {
  min-height: 100vh;
  background: #050a08;
}

.page-error .site-header {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

.page-error .site-header.is-scrolled {
  background: rgba(7, 17, 12, 0.88);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.page-error .brand,
.page-error .site-header.is-scrolled .brand {
  color: #fff;
}

.page-error .nav-links a,
.page-error .site-header.is-scrolled .nav-links a {
  color: rgba(255, 255, 255, 0.78);
}

.page-error .nav-links a:hover,
.page-error .site-header.is-scrolled .nav-links a:hover {
  color: #fff;
}

.page-error .nav-actions .btn-ghost,
.page-error .site-header.is-scrolled .nav-actions .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.page-error .menu-toggle,
.page-error .site-header.is-scrolled .menu-toggle {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.page-error .menu-toggle span,
.page-error .site-header.is-scrolled .menu-toggle span {
  background: #fff;
}

.error-page {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 7rem 0 4rem;
  overflow: hidden;
}

.error-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(125deg, #050a08 0%, #0a1510 42%, #102218 72%, #163024 100%);
}

.error-bg .hero-grid {
  opacity: 0.55;
}

.error-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  color: #f4faf6;
}

.error-code {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: var(--accent);
  animation: heroRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.error-page h1 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #fff;
  animation: heroRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.error-text {
  margin: 0 0 1.75rem;
  color: rgba(232, 245, 236, 0.75);
  font-size: 1.08rem;
  max-width: 36ch;
  line-height: 1.55;
  animation: heroRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: heroRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.error-actions .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.error-actions .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 960px) {
  .page-error .nav-links,
  .page-error .nav-actions .btn-ghost {
    display: none;
  }

  .page-error .menu-toggle {
    display: inline-flex;
  }

  .page-error .nav.is-open .nav-links {
    display: flex;
    background: rgba(7, 17, 12, 0.97);
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .page-error .nav.is-open .nav-links a {
    color: rgba(255, 255, 255, 0.85);
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  border-radius: 0 0 10px 0;
}

.skip-link:focus {
  left: 0;
}

.legal-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.legal-breadcrumb a {
  color: #1f9a4a;
  font-weight: 600;
}

.legal-breadcrumb a:hover {
  text-decoration: underline;
}
