/* ==========================================================================
   LASTRASOFT — LANDING PAGE (MOBILE-FIRST & MULTI-LANGUAGE)
   Tema: Dark Engineering & Luxury Stone
   Alinhamento perfeitamente equilibrado e centralizado no celular
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&family=Outfit:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* --- Tokens do Design System --- */
:root {
  --bg-darkest: #070a12;
  --bg-primary: #0b101d;
  --bg-surface: #101728;
  --bg-surface-elevated: #162038;
  --bg-surface-glass: rgba(16, 23, 40, 0.88);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-hover: rgba(56, 189, 248, 0.45);
  --border-gold: rgba(245, 158, 11, 0.35);

  --accent-blue: #2563eb;
  --accent-cyan: #0ea5e9;
  --accent-cyan-glow: rgba(14, 165, 233, 0.28);
  --accent-gold: #f59e0b;
  --accent-gold-glow: rgba(245, 158, 11, 0.22);
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.2);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-gold: #fbbf24;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-title: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, Monaco, Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(255, 255, 255, 0.05);
  --shadow-glow-cyan: 0 0 35px -8px rgba(14, 165, 233, 0.35);

  --container-max: 1200px;
  --transition-normal: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset & Base (Mobile Default: Centered & Balanced) --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

/* Midia nunca empurra a largura da pagina */
img, video, canvas, iframe {
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-darkest);
  color: var(--text-primary);
  color-scheme: dark;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-darkest);
  color: var(--text-primary);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  padding-bottom: 70px; /* Espaço para barra fixa mobile no rodapé */
}

/* Trava o eixo horizontal no <html> e no <body>. No Safari iOS o overflow-x do
   body e' propagado para a viewport e a pagina continua aceitando pan horizontal
   por toque ("danca" para o lado). `clip` nao cria scroll container, entao o
   header sticky segue funcionando. Precisa vir DEPOIS de `body { overflow-x:
   hidden }`, senao e' sobrescrito. Navegador antigo sem clip mantem o fallback. */
@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

/* Background Blueprint CAD Grid */
body::before {
  content: '';
  position: fixed;
  inset: 0; /* viewport exata: 100vw pode passar da area visivel em navegador movel */
  pointer-events: none;
  z-index: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 50% 25%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 25%, black 40%, transparent 80%);
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.glow-1 {
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  height: 350px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.4), transparent 70%);
}

.glow-2 {
  top: 1200px;
  right: -50px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25), transparent 70%);
}

/* No mobile, o brilho decorativo nao pode vazar para fora da tela: ele expandia
   o viewport de layout e empurrava o botao fixo de WhatsApp para fora da area visivel. */
@media (max-width: 768px) {
  .glow-2 {
    right: 0;
  }
}

/* Container Centralizado */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  z-index: 1;
}

/* Tipografia */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-align: center; /* Centralizado por padrão no mobile */
}

p {
  color: var(--text-secondary);
}

.mono {
  font-family: var(--font-mono);
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #ffffff 20%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #ffffff 20%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badges Centralizados */
.badge-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-cyan {
  background: rgba(14, 165, 233, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.badge-gold {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-gold);
  border: 1px solid var(--border-gold);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Botões Mobile First */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-normal);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px -2px var(--accent-cyan-glow);
}

.btn-primary:active {
  transform: scale(0.98);
  filter: brightness(1.1);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.btn-secondary:active {
  background: var(--bg-surface-elevated);
  transform: scale(0.98);
}

.btn-sm {
  min-height: 38px;
  padding: 6px 14px;
  font-size: 0.8rem;
}

.btn-lg {
  min-height: 52px;
  padding: 14px 28px;
  font-size: 1rem;
}

/* ==========================================================================
   SELETOR DE IDIOMAS (I18N DROPDOWN)
   ========================================================================== */
.lang-selector {
  position: relative;
  display: inline-block;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 12px;
  cursor: pointer;
  transition: var(--transition-normal);
  min-height: 38px;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-medium);
}

.lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 16px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
  vertical-align: middle;
}

.lang-flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

.lang-arrow {
  font-size: 0.65rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.lang-selector.open .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #0d1424;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
  min-width: 170px;
  padding: 6px;
  z-index: 200;
  display: none;
}

