/* HubBico — modal de cadastro
   Paleta 100% extraída de hubbico.com (mesmos tokens dos mockups ImóveisHub).
   Nenhuma cor nova. Prefixo .hb-cadastro- para não colidir com o Muse. */

@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/PlusJakartaSans-latin-400.woff2") format("woff2");unicode-range:U+0000-00FF,U+2000-206F,U+20AC}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:500;font-display:swap;src:url("fonts/PlusJakartaSans-latin-500.woff2") format("woff2");unicode-range:U+0000-00FF,U+2000-206F,U+20AC}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:600;font-display:swap;src:url("fonts/PlusJakartaSans-latin-600.woff2") format("woff2");unicode-range:U+0000-00FF,U+2000-206F,U+20AC}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:700;font-display:swap;src:url("fonts/PlusJakartaSans-latin-700.woff2") format("woff2");unicode-range:U+0000-00FF,U+2000-206F,U+20AC}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:800;font-display:swap;src:url("fonts/PlusJakartaSans-latin-800.woff2") format("woff2");unicode-range:U+0000-00FF,U+2000-206F,U+20AC}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/PlusJakartaSans-latin-ext-400.woff2") format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:500;font-display:swap;src:url("fonts/PlusJakartaSans-latin-ext-500.woff2") format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:600;font-display:swap;src:url("fonts/PlusJakartaSans-latin-ext-600.woff2") format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:700;font-display:swap;src:url("fonts/PlusJakartaSans-latin-ext-700.woff2") format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:800;font-display:swap;src:url("fonts/PlusJakartaSans-latin-ext-800.woff2") format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Baloo 2";font-style:normal;font-weight:800;font-display:swap;src:url("fonts/Baloo2-800.woff2") format("woff2")}

