/* ============================================================
   UHOST v2 — moldura nova da central (2026-10-01)
   Carrega DEPOIS do custom.css (que continua cuidando do miolo:
   cartoes, tabelas, formularios, alertas). Aqui so o que e novo:
   barra lateral, topo, painel inicial, tela de login dividida,
   topo do visitante e a barra de atalhos do celular.
   Referencias Mobbin: Railway / Vapi / Cursor (lateral com secoes
   e conta no rodape), Remote / Writer / Origin (login dividido).
   Regra de movimento: so transform/opacity; reduzir movimento respeitado.
   ============================================================ */

:root{
  --uh2-side-w:264px;
  --uh2-top-h:64px;
  --uh2-side-bg:#17181C;
  --uh2-line:#2A2B31;
  --uh2-soft:#B4B5BD;
  --uh2-ease:cubic-bezier(.2,.8,.2,1);
}

.uh2-skip{
  position:fixed; left:12px; top:-60px; z-index:2000;
  padding:10px 16px; border-radius:10px;
  background:var(--uhc-gold); color:#111; font-weight:600;
}
.uh2-skip:focus{ top:12px; color:#111; }

/* ================= 1. CLIENTE LOGADO ================= */
body.uh2-shell{ background:var(--uhc-bg); }

/* ---- barra lateral ---- */
.uh2-side{
  position:fixed; top:0; bottom:0; left:0; z-index:1045;
  width:var(--uh2-side-w);
  display:flex; flex-direction:column; gap:10px;
  padding:16px 14px 14px;
  background:var(--uh2-side-bg);
  border-right:1px solid var(--uh2-line);
  overflow:hidden;
}
.uh2-side__top{ display:flex; align-items:center; justify-content:space-between; padding:6px 10px 12px; }
.uh2-side__logo img{ display:block; height:36px; width:auto; }
.uh2-side__close{
  display:none; width:38px; height:38px; border-radius:10px;
  align-items:center; justify-content:center;
  background:transparent; border:1px solid var(--uh2-line); color:#D3D3D3;
}

/* so a lista rola: ajuda e conta ficam sempre visiveis no pe da lateral */
.uh2-nav{
  display:flex; flex-direction:column; gap:2px; flex:1 1 auto; min-height:0;
  overflow-y:auto; overscroll-behavior:contain; margin:0 -8px; padding:0 8px;
  scrollbar-width:thin; scrollbar-color:#3A3B44 transparent;
}
.uh2-nav__item{
  position:relative; display:flex; align-items:center; gap:12px;
  min-height:42px; padding:9px 12px; border-radius:10px;
  color:var(--uh2-soft); font-size:14.5px; font-weight:500; line-height:1.25;
  text-decoration:none; transition:background-color .15s, color .15s;
}
.uh2-nav__item > i:first-child{
  width:20px; flex:none; text-align:center; font-size:16px; color:#8E8F99;
  --fa-secondary-opacity:.5; transition:color .15s;
}
.uh2-nav__item:hover,
.uh2-nav__item:focus-visible{ background:rgba(255,255,255,.05); color:#fff; text-decoration:none; }
.uh2-nav__item:hover > i:first-child{ color:#D3D3D3; }
.uh2-nav__item.is-ativo{ background:rgba(250,198,67,.10); color:#fff; }
.uh2-nav__item.is-ativo::before{
  content:""; position:absolute; left:-14px; top:9px; bottom:9px; width:3px;
  border-radius:0 3px 3px 0; background:var(--uhc-gold);
}
.uh2-nav__item.is-ativo > i:first-child{ color:var(--uhc-gold); }
.uh2-nav__item > span{ min-width:0; }
.uh2-nav__item small{
  display:block; font-size:12px; color:#8E8F99; font-weight:400;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:150px;
}
.uh2-nav__item--painel > i:first-child{ color:var(--uhc-gold); }
.uh2-nav__ext{ margin-left:auto; font-size:11px; color:#6D6E7C; }
.uh2-nav__label{
  margin:18px 12px 6px; font-size:11px; font-weight:600;
  letter-spacing:.09em; text-transform:uppercase; color:#8E8F99;
}
.uh2-badge{
  margin-left:auto; min-width:22px; height:22px; padding:0 7px; border-radius:11px;
  display:inline-flex; align-items:center; justify-content:center;
  background:#33343F; color:#E9EAEF; font-size:12px; font-weight:600; line-height:1;
}
.uh2-badge--ouro{ background:var(--uhc-gold); color:#111; }

/* ajuda */
.uh2-side__help{
  flex:none; padding:14px; border-radius:14px;
  background:linear-gradient(160deg, rgba(250,198,67,.13), rgba(250,198,67,.03) 70%);
  border:1px solid rgba(250,198,67,.22);
}
.uh2-side__help strong{ display:block; font-family:'Syne',sans-serif; color:#fff; font-size:14.5px; margin-bottom:10px; }
.uh2-side__help-acoes{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.uh2-btn-whats{
  display:flex; align-items:center; justify-content:center; gap:6px;
  height:38px; padding:0 8px; border-radius:999px; background:#25D366; color:#062B14 !important;
  font-size:13px; font-weight:600; text-decoration:none !important;
  transition:transform .15s var(--uh2-ease), background-color .15s;
}
.uh2-btn-whats:hover{ background:#3BE27A; transform:translateY(-1px); }
.uh2-btn-whats i{ font-size:16px; }
.uh2-btn-chamado{
  display:flex; align-items:center; justify-content:center; gap:6px;
  height:38px; padding:0 8px; border-radius:999px; border:1px solid rgba(250,198,67,.45); color:var(--uhc-gold);
  font-size:13px; font-weight:600; text-decoration:none !important; transition:background-color .15s;
}
.uh2-btn-chamado:hover{ background:rgba(250,198,67,.1); color:var(--uhc-gold-hover); }

/* conta */
.uh2-side__user{ position:relative; flex:none; }
.uh2-user{
  width:100%; display:flex; align-items:center; gap:10px;
  padding:10px; border-radius:12px; text-align:left;
  background:transparent; border:1px solid var(--uh2-line); color:inherit;
  transition:background-color .15s, border-color .15s;
}
.uh2-user:hover, .uh2-user[aria-expanded="true"], .uh2-user.is-ativo{ background:rgba(255,255,255,.04); border-color:#3A3B44; }
.uh2-user:focus{ outline:none; box-shadow:none; }
.uh2-shell :is(.uh2-user, .uh2-side__close, .uh2-top__btn, .uh2-nav__item, .uh2-tabbar a, .uh2-tabbar button):focus-visible{
  outline:2px solid var(--uhc-gold); outline-offset:2px; box-shadow:none;
}
.uh2-side__close:focus:not(:focus-visible){ outline:none; box-shadow:none; }
.uh2-avatar{
  width:36px; height:36px; border-radius:50%; flex:none;
  display:grid; place-items:center;
  background:var(--uhc-gold); color:#111;
  font-family:'Syne',sans-serif; font-weight:700; font-size:14px; letter-spacing:.3px;
}
.uh2-avatar i{ font-size:14px; }
.uh2-user__txt{ min-width:0; flex:1; line-height:1.3; }
.uh2-user__txt b, .uh2-user__txt small{ display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.uh2-user__txt b{ color:#fff; font-size:13.5px; font-weight:600; }
.uh2-user__txt small{ color:#8E8F99; font-size:12px; }
.uh2-user__seta{ font-size:11px; color:#8E8F99; transition:transform .2s; }
.uh2-user[aria-expanded="true"] .uh2-user__seta{ transform:rotate(180deg); }
.uh2-side .uh2-user__menu{
  position:absolute; left:0; right:0; bottom:calc(100% + 8px); top:auto;
  width:auto; min-width:0; margin:0; padding:6px;
  border-radius:14px; background:#212227; border:1px solid #3A3B44;
  box-shadow:0 18px 48px rgba(0,0,0,.5);
}
.uh2-user__menu .dropdown-header{ color:#8E8F99; font-size:11px; letter-spacing:.09em; text-transform:uppercase; padding:8px 10px 6px; }
.uh2-user__menu .dropdown-item{ border-radius:8px; padding:8px 10px; font-size:13.5px; color:#E9EAEF; }
.uh2-user__menu .dropdown-item i{ color:#8E8F99; margin-right:6px; }
.uh2-user__menu .dropdown-item:hover,
.uh2-user__menu .dropdown-item:focus{ background:rgba(255,255,255,.06); color:#fff; }
.uh2-user__menu .dropdown-divider{ border-color:#33343F; margin:6px 0; }
.uh2-user__menu .uh2-sair, .uh2-user__menu .uh2-sair i{ color:#FCA5A5; }

.uh2-scrim{ display:none; }

/* ---- area de conteudo ---- */
.uh2-app{ min-height:100vh; display:flex; flex-direction:column; }
@media (min-width:992px){
  .uh2-shell .uh2-app{ margin-left:var(--uh2-side-w); }
}

/* topo */
.uh2-shell #header.uh2-top{
  position:sticky; top:0; z-index:1030;
  height:var(--uh2-top-h);
  display:flex; align-items:center; gap:14px;
  padding:0 28px;
  background:rgba(28,29,33,.86);
  -webkit-backdrop-filter:saturate(140%) blur(10px);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid var(--uhc-border);
  box-shadow:none;
}
.uh2-top__logo{ display:none; }
.uh2-top__logo img{ display:block; height:30px; width:auto; }
.uh2-crumbs{ min-width:0; flex:1; }
.uh2-crumbs .breadcrumb{
  margin:0; padding:0; background:transparent; border-radius:0;
  font-size:13.5px; flex-wrap:nowrap; white-space:nowrap; overflow:hidden;
}
.uh2-crumbs .breadcrumb-item{ min-width:0; overflow:hidden; text-overflow:ellipsis; }
.uh2-crumbs .breadcrumb-item a{ color:var(--uhc-muted); }
.uh2-crumbs .breadcrumb-item a:hover{ color:var(--uhc-gold); }
.uh2-crumbs .breadcrumb-item.active{ color:#E9EAEF; }
.uh2-crumbs .breadcrumb-item + .breadcrumb-item::before{ content:"/"; color:#5C5D68; }
.uh2-top__acoes{ display:flex; align-items:center; gap:6px; margin-left:auto; }
.uh2-top__btn{
  position:relative; width:40px; height:40px; border-radius:12px;
  display:inline-flex; align-items:center; justify-content:center;
  background:transparent; border:1px solid transparent; color:#C9CAD2; font-size:17px;
  transition:background-color .15s, color .15s;
}
.uh2-top__btn:hover, .uh2-top__btn:focus-visible{ background:var(--uhc-surface); color:#fff; text-decoration:none; }
.uh2-dot{
  position:absolute; top:3px; right:2px; min-width:17px; height:17px; padding:0 4px;
  border-radius:9px; background:var(--uhc-gold); color:#111;
  font-size:10.5px; font-weight:700; line-height:17px; text-align:center;
}
.uh2-dot.is-zero{ display:none; }
.uh2-top__admin{
  display:inline-flex; align-items:center; gap:6px; height:34px; padding:0 12px; margin-left:6px;
  border-radius:999px; border:1px solid rgba(251,191,36,.5); color:#FBBF24; font-size:12.5px; font-weight:600;
}
.uh2-top__admin:hover{ background:rgba(251,191,36,.1); color:#FCD34D; }

/* miolo */
.uh2-shell section#main-body.uh2-main{
  flex:1 0 auto; min-height:0; padding:28px 0 44px; background:transparent !important;
}
.uh2-shell .uh2-wrap.container{ max-width:1240px; padding-left:28px; padding-right:28px; }
.uh2-pagehead{ margin:0 0 20px; }
.uh2-pagehead h1{ font-size:26px; margin:0; letter-spacing:-.3px; }
/* laterais de contexto do WHMCS (acoes do servico, filtros de fatura...) */
.uh2-ctx .card{ border-radius:14px; }
@media (max-width:1199.98px){
  .uh2-ctx{ margin-bottom:8px; }
}

/* rodape */
.uh2-foot{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 24px;
  width:100%; max-width:1240px; margin:0 auto; padding:18px 28px 26px;
  border-top:1px solid var(--uhc-border); color:#8E8F99; font-size:12.5px;
}
.uh2-foot p{ margin:0; }
.uh2-foot__links{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 18px; }
.uh2-foot__links a{ color:#9C9DA6; }
.uh2-foot__links a:hover{ color:var(--uhc-gold); }
.uh2-foot__idioma{ background:none; border:0; padding:0; color:#9C9DA6; font-size:12.5px; }
.uh2-foot__idioma:hover{ color:var(--uhc-gold); }

/* barra de atalhos (so celular/tablet) */
.uh2-tabbar{ display:none; }

@media (max-width:991.98px){
  .uh2-side{
    width:min(86vw, 300px);
    transform:translateX(-102%); visibility:hidden;
    transition:transform .28s var(--uh2-ease), visibility 0s linear .28s;
  }
  .uh2-side.is-aberto{
    transform:none; visibility:visible;
    transition:transform .28s var(--uh2-ease);
    box-shadow:24px 0 60px rgba(0,0,0,.5);
  }
  .uh2-side__close{ display:inline-flex; }
  .uh2-scrim{
    display:block; position:fixed; inset:0; z-index:1040;
    background:rgba(8,8,10,.62); opacity:0; pointer-events:none; transition:opacity .2s;
  }
  body.uh2-menu-aberto .uh2-scrim{ opacity:1; pointer-events:auto; }
  body.uh2-menu-aberto{ overflow:hidden; }

  .uh2-shell #header.uh2-top{ padding:0 12px 0 16px; gap:8px; }
  .uh2-top__logo{ display:block; }
  .uh2-crumbs{ visibility:hidden; }
  .uh2-shell .uh2-wrap.container{ padding-left:16px; padding-right:16px; }
  .uh2-shell section#main-body.uh2-main{ padding-top:20px; }
  .uh2-pagehead h1{ font-size:22px; }

  .uh2-tabbar{
    position:fixed; left:0; right:0; bottom:0; z-index:1035;
    display:grid; grid-template-columns:repeat(5,1fr);
    height:calc(62px + env(safe-area-inset-bottom)); padding-bottom:env(safe-area-inset-bottom);
    background:rgba(23,24,28,.97);
    -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
    border-top:1px solid var(--uh2-line);
  }
  .uh2-tabbar a, .uh2-tabbar button{
    position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px;
    color:#9C9DA6; font-size:11px; font-weight:500; background:none; border:0; padding:0;
    text-decoration:none;
  }
  .uh2-tabbar i{ font-size:19px; --fa-secondary-opacity:.5; }
  .uh2-tabbar .is-ativo{ color:var(--uhc-gold); }
  .uh2-tabbar .uh2-dot{ top:7px; right:calc(50% - 24px); }
  .uh2-shell .uh2-app{ padding-bottom:calc(62px + env(safe-area-inset-bottom)); }
  .uh2-foot{ padding-left:16px; padding-right:16px; }
}
@media (max-width:575.98px){
  .uh2-crumbs{ display:none; }
  .uh2-top__acoes{ margin-left:auto; }
  .uh2-top__admin span{ display:none; }
}

/* ================= 2. PAINEL INICIAL ================= */
.uh2-eyebrow{
  display:inline-block; margin-bottom:6px;
  font-size:12px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--uhc-gold);
}
.uh2-hello{
  display:flex; align-items:flex-end; justify-content:space-between; gap:16px 24px; flex-wrap:wrap;
  margin:2px 0 24px;
}
.uh2-hello h1{ font-size:clamp(28px,3.2vw,38px); margin:0; letter-spacing:-.6px; }
.uh2-hello h1 em{ font-style:normal; color:var(--uhc-gold); }
.uh2-hello p{ margin:6px 0 0; color:var(--uhc-muted); }
.uh2-hello__acoes{ display:flex; gap:10px; flex-wrap:wrap; }
.uh2-hello__acoes .btn i{ margin-right:4px; }
.uh2-btn-ghost-whats i{ color:#25D366; }
.uh2-curto{ display:none; }

.uh2-due{
  display:flex; align-items:center; gap:16px;
  margin-bottom:24px; padding:16px 18px; border-radius:16px;
  background:linear-gradient(90deg, rgba(250,198,67,.15), rgba(250,198,67,.04));
  border:1px solid rgba(250,198,67,.38);
}
.uh2-due.is-atraso{
  background:linear-gradient(90deg, rgba(248,113,113,.16), rgba(248,113,113,.04));
  border-color:rgba(248,113,113,.45);
}
.uh2-due__ico{
  width:46px; height:46px; border-radius:12px; flex:none; display:grid; place-items:center;
  background:rgba(250,198,67,.18); color:var(--uhc-gold); font-size:20px;
}
.uh2-due.is-atraso .uh2-due__ico{ background:rgba(248,113,113,.18); color:#FCA5A5; }
.uh2-due__txt{ flex:1; min-width:0; }
.uh2-due__txt strong{ display:block; color:#fff; font-size:15.5px; font-weight:600; }
.uh2-due__txt span{ color:#D3D3D3; font-size:14px; }
.uh2-due .btn{ flex:none; }

.uh2-sec{ margin-bottom:28px; }
.uh2-sec__head{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:12px; }
.uh2-sec__head h2{ font-size:18px; margin:0; }
.uh2-sec__head a{ font-size:13.5px; color:var(--uhc-muted); }
.uh2-sec__head a:hover{ color:var(--uhc-gold); }
.uh2-sec__head a i{ font-size:11px; margin-left:3px; }

.uh2-paineis{ display:grid; grid-template-columns:repeat(auto-fit, minmax(280px,1fr)); gap:12px; }
.uh2-painel{
  display:flex; align-items:center; gap:14px;
  padding:16px; border-radius:16px;
  background:var(--uhc-surface); border:1px solid var(--uhc-border);
  color:var(--uhc-text); text-decoration:none;
  transition:border-color .2s, transform .2s var(--uh2-ease), background-color .2s;
}
.uh2-painel:hover, .uh2-painel:focus-visible{
  border-color:rgba(250,198,67,.6); transform:translateY(-2px); color:var(--uhc-text); text-decoration:none;
}
.uh2-painel__ico{
  width:46px; height:46px; border-radius:12px; flex:none; display:grid; place-items:center;
  background:var(--uhc-gold); color:#111; font-size:18px;
}
.uh2-painel__txt{ flex:1; min-width:0; }
.uh2-painel__txt b{ display:block; color:#fff; font-size:15px; font-weight:600; }
.uh2-painel__txt small{ display:block; color:var(--uhc-muted); font-size:13px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.uh2-painel__ir{ font-size:13px; font-weight:600; color:var(--uhc-gold); white-space:nowrap; }
.uh2-painel__ir i{ font-size:11px; margin-left:4px; }

.uh2-stats{ display:grid; grid-template-columns:repeat(auto-fit, minmax(190px,1fr)); gap:12px; margin-bottom:28px; }
.uh2-stat{
  position:relative; display:flex; flex-direction:column; gap:2px;
  padding:18px; border-radius:16px; overflow:hidden;
  background:var(--uhc-surface); border:1px solid var(--uhc-border);
  color:var(--uhc-text); text-decoration:none;
  transition:border-color .2s, transform .2s var(--uh2-ease);
}
.uh2-stat::after{
  content:""; position:absolute; right:-40px; top:-40px; width:120px; height:120px; border-radius:50%;
  background:radial-gradient(closest-side, rgba(250,198,67,.14), transparent);
  opacity:0; transition:opacity .25s;
}
.uh2-stat:hover, .uh2-stat:focus-visible{ border-color:rgba(250,198,67,.5); transform:translateY(-2px); text-decoration:none; color:var(--uhc-text); }
.uh2-stat:hover::after{ opacity:1; }
.uh2-stat__ico{
  width:38px; height:38px; border-radius:10px; display:grid; place-items:center; margin-bottom:14px;
  background:rgba(250,198,67,.12); color:var(--uhc-gold); font-size:17px; --fa-secondary-opacity:.5;
}
.uh2-stat__num{ font-family:'Syne',sans-serif; font-size:34px; font-weight:700; color:#fff; line-height:1.05; }
.uh2-stat.is-alerta .uh2-stat__num{ color:var(--uhc-gold); }
.uh2-stat__rot{ font-size:13.5px; color:var(--uhc-muted); }
.uh2-stat--link .uh2-stat__num{ font-size:22px; color:var(--uhc-gold); line-height:1.6; }

.uh2-cards .card{ border-radius:16px; }
.uh2-addon{ margin-bottom:20px; }

.uh2-ajuda{ margin-top:8px; }
.uh2-ajuda__canais{ display:grid; grid-template-columns:repeat(auto-fit, minmax(240px,1fr)); gap:12px; }
.uh2-canal{
  display:flex; align-items:center; gap:14px; padding:16px 18px; border-radius:14px;
  background:var(--uhc-surface); border:1px solid var(--uhc-border); color:var(--uhc-text);
  text-decoration:none; transition:border-color .2s;
}
.uh2-canal:hover, .uh2-canal:focus-visible{ border-color:rgba(250,198,67,.5); color:var(--uhc-text); text-decoration:none; }
.uh2-canal > i{ width:26px; flex:none; text-align:center; font-size:20px; color:var(--uhc-gold); --fa-secondary-opacity:.5; }
.uh2-canal > i.fa-whatsapp{ color:#25D366; }
.uh2-canal b{ display:block; color:#fff; font-size:14.5px; font-weight:600; }
.uh2-canal small{ display:block; color:var(--uhc-muted); font-size:12.5px; }

@media (max-width:575.98px){
  .uh2-hello{ align-items:flex-start; }
  .uh2-hello__acoes{ width:100%; }
  .uh2-hello__acoes .btn{ flex:1 1 0; min-width:0; }
  .uh2-longo{ display:none; }
  .uh2-curto{ display:inline; }
  .uh2-due{ flex-wrap:wrap; }
  .uh2-due .btn{ width:100%; }
  .uh2-stats{ grid-template-columns:1fr 1fr; }
  .uh2-stat{ padding:14px; }
  .uh2-stat__num{ font-size:28px; }
}

/* ================= 3. ENTRAR / CRIAR CONTA / RECUPERAR ================= */
body.uh2-auth{ background:var(--uhc-bg); }
.uh2-auth-grid{ display:grid; grid-template-columns:minmax(380px,44%) 1fr; min-height:100vh; }

.uh2-brand{
  position:sticky; top:0; height:100vh; overflow:hidden; isolation:isolate;
  background:
    radial-gradient(90% 60% at 0% 0%, rgba(250,198,67,.10), transparent 60%),
    #141518;
  border-right:1px solid var(--uh2-line);
}
.uh2-brand::after{
  content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(0deg, rgba(20,21,24,.97) 0%, rgba(20,21,24,.86) 42%, rgba(20,21,24,.15) 72%, rgba(20,21,24,0) 100%);
}
.uh2-brand__fx{ position:absolute; inset:0; z-index:-2; pointer-events:none; }
.uh2-brand__grid{
  position:absolute; inset:-48px;
  background-image:
    linear-gradient(rgba(250,198,67,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250,198,67,.09) 1px, transparent 1px);
  background-size:48px 48px;
  -webkit-mask-image:radial-gradient(closest-side at 62% 26%, #000 0%, rgba(0,0,0,.35) 55%, transparent 100%);
  mask-image:radial-gradient(closest-side at 62% 26%, #000 0%, rgba(0,0,0,.35) 55%, transparent 100%);
  animation:uh2-grade 18s linear infinite;
}
@keyframes uh2-grade{ to{ transform:translate3d(48px,48px,0); } }
.uh2-ring{
  position:absolute; left:62%; top:26%; width:220px; height:220px; margin:-110px 0 0 -110px;
  border-radius:50%; border:1.5px solid rgba(250,198,67,.55);
  opacity:0; transform:scale(.3);
  animation:uh2-onda 7.2s cubic-bezier(.2,.6,.3,1) infinite;
}
.uh2-ring:nth-child(3){ animation-delay:1.8s; }
.uh2-ring:nth-child(4){ animation-delay:3.6s; }
.uh2-ring:nth-child(5){ animation-delay:5.4s; }
@keyframes uh2-onda{
  0%{ opacity:0; transform:scale(.3); }
  12%{ opacity:.9; }
  100%{ opacity:0; transform:scale(3.4); }
}
.uh2-brand__core{
  position:absolute; left:62%; top:26%; width:92px; height:92px; margin:-46px 0 0 -46px;
  border-radius:50%; display:grid; place-items:center;
  background:radial-gradient(circle at 35% 30%, #FFE08A, #FAC643 55%, #C9952A);
  color:#111; font-size:30px;
  box-shadow:0 0 0 10px rgba(250,198,67,.10), 0 0 60px rgba(250,198,67,.45);
  animation:uh2-pulsa 3.6s ease-in-out infinite;
}
@keyframes uh2-pulsa{ 50%{ transform:scale(1.06); } }

.uh2-brand__inner{
  position:relative; height:100%;
  display:flex; flex-direction:column; justify-content:space-between; gap:32px;
  padding:40px clamp(28px,4vw,56px) 36px;
}
.uh2-brand__logo img{ display:block; height:42px; width:auto; }
.uh2-brand__copy{ max-width:440px; margin-top:auto; }
.uh2-brand h2{ font-size:clamp(30px,2.9vw,44px); line-height:1.08; margin:8px 0 14px; letter-spacing:-.8px; }
.uh2-brand h2 em{ font-style:normal; color:var(--uhc-gold); }
.uh2-brand p{ color:#C9CAD2; font-size:15.5px; margin:0 0 24px; max-width:400px; }
.uh2-brand__list{ list-style:none; padding:0; margin:0; display:grid; gap:12px; }
.uh2-brand__list li{ display:flex; align-items:center; gap:12px; color:#E9EAEF; font-size:14.5px; }
.uh2-brand__list i{
  width:34px; height:34px; border-radius:10px; flex:none; display:grid; place-items:center;
  background:rgba(250,198,67,.12); border:1px solid rgba(250,198,67,.2); color:var(--uhc-gold); font-size:14px;
}
.uh2-brand__nums{ display:flex; flex-wrap:wrap; gap:14px 32px; margin:0; }
.uh2-brand__nums dt{ font-family:'Syne',sans-serif; font-size:22px; font-weight:700; color:#fff; line-height:1.1; }
.uh2-brand__nums dd{ margin:2px 0 0; color:#9C9DA6; font-size:12.5px; }

.uh2-auth-main{
  display:flex; flex-direction:column; min-height:100vh; min-width:0;
  padding:26px clamp(20px,5vw,64px) 22px;
}
.uh2-auth-top{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.uh2-auth-top__logo{ visibility:hidden; }
.uh2-auth-top__logo img{ display:block; height:34px; width:auto; }
.uh2-auth-top__back{ color:var(--uhc-muted); font-size:13.5px; }
.uh2-auth-top__back:hover{ color:var(--uhc-gold); }
.uh2-auth-top__back i{ font-size:11px; margin-right:4px; }
.uh2-auth-body{ width:100%; max-width:420px; margin:auto; padding:32px 0; }
.uh2-auth-body--largo{ max-width:780px; }

.uh2-form-head{ margin-bottom:26px; }
.uh2-form-head h1{ font-size:30px; margin:0 0 6px; letter-spacing:-.5px; }
.uh2-form-head p{ color:var(--uhc-muted); margin:0; }
.uh2-auth .form-group{ margin-bottom:18px; }
.uh2-auth label, .uh2-auth .form-control-label{ font-size:13.5px; font-weight:500; color:#E9EAEF; margin-bottom:7px; }
.uh2-label-linha{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.uh2-esqueci{ font-size:13px; color:var(--uhc-gold); margin-bottom:7px; }
.uh2-auth input.form-control, .uh2-auth select.form-control{ height:48px; font-size:15px; }
.uh2-auth .uh2-form .input-group-text{ min-width:46px; justify-content:center; }
.uh2-auth .uh2-form .btn-reveal-pw{ min-width:48px; }
.uh2-auth .form-control:focus{ border-color:var(--uhc-gold); box-shadow:0 0 0 3px rgba(250,198,67,.18); }
.uh2-lembrar{ margin:2px 0 22px; }
.uh2-auth .custom-control-label{ font-weight:400; color:#D3D3D3; cursor:pointer; }
.uh2-auth .custom-control-label::before{ background:var(--uhc-surface); border-color:#6D6E7C; }
.uh2-auth .custom-control-input:checked ~ .custom-control-label::before{ background:var(--uhc-gold); border-color:var(--uhc-gold); }
.uh2-auth .custom-checkbox .custom-control-input:checked ~ .custom-control-label::after{
  background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23111' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e");
}
.uh2-auth .custom-control-input:focus ~ .custom-control-label::before{ box-shadow:0 0 0 3px rgba(250,198,67,.25); }
.uh2-btn-entrar{ height:50px; display:flex; align-items:center; justify-content:center; gap:10px; font-size:15.5px; font-weight:600; }
.uh2-btn-entrar i{ font-size:13px; transition:transform .2s var(--uh2-ease); }
.uh2-btn-entrar:hover i{ transform:translateX(3px); }
.uh2-form-alt{
  display:flex; flex-wrap:wrap; justify-content:center; gap:4px 8px;
  margin-top:24px; color:var(--uhc-muted); font-size:14px; text-align:center;
}
.uh2-form-alt a{ font-weight:600; }
.uh2-form-alt__sep{ color:#8E8F99; }
.uh2-form-alt a i{ font-size:11px; margin-right:4px; }
/* login social (se ligado): "ou" + botoes no mesmo padrao */
.uh2-auth .social-signin-btns, .uh2-auth .sub-heading{ margin-top:20px; }
.uh2-auth .sub-heading span{ background:var(--uhc-bg) !important; color:var(--uhc-muted) !important; }

/* addon de login sem senha (addon_autologin, MMHospedagem): ele troca o miolo do .login-form
   por JS no DOMContentLoaded. O cartao dele vira parte do layout: sem moldura, sem o titulo
   repetido, "Continuar" vira o botao principal e "Login com senha" o secundario. */
.uh2-auth .login-form .card{ background:transparent; border:0; box-shadow:none; margin:0 !important; max-width:none; }
.uh2-auth .login-form .card-body{ padding:0 !important; }
.uh2-auth .login-form .card-body > div.mb-4[style]{ display:none !important; }
.uh2-auth .login-form .card-footer{ display:none; }
.uh2-auth .login-form .card-body > div:last-child{ display:flex; flex-direction:column; }
.uh2-auth .login-form .card-body > div:last-child > .float-left{ float:none !important; display:flex; flex-direction:column; gap:10px; }
.uh2-auth .login-form .card-body > div:last-child > .text-right{ order:-1; text-align:left !important; margin:2px 0 20px; }
.uh2-auth .login-form .card-body > div:last-child .btn{
  width:100%; height:50px; margin:0; display:flex; align-items:center; justify-content:center;
  font-size:15.5px; font-weight:600;
}
.uh2-auth .login-form .card-body > div:last-child .btn-success{
  background:var(--uhc-gold) !important; border-color:var(--uhc-gold) !important; color:var(--uhc-on-gold) !important;
}
.uh2-auth .login-form .card-body > div:last-child .btn-success:hover{ background:var(--uhc-gold-hover) !important; }
.uh2-auth .login-form .card-body > div:last-child a.btn-primary{
  background:transparent !important; border:1px solid #4A4B56 !important; color:#E9EAEF !important;
}
.uh2-auth .login-form .card-body > div:last-child a.btn-primary:hover{ border-color:var(--uhc-gold) !important; color:var(--uhc-gold) !important; }
.uh2-auth .login-form .card-body > div:last-child label{ display:flex; align-items:center; gap:10px; margin:0; font-weight:400; color:#D3D3D3; cursor:pointer; }
.uh2-auth .login-form .card-body > div:last-child .form-check-input{
  position:static; margin:0; width:18px; height:18px; accent-color:var(--uhc-gold);
}
.uh2-auth .login-form .form-control{ height:48px; font-size:15px; }
.uh2-auth .login-form .input-group-text{ min-width:46px; justify-content:center; }

/* recuperar senha: o cabecalho interno repetia o titulo */
.uh2-reset > .mb-4:first-child:has(> .h3){ display:none; }
.uh2-reset .form-group.text-center{ text-align:left !important; }
.uh2-reset #resetPasswordButton{ width:100%; height:50px; font-weight:600; }
/* criar conta: os cartoes do formulario ficam mais leves dentro da tela dividida */
.uh2-auth #registration .card{ border-radius:16px; }
.uh2-auth #registration .btn-lg{ min-width:240px; height:52px; }

.uh2-auth-foot{
  display:flex; flex-wrap:wrap; justify-content:center; gap:6px 18px;
  padding-top:14px; color:#8E8F99; font-size:12.5px; text-align:center;
}
.uh2-auth-foot a{ color:#9C9DA6; }
.uh2-auth-foot a:hover{ color:var(--uhc-gold); }
.uh2-auth-foot .fa-whatsapp{ color:#25D366; }

@media (max-width:991.98px){
  .uh2-auth-grid{ grid-template-columns:1fr; }
  .uh2-brand{ display:none; }
  .uh2-auth-top__logo{ visibility:visible; }
  .uh2-auth-main{ padding-top:18px; }
  .uh2-auth-body{ padding-top:28px; }
  .uh2-form-head h1{ font-size:26px; }
}

/* ================= 4. VISITANTE (base de conhecimento, avisos, contato) ================= */
#header.uh2-pub{
  position:sticky; top:0; z-index:1030;
  background:rgba(28,29,33,.9);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--uhc-border);
}
.uh2-pub__in{ display:flex; align-items:center; flex-wrap:wrap; gap:0 20px; min-height:72px; }
.uh2-pub__logo img{ display:block; height:36px; width:auto; }
.uh2-pub__menu{
  display:none; margin-left:auto; width:42px; height:42px; border-radius:12px;
  align-items:center; justify-content:center;
  background:transparent; border:1px solid var(--uhc-border); color:#E9EAEF;
}
.uh2-pub__nav a{ color:#E9EAEF; font-size:14.5px; font-weight:500; }
.uh2-pub__nav a:hover{ color:var(--uhc-gold); text-decoration:none; }
.uh2-pub__nav .fa-whatsapp{ color:#25D366; }
.uh2-pub__ctas{ display:flex; gap:10px; }
.uh2-pub__ctas .btn{ color:inherit; }
.uh2-pub__ctas .btn-primary{ color:var(--uhc-on-gold); text-transform:uppercase; letter-spacing:.4px; }
@media (min-width:992px){
  .uh2-pub__nav{ display:flex !important; align-items:center; gap:22px; margin-left:auto; }
  .uh2-pub__ctas{ margin-left:6px; }
}
@media (max-width:991.98px){
  .uh2-pub__menu{ display:inline-flex; }
  .uh2-pub__nav{ width:100%; }
  .uh2-pub__nav.show, .uh2-pub__nav.collapsing{ display:flex; flex-direction:column; align-items:flex-start; }
  .uh2-pub__nav a{ display:block; padding:10px 0; }
  .uh2-pub__ctas{ width:100%; padding:8px 0 16px; }
  .uh2-pub__ctas .btn{ flex:1 1 0; }
}

/* ================= 5. MOVIMENTO REDUZIDO ================= */
@media (prefers-reduced-motion:reduce){
  .uh2-brand__grid, .uh2-ring, .uh2-brand__core{ animation:none; }
  .uh2-ring{ opacity:.18; }
  .uh2-ring:nth-child(3){ transform:scale(1.4); }
  .uh2-ring:nth-child(4){ transform:scale(2.2); }
  .uh2-ring:nth-child(5){ transform:scale(3); opacity:.1; }
  .uh2-side, .uh2-side.is-aberto, .uh2-scrim, .uh2-painel, .uh2-stat{ transition:none; }
}

/* ================= 6. MIOLO: o que so apareceu com a conta real ================= */
/* interruptor do bootstrap-switch (Seguranca da conta): verde #5cb85c com texto branco = 2,48:1 */
.uh2 .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success,
.uh2 .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary{ background:var(--uhc-gold); color:#111; }
.uh2 .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default{ background:#33343F; color:#E9EAEF; }
/* tabelas de lista (faturas, chamados, servicos, e-mails...) no celular: a tabela de 4-5 colunas tem ~460 px
   e empurrava a PAGINA inteira para o lado (medido 472 px numa tela de 375). A rolagem fica so na caixa da tabela. */
.uh2 .table-container .listtable,
.uh2 .table-responsive{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
.uh2 .table-container .listtable > table{ margin-bottom:0; }

/* ================= 7. ÁREA DE TOQUE NO CELULAR (2026-10-01) =================
   Medido a 375 px: links das telas de acesso com 20-22 px de altura e a caixa
   "Li e concordo com os Termos" do cadastro com 13x13 px. Alvo: >= 40 px de toque
   sem mudar o desenho (só altura da caixa clicável). */
.uh2-auth input.accepttos{
  position:static; width:20px; height:20px; margin:0 8px 0 0; vertical-align:-4px; accent-color:var(--uhc-gold); cursor:pointer;
}
@media (max-width:991.98px){
  .uh2-auth-top__back{ display:inline-flex; align-items:center; min-height:44px; padding:0 2px; }
  .uh2-form-alt a, .uh2-auth-foot a{ display:inline-flex; align-items:center; min-height:40px; }
  .uh2-esqueci{ display:inline-flex; align-items:center; min-height:36px; margin-bottom:0; }
  .uh2-auth-foot{ gap:0 18px; }
}
