*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  color-scheme: dark;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background: var(--bg-base);
  color: var(--text-primary);
}

#root {
  min-height: 100vh;
}

/* ================================================================
   FireMonitor — Premium Design System
   Dark mode, glassmorphism, fire-themed palette
   ================================================================ */

:root {
  /* ── Core palette (fire-themed) ─────────────── */
  --fire-300: #fdba74;
  --fire-400: #fb923c;
  --fire-500: #f97316;
  --fire-600: #ea580c;
  --ember-500: #ef4444;
  --ember-600: #dc2626;
  --safe-400: #4ade80;
  --safe-500: #22c55e;
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;
  --purple-500: #a855f7;

  /* ── Surface (dark + subtle orange tint, no blue) ───── */
  --bg-base: #0a0a0c;
  --bg-base-gradient: linear-gradient(165deg, #0a0a0c 0%, #100c0a 35%, #0d0a09 70%, #0a0a0c 100%);
  --bg-primary: #0e0e10;
  --bg-primary-gradient: linear-gradient(180deg, #0e0e10 0%, #120e0a 50%, #0e0e10 100%);
  --bg-raised: rgba(255, 255, 255, 0.04);
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-elevated: rgba(6, 6, 8, 0.94);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.08);

  /* ── Text ──────────────── */
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-tertiary: #52525b;

  /* ── Borders ────────────── */
  --border-default: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.1);

  /* ── Radius ─────────────── */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 9999px;

  /* ── Shadows ────────────── */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.25);

  /* ── Accent ─────────────── */
  --accent: var(--fire-500);
  --accent-glow: rgba(249, 115, 22, 0.2);

  /* ── Typography ─────────── */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, monospace;
  --font-display: var(--font-body);

  /* Type scale shared with the authenticated app (task 007). */
  --text-2xs: 10px;
  --text-xs: 11px;
  --text-sm: 12px;
  --text-md: 13px;
  --text-base: 14px;
  --text-lg: 16px;
  --text-xl: 18px;
  --text-2xl: 20px;
  --text-3xl: 24px;
  --text-4xl: 28px;
  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-normal: 1.45;
  --leading-relaxed: 1.6;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;
  --weight-black: 900;

  /* Spacing scale shared with the authenticated app (task 007). */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 64px;

  /* Semantic surfaces: flat for content, glass only when floating. */
  --surface-flat: #101012;
  --surface-subtle: #141416;
  --surface-floating: rgba(14, 14, 16, 0.88);
  --focus-ring: 0 0 0 3px rgba(249, 115, 22, 0.24);
}
.firemonitor-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #fff;
}

.firemonitor-logo__mark {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 18px rgba(249, 115, 22, 0.2));
}

.firemonitor-logo__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.firemonitor-logo__name {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.firemonitor-logo__subtitle {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: rgba(253, 186, 116, 0.9);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.firemonitor-logo--compact .firemonitor-logo__mark {
  width: 24px;
  height: 24px;
}

.firemonitor-logo--compact .firemonitor-logo__name {
  font-size: 15px;
}

/* ================================================================
   Landing Page — Professional redesign
   ================================================================ */

.lp-gradient {
  background: linear-gradient(135deg, var(--fire-400), var(--ember-500));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lp {
  --lp-nav-h: 64px;
  height: 100vh;
  height: 100svh;
  background: var(--bg-base-gradient);
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y proximity;
  scroll-padding-top: var(--lp-nav-h);
  scroll-behavior: smooth;
}

/* Reveal-on-scroll — only when JS is live (lp--ready), so the prerendered
   page never hides content. */
.lp--ready .lp-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.lp--ready .lp-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .lp { scroll-behavior: auto; }
  .lp--ready .lp-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Buttons (scoped to LP) ──────────────────────────────────────── */

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: color 180ms, background 180ms, border-color 180ms, box-shadow 180ms, transform 180ms;
  white-space: nowrap;
}

.lp-btn-primary {
  background: linear-gradient(135deg, var(--brand-primary, var(--fire-500)), var(--fire-600));
  color: #fff;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.18), inset 0 1px rgba(255, 255, 255, 0.16);
}
.lp-btn-primary:hover {
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.28), inset 0 1px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.lp-btn-outline {
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.lp-btn-outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--fire-400);
  color: var(--fire-400);
}

.lp-btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}
.lp-btn-ghost:hover { color: var(--text-primary); }

.lp-btn:focus-visible,
.lp-nav-link:focus-visible,
.lp-dot:focus-visible,
.language-switcher__trigger:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.lp-btn-lg { min-height: 50px; padding: 13px 26px; font-size: var(--text-lg); border-radius: var(--radius-lg); }
.lp-btn-block { display: flex; width: 100%; }

/* ── Nav ─────────────────────────────────────────────────────────── */

.lp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface-floating);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  border-bottom: 1px solid var(--border-default);
}

/* ember strip across the very top */
.lp-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 12%, var(--fire-600), var(--fire-400), transparent 88%);
  opacity: 0.65;
}

.lp-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  height: var(--lp-nav-h, 64px);
  box-sizing: border-box;
  padding: 0 var(--space-8);
}

.lp-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 0.15s;
}

a.lp-nav-brand:hover {
  opacity: 0.9;
}

.lp-nav-links {
  display: flex;
  gap: 8px;
}

.lp-nav-link {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 150ms, background 150ms;
  text-decoration: none;
}
.lp-nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }

.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lp-nav-actions .language-switcher { margin-right: 4px; }

.lp-nav-login {
  flex-shrink: 0;
  font-weight: 600;
}

/* Language switcher (landing + app) */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Dropdown variant */
.language-switcher--dropdown {
  position: relative;
}

.language-switcher__trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
  transition: color 150ms, background 150ms, border-color 150ms;
}

.language-switcher__trigger:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-strong);
}

.language-switcher-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  font-size: 14px;
  line-height: 1;
}

.language-switcher-code {
  letter-spacing: 0.04em;
}


.language-switcher-chevron {
  opacity: 0.7;
  transition: transform 180ms;
}

.language-switcher-chevron.open {
  transform: rotate(180deg);
}

.language-switcher__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 140px;
  padding: 6px;
  background: var(--bg-elevated);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.language-switcher__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  text-decoration: none;
  transition: color 150ms, background 150ms;
}

.language-switcher__item:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.language-switcher__item.active {
  color: var(--fire-400);
  background: rgba(249, 115, 22, 0.12);
}

.language-switcher__label {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-tertiary);
}

