/* ═══════════════════════════════════════════════
       DESIGN TOKENS
    ═══════════════════════════════════════════════ */
:root {
  --red: #E8210A;
  --red-dim: rgba(232, 33, 10, 0.12);
  --red-glow: rgba(232, 33, 10, 0.25);
  --red-border: rgba(232, 33, 10, 0.35);
  --black: #080808;
  --char: #101010;
  --surface: #141414;
  --raised: #1C1C1C;
  --border: rgba(255, 255, 255, 0.06);
  --border-hi: rgba(255, 255, 255, 0.12);
  --steel: #5A5A5A;
  --silver: #9A9A9A;
  --light: #D0D0D0;
  --white: #F0F0F0;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 20px;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-ui: 'Barlow Condensed', sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════════
       RESET & BASE
    ═══════════════════════════════════════════════ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: none;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
}

/* ═══════════════════════════════════════════════
       CUSTOM CURSOR
    ═══════════════════════════════════════════════ */
#cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s linear;
  will-change: transform;
}

#cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid var(--red-border);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out-expo),
    height 0.3s var(--ease-out-expo),
    border-color 0.3s ease,
    backdrop-filter 0.3s ease;
  will-change: transform;
}

#cursor-ring.active {
  width: 56px;
  height: 56px;
  border-color: var(--red);
  backdrop-filter: invert(0.05);
}

/* ═══════════════════════════════════════════════
       NOISE OVERLAY
    ═══════════════════════════════════════════════ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  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' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.4;
}

/* ═══════════════════════════════════════════════
       NAVIGATION
    ═══════════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 8, 8, 0.6);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.4s ease, border-color 0.4s ease;
}

#nav.scrolled {
  background: rgba(8, 8, 8, 0.92);
  border-bottom-color: var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0;
}

.nav-brand .brand-text {
  letter-spacing: 0.04em;
  /* Remove trailing letter-spacing from last char */
  margin-right: -0.04em;
}

.nav-brand .brand-text .t {
  color: var(--red);
}

.nav-bolt {
  display: flex;
  flex-shrink: 0;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 36px;
}

nav ul a {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--steel);
  position: relative;
  transition: color 0.25s ease;
}

nav ul a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.3s var(--ease-out-expo);
}

nav ul a:hover {
  color: var(--white);
}

nav ul a:hover::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white) !important;
  padding: 10px 22px;
  border: 1px solid var(--red-border);
  background: var(--red-dim);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease !important;
}

.nav-cta:hover {
  background: var(--red) !important;
  border-color: var(--red) !important;
  color: var(--white) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.nav-hamburger span {
  display: block;
  height: 1px;
  background: var(--white);
  transition: all 0.3s ease;
}

/* ═══════════════════════════════════════════════
       HERO SECTION
    ═══════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 48px 80px;
  position: relative;
  overflow: hidden;
}

/* Hero image background */
.hero-img-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../images/hero-background.jpg');
  background-size: cover;
  background-position: center right;
  opacity: 0.07;
  filter: grayscale(100%) contrast(1.2);
}

.hero-img-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(105deg,
      rgba(8, 8, 8, 1) 40%,
      rgba(8, 8, 8, 0.85) 65%,
      rgba(8, 8, 8, 0.4) 100%);
}

/* BG layers */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(232, 33, 10, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 33, 10, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}

.hero-bg-glow {
  position: absolute;
  z-index: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 33, 10, 0.1) 0%, transparent 70%);
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  pointer-events: none;
  animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {

  0%,
  100% {
    opacity: 0.6;
    transform: translateY(-50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
  }
}

.hero-diagonal {
  position: absolute;
  top: -20%;
  right: -8%;
  width: 55%;
  height: 140%;
  background: var(--char);
  transform: skewX(-7deg);
  z-index: 0;
}

.hero-diagonal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg,
      transparent, transparent 44px,
      rgba(255, 255, 255, 0.008) 44px, rgba(255, 255, 255, 0.008) 45px);
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s var(--ease-out-expo) forwards;
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(60px, 8.5vw, 110px);
  line-height: 0.86;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s 0.45s var(--ease-out-expo) forwards;
}

.hero-headline .accent {
  color: var(--red);
}

.hero-desc {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--silver);
  max-width: 440px;
  margin-bottom: 44px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.6s var(--ease-out-expo) forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.75s var(--ease-out-expo) forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  padding: 16px 32px;
  background: var(--red);
  border: 1px solid var(--red);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease-out-expo);
}

.btn-primary:hover {
  box-shadow: 0 0 32px rgba(232, 33, 10, 0.4);
}

