/* Link na bio · Instituto 5HT Academy */
/* Link na bio · 5HT Academy — coluna única mobile-first (390px), roxo dominante, magenta nos CTAs principais e selos, azul no CTA dos cursos */
:root {
  --brand: #3a0450;
  --brand-deep: #27023a;
  --brand-rgb: 58, 4, 80;
  --magenta: #c2185b;
  --magenta-press: #a3134c;
  --gold: #c8961e;
  --gold-light: #e8c46b;
  --gold-ink: #8a6512;
  --page: #f6f4f9;
  --surface: #ffffff;
  --ink: #3a0450;
  --muted: #5a4f6e;
  --line: #e2ddea;
  --on-navy: #ffffff;
  --on-navy-muted: rgba(255, 255, 255, 0.8);
  --f-display: "Sora", "Avenir Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-text: "PT Serif", Georgia, "Times New Roman", serif;
  --r: 16px;
  --shadow-card: 0 1px 2px rgba(var(--brand-rgb), 0.08), 0 8px 24px rgba(var(--brand-rgb), 0.14);
  --shadow-cta: 0 4px 12px rgba(194, 24, 91, 0.28);
  --blue: #2d68c7;
  --blue-press: #2454a3;
  --shadow-blue: 0 4px 12px rgba(45, 104, 199, 0.32);
  /* papéis */
  --tag-bg: var(--magenta);
  --tag-fg: #ffffff;
  --course-cta: var(--blue);
  --course-cta-press: var(--blue-press);
  --course-cta-shadow: var(--shadow-blue);
  color-scheme: light;
}

.lb { max-width: 430px; margin: 0 auto; background: var(--page); color: var(--ink); font-family: var(--f-text); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; padding-bottom: 8px; }
.lb *, .lb *::before, .lb *::after { box-sizing: border-box; }
.lb a { -webkit-touch-callout: none; }
.lb a:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.lb svg { display: block; }
.lb h1, .lb h2, .lb p { margin: 0; }

/* ---------- Cabeçalho ---------- */
.hero { position: relative; overflow: hidden; background: var(--brand); color: var(--on-navy); padding: 14px 16px 18px; border-radius: 0 0 24px 24px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.3px); background-size: 14px 14px; pointer-events: none; }
.hero__art { position: absolute; right: -34px; top: -18px; width: 168px; color: var(--on-navy); opacity: 0.13; pointer-events: none; }
.hero__art .g, .feat__art .g, .course__art .g { stroke: var(--gold-light); }
.hero > *:not(.hero__art) { position: relative; }
.logo { display: block; height: 44px; width: auto; }
.prof { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.avatar { flex: none; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--brand-deep); color: var(--gold-light); font: 700 22px/1 var(--f-display); box-shadow: 0 0 0 2px var(--gold), 0 0 0 6px rgba(200, 150, 30, 0.22); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.prof__txt { min-width: 0; }
.prof__name { font: 700 21px/1.15 var(--f-display); letter-spacing: -0.015em; }
.prof__auth { margin-top: 5px; font: 400 12.5px/1.5 var(--f-display); color: var(--on-navy-muted); }
.prof__auth span { white-space: nowrap; }
.position { margin-top: 12px; font: 400 16px/1.45 var(--f-text); text-wrap: pretty; }
.position strong { font-weight: 700; color: var(--gold-light); }

/* ---------- Pilha principal ---------- */
.stack { display: flex; flex-direction: column; gap: 10px; padding: 10px 16px 0; }

/* Botão CTA (sempre magenta, texto branco) */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 18px; border-radius: 12px; background: var(--magenta); color: #ffffff; font: 400 15px/1.2 var(--f-display); box-shadow: var(--shadow-cta); transition: background-color 0.15s ease; }
.btn svg { flex: none; }
.btn--lg { min-height: 52px; font-size: 16px; }
a:hover .btn, a:active .btn { background: var(--magenta-press); }

/* Tag / selo dourado */
.tag, .seal { align-self: flex-start; display: inline-flex; align-items: center; background: var(--tag-bg); color: var(--tag-fg); font: 400 11px/1 var(--f-display); letter-spacing: 0.09em; text-transform: uppercase; white-space: nowrap; }
.tag { padding: 5px 8px; border-radius: 6px; }
.seal { padding: 6px 11px; border-radius: 999px; }

/* Banner de destaque: pacote */
.feat { position: relative; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--on-navy); background: var(--brand); border-radius: var(--r); padding: 16px 16px 14px; box-shadow: var(--shadow-card); transition: transform 0.12s ease; }
.feat::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(232, 196, 107, 0.45); border-radius: 12px; pointer-events: none; }
.feat__art { position: absolute; right: -26px; top: -22px; width: 150px; color: var(--on-navy); opacity: 0.16; pointer-events: none; }
.feat > *:not(.feat__art) { position: relative; }
.feat__title { margin-top: 12px; font: 700 22px/1.2 var(--f-display); letter-spacing: -0.015em; text-wrap: balance; max-width: 15em; }
.feat__meta { margin-top: 6px; font: 400 13.5px/1.45 var(--f-display); color: var(--on-navy-muted); }
.feat__meta .hl { color: var(--gold-light); }
.feat__meta span { display: block; }
.feat .btn { margin-top: 12px; background: var(--course-cta); box-shadow: var(--course-cta-shadow); }
.feat:hover .btn, .feat:active .btn { background: var(--course-cta-press); }