.lang-selector.open .lang-dropdown {
  display: block;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.lang-option:hover {
  background: rgba(14, 165, 233, 0.12);
  color: #ffffff;
}

.lang-option.active {
  background: rgba(14, 165, 233, 0.18);
  color: var(--accent-cyan);
  font-weight: 700;
}

/* ==========================================================================
   STICKY BAR NO CELULAR (BOTÃO NO POLEGAR)
   ========================================================================== */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(7, 10, 18, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-subtle);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-sticky-bar .btn {
  flex: 1;
}

.mobile-sticky-login {
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 12px;
  white-space: nowrap;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
  background: rgba(7, 10, 18, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

/* O menu ocupa o espaco central; brand e acoes nunca encolhem */
.nav-main {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 32px;
  width: auto;
  border-radius: 6px;
}

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

.brand-name {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffffff;
  white-space: nowrap;
}

.brand-tag {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 700;
}

.nav-links {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-desktop-btn {
  display: none;
}

.mobile-menu-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
}

/* Menu Mobile Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 10, 18, 0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 70px 24px 30px;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-nav-overlay.open {
  transform: translateY(0);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
  text-align: center;
}

.mobile-nav-links a {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-lang-select-box {
  margin-bottom: 24px;
  text-align: center;
}

.mobile-lang-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.mobile-lang-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mobile-lang-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.mobile-lang-btn.active {
  background: rgba(14, 165, 233, 0.2);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

/* ==========================================================================
   HERO SECTION (CENTRALIZADO)
   ========================================================================== */
.hero-section {
  padding: 40px 0 30px;
  text-align: center;
}

.hero-content {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

.hero-title {
  font-size: clamp(1.85rem, 6.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 3.5vw, 1.2rem);
  line-height: 1.55;
  color: var(--text-secondary);
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
  margin-bottom: 24px;
  text-align: center;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-cta-group .btn {
  width: 100%;
  max-width: 380px;
}

.hero-trust-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.trust-item svg {
  color: var(--accent-emerald);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Mockup UI Mobile */
.hero-mockup-wrapper {
  margin-top: 10px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.mockup-frame {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  position: relative;
}

.mockup-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: #080c16;
  border-bottom: 1px solid var(--border-subtle);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #10b981; }

.mockup-address {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mockup-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #060912;
  overflow: hidden;
}

.mockup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mockup-video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: #000;
}

.mockup-empty-state {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  gap: 10px;
  background: radial-gradient(circle at 50% 35%, #152238 0%, #060912 85%);
}

.mockup-empty-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.mockup-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 18, 0.35);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.25s ease;
}

.mockup-play-overlay:hover {
  background: rgba(7, 10, 18, 0.2);
}

.play-pulse-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px var(--accent-cyan);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mockup-play-overlay:hover .play-pulse-btn {
  transform: scale(1.08);
  box-shadow: 0 0 35px var(--accent-cyan);
}
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px var(--accent-cyan);
}

/* ==========================================================================
   METRICS SECTION (CENTRALIZADO)
   ========================================================================== */
.metrics-section {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(11, 16, 29, 0.4);
}

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

.metric-card {
  text-align: center;
  padding: 14px 10px;
  background: rgba(16, 23, 40, 0.4);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.metric-number {
  font-family: var(--font-title);
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
  text-align: center;
}

.metric-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
  text-align: center;
}

.metric-detail {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   BENTO GRID (CENTRALIZADO NO MOBILE)
   ========================================================================== */
.section {
  padding: 60px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 36px;
}

.section-title {
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  margin-bottom: 12px;
  text-align: center;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  text-align: center;
}

.bento-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center; /* Centralizado harmonioso no mobile */
  transition: border-color var(--transition-normal);
}

.bento-card:hover {
  border-color: var(--border-medium);
}

.bento-card-header {
  margin-bottom: 12px;
  text-align: center;
}

.bento-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin: 0 auto 12px auto; /* Ícone centralizado */
}

.bento-icon-box.gold {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--border-gold);
  color: var(--accent-gold);
}

.bento-icon-box.emerald {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--accent-emerald);
}

.bento-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-align: center;
}

.bento-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  text-align: center;
}