.btn-primary:hover::before {
  transform: translateX(0);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--silver);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.btn-ghost:hover {
  color: var(--white);
  border-color: var(--white);
}

.btn-ghost .arrow {
  transition: transform 0.3s var(--ease-out-expo);
}

.btn-ghost:hover .arrow {
  transform: translateX(5px);
}

/* Hero visual */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 1.2s 0.6s ease forwards;
}

.hero-bolt-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bolt-glow {
  position: absolute;
  width: 300px;
  height: 450px;
  background: radial-gradient(ellipse, rgba(232, 33, 10, 0.2) 0%, transparent 70%);
  animation: boltPulse 3s ease-in-out infinite;
}

@keyframes boltPulse {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.95);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.hero-bolt-svg {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 24px rgba(232, 33, 10, 0.5));
  animation: boltFloat 4s ease-in-out infinite;
}

@keyframes boltFloat {

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

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

/* Metrics strip */
.hero-metrics {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
}

.metric-item {
  padding: 28px 48px;
  border-right: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out-expo) forwards;
}

.metric-item:last-child {
  border-right: none;
}

.metric-item:nth-child(1) {
  animation-delay: 1s;
}

.metric-item:nth-child(2) {
  animation-delay: 1.1s;
}

.metric-item:nth-child(3) {
  animation-delay: 1.2s;
}

.metric-item:nth-child(4) {
  animation-delay: 1.3s;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 0.02em;
  color: var(--red);
  line-height: 1;
  margin-bottom: 4px;
}

.metric-key {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--steel);
}

/* ═══════════════════════════════════════════════
       MARQUEE
    ═══════════════════════════════════════════════ */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden;
  background: var(--char);
}

.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 32px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--steel);
  flex-shrink: 0;
}

.marquee-dot {
  width: 4px;
  height: 4px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
       SECTION BASE
    ═══════════════════════════════════════════════ */
section {
  padding: 120px 48px;
  position: relative;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.section-eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 72px);
  line-height: 0.88;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.section-title .accent {
  color: var(--red);
}

.section-sub {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--steel);
  max-width: 540px;
}

/* reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo),
    transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* ═══════════════════════════════════════════════
       PROBLEM SECTION
    ═══════════════════════════════════════════════ */
#problema {
  background: var(--char);
  padding: 120px 48px;
}

.problema-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.problema-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 44px;
}

.problema-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s ease;
}

.problema-item:first-child {
  border-top: 1px solid var(--border);
}

.problema-item:hover {
  border-bottom-color: var(--red-border);
}

.problema-num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--red);
  line-height: 1.4;
  flex-shrink: 0;
  width: 28px;
}

.problema-txt {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--silver);
}

.problema-txt strong {
  color: var(--light);
  font-weight: 600;
}

/* Glass card right side */
.problema-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.problema-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
}

.problema-card::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--red-glow), transparent 70%);
  pointer-events: none;
}

.problema-stat {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.problema-stat:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.ps-val {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
}

.ps-label {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
}

/* ═══════════════════════════════════════════════
       SERVICES SECTION
    ═══════════════════════════════════════════════ */
#servicos {
  background: var(--black);
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}

.services-intro {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--silver);
  margin-top: 20px;
}

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

.service-card {
  background: var(--surface);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  border-top: 2px solid transparent;
  transition: border-color 0.4s ease, background 0.4s ease;
  cursor: none;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red-dim), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  background: var(--raised);
  border-top-color: var(--red);
}

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

.service-number {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--red);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-number::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.service-name {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.03em;
  line-height: 0.95;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.service-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--steel);
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.service-card:hover .service-desc {
  color: var(--silver);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}

.service-tag {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--steel);
  padding: 5px 10px;
  border: 1px solid var(--border);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.service-card:hover .service-tag {
  color: var(--red);
  border-color: var(--red-border);
}

/* ═══════════════════════════════════════════════
       HOW IT WORKS
    ═══════════════════════════════════════════════ */
#processo {
  background: var(--char);
  padding: 120px 48px;
  position: relative;
  overflow: hidden;
}

#processo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../images/processo-background.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.04;
  filter: grayscale(100%);
}

#processo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    repeating-linear-gradient(-60deg,
      transparent, transparent 80px,
      rgba(232, 33, 10, 0.025) 80px, rgba(232, 33, 10, 0.025) 81px);
}

#processo .section-inner {
  position: relative;
  z-index: 1;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  background: rgba(255, 255, 255, 0.03);
  margin-top: 72px;
}

