/* ═══════════════════════════════════════════════════════════════
   LBTN Site — Design System Enhancements  (21st.dev-inspired)
   Scroll reveal · Spotlight cards · Animated hero · Counters
   ═══════════════════════════════════════════════════════════════ */

/* ─── Reveal base ──────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  will-change: opacity, transform;
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-up    { transform: translateY(40px); }
.reveal-down  { transform: translateY(-24px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(0.93); }
.reveal-fade  { transform: none; }

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

/* stagger grid children */
.reveal-stagger > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.09s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.18s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.27s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.36s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.44s; }
.reveal-stagger > *:nth-child(n+7) { transition-delay: 0.50s; }

.delay-1 { transition-delay: 0.10s !important; }
.delay-2 { transition-delay: 0.20s !important; }
.delay-3 { transition-delay: 0.30s !important; }
.delay-4 { transition-delay: 0.40s !important; }

/* ═══════════════════════════════════════════════════════════════
   HERO — Animated background mesh + floating orbs
   ═══════════════════════════════════════════════════════════════ */

/* Animated floating orbs injected by JS as .hero-orb */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0;
  pointer-events: none;
  animation: orbFloat 12s ease-in-out infinite alternate;
}
.hero-orb.orb-teal {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(29,88,88,0.45) 0%, transparent 70%);
  top: -10%; right: -5%;
  animation-duration: 14s;
  animation-delay: 0s;
  opacity: 0;
  animation-fill-mode: forwards;
}
.hero-orb.orb-orange {
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(245,134,52,0.18) 0%, transparent 70%);
  bottom: 5%; left: -5%;
  animation-duration: 18s;
  animation-delay: 1.5s;
  opacity: 0;
  animation-fill-mode: forwards;
}
.hero-orb.orb-navy {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,189,66,0.1) 0%, transparent 70%);
  top: 50%; left: 30%;
  animation-duration: 22s;
  animation-delay: 3s;
  opacity: 0;
  animation-fill-mode: forwards;
}

@keyframes orbFloat {
  0%   { transform: translate(0, 0) scale(1);     opacity: 0.9; }
  33%  { transform: translate(30px, -20px) scale(1.06); }
  66%  { transform: translate(-20px, 15px) scale(0.96); }
  100% { transform: translate(15px, -10px) scale(1.03); opacity: 0.7; }
}

/* Fade-in orbs on load */
@keyframes orbAppear {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.hero-orb { animation: orbAppear 2s ease forwards, orbFloat 14s 2s ease-in-out infinite alternate; }
.hero-orb.orb-orange { animation: orbAppear 2s 0.5s ease forwards, orbFloat 18s 2.5s ease-in-out infinite alternate; }
.hero-orb.orb-navy   { animation: orbAppear 2s 1s ease forwards, orbFloat 22s 3s ease-in-out infinite alternate; }

/* Dot-grid overlay on hero */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* Gradient text on hero h1 em */
.hero h1 em,
.hero-title-accent {
  background: linear-gradient(135deg, var(--orange, #F58634) 0%, #FFBD42 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
}

/* Hero card — glow border */
.hero-card {
  position: relative;
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 20px;
  backdrop-filter: blur(16px) !important;
  box-shadow:
    0 0 0 1px rgba(245,134,52,0.08),
    0 24px 64px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.08) !important;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.hero-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  background: linear-gradient(135deg,
    rgba(245,134,52,0.25) 0%,
    rgba(29,88,88,0.15) 50%,
    transparent 100%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}
.hero-card:hover { transform: translateY(-4px); }
.hero-card:hover::before { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════
   CARDS — Spotlight mouse-follow glow effect
   ═══════════════════════════════════════════════════════════════ */

.mvv-card,
.pilar-card,
.step-card,
.participe-card,
.team-card,
.platform-card,
.resource-card,
.eco-card,
.livro-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* Spotlight pseudo-element — position driven by JS via CSS vars */
.mvv-card::after,
.pilar-card::after,
.step-card::after,
.participe-card::after,
.platform-card::after,
.eco-card::after,
.livro-card::after {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  background: radial-gradient(
    circle closest-side,
    rgba(245,134,52,0.10) 0%,
    transparent 100%
  );
  left: var(--spotlight-x, -9999px);
  top:  var(--spotlight-y, -9999px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: var(--spotlight-opacity, 0);
  transition: opacity 0.22s ease;
  border-radius: 50%;
  z-index: 0;
}
/* White spotlight for dark section cards */
.pilar-card::after {
  background: radial-gradient(
    circle closest-side,
    rgba(255,255,255,0.08) 0%,
    transparent 100%
  );
  width: 280px; height: 280px;
}

/* Card lift hovers */
.mvv-card:hover,
.eco-card:hover,
.resource-card:hover,
.livro-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 52px rgba(0,0,0,0.12) !important;
}
.participe-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.15) !important;
}
.team-card:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: 0 16px 44px rgba(0,0,0,0.13) !important;
}
.platform-card:hover,
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 44px rgba(0,0,0,0.11) !important;
}
.pilar-card:hover {
  background: rgba(255,255,255,0.1) !important;
  transform: translateY(-5px);
  box-shadow: 0 20px 52px rgba(0,0,0,0.25) !important;
}

