/* GoQuest — home e paginas de recursos (classes hm-*). Depende de site.css (tokens, topbar, .btn, .faq, rodape). */
.hm-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.hm-skip:focus { left: 12px; }
.hm a:focus-visible, .hm button:focus-visible, .hm summary:focus-visible, .hm video:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.hm { --hm-glow: radial-gradient(60% 60% at 50% 0%, rgba(20, 235, 206, 0.16), transparent 70%); }
.hm h1, .hm h2, .hm h3 { text-transform: none; letter-spacing: 0; }

/* ---------- hero ---------- */
.hm-hero { position: relative; padding: 56px 0 24px; overflow: hidden; background: var(--hm-glow); }
.hm-hero::before { content: ""; position: absolute; inset: auto -10% -30% -10%; height: 60%; background: radial-gradient(50% 60% at 50% 100%, rgba(124, 92, 255, 0.14), transparent 70%); pointer-events: none; }
.hm-hero .container { position: relative; display: grid; gap: 28px; justify-items: center; text-align: center; }
.hm-eyebrow { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(20, 235, 206, 0.07); color: var(--accent); font-size: 12.5px; font-weight: 600; }
.hm-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(20, 235, 206, 0.6); animation: hm-pulse 2.4s infinite; }
@keyframes hm-pulse { 70% { box-shadow: 0 0 0 9px rgba(20, 235, 206, 0); } 100% { box-shadow: 0 0 0 0 rgba(20, 235, 206, 0); } }
.hm-hero h1 { font-size: clamp(34px, 6vw, 64px); line-height: 1.04; max-width: 18ch; text-wrap: balance; }
.hm-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), #8fb4ff 60%, #b58cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hm-lead { max-width: 62ch; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; margin: 0; }
.hm-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hm-actions .btn { padding: 14px 24px; font-size: 14px; }
.hm-note { color: var(--muted); font-size: 13px; margin: 0; }
.hm-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; margin: 0; padding: 0; }
.hm-chips a { display: inline-block; padding: 7px 13px; border: 1px solid var(--line-soft); border-radius: 999px; font-size: 13px; color: var(--text); background: rgba(255, 255, 255, 0.03); transition: border-color .2s, color .2s, transform .2s; }
.hm-chips a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ---------- moldura de captura ---------- */
.hm-shot { margin: 0; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.03); }
.hm-shot::before { content: ""; display: block; height: 26px; background: #0a1118 radial-gradient(circle at 14px 13px, #ff5f57 4px, transparent 5px), radial-gradient(circle at 30px 13px, #febc2e 4px, transparent 5px), radial-gradient(circle at 46px 13px, #28c840 4px, transparent 5px); border-bottom: 1px solid var(--line-soft); }
.hm-shot img { width: 100%; height: auto; display: block; }
.hm-shot figcaption { padding: 9px 14px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line-soft); }
.hm-hero .hm-shot { width: min(1100px, 100%); margin-top: 8px; animation: hm-rise .9s ease both; }
@keyframes hm-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- secoes de recurso ---------- */
.hm-sec { padding: 84px 0; }
.hm-sec.alt { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.hm-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hm-sec.flip .hm-row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.hm-sec.flip .hm-copy { order: 2; }
.hm-kicker { font-family: var(--font-head); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.hm-sec h2, .hm-block h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; margin: 0 0 14px; text-wrap: balance; }
.hm-copy p { color: var(--muted); font-size: 16px; }
.hm-bullets { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; }
.hm-bullets li { position: relative; padding-left: 28px; color: var(--text); font-size: 15px; }
.hm-bullets li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: rgba(20, 235, 206, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.4l2.2 2.2 4.8-5' fill='none' stroke='%2314ebce' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.hm-link { display: inline-flex; gap: 6px; color: var(--accent); font-weight: 600; font-size: 15px; }
.hm-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hm-badge { display: inline-block; font-size: 11.5px; padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(255, 196, 114, 0.4); color: #ffc472; background: rgba(255, 196, 114, 0.08); margin-left: 8px; vertical-align: middle; font-family: var(--font-body); letter-spacing: 0; }
.hm-sec .hm-shot { transition: transform .5s ease, box-shadow .5s ease; }
.hm-sec .hm-shot:hover { transform: translateY(-4px); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 60px rgba(20, 235, 206, 0.08); }

/* ---------- tudo em um so lugar ---------- */
.hm-block { padding: 84px 0; }
.hm-head { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.hm-head p { color: var(--muted); }
.hm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.hm-card { padding: 22px; border: 1px solid var(--line-soft); border-radius: 16px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); transition: transform .25s, border-color .25s; }
.hm-card:hover { transform: translateY(-4px); border-color: var(--line); }
.hm-card h3 { font-size: 17px; margin: 0 0 8px; }
.hm-card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.hm-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; background: rgba(20, 235, 206, 0.1); color: var(--accent); font-size: 20px; }
.hm-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin-top: 26px; }

/* ---------- video ---------- */
.hm-video { width: min(960px, 100%); margin: 0 auto; }
.hm-video video { width: 100%; height: auto; display: block; background: #000; border-radius: 12px; }
.hm-steps { counter-reset: s; list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.hm-steps li { counter-increment: s; padding: 16px 16px 16px 56px; position: relative; border: 1px solid var(--line-soft); border-radius: 14px; background: var(--panel); color: var(--muted); font-size: 14.5px; }
.hm-steps li::before { content: counter(s); position: absolute; left: 14px; top: 14px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 14px; }
.hm-steps strong { color: var(--text); display: block; margin-bottom: 2px; }

/* ---------- planos ---------- */
.hm-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.hm-plan { padding: 24px; border: 1px solid var(--line-soft); border-radius: 18px; background: var(--panel); display: flex; flex-direction: column; gap: 10px; }
.hm-plan.top { border-color: var(--accent); background: linear-gradient(180deg, rgba(20, 235, 206, 0.08), var(--panel)); }
.hm-plan h3 { font-size: 20px; margin: 0; }
.hm-plan ul { list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: 14.5px; display: grid; gap: 7px; }
.hm-plan li::before { content: "+ "; color: var(--accent); font-weight: 700; }

/* ---------- faq / cta ---------- */
.hm-faq { max-width: 820px; margin: 0 auto; }
.hm-faq details p { padding: 0 18px 16px; margin: 0; color: var(--muted); }
.hm-cta { text-align: center; padding: 84px 0; background: var(--hm-glow); border-top: 1px solid var(--line-soft); }
.hm-cta h2 { font-size: clamp(28px, 4vw, 46px); margin-bottom: 12px; }
.hm-cta p { color: var(--muted); max-width: 56ch; margin: 0 auto 24px; }
.hm-mascot { width: 120px; height: auto; margin: 0 auto 10px; animation: hm-float 5s ease-in-out infinite; }
@keyframes hm-float { 50% { transform: translateY(-8px); } }

/* ---------- paginas de recurso ---------- */
.hm-crumbs { font-size: 13px; color: var(--muted); padding: 20px 0 0; }
.hm-crumbs a:hover { color: var(--accent); }
.hm-article { max-width: 780px; margin: 0 auto; padding: 36px 0 12px; }
.hm-article h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 38px 0 12px; }
.hm-article p, .hm-article li { color: #c4cdd6; font-size: 16.5px; line-height: 1.7; }
.hm-article ul { padding-left: 20px; display: grid; gap: 6px; }
.hm-article .hm-shot { margin: 26px 0; }
.hm-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 12px; }
.hm-related a { padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: 12px; background: var(--panel); font-weight: 600; transition: border-color .2s, transform .2s; }
.hm-related a:hover { border-color: var(--accent); transform: translateY(-2px); }
.hm-related small { display: block; color: var(--muted); font-weight: 400; margin-top: 2px; }

/* ---------- revelar ao rolar (so com JS; sem JS tudo aparece) ---------- */
.hm-js .hm-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.hm-js .hm-reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .hm-row, .hm-sec.flip .hm-row { grid-template-columns: 1fr; }
  .hm-sec.flip .hm-copy { order: 0; }
  .hm-sec, .hm-block, .hm-cta { padding: 56px 0; }
  .hm-hero { padding-top: 36px; }
}
@media (max-width: 420px) { .hm-actions .btn { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) {
  .hm *, .hm *::before, .hm *::after { animation: none !important; transition: none !important; }
  .hm-js .hm-reveal { opacity: 1; transform: none; }
}

/* celular */
.hm-phone { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.hm-phonewrap { display: grid; justify-items: center; }
.hm-phoneimg { width: min(260px, 70vw); height: auto; border-radius: 30px; border: 6px solid #1b2733; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55); }
@media (max-width: 860px) { .hm-phone { grid-template-columns: 1fr; } }

.hm-badge { margin-left: .6em; }
