/* ============================================================
   ALIANÇA CENTRO AUTOMOTIVO — Design System
   Dark Premium · Apple-inspired Animations
   ============================================================ */

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

:root {
  --bg:          #000000;
  --bg-2:        #0a0a0a;
  --bg-card:     #111111;
  --bg-elevated: #1c1c1e;
  --bg-glass:    rgba(28, 28, 30, 0.72);
  --border:      rgba(255, 255, 255, 0.08);
  --border-s:    rgba(255, 255, 255, 0.04);

  --text:        #f5f5f7;
  --text-2:      #a1a1a6;
  --text-3:      #636366;

  --red:         #CC1A1A;
  --red-light:   #E83030;
  --red-glow:    rgba(204, 26, 26, 0.18);
  --red-glow-s:  rgba(204, 26, 26, 0.06);

  --gold:        #C9A227;
  --gold-light:  #F0BF30;

  --radius:      16px;
  --radius-sm:   10px;
  --radius-lg:   24px;
  --radius-full: 9999px;

  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display:'Rajdhani', 'Inter', sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.45, 0, 0.55, 1);
  --spring:        cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 64px;
  --max-w: 1160px;
}

html {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  scroll-behavior: auto; /* Lenis gerencia isso — não conflitar */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background: var(--bg);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
ul, ol { list-style: none; }
address { font-style: normal; }

/* ---- CONTAINER -------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- LOADER ----------------------------------------------- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transition: opacity 0.6s var(--ease-out-expo), visibility 0.6s;
}
#loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-logo { position: relative; }
.loader-ring {
  animation: loader-spin 1.4s var(--ease-out-expo) forwards;
}
@keyframes loader-spin {
  to { stroke-dashoffset: 0; }
}
.loader-bar {
  width: 160px;
  height: 2px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.loader-progress {
  height: 100%;
  width: 0;
  background: var(--red);
  border-radius: var(--radius-full);
  animation: loader-fill 1.2s var(--ease-out-expo) 0.2s forwards;
}
@keyframes loader-fill {
  to { width: 100%; }
}

/* ---- NAVIGATION ------------------------------------------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
#navbar.scrolled {
  background: rgba(6, 6, 8, 0.97);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text);
  flex-shrink: 0;
}
.nav-logo em { color: var(--red); font-style: normal; }
.nav-logo-img {
  height: 56px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
  transition: filter 0.3s ease;
}
.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 0 14px rgba(204,26,26,0.4));
}
.footer-logo-img {
  height: 70px;
  filter: drop-shadow(0 0 12px rgba(204,26,26,0.25));
}
.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-cta {
  flex-shrink: 0;
  padding: 8px 18px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--red-light); transform: scale(1.03); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 4px;
  transition: transform 0.35s var(--ease-out-expo), opacity 0.2s;
  transform-origin: center;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.96);
  display: none;
  align-items: center;
  justify-content: center;
}
.mobile-overlay.open {
  display: flex;
  animation: overlay-in 0.35s ease forwards;
}
@keyframes overlay-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.mobile-nav { text-align: center; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 28px; margin-bottom: 40px; }
.mobile-nav ul a { font-size: 28px; font-weight: 600; color: var(--text-2); transition: color 0.2s; }
.mobile-nav ul a:hover { color: var(--text); }

/* ---- BUTTONS ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.2s var(--ease-out-expo);
  white-space: nowrap;
  cursor: pointer;
  border: none;
  font-family: var(--font);
  line-height: 1;
}
.btn svg { flex-shrink: 0; transition: transform 0.2s; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 0 0 var(--red-glow);
}
.btn-primary:hover {
  background: var(--red-light);
  box-shadow: 0 8px 32px var(--red-glow);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);
}

.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* WhatsApp button */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #1a1a1a;
  border: 1.5px solid rgba(37, 211, 102, 0.3);
  color: var(--text);
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  margin-top: 32px;
}
.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.6);
  transform: translateY(-1px);
}

/* ---- TAGS / LABELS ---------------------------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: var(--red-glow-s);
  border: 1px solid rgba(204, 26, 26, 0.2);
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

/* ---- SECTION HEADS ---------------------------------------- */
.section-head { margin-bottom: 64px; }
.section-head--center { text-align: center; margin-bottom: 60px; }
.section-head h2 { font-size: clamp(36px, 5vw, 54px); font-weight: 700; line-height: 1.1; letter-spacing: -1.5px; margin-top: 4px; }
.section-head p { margin-top: 16px; color: var(--text-2); font-size: 18px; line-height: 1.6; max-width: 480px; }
.section-head--center p { margin: 16px auto 0; }
.section-head h2 em { color: var(--red); font-style: normal; }

