/* ==========================================================================
   XTRAFO DESIGN SYSTEM — HIGH-TECH ENERGY THEME
   Inspirado no visual E-Future Group (Dark Navy, Neon Emerald & Cyan Glow)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --bg-deep: #060c18;
  --bg-main: #0B132B;
  --bg-surface: #0E1A36;
  --bg-card: rgba(14, 26, 54, 0.72);
  --bg-card-hover: rgba(18, 34, 68, 0.88);
  --bg-glass: rgba(11, 19, 43, 0.82);

  /* Neon Accents */
  --neon-emerald: #00F5A0;
  --neon-cyan: #00D9F5;
  --neon-green: #00D285;
  --neon-blue: #0066FF;
  --accent-gold: #F5B600;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #00F5A0 0%, #00D9F5 100%);
  --grad-cyan-blue: linear-gradient(135deg, #00D9F5 0%, #0066FF 100%);
  --grad-dark-overlay: linear-gradient(180deg, rgba(11, 19, 43, 0.4) 0%, #0B132B 100%);
  --grad-glow: radial-gradient(circle at 50% 0%, rgba(0, 217, 245, 0.15) 0%, rgba(11, 19, 43, 0) 70%);

  /* Borders */
  --border-subtle: rgba(0, 217, 245, 0.16);
  --border-glow: rgba(0, 245, 160, 0.45);
  --border-light: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-heading: 'Exo 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Text Colors */
  --text-main: #F2F4F8;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --text-dark: #060c18;

  /* Shadows */
  --shadow-neon-green: 0 0 24px rgba(0, 245, 160, 0.35);
  --shadow-neon-cyan: 0 0 24px rgba(0, 217, 245, 0.35);
  --shadow-card: 0 12px 36px -8px rgba(0, 0, 0, 0.5);
  --shadow-card-hover: 0 20px 48px -10px rgba(0, 217, 245, 0.22);

  /* Spacing & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* clip (e não hidden) corta o que vaza para os lados sem quebrar o navbar sticky */
  overflow-x: clip;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: clip;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(0, 217, 245, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(0, 245, 160, 0.05) 0%, transparent 40%);
  background-attachment: fixed;
}

::selection {
  background-color: var(--neon-emerald);
  color: var(--bg-deep);
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover {
  color: var(--neon-emerald);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* ==========================================================================
   UTILITY CLASSES & TYPOGRAPHY
   ========================================================================== */
.font-heading {
  font-family: var(--font-heading);
}

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-cyan {
  background: var(--grad-cyan-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-muted-custom {
  color: var(--text-muted) !important;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(0, 245, 160, 0.08);
  border: 1px solid rgba(0, 245, 160, 0.3);
  color: var(--neon-emerald);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 15px rgba(0, 245, 160, 0.15);
  margin-bottom: 1.25rem;
}

.pill-badge i {
  font-size: 0.85rem;
}

.pill-badge-cyan {
  background: rgba(0, 217, 245, 0.08);
  border-color: rgba(0, 217, 245, 0.3);
  color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 217, 245, 0.15);
}

/* ==========================================================================
   BUTTONS (E-FUTURE STYLE)
   ========================================================================== */
.btn-xtrafo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: none;
  outline: none;
  text-decoration: none;
}

.btn-xtrafo-primary {
  background: var(--neon-green);
  color: var(--bg-deep) !important;
  box-shadow: 0 0 20px rgba(0, 210, 133, 0.45);
}

.btn-xtrafo-primary:hover {
  background: #00ea94;
  box-shadow: 0 0 32px rgba(0, 245, 160, 0.7);
  transform: translateY(-2px);
  color: var(--bg-deep) !important;
}

.btn-xtrafo-cyan {
  background: var(--neon-cyan);
  color: var(--bg-deep) !important;
  box-shadow: 0 0 20px rgba(0, 217, 245, 0.45);
}

.btn-xtrafo-cyan:hover {
  background: #33e4fa;
  box-shadow: 0 0 32px rgba(0, 217, 245, 0.7);
  transform: translateY(-2px);
  color: var(--bg-deep) !important;
}

.btn-xtrafo-outline {
  background: rgba(14, 26, 54, 0.6);
  color: var(--text-main) !important;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-xtrafo-outline:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan) !important;
  box-shadow: 0 0 24px rgba(0, 217, 245, 0.25);
  transform: translateY(-2px);
  background: rgba(18, 34, 68, 0.85);
}

.btn-xtrafo-sm {
  padding: 8px 18px;
  font-size: 0.82rem;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.xtrafo-navbar {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
  padding: 12px 0;
}

.xtrafo-navbar.scrolled {
  background: rgba(6, 12, 24, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  padding: 8px 0;
}

.navbar-brand-xtrafo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.navbar-brand-xtrafo .brand-logo-img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(0, 217, 245, 0.35));
  transition: transform var(--transition-fast);
}

.navbar-brand-xtrafo:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-text-group {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #fff;
  line-height: 1;
}

.brand-subtitle {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--neon-emerald);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Links mais leves: sem caixa-alta e com peso menor, para o header respirar */
.nav-link-xtrafo {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted) !important;
  padding: 8px 14px !important;
  letter-spacing: 0.01em;
  transition: all var(--transition-fast);
  position: relative;
  white-space: nowrap !important;
}

.nav-cta {
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.86rem;
}

.nav-link-xtrafo:hover,
.nav-link-xtrafo.active {
  color: #fff !important;
}

.nav-link-xtrafo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.nav-link-xtrafo:hover::after,
.nav-link-xtrafo.active::after {
  transform: scaleX(1);
}

/* Evitar underline indesejado em dropdowns */
.nav-item.dropdown > .nav-link-xtrafo::after,
#userMenuDropdown > .nav-link-xtrafo::after {
  display: none !important;
}

