/* =========================================================
   LIMPOU · Frontend público — Editorial premium
   ========================================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --brand: #0a2d6b;
  --brand-deep: #061d4a;
  --brand-soft: #dbeafe;
  --brand-50: #eff6ff;
  --gold: #facc15;
  --gold-deep: #ca8a04;
  --gold-soft: #fef9c3;
  --whats: #25d366;
  --whats-deep: #1da851;
  --warn: #f59e0b;
  --warn-soft: #fffbeb;
  --bg: #fafafa;
  --surface: #ffffff;
  --surface-2: #f5f5f4;
  --surface-3: #e7e5e4;
  --text: #18181b;
  --text-soft: #44403c;
  --text-mute: #78716c;
  --border: #e4e4e7;
  --border-2: #d4d4d8;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow: 0 8px 24px rgba(10,45,107,0.07);
  --shadow-lg: 0 18px 40px rgba(10,45,107,0.12);
  --shadow-gold: 0 12px 30px rgba(202,138,4,0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
html, body { background: var(--bg); }
body {
  font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: 'Rubik', sans-serif; letter-spacing: -0.02em; line-height: 1.15; }
button, a { cursor: pointer; font-family: inherit; }
button { border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }

/* =========================================================
   ICONES CUSTOM (webp)
   ========================================================= */
