/* ==========================================================================
   SD INFRA SOLUTIONS — STYLESHEET OFICIAL (v2.0)
   Design System: Clean Corporate Security (Padrão Verisure)
   Responsividade Mobile Extrema & Rodapé Chumbado Parallax
   Cores: Verde SD Infra (#5EA317), Slate (#0F172A), Branco & Off-White (#F8FAFC)
   ========================================================================== */

:root {
  /* Paleta Base Light Corporativa */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-hover: #f1f5f9;
  --bg-subtle: #f1f5f9;
  --bg-highlight: #eef8e5;

  /* Bordas e Divisores */
  --border-light: #e2e8f0;
  --border-focus: #5ea317;
  --border-accent: rgba(94, 163, 23, 0.3);

  /* Cores de Identidade da Marca (Logo Oficial SD Infra) */
  --brand-green: #5ea317;
  --brand-green-hover: #4e8a12;
  --brand-green-dark: #3a680d;
  --brand-green-subtle: #eef8e5;
  --brand-green-glow: rgba(94, 163, 23, 0.2);

  /* Elementos de Destaque */
  --accent-navy: #0f172a;
  --accent-blue: #2563eb;
  --accent-amber: #d97706;
  --accent-red: #dc2626;

  /* Tipografia Corporativa */
  --text-main: #0f172a;       /* Slate 900 */
  --text-body: #334155;       /* Slate 700 */
  --text-muted: #64748b;      /* Slate 500 */
  --text-light: #94a3b8;      /* Slate 400 */
  --text-white: #ffffff;

  /* Fontes */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Arredondamento */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Sombras Elegantes */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 12px 35px -4px rgba(15, 23, 42, 0.1);
  --shadow-hover: 0 20px 40px -6px rgba(15, 23, 42, 0.14);

  /* Transições Suaves */
  --transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset Global & Proteção Contra Overflow Horizontal */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container Global Alinhado */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   TOP BAR INSTITUCIONAL
   ========================================================================== */
.top-announcement-bar {
  background-color: #0f172a;
  color: #e2e8f0;
  font-size: 0.82rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.store-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-dot 2s infinite ease-in-out;
}

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

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.82rem;
}

.top-link:hover {
  color: #ffffff;
}

.top-link.highlight {
  color: #4ade80;
  font-weight: 600;
}

/* ==========================================================================
   HEADER & NAVBAR (100% RESPONSIVO & LOGO NÍTIDO SEM ESTOURAR)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 990;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

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

/* LOGO OFICIAL LIMPO E NÃO ESTOURADO */
.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 54px;
  object-fit: contain;
  display: block;
}

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

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.4px;
  line-height: 1.1;
}

.logo-title span {
  color: var(--brand-green);
}

.logo-subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-item {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-body);
  position: relative;
  padding: 6px 0;
}

.nav-item:hover {
  color: var(--brand-green);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--brand-green);
  transition: var(--transition);
}

.nav-item:hover::after {
  width: 100%;
}

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

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 0.98rem;
}

.btn-primary {
  background-color: var(--brand-green);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(94, 163, 23, 0.25);
}

.btn-primary:hover {
  background-color: var(--brand-green-hover);
  box-shadow: 0 6px 20px rgba(94, 163, 23, 0.35);
  transform: translateY(-1px);
  color: #ffffff;
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-surface-hover);
  border-color: #cbd5e1;
  color: var(--text-main);
  transform: translateY(-1px);
}

.btn-dark {
  background-color: var(--accent-navy);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.btn-dark:hover {
  background-color: #1e293b;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-admin {
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  font-size: 0.8rem;
  padding: 6px 12px;
}

.btn-admin:hover {
  background-color: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  border-radius: var(--radius-xs);
}

.mobile-toggle:hover {
  background-color: var(--bg-surface-hover);
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION (CORPORATIVO CLEAN VERISURE)
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 60px 0 70px 0;
  border-bottom: 1px solid var(--border-light);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

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

.badges-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-body);
  box-shadow: var(--shadow-sm);
}