/* Estilo High-Tech para Dropdowns da Navbar */
.xtrafo-dropdown-menu {
  background: rgba(11, 19, 43, 0.96) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-md) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 24px rgba(0, 217, 245, 0.18) !important;
  padding: 8px !important;
  min-width: 250px;
}

.xtrafo-dropdown-menu .dropdown-item {
  color: var(--text-main) !important;
  padding: 10px 14px !important;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  font-family: var(--font-body);
  font-size: 0.88rem;
}

.xtrafo-dropdown-menu .dropdown-item:hover {
  background: rgba(0, 217, 245, 0.12) !important;
  color: var(--neon-cyan) !important;
  transform: translateX(4px);
}

@media (min-width: 992px) {
  .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    animation: fadeInNavMenu 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

@keyframes fadeInNavMenu {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 90px 0 100px;
  overflow: hidden;
  background: radial-gradient(circle at 60% 30%, rgba(0, 217, 245, 0.12) 0%, rgba(11, 19, 43, 0) 65%);
}

.hero-glow-1 {
  position: absolute;
  top: -150px;
  left: 10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 245, 160, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -100px;
  right: 5%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.18) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 2.2rem;
  line-height: 1.7;
}

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

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 217, 245, 0.15);
  transition: all var(--transition-smooth);
}

.hero-visual-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 50px rgba(0, 245, 160, 0.25);
  transform: translateY(-4px);
}

.hero-visual-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-visual-card:hover .hero-visual-img {
  transform: scale(1.03);
}

.hero-visual-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(6, 12, 24, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Hero só com o banner, de ponta a ponta */
.hero-banner {
  position: relative;
  line-height: 0;
  background: var(--bg-surface);
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   METRICS / TRUST BAR
   ========================================================================== */
.trust-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
  position: relative;
  z-index: 2;
}

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

/* Métricas em marquee, com as pontas esmaecendo */
.metric-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}

.metric-marquee-track {
  display: flex;
  width: max-content;
  animation: metric-marquee 45s linear infinite;
}

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

.metric-marquee-group {
  display: flex;
  flex-shrink: 0;
}

/* No marquee, número e texto ficam lado a lado para a faixa ficar fina */
.metric-marquee .metric-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 36px;
  text-align: left;
  position: relative;
}