.hb-cadastro-overlay{
  --orange:#FF6600; --orange-600:#E85D00; --orange-700:#C2410C;
  --orange-50:#FFF4EC; --orange-100:#FFE6D3; --orange-200:#FFD0AE; --orange-tint:#FFA25E;
  --hero:radial-gradient(ellipse 80% 70% at 50% 18%, rgb(255 160 80 / 70%) 0%, rgb(255 102 0 / 0%) 58%),
         linear-gradient(160deg,#FF7A1A 0%,#FF6600 48%,#E65300 100%);
  --btn-grad:linear-gradient(180deg,#FF8A2A,#FF6600);
  --ink:#1C1917; --ink-2:#292524; --text-2:#57534E; --text-3:#78716C;
  --line:#E7E5E4; --line-2:#F0EEEC; --stone-100:#F5F5F4; --stone-400:#A8A29E;
  --surface:#FFFFFF; --bg-soft:#FAFAF9;
  --up:#16A34A; --up-bg:#DCFCE7; --success-strong:#15803D;
  --gold-bg:#FEF9C3; --gold-line:#FDE68A; --gold-dark:#CA8A04;
  --plan-plus:#1E6FD9;
  --r-sm:10px; --r-md:14px; --r-lg:20px; --r-xl:28px; --r-full:999px;
  --sh-sm:0 1px 2px rgb(28 25 23 / 5%),0 2px 8px rgb(28 25 23 / 4%);
  --sh-lg:0 2px 6px rgb(28 25 23 / 6%),0 22px 48px rgb(28 25 23 / 14%);
  --sh-orange:0 8px 20px rgb(255 102 0 / 35%);
  --font:"Plus Jakarta Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  --font-logo:"Baloo 2",var(--font);

  position:fixed; inset:0; z-index:9999;
  display:flex; align-items:center; justify-content:center;
  padding:24px 16px;
  background:rgb(28 25 23 / 62%);
  -webkit-font-smoothing:antialiased;
  font-family:var(--font);
  color:var(--ink);
  opacity:0; pointer-events:none;
  transition:opacity .28s ease;
}
.hb-cadastro-overlay.is-open{opacity:1; pointer-events:auto}
.hb-cadastro-overlay[hidden]{display:none !important}

.hb-cadastro-dialog{
  position:relative;
  width:min(920px, 100%);
  max-height:min(860px, calc(100vh - 32px));
  background:var(--surface);
  border-radius:var(--r-xl);
  box-shadow:var(--sh-lg);
  display:grid;
  grid-template-columns: minmax(280px, 42%) 1fr;
  overflow:auto;
  transform:translateY(14px) scale(.98);
  transition:transform .32s cubic-bezier(.2,.8,.2,1);
  isolation:isolate;
}
.hb-cadastro-overlay.is-open .hb-cadastro-dialog{transform:none}

.hb-cadastro-close{
  position:absolute; top:12px; right:12px; z-index:3;
  width:40px; height:40px; border:0; border-radius:var(--r-full);
  background:rgb(255 255 255 / 88%);
  color:var(--ink-2);
  display:grid; place-items:center;
  cursor:pointer;
  box-shadow:var(--sh-sm);
  transition:background .15s, color .15s, transform .15s;
}
.hb-cadastro-close:hover{background:#fff; color:var(--ink); transform:scale(1.05)}
.hb-cadastro-close:focus-visible{outline:2px solid var(--orange); outline-offset:2px}
.hb-cadastro-close svg{width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:2.2; stroke-linecap:round}

/* Painel do Henry */
.hb-cadastro-visual{
  position:relative;
  background:var(--hero);
  min-height:420px;
  display:flex; flex-direction:column; align-items:center; justify-content:flex-end;
  padding:28px 16px 22px;
  overflow:hidden;
}
.hb-cadastro-visual::before{
  content:"";
  position:absolute; inset:-20% -10% auto; height:70%;
  background:radial-gradient(circle at 50% 40%, rgb(255 255 255 / 35%), transparent 62%);
  pointer-events:none;
}
.hb-cadastro-brand{
  position:absolute; top:18px; left:18px; z-index:2;
  display:flex; align-items:center; gap:7px;
  color:#fff; font-family:var(--font-logo); font-weight:800; font-size:22px; line-height:1;
  text-shadow:0 1px 8px rgb(196 65 12 / 25%);
}
.hb-cadastro-brand img{width:32px; height:38px; object-fit:contain; filter:drop-shadow(0 2px 4px rgb(28 25 23 / 20%))}
.hb-cadastro-brand .bico{color:#fff}

.hb-cadastro-henry{
  position:relative; z-index:1;
  width:auto; max-width:100%;
  height:340px;
  object-fit:contain;
  object-position:center bottom;
  filter:drop-shadow(0 18px 24px rgb(28 25 23 / 28%));
  user-select:none; pointer-events:none;
  transform:translateY(8px);
}
.hb-cadastro-overlay[data-variant="sorriso"] .hb-cadastro-visual{
  justify-content:flex-end;
  padding-bottom:18px;
}
.hb-cadastro-overlay[data-variant="sorriso"] .hb-cadastro-henry{
  flex:1 1 auto;
  width:100%;
  height:auto;
  max-height:300px;
  min-height:0;
  object-position:center bottom;
  transform:none;
  margin-top:48px;
  margin-bottom:10px;
}

.hb-cadastro-pills{
  position:relative; z-index:2;
  display:flex; flex-wrap:wrap; gap:8px; justify-content:center;
  margin-top:8px;
}
.hb-cadastro-pill{
  display:inline-flex; align-items:center; gap:6px;
  background:var(--gold-bg);
  border:1px solid var(--gold-line);
  color:var(--ink);
  font-size:12px; font-weight:700; letter-spacing:.01em;
  padding:6px 10px; border-radius:var(--r-full);
  box-shadow:0 2px 8px rgb(28 25 23 / 10%);
  white-space:nowrap;
}
.hb-cadastro-pill svg{width:14px; height:14px; flex:none}
.hb-cadastro-pill b{color:var(--orange-700); font-weight:800}

/* Corpo do texto */
.hb-cadastro-body{
  padding:40px 40px 32px 36px;
  display:flex; flex-direction:column; gap:0;
  min-width:0;
}
.hb-cadastro-eyebrow{
  margin:0 0 10px;
  font-size:13px; font-weight:700; letter-spacing:.02em;
  color:var(--orange-700);
  line-height:1.35;
}
.hb-cadastro-title{
  margin:0 0 12px;
  font-size:clamp(26px, 3.1vw, 34px);
  font-weight:800;
  letter-spacing:-.03em;
  line-height:1.15;
  color:var(--ink);
  text-wrap:balance;
}
.hb-cadastro-hl{color:var(--orange)}
.hb-cadastro-sub{
  margin:0 0 18px;
  font-size:15.5px; font-weight:500; line-height:1.5;
  color:var(--text-2);
  max-width:40em;
}
.hb-cadastro-cta{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  width:100%;
  margin:4px 0 0;
  padding:15px 22px;
  border:0; border-radius:16px;
  background:var(--btn-grad);
  color:#fff;
  font-family:var(--font);
  font-size:16.5px; font-weight:800; letter-spacing:-.01em;
  text-decoration:none; text-align:center;
  box-shadow:var(--sh-orange);
  cursor:pointer;
  transition:filter .15s, transform .15s;
}
.hb-cadastro-cta:hover{filter:brightness(.96); transform:translateY(-1px)}
.hb-cadastro-cta:active{transform:none; filter:brightness(.92)}
.hb-cadastro-cta:focus-visible{outline:2px solid var(--orange-700); outline-offset:3px}


.hb-cadastro-login{
  margin:16px 0 0;
  text-align:center;
  font-size:14.5px; font-weight:600; color:var(--text-2);
}
.hb-cadastro-login a{
  color:var(--orange-700);
  font-weight:800;
  text-decoration:none;
  margin-left:4px;
}
.hb-cadastro-login a:hover{text-decoration:underline}

.hb-cadastro-legal{
  margin:18px 0 0;
  font-size:12px; font-weight:500; line-height:1.45;
  color:var(--text-3);
  text-align:center;
  text-wrap:balance;
}

/* Mobile */
@media (max-width:720px){
  .hb-cadastro-overlay{padding:12px; align-items:flex-end}
  .hb-cadastro-dialog{
    grid-template-columns:1fr;
    width:100%;
    max-height:calc(100vh - 16px);
    border-radius:24px 24px 18px 18px;
  }
  .hb-cadastro-visual{
    min-height:0;
    height:230px;
    padding:16px 16px 12px;
    justify-content:flex-end;
  }
  .hb-cadastro-brand{top:12px; left:14px; font-size:20px}
  .hb-cadastro-brand img{width:26px; height:32px}
  .hb-cadastro-henry{
    height:210px;
    transform:translateY(16px);
  }
  .hb-cadastro-overlay[data-variant="sorriso"] .hb-cadastro-visual{
    height:252px;
    padding-bottom:12px;
  }
  .hb-cadastro-overlay[data-variant="sorriso"] .hb-cadastro-henry{
    height:auto;
    max-height:168px;
    margin-top:36px;
    transform:none;
  }
  .hb-cadastro-pills{margin-top:4px; transform:none}
  .hb-cadastro-body{padding:22px 22px 24px}
  .hb-cadastro-title{font-size:26px}
  .hb-cadastro-sub{font-size:14.5px}
  .hb-cadastro-close{top:10px; right:10px; background:rgb(255 255 255 / 92%)}
}
@media (max-width:720px) and (max-height:700px){
  .hb-cadastro-visual{height:180px}
  .hb-cadastro-henry{height:170px}
  .hb-cadastro-overlay[data-variant="sorriso"] .hb-cadastro-visual{height:210px;padding-bottom:10px}
  .hb-cadastro-overlay[data-variant="sorriso"] .hb-cadastro-henry{height:auto;max-height:128px}
  .hb-cadastro-title{font-size:23px}
  .hb-cadastro-body{padding:16px 18px 18px}
}

/* Captura (sem animação) */
html.hb-shot .hb-cadastro-overlay,
html.hb-shot .hb-cadastro-dialog{transition:none !important; transform:none !important}

@media (prefers-reduced-motion:reduce){
  .hb-cadastro-overlay,
  .hb-cadastro-dialog,
  .hb-cadastro-cta,
  .hb-cadastro-close{transition:none}
}