.hero-pill.pill-green {
  background-color: var(--brand-green-subtle);
  border-color: rgba(94, 163, 23, 0.25);
  color: var(--brand-green-dark);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.12;
  color: var(--text-main);
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.hero-title .highlight {
  color: var(--brand-green);
}

.hero-subtitle {
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 30px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-trust-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--border-light);
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-number {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.trust-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* Hero Media Showcase */
.hero-visual {
  position: relative;
}

.hero-image-card {
  position: relative;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.hero-main-photo {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 4px);
}

.floating-stat-badge {
  position: absolute;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 10px 16px;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-stat-badge.badge-top-right {
  top: 12px;
  right: 12px;
}

.floating-stat-badge.badge-bottom-left {
  bottom: 12px;
  left: 12px;
}

.stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: var(--brand-green-subtle);
  color: var(--brand-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.stat-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAIXA DE MARCAS HOMOLOGADAS (PERFEITAMENTE ALINHADA NO GRID)
   ========================================================================== */
.brands-ribbon {
  background-color: #f8fafc;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
}

.brands-card-aligned {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.ribbon-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.8px;
}

.brands-logos {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.brand-partner {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.brand-partner:hover {
  color: var(--brand-green-dark);
}

/* ==========================================================================
   SEÇÕES GERAIS
   ========================================================================== */
.section-py {
  padding: 75px 0;
}

.bg-secondary {
  background-color: var(--bg-secondary);
}

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-green-dark);
  background-color: var(--brand-green-subtle);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

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

/* ==========================================================================
   CATEGORIAS OFICIAIS DO INSTAGRAM
   ========================================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.category-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  box-shadow: 0 16px 36px -4px rgba(94, 163, 23, 0.28), 0 0 18px rgba(94, 163, 23, 0.18);
  transform: translateY(-5px);
  border-color: var(--brand-green);
}

.category-card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: var(--bg-subtle);
}

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

.category-card:hover .category-card-img {
  transform: scale(1.05);
}

.category-badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.category-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.category-card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.category-card-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 16px;
}

.category-features-list {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-body);
  font-weight: 500;
}

.category-features-list li::before {
  content: "✓";
  color: var(--brand-green);
  font-weight: 800;
}

.category-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.category-action-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-green-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.category-action-link:hover {
  color: var(--brand-green);
  gap: 9px;
}

/* ==========================================================================
   VITRINE DE PRODUTOS & LOJA FÍSICA (PREÇOS REAIS DO INSTAGRAM)
   ========================================================================== */
.showcase-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.tab-btn {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  border-color: #cbd5e1;
  background-color: var(--bg-surface-hover);
}

.tab-btn.active {
  background-color: var(--accent-navy);
  color: #ffffff;
  border-color: var(--accent-navy);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

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

.product-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 16px 36px -4px rgba(94, 163, 23, 0.28), 0 0 18px rgba(94, 163, 23, 0.18);
  transform: translateY(-5px);
  border-color: var(--brand-green);
}

.product-card-img-wrap {
  position: relative;
  height: 240px;
  background-color: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.4s ease;
}

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

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.badge-pronta-entrega {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.badge-seminovo {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.badge-esgotado {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-category {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-green-dark);
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.product-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-specs-list {
  list-style: none;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-specs-list li {
  font-size: 0.84rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-specs-list li::before {
  content: "•";
  color: var(--brand-green);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 0;
}

.product-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-price-block {
  display: flex;
  flex-direction: column;
}

.product-price-val {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}

.product-price-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SEÇÃO LOJA FÍSICA & SHOWROOM (FOTOS TRATADAS DO GOOGLE MAPS)
   ========================================================================== */
.about-store-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.store-photos-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.store-photo-card {
  position: relative;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.store-photo-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.store-photo-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
}

.store-perks-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.perk-box {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.perk-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.perk-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   SIMULADOR DE PROJETOS DE SEGURANÇA (100% RESPONSIVO DESKTOP E MOBILE)
   ========================================================================== */
.simulator-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.sim-steps-container {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 32px;
  align-items: stretch;
}

.sim-control-group {
  margin-bottom: 24px;
}

.sim-control-label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  display: block;
  margin-bottom: 12px;
}

.sim-options-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.property-card-opt {
  background: var(--bg-secondary);
  border: 2px solid var(--border-light);
  padding: 14px 10px;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.property-card-opt.active {
  border-color: var(--brand-green);
  background: rgba(34, 197, 94, 0.08);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
}

.prop-icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.prop-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}

.cam-option {
  background: var(--bg-secondary);
  border: 2px solid var(--border-light);
  padding: 14px 10px;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cam-option.active {
  border-color: var(--brand-green);
  background: rgba(34, 197, 94, 0.08);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
}

.cam-number {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  display: block;
  color: var(--text-main);
  line-height: 1.1;
}

.cam-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.sim-addons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.sim-addon-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.sim-addon-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-green);
  cursor: pointer;
}

.sim-addon-card:hover {
  border-color: var(--brand-green);
  background: #ffffff;
}

.sim-estimate-card {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.sim-estimate-tag {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--brand-green-dark);
  display: block;
}

.sim-estimate-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-main);
  margin: 10px 0 6px 0;
  letter-spacing: -1px;
}

.sim-currency {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-muted);
}

.sim-estimate-terms {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.sim-perks-list {
  list-style: none;
  text-align: left;
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  padding: 0 8px;
  color: var(--text-body);
}

.btn-sim-submit {
  width: 100% !important;
  font-size: 0.95rem;
  padding: 14px 18px;
}

@media (max-width: 860px) {
  .simulator-wrapper {
    padding: 20px 16px;
  }
  .sim-steps-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sim-options-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .sim-addons-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .sim-estimate-card {
    padding: 20px 16px;
  }
  .sim-estimate-price {
    font-size: 2.2rem;
  }
}

/* ==========================================================================
   RODAPÉ CHUMBADO PARALLAX (ESTILO DREDS BREW / SPEED CAR)
   ========================================================================== */
.site-footer {
  position: relative;
  background-color: #0b1329;
  background-image: 
    linear-gradient(180deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.88) 100%),
    url('assets/cftv-monitoramento-galpao.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed; /* Efeito Chumbado / Parallax */
  color: #cbd5e1;
  font-size: 0.92rem;
  border-top: 4px solid var(--brand-green);
}

.footer-trust-ribbon {
  background-color: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
}

.trust-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ribbon-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ribbon-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: rgba(94, 163, 23, 0.2);
  color: #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.ribbon-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.ribbon-sub {
  font-size: 0.76rem;
  color: #94a3b8;
}

.footer-main-content {
  background-color: transparent;
  padding: 60px 0 40px 0;
}

.footer-grid-chumbado {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 44px;
  width: auto;
  max-width: 50px;
  object-fit: contain;
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-brand-desc {
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 18px;
}

.fiscal-badge-box {
  background-color: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 0.76rem;
  color: #94a3b8;
  line-height: 1.5;
}

.fiscal-badge-box strong {
  color: #ffffff;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--brand-green);
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  color: #94a3b8;
  font-size: 0.86rem;
}

.footer-nav-list a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-details li {
  font-size: 0.84rem;
  color: #94a3b8;
}

.footer-contact-details strong {
  color: #ffffff;
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 2px;
}

/* ==========================================================================
   CARDS DE ATENDIMENTO CORPORATIVO (INSTAGRAM OFICIAL & SD CORE CRM)
   ========================================================================== */

/* Card de Instagram Oficial - Dark Glassmorphism Premium */
.footer-insta-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 10px 14px;
  margin-top: 14px;
  margin-bottom: 10px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
}

.footer-insta-card:hover {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-color: rgba(225, 48, 108, 0.45);
  box-shadow: 0 8px 24px rgba(225, 48, 108, 0.2);
  transform: translateY(-2px);
}

.insta-card-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(220, 39, 67, 0.35);
}

.insta-card-meta {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.insta-card-badge {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94a3b8;
  font-weight: 700;
  line-height: 1.2;
}

.insta-card-user {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
  line-height: 1.2;
  margin-top: 2px;
}

.insta-card-action {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.footer-insta-card:hover .insta-card-action {
  background: #e1306c;
  border-color: #e1306c;
  color: #ffffff;
  transform: translate(2px, -2px);
}

/* Card de Gestão Interna (SD CORE CRM) */
.footer-crm-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 12px;
  padding: 10px 14px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
}

.footer-crm-card:hover {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.2);
  transform: translateY(-2px);
}

.crm-card-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.crm-card-meta {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.crm-card-badge {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #4ade80;
  font-weight: 700;
  line-height: 1.2;
}

.crm-card-user {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
  line-height: 1.2;
  margin-top: 2px;
}

.crm-card-action {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ade80;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.footer-crm-card:hover .crm-card-action {
  background: #22c55e;
  border-color: #22c55e;
  color: #ffffff;
  transform: translateX(2px);
}

.footer-bottom-bar {
  background-color: rgba(8, 13, 26, 0.95);
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: #64748b;
}

.footer-bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   CHATBOT QUALIFICADOR DE ALTO NÍVEL (LEAD ULTRA QUENTE)
   ========================================================================== */
.chatbot-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.chatbot-trigger-btn {
  background-color: var(--brand-green);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  padding: 10px 20px;
  box-shadow: 0 8px 24px rgba(94, 163, 23, 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.chatbot-trigger-btn:hover {
  background-color: var(--brand-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(94, 163, 23, 0.45);
}

.trigger-avatar-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  overflow: hidden;
  background-color: #ffffff;
}

.trigger-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trigger-texts {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.trigger-headline {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.1;
}

.trigger-status {
  font-size: 0.7rem;
  color: #f0fdf4;
  opacity: 0.9;
}

/* Janela do Chatbot */
.chatbot-window {
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 400px;
  max-width: calc(100vw - 32px);
  height: 580px;
  max-height: calc(100vh - 100px);
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.96);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.chatbot-window.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chat-header {
  background-color: #0f172a;
  color: #ffffff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--brand-green);
}

.chat-header-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar-frame {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--brand-green);
  background-color: #ffffff;
}

.chat-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-user-info {
  display: flex;
  flex-direction: column;
}

.chat-name {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
}

.chat-status {
  font-size: 0.7rem;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: #4ade80;
  border-radius: 50%;
}

.chat-close-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
}

.chat-messages {
  flex-grow: 1;
  padding: 18px;
  overflow-y: auto;
  background-color: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.message {
  display: flex;
  flex-direction: column;
  max-width: 90%;
}

.bot-message {
  align-self: flex-start;
}

.user-message {
  align-self: flex-end;
}

.message-bubble {
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.bot-message .message-bubble {
  background-color: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.user-message .message-bubble {
  background-color: var(--brand-green);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.message-time {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 4px;
  padding: 0 4px;
}

/* Opções Interativas Rápidas do Bot */
.chat-interactive-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.chat-opt-btn {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.chat-opt-btn:hover {
  background-color: var(--brand-green-subtle);
  border-color: var(--brand-green);
  color: var(--brand-green-dark);
}

.chat-input-area {
  padding: 12px 16px;
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-input-area input {
  flex-grow: 1;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 9px 14px;
  font-size: 0.86rem;
  outline: none;
  background-color: var(--bg-secondary);
}

.chat-input-area input:focus {
  border-color: var(--brand-green);
  background-color: #ffffff;
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--brand-green);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   PAINEL GERENCIADOR IN-HOUSE (CRM & VITRINE DE PRODUTOS DANILO)
   ========================================================================== */
.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.admin-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.admin-dashboard-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 1040px;
  width: 100%;
  height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35);
}

.admin-header {
  background-color: #0f172a;
  color: #ffffff;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--brand-green);
}

.admin-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
}

.admin-badge {
  background-color: var(--brand-green);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
}

.admin-tabs-bar {
  background-color: #f8fafc;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  padding: 0 24px;
  gap: 16px;
}

.admin-tab-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 14px 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.admin-tab-btn.active {
  color: var(--brand-green-dark);
  border-bottom-color: var(--brand-green);
}

.admin-content-view {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px;
}

/* Kanban Board de Leads */
.kanban-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: start;
}

.kanban-column {
  background-color: #f1f5f9;
  border-radius: var(--radius-md);
  padding: 14px;
  border: 1px solid var(--border-light);
}

.kanban-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #cbd5e1;
}

.kanban-col-title {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
}

.kanban-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 80px;
}

.kanban-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  font-size: 0.82rem;
}

.kanban-card-title {
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.kanban-card-detail {
  color: var(--text-muted);
  font-size: 0.76rem;
  margin-bottom: 8px;
}

.kanban-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border-top: 1px solid #f1f5f9;
  padding-top: 8px;
}

/* ==========================================================================
   RESPONSIVIDADE E AJUSTES MOBILE À PROVA DE FALHAS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-visual {
    order: -1;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .categories-grid,
  .products-grid,
  .about-store-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid-chumbado,
  .trust-ribbon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .kanban-board {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 64px;
  }
  .brand-logo-img {
    height: 40px;
    max-width: 46px;
  }
  .logo-title {
    font-size: 1.1rem;
  }
  .logo-subtitle {
    display: none;
  }
  .nav-links,
  .header-actions .btn-sm {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 20px;
    border-bottom: 2px solid var(--brand-green);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
    z-index: 999;
  }
  .nav-item {
    font-size: 1rem;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
  }
  .hero-section {
    padding: 40px 0 50px 0;
  }
  .hero-title {
    font-size: 1.95rem;
    letter-spacing: -0.5px;
  }
  .hero-subtitle {
    font-size: 0.98rem;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .hero-trust-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .categories-grid,
  .products-grid,
  .about-store-grid,
  .store-photos-side,
  .store-perks-list,
  .footer-grid-chumbado,
  .trust-ribbon-grid,
  .brands-card-aligned,
  .kanban-board {
    grid-template-columns: 1fr;
  }
  .hero-main-photo,
  .store-photo-img {
    height: 280px;
  }
  .floating-stat-badge {
    position: static;
    margin-top: 10px;
  }
  .chatbot-window {
    width: 100%;
    max-width: 100%;
    right: 0;
    bottom: 0;
    height: 90vh;
    border-radius: 20px 20px 0 0;
  }
  .chatbot-wrapper {
    bottom: 16px;
    right: 16px;
  }
  .site-footer {
    background-attachment: scroll; /* Suporte suave a mobile sem glitch de fixed */
  }
}

/* ==========================================================================
   MODAL FLUTUANTE DE PRODUTOS & EQUIPAMENTOS (FIXED OVERLAY)
   ========================================================================== */
.product-modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgba(5, 11, 24, 0.82) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999 !important;
  display: none !important;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.product-modal-backdrop.active {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.product-modal-card {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15);
  animation: modalCardPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalCardPop {
  from {
    transform: scale(0.92) translateY(16px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .product-modal-card > div > div {
    grid-template-columns: 1fr !important;
  }
}

