/* ============================================
   SCALE STACK™ — Design System
   Dark + Futuristic | Agência Rei
   ============================================ */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Backgrounds */
  --bg-base: #07080F;
  --bg-elevated: #0E1019;
  --bg-card: rgba(255, 255, 255, 0.025);
  --bg-card-hover: rgba(255, 255, 255, 0.045);
  --bg-glass: rgba(14, 16, 25, 0.65);

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-mid: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(255, 184, 0, 0.35);
  --border-violet: rgba(124, 58, 237, 0.35);

  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: #B0B4C5;
  --text-muted: #6B7088;
  --text-faded: #4A4E63;

  /* Brand */
  --gold: #FFB800;
  --gold-light: #FFD24D;
  --gold-dark: #FF8A00;
  --amber: #FF8A00;

  /* Futuristic accents */
  --violet: #7C3AED;
  --violet-light: #A78BFA;
  --cyan: #06B6D4;
  --cyan-light: #67E8F9;
  --magenta: #EC4899;

  /* Semantic */
  --success: #10B981;
  --danger: #EF4444;

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #FFD24D 0%, #FF8A00 100%);
  --gradient-futuristic: linear-gradient(135deg, #7C3AED 0%, #06B6D4 100%);
  --gradient-text: linear-gradient(135deg, #FFD24D 0%, #FF8A00 50%, #FF6A00 100%);
  --gradient-card: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  --gradient-border: linear-gradient(135deg, rgba(255,184,0,0.4), rgba(124,58,237,0.3), rgba(6,182,212,0.3));

  /* Shadows / Glow */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.5);
  --glow-gold: 0 0 40px rgba(255, 184, 0, 0.35), 0 0 80px rgba(255, 138, 0, 0.15);
  --glow-violet: 0 0 60px rgba(124, 58, 237, 0.35);
  --glow-cyan: 0 0 60px rgba(6, 182, 212, 0.3);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Type */
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Container */
  --container-max: 1240px;
  --container-pad: clamp(1rem, 4vw, 2rem);

  /* Transitions */
  --t-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
ul { list-style: none; }
input, select, textarea { font: inherit; color: inherit; background: none; border: 0; outline: 0; }

::selection { background: var(--gold); color: var(--bg-base); }

/* ---------- BACKGROUND DECOR ---------- */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Constelação animada (grafo amarelo que reage ao mouse) */
.bg-graph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.bg-grid {
  position: absolute;
  inset: -50% -50%;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  animation: grid-drift 60s linear infinite;
}

@keyframes grid-drift {
  to { transform: translate(64px, 64px); }
}

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.7'/></svg>");
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: orb-float 22s ease-in-out infinite;
  will-change: transform;
}

.bg-orb--gold {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,184,0,0.4), transparent 70%);
  top: -150px; left: -150px;
}

.bg-orb--violet {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.35), transparent 70%);
  top: 40%; right: -200px;
  animation-delay: -7s;
}

.bg-orb--cyan {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(6,182,212,0.3), transparent 70%);
  bottom: -150px; left: 40%;
  animation-delay: -14s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(40px, -30px); }
  66% { transform: translate(-30px, 50px); }
}

/* ---------- LAYOUT PRIMITIVES ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
  padding: clamp(4rem, 9vw, var(--space-3xl)) 0;
  z-index: 1;
}

.section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(2.5rem, 6vw, 5rem);
}

.section-cta {
  text-align: center;
  margin-top: clamp(2rem, 5vw, 4rem);
}

/* ---------- TYPOGRAPHY ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: lowercase;
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 184, 0, 0.08);
  border: 1px solid rgba(255, 184, 0, 0.18);
  border-radius: var(--radius-pill);
}

.hero-title,
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text-primary);
}

.hero-title {
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 4.2vw, 3.1rem);
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin-inline: auto;
  line-height: 1.6;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.text-strike {
  position: relative;
  color: var(--text-muted);
}
.text-strike::after {
  content: '';
  position: absolute;
  left: -2%; right: -2%;
  top: 55%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: rotate(-2deg);
}

.text-muted-strike {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(255,184,0,0.5);
}

.highlight {
  color: var(--gold-light);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-pill);
  transition: transform var(--t-base), box-shadow var(--t-base), background var(--t-base), border-color var(--t-base);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
}

.btn-lg {
  font-size: 1rem;
  padding: 1.05rem 1.85rem;
}

.btn-sm {
  font-size: 0.85rem;
  padding: 0.6rem 1.15rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--gradient-gold);
  color: #0A0A0A;
  box-shadow: 0 8px 28px -8px rgba(255, 184, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.6), rgba(255,255,255,0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -8px rgba(255, 184, 0, 0.65), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-mid);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--t-base), backdrop-filter var(--t-base), border-color var(--t-base);
  padding: 1rem 0;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom-color: var(--border-subtle);
  padding: 0.65rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.logo sup {
  font-size: 0.5em;
  margin-left: 1px;
  vertical-align: super;
  color: var(--gold);
}

.logo-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 8px rgba(255, 184, 0, 0.45));
}

.logo:hover .logo-mark {
  animation: spin 0.6s ease-out;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.nav-desktop {
  display: flex;
  gap: 0.5rem;
  padding: 0.4rem 0.5rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  transition: color var(--t-fast), background var(--t-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 184, 0, 0.12);
}

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

.btn-header-cta {
  /* slightly more compact in header */
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.03);
  position: relative;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text-primary);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all var(--t-base);
}
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 20px; }
.menu-toggle span:nth-child(3) { top: 26px; }
.menu-toggle.open span:nth-child(1) { top: 20px; transform: translateX(-50%) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { top: 20px; transform: translateX(-50%) rotate(-45deg); }

.nav-mobile {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem var(--container-pad);
  display: none;
  flex-direction: column;
  gap: 0.4rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link {
  padding: 0.85rem 1rem;
  font-size: 1rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-subtle);
}
.nav-mobile .btn { margin-top: 0.5rem; }

/* ---------- HERO ---------- */
.hero {
  padding-top: clamp(8rem, 18vw, 12rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  position: relative;
  overflow: hidden;
}

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

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1.05fr 1fr;
    align-items: stretch;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
  }

  .hero-visual {
    justify-content: center;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.95rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(255, 184, 0, 0.55);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 184, 0, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(255, 184, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 184, 0, 0); }
}