/* ---- NAV LOGO TEXT --------------------------------------- */
.nav-shield { flex-shrink: 0; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nlt-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 1.5px;
  color: var(--text);
  line-height: 1;
}
.nlt-sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 8px;
  letter-spacing: 2.5px;
  color: var(--red);
  line-height: 1;
  margin-top: 3px;
}

/* ---- HERO V2 — Cinematic Split Layout -------------------- */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);
  padding-bottom: 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hbg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.026) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 50% 40%, black 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 85% 80% at 50% 40%, black 30%, transparent 80%);
}
.hbg-glow {
  position: absolute;
  bottom: -10%;
  left: 25%;
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(204,26,26,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-ghost {
  position: absolute;
  bottom: -5%;
  left: -2%;
  font-size: clamp(100px, 20vw, 260px);
  font-weight: 900;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.028);
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
}
.hk-pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(204,26,26,0.5);
}
/* hk-pulse-anim removido — box-shadow infinito causa repaint */

.hero-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 5.8vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hh-line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
}
.hh-accent { color: var(--red); }

.hero-desc {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 440px;
  opacity: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
}

/* RIGHT: Emblem */
.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-emblem-wrap {
  position: relative;
  width: 340px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emblem-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(204,26,26,0.12);
  opacity: 0;
  will-change: transform;
  contain: layout style;
}
.emblem-ring--outer {
  width: 330px;
  height: 330px;
  animation: ring-spin 28s linear infinite;
}
.emblem-ring--outer::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  opacity: 0.75;
}
.emblem-ring--inner {
  width: 252px;
  height: 252px;
  animation: ring-spin 20s linear infinite reverse;
  border-style: dashed;
}
@keyframes ring-spin { to { transform: rotate(360deg); } }

.hero-emblem {
  position: relative;
  z-index: 2;
  width: 220px;
  height: 268px;
  opacity: 0;
}
.emblem-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 28px rgba(204,26,26,0.28));
}
.emblem-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 32px rgba(204,26,26,0.35));
  display: block;
}
.emblem-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(204,26,26,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-stat {
  position: absolute;
  background: rgba(12,12,14,0.97);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(10px);
}
.hero-stat strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}
.hero-stat span {
  font-size: 10.5px;
  color: var(--text-2);
  white-space: nowrap;
}
.hero-stat--1 { top:  6%; right: -4%; }
.hero-stat--2 { top: 47%; right: -14%; transform: translateY(-50%) translateY(10px); }
.hero-stat--3 { bottom: 8%; right: -4%; }

.hero-scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 11px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 5px;
}
.scroll-wheel {
  width: 3px;
  height: 6px;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
  animation: scroll-w 2s ease infinite;
}
@keyframes scroll-w {
  0%  { transform: translateY(0);  opacity: 1; }
  60% { transform: translateY(8px); opacity: 0; }
  100%{ transform: translateY(0);  opacity: 0; }
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-kicker { justify-content: center; }
  .hero-h1 { align-items: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-ghost { font-size: clamp(80px, 30vw, 140px); bottom: 0; }
  .hero-brand { min-height: 260px; }
  .hero-emblem-wrap { width: 240px; height: 300px; }
  .emblem-ring--outer { width: 240px; height: 240px; }
  .emblem-ring--inner { width: 185px; height: 185px; }
  .hero-emblem { width: 165px; height: 200px; }
  .hero-stat--1 { top: 5%;   right: 0; }
  .hero-stat--2 { top: auto; bottom: 90px; right: -10px; transform: none; }
  .hero-stat--3 { bottom: 20px; right: 10px; }
}

/* ---- MARQUEE STRIP --------------------------------------- */
.marquee-strip {
  overflow: hidden;
  border-top: 1px solid var(--border-s);
  border-bottom: 1px solid var(--border-s);
  padding: 14px 0;
  background: rgba(255,255,255,0.015);
}
.marquee-track {
  display: inline-flex;
  gap: 0;
  animation: marquee-scroll 28s linear infinite;
  white-space: nowrap;
  will-change: transform;
  contain: layout style;
}
.marquee-track span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  padding: 0 16px;
  letter-spacing: 0.04em;
}
.marquee-track .sep { color: var(--red); padding: 0 4px; opacity: 0.6; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- SERVICES -------------------------------------------- */
.section-services {
  padding: 120px 0;
  background: var(--bg-2);
}

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

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-s);
  border-radius: var(--radius);
  padding: 32px;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out-expo), border-color 0.3s, box-shadow 0.3s;
  cursor: default;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216,59,33,0.25);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(216,59,33,0.1);
}
.service-card--wide {
  grid-column: span 3;
  display: flex;
  align-items: center;
  gap: 28px;
}
.service-card--wide .sc-body { flex: 1; }
.service-card--wide .sc-icon { flex-shrink: 0; }