.process-step {
  background: var(--surface);
  padding: 44px 32px;
  position: relative;
  overflow: hidden;
}

.process-step::after {
  content: attr(data-step);
  position: absolute;
  top: -8px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 100px;
  color: rgba(255, 255, 255, 0.025);
  line-height: 1;
  pointer-events: none;
}

.step-connector {
  position: absolute;
  top: 60px;
  right: -1px;
  width: 3px;
  height: 24px;
  background: var(--red);
  z-index: 2;
}

.process-step:last-child .step-connector {
  display: none;
}

.step-num {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.03em;
  line-height: 0.95;
  margin-bottom: 14px;
}

.step-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--steel);
}

/* ═══════════════════════════════════════════════
       DIFFERENTIALS / PORQUE NOS
    ═══════════════════════════════════════════════ */
#diferenciais {
  background: var(--black);
}

.diff-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.diff-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.diff-photo-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.diff-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(40%) contrast(1.05);
  opacity: 0.55;
}

.diff-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(8, 8, 8, 0.0) 0%,
      rgba(8, 8, 8, 0.3) 60%,
      rgba(8, 8, 8, 0.75) 100%);
}

/* Glass card floating */
.diff-glass-main {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  padding: 40px;
  width: 100%;
  max-width: 360px;
  position: relative;
  z-index: 2;
}

.diff-glass-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--red);
}

.diff-glass-float {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  padding: 20px 24px;
}

.diff-glass-float-1 {
  top: 0;
  right: -20px;
  animation: floatA 5s ease-in-out infinite;
}

.diff-glass-float-2 {
  bottom: 20px;
  left: -20px;
  animation: floatB 6s ease-in-out infinite;
}

@keyframes floatA {

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

  50% {
    transform: translateY(-10px) rotate(0.5deg);
  }
}

@keyframes floatB {

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

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

.float-label {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}

.float-val {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--white);
}

.diff-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
}

.diff-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.35s ease, background 0.35s ease;
}

.diff-item:hover {
  border-color: var(--red-border);
  background: rgba(232, 33, 10, 0.04);
}

.diff-bolt {
  flex-shrink: 0;
  margin-top: 3px;
}

.diff-copy {}

.diff-title {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--light);
}

.diff-text {
  font-size: 13px;
  line-height: 1.65;
  color: var(--steel);
}

/* ═══════════════════════════════════════════════
       BEFORE / AFTER — STORYTELLING
    ═══════════════════════════════════════════════ */
#narrativa {
  background: var(--char);
  padding: 0;
  overflow: hidden;
}

.narrativa-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}

.narrativa-before {
  padding: 100px 64px;
  background: var(--surface);
  position: relative;
  filter: saturate(0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.narrativa-before::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--border) 30%, var(--border) 70%, transparent);
}

.narrativa-after {
  padding: 100px 64px;
  background: var(--raised);
  border-left: 3px solid var(--red);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nar-after-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.nar-after-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(50%) contrast(1.05);
  opacity: 0.12;
}

.narrativa-after::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232, 33, 10, 0.04) 0%, transparent 60%);
}

.nar-tag {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
}

.narrativa-before .nar-tag {
  color: var(--steel);
}

.narrativa-after .nar-tag {
  color: var(--red);
}

.nar-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}

.narrativa-before .nar-headline {
  color: var(--steel);
}

.narrativa-after .nar-headline {
  color: var(--white);
  position: relative;
  z-index: 1;
}

.narrativa-after .nar-headline .accent {
  color: var(--red);
}

.nar-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.nar-list li {
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}

.nar-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 1px;
}

.narrativa-before .nar-list li {
  color: var(--steel);
}

.narrativa-before .nar-list li::before {
  background: var(--steel);
}

.narrativa-after .nar-list li {
  color: var(--light);
}

.narrativa-after .nar-list li::before {
  background: var(--red);
}

/* ═══════════════════════════════════════════════
       TESTIMONIALS / SOCIAL PROOF
    ═══════════════════════════════════════════════ */
#prova {
  background: var(--black);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: rgba(255, 255, 255, 0.03);
  margin-top: 72px;
}

.proof-card {
  background: var(--surface);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.35s ease;
}

.proof-card:hover {
  background: var(--raised);
}

.proof-card::before {
  content: '"';
  position: absolute;
  top: -8px;
  left: 28px;
  font-family: var(--font-display);
  font-size: 120px;
  color: rgba(232, 33, 10, 0.06);
  line-height: 1;
  pointer-events: none;
}

.proof-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.star {
  width: 10px;
  height: 10px;
  background: var(--red);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.proof-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--silver);
  margin-bottom: 28px;
  font-style: italic;
  position: relative;
}

