/* ==========================================================================
   DESIGN SYSTEM — FREI BENTO DA GRAÇA (LINK-IN-BIO HUB)
   Fidelidade Absoluta aos Tokens e Estrutura da NeuBrain (Zero Circo):
   - Cores: Midnight Navy (#0B1320), Electric Blue (#1699F8), Caramel CTA (#D67E2B)
   - Fundo: Ice-Slate (#EAF0F6) para contraste cirúrgico com os cards brancos
   - Tipografia: Poppins (Bold/Black 800) + Inter
   - Layout: 100% na mesma dobra (Zero Scroll)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700;800&display=swap');

:root {
  /* TOKENS EXTRAÍDOS DIRETAMENTE DA NEUBRAIN */
  --nb-navy: #0B1320;
  --nb-navy-border: #1E2B40;
  --nb-blue: #1699F8;
  --nb-caramel: #D67E2B;
  --nb-caramel-hover: #BF6B20;
  --nb-white: #FFFFFF;
  --nb-bg: #EAF0F6;          /* Fundo Ice-Slate que destaca os cards brancos com elegância */
  --nb-border: #CCD7E4;      /* Borda nítida de separação */
  --nb-text-dark: #0B1320;
  --nb-text-muted: #4B5563;
  --nb-text-slate: #94A3B8;

  --radius-card: 16px;
  --radius-pill: 9999px;
  --max-width: 440px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--nb-bg);
  color: var(--nb-text-dark);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 20px 16px 36px;
}

/* Link na foto do avatar */
.avatar-link {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease;
}

.avatar-link:hover, .avatar-link:active {
  transform: scale(1.04);
}

/* Container Principal — Mobile-First na Mesma Dobra */
.hub-wrapper {
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   1. CABEÇALHO NEUBRAIN
   -------------------------------------------------------------------------- */
.header-neubrain {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.avatar-wrapper {
  position: relative;
  width: 74px;
  height: 74px;
}

/* Anel azul elétrico idêntico ao print 3 da NeuBrain */
.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #FFFFFF;
  box-shadow: 0 0 0 3px var(--nb-blue), 0 6px 18px rgba(11, 19, 32, 0.15);
  display: block;
}

.profile-name {
  font-family: 'Poppins', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: var(--nb-text-dark);
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1.2;
  margin-top: 2px;
}

.verified-badge {
  color: var(--nb-blue);
  display: inline-flex;
}

.profile-bio {
  font-size: 13px;
  font-weight: 500;
  color: var(--nb-text-muted);
  line-height: 1.35;
}

/* Pílula de Status NeuBrain (Branco puro + Borda nítida + Ponto Azul) */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--nb-white);
  border: 1.5px solid var(--nb-border);
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--nb-text-dark);
  box-shadow: 0 1px 3px rgba(11, 19, 32, 0.05);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nb-blue);
}

/* --------------------------------------------------------------------------
   2. PILHA DE CARDS — ALTO CONTRASTE E COESÃO VISUAL
   -------------------------------------------------------------------------- */
.cards-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* CARD 1: HERO CARD (NEUBRAIN MIDNIGHT NAVY + BOTÃO CARAMELO OFICIAL) */
.card-hero-navy {
  background: var(--nb-navy);
  border: 1.5px solid var(--nb-navy-border);
  border-radius: var(--radius-card);
  padding: 14px 16px;
  text-decoration: none;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(11, 19, 32, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-hero-navy:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 19, 32, 0.35);
}

.hero-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--nb-blue);
}

.hero-price {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
}

.hero-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-info {
  flex: 1;
  min-width: 0;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 3px;
}

.hero-desc {
  font-size: 12px;
  color: var(--nb-text-slate);
  line-height: 1.35;
}

/* Botão Caramelo Oficial da NeuBrain (#D67E2B) */
.btn-caramel-cta {
  background: var(--nb-caramel);
  color: #FFFFFF;
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(214, 126, 43, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.18s ease;
}

.card-hero-navy:hover .btn-caramel-cta {
  background: var(--nb-caramel-hover);
}

/* CARDS COM PROFUNDIDADE DE BOTÃO E BORDAS DESTACADAS */
.card-clean-white {
  background: var(--nb-white);
  border: 2px solid #B8C9DB;
  border-bottom: 4px solid #8FA6BC;
  border-radius: var(--radius-card);
  padding: 13px 16px 12px;
  text-decoration: none;
  color: var(--nb-text-dark);
  box-shadow: 0 6px 18px rgba(11, 19, 32, 0.08), 0 2px 4px rgba(11, 19, 32, 0.04);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-clean-white.card-featured-harmonious {
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}

.desc-main {
  font-size: 12px;
  line-height: 1.45;
  color: var(--nb-text-muted);
  margin: 0;
}

.desc-final-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}

.desc-final-text {
  font-size: 12px;
  line-height: 1.4;
  color: var(--nb-text-muted);
  flex: 1;
  min-width: 0;
}

.btn-caramel-pill {
  background: var(--nb-caramel);
  color: #FFFFFF;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 3px 8px rgba(214, 126, 43, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
  margin-bottom: 2px;
  transition: background 0.18s ease, transform 0.18s ease;
}

.card-clean-white:hover .btn-caramel-pill {
  background: var(--nb-caramel-hover);
  transform: translateY(-1px);
}

.card-clean-white:hover {
  transform: translateY(-2px);
  border-color: #93C5FD;
  border-bottom-color: var(--nb-blue);
  box-shadow: 0 10px 24px rgba(11, 19, 32, 0.12);
}

.card-clean-white:active {
  transform: translateY(2px);
  border-bottom-width: 2px;
  box-shadow: 0 2px 6px rgba(11, 19, 32, 0.08);
}

.clean-card-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.clean-card-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--nb-blue);
}

.clean-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--nb-text-dark);
  line-height: 1.25;
}

.clean-card-desc {
  font-size: 12px;
  color: var(--nb-text-muted);
  line-height: 1.35;
}

/* Seta de Ação Limpa (Navy / Blue no Hover) */
.clean-card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nb-text-dark);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  transition: background 0.18s ease, color 0.18s ease;
}

.card-clean-white:hover .clean-card-arrow {
  background: var(--nb-blue);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   3. RODAPÉ NEUBRAIN
   -------------------------------------------------------------------------- */
.footer-neubrain {
  text-align: center;
  padding-top: 4px;
  font-size: 11px;
  color: var(--nb-text-muted);
  font-weight: 600;
}