.metric-marquee .metric-value {
  font-size: 1.5rem;
  margin-bottom: 0;
  white-space: nowrap;
}

.metric-marquee .metric-label {
  font-size: 0.8rem;
  line-height: 1.25;
  max-width: 130px;
}

/* Separador em losango entre as métricas */
.metric-marquee .metric-item::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--grad-primary);
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.6;
}

@keyframes metric-marquee {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  /* Mais lento em vez de parado: o marquee é suave e faz parte da identidade da página */
  .metric-marquee-track { animation-duration: 90s; }
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   CARDS & SECTIONS (E-FUTURE STYLE)
   ========================================================================== */
.section-padding {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 55px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* E-Future Solution Card */
.efuture-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.efuture-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.efuture-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-6px);
}

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

.card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.card-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(0, 245, 160, 0.08);
  border: 1px solid rgba(0, 245, 160, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-emerald);
  font-size: 1.5rem;
  transition: all var(--transition-fast);
}

.efuture-card:hover .card-icon-box {
  background: rgba(0, 245, 160, 0.16);
  border-color: var(--neon-emerald);
  box-shadow: 0 0 20px rgba(0, 245, 160, 0.4);
  transform: scale(1.05);
}

.card-tag {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.card-badge-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--neon-emerald);
  background: rgba(0, 245, 160, 0.08);
  border: 1px solid rgba(0, 245, 160, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
}

.efuture-card:hover .card-badge-action {
  background: var(--neon-emerald);
  color: var(--bg-deep);
}

.card-preview-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 16px 0 22px;
  border: 1px solid var(--border-light);
  height: 200px;
}

.card-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.efuture-card:hover .card-preview-media img {
  transform: scale(1.06);
}

.card-content-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.card-content-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--neon-emerald);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: auto;
  transition: gap var(--transition-fast);
}

.efuture-card:hover .card-footer-link {
  color: #fff;
  gap: 12px;
}

/* ==========================================================================
   TECHNICAL CALCULATOR CONTAINER (MODERN DARK THEME)
   ========================================================================== */
.calc-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  position: relative;
}

.calc-input-group {
  margin-bottom: 22px;
}

.calc-label {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

.calc-input, .calc-select {
  width: 100%;
  background: rgba(6, 12, 24, 0.7);
  border: 1px solid var(--border-subtle);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.calc-input:focus, .calc-select:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 16px rgba(0, 217, 245, 0.25);
  background: rgba(6, 12, 24, 0.9);
}

.calc-result-box {
  background: rgba(0, 245, 160, 0.05);
  border: 1px solid rgba(0, 245, 160, 0.3);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}

.calc-result-val {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin: 10px 0;
}

/* ==========================================================================
   SEGMENTS / APPLICATIONS
   ========================================================================== */
.segment-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: all var(--transition-smooth);
  height: 100%;
}

.segment-card:hover {
  border-color: var(--border-subtle);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.segment-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(0, 217, 245, 0.08);
  border: 1px solid rgba(0, 217, 245, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
  font-size: 1.25rem;
}

.segment-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.segment-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.xtrafo-footer {
  background: #040812;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px;
  position: relative;
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 320px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--neon-emerald);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--neon-emerald);
  padding-left: 4px;
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ==========================================================================
   WHATSAPP & UTILITY FLOATING BUTTONS
   ========================================================================== */
.whatsapp-floating {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1080;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #00D285;
  color: #060c18;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 0 25px rgba(0, 210, 133, 0.6);
  transition: all var(--transition-smooth);
  text-decoration: none !important;
}

.whatsapp-floating:hover {
  background: #00F5A0;
  box-shadow: 0 0 40px rgba(0, 245, 160, 0.9);
  transform: scale(1.1) translateY(-4px);
  color: #060c18 !important;
}

.btn-scroll-top,
.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 34px;
  z-index: 1070;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(14, 26, 54, 0.9) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--neon-cyan) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  padding: 0;
  outline: none;
}

