/* ─────────────────────────────────────────────────────────────
   AZ1 Agência Digital — Design System
   Premium dark-mode, tech aesthetic
───────────────────────────────────────────────────────────── */

/* TOKENS */
:root {
  /* Colors */
  --bg: #0d0d0f;
  --bg-2: #111114;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-h: rgba(255, 255, 255, 0.06);
  --surface: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-h: rgba(255, 255, 255, 0.14);

  --text: #f0f0f4;
  --text-muted: #9090a0;
  --text-faint: #5a5a6a;

  --accent: #e8580a;
  --accent-2: #ff7a38;
  --accent-glow: rgba(232, 88, 10, 0.22);
  --accent-soft: rgba(232, 88, 10, 0.10);

  --green: #22c55e;
  --yellow: #f59e0b;

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
  --shadow-accent: 0 12px 40px rgba(232, 88, 10, 0.25);

  /* Sizing */
  --content-max: 1160px;
  --header-h: 72px;

  /* Typography */
  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;

  /* Type scale */
  --t-xs: 0.78rem;
  --t-sm: 0.875rem;
  --t-base: 1rem;
  --t-lg: clamp(1.1rem, 0.9rem + 0.5vw, 1.35rem);
  --t-xl: clamp(1.5rem, 1rem + 2vw, 2.4rem);
  --t-2xl: clamp(2rem, 1.2rem + 3.5vw, 3.8rem);
  --t-hero: clamp(2.8rem, 1.4rem + 5.5vw, 5.6rem);

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
}

/* ─── RESET & BASE ───────────────────────────────────────── */
[hidden] {
  display: none !important;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  min-height: 100dvh;
  overflow-x: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul[role="list"] {
  list-style: none;
}

/* ─── NOISE OVERLAY ──────────────────────────────────────── */
.noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ─── CURSOR GLOW ────────────────────────────────────────── */
.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 88, 10, 0.07) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity 300ms;
  opacity: 0;
}

/* ─── SKIP LINK ──────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 999;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  padding: 8px 16px;
  background: var(--accent);
  color: white;
  border-radius: var(--r-md);
}

/* ─── LAYOUT ─────────────────────────────────────────────── */
.container {
  width: min(calc(100% - 32px), var(--content-max));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.section {
  padding-block: clamp(64px, 8vw, 120px);
}

.section-dark {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ─── TYPOGRAPHY HELPERS ─────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, var(--accent-2) 0%, #ffb380 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--r-full);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: var(--accent-soft);
  border: 1px solid rgba(232, 88, 10, 0.2);
  margin-bottom: 20px;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: var(--t-2xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text);
}

.section-head p {
  font-size: var(--t-lg);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── HEADER ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid var(--border);
  background: rgba(13, 13, 15, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: background 300ms ease, border-color 300ms ease;
}

.site-header.scrolled {
  background: rgba(13, 13, 15, 0.96);
  border-color: var(--border-h);
}

.nav-wrap {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  transition: opacity 200ms;
}

.brand:hover {
  opacity: 0.85;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 900;
  color: white;
  box-shadow: 0 6px 20px rgba(232, 88, 10, 0.35);
  flex-shrink: 0;
  letter-spacing: -0.03em;
}

.brand-mark sup {
  font-size: 0.6em;
  vertical-align: super;
}

.brand-mark.small {
  width: 36px;
  height: 36px;
  font-size: 0.85rem;
}

.brand-label {
  font-size: var(--t-sm);
  color: var(--text-muted);
  font-weight: 500;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 6px 12px;
  border-radius: var(--r-sm);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--text-muted);
  transition: color 200ms, background 200ms;
}

.nav a:hover {
  color: var(--text);
  background: var(--surface);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Menu toggle */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background 200ms;
}

.menu-toggle:hover {
  background: var(--bg-card-h);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 9px;
  transition: transform 250ms var(--ease-out), opacity 200ms;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  height: 44px;
  border-radius: var(--r-full);
  font-size: var(--t-sm);
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 200ms var(--ease-out),
    box-shadow 200ms ease,
    background 200ms ease,
    opacity 200ms ease;
  white-space: nowrap;
  text-decoration: none;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 20px rgba(232, 88, 10, 0.30);
}

.btn-primary:hover {
  background: var(--accent-2);
  box-shadow: var(--shadow-accent);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--bg-card-h);
  border-color: var(--border-h);
}