.language-switcher--minimal .language-switcher__trigger {
  padding: 4px 8px;
  font-size: 12px;
}

.language-switcher--minimal .language-switcher__menu {
  min-width: 120px;
  left: 0;
  right: auto;
}

.language-switcher__pill {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
  transition: color 150ms, background 150ms, border-color 150ms;
}

.language-switcher__pill:hover {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.08);
}

.language-switcher__pill--active {
  color: var(--fire-400);
  background: rgba(249, 115, 22, 0.1);
  border-color: rgba(249, 115, 22, 0.25);
}

/* ── Hero ────────────────────────────────────────────────────────── */

.lp-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--lp-nav-h, 64px));
  min-height: calc(100svh - var(--lp-nav-h, 64px));
  box-sizing: border-box;
  scroll-snap-align: start;
  padding: var(--space-10) var(--space-8) 88px;
  overflow: hidden;
}

.lp-hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.18;
}

.lp-hero-glow, .lp-hero-content, .lp-stats {
  position: relative;
  z-index: 1;
}

/* film grain + vignette over the bg video, under the content */
.lp-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 10, 12, 0.12), rgba(10, 10, 12, 0.72)),
    radial-gradient(ellipse 120% 90% at 50% 40%, transparent 48%, rgba(5, 4, 3, 0.72)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

.lp-hero-glow {
  display: none;
}

.lp-hero-content {
  position: relative;
  text-align: center;
  max-width: 880px;
  margin-bottom: var(--space-9);
}

.lp-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.2);
  color: var(--fire-300);
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-6);
  animation: lpFadeUp 600ms both;
}

.lp-hero-title {
  max-width: 860px;
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 68px);
  font-weight: var(--weight-black);
  line-height: 1.02;
  color: var(--text-primary);
  letter-spacing: -0.045em;
  margin: 0 auto var(--space-5);
  animation: lpFadeUp 600ms 80ms both;
}

.lp-hero-sub {
  font-size: clamp(var(--text-lg), 1.7vw, var(--text-xl));
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 680px;
  margin: 0 auto var(--space-7);
  animation: lpFadeUp 600ms 160ms both;
}

.lp-hero-integration {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 24px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  animation: lpFadeUp 600ms 200ms both;
}
.lp-hero-integration strong { color: var(--fire-400); }

.lp-hero-cta {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
  animation: lpFadeUp 600ms 240ms both;
}

.lp-hero-note {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  opacity: 0.72;
  animation: lpFadeUp 600ms 320ms both;
}

.lp-hero-auth-hint {
  margin: 10px 0 0;
  font-size: var(--text-md);
  color: var(--text-secondary);
  animation: lpFadeUp 600ms 360ms both;
}

.lp-hero-auth-link {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  color: var(--fire-400);
  font-size: inherit;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lp-hero-auth-link:hover {
  color: var(--fire-300);
}

.lp-spin { animation: spin 700ms linear infinite; }
.lp-hero-error {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ember-500);
}

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

/* ── Stats ────────────────────────────────────────────────────────── */

.lp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  gap: 0;
  background: var(--surface-flat);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 800px;
  width: 100%;
  animation: lpFadeUp 600ms 400ms both;
}

.lp-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-5) var(--space-4);
  background: transparent;
  border-right: 1px solid var(--border-default);
}

.lp-stat:last-child { border-right: 0; }

.lp-stat-icon { color: var(--fire-400); opacity: 0.7; }

.lp-stat-value {
  font-size: var(--text-3xl);
  font-weight: var(--weight-extrabold);
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.lp-stat-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  opacity: 0.72;
}

/* ── Scroll hint ─────────────────────────────────────────────────── */
/* Ancorado ao rodapé do hero (position:relative). Sem esta base o hint caía
   no fluxo normal, colado nos stats. */
.lp-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 8px;
  animation: lp-bounce 2s ease infinite;
  z-index: 2;
  transition: color 0.2s;
}
.lp-scroll-hint:hover { color: rgba(255, 255, 255, 0.9); }

@keyframes lp-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── WhatsApp alerts section ───────────────────────────────────── */
.lp-whatsapp {
  position: relative;
  overflow: hidden;
}

.lp-whatsapp::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 68%);
}

.lp-whatsapp-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  gap: var(--space-10);
  align-items: center;
}

.lp-section .lp-whatsapp-copy .lp-section-pill,
.lp-section .lp-whatsapp-copy .lp-section-title,
.lp-section .lp-whatsapp-copy .lp-section-sub {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.lp-section .lp-whatsapp-copy .lp-section-pill {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.22);
  color: var(--safe-500);
}

.lp-section .lp-whatsapp-copy .lp-section-sub {
  max-width: 580px;
  margin-bottom: 28px;
}

.lp-whatsapp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lp-whatsapp-panel {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(180px, 1fr);
  gap: 18px;
  align-items: end;
}

.lp-whatsapp-phone {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  padding: 12px;
  background: linear-gradient(180deg, #121714, #080b0c);
  box-shadow: var(--shadow-lg);
}

.lp-whatsapp-phone__bar,
.lp-whatsapp-message__head,
.lp-whatsapp-message__cta,
.lp-whatsapp-benefits div {
  display: flex;
  align-items: center;
}

.lp-whatsapp-phone__bar {
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  padding: 0 8px 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.lp-whatsapp-phone__bar span {
  width: 52px;
  height: 5px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.16);
}

.lp-whatsapp-phone__bar svg {
  color: var(--safe-500);
}

.lp-whatsapp-message {
  overflow: hidden;
  border-radius: 20px;
  background: #f5fff8;
  color: #143626;
}

.lp-whatsapp-message__head {
  gap: 8px;
  padding: 14px 16px;
  background: #d9f8e5;
  color: #0d5c35;
}

.lp-whatsapp-message img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.lp-whatsapp-message__body {
  padding: 14px 16px 8px;
}

.lp-whatsapp-message__body p {
  margin: 0 0 7px;
  font-size: 13px;
  line-height: 1.45;
}

.lp-whatsapp-message__cta {
  justify-content: center;
  gap: 7px;
  margin: 8px 16px 16px;
  min-height: 36px;
  border-radius: var(--radius-md);
  background: #16a34a;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.lp-whatsapp-benefits {
  display: grid;
  gap: 12px;
  padding-bottom: 18px;
}

.lp-whatsapp-benefits div {
  gap: 11px;
  padding: 14px;
  border: 1px solid rgba(34, 197, 94, 0.16);
  border-radius: var(--radius-lg);
  background: var(--surface-flat);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.lp-whatsapp-benefits svg {
  flex-shrink: 0;
  color: var(--safe-500);
}

@media (max-width: 980px) {
  .lp-whatsapp-inner,
  .lp-whatsapp-panel {
    grid-template-columns: 1fr;
  }

  .lp-whatsapp-panel {
    max-width: 440px;
    margin: 0 auto;
  }

  .lp-whatsapp-benefits {
    padding-bottom: 0;
  }
}

@media (max-width: 1100px) {
  .lp-nav-links { display: none; }
}

/* ── Sections ────────────────────────────────────────────────────── */

.lp-section {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - var(--lp-nav-h, 64px));
  min-height: calc(100svh - var(--lp-nav-h, 64px));
  box-sizing: border-box;
  background: var(--bg-base);
  scroll-snap-align: start;
  padding: clamp(64px, 8vw, 104px) var(--space-8);
}

.lp-section-alt {
  background: var(--surface-flat);
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
}

.lp-section-inner {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}

.lp-section-pill {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.18);
  color: var(--fire-300);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  text-align: center;
}