.btn-scroll-top.visible,
.btn-scroll-top.show,
.scroll-top.visible,
.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.btn-scroll-top:hover,
.scroll-top:hover {
  background: var(--neon-cyan) !important;
  color: var(--bg-deep) !important;
  border-color: transparent !important;
  box-shadow: 0 0 25px rgba(0, 217, 245, 0.7);
  transform: translateY(-4px);
}

/* Mobile responsive adjustments */
@media (max-width: 991px) {
  .hero-section {
    padding: 60px 0 70px;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .hero-visual-card {
    margin-top: 40px;
  }
  .metric-item {
    margin-bottom: 20px;
  }
  .metric-marquee .metric-item {
    margin-bottom: 0;
    gap: 8px;
    padding: 4px 22px;
  }
  .metric-marquee .metric-value {
    font-size: 1.15rem;
  }
  .metric-marquee .metric-label {
    font-size: 0.7rem;
    max-width: 105px;
  }
  .trust-bar {
    padding: 10px 0;
  }
  /* Brilhos decorativos menores no celular */
  .hero-glow-1,
  .hero-glow-2 {
    width: 280px;
    height: 280px;
  }
  .navbar-collapse {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 12px 16px 16px;
    margin-top: 12px;
    border: 1px solid var(--border-subtle);
  }
  .navbar-collapse .nav-link-xtrafo {
    padding: 12px 4px !important;
    border-bottom: 1px solid var(--border-light);
  }
  .navbar-collapse .nav-link-xtrafo::after {
    display: none;
  }
  .navbar-collapse .nav-cta {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

/* ==========================================================================
   GUIAS TÉCNICOS (seção na landing + páginas de guia)
   ========================================================================== */

/* Card do guia na landing */
.guide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 34px 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  transition: all var(--transition-smooth);
  overflow: hidden;
}

.guide-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-primary);
  opacity: 0.7;
}

.guide-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.guide-card-kicker {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin-bottom: 10px;
}

.guide-card-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.guide-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 22px;
}

/* Mini comparação lado a lado dentro do card */
.guide-versus {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: stretch;
  margin-bottom: 26px;
}

.guide-versus-side {
  background: rgba(6, 12, 24, 0.55);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
}

.guide-versus-side h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.guide-versus-side ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.guide-versus-side li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 3px 0 3px 18px;
  position: relative;
  line-height: 1.45;
}

.guide-versus-side li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-emerald);
}

.guide-versus-vs {
  align-self: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Topo das páginas de guia */
.guide-hero {
  padding: 80px 0 50px;
  text-align: center;
  background: var(--grad-glow);
}

.guide-hero .section-title {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.guide-breadcrumb {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.guide-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.guide-breadcrumb a:hover {
  color: var(--neon-emerald);
}

/* Bloco de conteúdo de um tipo de transformador */
.guide-block {
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
}

.guide-block h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.guide-block h3 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin: 26px 0 12px;
}

.guide-block p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.guide-block strong {
  color: var(--text-main);
}

.guide-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 6px;
}

.guide-chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: rgba(0, 217, 245, 0.06);
  color: var(--neon-cyan);
}

.guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.guide-list li {
  position: relative;
  padding: 6px 0 6px 26px;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.guide-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 7px;
  font-size: 0.8rem;
  color: var(--neon-emerald);
}

.guide-list-cols {
  columns: 2;
  column-gap: 24px;
}

.guide-list-cols li {
  break-inside: avoid;
}