.word-rotate {
  display: inline-grid;
  grid-template-areas: 'stack';
  vertical-align: baseline;
  min-width: 8ch;
}
.word-rotate .word {
  grid-area: stack;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  text-align: left;
  white-space: nowrap;
}
.word-rotate .word.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.55vw, 1.22rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 2.25rem;
}

.hero-subtitle strong { color: var(--text-primary); font-weight: 600; }
.hero-subtitle em { color: var(--gold-light); font-style: normal; font-weight: 600; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2.5vw, 2rem);
  flex-wrap: wrap;
  width: 100%;
  padding: 1.25rem 1.4rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--border-mid), transparent);
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* Hero visual */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 600px;
  justify-self: center;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-visual-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 5/4;
}

.hero-card-glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(ellipse at center,
    rgba(255, 184, 0, 0.35) 0%,
    rgba(124, 58, 237, 0.18) 40%,
    transparent 70%);
  filter: blur(60px);
  z-index: -1;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.hero-dashboard {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-mid);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.06);
  transform: perspective(1200px) rotateX(2deg) rotateY(-4deg);
  transition: transform var(--t-slow);
}

.hero-dashboard:hover {
  transform: perspective(1200px) rotateX(0) rotateY(0);
}

.hero-dashboard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-dashboard-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,184,0,0.08), transparent 40%),
    linear-gradient(225deg, rgba(124,58,237,0.18), transparent 50%);
  pointer-events: none;
  z-index: 2;
}

/* ---------- HERO CARROUSEL ---------- */
.carousel-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  will-change: opacity;
}

.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(7, 8, 15, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  z-index: 3;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: width var(--t-base), background var(--t-base), box-shadow var(--t-base);
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.carousel-dot.is-active {
  width: 22px;
  border-radius: var(--radius-pill);
  background: var(--gradient-gold);
  box-shadow: 0 0 12px rgba(255, 184, 0, 0.6);
}

/* ---------- HERO CREDIT (Um produto: @...) ---------- */
.hero-credit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.55rem;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: fit-content;
  align-self: center;
  margin: 0;
}

.hero-credit-label {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.hero-credit-handle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--t-fast), transform var(--t-fast);
}

.hero-credit-handle:hover {
  color: var(--gold-light);
  transform: translateY(-1px);
}

.hero-credit-icon {
  color: var(--text-secondary);
  transition: color var(--t-fast);
}

.hero-credit-handle:hover .hero-credit-icon {
  color: var(--gold);
}

.hero-credit-verified {
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(29, 155, 240, 0.45));
}

.hero-credit-sep {
  color: var(--text-faded);
  opacity: 0.6;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow-md);
  animation: float 6s ease-in-out infinite;
}

.float-card--1 {
  top: 12%;
  left: -8%;
  animation-delay: -2s;
}

.float-card--2 {
  bottom: 12%;
  right: -8%;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float-card-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: rgba(255, 184, 0, 0.15);
  color: var(--gold);
  flex-shrink: 0;
}
.float-card-icon.icon-violet {
  background: rgba(124, 58, 237, 0.2);
  color: var(--violet-light);
}

.float-card-title {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}
.float-card-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ---------- PROBLEMA ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
  max-width: 1080px;
  margin: 0 auto;
}

.problem-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--t-base), background var(--t-base), border-color var(--t-base);
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(239,68,68,0.05));
  opacity: 0;
  transition: opacity var(--t-base);
  pointer-events: none;
}