.lp-section .lp-section-pill { display: block; width: fit-content; margin-left: auto; margin-right: auto; }

.lp-section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: var(--weight-extrabold);
  color: var(--text-primary);
  text-align: center;
  margin: 0 0 14px;
  letter-spacing: -0.035em;
  line-height: var(--leading-tight);
}

.lp-section-sub {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

/* ── Features ────────────────────────────────────────────────────── */

.lp-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.lp-feature {
  padding: var(--space-6);
  background: var(--surface-flat);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  transition: border-color 220ms, background 220ms, transform 220ms, box-shadow 220ms;
}

.lp-feature:hover {
  border-color: var(--border-strong);
  background: var(--surface-subtle);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.lp-feature-icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.14);
  color: var(--fire-400);
  margin-bottom: 18px;
}

.lp-feature h3 {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  margin: 0 0 10px;
}

.lp-feature p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* ── Capabilities carousel ──────────────────────────────────────── */

.lp-carousel {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lp-carousel__track {
  display: flex;
  gap: var(--space-4);
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* room for the cards' hover lift so it doesn't clip/scroll vertically */
  padding: 8px 2px 12px;
  scrollbar-width: none;
}

.lp-carousel__track::-webkit-scrollbar { display: none; }

.lp-carousel__item {
  flex: 0 0 calc((100% - 3 * var(--space-4)) / 4);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.lp-carousel__arrow {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface-floating);
  backdrop-filter: blur(14px);
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 150ms, border-color 150ms, background 150ms;
}

.lp-carousel__arrow:hover {
  color: var(--fire-400);
  border-color: rgba(249, 115, 22, 0.45);
  background: var(--surface-subtle);
}

@media (max-width: 1000px) {
  .lp-carousel__item { flex-basis: calc((100% - 18px) / 2); }
}

@media (max-width: 640px) {
  .lp-carousel { gap: 0; }
  .lp-carousel__arrow { display: none; }
  .lp-carousel__item { flex-basis: 86%; }
}

/* ── CTA section ──────────────────────────────────────────────────── */

.lp-cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0d0b0a, var(--bg-base));
}

.lp-cta-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.11;
}

.lp-cta-glow, .lp-cta-inner {
  position: relative;
  z-index: 1;
}

.lp-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(760px, 90vw);
  height: 620px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.14), transparent 66%);
  pointer-events: none;
}

.lp-cta-inner {
  position: relative;
  max-width: 780px;
  text-align: center;
}

.lp-cta-flame { color: var(--fire-400); margin: 0 auto var(--space-5); display: block; opacity: 0.9; width: 48px; height: 48px; }

.lp-cta-actions {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Contact ──────────────────────────────────────────────────────── */

.lp-contact-cards {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.lp-contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-8) var(--space-9);
  background: var(--surface-flat);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-secondary);
  transition: border-color 200ms, background 200ms, transform 200ms, box-shadow 200ms;
  min-width: 190px;
}

.lp-contact-card:hover {
  border-color: var(--border-strong);
  background: var(--surface-subtle);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.lp-contact-card svg { color: var(--fire-400); }
.lp-contact-card strong { font-size: var(--text-lg); color: var(--text-primary); }
.lp-contact-card span { font-size: var(--text-base); }

/* ── Contact (last snap section: content centered, footer pinned) ── */

.lp-section--contact {
  padding: 0;
}

.lp-section--contact .lp-section-inner {
  margin: auto;
  padding: clamp(64px, 8vw, 104px) var(--space-8);
  box-sizing: border-box;
}

/* ── Footer ──────────────────────────────────────────────────────── */

.lp-footer {
  width: 100%;
  border-top: 1px solid var(--border-default);
  padding: var(--space-7) var(--space-8);
  box-sizing: border-box;
}

.lp-footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.lp-footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 15px;
}

.lp-footer-brand svg { color: var(--fire-400); }

.lp-footer-links {
  display: flex;
  gap: 6px;
}

.lp-footer-links button {
  background: none;
  border: none;
  color: var(--text-tertiary);
  font-size: 13px;
  font-family: inherit;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 150ms;
}
.lp-footer-links button:hover { color: var(--text-primary); }

.lp-footer-copy {
  font-size: 12px;
  color: var(--text-tertiary);
  opacity: 0.7;
  margin: 0;
}

/* ── Navegação mobile da landing ────────────────────────────────── */

.mobile-bottom-nav {
  display: none;
  position: fixed;
  inset: auto 0 0;
  z-index: 1200;
  min-height: 72px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-sizing: content-box;
  background: var(--surface-floating);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  border-top: 1px solid var(--border-strong);
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.28);
}

.mobile-bottom-nav__button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 56px;
  padding: 8px 6px;
  color: var(--text-secondary);
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.mobile-bottom-nav__icon {
  color: inherit;
  font-size: var(--text-xl);
  line-height: 1;
}

.mobile-bottom-nav__label {
  overflow: hidden;
  max-width: 100%;
  color: inherit;
  font-size: var(--text-2xs);
  font-weight: var(--weight-bold);
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-bottom-nav__button.active {
  color: var(--fire-400);
}

.mobile-bottom-nav__button:focus-visible {
  outline: none;
  box-shadow: inset var(--focus-ring);
}

/* ── Features 3-col variant ─────────────────────────────────────── */

.lp-features--3 {
  grid-template-columns: repeat(3, 1fr);
}

.lp-feature--lg {
  padding: var(--space-8);
}

.lp-feature-icon-wrap--lg {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.16);
  color: var(--fire-400);
  margin-bottom: 22px;
}