.btn-lg {
  height: 52px;
  padding: 0 28px;
  font-size: var(--t-base);
}

.btn-block {
  width: 100%;
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  padding-block: clamp(80px, 10vw, 140px);
  position: relative;
  overflow: hidden;
}

/* Grid background */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at center, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at center, black, transparent);
  z-index: 0;
}

/* Orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -100px;
  background: radial-gradient(circle, rgba(232, 88, 10, 0.12) 0%, transparent 70%);
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  right: -50px;
  background: radial-gradient(circle, rgba(100, 80, 232, 0.08) 0%, transparent 70%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

/* Hero copy */
.hero-copy {
  z-index: 1;
}

.eyebrow-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.08);
  }
}

.eyebrow {
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--text-muted);
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: var(--t-hero);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--text);
}

.hero-sub {
  font-size: var(--t-lg);
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: 36px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
}

.proof-avatars {
  display: flex;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -8px;
  flex-shrink: 0;
}

.avatar:first-child {
  margin-left: 0;
}

.hero-proof p {
  font-size: var(--t-sm);
  color: var(--text-muted);
}

.hero-proof strong {
  color: var(--text);
}

/* ─── BROWSER MOCKUP ─────────────────────────────────────── */
.hero-visual {
  position: relative;
  z-index: 1;
}

.mockup-browser {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.04);
  animation: float 5s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-red {
  background: #ff5f57;
}

.dot-yellow {
  background: #ffbd2e;
}

.dot-green {
  background: #28c941;
}

.url-bar {
  flex: 1;
  margin-left: 8px;
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-faint);
  font-family: monospace;
}

.mockup-content {
  padding: 20px;
  display: grid;
  gap: 16px;
}

/* Skeleton elements */
.mock-hero-block {
  padding: 20px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  display: grid;
  gap: 8px;
}

.mock-tag {
  height: 18px;
  width: 110px;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, rgba(232, 88, 10, 0.2), rgba(232, 88, 10, 0.1));
}

.mock-h1 {
  height: 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  animation: shimmer 2s ease-in-out infinite alternate;
}

.mock-h1.short {
  width: 60%;
}

.mock-p {
  height: 9px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
}

.mock-p.shorter {
  width: 75%;
}

.mock-btns {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.mock-btn-primary {
  height: 28px;
  width: 110px;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.7;
}

.mock-btn-ghost {
  height: 28px;
  width: 80px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
}

.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mock-card {
  padding: 14px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  display: grid;
  gap: 6px;
}

.mock-card-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(232, 88, 10, 0.15);
}

.mock-card-title {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.mock-card-text {
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  width: 80%;
}

@keyframes shimmer {
  0% {
    opacity: 0.6;
  }

  100% {
    opacity: 1;
  }
}

/* Floating badges */
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-full);
  background: rgba(13, 13, 15, 0.9);
  border: 1px solid var(--border-h);
  backdrop-filter: blur(12px);
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}

.float-badge-1 {
  top: -16px;
  right: 16px;
  animation: float-badge-1 4s ease-in-out infinite;
}

.float-badge-2 {
  bottom: -16px;
  left: 16px;
  animation: float-badge-2 4.5s ease-in-out infinite;
}

@keyframes float-badge-1 {

  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-4px) rotate(0deg);
  }
}

@keyframes float-badge-2 {

  0%,
  100% {
    transform: translateY(0) rotate(1deg);
  }

  50% {
    transform: translateY(4px) rotate(0deg);
  }
}