.bento-visual {
  width: 100%;
  border-radius: var(--radius-md);
  background: #080c16;
  border: 1px solid var(--border-subtle);
  position: relative;
  margin-top: 14px;
  flex: 1;
  min-height: 240px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.bento-col-2 .bento-visual {
  aspect-ratio: 16 / 9;
  min-height: 260px;
}

.bento-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover .bento-visual-img {
  transform: scale(1.04);
}

.bento-visual-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-align: center;
  padding: 10px;
}

.bento-badge-tag {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%); /* Centralizado */
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(7, 10, 18, 0.92);
  border: 1px solid var(--border-subtle);
  color: var(--text-gold);
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   WORKFLOW TIMELINE (CENTRALIZADO)
   ========================================================================== */
.workflow-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.workflow-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center; /* Centralizado no mobile */
}

.workflow-step-num {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--accent-cyan);
  margin-bottom: 10px;
  text-align: center;
}

.workflow-card-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
  text-align: center;
}

.workflow-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  text-align: center;
}

/* ==========================================================================
   COMPARATIVO ROI
   ========================================================================== */
.roi-table-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  /* A tabela rola sozinha; o gesto nao vaza para a pagina quando chega no limite */
  overscroll-behavior-x: contain;
}

.roi-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  text-align: left;
}

.roi-table th, .roi-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.82rem;
}

.roi-table th {
  background: #080c16;
  font-family: var(--font-title);
  font-weight: 800;
  color: #fff;
}

.roi-table th.col-lastrasoft {
  color: var(--accent-cyan);
  background: rgba(14, 165, 233, 0.1);
}

.roi-table td.col-lastrasoft {
  background: rgba(14, 165, 233, 0.04);
  font-weight: 600;
  color: #fff;
}

.icon-check {
  color: var(--accent-emerald);
  margin-right: 4px;
}

/* ==========================================================================
   PLANOS & TRIAL (CENTRALIZADO)
   ========================================================================== */
.pricing-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center; /* Centralizado */
  position: relative;
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(22, 32, 56, 0.95) 0%, var(--bg-surface) 100%);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow-cyan);
}

.pricing-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.pricing-plan-name {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
  text-align: center;
}

.pricing-plan-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  text-align: center;
}

.pricing-price-wrap {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 18px;
  text-align: center;
}

.pricing-amount {
  font-family: var(--font-title);
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-setup-tag {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--text-gold);
  background: rgba(245, 158, 11, 0.08);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
}