.lp-feature--lg h3 {
  font-size: var(--text-xl);
  margin-bottom: 12px;
}

.lp-feature--lg p {
  font-size: var(--text-lg);
  line-height: 1.7;
}

/* ── Showcase section ───────────────────────────────────────────── */

.lp-section--showcase {
  padding-bottom: 0;
  overflow: hidden;
}

.lp-section-inner--wide {
  max-width: 1200px;
}

.lp-showcase-glow-wrap {
  position: relative;
  padding-bottom: 0;
}

.lp-showcase-glow {
  display: none;
}

/* ── Section dots (snap navigation) ─────────────────────────────── */

.lp-dots {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 90;
}

.lp-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: background 200ms, border-color 200ms, height 250ms, transform 200ms;
}

.lp-dot:hover {
  border-color: var(--fire-400);
  transform: scale(1.25);
}

.lp-dot.active {
  height: 26px;
  background: var(--fire-400);
  border-color: var(--fire-400);
  transform: none;
  box-shadow: none;
}

@media (max-width: 1100px) {
  .lp-dots { display: none; }
}

/* ── Short viewports: compact sections so each still fits one screen ── */

@media (max-height: 820px) {
  .lp-hero-title { font-size: 46px; }
  .lp-hero-pill { margin-bottom: 16px; }
  .lp-hero-content { margin-bottom: 26px; }
  .lp-section-title { font-size: 32px; }
  .lp-section-sub { margin-bottom: 28px; }
  .lp-feature { padding: 18px; }
  .lp-feature-icon-wrap { width: 42px; height: 42px; margin-bottom: 12px; }
  .lp-feature--lg { padding: 26px 24px; }
  .lp-stat { padding: 14px 16px; }
}

.lp-showcase-glow-wrap > .lp-showcase {
  position: relative;
  z-index: 1;
}

/* ── App Showcase Tabs + Layout ─────────────────────────────────── */

.lp-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.lp-showcase__tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-default);
  border-radius: 10px;
}

.lp-showcase__tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 150ms;
}

.lp-showcase__tab:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}

.lp-showcase__tab--active {
  background: rgba(255,255,255,0.07);
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.lp-showcase__devices {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  justify-content: center;
  width: 100%;
}

/* ── Desktop mock frame ─────────────────────────────────────────── */

.lp-mock-desktop {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 40px 80px rgba(0,0,0,0.55),
    0 10px 28px rgba(0,0,0,0.35);
  width: 700px;
  max-width: 100%;
  background: var(--bg-primary);
  flex-shrink: 0;
}

.lp-mock-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  height: 36px;
  background: rgba(255,255,255,0.035);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.lp-mock-chrome__dots {
  display: flex;
  gap: 5px;
}

.lp-mock-chrome__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.lp-mock-chrome__bar {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 5px;
  padding: 3px 12px;
  font-size: 11px;
  color: var(--text-tertiary);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-mock-shell {
  display: flex;
  height: 380px;
  overflow: hidden;
}

/* ── Sidebar ────────────────────────────────────────────────────── */

.lp-mock-sidebar {
  width: 158px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.015);
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lp-mock-sidebar__brand {
  padding: 0 6px 12px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  pointer-events: none;
}

.lp-mock-sidebar__brand .firemonitor-logo { transform: scale(0.85); transform-origin: left; }

.lp-mock-sidebar__item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
  transition: background 150ms, color 150ms;
  user-select: none;
}

.lp-mock-sidebar__item--clickable {
  cursor: pointer;
}

.lp-mock-sidebar__item--clickable:hover:not(.lp-mock-sidebar__item--active) {
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
}

.lp-mock-sidebar__item--active {
  background: rgba(249,115,22,0.1);
  color: var(--fire-400);
}

/* ── Main content ───────────────────────────────────────────────── */

.lp-mock-main {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.lp-mock-content {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* ── Status bar ─────────────────────────────────────────────────── */

.lp-mock-statusbar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.lp-mock-statusbar--ok {
  background: rgba(34,197,94,0.06);
  border: 1px solid rgba(34,197,94,0.14);
  color: var(--safe-400);
}

.lp-mock-statusbar__right {
  margin-left: auto;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-tertiary);
  font-size: 10px;
}

/* ── Status dot ─────────────────────────────────────────────────── */

.lp-mock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.lp-mock-dot--on {
  background: var(--safe-400);
  box-shadow: 0 0 6px rgba(74,222,128,0.5);
  animation: lp-mock-pulse 2s ease-in-out infinite;
}

.lp-mock-dot--off {
  background: var(--text-tertiary);
  opacity: 0.5;
}

@keyframes lp-mock-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* ── KPIs ───────────────────────────────────────────────────────── */

.lp-mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  flex-shrink: 0;
}

.lp-mock-kpi {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid var(--border-default);
  background: rgba(255,255,255,0.02);
}

.lp-mock-kpi__icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lp-mock-kpi--green .lp-mock-kpi__icon { background: rgba(34,197,94,0.12); color: var(--safe-400); }
.lp-mock-kpi--orange .lp-mock-kpi__icon { background: rgba(249,115,22,0.12); color: var(--fire-400); }
.lp-mock-kpi--blue .lp-mock-kpi__icon { background: rgba(14,165,233,0.12); color: var(--sky-400); }

.lp-mock-kpi__value {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.lp-mock-kpi__label {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Alert banner ───────────────────────────────────────────────── */

.lp-mock-alert-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(249,115,22,0.22);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(249,115,22,0.09), rgba(255,255,255,0.02));
  flex-shrink: 0;
}

.lp-mock-alert-banner--clickable {
  width: 100%;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 180ms, background 180ms, transform 180ms;
}

.lp-mock-alert-banner--clickable:hover {
  border-color: rgba(249,115,22,0.45);
  background: linear-gradient(135deg, rgba(249,115,22,0.14), rgba(255,255,255,0.03));
  transform: translateY(-1px);
}

.lp-mock-alert-banner__icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(249,115,22,0.12);
  color: var(--fire-400);
  flex-shrink: 0;
}

.lp-mock-alert-banner__body {
  flex: 1;
  min-width: 0;
}

.lp-mock-alert-banner__eyebrow {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fire-400);
  margin-bottom: 2px;
}

