/* =========================================================
   MIHAI · Componentes base v1.0  (depende de tokens.css)
   ========================================================= */

/* ---------- Logo ---------- */
.mh-logo { display: inline-block; height: 28px; width: auto; color: var(--logo); }
.mh-logo svg { height: 100%; width: auto; display: block; }
.mh-logo--lg { height: 44px; }
.mh-logo--sm { height: 20px; }

/* ---------- Tipografia ---------- */
.mh-display { font-size: var(--fs-display); font-weight: var(--fw-black); line-height: var(--lh-tight); letter-spacing: var(--ls-display); margin: 0; }
.mh-h1 { font-size: var(--fs-h1); font-weight: var(--fw-bold); line-height: var(--lh-head); letter-spacing: var(--ls-tight); margin: 0; }
.mh-h2 { font-size: var(--fs-h2); font-weight: var(--fw-bold); line-height: var(--lh-head); letter-spacing: var(--ls-tight); margin: 0; }
.mh-h2-mkt { font-size: var(--fs-h2-mkt); font-weight: var(--fw-bold); line-height: 1.12; letter-spacing: var(--ls-head); margin: 0; }
.mh-h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); line-height: 1.25; letter-spacing: -0.01em; margin: 0; }
.mh-lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--text-muted); max-width: 60ch; }
.mh-sub { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.6; }
.mh-eyebrow { font-size: var(--fs-eyebrow); font-weight: var(--fw-bold); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--text-muted); }
.mh-overline { display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: var(--ls-overline); text-transform: uppercase; color: var(--accent); }
.mh-overline .num { color: var(--gold-400); font-weight: var(--fw-black); }
.mh-overline::after { content: ""; height: 1px; width: 80px; background: var(--border); }
.mh-big-num { font-size: var(--fs-big-num); font-weight: var(--fw-black); letter-spacing: -0.035em; line-height: 1.06; color: var(--gold-400); }
.mh-verse { font-family: var(--font-serif); font-size: var(--fs-verse); line-height: 1.55; color: var(--text); }
.mh-verse-title { font-family: var(--font-serif); font-size: 2rem; line-height: 1.2; font-weight: 500; }

/* ---------- Botões ---------- */
.mh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border-radius: var(--r-md); border: 1px solid transparent; font-size: 14px; font-weight: var(--fw-semi); cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.mh-btn:active { transform: scale(.98); }
.mh-btn svg { width: 18px; height: 18px; }
.mh-btn--primary { background: var(--primary); color: var(--on-primary); }
.mh-btn--gold { background: var(--btn-gold-bg); color: var(--btn-gold-fg); }
.mh-btn--secondary { background: var(--surface); color: var(--btn-secondary-fg); border-color: var(--border); }
.mh-btn--secondary:hover { border-color: var(--accent); }
.mh-btn--ghost { background: transparent; color: var(--primary); padding: 0 8px; min-height: 36px; font-size: 12px; }
.mh-btn--pill { border-radius: var(--r-pill); }
.mh-btn--block { width: 100%; }

/* ---------- Chips / badges ---------- */
.mh-chip { display: inline-flex; width: fit-content; align-items: center; gap: 5px; border-radius: var(--r-pill); padding: 5px 10px; font-size: 11px; font-weight: 650; background: var(--chip-bg); color: var(--chip-fg); }
.mh-chip--gold { background: var(--chip-gold-bg); color: var(--chip-gold-fg); }
.mh-chip--green { background: var(--success-bg); color: var(--success-fg); }

/* ---------- Superfícies ---------- */
.mh-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 26px; display: flex; flex-direction: column; gap: 13px; }
.mh-tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-tile); }
.mh-tile--soft { background: var(--blue-50); border-color: #DCE5F1; }
.mh-focusbox { border-left: 3px solid var(--focusbox-bd); background: var(--focusbox-bg); padding: 14px 16px; border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--focusbox-fg); font-size: 13px; line-height: 1.65; }
.mh-iconbox { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 13px; background: #EDF2F9; color: #5576A2; flex-shrink: 0; }
.mh-iconbox--gold { background: #FBECD9; color: #AE7B3B; }
.mh-iconbox svg { width: 21px; height: 21px; }

/* ---------- Formulário ---------- */
.mh-field { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); color: var(--text); font-size: 14px; }
.mh-option { width: 100%; display: flex; gap: 12px; align-items: center; text-align: left; padding: 14px; border-radius: 17px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; }
.mh-option[aria-pressed="true"], .mh-option.is-selected { border: 1.5px solid var(--selected-bd); background: var(--selected-bg); }

/* ---------- Progresso ---------- */
.mh-meter { height: 7px; border-radius: var(--r-pill); background: var(--meter-track); overflow: hidden; }
.mh-meter > i { display: block; height: 100%; background: var(--gold-400); border-radius: inherit; transition: width var(--dur-base) var(--ease); }

/* ---------- Cena com personagem ---------- */
.mh-scene { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--navy-900) center/cover no-repeat; min-height: 220px; }
.mh-scene__bubble { position: absolute; top: 15px; left: 15px; max-width: 170px; padding: 9px 12px; border-radius: 13px 13px 13px 3px; background: #FFFEFD; color: #3A5276; font-size: 12px; box-shadow: var(--shadow-float); }
.mh-scene__pill { position: absolute; bottom: 15px; left: 15px; padding: 6px 11px; border-radius: var(--r-pill); background: rgba(21,30,50,.85); color: #F6E2C5; border: 1px solid rgba(212,181,136,.27); font-size: 11px; }
.mh-pet { filter: var(--shadow-pet); transform-origin: 50% 86%; }

/* ---------- Navegação inferior (app) ---------- */
.mh-bottomnav { display: flex; justify-content: space-around; height: 73px; padding: 8px 8px 15px; background: var(--paper); border-top: 1px solid var(--border); }
.mh-bottomnav a, .mh-bottomnav button { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 64px; border: 0; background: none; color: #9CA5B3; font-size: 10px; text-decoration: none; position: relative; }
.mh-bottomnav svg { width: 22px; height: 22px; }
.mh-bottomnav [aria-current="page"] { color: var(--primary); font-weight: var(--fw-bold); }
.mh-bottomnav [aria-current="page"]::before { content: ""; position: absolute; top: -9px; width: 20px; height: 3px; border-radius: 6px; background: var(--gold-400); }

/* ---------- Ícones ---------- */
.mh-icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