/* ═══════════════════════════════════════════════════════════════
   STATS — Animated counter
   ═══════════════════════════════════════════════════════════════ */

.hero-stat-num,
[data-counter] {
  font-variant-numeric: tabular-nums;
  transition: transform 0.2s ease;
}

/* Subtle scale pulse when counting finishes */
@keyframes counterPop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}
.counter-done {
  animation: counterPop 0.35s ease;
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR — Enhanced glassmorphism + hamburger → X
   ═══════════════════════════════════════════════════════════════ */

.navbar {
  background: rgba(14, 28, 36, 0.82) !important;
  backdrop-filter: blur(20px) saturate(1.4) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.4) !important;
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  transition: background 0.3s ease, box-shadow 0.3s ease !important;
}
.navbar.scrolled {
  background: rgba(14, 28, 36, 0.96) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 24px rgba(0,0,0,0.4) !important;
}

/* Nav link underline slide */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--orange, #F58634);
  border-radius: 2px;
  transition: width 0.22s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-dropdown > a::after { display: none !important; }

/* Dropdown smooth reveal */
.nav-dropdown-menu {
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  display: block !important;        /* override inline display:none */
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
  transform-origin: top left;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Hamburger → X animation */
.nav-hamburger span {
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
  position: relative;
}
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu slide */
.nav-mobile {
  transform-origin: top right;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.22,1,0.36,1) !important;
}
.nav-mobile.lbtn-hidden {
  opacity: 0 !important;
  transform: scale(0.95) translateY(-10px) !important;
  pointer-events: none !important;
}

/* Stage 1 fixes: consistent mobile nav, overflow guard, and WhatsApp position */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.hero::before {
  background: linear-gradient(
    90deg,
    rgba(5, 14, 20, 0.94) 0%,
    rgba(7, 19, 27, 0.86) 44%,
    rgba(10, 22, 30, 0.62) 100%
  ) !important;
}

.hero-content,
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero .hero-eyebrow,
.hero .hero-lead {
  color: rgba(255,255,255,0.88) !important;
  text-shadow: 0 2px 18px rgba(0,0,0,0.42);
}

.hero .btn-outline,
.hero .btn-outline-white {
  background: rgba(255,255,255,0.10) !important;
  border-color: rgba(255,255,255,0.72) !important;
  color: #fff !important;
}

.hero .btn-outline:hover,
.hero .btn-outline-white:hover {
  background: rgba(255,255,255,0.18) !important;
  border-color: #fff !important;
}

.goog-te-banner-frame.skiptranslate,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-aZ2wEe {
  display: none !important;
  visibility: hidden !important;
}

body {
  top: 0 !important;
}

.nav-hamburger {
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
}

.lbtn-mobile-panel {
  display: none;
}

body.lbtn-mobile-nav-open {
  overflow: hidden;
}