/* ─── SERVICES ───────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0;
  transition:
    border-color 250ms ease,
    background 250ms ease,
    transform 250ms var(--ease-out),
    box-shadow 250ms ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-soft), transparent 60%);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  border-color: rgba(232, 88, 10, 0.25);
  background: var(--bg-card-h);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.service-card-wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(232, 88, 10, 0.2);
  display: grid;
  place-items: center;
  color: var(--accent-2);
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: background 250ms, border-color 250ms;
}

.service-card:hover .service-icon {
  background: rgba(232, 88, 10, 0.18);
  border-color: rgba(232, 88, 10, 0.35);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.service-card p {
  font-size: var(--t-sm);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
  flex: 1;
}

.service-features.horizontal {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--t-xs);
  color: var(--text-muted);
}

.service-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.service-features.horizontal li {
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: var(--surface);
  border: 1px solid var(--border);
}

.service-features.horizontal li::before {
  display: none;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--accent-2);
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: auto;
  transition: gap 200ms ease, color 200ms ease;
}

.service-link:hover {
  gap: 10px;
  color: var(--accent-2);
}

.service-card-wide .service-icon {
  margin-bottom: 0;
}

.service-card-wide-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  flex: 1;
}

/* ─── PROCESS ────────────────────────────────────────────── */
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.process-line {
  position: absolute;
  top: 24px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 1px;
  background: linear-gradient(90deg, var(--border), var(--accent) 50%, var(--border));
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.step-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--accent);
  display: grid;
  place-items: center;
  font-size: var(--t-sm);
  font-weight: 800;
  color: var(--accent-2);
  font-family: var(--font-display);
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px rgba(232, 88, 10, 0.15);
  transition: background 250ms, box-shadow 250ms;
}

.process-step:hover .step-badge {
  background: var(--accent-soft);
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px rgba(232, 88, 10, 0.3);
}

.step-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.step-body p {
  font-size: var(--t-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── DIFERENCIAIS ───────────────────────────────────────── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.diff-card {
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 250ms, background 250ms, transform 250ms var(--ease-out);
}

.diff-card:hover {
  border-color: var(--border-h);
  background: var(--bg-card-h);
  transform: translateY(-3px);
}

.diff-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  margin-bottom: 18px;
  transition: color 250ms, background 250ms;
}

.diff-card:hover .diff-icon {
  color: var(--accent-2);
  background: var(--accent-soft);
  border-color: rgba(232, 88, 10, 0.2);
}

.diff-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  font-family: var(--font-display);
}

.diff-card p {
  font-size: var(--t-sm);
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── METRICS ────────────────────────────────────────────── */
.metrics-section {
  padding-block: 64px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 100% at 50% 50%, rgba(232, 88, 10, 0.05), transparent);
}

.metrics-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
}

.metric-item {
  text-align: center;
  padding: 16px;
}

.metric-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
}

.metric-item span {
  font-size: var(--t-sm);
  color: var(--text-muted);
  line-height: 1.4;
}

.metric-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* ─── TESTIMONIALS ───────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.testimonial-card {
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 250ms, transform 250ms var(--ease-out);
}

.testimonial-card:hover {
  border-color: var(--border-h);
  transform: translateY(-3px);
}

.stars {
  color: var(--yellow);
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: var(--t-sm);
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  quotes: "\201C" "\201D";
}

.testimonial-card blockquote::before {
  content: open-quote;
  color: var(--accent);
}

.testimonial-card blockquote::after {
  content: close-quote;
  color: var(--accent);
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: var(--t-xs);
  font-weight: 700;
  color: white;
}

.testimonial-card footer strong {
  display: block;
  font-size: var(--t-sm);
  color: var(--text);
}

.testimonial-card footer span {
  display: block;
  font-size: var(--t-xs);
  color: var(--text-muted);
}