.lp-mock-alert-banner__title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-mock-alert-banner__meta {
  font-size: 10px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

/* ── Badges ─────────────────────────────────────────────────────── */

.lp-mock-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.lp-mock-badge--critical { background: rgba(239,68,68,0.14); color: var(--ember-500); border: 1px solid rgba(239,68,68,0.18); }
.lp-mock-badge--medium { background: rgba(249,115,22,0.12); color: var(--fire-400); border: 1px solid rgba(249,115,22,0.18); }
.lp-mock-badge--low { background: rgba(234,179,8,0.1); color: #eab308; border: 1px solid rgba(234,179,8,0.14); }
.lp-mock-badge--fire { background: rgba(249,115,22,0.1); color: var(--fire-400); border: 1px solid rgba(249,115,22,0.16); }
.lp-mock-badge--ok { background: rgba(34,197,94,0.12); color: var(--safe-400); border: 1px solid rgba(34,197,94,0.2); }

/* ── Camera feeds ───────────────────────────────────────────────── */

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

.lp-mock-feed {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  background: rgba(255,255,255,0.018);
}

.lp-mock-feed--clickable {
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms, background 180ms;
}

.lp-mock-feed--clickable:hover {
  border-color: var(--border-strong);
  background: rgba(255,255,255,0.04);
}

.lp-mock-feed--selected,
.lp-mock-feed--selected:hover {
  border-color: rgba(249,115,22,0.45);
  background: rgba(249,115,22,0.05);
}

.lp-mock-feed__live {
  position: absolute;
  bottom: 4px;
  left: 5px;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(239, 68, 68, 0.85);
}

.lp-mock-feed__thumb {
  position: relative;
  height: 52px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
}

.lp-mock-feed__thumb .lp-mock-dot {
  position: absolute;
  top: 5px;
  right: 5px;
}

.lp-mock-feed__name {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-mock-feed__tag {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lp-mock-feed__tag--on { color: var(--safe-400); }

/* ── Map view ───────────────────────────────────────────────────── */

.lp-mock-map-view {
  padding: 0 !important;
  gap: 0 !important;
  height: 100%;
}

.lp-mock-map-svg {
  width: 100%;
  flex: 1;
  display: block;
  min-height: 0;
  height: calc(100% - 40px);
}

.lp-mock-alert-pulse {
  animation: lp-alert-pulse 1.6s ease-in-out infinite;
}

@keyframes lp-alert-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.lp-mock-alert-ring {
  animation: lp-alert-ring 2.2s ease-out infinite;
}

@keyframes lp-alert-ring {
  0% { opacity: 0.7; }
  100% { opacity: 0; }
}

.lp-mock-map-legend {
  display: flex;
  gap: 18px;
  padding: 8px 14px;
  height: 40px;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.25);
  flex-shrink: 0;
}

.lp-mock-map-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--text-tertiary);
  font-weight: 600;
}

.lp-mock-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.lp-mock-legend-dot--green { background: #22c55e; }
.lp-mock-legend-dot--orange { background: #f97316; }
.lp-mock-legend-dot--region { background: rgba(249,115,22,0.28); border: 1px dashed rgba(249,115,22,0.5); }

/* ── Alerts view ────────────────────────────────────────────────── */

.lp-mock-alerts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 2px 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.lp-mock-filters {
  display: flex;
  gap: 4px;
}

.lp-mock-filter {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-tertiary);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-default);
  cursor: pointer;
  transition: color 150ms, border-color 150ms, background 150ms;
}

.lp-mock-filter:hover {
  color: var(--text-secondary);
  border-color: var(--border-strong);
}

.lp-mock-filter--on,
.lp-mock-filter--on:hover {
  color: var(--fire-400);
  border-color: rgba(249,115,22,0.35);
  background: rgba(249,115,22,0.08);
}

.lp-mock-alert-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border-default);
  border-radius: 9px;
  background: rgba(255,255,255,0.018);
  flex-shrink: 0;
}

.lp-mock-alert-row--clickable {
  width: 100%;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 180ms, background 180ms, transform 180ms;
}

.lp-mock-alert-row--clickable:hover {
  background: rgba(255,255,255,0.045);
  transform: translateY(-1px);
}

.lp-mock-alert-row--critical { border-color: rgba(239,68,68,0.2); }
.lp-mock-alert-row--medium { border-color: rgba(249,115,22,0.18); }