.problem-card:hover {
  transform: translateY(-3px);
  border-color: rgba(239, 68, 68, 0.35);
}
.problem-card:hover::before { opacity: 1; }

.problem-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.4;
}
.problem-card p strong {
  color: var(--text-primary);
  font-weight: 600;
}

.problem-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: rgba(239, 68, 68, 0.1);
  color: #FCA5A5;
  flex-shrink: 0;
  border: 1px solid rgba(239, 68, 68, 0.18);
}

.problem-card--wide {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(239,68,68,0.06), rgba(255,184,0,0.04));
  border-color: rgba(239, 68, 68, 0.18);
}

.problem-icon--alert {
  background: rgba(255, 184, 0, 0.12);
  color: var(--gold);
  border-color: rgba(255, 184, 0, 0.25);
}

/* ---------- SOLUÇÃO ---------- */
.solucao-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

@media (min-width: 1100px) {
  .solucao-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }
}

.solucao-card {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--t-base), border-color var(--t-base), background var(--t-base);
  overflow: hidden;
}

.solucao-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-border);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--t-base);
  pointer-events: none;
}

.solucao-card:hover { transform: translateY(-4px); }
.solucao-card:hover::before { opacity: 1; }

.solucao-num {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.solucao-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  line-height: 1.25;
  color: var(--text-primary);
}

.solucao-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

.solucao-card--feature {
  background: linear-gradient(135deg, rgba(255,184,0,0.08), rgba(124,58,237,0.06));
  border-color: rgba(255,184,0,0.22);
}
.solucao-card--feature .solucao-num {
  font-size: 1.8rem;
  font-weight: 700;
}
.solucao-card--feature h3 { font-size: 1.4rem; }

/* ---------- DIFERENCIAÇÃO ---------- */
.section-diferenciacao { padding-top: 0; }

.diferenciacao-wrap {
  background:
    radial-gradient(ellipse at top left, rgba(255,184,0,0.06), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(124,58,237,0.06), transparent 50%),
    var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}

.diferenciacao-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-border);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
}

.diferenciacao-head { text-align: center; margin-bottom: 3rem; }

.objections {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 760px;
  margin: 0 auto;
}

.objection {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  position: relative;
}

.objection-q,
.objection-a {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 1rem;
  line-height: 1.45;
}

.objection-q { margin-right: clamp(0px, 8vw, 80px); color: var(--text-secondary); }
.objection-a {
  margin-left: clamp(0px, 8vw, 80px);
  border-color: rgba(255, 184, 0, 0.25);
  background: linear-gradient(135deg, rgba(255,184,0,0.06), rgba(255,255,255,0.02));
}
.objection-a strong { color: var(--gold-light); font-weight: 600; }

.objection-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 0.2rem 0.5rem;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 0.05rem;
}
.objection-tag--us {
  color: var(--gold);
  background: rgba(255,184,0,0.1);
}

/* ---------- PARA QUEM ---------- */
.para-quem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .para-quem-grid { grid-template-columns: 1fr 1fr; }
}

.para-quem-head .eyebrow,
.para-quem-head .section-title,
.para-quem-head .section-subtitle { margin-inline: 0; text-align: left; }
.para-quem-head .section-title { text-align: left; }
.para-quem-head .section-subtitle { margin-bottom: 2rem; }
.para-quem-head .btn { margin-top: 0.5rem; }

.para-quem-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.para-quem-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 1rem;
  color: var(--text-secondary);
  transition: transform var(--t-base), border-color var(--t-base), background var(--t-base);
}
.para-quem-item:hover {
  transform: translateX(6px);
  border-color: var(--gold);
  background: rgba(255,184,0,0.04);
}
.para-quem-item strong { color: var(--text-primary); font-weight: 600; }

.check-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gradient-gold);
  color: #0A0A0A;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
}

/* ---------- ICEBERG ANIM ---------- */
.iceberg-anim {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: clamp(1rem, 3vw, 2rem) auto clamp(2.5rem, 5vw, 4rem);
  aspect-ratio: 400 / 560;
}

.iceberg-anim svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 0 16px rgba(255, 138, 0, 0.18));
}