.icone-mini {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.search-glass .ico { width: 28px; height: 28px; padding: 0; }
.search-glass .ico img { width: 100%; height: 100%; object-fit: contain; }
.cf-icon-img {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cf-icon-img img { width: 100%; height: 100%; object-fit: contain; }
.esp-avatar-img {
  background: white !important;
  border: 1px solid var(--border);
  padding: 4px;
}
.esp-avatar-img img { width: 100%; height: 100%; object-fit: contain; }
.esp-avatar.esp-avatar-img::after {
  /* Reposiciona o dot verde de status */
  bottom: -3px; right: -3px;
}
.trilha-check-img {
  width: 22px; height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}
.ia-icone-img {
  background: white !important;
  padding: 4px;
}
.ia-icone-img img { width: 100%; height: 100%; object-fit: contain; }
.badge-icone {
  width: 14px; height: 14px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}
.btn-whats-icone {
  width: 20px; height: 20px;
  object-fit: contain;
}
.btn-whats.grande .btn-whats-icone { width: 24px; height: 24px; }
.card-placeholder img { width: 64px; height: 64px; opacity: 0.5; }
.erro-illus-img {
  background: transparent !important;
}
.erro-illus-img img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

/* =========================================================
   MODO COMPACTO (busca ativa - foca no resultado)
   ========================================================= */
/* Quando body.busca-ativa: encolhe hero, esconde sessoes de marketing */
body.busca-ativa .como-funciona,
body.busca-ativa .trust-section,
body.busca-ativa .examples {
  display: none !important;
}
body.busca-ativa .hero {
  padding-bottom: 14px;
  transition: padding-bottom 250ms var(--ease);
}
body.busca-ativa .hero-wrap {
  padding: 22px 24px 6px;
  transition: padding 250ms var(--ease);
}
body.busca-ativa .hero-content {
  margin: 6px auto;
}
body.busca-ativa .hero h1 {
  font-size: clamp(1.4rem, 3.4vw, 1.85rem);
  margin-bottom: 8px;
  transition: font-size 250ms var(--ease);
}
body.busca-ativa .hero-subtitle {
  display: none;
}
body.busca-ativa .trust-strip {
  display: none;
}
body.busca-ativa .brand-logo {
  margin-bottom: 14px;
}
body.busca-ativa .brand-logo img {
  height: 46px;
  transition: height 250ms var(--ease);
}
body.busca-ativa main {
  padding-top: 18px;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background: linear-gradient(165deg, #0a2d6b 0%, #061d4a 55%, #050f2e 100%);
  color: white;
  overflow: hidden;
  isolation: isolate;
  padding-bottom: 56px;
  transition: padding-bottom 250ms var(--ease);
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: 0.45;
  z-index: 0; animation: morph 16s ease-in-out infinite;
}
.blob-1 { width: 520px; height: 520px; top: -120px; left: -140px;
  background: radial-gradient(circle, #2563eb, transparent 70%); }
.blob-2 { width: 400px; height: 400px; top: 30%; right: -100px;
  background: radial-gradient(circle, #facc15, transparent 70%); opacity: 0.3; animation-delay: -5s; }
.blob-3 { width: 460px; height: 460px; bottom: -140px; left: 30%;
  background: radial-gradient(circle, #60a5fa, transparent 70%); animation-delay: -10s; }
@keyframes morph {
  0%,100% { border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%; transform: translate(0,0); }
  33% { border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%; transform: translate(40px,-30px); }
  66% { border-radius: 50% 50% 60% 40% / 40% 50% 50% 60%; transform: translate(-30px,30px); }
}
.hero-wrap {
  position: relative; z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 24px 24px;
  transition: padding 250ms var(--ease);
}
.brand-logo {
  display: inline-block;
  margin-bottom: 24px;
  background: white;
  padding: 8px 14px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transition: margin-bottom 250ms var(--ease), padding 250ms var(--ease);
}
.brand-logo img { height: 64px; width: auto; display: block; transition: height 250ms var(--ease); }
body.busca-ativa .brand-logo { padding: 6px 12px; }

.hero-content {
  text-align: center;
  max-width: 820px;
  margin: 22px auto;
  animation: heroIn 700ms var(--ease) both;
}
@keyframes heroIn { from {opacity:0; transform: translateY(18px);} to {opacity:1; transform: translateY(0);} }

.trust-strip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  font-size: 0.86rem;
  margin-bottom: 24px;
}
.trust-pill { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.92); }
.trust-pill strong { color: white; font-weight: 700; }
.trust-pill svg { color: var(--gold); }
.trust-sep { opacity: 0.4; }

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
  transition: font-size 250ms var(--ease), margin-bottom 250ms var(--ease);
}
.accent {
  background: linear-gradient(120deg, var(--gold), #fef3c7, var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 4s linear infinite;
}
@keyframes shine { 0% { background-position: 0%; } 100% { background-position: 200%; } }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.12rem);
  opacity: 0.88;
  margin-bottom: 18px;
  max-width: 620px;
  margin-inline: auto;
  line-height: 1.55;
}
.hero-oferta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px;
  margin: 0 auto 26px;
  background: linear-gradient(135deg, var(--gold), #eab308);
  color: var(--brand);
  border-radius: 999px;
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(234, 179, 8, 0.35);
  letter-spacing: 0.01em;
}
.hero-oferta .oferta-tag {
  background: var(--brand);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.08em;
}
.hero-oferta .oferta-sep { opacity: 0.6; font-weight: 800; }
body.busca-ativa .hero-oferta { display: none; }
@media (max-width: 560px) {
  .hero-oferta { font-size: 0.85rem; padding: 8px 14px; gap: 6px; }
  .hero-oferta .oferta-sep { display: none; }
}

.search-glass {
  background: rgba(255,255,255,0.98);
  border-radius: 18px;
  padding: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.28);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.search-glass .ico { margin-left: 16px; color: var(--brand); display: flex; flex-shrink: 0; }
.search-glass .ico svg { width: 22px; height: 22px; stroke: currentColor; }
.search-glass input {
  flex: 1;
  border: none; outline: none;
  padding: 16px 6px;
  font-size: 1.04rem;
  background: transparent;
  color: var(--text);
  font-weight: 500;
  font-family: inherit;
  min-width: 0;
}
.search-glass input::placeholder { color: var(--text-mute); }
.search-glass button[type=submit] {
  background: linear-gradient(135deg, var(--gold), #eab308);
  color: var(--brand);
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 800;
  font-family: 'Rubik', sans-serif;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 200ms;
  letter-spacing: 0.01em;
}
.search-glass button[type=submit]:hover { transform: translateY(-1px); box-shadow: var(--shadow-gold); }
.btn-icone-mobile {
  display: none;
  width: 22px; height: 22px;
  stroke: currentColor;
}
.btn-spin {
  display: none;
  width: 14px; height: 14px;
  border: 2px solid var(--brand);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.htmx-request .btn-spin { display: inline-block; }

/* Mobile: botao vira icone-only pra nao roubar espaco do input */
@media (max-width: 560px) {
  .search-glass { padding: 6px; gap: 4px; }
  .search-glass .ico { margin-left: 10px; width: 22px; height: 22px; }
  .search-glass input { padding: 14px 4px; font-size: 1rem; }
  .search-glass button[type=submit] {
    padding: 12px;
    width: 44px; height: 44px;
    border-radius: 10px;
    justify-content: center;
    flex-shrink: 0;
  }
  .search-glass .btn-text { display: none; }
  .search-glass .btn-icone-mobile { display: inline-block; }
  .htmx-request .btn-icone-mobile { display: none; }
}
.htmx-request .btn-text { opacity: 0.45; }
@keyframes spin { to { transform: rotate(360deg); } }

.examples {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  margin-top: 22px;
  max-width: 760px; margin-inline: auto;
  align-items: center;
}
.examples-label { font-size: 0.82rem; opacity: 0.7; margin-right: 4px; }
.example {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  color: white;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 180ms;
  font-family: inherit;
}
.example:hover { background: rgba(255,255,255,0.22); transform: translateY(-1px); }

/* =========================================================
   COMO FUNCIONA
   ========================================================= */
.como-funciona {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 64px 24px 56px;
}
.cf-wrap { max-width: 1100px; margin: 0 auto; }
.cf-eyebrow {
  font-family: 'Rubik', sans-serif;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  margin-bottom: 12px;
}
.como-funciona h2 {
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 44px;
  color: var(--text);
}
.cf-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 20px;
  align-items: start;
}
@media (max-width: 760px) {
  .cf-steps { grid-template-columns: 1fr; gap: 12px; }
  .cf-arrow { display: none; }
}
.cf-step {
  position: relative;
  text-align: center;
  padding: 28px 18px 24px;
}
.cf-num {
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: var(--brand);
  color: white;
  border-radius: 50%;
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 14px;
}
.cf-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  background: var(--brand-soft);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}
.cf-icon svg { width: 28px; height: 28px; }
.cf-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.cf-step p {
  font-size: 0.93rem;
  color: var(--text-soft);
  line-height: 1.55;
}
.cf-step p em { font-style: italic; color: var(--brand); }
.cf-arrow {
  align-self: center;
  font-size: 1.5rem;
  color: var(--text-mute);
  margin-top: 60px;
}

/* =========================================================
   PAINEL BUSCA AO VIVO (analisando)
   ========================================================= */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 24px 24px;
  min-height: 80px;
}
.painel-busca-ao-vivo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px 28px;
  box-shadow: var(--shadow);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* View Transitions: crossfade suave entre polls do HTMX */
@supports (view-transition-name: a) {
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation-duration: 220ms;
    animation-timing-function: var(--ease);
  }
}

.busca-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.esp-avatar {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.esp-avatar svg { width: 22px; height: 22px; color: var(--gold); }
.esp-avatar.small { width: 38px; height: 38px; border-radius: 10px; }
.esp-avatar.small svg { width: 16px; height: 16px; }
.esp-avatar::after {
  content: '';
  position: absolute;
  bottom: -2px; right: -2px;
  width: 14px; height: 14px;
  background: #16a34a;
  border: 3px solid var(--surface);
  border-radius: 50%;
  animation: pulse-dot 1.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.esp-info { flex: 1; }
.esp-titulo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2px;
}
.esp-nome {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}
.esp-status {
  font-size: 0.78rem;
  color: #16a34a;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.status-dot {
  width: 7px; height: 7px;
  background: #16a34a;
  border-radius: 50%;
  animation: pulse-dot 1.4s ease-in-out infinite;
}
.esp-acao {
  font-size: 0.96rem;
  color: var(--text-soft);
  font-weight: 500;
}

.busca-progresso {
  background: var(--surface-2);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 22px;
}
.etapa-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}
.etapa-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-mute);
  font-weight: 600;
  font-family: 'Rubik', sans-serif;
}
.etapa-item.etapa-ativa { color: var(--brand); }
.etapa-bullet {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--border-2);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
}
.etapa-ativa .etapa-bullet {
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(10,45,107,0.12);
}
.etapa-conector {
  flex: 1;
  height: 2px;
  background: var(--border-2);
  border-radius: 1px;
}

