/* Reset e fundamentos */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Arial, "Helvetica Neue", sans-serif;
  color: #111827;
  background: #fff;
}
img { max-width: 100%; display: block; }

:root {
  --color-bg: #ffffff;
  --color-text: #111827; /* gray-900 */
  --color-muted: #6b7280; /* gray-500 */
  --color-border: #e5e7eb; /* gray-200 */
  --color-panel: #ffffff;
  --color-primary: #111827; /* preto para CTA principal */
  --color-primary-600: #0f172a;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(17,24,39,.06);
  --shadow-md: 0 8px 24px rgba(17,24,39,.08);
  --container: 1200px;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.skip-to-content { position: absolute; left: -9999px; top: -9999px; }
.skip-to-content:focus { left: 16px; top: 16px; background: #fff; border: 2px solid #111827; padding: 8px 12px; z-index: 1000; }

/* Topbar e Navbar */
.topbar { background: #fff; border-bottom: 1px solid var(--color-border); font-size: 14px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 8px; }
.topbar__info { display: flex; gap: 16px; flex-wrap: wrap; }
.topbar a { color: var(--color-muted); text-decoration: none; }
.topbar__cta .btn--ghost { border-color: transparent; }

.navbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--color-border); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.navbar__menu { list-style: none; display: flex; gap: 17px; align-items: center; margin: 0; padding: 0; }
.navbar__menu a { color: var(--color-text); text-decoration: none; font-weight: 500; }
.navbar__toggle { display: none; background: transparent; border: 0; padding: 8px; cursor: pointer; }
.navbar__bar { display: block; width: 22px; height: 2px; background: var(--color-text); margin: 4px 0; transition: .3s ease; }

/* Dropdown Navigation */
.menu__dropdown { position: relative; }
.menu__dropdown > a::after {
  content: '▼';
  margin-left: 4px;
  font-size: 10px;
  transition: transform 0.2s ease;
}
.menu__dropdown:hover > a::after {
  transform: rotate(180deg);
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 100;
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
.menu__dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li {
  margin: 0;
}
.dropdown a {
  display: block;
  padding: 8px 16px;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 400;
  font-size: 14px;
  transition: background-color 0.2s ease;
}
.dropdown a:hover {
  background-color: #f3f4f6;
}
.dropdown__cta {
  border-top: 1px solid var(--color-border);
  margin-top: 4px;
  padding-top: 8px;
}
.dropdown__cta a {
  font-weight: 500;
  color: var(--color-primary);
}

/* Hero minimalista */
.hero { position: relative; overflow: clip; }
/* Evita o SVG do fundo bloquear cliques/seleções */
.hero__bg, .hero__bg * { pointer-events: none; }
/* Hero background SVG discreto (AI mesh + fixadores) */
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background-color: #ffffff;
}
.hero__bg::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1200 800"><defs><linearGradient id="g" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="%236366f1" stop-opacity="0.24"/><stop offset="1" stop-color="%2310b981" stop-opacity="0.24"/></linearGradient><pattern id="dots" width="32" height="32" patternUnits="userSpaceOnUse"><circle cx="16" cy="16" r="1.4" fill="%23111827" opacity="0.24"/></pattern><symbol id="washer" viewBox="0 0 24 24"><circle cx="12" cy="12" r="8" fill="none" stroke="%23111827" stroke-width="1.6" opacity="0.34"/><circle cx="12" cy="12" r="3" fill="none" stroke="%23111827" stroke-width="1.6" opacity="0.34"/></symbol><symbol id="nut" viewBox="0 0 24 24"><path d="M12 2l7 4v8l-7 4-7-4V6z" fill="none" stroke="%23111827" stroke-width="1.6" opacity="0.34"/><circle cx="12" cy="12" r="3" fill="none" stroke="%23111827" stroke-width="1.6" opacity="0.34"/></symbol><symbol id="bolt" viewBox="0 0 24 24"><polygon points="12,3 16.5,5.6 16.5,10.4 12,13 7.5,10.4 7.5,5.6" fill="none" stroke="%23111827" stroke-width="1.6" opacity="0.34"/><rect x="11" y="13" width="2" height="7" rx="1" fill="none" stroke="%23111827" stroke-width="1.6" opacity="0.34"/></symbol><pattern id="mesh" width="120" height="90" patternUnits="userSpaceOnUse"><path d="M14 44 L60 14 L106 44 L60 74 Z" fill="none" stroke="%23111827" stroke-width="1.2" opacity="0.22"/><path d="M60 14 L60 74" fill="none" stroke="%23111827" stroke-width="1.2" opacity="0.22"/><path d="M14 44 L60 74 L106 44" fill="none" stroke="%23111827" stroke-width="1.2" opacity="0.22"/><circle cx="14" cy="44" r="2.2" fill="%23111827" opacity="0.28"/><circle cx="60" cy="14" r="2.2" fill="%23111827" opacity="0.28"/><circle cx="106" cy="44" r="2.2" fill="%23111827" opacity="0.28"/><circle cx="60" cy="74" r="2.2" fill="%23111827" opacity="0.28"/></pattern><pattern id="icons" width="120" height="100" patternUnits="userSpaceOnUse"><use xlink:href="#washer" x="16" y="10" width="32" height="32"/><use xlink:href="#nut" x="70" y="50" width="32" height="32" transform="rotate(10 86 66)"/><use xlink:href="#bolt" x="42" y="72" width="32" height="32" transform="rotate(-12 58 88)"/></pattern></defs><rect width="1200" height="800" fill="url(%23dots)"/><rect width="1200" height="800" fill="url(%23g)"/><rect width="1200" height="800" fill="url(%23mesh)"/><rect width="1200" height="800" fill="url(%23icons)"/></svg>');
  background-size: cover; background-position: center; background-repeat: no-repeat; opacity: 1;
}
/* Partículas ainda mais suaves para destacar o SVG */
.hero__particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(600px 200px at 20% 10%, rgba(99,102,241,.04), transparent), radial-gradient(400px 180px at 80% 20%, rgba(59,130,246,.04), transparent), radial-gradient(500px 220px at 50% 90%, rgba(16,185,129,.04), transparent); filter: blur(12px); opacity: .14; }
/* Conteúdo sempre acima do fundo */
.hero__content { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; min-height: 70vh; padding-block: 72px; }
/* Hero ajustes para proposta de valor forte */
.hero__text h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.05; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero__text p { font-size: 18px; color: var(--color-muted); margin: 0 0 18px; }
.hero__actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero__actions .btn { height: 44px; }
.badge { display: inline-block; padding: 6px 10px; border-radius: 999px; background: #f3f4f6; color: #111827; font-weight: 600; font-size: 12px; border: 1px solid var(--color-border); margin-bottom: 10px; }
.kpis { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.kpi { display: grid; gap: 4px; }
.kpi__num { font-size: 28px; font-weight: 800; color: #111827; }
.kpi__label { font-size: 13px; color: var(--color-muted); text-transform: uppercase; letter-spacing: .06em; }
.hero__image { display: grid; place-items: center; }
.hero__mockup { width: min(380px, 100%); aspect-ratio: 1/1; border-radius: var(--radius-lg); background: #fafafa; border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); display: grid; place-items: center; }
.hero__mockup img, .hero__mockup video { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; border-radius: inherit; }
.hero__mockup .chip, .hero__mockup .bolt, .hero__mockup .nut { position: absolute; }

/* Seções */
.section { padding-block: 80px; position: relative; overflow: hidden; }
.section--muted { background: #fafafa; }

/* Fundos coloridos para seções - inspirados no hero */
.section--gradient-primary {
  background: linear-gradient(135deg, #fafafa 0%, #f8fafc 100%);
}

.section--gradient-indigo {
  background: linear-gradient(135deg, #fdfdfe 0%, #fafbff 100%);
}

.section--gradient-emerald {
  background: linear-gradient(135deg, #fdfefd 0%, #fafdfb 100%);
}

.section--gradient-neutral {
  background: linear-gradient(135deg, #fefefe 0%, #f9fafb 100%);
}

/* Background decorativo para seções */
.section__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.section__bg-svg {
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.section__content {
  position: relative;
  z-index: 2;
}

/* Efeitos sutis inspirados no hero */
.section--gradient-indigo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at 25% 25%, rgba(99, 102, 241, 0.04), transparent),
              radial-gradient(600px circle at 75% 75%, rgba(99, 102, 241, 0.02), transparent);
  z-index: 1;
  pointer-events: none;
}

.section--gradient-emerald::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(700px circle at 20% 80%, rgba(16, 185, 129, 0.04), transparent),
              radial-gradient(500px circle at 80% 20%, rgba(16, 185, 129, 0.02), transparent);
  z-index: 1;
  pointer-events: none;
}

.section--gradient-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(650px circle at 30% 70%, rgba(99, 102, 241, 0.03), transparent),
              radial-gradient(450px circle at 70% 30%, rgba(16, 185, 129, 0.02), transparent);
  z-index: 1;
  pointer-events: none;
}

.section--gradient-neutral::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at 40% 40%, rgba(99, 102, 241, 0.02), transparent),
              radial-gradient(400px circle at 60% 60%, rgba(16, 185, 129, 0.015), transparent);
  z-index: 1;
  pointer-events: none;
}
.section__header { text-align: center; margin-bottom: 40px; }
.section__header h2 { font-size: clamp(24px, 3.2vw, 40px); margin: 0 0 8px; letter-spacing: -0.01em; }
.section__header p { margin: 0; color: var(--color-muted); }

.cards-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card { background: #fff; border: 1px solid var(--color-border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card--clickable { text-decoration: none; color: inherit; display: block; cursor: pointer; }
.card--clickable:hover { text-decoration: none; color: inherit; }
.card h3 { margin: 8px 0 6px; font-size: 16px; }
.card p { margin: 0; color: var(--color-muted); font-size: 14px; }
.icon { width: 28px; height: 28px; border-radius: 8px; background: #f3f4f6; border: 1px solid var(--color-border); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: #fff; border: 1px solid var(--color-border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm); }
.feature__icon { width: 36px; height: 36px; border-radius: 10px; background: #f3f4f6; border: 1px solid var(--color-border); margin-bottom: 12px; }

.pill-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--color-border); background: #fff; font-weight: 600; color: var(--color-text); }

.capabilities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.capability { background: #fff; border: 1px solid var(--color-border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm); }
.capability h3 { margin: 0 0 6px; font-size: 18px; }
.capability p { margin: 0; color: var(--color-muted); }

.branches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.branch { background: #fff; border: 1px solid var(--color-border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm); }
.branch h3 { margin: 0 0 6px; }

/* Montador Inteligente */
.montador-container { 
  display: grid; 
  grid-template-columns: 1fr 400px; 
  gap: 24px; 
  margin-bottom: 24px;
  align-items: start;
}

.montador-panel {
  width: 100%;
}

.assembly-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.assembly-header {
  margin-bottom: 24px;
}

.assembly-title-input {
  width: 100%;
  font-size: 20px;
  font-weight: 700;
  border: none;
  outline: none;
  padding: 8px 0;
  background: transparent;
  color: #111827;
}

.assembly-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 12px;
}

.meta-item {
  display: grid;
  gap: 6px;
  color: #374151;
  min-width: 220px;
}

.meta-item label { font-size: 13px; font-weight: 500; color: #374151; }

.meta-icon {
  font-size: 18px;
}

.meta-input-wrap { display: flex; align-items: center; gap: 8px; }

.meta-select {
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  outline: none;
  padding: 10px 12px;
  flex: 1;
}

.section-container {
  margin-bottom: 24px;
  position: relative;
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111827;
}

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

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

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spec-item label {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.spec-item select,
.spec-item input {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}

.components-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

/* Acessibilidade: utilitário para esconder visualmente mantendo leitura por leitores de tela */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 1px, 1px);
  white-space: nowrap;
  border: 0;
}

/* Seletor de componentes (Categoria, Produto, Quantidade) */
.component-picker {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
  margin-top: 12px;
}

.component-picker .picker-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr 110px auto auto;
  gap: 10px;
  align-items: center;
}

/* Inputs do picker: seguem padrão dos inputs das especificações */
.component-picker .meta-select,
.component-picker .meta-input,
.component-picker select,
.component-picker input[type="number"] {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
  color: var(--color-text);
}

.component-picker .meta-input {
  width: 100%;
}

.component-picker .btn {
  height: 42px;
  padding-inline: 14px;
}

@media (max-width: 768px) {
  .component-picker .picker-row {
    grid-template-columns: 1fr;
  }
}

.component-card {
  display: flex;
  align-items: center;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  transition: all 0.2s ease;
}

.component-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.component-icon {
  font-size: 24px;
  margin-right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
}

.component-content {
  flex: 1;
}

.component-name {
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

.component-spec {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 4px;
}

.component-quantity {
  font-size: 14px;
  color: #059669;
  font-weight: 500;
}

.component-actions {
  display: flex;
  gap: 8px;
}

.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.btn-icon:hover {
  background-color: #f3f4f6;
}

.add-component-btn {
  background: none;
  border: 2px dashed #d1d5db;
  color: #6b7280;
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

.add-component-btn:hover {
  border-color: #9ca3af;
  color: #374151;
}

.assembly-notes {
  width: 100%;
  min-height: 100px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 12px;
  font: inherit;
  resize: vertical;
  background: #fff;
}

.generate-button {
  width: 100%;
  background: #111827;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.generate-button:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-icon {
  font-size: 18px;
}

/* Chat AI Panel */
.ai-chat-panel {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  background: #f9fafb;
}

.chat-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.chat-status {
  font-size: 12px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.chat-status.online {
  color: #059669;
  background: #d1fae5;
}

.chat-status.fallback {
  color: #d97706;
  background: #fef3c7;
}

.chat-status.offline {
  color: #dc2626;
  background: #fecaca;
}

.chat-messages {
  max-height: 400px;
  overflow-y: auto;
  padding: 16px 20px;
}

.message {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: #f3f4f6;
  flex-shrink: 0;
}

.ai-message .message-avatar {
  background: #dbeafe;
}

.user-message .message-avatar {
  background: #d1fae5;
}

.message-content {
  flex: 1;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.ai-message .message-content {
  background: #f1f5f9;
  color: #334155;
}

.user-message .message-content {
  background: #111827;
  color: #fff;
}

.chat-input-container {
  display: flex;
  padding: 16px 20px;
  border-top: 1px solid var(--color-border);
  gap: 8px;
}

/* Indicador de digitação/buscando */
.typing-message .message-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.typing-label {
  font-size: 12px;
  color: var(--color-muted);
}

.typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.typing .dot {
  width: 6px;
  height: 6px;
  background: #9ca3af;
  border-radius: 50%;
  animation: typingBlink 1s infinite ease-in-out;
}

.typing .dot:nth-child(2) { animation-delay: .2s; }
.typing .dot:nth-child(3) { animation-delay: .4s; }

@keyframes typingBlink {
  0%, 80%, 100% { opacity: .2; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

.chat-input {
  flex: 1;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 8px 16px;
  font: inherit;
  outline: none;
  background: #f9fafb;
}

.chat-input:focus {
  background: #fff;
  border-color: #6b7280;
}

.send-button {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.send-button:hover {
  background: #000;
  transform: scale(1.1);
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0;
  padding: 0 44px; /* Align with message content */
}

.suggestion-btn {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 16px;
  padding: 6px 12px;
  font-size: 12px;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
}

.suggestion-btn:hover {
  background: #e5e7eb;
  border-color: #9ca3af;
}

.ai-status-indicator {
  text-align: center;
  margin: 8px 0;
  padding: 4px 8px;
  background: #fef3c7;
  border-radius: 8px;
  font-size: 11px;
  color: #92400e;
}

.ai-status-indicator small {
  font-weight: 500;
}

.ping-indicator {
  width: 12px;
  height: 12px;
  background: #10b981;
  border-radius: 50%;
  position: relative;
  animation: pulse 2s infinite;
}

.ping-indicator::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  border: 2px solid #10b981;
  animation: ping 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Quote bar removida */
/*
.quote-bar { display:none; }
.quote-info {}
.separator {}
.quote-bar__actions {}
*/

/* Responsive Design */
@media (max-width: 768px) {
  .montador-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .ai-chat-panel {
    position: static;
  }
  
  .specs-grid {
    grid-template-columns: 1fr;
  }
  
  .assembly-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* Recursos / Guia */
.resources { display: grid; grid-template-columns: 1fr; gap: 16px; }
.resource { background: #fff; border: 1px solid var(--color-border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm); }

/* Contato */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.contact__channels { display: grid; gap: 8px; }
.contact__item { display: inline-flex; width: fit-content; padding: 10px 14px; border: 1px solid var(--color-border); border-radius: 999px; text-decoration: none; color: var(--color-text); background: #fff; }
.contact__form { background: #fff; border: 1px solid var(--color-border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm); }
.form__row { display: grid; gap: 6px; margin-bottom: 12px; }
.form__row input, .form__row textarea { border: 1px solid var(--color-border); border-radius: 12px; padding: 12px; font: inherit; background: #fff; }
.form__row input:focus, .form__row textarea:focus { outline: 3px solid #e5e7eb; border-color: #9ca3af; }
.form__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.form__hint { color: var(--color-muted); font-size: 12px; margin-top: 8px; }

/* CTA */
.cta { background: #111827; color: #fff; padding-block: 72px; }
.cta .btn--inverted { background: #fff; color: #111827; border-color: transparent; }
.cta .btn--ghost-inverted { background: transparent; color: #fff; border-color: #ffffff55; }

/* Content pages (política de privacidade, etc.) */
.content-page { max-width: 800px; margin: 0 auto; }
.content-header { text-align: center; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid var(--color-border); }
.content-header .lead { font-size: 18px; color: var(--color-muted); margin: 16px 0; }
.content-body { line-height: 1.7; }
.content-body h2 { margin-top: 40px; margin-bottom: 20px; color: var(--color-primary); }
.content-body h3 { margin-top: 30px; margin-bottom: 15px; }
.content-body ul, .content-body ol { margin: 16px 0; padding-left: 24px; }
.content-body li { margin-bottom: 8px; }

/* Highlight boxes para política de privacidade */
.highlight-box { background: var(--color-primary-light); border-left: 4px solid var(--color-primary); padding: 20px; margin: 24px 0; border-radius: 8px; }
.highlight-box h3 { margin-top: 0; color: var(--color-primary); }
.highlight-box.security { background: #f0fdf4; border-left-color: #10b981; }
.highlight-box.security h3 { color: #10b981; }

/* Rights grid */
.rights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin: 24px 0; }
.right-item { background: #f8fafc; padding: 16px; border-radius: 8px; border: 1px solid var(--color-border); }
.right-item h4 { margin: 0 0 8px 0; color: var(--color-primary); }
.right-item p { margin: 0; font-size: 14px; color: var(--color-muted); }

/* Contact info box */
.contact-info { background: #f8fafc; padding: 20px; border-radius: 8px; margin: 20px 0; }
.contact-info p { margin: 8px 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--color-border); background: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 16px; padding-block: 28px; align-items: start; }
.footer__nav { display: grid; gap: 8px; }
.footer__nav a { color: var(--color-text); text-decoration: none; }
.footer__dev { display: grid; gap: 8px; font-size: 12px; }
.footer__dev p { margin: 0 0 4px 0; color: var(--color-muted); }
.footer__dev a { color: var(--color-accent); text-decoration: none; font-size: 11px; }
.footer__dev a:hover { text-decoration: underline; }
.footer__legal { display: grid; gap: 8px; justify-items: end; color: var(--color-muted); }

/* Botões minimalistas */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 18px; font-weight: 700; text-decoration: none; border: 1px solid var(--color-border); cursor: pointer; }
.btn--sm { padding: 8px 12px; font-weight: 600; }
.btn--primary { background: #111827; color: #ffffff !important; border-color: #111827; }
.btn--primary:hover { background: #000; border-color: #000; }
.btn--ghost { background: #fff; color: var(--color-text); }
.btn--inverted { background: #fff; color: #111827; border-color: transparent; }
.btn--ghost-inverted { background: transparent; color: #fff; border-color: #ffffff55; }

.link { color: #111827; text-decoration: none; font-weight: 600; }

/* FABs */
.fab { position: fixed; right: 18px; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--color-border); box-shadow: var(--shadow-md); cursor: pointer; z-index: 60; background: #fff; }
.fab--whatsapp { bottom: 18px; background: #25D366; border-color: #25D366; }
.fab--whatsapp::after { content: ""; display: block; width: 100%; height: 100%; background: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"28\" height=\"28\" viewBox=\"0 0 24 24\" fill=\"white\"><path d=\"M20.52 3.48A11.86 11.86 0 0 0 12.02 0C5.42 0 0.06 5.37 0.06 11.98c0 2.1.56 4.1 1.62 5.9L0 24l6.27-1.64a12 12 0 0 0 5.73 1.46h.01c6.6 0 11.96-5.36 11.96-11.96 0-3.2-1.25-6.21-3.45-8.39zM12 21.67h-.01a9.7 9.7 0 0 1-4.95-1.36l-.36-.21-3.72.97.99-3.63-.24-.37a9.66 9.66 0 0 1-1.5-5.14C2.2 6.58 6.58 2.2 12.02 2.2c2.6 0 5.05 1.02 6.89 2.86A9.63 9.63 0 0 1 21.8 12c0 5.34-4.36 9.67-9.8 9.67zm5.38-7.25c-.29-.15-1.72-.85-1.99-.95-.27-.1-.46-.15-.66.15-.19.29-.76.94-.93 1.13-.17.19-.35.22-.64.07-.29-.15-1.23-.45-2.34-1.43-.86-.76-1.44-1.7-1.61-1.99-.17-.29-.02-.45.13-.6.13-.13.29-.35.43-.52.14-.17.19-.29.29-.48.1-.19.05-.36-.02-.51-.07-.15-.66-1.6-.9-2.2-.24-.58-.48-.5-.66-.51-.17-.01-.36-.01-.55-.01-.19 0-.51.07-.78.36-.27.29-1.02 1-1.02 2.43 0 1.43 1.04 2.81 1.18 3 .15.19 2.04 3.11 4.94 4.35.69.3 1.23.48 1.65.62.69.22 1.32.19 1.82.12.55-.08 1.72-.7 1.97-1.37.24-.67.24-1.24.17-1.37-.07-.13-.26-.2-.55-.35z\"/></svg>') center/28px no-repeat; }
.fab--chat { bottom: 82px; background: #111827; border-color: #111827; }
.fab--chat::after { content: "?"; color: #fff; font-weight: 900; font-size: 22px; display: grid; place-items: center; height: 100%; }

/* Chatbot */
.chatbot { position: fixed; right: 18px; bottom: 146px; width: min(360px, 92vw); max-height: 70vh; display: grid; grid-template-rows: auto 1fr auto; border: 1px solid var(--color-border); border-radius: 16px; background: #fff; box-shadow: var(--shadow-md); z-index: 70; }
.chatbot__header { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--color-border); }
.chatbot__close { background: transparent; border: 0; font-size: 20px; cursor: pointer; }
.chatbot__messages { padding: 12px; overflow: auto; display: grid; gap: 8px; }
.chatbot__messages .msg { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--color-border); max-width: 85%; }
.msg--user { margin-left: auto; background: #f3f4f6; border-color: #e5e7eb; }
.msg--bot { background: #fff; }
.chatbot__form { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 10px; border-top: 1px solid var(--color-border); }
.chatbot__form input { border: 1px solid var(--color-border); border-radius: 12px; padding: 10px 12px; }

/* Dores */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pain { background: #fff; border: 1px solid var(--color-border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm); display: grid; gap: 8px; align-content: start; min-height: 140px; }
.pain h3 { margin: 0; font-size: 18px; letter-spacing: -0.01em; }
.pain p { margin: 0; color: var(--color-muted); }
.logos { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 10px 0 16px; }
.logo { padding: 6px 10px; border: 1px solid var(--color-border); border-radius: 999px; font-weight: 600; font-size: 12px; color: #374151; background: #fff; }
.pains__cta { display: flex; gap: 12px; justify-content: center; margin-top: 24px; }
#dores.section { padding-bottom: 56px; }

/* KPIs concretos */
.kpi-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kpi-card { background: #fff; border: 1px solid var(--color-border); border-radius: 16px; padding: 24px; text-align: center; box-shadow: var(--shadow-sm); }
.kpi-card__num { font-size: 32px; font-weight: 800; }
.kpi-card__label { color: var(--color-muted); font-weight: 600; }

/* Depoimentos */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.testimonial { background: #fff; border: 1px solid var(--color-border); border-radius: 16px; padding: 18px; font-style: italic; }
.testimonial span { display: block; margin-top: 6px; font-style: normal; color: #6b7280; }

/* Responsividade */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: 1fr; }
  .capabilities { grid-template-columns: 1fr; }
  .branches { grid-template-columns: 1fr; }
  .pains { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .navbar__toggle { display: inline-block; }
  .navbar__menu { position: absolute; inset: 60px 0 auto 0; background: #ffffff; border-bottom: 1px solid var(--color-border); padding: 16px 24px; display: grid; gap: 12px; transform-origin: top; transform: scaleY(0); opacity: 0; pointer-events: none; transition: .25s ease; }
  .navbar__menu.is-open { transform: scaleY(1); opacity: 1; pointer-events: all; }
  .menu__cta { margin: 8px 0 0; }
  
  /* Mobile Dropdown Styles */
  .menu__dropdown > a::after { display: none; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 8px 0 0 16px;
  }
  .dropdown a {
    padding: 4px 0;
    font-size: 14px;
    color: var(--color-muted);
  }
  .dropdown__cta {
    border: none;
    margin-top: 8px;
    padding-top: 0;
  }
  .dropdown__cta a {
    color: var(--color-primary);
    font-weight: 600;
  }
  .hero__content { grid-template-columns: 1fr; padding-block: 40px; min-height: auto; }
  .kpis { gap: 18px; }
  .how-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__legal { justify-items: start; }
} 

/* Botão de ajuda nas especificações */
.help-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.help-modal::backdrop { background: rgba(0,0,0,.35); }
.help-modal { border: 1px solid var(--color-border); border-radius: 12px; padding: 16px; max-width: 560px; width: 92vw; }
.help-list { margin: 8px 0 0; padding-left: 18px; color: #374151; }
.help-actions { display: flex; justify-content: flex-end; margin-top: 8px; }

/* Modal de comparação */
.compare-modal::backdrop { background: rgba(0,0,0,.35); }
.compare-modal { border: 1px solid var(--color-border); border-radius: 12px; padding: 16px; max-width: 800px; width: 96vw; }
#compare-content { display: grid; gap: 10px; }

/* Preparação para imagem/código/normas no card de componente */
.component-card { position: relative; }
.component-media { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; border: 1px solid #e5e7eb; background: #fff; display: none; }
.component-media img { width: 100%; height: 100%; object-fit: cover; }
.component-meta { display: grid; gap: 2px; }
.component-code, .component-standards { font-size: 12px; color: #6b7280; }

/* Ajustes do header da seção especificações */
.section-header .section-title { margin: 0; }
.section-header .help-btn { margin-left: auto; } 

/* Cotação Inteligente */
.qi-container { display: grid; gap: 16px; }
.qi-with-aside { grid-template-columns: 1fr 320px; align-items: start; }
.qi-with-aside .qi-upload { grid-column: 1; grid-row: 1; }
.qi-with-aside .qi-insights { grid-column: 2; grid-row: 1; }
.qi-with-aside .qi-results { grid-column: 1 / -1; grid-row: 2; }
.qi-with-aside .qi-finalize { grid-column: 1 / -1; grid-row: 3; }
.qi-upload { background: #fff; border: 1px solid var(--color-border); border-radius: 16px; padding: 16px; box-shadow: var(--shadow-sm); display: grid; gap: 12px; }
.qi-drop { border: 2px dashed #d1d5db; border-radius: 12px; padding: 16px; text-align: center; color: #6b7280; }
.qi-paste textarea { width: 100%; border: 1px solid var(--color-border); border-radius: 8px; padding: 10px 12px; font: inherit; background: #fff; }
.qi-options { display: flex; gap: 12px; align-items: center; }
.qi-actions { display: flex; gap: 8px; }
.qi-results { background: #fff; border: 1px solid var(--color-border); border-radius: 16px; padding: 16px; box-shadow: var(--shadow-sm); overflow-x: auto; }
.qi-finalize { display: flex; justify-content: flex-end; }
.qi-finalize { gap: 10px; align-items: center; flex-wrap: wrap; }
.qi-help { font-size: 12px; }
.qi-template { margin-top: 8px; font-size: 13px; }
.qi-warnings { margin-top: 10px; padding: 10px; border: 1px dashed #f59e0b; background: #fffbeb; color: #92400e; border-radius: 8px; font-size: 13px; display: none; }
.qi-insights { background: #fff; border: 1px solid var(--color-border); border-radius: 16px; padding: 12px; box-shadow: var(--shadow-sm); }
.insights-header { font-weight: 800; margin-bottom: 8px; }
.insight { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 10px; padding: 8px 10px; margin-bottom: 8px; font-size: 13px; }
.insight .tag { margin-left: 6px; font-size: 11px; color: #374151; background: #e5e7eb; border-radius: 999px; padding: 2px 6px; }

/* Modal de coleta de leads da cotação */
.qi-lead-modal { 
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0; 
  background: rgba(0, 0, 0, 0.6); 
  z-index: 1000; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  padding: 20px; 
}
.qi-lead-modal__content { 
  background: #fff; 
  border-radius: 16px; 
  box-shadow: var(--shadow-lg); 
  padding: 24px; 
  width: 100%; 
  max-width: 480px; 
  animation: slideUp 0.3s ease-out; 
}
.qi-lead-modal__header { 
  text-align: center; 
  margin-bottom: 20px; 
}
.qi-lead-modal__header h3 { 
  margin: 0 0 8px 0; 
  color: var(--color-primary); 
  font-size: 20px; 
}
.qi-lead-modal__header p { 
  margin: 0; 
  color: #6b7280; 
  font-size: 14px; 
}
.qi-lead-form .form-group { 
  margin-bottom: 16px; 
}
.qi-lead-form label { 
  display: block; 
  margin-bottom: 6px; 
  font-weight: 500; 
  color: #374151; 
  font-size: 14px; 
}
.qi-lead-form input { 
  width: 100%; 
  padding: 12px; 
  border: 1px solid var(--color-border); 
  border-radius: 8px; 
  font: inherit; 
  background: #fff; 
  transition: border-color 0.2s; 
}
.qi-lead-form input:focus { 
  outline: none; 
  border-color: var(--color-primary); 
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1); 
}
.qi-lead-actions { 
  display: flex; 
  gap: 12px; 
  justify-content: flex-end; 
  margin-top: 24px; 
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
  .qi-lead-modal { padding: 16px; }
  .qi-lead-modal__content { padding: 20px; }
  .qi-lead-actions { flex-direction: column; }
}
.muted { color: #6b7280; }
/* Carrossel de formatos aceitos */
.qi-formats { margin-top: 10px; }
.format-carousel { display: flex; gap: 8px; overflow-x: auto; padding: 6px 2px; scroll-snap-type: x proximity; }
.format-carousel::-webkit-scrollbar { height: 6px; }
.format-carousel::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 999px; }
.format-pill { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--color-border); border-radius: 999px; background: #fff; font-size: 12px; font-weight: 700; color: #374151; scroll-snap-align: start; }
.format-pill .ico { font-size: 14px; }
.format-pill:hover { background: #f9fafb; }
.qi-hint { font-size: 12px; margin-top: 6px; }
 
 .qi-table { width: 100%; border-collapse: collapse; }
.qi-table th, .qi-table td { border-bottom: 1px solid #e5e7eb; padding: 10px; text-align: left; white-space: nowrap; }
.qi-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #6b7280; }
.qi-row-actions { display: flex; gap: 6px; }
.qi-chip { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; border: 1px solid #e5e7eb; font-size: 12px; color: #374151; background: #f9fafb; }

/* Microinterações e feedbacks sutis */
/* Glow ao arrastar arquivo */
.qi-drop.is-dragover { border-color: #60a5fa; background: linear-gradient(180deg, #f0f9ff, #ffffff); box-shadow: 0 0 0 3px #dbeafe inset; transform: translateZ(0); }
.qi-drop { transition: box-shadow .2s ease, border-color .2s ease, background .2s ease; }

/* Skeleton shimmer para resultados enquanto processa */
@keyframes shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: 200px 0; }
}
.skeleton { position: relative; overflow: hidden; background: #f3f4f6; }
.skeleton::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent); background-size: 200px 100%; animation: shimmer 1.2s infinite; }
.skeleton-line { height: 12px; border-radius: 6px; }
.skeleton-sm { height: 10px; }
.skeleton-lg { height: 14px; }
.qi-results.is-loading { opacity: 0.85; }
.qi-results .skeleton-table { width: 100%; border-collapse: collapse; }
.skeleton-cell { padding: 10px; border-bottom: 1px solid #e5e7eb; }

/* Mensagens do chat com aparição suave */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.message { animation: fadeInUp .25s ease both; }

/* Animação de aparição ao rolar (reveal) */
.reveal-up { opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.reveal-up.is-in { opacity: 1; transform: none; }

/* Realce rápido após edição */
@keyframes flashUpdate { 0% { background: #ecfeff; } 100% { background: transparent; } }
.flash-update { animation: flashUpdate 1.2s ease-out 1; }

/* Botões: micro feedback de clique */
.btn:active { transform: translateY(1px) scale(0.99); }

/* Indicador sutil de status na área de insights */
.insights-header::after { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #10b981; margin-left: 8px; vertical-align: middle; animation: pulse 2s infinite; }

/* Badges para status/norma/alternativa no preview (serão inseridos no futuro) */
.badge-ok { color: #065f46; background: #d1fae5; border-color: #10b981; }
.badge-warn { color: #92400e; background: #fef3c7; border-color: #f59e0b; }
.badge-alt { color: #1e40af; background: #dbeafe; border-color: #60a5fa; }

@media (max-width: 768px) {
  .qi-actions { flex-wrap: wrap; }
  .qi-with-aside { grid-template-columns: 1fr; }
  .qi-with-aside .qi-upload,
  .qi-with-aside .qi-insights,
  .qi-with-aside .qi-results,
  .qi-with-aside .qi-finalize { grid-column: auto; grid-row: auto; }
  .qi-finalize { justify-content: space-between; }
  .kpi-cards { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
} 

/* Abas Assistente (Montador / Cotação) */
.tabs { border-bottom: 1px solid var(--color-border); background: #fff; position: sticky; top: 60px; z-index: 40; margin-bottom: 16px; }
.tabs .container { display: flex; gap: 8px; padding-block: 8px; }
.tab { appearance: none; background: #fff; border: 1px solid var(--color-border); border-bottom: 2px solid transparent; border-radius: 999px; padding: 8px 14px; font-weight: 700; cursor: pointer; color: #374151; }
.tab.is-active { background: #111827; color: #fff; border-color: #111827; }

/* Ocultação via hidden nativo já funciona */ 

/* Botões gerais: foco acessível */
.btn:focus-visible { outline: 3px solid #e5e7eb; border-color: #9ca3af; }
.btn--ghost:hover { border-color: #9ca3af; background: #f9fafb; }

/* Chat suggestions mais caprichadas */
.suggestion-btn {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}
.suggestion-btn:hover { background: #f3f4f6; border-color: #d1d5db; }

/* Abas com hover/focus e transição */
.tabs .container { gap: 10px; }
.tab { transition: all .2s ease; }
.tab:hover { background: #f3f4f6; border-color: #d1d5db; }
.tab.is-active { background: #111827; color: #fff; border-color: #111827; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.tab:focus-visible { outline: 3px solid #e5e7eb; }

/* Ações da Cotação por linha: pills elegantes e variação para excluir */
.qi-row-actions .btn { 
  background: #f9fafb; 
  border-color: #e5e7eb; 
  border-radius: 999px; 
  padding: 6px 10px; 
  font-weight: 600; 
  font-size: 12px;
}
.qi-row-actions .btn:hover { background: #f3f4f6; border-color: #d1d5db; }
.qi-row-actions .btn[data-qi="del"] { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.qi-row-actions .btn[data-qi="del"]:hover { background: #fee2e2; }

/* Botões da seção de upload: dar mais presença ao primário */
.qi-actions .btn--primary { box-shadow: 0 6px 20px rgba(17,24,39,.15); }
.qi-actions .btn--primary:hover { transform: translateY(-1px); } 

/* Como funciona */
.how-grid { display: block; }
/* Sequência horizontal com conectores (desktop) e vertical (mobile) */
.how-sequence { display: flex; align-items: stretch; gap: 12px; }
.how-node { background: #fff; border: 1px solid var(--color-border); border-radius: 16px; padding: 20px; box-shadow: var(--shadow-sm); display: grid; gap: 8px; align-content: start; position: relative; flex: 1; min-width: 0; }
.how-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #f3f4f6; border: 1px solid var(--color-border); font-size: 18px; }
.how-node h3 { margin: 0; font-size: 16px; }
.how-node p { margin: 0; color: var(--color-muted); font-size: 14px; }
.how-badge { position: absolute; top: -10px; left: 14px; width: 28px; height: 28px; border-radius: 999px; background: #111827; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.12); border: 2px solid #fff; }
.how-connector { align-self: center; height: 2px; background: var(--color-border); flex: 0 0 40px; position: relative; }
.how-connector::after { content: ''; position: absolute; right: -6px; top: -4px; border: 6px solid transparent; border-left-color: var(--color-border); }
/* Vídeo da seção Como funciona */
.how-video { margin: 12px 0 40px; border: 1px solid var(--color-border); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.how-video__el { display: block; width: 100%; height: auto; max-height: 420px; object-fit: contain; background: var(--bg-secondary); }

@media (max-width: 860px) {
  .how-sequence { flex-direction: column; }
  .how-connector { width: 2px; height: 24px; flex: 0 0 24px; margin: 0 auto; }
  .how-connector::after { right: auto; left: -4px; top: auto; bottom: -6px; border-left-color: transparent; border-top-color: var(--color-border); }
} 

/* Animações leves nos ícones do carrossel */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
@keyframes glowText {
  0%, 100% { text-shadow: none; opacity: .95; }
  50% { text-shadow: 0 0 6px rgba(17,24,39,.12); opacity: 1; }
}
.format-carousel .format-pill .ico {
  display: inline-block;
  will-change: transform;
  animation: floatY 3s ease-in-out infinite, glowText 4s ease-in-out infinite;
}
.format-carousel .format-pill:nth-child(2) .ico { animation-delay: .2s, .2s; }
.format-carousel .format-pill:nth-child(3) .ico { animation-delay: .4s, .4s; }
.format-carousel .format-pill:nth-child(4) .ico { animation-delay: .6s, .6s; }
.format-carousel .format-pill:nth-child(5) .ico { animation-delay: .8s, .8s; }
.format-carousel .format-pill:nth-child(6) .ico { animation-delay: 1s, 1s; }

@media (prefers-reduced-motion: reduce) {
  .format-carousel .format-pill .ico { animation: none; }
} 

/* Overlay de loading na área de Cotação por Lista */
.qi-upload { position: relative; }
.loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  z-index: 5;
  border-radius: 12px;
}
.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #e5e7eb;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.loading-label { font-size: 14px; color: #374151; }
@keyframes spin { to { transform: rotate(360deg); } }

[aria-busy="true"] { pointer-events: none; } 

.trust-strip { display: grid; gap: 10px; margin-top: 16px; }
.trust-strip .client-logos { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.trust-strip .logo { padding: 6px 10px; border: 1px dashed var(--color-border); border-radius: 999px; font-weight: 600; color: var(--color-muted); background: #fff; }
.trust-strip .cert-badges { display: flex; gap: 8px; align-items: center; }
.badge-cert { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 24px; border-radius: 8px; background: #111827; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.trust-strip .micro-case { font-size: 13px; color: var(--color-muted); }

/* KPI live */
.kpi-live { margin-top: 14px; text-align: center; font-size: 14px; color: var(--color-text); }
.kpi-live strong { font-weight: 800; }

/* Holográfico nos cards de produto */
.card { position: relative; overflow: hidden; }
.card::after { content: ""; position: absolute; inset: 0; background: conic-gradient(from 180deg at 50% 50%, rgba(99,102,241,.06), rgba(16,185,129,.06), rgba(59,130,246,.06), rgba(99,102,241,.06)); opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.card:hover::after { opacity: 1; } 

/* Ícones minimalistas (SVG embutido) */
.icon, .feature__icon { background-repeat: no-repeat; background-position: center; background-size: 20px 20px; }

.icon--washer, .feature__icon.icon--washer {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23111827" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="8"/><circle cx="12" cy="12" r="3"/></svg>');
}
.icon--nut, .feature__icon.icon--nut {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2l7 4v8l-7 4-7-4V6z'/><circle cx='12' cy='12' r='3'/></svg>");
}
.icon--bolt, .feature__icon.icon--bolt {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23111827" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M13 2L3 14h7l-1 8 10-12h-7z"/></svg>');
}
.icon--anchor, .feature__icon.icon--anchor {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23111827" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="6" r="2"/><path d="M12 8v10"/><path d="M5 13a7 7 0 0 0 14 0"/><path d="M5 13H3m18 0h-2"/></svg>');
}
.icon--clamp, .feature__icon.icon--clamp {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23111827" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><rect x="4" y="4" width="16" height="6" rx="2"/><path d="M12 10v10"/><path d="M9 20h6"/></svg>');
}
.icon--electric, .feature__icon.icon--electric {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23111827" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M13 2L3 14h7l-1 8 10-12h-7z"/></svg>');
}

/* Ícones para diferenciais */
.feature__icon.icon--quality {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="%23111827" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2l3.09 1.26L16.97 6l2.88 2L19 12l.85 4-2.88 2-1.88 2.74L12 22l-3.09-1.26L7.03 18l-2.88-2L5 12l-.85-4L7.03 6l1.88-2.74L12 2z"/><path d="M9 12l2 2 4-4"/></svg>');
}
.feature__icon.icon--price {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="%23111827" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M3 7l9-4 9 4v6c0 5-4 8-9 10-5-2-9-5-9-10V7z"/><text x="12" y="13" text-anchor="middle" font-size="7" fill="%23111827">$</text></svg>');
}
.feature__icon.icon--support {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="%23111827" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M4 13v-1a8 8 0 0 1 16 0v1"/><rect x="2" y="12" width="4" height="6" rx="1"/><rect x="18" y="12" width="4" height="6" rx="1"/><path d="M10 19h4"/></svg>');
} 

/* Hero background: ajuste para mobile */
.hero__bg-svg { width: 100%; height: 100%; display: block; }
@media (max-width: 860px) {
  .g-shapes { display: none; }
} 