.iceberg-anim path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Animated lines: start hidden via dashoffset = length (set by JS) */
.iceberg-tip,
.iceberg-base,
.iceberg-water,
.iceberg-facet {
  stroke-dasharray: var(--len, 1000);
  stroke-dashoffset: var(--len, 1000);
  transition: stroke-dashoffset 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Color/opacity variants */
.iceberg-water {
  stroke: var(--gold-light);
  stroke-width: 1.2;
  opacity: 0.55;
}
.iceberg-water--shadow {
  opacity: 0.25;
}

.iceberg-tip {
  stroke: var(--gold-light);
  stroke-width: 2;
}

.iceberg-facet {
  stroke: var(--gold-dark);
  stroke-width: 1;
  opacity: 0;
  transition: stroke-dashoffset 1s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
}

/* Filled shapes — revealed after strokes finish drawing */
.iceberg-anim .iceberg-fill {
  stroke: none;
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}
.iceberg-anim .iceberg-fill--tip  { fill: url(#icebergTipGrad); }
.iceberg-anim .iceberg-fill--base { fill: url(#icebergBaseGrad); }

/* Glow halo behind underwater mass */
.iceberg-glow {
  opacity: 0;
  transform-origin: 200px 430px;
  transform: scale(0.85);
  transition: opacity 1.2s ease, transform 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Animation sequence (base → topo) === */
.iceberg-anim.is-animating .iceberg-base {
  stroke-dashoffset: 0;
}

.iceberg-anim.is-animating .iceberg-facet--bottom {
  stroke-dashoffset: 0;
  opacity: 0.6;
  transition-delay: 0.7s, 0.7s;
}

.iceberg-anim.is-animating .iceberg-fill--base {
  opacity: 0.55;
  transition-delay: 1.0s;
}

.iceberg-anim.is-animating .iceberg-glow {
  opacity: 1;
  transform: scale(1);
  transition-delay: 1.0s, 1.0s;
}

.iceberg-anim.is-animating .iceberg-water {
  stroke-dashoffset: 0;
  transition-delay: 1.4s;
  transition-duration: 0.9s;
}

.iceberg-anim.is-animating .iceberg-tip {
  stroke-dashoffset: 0;
  transition-delay: 1.9s;
  transition-duration: 1.2s;
}

.iceberg-anim.is-animating .iceberg-fill--tip {
  opacity: 0.7;
  transition-delay: 2.6s;
}

.iceberg-anim.is-animating .iceberg-facet--top {
  stroke-dashoffset: 0;
  opacity: 0.55;
  transition-delay: 2.7s, 2.7s;
}

/* Idle motion — kicks in after the draw sequence finishes */
.iceberg-anim.is-animating .iceberg-body {
  animation: iceberg-float 6s ease-in-out 3.6s infinite alternate;
  transform-origin: 200px 300px;
}

.iceberg-anim.is-animating .iceberg-water-group {
  animation: iceberg-wave 4.2s ease-in-out 2.6s infinite alternate;
}

.iceberg-anim.is-animating .iceberg-glow {
  animation: iceberg-glow-pulse 5s ease-in-out 2.2s infinite alternate;
}

@keyframes iceberg-float {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

@keyframes iceberg-wave {
  0%   { transform: translateX(-5px); }
  100% { transform: translateX(5px); }
}

@keyframes iceberg-glow-pulse {
  0%   { opacity: 0.75; }
  100% { opacity: 1; }
}

/* Side labels (Ponta / Scale Stack) */
.iceberg-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
  transition: opacity 0.6s ease 1.5s;
  white-space: nowrap;
}
.iceberg-label::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 1.6rem;
  height: 1px;
  transform: translateY(-50%) scaleX(0);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1) 1.5s;
}
.iceberg-label--top {
  top: 18%;
  right: -2.5rem;
  color: var(--gold-light);
}
.iceberg-label--top::before {
  right: 100%;
  margin-right: 0.4rem;
  background: linear-gradient(to left, var(--gold-light), transparent);
  transform-origin: right center;
}
.iceberg-label--bottom {
  bottom: 22%;
  left: -3rem;
  color: var(--gold-dark);
}
.iceberg-label--bottom::before {
  left: 100%;
  margin-left: 0.4rem;
  background: linear-gradient(to right, var(--gold-dark), transparent);
  transform-origin: left center;
}
.iceberg-anim.is-animating .iceberg-label { opacity: 0.85; }
.iceberg-anim.is-animating .iceberg-label::before { transform: translateY(-50%) scaleX(1); }
.iceberg-anim.is-animating .iceberg-label--bottom { transition-delay: 1.1s; }
.iceberg-anim.is-animating .iceberg-label--bottom::before { transition-delay: 1.1s; }
.iceberg-anim.is-animating .iceberg-label--top { transition-delay: 2.4s; }
.iceberg-anim.is-animating .iceberg-label--top::before { transition-delay: 2.4s; }

@media (prefers-reduced-motion: reduce) {
  .iceberg-tip,
  .iceberg-base,
  .iceberg-water,
  .iceberg-facet {
    stroke-dashoffset: 0 !important;
    transition: none !important;
  }
  .iceberg-facet { opacity: 0.55; }
  .iceberg-fill--base { opacity: 0.55 !important; }
  .iceberg-fill--tip { opacity: 0.7 !important; }
  .iceberg-glow { opacity: 1 !important; transform: none !important; }
  .iceberg-label { opacity: 0.85; }
  .iceberg-label::before { transform: translateY(-50%) scaleX(1) !important; }
  .iceberg-anim .iceberg-body,
  .iceberg-anim .iceberg-water-group,
  .iceberg-anim .iceberg-glow {
    animation: none !important;
  }
}

@media (max-width: 600px) {
  .iceberg-anim { max-width: 280px; }
  .iceberg-label { font-size: 0.65rem; }
  .iceberg-label--top { right: -1.25rem; }
  .iceberg-label--bottom { left: -1.75rem; }
  .iceberg-label::before { width: 1rem; }
}

/* ---------- STACK ---------- */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.stack-card {
  padding: 2rem 1.75rem;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--t-base), border-color var(--t-base), background var(--t-base), box-shadow var(--t-base);
  position: relative;
  overflow: hidden;
}

.stack-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px -20px rgba(255, 184, 0, 0.25);
}

.stack-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: rgba(255, 184, 0, 0.1);
  color: var(--gold);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 184, 0, 0.2);
  transition: all var(--t-base);
}

