/* ─────────────────────────────────────────────────────────────────────────────
   A PORTA — Estilo moderno inspirado na IQ Option adaptado para a HypeBroker.
   Card centralizado no topo + Seção "Quem Somos Nós" + "Depoimentos / Elogios".
   ───────────────────────────────────────────────────────────────────────── */
:root {
  color-scheme: dark;
  --fundo: #0c1017;
  --card: #151922;
  --card-borda: #232a38;
  --campo-fundo: #0d1118;
  --campo-borda: #232a38;
  --campo-borda-foco: #09af8e;
  --texto: #f0f3f6;
  --apagado: #838d9e;
  --verde: #09af8e;
  --verde-claro: #0fd3ab;
  --vermelho: #f6465d;
  --vermelho-claro: #ff6b7e;
  --dourado: #ffb800;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
  min-height: 100%;
  margin: 0;
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(circle at 50% 20%, #17202d 0%, #0c1017 65%);
  color: var(--texto);
  font: 14px/1.5 Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

button { font-family: inherit; }

/* Gráfico linear animado ao fundo */
.fundo-linha {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: .35;
  pointer-events: none;
}

.iq-pagina {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

.hb-container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ── Topo com Logo ─────────────────────────────────────────────────────────── */
.iq-topo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 16px 20px;
}

.iq-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform .15s;
}

.iq-logo:hover {
  transform: scale(1.02);
}

.iq-logo img {
  height: 52px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .5));
}

/* ── Seção Principal com o Card de Autenticação ───────────────────────────── */
.iq-conteudo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 16px 40px;
}

.iq-cartao {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border: 1px solid var(--card-borda);
  border-radius: 14px;
  padding: 28px 30px 28px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65), 0 0 1px rgba(255, 255, 255, 0.08);
}

.iq-abas {
  display: flex;
  border-bottom: 1px solid var(--card-borda);
  margin: -4px 0 22px;
}

.iq-aba {
  flex: 1;
  padding: 12px 14px;
  background: transparent;
  border: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--apagado);
  text-align: center;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .2s, border-color .2s;
}

.iq-aba:hover { color: var(--texto); }
.iq-aba.ativa {
  color: #ffffff;
  border-bottom-color: var(--verde-claro);
}

.iq-cabecalho {
  text-align: center;
  margin-bottom: 22px;
}

.iq-titulo {
  margin: 0 0 6px;
  font-size: 21px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -.2px;
}

.iq-sub {
  margin: 0;
  font-size: 13px;
  color: var(--apagado);
  line-height: 1.45;
}

.iq-sub b { color: var(--verde-claro); }

.iq-campo { margin-bottom: 16px; }
.iq-campo label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: #9aa4b5;
  margin-bottom: 6px;
}

.iq-campo-topo {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.iq-campo-topo label { margin-bottom: 0; }

.iq-esqueci {
  background: none;
  border: 0;
  padding: 0;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--verde-claro);
  cursor: pointer;
}

.iq-esqueci:hover { text-decoration: underline; }

.iq-input-wrap { position: relative; }
.iq-input-wrap input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  background: var(--campo-fundo);
  color: #ffffff;
  border: 1px solid var(--campo-borda);
  border-radius: 7px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.iq-input-wrap input::placeholder { color: #4e5666; }
.iq-input-wrap input:focus {
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(9, 175, 142, .2);
}

.iq-input-wrap.senha input { padding-right: 42px; }

.ver-senha {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  color: var(--apagado);
  border-radius: 6px;
  cursor: pointer;
  transition: color .15s;
}

.ver-senha:hover { color: #ffffff; }
.ver-senha svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ver-senha.aberto { color: var(--verde-claro); }

.dica { display: block; margin-top: 6px; font-size: 11px; color: var(--apagado); }

.iq-aceites {
  display: grid;
  gap: 9px;
  margin: 4px 0 16px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--card-borda);
  border-radius: 7px;
}

.iq-aceite {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  cursor: pointer;
}

.iq-aceite input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--verde);
  cursor: pointer;
}

