/*
 * HouseIndex — personalizações visuais (produção)
 * Guia: SECOES.md | Textos PT: translations-home.php | Config: config.php
 */

/* ── 0. Hero — pré-visualização do painel (dashboard + contratos) ── */
.framer-IV8qP .framer-1gk8b04 {
  overflow: visible !important;
  padding-bottom: 100px !important;
}

.framer-IV8qP .framer-1m384ax {
  max-width: 1180px !important;
}

.framer-IV8qP .framer-12rkpcc {
  max-width: 500px !important;
  flex-shrink: 0 !important;
}

.framer-d3opsu.hi-hero-preview-host,
.framer-IV8qP .framer-d3opsu.hi-hero-preview-host {
  width: 50% !important;
  max-width: 620px !important;
  aspect-ratio: unset !important;
  height: auto !important;
  overflow: visible !important;
  top: auto !important;
  left: auto !important;
  right: 40px !important;
  bottom: 44px !important;
  transform: none !important;
}

.framer-d3opsu.hi-hero-preview-host [data-framer-background-image-wrapper="true"] {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 9.2 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: #eef2f7 !important;
  box-shadow: 0 24px 56px rgba(0, 24, 72, 0.32) !important;
}

.framer-d3opsu.hi-hero-preview-host img.hi-hero-preview-main,
.framer-d3opsu img[src*="hero-dashboard-preview"],
.framer-d3opsu img[src*="uwtN26OUAQ94ctnX6dsdkoGPAw"] {
  object-fit: cover !important;
  object-position: top center !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  background: #eef2f7 !important;
}

.hi-hero-preview-secondary {
  position: absolute;
  left: -10%;
  bottom: 8%;
  width: 36%;
  min-width: 148px;
  max-width: 220px;
  z-index: 4;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  object-fit: cover;
  object-position: left top;
  aspect-ratio: 4 / 5.2;
  background: #faf8f5;
}

@media (min-width: 1400px) {
  .framer-d3opsu.hi-hero-preview-host,
  .framer-IV8qP .framer-d3opsu.hi-hero-preview-host {
    width: 48% !important;
    max-width: 660px !important;
    right: 56px !important;
    bottom: 52px !important;
  }
}

@media (max-width: 1199.98px) {
  .framer-d3opsu.hi-hero-preview-host,
  .framer-IV8qP .framer-d3opsu.hi-hero-preview-host {
    width: 54% !important;
    max-width: 580px !important;
    right: 24px !important;
    bottom: 36px !important;
  }

  .framer-IV8qP .framer-12rkpcc {
    max-width: 440px !important;
  }

  .hi-hero-preview-secondary {
    width: 34%;
    left: -8%;
    bottom: 6%;
    object-position: left top;
  }
}

@media (max-width: 809.98px) {
  .framer-d3opsu.hi-hero-preview-host,
  .framer-IV8qP .framer-d3opsu.hi-hero-preview-host {
    position: relative !important;
    width: 100% !important;
    max-width: 520px !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 32px auto 0 !important;
  }

  .hi-hero-preview-secondary {
    width: 38%;
    left: -4%;
    bottom: 4%;
    object-position: left top;
  }
}

/* ── 1. Logo HouseIndex (texto — nav, rodapé, hero) ── */
img[src*="SLeJEt00uGOE9SaPa9wVFiw"],
img[src*="WxaZNtyO1nDu7UmyK648dCQqg"],
img[src*="house-index-logo"],
img[alt="Qobrix Logo"],
img[alt="Qobrix CRM Logo"],
.hi-logo-img,
a[data-framer-name="Qobrix-Blue"] img,
a[data-framer-name="Qobrix-Blue"] [data-framer-background-image-wrapper],
a.framer-3hxked img,
a.framer-3hxked [data-framer-background-image-wrapper],
[data-framer-name="Logo Container"] img[src*="SLeJEt00uGOE9SaPa9wVFiw"],
[data-framer-name="Logo Container"] img[src*="WxaZNtyO1nDu7UmyK648dCQqg"],
[data-framer-name*="Qobrix Logo"] img,
[data-framer-name*="Qobrix Logo"] [data-framer-background-image-wrapper] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

a[data-framer-name="Qobrix-Blue"],
a.framer-3hxked[data-framer-name="Qobrix-Blue"],
a:has(img[src*="SLeJEt00uGOE9SaPa9wVFiw"]),
a:has(img[src*="WxaZNtyO1nDu7UmyK648dCQqg"]),
a.hi-logo-text {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-width: 148px !important;
  min-height: 42px !important;
  background: transparent !important;
  text-decoration: none !important;
  position: relative !important;
}

a[data-framer-name="Qobrix-Blue"]::before,
a.framer-3hxked[data-framer-name="Qobrix-Blue"]::before,
a:has(img[src*="SLeJEt00uGOE9SaPa9wVFiw"])::before,
a:has(img[src*="WxaZNtyO1nDu7UmyK648dCQqg"])::before,
a.hi-logo-text::before {
  content: "HouseIndex";
  font-family: "Poppins", "Poppins Placeholder", sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: rgb(51, 126, 223);
  line-height: 1;
  white-space: nowrap;
  display: block !important;
}