/* Banners de curso */
.course { position: relative; display: grid; text-decoration: none; color: var(--on-navy); background: var(--brand); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-card); transition: transform 0.12s ease; }
.course__art { position: relative; overflow: hidden; background: var(--brand-deep); color: var(--on-navy); }
.course__art::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.3px); background-size: 12px 12px; }
.course__art > svg:not(.course__trace) { position: absolute; opacity: 0.72; }
.course__trace { display: none !important; }
.course__trace path { fill: none; stroke: var(--gold-light); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.course__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.course__title { font: 700 17px/1.25 var(--f-display); letter-spacing: -0.01em; text-wrap: balance; }
.course__promise { font: 400 14.5px/1.42 var(--f-text); color: var(--on-navy-muted); text-wrap: pretty; }
.course__promise strong { font-weight: 700; color: var(--gold-light); }
.course .btn { margin-top: 6px; background: var(--course-cta); box-shadow: var(--course-cta-shadow); }
.course:hover .btn, .course:active .btn { background: var(--course-cta-press); }
.feat:active, .course:active, .lead:active { transform: scale(0.985); }

/* Variação A: imagem à esquerda, texto à direita */
.var-a .course { grid-template-columns: 88px 1fr; }
.var-a .course__art > svg:not(.course__trace) { left: 50%; top: 50%; width: 80px; height: 80px; transform: translate(-50%, -50%); }
.var-a .course__body { padding: 14px 14px 14px 14px; }
.var-a .course__title { font-size: 16px; }
.var-a .course__promise { font-size: 14px; }

/* Variação B: faixa de imagem no topo, texto abaixo */
.var-b .course { grid-template-columns: 1fr; }
.var-b .course__art { height: 84px; }
.var-b .course__art > svg:not(.course__trace) { right: 6px; top: 50%; width: 120px; height: 120px; transform: translateY(-50%); opacity: 0.8; }
.var-b .course__trace { display: block !important; position: absolute; left: 0; right: 120px; bottom: 10px; width: calc(100% - 120px); height: 34px; opacity: 0.55; }
.var-b .course .tag { position: absolute; top: 12px; left: 16px; z-index: 1; }
.var-b .course__body { padding: 14px 16px 16px; }
.var-b .course__title { font-size: 18.5px; }
.var-b .course .btn { min-height: 50px; }

/* Pós-graduação: mesmo padrão, com filete dourado interno como o pacote */
.course--pos::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(232, 196, 107, 0.45); border-radius: 12px; pointer-events: none; }

.var-b .course__art--img, .var-a .course__art--img { height: auto; aspect-ratio: 16 / 9; background: var(--brand-deep); }
.var-a .course--pos { grid-template-columns: 1fr; }
.course__art--img::before { display: none; }
.course__art--img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.course--pos .tag { position: absolute; top: 12px; left: 16px; z-index: 1; }

/* Prova social (slot opcional) */
.proof { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.proof__quote { font: 400 15px/1.5 var(--f-text); color: var(--ink); }
.proof__who { margin-top: 8px; font: 400 12.5px/1.4 var(--f-display); color: var(--muted); }

/* O que vem em todos os cursos */
.incl { margin-top: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 12px 18px; }
.incl h2 { font: 700 15px/1.3 var(--f-display); text-align: center; color: var(--ink); }
.incl ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 6px; }
.incl li { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; font: 400 12px/1.3 var(--f-display); color: var(--ink); }
.incl .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--brand-rgb), 0.06); color: var(--brand); box-shadow: inset 0 -2px 0 rgba(200, 150, 30, 0.55); }

/* Isca gratuita */
.lead { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--surface); border: 2px solid var(--gold); border-radius: var(--r); padding: 16px; transition: transform 0.12s ease; }
.lead__eyebrow { font: 400 11px/1 var(--f-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); }
.lead__title { margin-top: 8px; font: 700 18px/1.25 var(--f-display); letter-spacing: -0.01em; }
.lead__text { margin-top: 4px; font: 400 15px/1.45 var(--f-text); color: var(--muted); }
.lead__text strong { font-weight: 700; color: var(--ink); }
.lead .btn { margin-top: 14px; }

/* WhatsApp (secundário) */
.wa { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--brand); border-radius: var(--r); color: var(--brand); background: transparent; text-decoration: none; font: 400 15px/1.2 var(--f-display); transition: background-color 0.15s ease; }
.wa:hover, .wa:active { background: rgba(var(--brand-rgb), 0.06); }

/* Rodapé */
.foot { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 16px 12px; }
.social { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.social a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 48px; height: 48px; padding: 0 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--brand); text-decoration: none; font: 400 13.5px/1 var(--f-display); }
.social a:not(.site) { padding: 0; width: 48px; }
.motto { font: 400 14px/1.4 var(--f-text); font-style: italic; color: var(--muted); text-align: center; }
.copy { font: 400 12px/1.4 var(--f-display); color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .lb * { transition: none !important; }
  .feat:active, .course:active, .lead:active { transform: none; }
}

html, body { margin: 0; background: var(--page); }