.guide-note {
  margin-top: 18px;
  padding: 14px 18px;
  border-left: 3px solid var(--neon-emerald);
  background: rgba(0, 245, 160, 0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Tabela comparativa */
.compare-table-wrap {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.compare-table th,
.compare-table td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

.compare-table thead th {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--neon-emerald);
  background: rgba(6, 12, 24, 0.6);
}

.compare-table tbody th {
  font-weight: 600;
  color: var(--text-main);
  width: 30%;
}

.compare-table td {
  color: var(--text-muted);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table tbody tr:hover {
  background: rgba(0, 217, 245, 0.04);
}

.compare-yes { color: var(--neon-emerald); font-weight: 600; }
.compare-no { color: #F87171; font-weight: 600; }

/* Galeria de produtos (fotos com fundo branco) */
.guide-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.guide-gallery-item {
  aspect-ratio: 1;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform var(--transition-fast);
}

.guide-gallery-item:hover {
  transform: translateY(-3px);
}

/* cover: fotos com fundo branco ou preto preenchem o bloco por igual */
.guide-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Vitrine comparativa: foto grande + miniaturas */
.showcase {
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 24px;
}

.showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.showcase-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0;
}

/* Palco escuro XTRAFO: fotos recortadas (PNG) sobre brilho ciano, com plataforma iluminada no chão */
.showcase-stage,
.showcase-thumbs button {
  background:
    radial-gradient(ellipse 70% 60% at 50% 42%, rgba(0, 217, 245, 0.22) 0%, rgba(0, 102, 255, 0.08) 45%, transparent 75%),
    linear-gradient(180deg, #0c1a36 0%, #060c18 100%);
}

.showcase-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

/* Grade sutil ao fundo, que some nas bordas */
.showcase-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 217, 245, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 217, 245, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 45%, #000 0%, transparent 70%);
  pointer-events: none;
}

/* Plataforma iluminada sob o equipamento */
.showcase-stage::after {
  content: '';
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 6%;
  height: 12%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 245, 160, 0.35) 0%, rgba(0, 217, 245, 0.12) 40%, transparent 70%);
  border-top: 1px solid rgba(0, 245, 160, 0.35);
  pointer-events: none;
}

.showcase-main {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 26px 30px 34px;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.6));
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.showcase-main.is-changing {
  opacity: 0;
  transform: scale(0.98);
}

.showcase-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(6, 12, 24, 0.75);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast), background var(--transition-fast);
}

.showcase-nav.prev { left: 12px; }
.showcase-nav.next { right: 12px; }

.showcase:hover .showcase-nav { opacity: 1; }

.showcase-nav:hover {
  background: var(--neon-emerald);
  color: var(--text-dark);
}

.showcase-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(6, 12, 24, 0.75);
  color: #fff;
}

.showcase-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.showcase-thumbs button {
  aspect-ratio: 1;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  opacity: 0.55;
  cursor: pointer;
  transition: opacity var(--transition-fast), border-color var(--transition-fast);
}

.showcase-thumbs button:hover { opacity: 0.85; }

.showcase-thumbs button.active {
  opacity: 1;
  border-color: var(--neon-emerald);
}

.showcase-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
  display: block;
}

/* No toque não existe hover: setas sempre visíveis */
@media (hover: none) {
  .showcase-nav { opacity: 1; }
}

/* Chamada final */
.guide-cta {
  text-align: center;
  padding: 50px 30px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-glow);
  background: radial-gradient(circle at 50% 0%, rgba(0, 245, 160, 0.12) 0%, rgba(14, 26, 54, 0.8) 70%);
}

.guide-cta .hero-actions {
  justify-content: center;
}

@media (max-width: 991px) {
  .guide-gallery { grid-template-columns: repeat(3, 1fr); }
  .guide-hero { padding: 56px 0 36px; }
  .guide-block { padding: 28px 22px; }
}

@media (max-width: 575px) {
  .guide-versus { grid-template-columns: 1fr; }
  .guide-versus-vs { justify-self: center; }
  .guide-list-cols { columns: 1; }
  /* No celular cada linha vira um bloco: característica em cima, as duas opções lado a lado */
  .compare-table thead { display: none; }
  .compare-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--border-light);
  }
  .compare-table tbody tr:last-child { border-bottom: 0; }
  .compare-table tbody th {
    grid-column: 1 / -1;
    width: auto;
    padding: 14px 16px 4px;
    border: 0;
    font-size: 0.92rem;
  }
  .compare-table td {
    padding: 4px 16px 14px;
    border: 0;
    font-size: 0.85rem;
  }
  .compare-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 2px;
  }
  .guide-card { padding: 28px 22px; }
  .showcase { padding: 16px; }
  .showcase-thumbs { gap: 6px; }
}