/* ─── CONTACT ────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-left .section-label {
  display: inline-flex;
}

.contact-left h2 {
  font-family: var(--font-display);
  font-size: var(--t-xl);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.contact-left>p {
  font-size: var(--t-lg);
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.65;
}

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 250ms, background 250ms, transform 200ms var(--ease-out);
}

.contact-option:hover {
  border-color: var(--border-h);
  background: var(--bg-card-h);
  transform: translateX(4px);
}

.contact-option-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.whatsapp-icon {
  background: rgba(34, 197, 94, 0.12);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.email-icon {
  background: rgba(99, 102, 241, 0.12);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.instagram-icon {
  background: rgba(236, 72, 153, 0.12);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.2);
}

.contact-option>div:nth-child(2) {
  flex: 1;
}

.contact-option strong {
  display: block;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.contact-option span {
  font-size: var(--t-xs);
  color: var(--text-muted);
}

.arrow-icon {
  flex-shrink: 0;
  color: var(--text-faint);
  transition: transform 200ms ease;
}

.contact-option:hover .arrow-icon {
  transform: translateX(3px);
}

/* Contact form */
.contact-right {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.contact-form,
.form-success {
  padding: 32px;
  border-radius: var(--r-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: var(--t-sm);
  transition: border-color 200ms, background 200ms, box-shadow 200ms;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239090a0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-2);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(255, 122, 56, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-faint);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-note {
  text-align: center;
  font-size: var(--t-xs);
  color: var(--text-faint);
  margin-top: 12px;
}

/* Form success */
.form-success {
  text-align: center;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}

.form-success p {
  font-size: var(--t-sm);
  color: var(--text-muted);
  max-width: 34ch;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 40px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand strong {
  display: block;
  font-weight: 700;
  color: var(--text);
  font-size: var(--t-sm);
  margin-bottom: 2px;
}

.footer-brand p {
  font-size: var(--t-xs);
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  gap: 8px;
}

.footer-nav a {
  padding: 6px 12px;
  border-radius: var(--r-sm);
  font-size: var(--t-sm);
  color: var(--text-muted);
  transition: color 200ms, background 200ms;
}

.footer-nav a:hover {
  color: var(--text);
  background: var(--surface);
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: color 200ms, background 200ms, border-color 200ms;
}

.footer-social a:hover {
  color: var(--text);
  background: var(--bg-card-h);
  border-color: var(--border-h);
}

.footer-bottom {
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: var(--t-xs);
  color: var(--text-faint);
  text-align: center;
}

/* ─── FLOATING WHATSAPP ──────────────────────────────────── */
.floating-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px 0 14px;
  height: 52px;
  border-radius: var(--r-full);
  background: #16a34a;
  color: white;
  font-size: var(--t-sm);
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(22, 163, 74, 0.4);
  transition: transform 250ms var(--ease-out), box-shadow 250ms ease;
  animation: float-wa 4s ease-in-out infinite;
}

.floating-wa:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 40px rgba(22, 163, 74, 0.5);
}

.floating-wa-label {
  font-size: var(--t-xs);
}

@keyframes float-wa {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

/* ─── REVEAL ANIMATIONS ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
}

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

/* Staggered children */
.services-grid .reveal:nth-child(1) {
  transition-delay: 0ms;
}

.services-grid .reveal:nth-child(2) {
  transition-delay: 80ms;
}

.services-grid .reveal:nth-child(3) {
  transition-delay: 160ms;
}

.services-grid .reveal:nth-child(4) {
  transition-delay: 240ms;
}

.services-grid .reveal:nth-child(5) {
  transition-delay: 80ms;
}

.diff-grid .reveal:nth-child(1) {
  transition-delay: 0ms;
}

.diff-grid .reveal:nth-child(2) {
  transition-delay: 60ms;
}

.diff-grid .reveal:nth-child(3) {
  transition-delay: 120ms;
}

.diff-grid .reveal:nth-child(4) {
  transition-delay: 180ms;
}

.diff-grid .reveal:nth-child(5) {
  transition-delay: 240ms;
}

.diff-grid .reveal:nth-child(6) {
  transition-delay: 300ms;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1080px) {

  .hero-inner,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card-wide {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
  }

  .service-card-wide-content {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 540px;
    margin: 0 auto;
  }

  .process-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .process-line {
    display: none;
  }

  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics-row {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .metric-divider:nth-child(2),
  .metric-divider:nth-child(6) {
    display: none;
  }

  .metric-divider {
    width: 100%;
    height: 1px;
    grid-column: 1 / -1;
  }

  .contact-right {
    position: static;
  }
}

@media (max-width: 780px) {
  .nav {
    position: absolute;
    top: calc(var(--header-h) + 1px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(13, 13, 15, 0.98);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 12px;
    backdrop-filter: blur(20px);
    display: none;
    z-index: 49;
    box-shadow: var(--shadow-md);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 14px;
    border-radius: var(--r-sm);
  }

  .menu-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .services-grid,
  .testimonials-grid,
  .diff-grid {
    grid-template-columns: 1fr;
  }

  .service-card-wide {
    flex-direction: column;
  }

  .process-track {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer-nav {
    flex-wrap: wrap;
  }

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

  .hero-proof {
    display: none;
  }
}

@media (max-width: 480px) {
  .metrics-row {
    grid-template-columns: 1fr;
  }

  .metric-divider {
    display: block !important;
    width: 100%;
    height: 1px;
    grid-column: auto;
  }

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

  .hero-ctas .btn {
    justify-content: center;
  }
}

/* ─── REDUCED MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ─── HELPERS / ANIMATIONS ───────────────────────────────── */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.shake {
  animation: shake 350ms ease;
}