.pricing-features-list {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left; /* Lista de checagem legível à esquerda com alinhamento interno */
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-feature-item {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pricing-feature-item svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   FAQ ACORDEÃO
   ========================================================================== */
.faq-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item.active {
  border-color: var(--border-hover);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 18px;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--accent-cyan);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 18px 20px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   MODAL DE VÍDEO
   ========================================================================== */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 12, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.open {
  opacity: 1;
  visibility: visible;
}

.video-modal-content {
  width: 100%;
  max-width: 900px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #090d18;
  border-bottom: 1px solid var(--border-subtle);
}

.video-modal-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.video-modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.video-modal-body {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   RODAPÉ (CENTRALIZADO NO MOBILE)
   ========================================================================== */
.site-footer {
  background: #05070d;
  border-top: 1px solid var(--border-subtle);
  padding: 50px 0 20px;
  text-align: center;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
  align-items: center;
}

.footer-brand-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 12px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.footer-col-title {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-bottom {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-legal {
  margin-top: 6px;
  font-size: 0.74rem;
  opacity: 0.85;
}

/* ==========================================================================
   DESKTOP ENHANCEMENTS (>= 769px)
   ========================================================================== */
@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }

  .mobile-sticky-bar {
    display: none;
  }

  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .nav-link {
    position: relative;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 6px 0;
    transition: var(--transition-normal);
  }

  .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-cyan);
    transition: right 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-link:hover {
    color: #fff;
  }

  .nav-link:hover::after,
  .nav-link:focus-visible::after {
    right: 0;
  }

  .hero-section {
    padding: 70px 0 50px;
  }

  .hero-cta-group {
    flex-direction: row;
    justify-content: center;
  }

  .hero-cta-group .btn {
    width: auto;
  }

  .hero-trust-bar {
    flex-direction: row;
    gap: 24px;
  }

  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .metric-card {
    background: transparent;
    border: none;
  }

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

  .bento-col-2 {
    grid-column: span 2;
  }

  .bento-col-3 {
    grid-column: span 3;
  }

  .bento-col-3 .bento-card-header {
    max-width: 820px;
  }

  .bento-col-3 .bento-visual {
    aspect-ratio: 21 / 9;
    min-height: 320px;
  }

  .bento-card {
    text-align: left;
  }

  .bento-card-header {
    text-align: left;
  }

  .bento-icon-box {
    margin: 0 0 14px 0;
  }

  .bento-title, .bento-desc {
    text-align: left;
  }

  .bento-badge-tag {
    left: 8px;
    transform: none;
  }

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

  .workflow-card {
    text-align: left;
  }

  .workflow-step-num, .workflow-card-title, .workflow-card-desc {
    text-align: left;
  }

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

  .pricing-card.featured {
    transform: scale(1.03);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
    text-align: left;
  }

  .footer-brand-desc {
    margin-left: 0;
  }

  .footer-links {
    align-items: flex-start;
  }
}

/* ==========================================================================
   BIBLIOTECA DE VÍDEOS DE APRESENTAÇÃO
   ========================================================================== */
.videos-section {
  position: relative;
  background: radial-gradient(120% 80% at 50% 10%, rgba(14, 165, 233, 0.04) 0%, transparent 60%);
}

.videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
}

@media (min-width: 720px) {
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1100px) {
  .videos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.video-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  position: relative;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(14, 165, 233, 0.15);
}

.video-card.video-card-featured {
  border-color: rgba(14, 165, 233, 0.35);
  background: linear-gradient(180deg, rgba(22, 33, 56, 0.85) 0%, var(--bg-surface) 100%);
}

.video-thumb-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #06090e;
  overflow: hidden;
  cursor: pointer;
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  display: block;
}

.video-card:hover .video-thumb-img {
  transform: scale(1.05);
  filter: brightness(1.08);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(14, 165, 233, 0.7);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  z-index: 2;
}

.video-thumb-container:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 0 36px rgba(14, 165, 233, 0.95);
}

.video-duration-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(4, 6, 12, 0.85);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-mono, monospace);
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
}

.video-tag-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(4, 6, 12, 0.85);
  color: var(--accent-cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(14, 165, 233, 0.3);
  text-transform: uppercase;
  z-index: 2;
}

.video-tag-badge.video-tag-highlight {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #fff;
  border: none;
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.5);
}

.video-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.video-card-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 10px;
}

.video-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}

.video-card-footer {
  margin-top: auto;
}

.video-card-action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ==========================================================================
   MODAL DE VÍDEO COM PLAYLIST
   ========================================================================== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 14, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.video-modal-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1000px;
  background: #0c121e;
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(14, 165, 233, 0.2);
  /* Playlist maior em telas baixas: o modal rola por dentro em vez de cortar */
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: scale(0.96) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.video-modal.open .video-modal-dialog {
  transform: scale(1) translateY(0);
}