.lp-mock-alert-row__thumb {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lp-mock-alert-row__thumb--critical { background: rgba(239,68,68,0.12); color: var(--ember-500); }
.lp-mock-alert-row__thumb--medium { background: rgba(249,115,22,0.1); color: var(--fire-400); }
.lp-mock-alert-row__thumb--low { background: rgba(234,179,8,0.08); color: #eab308; }

.lp-mock-alert-row__body {
  flex: 1;
  min-width: 0;
}

.lp-mock-alert-row__title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-mock-alert-row__meta {
  font-size: 10px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

/* ── Phone mock frame ───────────────────────────────────────────── */

.lp-mock-phone {
  width: 188px;
  height: 372px;
  border-radius: 36px;
  border: 2px solid rgba(255,255,255,0.13);
  background: rgba(9,9,12,0.97);
  box-shadow:
    0 28px 60px rgba(0,0,0,0.5),
    inset 0 0 0 1px rgba(255,255,255,0.035);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.lp-mock-phone__notch {
  width: 64px;
  height: 22px;
  background: rgba(9,9,12,0.97);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 0 0 14px 14px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.lp-mock-phone__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 28px 10px 0;
  overflow: hidden;
}

.lp-mock-phone__topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 2px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 9px;
}

.lp-mock-phone__topbar .lp-mock-dot { margin-left: auto; }

.lp-mock-phone__kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 9px;
}

.lp-mock-phone-kpi {
  padding: 9px 8px;
  border-radius: 9px;
  border: 1px solid var(--border-default);
  background: rgba(255,255,255,0.02);
}

.lp-mock-phone-kpi--green { border-color: rgba(34,197,94,0.18); }
.lp-mock-phone-kpi--orange { border-color: rgba(249,115,22,0.18); }

.lp-mock-phone-kpi__val {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.lp-mock-phone-kpi--green .lp-mock-phone-kpi__val { color: var(--safe-400); }
.lp-mock-phone-kpi--orange .lp-mock-phone-kpi__val { color: var(--fire-400); }

.lp-mock-phone-kpi__lbl {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lp-mock-phone__alert {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 9px 10px;
  border: 1px solid rgba(249,115,22,0.22);
  border-radius: 10px;
  background: rgba(249,115,22,0.07);
  margin-bottom: 9px;
}

.lp-mock-phone__alert-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.lp-mock-phone__alert-meta {
  font-size: 9px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.lp-mock-phone__feed-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: auto;
}

.lp-mock-phone__feed {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lp-mock-phone__feed-thumb {
  height: 44px;
  background: rgba(255,255,255,0.04);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  border: 1px solid rgba(255,255,255,0.06);
}

.lp-mock-phone__feed-name {
  font-size: 9px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-mock-phone__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.07);
  background: rgba(0,0,0,0.3);
  padding: 8px 4px 12px;
  margin-top: 8px;
}

.lp-mock-phone__nav-item {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  color: var(--text-tertiary);
}

.lp-mock-phone__nav-item--active {
  color: var(--fire-400);
}

/* ── Map chips (satellite/wind layers) ──────────────────────────── */

.lp-mock-map-chips {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lp-mock-map-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: rgba(9,9,12,0.85);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-tertiary);
  cursor: pointer;
  transition: color 150ms, border-color 150ms;
}

.lp-mock-map-chip:hover {
  border-color: rgba(255,255,255,0.25);
  color: var(--text-secondary);
}

.lp-mock-map-chip--on,
.lp-mock-map-chip--on:hover {
  border-color: rgba(125,211,252,0.3);
  color: var(--sky-400, #38bdf8);
}

.lp-mock-map-alert {
  cursor: pointer;
}

.lp-mock-map-alert:hover circle,
.lp-mock-map-alert:focus-visible circle {
  filter: brightness(1.2);
}

/* ── Alert detail mock ──────────────────────────────────────────── */

.lp-mock-detail-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(239,68,68,0.2);
  background: rgba(239,68,68,0.05);
  font-size: 11px;
  color: var(--text-primary);
  transition: border-color 250ms, background 250ms;
}

.lp-mock-detail-head--resolved {
  border-color: rgba(34,197,94,0.25);
  background: rgba(34,197,94,0.05);
}

.lp-mock-detail-head strong {
  flex: 1;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-mock-detail-head__conf {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--fire-400);
  flex-shrink: 0;
}

.lp-mock-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
  min-height: 0;
}

.lp-mock-detail-snapshot {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 0;
}

.lp-mock-detail-snapshot__frame {
  position: relative;
  flex: 1;
  border-radius: 10px;
  background:
    radial-gradient(ellipse 70% 50% at 60% 40%, rgba(148,163,184,0.13), transparent 70%),
    linear-gradient(180deg, #181c22 0%, #0e1014 100%);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  overflow: hidden;
}

.lp-mock-detail-snapshot__bbox {
  position: absolute;
  top: 22%;
  left: 48%;
  width: 34%;
  height: 38%;
  border: 1.5px solid rgba(249,115,22,0.85);
  border-radius: 4px;
  box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
  transition: border-color 250ms, box-shadow 250ms;
}

.lp-mock-detail-snapshot__bbox--resolved {
  border-color: rgba(34,197,94,0.8);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.12);
}

.lp-mock-detail-snapshot__tag {
  position: absolute;
  top: calc(22% - 16px);
  left: 48%;
  font-size: 8.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fire-400);
}

.lp-mock-detail-snapshot__cam {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--text-tertiary);
}

.lp-mock-detail-map {
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.07);
  width: 100%;
  height: 100%;
}

.lp-mock-detail-actions {
  display: flex;
  gap: 7px;
}

.lp-mock-detail-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 9.5px;
  font-weight: 700;
  font-family: inherit;
  border: 1px solid var(--border-default);
  background: rgba(255,255,255,0.03);
  color: var(--text-secondary);
  transition: color 150ms, border-color 150ms, background 150ms;
}

button.lp-mock-detail-action {
  cursor: pointer;
}

button.lp-mock-detail-action:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: rgba(255,255,255,0.06);
}

.lp-mock-detail-action--done,
button.lp-mock-detail-action--done:hover {
  border-color: rgba(34,197,94,0.3);
  color: var(--safe-400);
  background: rgba(34,197,94,0.08);
}

.lp-mock-detail-action--wa {
  border-color: rgba(34,197,94,0.22);
  color: var(--safe-400);
  background: rgba(34,197,94,0.06);
}

/* ── Reports mock ───────────────────────────────────────────────── */

.lp-mock-report-chart {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-default);
  background: rgba(255,255,255,0.02);
  min-height: 0;
}

.lp-mock-report-chart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.lp-mock-report-chart__title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
}

.lp-mock-report-chart svg {
  flex: 1;
  width: 100%;
  min-height: 0;
}

.lp-mock-report-bar {
  transition: fill 200ms;
}

.lp-mock-report-bar:hover {
  fill: rgba(249,115,22,0.9);
}

.lp-mock-report-footer {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(125,211,252,0.18);
  background: rgba(125,211,252,0.05);
  font-size: 10px;
  font-weight: 600;
  color: var(--sky-400, #38bdf8);
}

/* ── Interactive hint ───────────────────────────────────────────── */

.lp-showcase__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-tertiary);
  text-align: center;
  margin: 14px 0 0;
}

.lp-showcase__hint svg {
  color: var(--fire-400);
  flex-shrink: 0;
}

/* ── Responsive showcase ────────────────────────────────────────── */

@media (max-width: 1000px) {
  .lp-mock-desktop { width: 100%; }
  .lp-mock-phone { display: none; }
  .lp-showcase__devices { flex-direction: column; align-items: center; }
}

@media (max-width: 640px) {
  .lp-mock-shell { height: 340px; }
  .lp-mock-sidebar { width: 44px; }
  .lp-mock-sidebar__item span { display: none; }
  .lp-mock-sidebar__brand { display: none; }
  .lp-features--3 { grid-template-columns: 1fr; }
  .lp-mock-detail-grid { grid-template-columns: 1fr; }
  .lp-mock-detail-map { display: none; }
  .lp-mock-alerts-header { flex-wrap: wrap; }
}

/* ── LP responsive ───────────────────────────────────────────────── */