.pergunta-original {
  font-size: 0.92rem;
  color: var(--text-soft);
  padding: 12px 16px;
  background: var(--brand-50);
  border-radius: 10px;
  border-left: 3px solid var(--brand);
  margin-bottom: 18px;
}
.po-label { color: var(--text-mute); margin-right: 6px; }
.pergunta-original strong { color: var(--text); font-weight: 600; font-style: italic; }

.trilha-buscas { margin-top: 18px; }
.trilha-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  font-weight: 700;
  font-family: 'Rubik', sans-serif;
  margin-bottom: 12px;
}
.trilha-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--surface-2);
  border-radius: 10px;
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.trilha-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #16a34a;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trilha-query { color: var(--text); font-weight: 500; }
.trilha-count {
  margin-left: auto;
  color: var(--text-mute);
  font-size: 0.84rem;
  font-variant-numeric: tabular-nums;
}

/* =========================================================
   RESULTADO (análise + cards)
   ========================================================= */
.resultado-final { animation: heroIn 500ms var(--ease) both; }

.analise-header {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.ah-esp {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.ah-nome {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}
.ah-meta {
  font-size: 0.8rem;
  color: var(--text-mute);
  margin-top: 2px;
}
.ah-explicacao {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text);
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--brand-50), var(--gold-soft));
  border-radius: 12px;
  border-left: 3px solid var(--gold);
  margin-bottom: 12px;
}
.ah-pergunta-orig {
  font-size: 0.86rem;
  color: var(--text-mute);
}
.ah-pergunta-orig em {
  color: var(--text-soft);
  font-style: italic;
}