.stack-card:hover .stack-card-icon {
  background: var(--gradient-gold);
  color: #0A0A0A;
  border-color: transparent;
  box-shadow: var(--glow-gold);
}

.stack-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.stack-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

.stack-card--featured {
  background: linear-gradient(135deg, rgba(255,184,0,0.12), rgba(124,58,237,0.08));
  border-color: rgba(255,184,0,0.3);
}
.stack-card--featured .stack-card-icon {
  background: var(--gradient-gold);
  color: #0A0A0A;
  border-color: transparent;
  box-shadow: var(--glow-gold);
}

/* ===== Engenharia Rei — 3 pilares em layout triangular (pirâmide) ===== */
@media (min-width: 760px) {
  #engenharia .stack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 900px;
    margin-inline: auto;
    gap: 2rem 1.75rem;
    align-items: start;
  }
  /* Ápice do triângulo: card em destaque no topo, centralizado */
  #engenharia .stack-card--featured {
    grid-column: 1 / -1;
    max-width: 430px;
    justify-self: center;
  }
  /* Selo numérico em cada pilar, reforçando a sequência do triângulo */
  #engenharia .stack-card { padding-top: 2.25rem; }
  #engenharia .stack-card::before {
    counter-increment: pilar;
    content: counter(pilar, decimal-leading-zero);
    position: absolute; top: 1rem; right: 1.25rem;
    font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.05em; color: rgba(255, 184, 0, 0.55);
  }
  #engenharia .stack-grid { counter-reset: pilar; }
}
@media (min-width: 760px) and (max-height: 800px) {
  #engenharia .stack-grid { gap: 1.5rem 1.4rem; }
}

/* ---------- SOBRE ---------- */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .sobre-grid { grid-template-columns: 1.05fr 1fr; }
}

.sobre-content .section-title {
  text-align: left;
  margin-inline: 0;
}

.sobre-text {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 100%;
}
.sobre-text strong { color: var(--text-primary); font-weight: 600; }
.sobre-text em {
  color: var(--gold-light);
  font-weight: 600;
  font-style: normal;
}

.sobre-numbers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.sobre-num-card {
  padding: 1.75rem 1.5rem;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--t-base), border-color var(--t-base);
}

.sobre-num-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.sobre-num-value {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.sobre-num-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.sobre-num-card--featured {
  background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(255,184,0,0.06));
  border-color: rgba(124, 58, 237, 0.25);
}

/* ---------- BASTIDORES & MARQUEE ---------- */
.bastidores-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; width: 100%; margin: 6rem 0 4rem; }
.foto-bastidor-card { padding: 0 !important; overflow: hidden; aspect-ratio: 1/1; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; transition: var(--t-base); }
.foto-bastidor-card:hover { border-color: rgba(255, 188, 66, 0.3); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.foto-bastidor-img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1); filter: none; }
.foto-bastidor-card:hover .foto-bastidor-img { transform: scale(1.06); }

/* ===== Carrossel de bastidores (fotos) — full-bleed, sentido oposto às logos ===== */
.marquee-container.bastidores-marquee {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border: 0;
  padding: 1.5rem 0;
  margin-top: 1.25rem;
  margin-bottom: 1.75rem;
  overflow: hidden;
}
.bastidores-track { display: flex; align-items: center; }
.bastidores-track .foto-bastidor-card {
  flex: 0 0 auto;
  width: clamp(260px, 30vw, 400px);
  aspect-ratio: 4 / 3;
  margin: 0 0.9rem;
  border-radius: 18px;
}
@media (max-width: 700px) {
  .bastidores-track .foto-bastidor-card { width: clamp(220px, 66vw, 300px); margin: 0 0.55rem; }
}

.marquee-container { width: 100%; overflow: hidden; padding: 2rem 0; border-top: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.marquee-content { display: flex; white-space: nowrap; align-items: center; will-change: transform; }
.marquee-logo { height: 180px; width: auto; flex-shrink: 0; margin: 0 4rem; object-fit: contain; transition: var(--t-base); filter: none; }
.marquee-logo:hover { opacity: 0.8; }

@media (max-width: 600px) {
  .bastidores-grid { grid-template-columns: repeat(5, 1fr); gap: 0.4rem; margin: 3rem 0 2.5rem; }
  .marquee-logo { height: 200px; max-width: 600px; margin: 0 3rem; }
}

/* ---------- DIFERENCIAIS ---------- */
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.diferencial-card {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
  overflow: hidden;
}

.diferencial-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--t-base);
}