.video-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(12, 18, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.video-modal-close:hover {
  background: rgba(239, 68, 68, 0.9);
  border-color: rgba(239, 68, 68, 1);
  transform: scale(1.08) rotate(90deg);
}

.video-player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-player-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Playlist integrada no modal */
.video-modal-playlist {
  background: #080d16;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 20px;
}

.video-playlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.video-playlist-title {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.video-playlist-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(14, 165, 233, 0.12);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.video-playlist-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 768px) {
  .video-playlist-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (min-width: 1040px) {
  .video-playlist-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.video-playlist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  /* Sem isto o item (grid) assume a largura do texto sem quebra e estoura o modal */
  min-width: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  position: relative;
  width: 100%;
}

.video-playlist-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(14, 165, 233, 0.4);
}

.video-playlist-item.active {
  background: rgba(14, 165, 233, 0.12);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(14, 165, 233, 0.2);
}

.playlist-thumb-box {
  position: relative;
  width: 64px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
}

.playlist-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.playlist-duration {
  position: absolute;
  bottom: 2px;
  right: 2px;
  font-size: 0.62rem;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 1px 3px;
  border-radius: 2px;
  font-family: monospace;
}

.playlist-info {
  flex: 1;
  min-width: 0;
}

.playlist-item-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 2px;
  /* Titulo completo em ate' duas linhas; corta so' o que passar disso */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

.video-playlist-item.active .playlist-item-title {
  color: var(--accent-cyan);
}

/* Em telas muito estreitas, tres linhas cabem sem cortar o titulo */
@media (max-width: 399px) {
  .playlist-item-title {
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
}

.playlist-item-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playlist-playing-indicator {
  display: none;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(14, 165, 233, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 2px;
}

.video-playlist-item.active .playlist-playing-indicator {
  display: inline-block;
}

/* ==========================================================================
   LASTRASOFT — SEÇÃO DEMO INTERATIVA 3D & NESTING 2D
   ========================================================================== */

.demo-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--accent-cyan);
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.demo-section {
  position: relative;
  padding: 60px 0 80px;
  background: radial-gradient(circle at 50% 20%, rgba(14, 165, 233, 0.08), transparent 70%);
}

.demo-card-wrapper {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-medium);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(14, 165, 233, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* --- Barra Superior de Controles --- */
.demo-controls-bar {
  padding: 20px 24px;
  background: rgba(11, 16, 29, 0.75);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.demo-ctrl-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.demo-ctrl-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  min-width: 140px;
}

/* Botões em pílula */
.demo-btn-pills {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  gap: 4px;
}

.demo-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.demo-pill-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.demo-pill-btn.active {
  background: var(--accent-cyan);
  color: #070a12;
  box-shadow: 0 2px 10px var(--accent-cyan-glow);
}

.demo-pill-btn.sm {
  padding: 5px 10px;
  font-size: 0.78rem;
}

/* Seletor de Texturas de Mármore */
.demo-material-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.demo-mat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.demo-mat-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.demo-mat-btn.active {
  border-color: var(--accent-cyan);
  background: rgba(14, 165, 233, 0.12);
  color: var(--text-primary);
  box-shadow: 0 0 12px var(--accent-cyan-glow);
}

.demo-mat-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.demo-mat-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.15);
  padding: 2px 5px;
  border-radius: 4px;
}

/* Toggles e Botão de Ação */
.demo-toggles-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 6px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.demo-switch-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  user-select: none;
}

.demo-switch-label input {
  display: none;
}

.demo-switch-slider {
  position: relative;
  width: 36px;
  height: 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  transition: background 0.2s;
}

.demo-switch-slider::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-switch-label input:checked + .demo-switch-slider {
  background: var(--accent-cyan);
}

.demo-switch-label input:checked + .demo-switch-slider::before {
  transform: translateX(16px);
  background: #070a12;
}

.demo-winder-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.demo-winder-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.demo-action-nesting {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35);
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  color: #070a12;
}

.demo-action-nesting:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
}

/* --- Área de Renderização WebGL --- */
.demo-canvas-viewport {
  position: relative;
  width: 100%;
  height: 560px;
  background: #0a0e17;
  overflow: hidden;
}

.demo-webgl-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  cursor: grab;
}

.demo-webgl-canvas:active {
  cursor: grabbing;
}

/* HUD Superior */
.demo-hud-top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  gap: 10px;
}

.demo-hud-badge {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 16, 29, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-medium);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
}

.demo-hud-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent-emerald);
}

.demo-camera-presets {
  pointer-events: auto;
  display: inline-flex;
  background: rgba(11, 16, 29, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  padding: 3px;
  gap: 3px;
}

.demo-cam-btn {
  padding: 4px 8px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.74rem;
  font-weight: 700;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s;
}

.demo-cam-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.demo-cam-btn.active {
  background: var(--accent-cyan);
  color: #070a12;
}

/* Dica inferior */
.demo-hud-bottom {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   MODAL DE NESTING 2D (SIMULADOR DE CORTE)
   ========================================================================== */
.nesting-demo-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.nesting-demo-modal.open {
  display: flex;
}

.nesting-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(12px);
}

.nesting-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 920px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(14, 165, 233, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modal-pop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-pop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.nesting-modal-header {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface-elevated);
}

.nesting-modal-title-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nesting-modal-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.nesting-modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s;
}