@media (max-width: 900px) {
  /* On phones the sections often grow taller than the viewport, so a
     mandatory snap would fight the user's scroll — relax it to proximity. */
  /* Nav agora tem duas linhas no mobile (logo/ações + links), então o hero
     desconta a altura maior para não vazar a primeira dobra. */
  .lp { scroll-snap-type: y proximity; --lp-nav-h: 104px; }
  .lp-hero { padding: 32px 20px 72px; }
  .lp-hero-title { font-size: 36px; letter-spacing: -1px; }
  .lp-hero-sub { font-size: 16px; }
  .lp-nav-inner {
    flex-wrap: wrap;
    height: auto;
    min-height: 60px;
    padding: 8px 20px;
    row-gap: 6px;
  }
  /* Sem a tab bar fixa, os links de seção voltam ao topo como segunda linha. */
  .lp-nav-links {
    display: flex;
    order: 3;
    flex-basis: 100%;
    justify-content: center;
    gap: 4px;
    padding-top: 6px;
    border-top: 1px solid var(--border-default);
  }
  .lp-nav-link { font-size: 13px; padding: 5px 12px; }
  /* The secondary nav buttons overflow off-screen on phones; the hero CTAs
     already cover demo/login, so collapse the top-right actions to the language
     switcher + primary "create account" CTA. */
  .lp-nav-actions { gap: 8px; }
  .lp-nav-actions .lp-btn-ghost,
  .lp-nav-actions .lp-nav-login { display: none; }
  .lp-nav-actions .language-switcher { margin-right: 0; }
  .lp-stats { grid-template-columns: repeat(2, 1fr); }
  .lp-section { padding: 48px 20px; }
  .lp-section--contact { padding: 0; }
  .lp-section--contact .lp-section-inner { padding: 48px 20px; }
  .lp-section-title { font-size: 28px; }
  .lp-section .lp-whatsapp-copy .lp-section-title,
  .lp-section .lp-whatsapp-copy .lp-section-sub,
  .lp-section .lp-whatsapp-copy .lp-section-pill {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .lp-whatsapp-actions { justify-content: center; }
  .lp-features { grid-template-columns: 1fr; }
  .lp-footer-inner { flex-direction: column; text-align: center; }
  .lp-footer-links { justify-content: center; }
  .lp-contact-cards { flex-direction: column; align-items: center; }
}

@media (max-width: 768px) {
  /* Landing sem a tab bar fixa (padrão de app): a classe fica (o check exige),
     mas não é exibida. Sem a nav, some a folga que reservávamos para ela. */
  .mobile-bottom-nav { display: none; }
  .lp-whatsapp-actions .lp-btn {
    width: 100%;
  }
}

/* Static landing overrides: keeps the original visual system but removes React/Vite assumptions. */
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
.ico { display: inline-block; width: 1.1em; height: 1.1em; line-height: 1; flex: 0 0 auto; vertical-align: -0.16em; stroke: currentColor; fill: none; }
.lp-feature-icon-wrap .ico { font-size: 24px; }
.lp-feature-icon-wrap--lg .ico { font-size: 30px; }
.lp-stat-icon.ico { font-size: 20px; }
.lp-mock-map-chip:not(.lp-mock-map-chip--on) { opacity: .55; }
.lp-mock-report-chart svg { width: 100%; height: 80px; }
.lp-contact-card .ico, .lp-cta-flame.ico { color: var(--fire-400); }
.mobile-bottom-nav__button { font-family: inherit; }
.lp-nav-brand { text-decoration: none; color: inherit; }
.lp-showcase__tab, .lp-mock-feed, .lp-mock-alert-banner, .lp-mock-alert-row, .lp-mock-map-chip, .lp-mock-filter, .lp-mock-detail-action { font-family: inherit; }
.lp-lang-link { text-decoration: none; }
.lp-noscript { font-family: system-ui; color: #fca5a5; text-align: center; padding: 12px; background: rgba(239,68,68,.12); border-top: 1px solid rgba(239,68,68,.35); }
.lp-noscript a { color: #fb923c; }
@media (max-width: 768px) {
  .lp { padding-bottom: 74px; }
}

/* Static build asset parity: real public assets + inline lucide SVG icons. */
.ico[fill="none"] { fill: none; }
.lucide [fill="currentColor"] { stroke: none; }
.lp-hero-bg-video, .lp-cta-bg-video { background: #0a0a0c; }

/* v5 minimal fixes: language selector visual parity + accessible skip link, no layout rewrite. */
.lp-skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  color: var(--text-primary);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.lp-skip-link:focus { transform: translateY(0); }
.language-switcher__trigger { min-height: 34px; }
.language-switcher-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35em;
  min-width: 1.35em;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 16px;
  line-height: 1;
}
.language-switcher-code {
  min-width: 20px;
  letter-spacing: 0.04em;
  line-height: 1;
}
.language-switcher-chevron {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  opacity: 0.75;
  transition: transform 180ms, opacity 180ms;
}
.language-switcher__trigger:hover .language-switcher-chevron { opacity: 1; }
.language-switcher-chevron.open { transform: rotate(180deg); }
.language-switcher__item { text-decoration: none; }
.language-switcher__item .language-switcher__label { margin-left: auto; }
.lp-cta-flame.ico {
  width: 48px;
  height: 48px;
}
.lp-footer-links a {
  color: var(--text-tertiary);
  font-size: 13px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: color 150ms;
}
.lp-footer-links a:hover { color: var(--text-primary); }


/* v6 language selector parity patch: flags + Lucide chevron, without layout changes. */
.language-switcher__trigger {
  white-space: nowrap;
}
.language-switcher__trigger .language-switcher-flag,
.language-switcher__item .language-switcher-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  min-width: 18px;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 14px;
  line-height: 1;
}
.language-switcher__trigger .language-switcher-code,
.language-switcher__item .language-switcher-code {
  display: inline-flex;
  align-items: center;
  min-width: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}
.language-switcher-chevron {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: currentColor;
}
.language-switcher__menu .language-switcher__label {
  margin-left: auto;
}

/* real-screenshot showcase */
.lp-mock-screens{position:relative;width:100%;height:380px;background:#0a0a0f;overflow:hidden}
.lp-mock-screen{display:block;width:100%;height:100%;object-fit:cover;object-position:top left}
.lp-mock-screen[hidden]{display:none}
.lp-mock-phone__screens{position:absolute;inset:0;z-index:0}
.lp-mock-phone__shot{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top center}
.lp-mock-phone__shot[hidden]{display:none}

/* =====================================================================
   Showcase real screenshots — polished desktop + overlapping mobile
   ---------------------------------------------------------------------
   Uses the real screenshots in /assets/shots and frames them as a
   deliberate product composition instead of two side-by-side raw crops.
   ===================================================================== */
.lp-section--showcase {
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(20px, 3vw, 40px);
}

.lp-section--showcase .lp-section-sub {
  margin-bottom: 14px;
}

.lp-showcase {
  gap: clamp(12px, 2vw, 20px);
}

.lp-showcase__tabs {
  position: relative;
  z-index: 5;
  background: var(--surface-floating);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

/* No mobile os tabs viram uma faixa rolável (não quebram nem cortam). */
@media (max-width: 768px) {
  .lp-showcase__tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    /* Num container flex-column, o item só é limitado na largura por max-width;
       aí o overflow-x rola em vez de vazar/cortar. */
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .lp-showcase__tabs::-webkit-scrollbar { display: none; }
  .lp-showcase__tab {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 7px 14px;
  }
}

.lp-showcase__devices {
  position: relative;
  display: block;
  width: min(940px, calc((100svh - 470px) * 1.6));
  max-width: 100%;
  margin: 6px auto 0;
  padding: 0 0 clamp(16px, 2.4vw, 40px);
  isolation: isolate;
}

.lp-showcase__devices::before {
  display: none;
}

.lp-showcase__devices::after {
  display: none;
}

.lp-mock-desktop {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  background: #07070a;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.025),
    0 36px 84px rgba(0,0,0,0.54);
}

.lp-mock-chrome {
  height: 42px;
  padding: 0 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.035));
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.lp-mock-chrome__dots span {
  width: 11px;
  height: 11px;
}

.lp-mock-chrome__bar {
  min-width: 0;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: rgba(255,255,255,0.055);
  color: rgba(255,255,255,0.44);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-mock-screens {
  position: relative;
  width: 100%;
  height: auto !important;
  aspect-ratio: 1400 / 875;
  background: #050507;
  overflow: hidden;
}

.lp-mock-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.lp-mock-screen[hidden] {
  display: none;
}

.lp-mock-phone {
  position: absolute;
  z-index: 4;
  right: clamp(-4px, 1vw, 10px);
  bottom: clamp(-6px, 1vw, 14px);
  width: clamp(120px, 26%, 232px);
  height: auto;
  aspect-ratio: 480 / 1044;
  margin: 0;
  display: block;
  border-radius: 40px;
  border: 3px solid rgba(255,255,255,0.18);
  background: #050507;
  overflow: hidden;
  box-shadow:
    0 36px 88px rgba(0,0,0,0.72),
    0 0 0 1px rgba(255,255,255,0.09);
  transform: translateZ(0);
}

.lp-mock-phone::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    inset 0 0 26px rgba(0,0,0,0.62);
  pointer-events: none;
  z-index: 3;
}

.lp-mock-phone__notch {
  display: none;
}

.lp-mock-phone__screens {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  overflow: hidden;
  background: #050507;
}

.lp-mock-phone__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.lp-mock-phone__shot[hidden] {
  display: none;
}

.lp-showcase__hint {
  margin-top: -34px;
  position: relative;
  z-index: 6;
}

@media (max-width: 1000px) {
  .lp-showcase__devices {
    padding: 0 0 58px;
    width: min(860px, 100%);
  }

  .lp-mock-desktop {
    width: 100%;
    transform: none;
  }

  .lp-mock-phone {
    display: block;
    width: clamp(156px, 28vw, 218px);
    right: clamp(6px, 2vw, 18px);
    bottom: 0;
  }

  .lp-showcase__hint {
    margin-top: -22px;
  }
}

@media (max-width: 760px) {
  .lp-showcase__devices {
    padding-bottom: 0;
  }

  .lp-mock-phone {
    display: none;
  }

  .lp-mock-desktop {
    width: 100%;
    border-radius: 14px;
  }

  .lp-showcase__hint {
    margin-top: 12px;
  }
}

@media (max-width: 640px) {
  .lp-mock-chrome {
    height: 34px;
    padding: 0 10px;
  }

  .lp-mock-chrome__bar {
    height: 22px;
    font-size: 10px;
  }
}

/* ── Lead widget: primeiro contato (task 045) ────────────────────── */
.lp-lead-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 12px 15px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--fire-500), color-mix(in srgb, var(--fire-500) 78%, black));
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.lp-lead-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5); }
.lp-lead-fab svg { width: 20px; height: 20px; }
.lp-lead-fab[hidden] { display: none; }