.sc-icon {
  width: 52px; height: 52px;
  background: var(--red-glow-s);
  border: 1px solid rgba(216,59,33,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.3s, border-color 0.3s;
}
.service-card:hover .sc-icon {
  background: var(--red-glow);
  border-color: rgba(216,59,33,0.35);
}

.sc-body h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
  color: var(--text);
}
.sc-body p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

.sc-badge {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--red-glow);
  border: 1px solid rgba(216,59,33,0.3);
  color: var(--red);
}
.sc-badge--gold {
  background: rgba(201,162,39,0.1);
  border-color: rgba(201,162,39,0.3);
  color: var(--gold-light);
}

.sc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  transition: gap 0.2s;
  flex-shrink: 0;
}
.sc-link:hover { gap: 10px; }

/* Card shine effect */
.sc-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.service-card:hover .sc-shine { opacity: 1; }

/* ---- STATS ----------------------------------------------- */
.section-stats {
  padding: 100px 0;
  background: var(--bg);
  border-top: 1px solid var(--border-s);
  border-bottom: 1px solid var(--border-s);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid var(--border-s);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-size: clamp(52px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -3px;
  color: var(--text);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-num em {
  font-size: 36px;
  color: var(--red);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
}
.stat-item p {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ---- ABOUT ----------------------------------------------- */
.section-about {
  padding: 120px 0;
  background: var(--bg-2);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text h2 {
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 24px;
}
.about-text h2 em { color: var(--red); font-style: normal; }
.about-lead {
  font-size: 20px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 16px;
}
.about-text p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 32px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-2);
  font-weight: 500;
}
.feature-list li svg { flex-shrink: 0; }

.about-visual { position: relative; }
.about-img-frame {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border-s);
}
.about-img-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}
.about-img-frame:hover img { transform: scale(1.04); }
.img-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 12px;
  color: var(--text-3);
  font-size: 13px;
  text-align: center;
}
.img-placeholder .img-fallback { display: flex; }

.about-float {
  position: absolute;
  background: rgba(18,18,20,0.98);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  text-align: center;
}
.about-float strong { display: block; font-size: 18px; font-weight: 800; color: var(--text); }
.about-float span { font-size: 12px; color: var(--text-3); }
.about-float--1 { bottom: 32px; left: -24px; }
.about-float--2 { top: 32px; right: -24px; }

/* ---- PROCESS --------------------------------------------- */
.section-process {
  padding: 120px 0;
  background: var(--bg);
}
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 8px;
}
.process-step {
  flex: 1;
  text-align: center;
}
.step-num {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -3px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(216,59,33,0.4);
  line-height: 1;
  margin-bottom: 20px;
  transition: -webkit-text-stroke-color 0.3s;
}
.process-step:hover .step-num { -webkit-text-stroke-color: var(--red); }
.step-line { display: none; }
.process-step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}
.process-step p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}
.process-arrow {
  flex-shrink: 0;
  margin-top: 28px;
  color: var(--text-3);
  opacity: 0.5;
}

/* ---- TESTIMONIALS ---------------------------------------- */
.section-testimonials {
  padding: 120px 0;
  background: var(--bg-2);
  overflow: hidden;
}
.testimonials-wrap {
  overflow: hidden;
  margin-bottom: 32px;
  cursor: grab;
}
.testimonials-wrap:active { cursor: grabbing; }
.testimonials-track {
  display: flex;
  gap: 20px;
  transition: transform 0.6s var(--ease-out-expo);
  will-change: transform;
}
.tcard {
  min-width: calc(33.333% - 14px);
  background: var(--bg-card);
  border: 1px solid var(--border-s);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.3s, transform 0.3s;
  flex-shrink: 0;
}
.tcard:hover { border-color: rgba(216,59,33,0.2); transform: translateY(-2px); }
.tcard-stars { color: var(--gold-light); font-size: 14px; letter-spacing: 2px; }
.tcard blockquote {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  flex: 1;
}
.tcard footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border-s);
}
.tcard-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--red-glow);
  border: 1px solid rgba(216,59,33,0.3);
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tcard-author strong { display: block; font-size: 14px; font-weight: 600; color: var(--text); }
.tcard-author span { font-size: 12px; color: var(--text-3); }