.nesting-modal-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nesting-modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nesting-canvas-wrap {
  width: 100%;
  height: 380px;
  background: #070a12;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
}

.nesting-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Grade de Métricas */
.nesting-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.nesting-metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nesting-metric-card.highlight {
  border-color: var(--accent-cyan);
  background: rgba(14, 165, 233, 0.08);
}

.nesting-metric-card .metric-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
}

.nesting-metric-card .metric-lbl {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.nesting-modal-footer {
  padding: 16px 22px;
  background: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nesting-footer-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
  max-width: 440px;
}

.nesting-footer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Responsividade Mobile da Demo */
@media (max-width: 768px) {
  .demo-controls-bar {
    padding: 14px;
  }
  .demo-ctrl-label {
    min-width: 100%;
    margin-bottom: 2px;
  }
  .demo-btn-pills {
    width: 100%;
    display: flex;
  }
  .demo-pill-btn {
    flex: 1;
    justify-content: center;
    padding: 7px 8px;
    font-size: 0.76rem;
  }
  .demo-material-picker {
    width: 100%;
  }
  .demo-mat-btn {
    flex: 1;
    justify-content: center;
    font-size: 0.74rem;
  }
  .demo-toggles-row {
    flex-direction: column;
    align-items: stretch;
  }
  .demo-action-nesting {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
  .demo-canvas-viewport {
    height: 400px;
  }
  .nesting-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nesting-canvas-wrap {
    height: 260px;
  }
  .nesting-modal-footer {
    flex-direction: column;
    text-align: center;
  }
  .nesting-footer-actions {
    width: 100%;
    flex-direction: column;
  }
  .nesting-footer-actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   DESTAQUE DO TABLET DE OFICINA (LOTE FUNDADOR)
   ========================================================================== */
.tablet-spotlight {
  padding: 24px 0 64px;
}

.tablet-spotlight-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  padding: 26px 18px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(245, 158, 11, 0.16) 0%, transparent 55%),
    radial-gradient(90% 120% at 0% 100%, rgba(14, 165, 233, 0.10) 0%, transparent 60%),
    linear-gradient(180deg, rgba(22, 32, 56, 0.96) 0%, rgba(11, 16, 29, 0.99) 100%);
  box-shadow: 0 28px 70px -34px rgba(245, 158, 11, 0.45);
  overflow: hidden;
}

.tablet-spotlight-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 55%;
  height: 160%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 65%);
  pointer-events: none;
  animation: tablet-glow 6s ease-in-out infinite;
}

.tablet-spotlight-copy {
  position: relative;
  z-index: 2;
  text-align: left;
}

.tablet-title {
  margin: 0 0 12px;
  font-family: var(--font-title);
  font-size: clamp(1.45rem, 4.6vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-align: left;
}

.tablet-subtitle {
  margin: 0 0 18px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.tablet-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.tablet-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.tablet-bullets svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent-emerald);
}

.tablet-ownership {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  padding: 12px 14px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.10);
  color: #d1fae5;
  font-size: 0.84rem;
  line-height: 1.5;
}

.tablet-ownership svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--accent-emerald);
}

.tablet-cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tablet-cta-row .btn {
  width: 100%;
  white-space: normal;
  line-height: 1.25;
  text-align: center;
}

.tablet-cta-row .btn svg {
  flex-shrink: 0;
}

.tablet-note {
  margin: 12px 0 0;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.tablet-spotlight-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.tablet-spotlight-visual::before {
  content: '';
  position: absolute;
  top: 8%;
  left: 8%;
  width: 84%;
  height: 84%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.28) 0%, transparent 70%);
  filter: blur(38px);
  animation: tablet-glow 5s ease-in-out infinite;
  pointer-events: none;
}

.tablet-photo-wrap {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-lg);
  box-shadow:
    0 30px 60px -30px rgba(0, 0, 0, 0.9),
    0 0 48px -12px rgba(245, 158, 11, 0.4);
  animation: tablet-float 7s ease-in-out infinite;
}

.tablet-photo {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.tablet-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.2) 46%, transparent 60%);
  transform: translateX(-130%);
  animation: tablet-shine 6.5s ease-in-out infinite;
  pointer-events: none;
}