/* CARDS DE PRODUTO */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}
.card-prod {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all 250ms var(--ease);
  display: flex;
  flex-direction: column;
  animation: cardIn 500ms var(--ease) both;
}
.card-prod:nth-child(1) { animation-delay: 0ms; }
.card-prod:nth-child(2) { animation-delay: 80ms; }
.card-prod:nth-child(3) { animation-delay: 160ms; }
.card-prod:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-destaque {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), var(--shadow);
}
.card-destaque:hover { box-shadow: 0 0 0 1px var(--gold), var(--shadow-lg); }

.badge-destaque {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  background: linear-gradient(135deg, var(--gold), #eab308);
  color: var(--brand);
  padding: 7px 13px 7px 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: 'Rubik', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: var(--shadow-gold);
  overflow: hidden;
}
.badge-destaque::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: shimmer 2.6s infinite;
}
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.badge-destaque svg, .badge-destaque span { position: relative; z-index: 1; }

.card-img-wrap {
  aspect-ratio: 1;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  background: white;
  padding: 18px;
}
.card-destaque .card-img-wrap { background: linear-gradient(135deg, var(--gold-soft), var(--brand-50)); }
.card-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2);
  color: var(--text-mute);
}
.card-placeholder svg { width: 56px; height: 56px; opacity: 0.4; }