.lp-lead-panel {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1201;
  width: min(370px, calc(100vw - 32px));
  max-height: min(560px, calc(100vh - 44px));
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  animation: lp-lead-in 0.18s ease;
}
.lp-lead-panel[hidden] { display: none; }
@keyframes lp-lead-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.lp-lead-panel__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--fire-500) 20%, transparent), transparent);
  border-bottom: 1px solid var(--border-default);
}
.lp-lead-panel__avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--fire-500);
  color: #fff;
  flex-shrink: 0;
}
.lp-lead-panel__title { flex: 1; min-width: 0; }
.lp-lead-panel__title strong { display: block; font-size: 14px; color: var(--text-primary); }
.lp-lead-panel__title span { font-size: 12px; color: var(--text-tertiary); }
.lp-lead-panel__close {
  background: none;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-md);
  line-height: 0;
}
.lp-lead-panel__close:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.06); }

.lp-lead-panel__body {
  padding: 16px 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lp-lead-bubble {
  align-self: flex-start;
  max-width: 92%;
  padding: 10px 13px;
  border-radius: 14px 14px 14px 4px;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.5;
}
.lp-lead-form { display: flex; flex-direction: column; gap: 10px; }
.lp-lead-field { display: flex; flex-direction: column; gap: 5px; }
.lp-lead-field label { font-size: 12px; font-weight: 600; color: var(--text-secondary); }
.lp-lead-field input,
.lp-lead-field textarea {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
  background: var(--bg-raised);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.lp-lead-field input:focus,
.lp-lead-field textarea:focus { border-color: color-mix(in srgb, var(--fire-500) 50%, transparent); }
.lp-lead-field textarea { resize: vertical; min-height: 56px; }
.lp-lead-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lp-lead-error { font-size: 12.5px; color: #f87171; }
.lp-lead-submit {
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--fire-500), color-mix(in srgb, var(--fire-500) 78%, black));
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.lp-lead-submit:disabled { opacity: 0.6; cursor: default; }
.lp-lead-consent { font-size: 11px; color: var(--text-tertiary); text-align: center; }
.lp-lead-success { text-align: center; padding: 12px 4px; }
.lp-lead-success svg { color: var(--fire-400); width: 40px; height: 40px; }
.lp-lead-success strong { display: block; margin: 10px 0 4px; color: var(--text-primary); font-size: 16px; }
.lp-lead-success p { color: var(--text-secondary); font-size: 13.5px; line-height: 1.5; }

@media (max-width: 480px) {
  .lp-lead-panel { right: 12px; left: 12px; bottom: 12px; width: auto; }
  .lp-lead-fab { right: 16px; bottom: 16px; }
}