.tablet-price-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 15px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  color: #1a1206;
  box-shadow: 0 12px 30px -8px rgba(245, 158, 11, 0.75);
}

.tablet-price-badge strong {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.tablet-price-badge small {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tablet-stamp {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  background: rgba(7, 10, 18, 0.55);
  color: #ffffff;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  transform: rotate(-8deg);
  backdrop-filter: blur(6px);
  animation: tablet-stamp-pop 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

/* ==========================================================================
   BOTÃO FLUTUANTE DE WHATSAPP
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  z-index: 95;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow:
    0 14px 32px -8px rgba(37, 211, 102, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  animation: whatsapp-float-in 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 18px 38px -8px rgba(37, 211, 102, 0.75),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.whatsapp-float:active {
  transform: scale(0.98);
}

.whatsapp-float-pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  animation: whatsapp-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

.whatsapp-icon,
.whatsapp-float-label {
  position: relative;
  z-index: 1;
}

.whatsapp-float-label {
  display: none;
}

/* ==========================================================================
   ANIMAÇÕES DOS DESTAQUES
   ========================================================================== */
@keyframes tablet-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes tablet-glow {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.9; }
}

@keyframes tablet-shine {
  0%, 55% { transform: translateX(-130%); }
  78%, 100% { transform: translateX(130%); }
}

@keyframes tablet-stamp-pop {
  0% { opacity: 0; transform: rotate(-8deg) scale(0.6); }
  100% { opacity: 1; transform: rotate(-8deg) scale(1); }
}

@keyframes whatsapp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes whatsapp-float-in {
  from { opacity: 0; transform: translateY(16px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Revelação ao rolar (a classe é adicionada via JS; sem JS o conteúdo fica visível) */
.reveal-ready {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   RESPONSIVO DO DESTAQUE E DO WHATSAPP
   ========================================================================== */
@media (min-width: 769px) {
  .whatsapp-float {
    right: 24px;
    bottom: 24px;
    padding: 13px 18px;
  }

  .whatsapp-float-label {
    display: inline;
  }
}

@media (min-width: 900px) {
  .tablet-spotlight {
    padding: 32px 0 80px;
  }

  .tablet-spotlight-card {
    grid-template-columns: 1.05fr 1fr;
    gap: 44px;
    padding: 44px;
  }

  .tablet-bullets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
  }

  .tablet-cta-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .tablet-cta-row .btn {
    width: auto;
  }
}

/* ==========================================================================
   NAVBAR RESPONSIVA
   Desktop completo so' a partir de 1200px: abaixo disso o menu vira hamburguer
   para os links nao comprimirem nem quebrarem linha ao lado da marca.
   ========================================================================== */
@media (min-width: 1200px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: clamp(10px, 0.9vw, 18px);
    list-style: none;
    flex-wrap: nowrap;
  }

  .header-desktop-btn {
    display: inline-flex;
  }

  .mobile-menu-btn {
    display: none;
  }
}

/* Cabecalho um pouco mais largo que o conteudo: da' folga ao menu em idiomas
   com rotulos longos (italiano, espanhol, romeno) sem desalinhar a pagina */
@media (min-width: 1280px) {
  .site-header .container {
    max-width: 1280px;
  }
}

/* Notebook e tablet paisagem: hamburguer, mas a CTA principal continua visivel */
@media (min-width: 769px) and (max-width: 1199px) {
  .header-desktop-btn.btn-primary {
    display: inline-flex;
  }
}

/* Telas estreitas: marca e seletor de idioma nao podem se sobrepor */
@media (max-width: 360px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-container {
    gap: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo-img {
    height: 26px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-tag {
    display: none;
  }

  .lang-btn {
    padding: 6px 8px;
    gap: 4px;
  }

  .nav-actions {
    gap: 6px;
  }
}

/* Ancoras nao ficam escondidas atras do header sticky */
section[id] {
  scroll-margin-top: 88px;
}

@media (prefers-reduced-motion: reduce) {
  .tablet-spotlight-card::before,
  .tablet-spotlight-visual::before,
  .tablet-photo-wrap,
  .tablet-photo-wrap::after,
  .tablet-stamp,
  .whatsapp-float,
  .whatsapp-float-pulse,
  .badge-dot {
    animation: none !important;
  }

  .reveal-ready {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