.proof-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.proof-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--raised);
  border: 1px solid var(--red-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--red);
  flex-shrink: 0;
  overflow: hidden;
}

.proof-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(60%);
}

.proof-name {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 2px;
}

.proof-role {
  font-size: 11px;
  color: var(--steel);
}

/* ═══════════════════════════════════════════════
       CTA SECTION
    ═══════════════════════════════════════════════ */
#cta {
  background: var(--char);
  padding: 160px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(232, 33, 10, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.cta-eyebrow {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.cta-eyebrow::before,
.cta-eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--red);
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.88;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.cta-title .accent {
  color: var(--red);
}

.cta-sub {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--silver);
  max-width: 480px;
  margin: 0 auto 48px;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

/* Glass form strip */
.cta-form-strip {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-form-row {
  display: flex;
  gap: 3px;
}

.cta-input {
  flex: 1;
  padding: 18px 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  outline: none;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--white);
  transition: border-color 0.3s ease;
}

.cta-input:focus {
  border-color: var(--red-border);
}

.cta-input::placeholder {
  color: var(--steel);
}

.cta-submit {
  width: 100%;
  padding: 18px 28px;
  background: var(--red);
  border: none;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  cursor: none;
  transition: box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cta-submit:hover {
  box-shadow: 0 0 32px rgba(232, 33, 10, 0.45);
}

.cta-note {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--steel);
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════
       FOOTER
    ═══════════════════════════════════════════════ */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  padding: 80px 48px 64px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
  text-align: left;
}

.footer-main nav {
  text-align: left;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0;
  margin-bottom: 20px;
}

.footer-logo .brand-text {
  letter-spacing: 0.04em;
  margin-right: -0.04em;
}

.footer-logo .brand-text .t {
  color: var(--red);
}

.footer-tagline {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--steel);
  max-width: 260px;
  margin-bottom: 32px;
}

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

.footer-social-link {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.footer-social-link:hover {
  border-color: var(--red-border);
  background: var(--red-dim);
}

.footer-col-title {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  text-align: left !important;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left !important;
  align-items: flex-start !important;
}

.footer-col-links a {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 300;
  color: var(--steel);
  transition: color 0.25s ease, padding-left 0.25s var(--ease-out-expo);
  display: block;
  padding-left: 0;
  text-align: left !important;
}

.footer-col-links a:hover {
  color: var(--white);
  padding-left: 10px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-copy {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--steel);
}

.footer-copy span {
  color: var(--red);
}

/* ═══════════════════════════════════════════════
       KEYFRAMES
    ═══════════════════════════════════════════════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ═══════════════════════════════════════════════
       SCROLL INDICATOR
    ═══════════════════════════════════════════════ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--red);
  z-index: 999;
  width: 0%;
  transition: width 0.1s linear;
}

/* ═══════════════════════════════════════════════
       RESPONSIVE
    ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  #hero {
    grid-template-columns: 1fr;
    padding: 120px 32px 80px;
  }

  .hero-visual {
    display: none;
  }

  .hero-diagonal {
    display: none;
  }

  .hero-bg-glow {
    display: none;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    position: relative;
  }

  .metric-item {
    padding: 20px 32px;
  }

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

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

  .proof-grid {
    grid-template-columns: 1fr 1fr;
  }

  .diff-layout {
    grid-template-columns: 1fr;
  }

  .diff-visual {
    display: none;
  }

  .narrativa-split {
    grid-template-columns: 1fr;
  }

  .narrativa-before {
    filter: none;
    border-left: 3px solid var(--border);
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .services-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .problema-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  section {
    padding: 80px 32px;
  }

  #problema {
    padding: 80px 32px;
  }

  #processo {
    padding: 80px 32px;
  }

  #cta {
    padding: 100px 32px;
  }
}

@media (max-width: 768px) {
  #nav {
    padding: 0 24px;
  }

  nav ul {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  section {
    padding: 64px 24px;
  }

  #hero {
    padding: 100px 24px 60px;
  }

  .hero-headline {
    font-size: clamp(48px, 12vw, 72px);
  }

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

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

  .proof-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 24px;
  }

  .footer-bottom {
    padding: 20px 24px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .narrativa-before {
    padding: 60px 32px;
  }

  .narrativa-after {
    padding: 60px 32px;
  }

  .cta-form-strip {
    flex-direction: column;
  }

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

  #problema {
    padding: 64px 24px;
  }

  #processo {
    padding: 64px 24px;
  }
}


/* sr-only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}