.t-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.t-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.t-btn:hover { border-color: var(--red); color: var(--red); background: var(--red-glow-s); }
.t-dots { display: flex; gap: 8px; }
.t-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: all 0.3s;
  cursor: pointer;
}
.t-dot.active { background: var(--red); width: 24px; border-radius: 3px; }

/* ---- LEAD FORM ------------------------------------------- */
.section-lead {
  padding: 120px 0;
  background: var(--bg);
}
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.lead-info h2 {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.lead-info h2 em { color: var(--red); font-style: normal; }
.lead-info > p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 36px;
}
.lead-info > p strong { color: var(--text); }

.contact-list { display: flex; flex-direction: column; gap: 20px; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.clist-icon {
  width: 36px; height: 36px;
  background: var(--red-glow-s);
  border: 1px solid rgba(216,59,33,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-list strong { display: block; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-list span, .contact-list a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.2s;
}
.contact-list a:hover { color: var(--red); }

/* Form */
.lead-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-s);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-field { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-field label span { color: var(--red); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 15px;
  color: var(--text);
  font-family: var(--font);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-3); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(216,59,33,0.12);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.select-wrap { position: relative; }
.select-wrap select { padding-right: 40px; cursor: pointer; }
.select-arrow { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--text-3); }

#formBtn { margin-top: 8px; position: relative; overflow: hidden; }
#formBtn.loading .btn-label { opacity: 0; }
#formBtn.loading .btn-loading { opacity: 1; }
.btn-loading {
  position: absolute;
  opacity: 0;
  font-size: 15px;
  font-weight: 600;
  transition: opacity 0.2s;
}
.form-note { font-size: 12px; color: var(--text-3); text-align: center; margin-top: 12px; }

.form-success {
  text-align: center;
  padding: 40px 20px;
}
.success-check { margin-bottom: 20px; }
.form-success h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.form-success p { color: var(--text-2); margin-bottom: 28px; }

/* ---- BLOG ------------------------------------------------ */
.section-blog {
  padding: 120px 0;
  background: var(--bg-2);
}
.blog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 20px;
}
.blog-head h2 {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
}
.blog-head h2 em { color: var(--red); font-style: normal; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-s);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out-expo), border-color 0.3s;
}
.blog-card:hover { transform: translateY(-4px); border-color: rgba(216,59,33,0.2); }
.blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out-expo);
}
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-img-wrap { overflow: hidden; aspect-ratio: 16/9; background: var(--bg-elevated); }
.blog-card-body { padding: 24px; }
.blog-card-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--red); margin-bottom: 10px; }
.blog-card-title { font-size: 17px; font-weight: 700; line-height: 1.4; letter-spacing: -0.3px; margin-bottom: 10px; color: var(--text); }
.blog-card-title a { transition: color 0.2s; }
.blog-card-title a:hover { color: var(--red); }
.blog-card-excerpt { font-size: 13.5px; color: var(--text-2); line-height: 1.6; margin-bottom: 16px; }
.blog-card-meta { font-size: 12px; color: var(--text-3); display: flex; gap: 12px; }

/* Skeleton */
.blog-skeleton { pointer-events: none; }
.bs-img { aspect-ratio: 16/9; background: var(--bg-elevated); animation: skeleton-pulse 1.5s ease-in-out infinite; }
.bs-body { padding: 24px; }
.bs-tag { width: 60px; height: 12px; border-radius: 4px; background: var(--bg-elevated); margin-bottom: 12px; animation: skeleton-pulse 1.5s ease-in-out infinite; }
.bs-title { width: 90%; height: 18px; border-radius: 4px; background: var(--bg-elevated); margin-bottom: 10px; animation: skeleton-pulse 1.5s ease-in-out infinite; animation-delay: 0.1s; }
.bs-line { width: 100%; height: 12px; border-radius: 4px; background: var(--bg-elevated); margin-bottom: 8px; animation: skeleton-pulse 1.5s ease-in-out infinite; animation-delay: 0.2s; }
.bs-line.short { width: 65%; }
@keyframes skeleton-pulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.8; }
}