a.hi-logo-text:has(.hi-logo-label)::before {
  content: none !important;
  display: none !important;
}

.hi-logo-label {
  display: inline-block !important;
  pointer-events: none !important;
  font-family: "Poppins", "Poppins Placeholder", sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
  color: rgb(51, 126, 223);
  font-size: 22px;
}

.hi-logo-label-nav {
  color: rgb(51, 126, 223) !important;
  font-size: 22px !important;
}

.hi-logo-label-footer {
  color: rgb(255, 255, 255) !important;
  font-size: 24px !important;
}

.hi-logo-label-hero,
.hi-logo-label-hero-large {
  color: rgb(255, 255, 255) !important;
}

.hi-logo-label-hero {
  font-size: 26px !important;
}

.hi-logo-label-hero-large {
  font-size: 32px !important;
}

.framer-w3lj4 .framer-1mywqmr,
.framer-1mywqmr[data-framer-name="Qobrix-Blue"],
a.framer-1mywqmr,
[data-framer-name*="Qobrix Logo"] {
  background-image: none !important;
  background: transparent !important;
  width: auto !important;
  min-width: 150px !important;
  height: auto !important;
  min-height: 44px !important;
  display: flex !important;
  align-items: center !important;
}

.framer-w3lj4 .framer-1mywqmr::before,
.framer-1mywqmr::before {
  content: none !important;
}

/* Logo Qobrix SVG inline (coluna azul: demo, trial, contacto, etc.) */
[data-framer-component-type="SVG"][style*="207.031"],
[data-framer-component-type="SVG"][style*="183.028"],
.hi-inline-logo-text {
  background-image: none !important;
  background: transparent !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  min-width: 150px !important;
  height: auto !important;
  min-height: 48px !important;
  overflow: visible !important;
}

[data-framer-component-type="SVG"][style*="207.031"]::after,
[data-framer-component-type="SVG"][style*="183.028"]::after,
.hi-inline-logo-text::after {
  content: none !important;
  display: none !important;
}

/* ── Team Sync — oculta ── */
.framer-1w3fue4,
.framer-1w3fue4 + #overlay,
.framer-1w3fue4 + #overlay + .framer-9ausnx {
  display: none !important;
}

/* ── 10 → 12. Transição websites → CTA ── */
.framer-gmoep3-container {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.framer-d2xxfl {
  margin-top: 0 !important;
  padding-top: 100px !important;
}

/* ── Tawk.to — esconde balão de boas-vindas (message preview) ── */
iframe#tawkchat-minified-iframe-element {
  max-height: 80px !important;
}

/* ── Pricing oculto (sin precios en la página) ── */
a.hi-hide-pricing,
a[href="#hi-hide-pricing"],
a[href*="pricing.html"],
a[name="Nav item"][href="#hi-hide-pricing"] {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
  position: absolute !important;
  clip: rect(0, 0, 0, 0) !important;
}

/* Logo texto: HouseIndex */
a[data-framer-name="Qobrix-Blue"]::before,
a.framer-3hxked[data-framer-name="Qobrix-Blue"]::before,
a:has(img[src*="SLeJEt00uGOE9SaPa9wVFiw"])::before,
a:has(img[src*="WxaZNtyO1nDu7UmyK648dCQqg"])::before,
a.hi-logo-text::before {
  content: "HouseIndex" !important;
}


/* ── HouseIndex: ocultar elementos no-producto ── */

/* Selector de idioma Framer (solo ES activo) */
[data-language-selector="true"],
.framer-1v20k9f-container:has([data-language-selector="true"]) {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* Carrusel de logos de clientes ajenos (Qobrix) */
.qahLogoViewport,
.qahLogoTrack,
.qahLogoSet {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Botones App Store / Google Play (no hay app store HI) */
.qbf-app-buttons,
a[href*="apps.apple.com/app/qobrix"],
a[href*="play.google.com/store/apps/details?id=com.qobrix"] {
  display: none !important;
  pointer-events: none !important;
}

/* Refuerzo Team Sync (app móvil ajena) */
.framer-1w3fue4,
.framer-1w3fue4 + #overlay,
.framer-1w3fue4 + #overlay + .framer-9ausnx,
section.qah-section:has(.qbf-app-buttons) {
  display: none !important;
}

/* Footer: reducir ruido de links muertos — columna Help genérica menos densa */
footer a[href="/"],
.framer-w3lj4 a[href="/"] {
  /* kept — links already rewritten to / */
}

/* CTA: asegurar tipografía legible en botones largos ES */
a[href="/publicidade"] p.framer-text,
a[href="/publicidade"] {
  white-space: normal !important;
}

/* Espacio social proof sin logos */
.qahWrap:has(.qahLogoViewport) {
  gap: 8px !important;
}