.diferencial-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px -20px rgba(255, 184, 0, 0.25);
}
.diferencial-card:hover::after { opacity: 1; }

.diferencial-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255,184,0,0.12), rgba(255,184,0,0.04));
  border: 1px solid rgba(255, 184, 0, 0.22);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  transition: all var(--t-base);
}

.diferencial-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(85%) sepia(48%) saturate(820%) hue-rotate(355deg) brightness(102%) contrast(101%);
}

.diferencial-card:hover .diferencial-icon {
  background: var(--gradient-gold);
  border-color: transparent;
  box-shadow: var(--glow-gold);
}
.diferencial-card:hover .diferencial-icon img {
  filter: brightness(0) saturate(100%);
}

.diferencial-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.diferencial-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ---------- CTA FINAL ---------- */
.section-cta-final {
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

.cta-final-card {
  position: relative;
  background:
    radial-gradient(ellipse at top, rgba(255,184,0,0.15), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(124,58,237,0.15), transparent 50%),
    var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 880px;
  margin: 0 auto;
}

.cta-final-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-border);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.cta-final-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(255,184,0,0.35), transparent 60%);
  filter: blur(60px);
  z-index: 0;
}

.cta-final-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-final-content .section-title { margin-bottom: 1rem; }

.cta-final-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.cta-final-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 520px;
  margin: 0 auto 2.5rem;
}
.cta-final-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-align: left;
}
.cta-final-list li strong { color: var(--text-primary); font-weight: 600; }
.cta-final-list .check-mark { width: 26px; height: 26px; }

/* Final CTA action */
.cta-final-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.cta-final-btn {
  min-width: min(320px, 100%);
}

.cta-final-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 460px;
  line-height: 1.5;
}

/* ---------- FOOTER ---------- */
.site-footer {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  border-top: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.4));
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand .logo { margin-bottom: 1.25rem; }
.footer-tag {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 320px;
  margin-bottom: 1.5rem;
}
.footer-tag strong { color: var(--text-primary); font-weight: 600; }
.footer-partners {
  max-height: 72px;
  width: auto;
  opacity: 1;
  filter: none;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col a {
  font-size: 0.94rem;
  color: var(--text-secondary);
  padding: 0.4rem 0;
  transition: color var(--t-fast);
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.footer-legal { color: var(--text-secondary); font-weight: 500; }
.footer-legal:hover { color: var(--gold-light); }

/* ---------- FLOATING CTA (mobile) ---------- */
.cta-floating {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translate(-50%, 200%);
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  background: var(--gradient-gold);
  color: #0A0A0A;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 32px -8px rgba(255, 184, 0, 0.55), inset 0 1px 0 rgba(255,255,255,0.4);
  transition: transform var(--t-base);
}
.cta-floating.visible {
  transform: translate(-50%, 0);
}
.cta-floating:hover {
  transform: translate(-50%, -4px);
}

/* ===== Cookie consent (aviso no rodapé) ===== */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 500;
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 -18px 50px -22px rgba(0, 0, 0, 0.75);
  transform: translateY(110%);
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.cookie-bar.show { transform: translateY(0); }
.cookie-bar-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 0.9rem clamp(1rem, 4vw, 2rem);
  display: flex; align-items: center; gap: 0.85rem 1.25rem; flex-wrap: wrap;
}
.cookie-bar-icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.2rem; line-height: 1;
  background: rgba(255, 184, 0, 0.1); border: 1px solid rgba(255, 184, 0, 0.25);
}
.cookie-bar-text {
  flex: 1 1 320px; min-width: 220px;
  font-size: 0.82rem; line-height: 1.5; color: var(--text-secondary, rgba(255, 255, 255, 0.72));
}
.cookie-bar-text a { color: var(--gold); text-decoration: underline; }
.cookie-bar-actions { display: flex; gap: 0.55rem; flex-shrink: 0; margin-left: auto; }
@media (max-width: 600px) {
  .cookie-bar-actions { width: 100%; margin-left: 0; }
  .cookie-bar-actions .btn { flex: 1 1 auto; }
}
/* Sobe os botões flutuantes enquanto o aviso de cookies está visível */
.wa-float { transition: bottom 0.4s ease; }
body.cookie-visible .wa-float { bottom: calc(26px + var(--cookie-h, 76px)); }
body.cookie-visible .cta-floating.visible { transform: translate(-50%, calc(-1 * var(--cookie-h, 76px))); }

/* ---------- GLASS CARD (alias compartilhado) ---------- */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gradient-border);
  opacity: 0.45;
  pointer-events: none;
}