.lbtn-form-note {
  margin-top: 1rem !important;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: rgba(29,88,88,0.08);
  color: #24515a !important;
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto !important;
    padding: 108px 0 72px !important;
    background-position: center top !important;
  }

  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(5, 14, 20, 0.96) 0%,
      rgba(7, 19, 27, 0.90) 55%,
      rgba(10, 22, 30, 0.80) 100%
    ) !important;
  }

  .hero h1,
  .hero-lead,
  .hero-eyebrow {
    max-width: 100% !important;
  }

  .navbar .nav-inner {
    position: relative;
    min-width: 0;
  }

  .navbar .nav-logo,
  .navbar .navbar-logo {
    min-width: 0;
    flex: 1 1 auto;
  }

  .navbar .logo-img {
    max-width: min(210px, 62vw);
    height: auto;
    max-height: 52px;
  }

  .navbar .nav-links,
  .navbar .nav-cta,
  .navbar .lang-switcher {
    display: none !important;
  }

  .navbar .nav-hamburger {
    display: flex !important;
    flex: 0 0 44px;
    margin-left: auto;
  }

  .lbtn-mobile-panel {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    padding: 1rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
    background: rgba(14, 28, 36, 0.99);
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 50px rgba(0,0,0,0.32);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .lbtn-mobile-panel.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
  }

  .lbtn-mobile-panel a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.72rem 0.25rem;
    color: rgba(255,255,255,0.82) !important;
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }

  .lbtn-mobile-panel a.active {
    color: var(--orange, #F58634) !important;
  }

  .lbtn-mobile-panel a.lbtn-mobile-cta {
    justify-content: center;
    margin-top: 0.8rem;
    padding: 0.85rem 1rem !important;
    color: #fff !important;
    background: var(--orange, #F58634) !important;
    border: 0 !important;
    border-radius: 999px !important;
  }

  .lbtn-mobile-langs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
    margin-top: 0.85rem;
  }

  .lbtn-mobile-langs .lang-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 40px;
    padding: 0.55rem 0.5rem !important;
    border-radius: 999px !important;
    color: rgba(255,255,255,0.88) !important;
    border-color: rgba(255,255,255,0.24) !important;
    background: rgba(255,255,255,0.06) !important;
  }

  .hero,
  .page-hero,
  .page-header,
  section,
  .container,
  .nav-inner,
  .blog-card,
  .featured-post,
  .form-card,
  .info-card,
  .donation-card,
  .impact-card,
  .support-card,
  .book-card {
    max-width: 100%;
  }

  img,
  video,
  iframe {
    max-width: 100%;
  }

  .hero-stats,
  .metrics-grid,
  .stats-grid,
  .impact-grid,
  .donation-grid,
  .support-grid,
  .form-row,
  .form-wrap,
  .form-main,
  .form-sidebar,
  .form-section,
  .field-row,
  .field-group,
  #form-content {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .form-wrap,
  .field-row,
  [style*="grid-template-columns:320px 1fr"],
  [style*="grid-template-columns: 320px 1fr"],
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr auto"],
  [style*="grid-template-columns: 1fr auto"],
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  .radio-group {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }

  .radio-item,
  .checkbox-item {
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .radio-item span,
  .checkbox-item span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .form-main,
  .form-card {
    width: 100% !important;
    padding-left: min(1.5rem, 5vw) !important;
    padding-right: min(1.5rem, 5vw) !important;
  }

  .btn,
  button,
  input,
  select,
  textarea,
  [style*="font-family:monospace"],
  [style*="font-family: monospace"] {
    max-width: 100% !important;
    overflow-wrap: anywhere;
  }

  .btn {
    white-space: normal !important;
    text-align: center;
  }

  .hero-stat-num,
  .metric-num,
  .stat-number {
    overflow-wrap: anywhere;
  }

  .wa-float {
    right: 14px !important;
    bottom: calc(14px + env(safe-area-inset-bottom)) !important;
    gap: 0 !important;
  }

  .wa-bubble {
    display: none !important;
  }

  .wa-btn {
    width: 50px !important;
    height: 50px !important;
    box-shadow: 0 4px 18px rgba(37,211,102,0.38) !important;
  }

  .wa-btn svg {
    width: 26px !important;
    height: 26px !important;
  }

body.lbtn-has-form-surface .wa-float {
  display: none !important;
}
}