.card-corpo {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.card-nome {
  font-family: 'Rubik', sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-destaque .card-nome { font-weight: 700; }

.card-emb {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.emb-pill {
  font-size: 0.74rem;
  background: var(--surface-2);
  color: var(--text-soft);
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.bloco-por-que {
  background: var(--gold-soft);
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 12px 14px;
}
.bpq-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Rubik', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.bloco-por-que ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bloco-por-que li {
  font-size: 0.86rem;
  line-height: 1.45;
  color: #713f12;
  padding-left: 14px;
  position: relative;
}
.bloco-por-que li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold-deep);
  font-weight: 800;
}

.card-fams {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  align-items: center;
}
.fam-pill {
  font-family: 'Rubik', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--brand-soft);
  color: var(--brand-deep);
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ph-pill {
  font-size: 0.72rem;
  background: var(--surface-2);
  color: var(--text-mute);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.card-acoes {
  margin-top: auto;
  padding-top: 4px;
}
.btn-whats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--whats);
  color: white;
  border-radius: 12px;
  text-decoration: none;
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  font-size: 0.94rem;
  transition: all 200ms var(--ease);
  width: 100%;
  box-shadow: 0 6px 16px rgba(37,211,102,0.22);
}
.btn-whats:hover {
  background: var(--whats-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(37,211,102,0.32);
}
.btn-whats svg { width: 18px; height: 18px; fill: currentColor; }
.btn-whats.grande {
  padding: 16px 28px;
  font-size: 1.04rem;
  max-width: 340px;
  margin: 0 auto;
}
/* Disclaimer IA — aparece logo apos os cards de recomendacao */
.ai-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 22px auto 0;
  max-width: 760px;
  padding: 14px 18px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #78350f;
}
.ai-disclaimer-icone {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: #b45309;
  margin-top: 2px;
}
.ai-disclaimer strong { color: #92400e; font-weight: 700; }
.ai-disclaimer-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--whats-deep);
  font-weight: 700;
  text-decoration: none;
}
.ai-disclaimer-link:hover { text-decoration: underline; }

/* CTA do 1o produto recomendado — mais peso visual pra puxar o clique */
.btn-whats-destaque {
  padding: 14px 18px;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--whats), var(--whats-deep));
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.42);
  animation: pulseGreen 2.4s ease-in-out infinite;
}
.btn-whats-destaque:hover {
  animation-play-state: paused;
  transform: translateY(-2px) scale(1.01);
}
@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 10px 24px rgba(37, 211, 102, 0.42); }
  50%      { box-shadow: 0 10px 32px rgba(37, 211, 102, 0.65), 0 0 0 4px rgba(37, 211, 102, 0.15); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-whats-destaque { animation: none; }
}

.card-rodape {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  font-size: 0.74rem;
  color: var(--text-mute);
  font-weight: 500;
}
.card-rodape svg { color: #16a34a; }

/* =========================================================
   PERGUNTA REFINAMENTO
   ========================================================= */
.card-pergunta-ia {
  background: linear-gradient(135deg, var(--gold-soft), #fef3c7);
  border: 1px solid #fde68a;
  border-radius: 18px;
  padding: 24px 26px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.ia-icone-small {
  width: 38px; height: 38px;
  background: var(--gold);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
}
.ia-icone-small svg { width: 20px; height: 20px; }
.card-header h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--brand);
}
.pergunta-texto {
  font-size: 1.02rem;
  color: var(--text);
  margin-bottom: 16px;
  font-weight: 500;
}
.opcoes-radio { display: grid; gap: 8px; margin-bottom: 16px; }
.opcao {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 11px;
  cursor: pointer;
  transition: all 160ms var(--ease);
  font-size: 0.95rem;
}
.opcao:hover { border-color: var(--brand); background: var(--brand-50); }
.opcao input[type=radio] {
  width: 18px; height: 18px;
  accent-color: var(--brand);
  cursor: pointer;
}
.opcao:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-soft);
  font-weight: 600;
}
.btn-refinar {
  background: var(--brand);
  color: white;
  padding: 12px 24px;
  border-radius: 11px;
  font-weight: 700;
  font-family: 'Rubik', sans-serif;
  font-size: 0.95rem;
  transition: all 180ms;
}
.btn-refinar:hover { background: var(--brand-deep); }

/* =========================================================
   VAZIO / ERRO
   ========================================================= */