/* ---------- BTN OUTLINE ---------- */
.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-pill);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ---------- ANIMATIONS / REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1023px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .btn-header-cta span { display: none; }
  .btn-header-cta {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
  }
  .btn-header-cta svg { width: 18px; height: 18px; }
}

@media (max-width: 768px) {
  .float-card--1 { left: 0; top: 5%; }
  .float-card--2 { right: 0; bottom: 5%; }
  .hero-visual { max-width: 480px; }
  .hero-visual-frame { aspect-ratio: 4/3; }
  .stat-divider { display: none; }
  .hero-stats {
    width: 100%;
    justify-content: space-between;
    gap: 1rem;
  }
  .objection-q, .objection-a { margin: 0; }
  .sobre-numbers { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .hero { padding-top: 7rem; }
  .float-card { padding: 0.65rem 0.85rem; }
  .float-card-icon { width: 32px; height: 32px; }
  .float-card-value { font-size: 0.85rem; }
  .hero-actions .btn { width: 100%; }
  .objection-q, .objection-a { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

/* ---------- OPT-IN POPUP ---------- */
.optin-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 0.75rem;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  z-index: 1000; overflow: hidden;
}
.optin-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 0.3s ease, visibility 0s linear 0s; }
body.optin-locked { overflow: hidden; }

.optin-modal {
  position: relative; width: 100%; max-width: 440px; padding: 1.5rem 1.5rem 1.25rem;
  background: rgba(20, 20, 20, 0.94); border: 1px solid rgba(255, 188, 66, 0.3);
  border-radius: 18px;
  box-shadow:
      0 20px 60px rgba(0, 0, 0, 0.6),
      0 0 40px rgba(255, 188, 66, 0.22),
      0 0 0 1px rgba(255, 188, 66, 0.08);
  text-align: center; transform: translateY(20px) scale(0.97); transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  max-height: calc(100vh - 1.5rem); overflow: hidden;
}
.optin-overlay.is-open .optin-modal { transform: translateY(0) scale(1); }

.optin-close {
  position: absolute; top: 0.65rem; right: 0.65rem; width: 30px; height: 30px;
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 50%;
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease; padding: 0;
}
.optin-close svg { width: 16px; height: 16px; }
.optin-close:hover { background: rgba(255, 188, 66, 0.15); border-color: var(--border-light); color: var(--text-base); transform: rotate(90deg); }

.optin-logo { height: 38px; width: auto; max-width: 150px; object-fit: contain; margin: 0 auto 0.6rem; display: block; filter: brightness(0) invert(1); }
.optin-title { font-family: var(--font-sans); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.02em; color: #fff; margin: 0 0 0.25rem; text-transform: uppercase; }
.optin-subtitle { font-size: 0.78rem; color: rgba(255, 255, 255, 0.65); margin: 0 0 0.9rem; }

.optin-form { display: flex; flex-direction: column; gap: 0.5rem; text-align: left; }
.optin-field { position: relative; }

.optin-form input,
.optin-form select {
  width: 100%; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 188, 66, 0.35);
  border-radius: 9px; padding: 0.62rem 0.9rem; color: #fff; font-family: var(--font-sans); font-size: 0.85rem;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none; appearance: none; min-height: 0;
}
.optin-form input::placeholder { color: rgba(255, 255, 255, 0.45); }
.optin-form input:focus,
.optin-form select:focus { outline: none; border-color: #ffbc42; background: rgba(255, 188, 66, 0.06); box-shadow: 0 0 0 3px rgba(255, 188, 66, 0.12); }
.optin-form input:invalid:not(:placeholder-shown) { border-color: rgba(255, 80, 80, 0.6); }

.optin-form select { color: rgba(255, 255, 255, 0.45); cursor: pointer; padding-right: 2.2rem; }
.optin-form select:valid { color: #fff; }
.optin-select::after {
  content: ''; position: absolute; right: 0.95rem; top: 50%; width: 7px; height: 7px;
  border-right: 2px solid #ffbc42; border-bottom: 2px solid #ffbc42;
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.optin-form select option { background: #1a1a1a; color: #fff; }

.optin-phone { display: flex; align-items: stretch; gap: 0.4rem; }
.optin-phone-prefix {
  display: inline-flex; align-items: center; gap: 0.35rem; padding: 0 0.7rem;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 188, 66, 0.35);
  border-radius: 9px; color: #fff; font-size: 0.85rem; white-space: nowrap;
}
.optin-flag { font-size: 1rem; line-height: 1; }
.optin-phone input { flex: 1; }

.optin-submit {
  margin-top: 0.35rem; padding: 0.75rem; font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(255, 188, 66, 0.3), 0 0 30px rgba(255, 188, 66, 0.18);
}
.optin-submit:hover { box-shadow: 0 6px 22px rgba(255, 188, 66, 0.4), 0 0 40px rgba(255, 188, 66, 0.25); }

.optin-disclaimer { font-size: 0.68rem; color: rgba(255, 255, 255, 0.55); text-align: center; margin: 0.6rem 0 0; line-height: 1.4; }

/* Consentimento (LGPD) */
.optin-consent { display: flex; align-items: flex-start; gap: 0.5rem; margin: 0.4rem 0 0; text-align: left; cursor: pointer; }
.optin-form .optin-consent input[type="checkbox"] {
  width: 16px; height: 16px; min-width: 16px; margin: 2px 0 0; padding: 0;
  -webkit-appearance: auto; appearance: auto; accent-color: #ffbc42;
  background: none; border: 0; border-radius: 0; box-shadow: none; flex: 0 0 auto; cursor: pointer;
}
.optin-consent span { font-size: 0.7rem; line-height: 1.4; color: rgba(255, 255, 255, 0.72); }
.optin-consent span strong { color: #ffbc42; font-weight: 600; }
.optin-consent.is-error input[type="checkbox"] { outline: 2px solid #ff5a5a; outline-offset: 2px; }
.optin-consent-error { font-size: 0.68rem; font-weight: 600; color: #ff6b6b; margin: 0.2rem 0 0; text-align: left; line-height: 1.35; }
.optin-consent-error[hidden] { display: none; }

@media (max-width: 600px) {
  .optin-overlay { padding: 0.5rem; }
  .optin-modal { padding: 1.25rem 1rem 1rem; max-height: calc(100vh - 1rem); border-radius: 16px; }
  .optin-logo { height: 32px; margin-bottom: 0.4rem; }
  .optin-title { font-size: 1rem; }
  .optin-subtitle { font-size: 0.72rem; margin-bottom: 0.7rem; }
  .optin-form { gap: 0.4rem; }
  .optin-form input, .optin-form select { padding: 0.55rem 0.8rem; font-size: 0.8rem; min-height: 0; }
  .optin-phone-prefix { padding: 0 0.6rem; font-size: 0.8rem; }
  .optin-submit { padding: 0.7rem; font-size: 0.85rem; }
  .optin-disclaimer { font-size: 0.62rem; margin-top: 0.5rem; }
}
@media (max-height: 600px) {
  .optin-modal { padding: 1rem 1rem 0.85rem; }
  .optin-logo { height: 28px; margin-bottom: 0.3rem; }
  .optin-title { font-size: 0.95rem; }
  .optin-subtitle { display: none; }
  .optin-form { gap: 0.35rem; }
  .optin-form input, .optin-form select { padding: 0.5rem 0.75rem; font-size: 0.78rem; }
}

/* ===== Pop-up Catálogo de Serviços ===== */
.catalog-pop {
  position: fixed; inset: 0; z-index: 1100;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.catalog-pop.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 0.3s ease, visibility 0s linear 0s; }
.catalog-pop-card {
  position: relative; width: 100%; max-width: 560px;
  max-height: calc(100vh - 2rem); overflow-y: auto;
  padding: 1.85rem 1.7rem 1.6rem; text-align: center;
  background: rgba(16, 18, 27, 0.96);
  border: 1px solid rgba(255, 184, 0, 0.28); border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6), 0 0 44px rgba(255, 184, 0, 0.16);
  transform: translateY(18px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.catalog-pop.is-open .catalog-pop-card { transform: translateY(0) scale(1); }
.catalog-pop-close {
  position: absolute; top: 0.7rem; right: 0.7rem; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 50%;
  cursor: pointer; transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.catalog-pop-close svg { width: 16px; height: 16px; }
.catalog-pop-close:hover { background: rgba(255, 184, 0, 0.16); border-color: var(--gold); transform: rotate(90deg); }
.catalog-pop-eyebrow { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--gold); display: block; margin-bottom: 0.5rem; }
.catalog-pop-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 1.8rem); color: #fff; margin: 0 0 0.35rem; }
.catalog-pop-sub { font-size: 0.92rem; line-height: 1.5; color: rgba(255, 255, 255, 0.7); margin: 0 auto 1.25rem; max-width: 430px; }
.catalog-pop-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem;
  text-align: left; pointer-events: none; margin-bottom: 0.85rem;
}
.cs-card {
  display: flex; align-items: center; gap: 0.55rem; padding: 0.6rem 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle); border-radius: 12px;
}
.cs-ico { font-size: 1.15rem; line-height: 1; flex-shrink: 0; }
.cs-txt { display: flex; flex-direction: column; min-width: 0; }
.cs-txt strong { font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; color: #fff; line-height: 1.15; }
.cs-txt small { font-size: 0.68rem; color: var(--text-muted); line-height: 1.2; }
.catalog-pop-more { font-size: 0.74rem; color: var(--text-muted); margin: 0 0 1.15rem; }
.catalog-pop-cta { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; }

@media (max-width: 560px) {
  .catalog-pop-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-pop-card { padding: 1.45rem 1.1rem 1.25rem; }
}
@media (max-width: 380px) {
  .catalog-pop-grid { grid-template-columns: 1fr; }
}