.lbtn-form-privacy,
.lbtn-form-note {
  margin: 1rem 0 0;
  color: var(--text-muted, #5a6472);
  font-size: 0.84rem;
  line-height: 1.55;
}

.lbtn-form-privacy {
  border-top: 1px solid var(--border, #e6e8eb);
  padding-top: 1rem;
}

/* ═══════════════════════════════════════════════════════════════
   MISC POLISH
   ═══════════════════════════════════════════════════════════════ */

/* Team bio link */
.team-bio-link {
  display: inline-block;
  transition: transform 0.18s ease, color 0.18s ease !important;
}
.team-bio-link:hover { transform: translateX(4px); }

/* Buttons */
.btn {
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.2s cubic-bezier(0.22,1,0.36,1),
    box-shadow 0.2s ease !important;
}
.btn:active { transform: scale(0.97) translateY(1px) !important; }

/* Footer links */
.footer a {
  transition: color 0.15s ease, opacity 0.15s ease;
}
.footer a:hover { opacity: 0.8; }

/* Shimmer on orange top-border cards — only on hover */
.mvv-card::before {
  background: linear-gradient(90deg, var(--orange, #F58634), #FFBD42, var(--orange, #F58634)) !important;
  background-size: 200% 100% !important;
  animation: none;
}
.mvv-card:hover::before {
  animation: shimmerBorder 0.6s ease 1 forwards;
}
@keyframes shimmerBorder {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ─── Reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-up, .reveal-down, .reveal-left,
  .reveal-right, .reveal-scale, .reveal-fade {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .hero-orb, .hero-grid-overlay { display: none !important; }
  .mvv-card, .pilar-card, .step-card, .participe-card,
  .team-card, .platform-card, .resource-card, .eco-card,
  .livro-card, .btn { transition: none !important; }
  @keyframes orbFloat  { to {} }
  @keyframes orbAppear { to {} }
  @keyframes shimmerBorder { to {} }
  @keyframes counterPop    { to {} }
}

/* ═══════════════════════════════════════════════════════════════
   IMAGE FRAMING SAFEGUARDS
   Keep editorial thumbnails and covers from cropping key content.
   ═══════════════════════════════════════════════════════════════ */
.blog-card-img,
.featured-post-img img,
.img-preview {
  object-fit: contain !important;
  object-position: center center !important;
  background: #f3f5f2 !important;
}

.featured-post-img,
.blog-card-img-placeholder {
  background: #f3f5f2 !important;
}

.team-photo-wrap img {
  object-fit: contain !important;
  object-position: center center !important;
  background: #fff !important;
  padding: 0.25rem;
}

.bio-photo {
  object-position: center 20% !important;
}

/* ═══════════════════════════════════════════════════════════════
   MELHORIAS v2 — Page load · Ripple · Parallax · Tilt · Pulse · Progress
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. Page fade-in on load ─────────────────────────────────── */
@keyframes pageAppear {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
body {
  animation: pageAppear 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ── 2. Button ripple ────────────────────────────────────────── */
.btn {
  position: relative;
  overflow: hidden;
}
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.30);
  transform: scale(0);
  animation: rippleAnim 0.55s ease-out forwards;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* ── 3. Card 3D tilt ─────────────────────────────────────────── */
.mvv-card,
.pilar-card,
.step-card,
.participe-card,
.platform-card,
.eco-card,
.livro-card,
.team-card {
  transform-style: preserve-3d;
  perspective: 800px;
  will-change: transform;
  transition:
    transform 0.30s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.30s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* ── 4. WhatsApp pulse ───────────────────────────────────────── */
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(37,211,102,0.38), 0 0 0 0 rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 4px 24px rgba(37,211,102,0.50), 0 0 0 10px rgba(37,211,102,0); }
}
.wa-btn {
  animation: waPulse 2.8s ease-in-out infinite;
}

/* ── 5. Scroll progress bar ──────────────────────────────────── */
#lbtn-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--orange, #F58634), #FFBD42);
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ── 6. Image reveal with clip-path ─────────────────────────── */
.reveal-clip {
  clip-path: inset(100% 0 0 0);
  opacity: 1 !important;
  transform: none !important;
  transition: clip-path 0.75s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.reveal-clip.is-visible {
  clip-path: inset(0% 0 0 0) !important;
}

/* ── 7. Nav link underline slide ─────────────────────────────── */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--orange, #F58634);
  transition: width 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 2px;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* ── 8. Hero image parallax container ────────────────────────── */
.hero-bg-parallax {
  transition: transform 0.05s linear;
  will-change: transform;
}

/* ── Reduced motion guard ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  body { animation: none !important; }
  .btn-ripple { display: none !important; }
  .wa-btn { animation: none !important; }
  #lbtn-progress { display: none !important; }
  .reveal-clip { clip-path: none !important; transition: none !important; }
  .nav-links a::after { transition: none !important; }
}

/* ── h3 tipografia — tracking mais apertado ──────────────────── */
h3 {
  letter-spacing: -0.01em;
}

/* ── View Transitions API — transição suave entre páginas ──────── */
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: 0.18s ease-out both fade-out-vt;
}
::view-transition-new(root) {
  animation: 0.22s ease-in both fade-in-vt;
}
@keyframes fade-out-vt {
  to { opacity: 0; transform: translateY(-4px); }
}
@keyframes fade-in-vt {
  from { opacity: 0; transform: translateY(4px); }
}

/* ── Form submit spinner ─────────────────────────────────────── */
@keyframes lbtn-spin {
  to { transform: rotate(360deg); }
}