.iq-aceite span { font-size: 11.5px; line-height: 1.45; color: #a4adba; }
.iq-aceite a { color: var(--verde-claro); text-decoration: none; }
.iq-aceite a:hover { text-decoration: underline; }
.iq-aceite input:checked + span { color: #ffffff; }

.recado {
  margin: 0 0 14px;
  padding: 10px 12px;
  background: rgba(246, 70, 93, .12);
  border: 1px solid rgba(246, 70, 93, .35);
  border-radius: 7px;
  color: #ff9a9b;
  font-size: 12.5px;
  text-align: center;
}

.recado.bom {
  background: rgba(9, 175, 142, .12);
  border-color: rgba(9, 175, 142, .35);
  color: var(--verde-claro);
}

.iq-btn-submit {
  width: 100%;
  height: 48px;
  margin-top: 8px;
  background: linear-gradient(135deg, #09af8e 0%, #0fd3ab 100%);
  color: #03140a;
  border: 0;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .3px;
  cursor: pointer;
  transition: transform .1s, box-shadow .2s, opacity .2s;
  box-shadow: 0 4px 16px rgba(9, 175, 142, .3);
}

.iq-btn-submit:hover {
  box-shadow: 0 6px 22px rgba(15, 211, 171, .45);
  transform: translateY(-1px);
}

.iq-btn-submit:active { transform: translateY(1px); }
.iq-btn-submit[disabled] { opacity: .6; cursor: wait; }

.iq-troca {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--card-borda);
  text-align: center;
  color: var(--apagado);
  font-size: 13px;
}

.iq-troca button {
  background: none;
  border: 0;
  padding: 0 3px;
  color: var(--verde-claro);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.iq-troca button:hover { text-decoration: underline; }

/* ── Badges de Confiança Abaixo do Card ────────────────────────────────────── */
.hb-mini-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  width: 100%;
  max-width: 650px;
}

.hb-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(21, 25, 34, 0.7);
  border: 1px solid var(--card-borda);
  border-radius: 30px;
  font-size: 12px;
  color: #c0c8d6;
  backdrop-filter: blur(8px);
}

.hb-badge-icon { font-size: 13px; }

/* ── Estilos Gerais de Seção ───────────────────────────────────────────────── */
.hb-secao {
  padding: 70px 0;
  border-top: 1px solid #1a202c;
  background: rgba(12, 16, 23, 0.4);
}

.hb-titulo-secao {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.hb-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--verde-claro);
  background: rgba(9, 175, 142, 0.12);
  border: 1px solid rgba(9, 175, 142, 0.3);
  border-radius: 20px;
  margin-bottom: 12px;
}

.hb-titulo-secao h2 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -.4px;
}

.hb-sub-secao {
  margin: 0;
  font-size: 14.5px;
  color: var(--apagado);
  line-height: 1.55;
}

/* ── Seção: Quem Somos Nós ─────────────────────────────────────────────────── */
.hb-secao-sobre {
  background: linear-gradient(180deg, rgba(17, 23, 34, 0.5) 0%, rgba(12, 16, 23, 0.8) 100%);
}

.hb-sobre-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.hb-sobre-texto h3 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

.hb-sobre-texto p {
  color: #9aa4b5;
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 16px;
}