/* ---- FOOTER ---------------------------------------------- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border-s);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-logo { margin-bottom: 16px; }
.footer-brand p {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 260px;
}
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.social-row a:hover { border-color: var(--red); color: var(--red); background: var(--red-glow-s); }

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { font-size: 14px; color: var(--text-2); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--text); }
.footer-contact address p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: 12px;
}
.footer-contact address svg { flex-shrink: 0; margin-top: 2px; color: var(--text-3); }
.footer-contact a { color: var(--text-2); transition: color 0.2s; }
.footer-contact a:hover { color: var(--red); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-s);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-3);
}
.footer-bottom span { color: var(--red); }

/* ---- WHATSAPP FLOAT -------------------------------------- */
.wpp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s var(--spring), box-shadow 0.25s;
}
.wpp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}
.wpp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.wpp-float:hover .wpp-tooltip { opacity: 1; }

/* Back to top */
.back-top {
  position: fixed;
  bottom: 28px;
  right: 96px;
  z-index: 900;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s var(--ease-out-expo);
}
.back-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top:hover { background: var(--bg-card); color: var(--text); border-color: rgba(255,255,255,0.15); }

/* ---- SCROLL ANIMATIONS ----------------------------------- */
.reveal-fade, .reveal-up, .reveal-right, .reveal-card, .reveal-stat {
  opacity: 0;
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.reveal-fade { transform: translateY(0); }
.reveal-up   { transform: translateY(32px); }
.reveal-right{ transform: translateX(48px); }
.reveal-card { transform: translateY(40px); }
.reveal-stat { transform: translateY(24px); }

.is-visible {
  opacity: 1 !important;
  transform: translate(0) !important;
}

/* ---- RESPONSIVE ------------------------------------------ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--wide { grid-column: span 2; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--border-s); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-track .tcard { min-width: calc(50% - 10px); }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card--wide { grid-column: span 1; flex-direction: column; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-float { display: none; }

  .process-steps { flex-direction: column; }
  .process-arrow { transform: rotate(90deg); align-self: center; }

  .lead-grid { grid-template-columns: 1fr; gap: 40px; }
  .lead-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

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

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

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

  .testimonials-track .tcard { min-width: calc(100% - 0px); }

  .hero-title { font-size: clamp(40px, 11vw, 72px); letter-spacing: -2px; }
  .hero-stats { padding: 16px 20px; gap: 0; }
  .hstat { padding: 4px 16px; }
  .hstat-sep { display: none; }

  .section-head { margin-bottom: 40px; }
  .section-services, .section-about, .section-process, .section-testimonials,
  .section-lead, .section-blog { padding: 72px 0; }
  .section-stats { padding: 64px 0; }

  .footer-bottom { flex-direction: column; text-align: center; }
  .back-top { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; }
  .hero-badge { font-size: 11px; text-align: center; }
}

/* ---- SCROLL PERFORMANCE ---------------------------------- */
/* translateZ(0) em sections cria GPU layers gigantes — removido */

/* ---- FAQ -------------------------------------------------- */
.section-faq { padding: 100px 0; background: var(--bg-2); }
.section-faq .section-head p { color: var(--text-2); font-size: 16px; margin-top: 12px; }
.section-faq .section-head p a { color: var(--red); text-decoration: none; }
.section-faq .section-head p a:hover { text-decoration: underline; }

.faq-list { max-width: 800px; margin: 56px auto 0; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item:hover { border-color: rgba(204,26,26,0.25); }
.faq-item[open] { border-color: rgba(204,26,26,0.35); }

.faq-item summary {
  list-style: none;
  padding: 22px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text);
  transition: color 0.2s;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--red);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.3s var(--ease-out-expo);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--red); }

.faq-answer {
  padding: 0 24px 22px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
  animation: faqIn 0.3s var(--ease-out-expo);
}
.faq-answer strong { color: var(--text); }

@keyframes faqIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Map embed */
.lead-map { margin-bottom: 20px; }
.lead-map iframe { filter: grayscale(0.6) invert(0.9) hue-rotate(180deg); }

/* ---- 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;
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Selection */
::selection { background: rgba(216,59,33,0.3); color: var(--text); }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.15); }