.painel-vazio, .painel-erro-escopo, .painel-erro-geral {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 56px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  animation: cardIn 400ms var(--ease) both;
}
.vazio-illus, .erro-illus {
  width: 80px; height: 80px;
  margin: 0 auto 20px;
  background: var(--brand-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
}
.erro-illus.erro-warn { background: var(--warn-soft); color: var(--warn); }
.vazio-illus svg, .erro-illus svg { width: 38px; height: 38px; }
.painel-vazio h2, .painel-erro-escopo h2, .painel-erro-geral h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.painel-vazio p, .painel-erro-escopo p, .painel-erro-geral p {
  color: var(--text-soft);
  max-width: 460px;
  margin: 0 auto 8px;
}
.micro { font-size: 0.84rem; color: var(--text-mute); margin-top: 12px !important; }
.link-nova-busca {
  display: inline-block;
  margin-top: 26px;
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  font-family: 'Rubik', sans-serif;
  font-size: 0.95rem;
}
.link-nova-busca:hover { color: var(--brand-deep); text-decoration: underline; }

.acao-rodape {
  margin-top: 28px;
  text-align: center;
}

.alert-erro {
  padding: 16px 20px;
  background: #fee2e2;
  color: #991b1b;
  border-radius: 12px;
  text-align: center;
  margin: 0 auto;
  max-width: 520px;
}

/* =========================================================
   TRUST SECTION (rodapé)
   ========================================================= */
.trust-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 24px;
}
.trust-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  flex-wrap: wrap;
}
.trust-item { text-align: center; }
.trust-num {
  font-family: 'Rubik', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 6px;
}
.trust-label {
  font-size: 0.84rem;
  color: var(--text-mute);
  font-weight: 500;
}
.trust-divider {
  width: 1px; height: 36px;
  background: var(--border);
}

/* =========================================================
   FOOTER + NAP
   ========================================================= */
footer {
  background: #f8fafc;
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
}
.footer-wrap {
  max-width: 1100px;
  margin: 0 auto;
}
.nap-bloco {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.nap-foto {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
}
.nap-foto img {
  width: 100%;
  height: 100%;
  max-height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 300ms var(--ease);
}
.nap-foto:hover img { transform: scale(1.03); }
.nap-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nap-nome { display: inline-block; }
.nap-logo { height: 38px; width: auto; }
.nap-endereco {
  font-size: 0.94rem;
  color: var(--text);
  line-height: 1.45;
}
.nap-endereco strong { color: var(--text); font-weight: 700; }
.nap-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--whats-deep);
  text-decoration: none;
  font-family: 'Rubik', sans-serif;
}
.nap-tel:hover { color: var(--whats); }
.nap-tel .icone-mini { width: 22px; height: 22px; }
.nap-horario {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.5;
}
.nap-horario strong { color: var(--text); font-weight: 700; }
.nap-site {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.92rem;
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  font-family: 'Rubik', sans-serif;
}
.nap-site:hover { color: var(--brand-deep); text-decoration: underline; }
.nap-reviews {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  font-family: 'Rubik', sans-serif;
  margin-top: 2px;
}
.nap-reviews:hover { color: var(--brand); }
.nap-reviews-estrelas {
  color: #f5b400;
  font-size: 1rem;
  letter-spacing: 1px;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.footer-brand-pequeno { display: flex; align-items: center; gap: 12px; max-width: 480px; }
.footer-logo { height: 28px; width: auto; }
.footer-brand-pequeno p { font-size: 0.8rem; color: var(--text-soft); }
.footer-cnpj {
  font-size: 0.76rem;
  color: var(--text-mute);
  text-align: right;
  line-height: 1.6;
}
.footer-cnpj a { color: var(--brand); text-decoration: none; }
.footer-cnpj a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .nap-bloco { grid-template-columns: 1fr; }
  .nap-foto img { max-height: 180px; }
  .footer-legal { flex-direction: column; text-align: center; }
  .footer-cnpj { text-align: center; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 640px) {
  .hero-wrap { padding: 28px 18px 16px; }
  .hero { padding-bottom: 40px; }
  .como-funciona { padding: 40px 20px; }
  .como-funciona h2 { margin-bottom: 30px; }
  main { padding: 24px 18px; }
  .painel-busca-ao-vivo { padding: 20px 18px; }
  .busca-header { flex-direction: row; }
  .esp-titulo { flex-direction: column; align-items: flex-start; gap: 4px; }
  .etapa-bar { gap: 6px; }
  .etapa-conector { display: none; }
  .etapa-item { flex-direction: column; gap: 4px; text-align: center; font-size: 0.78rem; }
  .analise-header { padding: 18px 18px; }
  .cards-grid { grid-template-columns: 1fr; gap: 14px; }
  .footer-wrap { flex-direction: column; text-align: center; }
  .footer-meta { text-align: center; }
  .trust-divider { display: none; }
  .trust-wrap { gap: 24px; }
}