.hb-sobre-texto strong { color: #ffffff; }

.hb-sobre-checkpoints {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.hb-chk {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.hb-chk-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(9, 175, 142, 0.16);
  color: var(--verde-claro);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  flex: none;
  margin-top: 2px;
}

.hb-chk b {
  display: block;
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 2px;
}

.hb-chk p {
  margin: 0;
  font-size: 13px;
  color: var(--apagado);
  line-height: 1.45;
}

.hb-sobre-cards {
  display: grid;
  gap: 16px;
}

.hb-card-pilar {
  padding: 20px 22px;
  background: var(--card);
  border: 1px solid var(--card-borda);
  border-radius: 12px;
  transition: transform .2s, border-color .2s;
}

.hb-card-pilar:hover {
  transform: translateY(-2px);
  border-color: rgba(9, 175, 142, 0.4);
}

.hb-pilar-icone {
  font-size: 24px;
  margin-bottom: 10px;
}

.hb-card-pilar h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.hb-card-pilar p {
  margin: 0;
  font-size: 13px;
  color: var(--apagado);
  line-height: 1.5;
}

.hb-card-pilar code {
  color: var(--verde-claro);
  background: rgba(0,0,0,0.3);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}

/* ── Seção: Depoimentos (Pessoas Elogiando) ─────────────────────────────────── */
.hb-secao-depoimentos {
  background: rgba(10, 14, 20, 0.7);
}

.hb-grid-depoimentos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.hb-card-depoimento {
  padding: 24px 26px;
  background: var(--card);
  border: 1px solid var(--card-borda);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform .2s, border-color .2s;
}

.hb-card-depoimento:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 211, 171, 0.35);
}

.hb-dep-topo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.hb-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  flex: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.hb-av-1 { background: linear-gradient(135deg, #09af8e, #0fd3ab); }
.hb-av-2 { background: linear-gradient(135deg, #2b6cb0, #4299e1); }
.hb-av-3 { background: linear-gradient(135deg, #805ad5, #b794f4); }
.hb-av-4 { background: linear-gradient(135deg, #dd6b20, #f6ad55); }

.hb-dep-autor {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hb-dep-autor b {
  font-size: 14px;
  color: #ffffff;
}

.hb-dep-autor span {
  font-size: 11.5px;
  color: var(--apagado);
}

.hb-estrelas {
  color: var(--dourado);
  font-size: 14px;
  letter-spacing: 2px;
}

.hb-dep-texto {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #c5ccd8;
  font-style: italic;
}

.hb-dep-rodape {
  display: flex;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hb-dep-verificado {
  font-size: 11px;
  font-weight: 600;
  color: var(--verde-claro);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Banner CTA Final ──────────────────────────────────────────────────────── */
.hb-cta-banner {
  padding: 50px 0 60px;
}

.hb-cta-box {
  background: linear-gradient(135deg, #131d27 0%, #172432 100%);
  border: 1px solid rgba(9, 175, 142, 0.35);
  border-radius: 14px;
  padding: 34px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}

.hb-cta-texto h3 {
  margin: 0 0 6px;
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
}

.hb-cta-texto p {
  margin: 0;
  font-size: 14px;
  color: #a4b0c2;
}

.hb-btn-cta {
  flex: none;
  padding: 14px 28px;
  background: linear-gradient(135deg, #09af8e, #0fd3ab);
  color: #03140a;
  border: 0;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(9, 175, 142, 0.4);
}

.hb-btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(15, 211, 171, 0.55);
}

/* ── Rodapé Institucional ──────────────────────────────────────────────────── */
.iq-rodape {
  margin-top: auto;
  padding: 30px 0 40px;
  border-top: 1px solid #1a202c;
  text-align: center;
}

.iq-aviso-risco {
  margin: 0 auto 16px;
  max-width: 800px;
  font-size: 11px;
  line-height: 1.65;
  color: #616a7a;
}

.iq-aviso-risco strong { color: #848e9f; }

.iq-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #727c8d;
}

.iq-links a {
  color: #8893a4;
  text-decoration: none;
  transition: color .15s;
}

.iq-links a:hover { color: #ffffff; }
.iq-links .sep { color: #404754; font-size: 10px; }

.iq-copyright {
  margin: 14px 0 0;
  font-size: 11px;
  color: #505765;
}

/* ── Responsivo ────────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .hb-sobre-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hb-grid-depoimentos {
    grid-template-columns: 1fr;
  }
  .hb-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }
  .hb-btn-cta {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .iq-topo { padding: 16px 12px 16px; }
  .iq-logo img { height: 44px; }
  .iq-cartao {
    padding: 22px 18px 24px;
    border-radius: 12px;
  }
  .iq-titulo { font-size: 19px; }
  .hb-secao { padding: 50px 0; }
  .hb-titulo-secao h2 { font-size: 23px; }
}
