/* ==========================================================================
   Fabio Islan Hub — landing page
   Paleta:  fundo #050506 · texto #f4f2ee · acento #e8a33d
   ========================================================================== */

/* ---------- Fontes (self-hosted, sem chamadas ao Google) ---------- */
@font-face {
  font-family: 'Sora'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('../fonts/sora-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sora'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('../fonts/sora-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url('../fonts/plexsans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url('../fonts/plexsans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/plexmono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/plexmono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/plexmono-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/plexmono-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #050506;
  --bg-2: #08080a;
  --bg-3: #0a0a0b;
  --surface: #111114;
  --ink: #f4f2ee;
  --ink-2: #b8b5ad;
  --ink-3: #8b8880;
  --ink-4: #6f6c65;
  --accent: #e8a33d;
  --accent-hi: #f0b352;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.2);
  --sans: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --display: 'Sora', 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --gutter: clamp(20px, 5vw, 64px);
  --wrap: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --nav-h: 76px; /* reserva — main.js (medirNav) grava a altura real do header */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }
::selection { background: var(--accent); color: #0c0c0e; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 { font-family: var(--display); margin: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #0c0c0e; padding: 12px 20px;
  font-family: var(--mono); font-size: 13px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Utilitários ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 34px;
}
.section-head h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700;
  letter-spacing: -1.5px;
}
.section-note {
  font-family: var(--mono); font-size: 13px;
  color: var(--ink-3); padding-bottom: 6px;
}

/* Grão de filme sobre superfícies escuras */
.grain { position: relative; }
.grain::after {
  content: ""; position: absolute; inset: 0;
  pointer-events: none; z-index: 2;
  opacity: .07; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Revelação ao rolar */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 1s var(--ease) .18s, transform 1s var(--ease) .18s;
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--display); font-weight: 600; font-size: 15px;
  padding: 16px 28px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn--primary { background: var(--accent); color: #0c0c0e; }
.btn--primary:hover {
  background: var(--accent-hi); color: #0c0c0e;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(232, 163, 61, .6);
}
.btn--ghost { border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 163, 61, .6);
  background: rgba(232, 163, 61, .08);
  color: var(--ink);
}
.btn--pill {
  font-family: var(--mono); font-size: 12.5px; font-weight: 600;
  padding: 9px 16px; border-radius: 999px;
  border-color: rgba(232, 163, 61, .6); color: var(--accent);
}
.btn--pill:hover { background: var(--accent); color: #0c0c0e; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ==========================================================================
   VÍDEO DE ABERTURA
   ========================================================================== */
/* O header fica acima do vídeo: a seção desconta a altura dele (--nav-h)
   para o vídeo continuar ocupando exatamente a tela visível. */
.intro-video {
  position: relative; width: 100%;
  height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h));
  overflow: hidden; background: #000 center / cover no-repeat url("../img/intro-video-backdrop.jpg");
}
.intro-video__frame { position: absolute; inset: 0; pointer-events: none; }
.intro-video__el {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; object-position: center; /* vídeo vertical inteiro, sem cortar — as laterais mostram o fundo borrado */
  opacity: 0; transition: opacity 1s var(--ease) .18s; /* mesmo timing do .reveal do resto do site */
}
.intro-video__el.is-ready { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .intro-video__el { transition: none; } }
.intro-video__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(5, 5, 6, .7), transparent 30%),
    linear-gradient(to bottom, rgba(5, 5, 6, .5), transparent 22%);
}
.intro-video__progress {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  height: 2px; background: rgba(255, 255, 255, .14); pointer-events: none;
}
.intro-video__controls {
  position: absolute; left: 50%; bottom: 24px; z-index: 2;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(5, 5, 6, .45); border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.intro-video:hover .intro-video__controls,
.intro-video__controls:focus-within {
  opacity: 1; pointer-events: auto;
}
@media (hover: none) {
  /* touch: sem hover pra revelar, então os controles ficam sempre à mostra */
  .intro-video__controls { opacity: 1; pointer-events: auto; }
}
.intro-video__btn {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 0;
  background: transparent; color: var(--ink); cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.intro-video__btn:hover { background: rgba(232, 163, 61, .15); color: var(--accent); }
.intro-video__btn .ico-play, .intro-video__btn .ico-vol-off { display: none; }
.intro-video__btn.is-paused .ico-play { display: block; }
.intro-video__btn.is-paused .ico-pause { display: none; }
.intro-video__btn.is-muted .ico-vol-off { display: block; }
.intro-video__btn.is-muted .ico-vol-on { display: none; }
.intro-video__volume {
  width: 64px; height: 3px; margin: 0 6px 0 2px; accent-color: var(--accent);
  cursor: pointer;
}
.intro-video__progress-fill { height: 100%; width: 0%; background: var(--accent); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 18px var(--gutter);
  background: rgba(5, 5, 6, .72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav__logo { height: 26px; width: auto; }
.nav__links {
  display: flex; align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  font-size: 14px; color: #c9c6bf;
}
/* Menu contextual (três pontos) — escondido no desktop, liberado no @media abaixo */
.nav__more { display: none; position: relative; }
@media (max-width: 640px) {
  .nav { padding-block: 14px; }
  :root { --nav-h: 68px; }
  .nav__links { gap: 16px; font-size: 13px; }
  .nav__links a[data-nav-optional] { display: none; }
  .nav__more { display: block; }
}

/* Menu contextual (três pontos) — só aparece no mobile */
.nav__more-btn {
  display: grid; place-items: center;
  width: 36px; height: 36px; margin-right: -8px;
  padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: inherit; cursor: pointer;
}
.nav__more-btn:hover,
.nav__more-btn[aria-expanded="true"] { background: rgba(255, 255, 255, .08); color: var(--ink); }
.nav__menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 168px; padding: 6px;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
}
.nav__menu[hidden],
.nav__menu a[hidden] { display: none; }
.nav__menu a {
  padding: 10px 12px; border-radius: 8px;
  font-size: 14px; color: var(--ink-2);
}
.nav__menu a:hover,
.nav__menu a:focus-visible { background: rgba(255, 255, 255, .06); color: var(--ink); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 110px) var(--gutter) clamp(48px, 6vw, 80px); }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(232, 163, 61, .18), transparent 55%),
    radial-gradient(90% 80% at 8% 100%, rgba(232, 163, 61, .06), transparent 60%),
    #060607;
}
.hero__glow {
  position: absolute; top: -160px; right: -120px;
  width: 520px; height: 520px; border-radius: 50%;
  background: rgba(232, 163, 61, .12); filter: blur(120px); z-index: 0;
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 3;
  max-width: var(--wrap); margin-inline: auto;
}
.hero__kicker {
  font-family: var(--mono); font-size: 13px; letter-spacing: 4px;
  color: var(--accent); margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(38px, 7vw, 86px);
  line-height: .98; font-weight: 800;
  letter-spacing: -2.5px; margin-bottom: 26px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lede {
  font-size: clamp(16px, 1.4vw, 18.5px); line-height: 1.65;
  color: var(--ink-2); max-width: 500px; margin: 0 0 36px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero__lede { max-width: none; }
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee {
  border-block: 1px solid rgba(255, 255, 255, .07);
  background: var(--bg-3);
  overflow: hidden; white-space: nowrap; padding: 16px 0;
}
.marquee__track {
  display: inline-flex; gap: 44px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 2px;
  color: var(--ink-4);
  animation: marquee 26s linear infinite;
  will-change: transform;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 44px; }
.marquee__track b { color: var(--accent); font-weight: 400; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ==========================================================================
   TABLATURAS
   ========================================================================== */
.tabs {
  position: relative;
  background: var(--bg-2);
  border-block: 1px solid rgba(255, 255, 255, .06);
}
.tabs__inner { position: relative; z-index: 3; padding-block: clamp(64px, 8vw, 110px); }
.tabs__lede {
  font-size: 15px; color: var(--ink-3);
  margin: 0 0 34px; max-width: 560px;
}
.tabs__lede em { color: var(--ink-2); font-style: italic; }

.tabs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  align-items: start;
}

.combo {
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 18px;
  background: var(--surface);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .3s ease, transform .3s var(--ease);
}
.combo:hover { border-color: rgba(232, 163, 61, .35); transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .combo:hover { transform: none; } }

/* Proporção da arte original (900×749): a capa vende o combo — nada de corte. */
.combo__cover {
  position: relative; aspect-ratio: 900 / 749; overflow: hidden;
  background: #0c0c0e; border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.combo__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.combo__count {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  font-family: var(--mono); font-size: 10px; letter-spacing: 1px; font-weight: 600;
  background: rgba(232, 163, 61, .92); color: #0c0c0e;
  padding: 5px 10px; border-radius: 6px;
}

.combo__head {
  padding: 22px 22px 0;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
}
.combo__title { font-size: 19px; font-weight: 700; line-height: 1.2; }
.combo__price {
  font-family: var(--mono); font-size: 17px; font-weight: 600;
  color: var(--accent); white-space: nowrap;
}
.combo__meta { padding: 14px 22px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, .14); color: #a5a29a;
  padding: 5px 10px; border-radius: 6px;
}
.combo__list {
  padding: 16px 22px 0; margin: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  font-size: 13px; color: var(--ink-3); line-height: 1.4;
}
.combo__list li::before { content: "✓ "; color: var(--accent); }

.combo__actions {
  padding: 18px 22px 22px; margin-top: auto;
  display: flex; gap: 10px;
}
.combo__preview-btn {
  flex: none; background: none; cursor: pointer;
  border: 1px solid var(--line-strong); color: #c9c6bf;
  font-family: var(--mono); font-size: 12px;
  padding: 0 18px; border-radius: 11px;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.combo__preview-btn:hover {
  border-color: rgba(232, 163, 61, .6); color: var(--accent);
  background: rgba(232, 163, 61, .06);
}
.combo__buy {
  flex: 1; font-family: var(--display); font-weight: 600; font-size: 13px;
  background: var(--accent); color: #0c0c0e; border: 0; cursor: pointer;
  padding: 13px; border-radius: 11px; text-align: center;
  -webkit-appearance: none; appearance: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.combo__buy:hover {
  background: var(--accent-hi); color: #0c0c0e; transform: translateY(-2px);
  box-shadow: 0 12px 28px -12px rgba(232, 163, 61, .6);
}
@media (prefers-reduced-motion: reduce) { .combo__buy:hover { transform: none; } }
/* Sem link de compra cadastrado em config.js (ativo=false): botão inativo. */
.combo__buy:disabled {
  cursor: not-allowed; opacity: .6;
  background: rgba(255, 255, 255, .06); color: var(--ink-3);
}
.combo__buy:disabled:hover {
  transform: none; box-shadow: none;
  background: rgba(255, 255, 255, .06); color: var(--ink-3);
}

/* --- Painel de prévia (embed sob demanda) --- */
.combo__preview[hidden] { display: none; }
.combo__preview { padding: 16px 22px 0; }
.preview-box {
  background: var(--bg-2);
  border: 1px solid rgba(232, 163, 61, .25);
  border-radius: 12px; padding: 14px;
}
.preview-box__label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 1px;
  color: var(--accent); margin-bottom: 10px;
}
/* Vídeos são verticais (9:16) — o palco acompanha e limita a altura */
.preview-stage {
  position: relative; aspect-ratio: 9 / 16;
  max-width: 250px; margin-inline: auto;
  border-radius: 8px; overflow: hidden; background: #000;
}
.preview-stage > iframe,
.preview-stage > video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0; object-fit: cover;
}
.preview-empty {
  aspect-ratio: 9 / 16; max-width: 250px; margin-inline: auto;
  border-radius: 8px; border: 1px dashed rgba(232, 163, 61, .35);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--ink-3); text-align: center; padding: 16px;
  font-size: 13px; line-height: 1.4;
}
.preview-empty__icon { font-size: 26px; }
.preview-empty small { font-size: 11px; color: var(--ink-4); }

/* ==========================================================================
   CURSOS
   ========================================================================== */
.courses { padding-block: clamp(64px, 8vw, 110px); }
.courses__grid { display: flex; flex-wrap: wrap; gap: 18px; }

.course {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--surface);
  display: flex; flex-direction: column;
  min-height: 330px; width: 100%; max-width: 420px;
  transition: transform .3s var(--ease), border-color .3s ease;
}
.course:hover { transform: translateY(-4px); border-color: rgba(232, 163, 61, .35); }
@media (prefers-reduced-motion: reduce) { .course:hover { transform: none; } }

.course__art {
  position: relative; height: 260px; overflow: hidden;
  background: linear-gradient(135deg, #1c1c20, #0c0c0e);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  display: flex; align-items: center; justify-content: center;
}
/* A caixa do curso é a arte do produto: aparece inteira, sem corte. */
.course__box {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; padding: 18px;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, .65));
}
/* Com a arte ocupando o centro, o selo sai do caminho e vai para o canto. */
.course__badge {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  font-family: var(--mono); font-size: 11px; letter-spacing: 1px;
  padding: 6px 13px; border-radius: 999px;
  background: rgba(232, 163, 61, .15); color: var(--accent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.course__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.course__body h3 { font-size: 21px; font-weight: 700; line-height: 1.15; }
.course__body p { font-size: 14px; line-height: 1.55; color: #a5a29a; margin: 0; flex: 1; }
.course__cta {
  margin-top: 4px; font-family: var(--mono); font-size: 12px; letter-spacing: 1px;
  color: var(--ink-3); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px; padding: 13px; text-align: center;
  /* Zera o visual nativo do <button> para casar com o resto do card. */
  width: 100%; background: none; -webkit-appearance: none; appearance: none;
}
/* Enquanto não há destino, o botão fica inativo — o cursor avisa antes do clique. */
.course__cta:disabled { cursor: not-allowed; opacity: .75; }

/* ==========================================================================
   PRESETS
   ========================================================================== */
.products { padding-block: clamp(64px, 8vw, 110px); }
/* auto-fill (não auto-fit): com poucos itens, o card mantém a largura da
   coluna da grade em vez de esticar e ocupar a linha inteira sozinho —
   assim o card fica do mesmo tamanho do card de tablatura mesmo quando
   "Presets" tem só 1 ou 2 itens cadastrados. */
.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
  align-items: start;
}

.product {
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 18px;
  background: var(--surface);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .3s ease, transform .3s var(--ease);
}
.product:hover { border-color: rgba(232, 163, 61, .35); transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .product:hover { transform: none; } }

/* Mesma proporção da capa dos combos (900×749) — cards do mesmo tamanho. */
.product__art {
  position: relative; aspect-ratio: 900 / 749; overflow: hidden;
  background: #0c0c0e; border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.product__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.product__body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.product__head h3 { font-size: 19px; font-weight: 700; line-height: 1.2; }
.product__price {
  font-family: var(--mono); font-size: 17px; font-weight: 600;
  color: var(--accent); white-space: nowrap;
}
.product__body p { font-size: 14px; line-height: 1.55; color: #a5a29a; margin: 0; flex: 1; }

.product__buy {
  margin-top: auto; font-family: var(--display); font-weight: 600; font-size: 13px;
  background: var(--accent); color: #0c0c0e; border: 0; cursor: pointer;
  padding: 13px; border-radius: 11px; text-align: center; width: 100%;
  -webkit-appearance: none; appearance: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.product__buy:hover {
  background: var(--accent-hi); color: #0c0c0e; transform: translateY(-2px);
  box-shadow: 0 12px 28px -12px rgba(232, 163, 61, .6);
}
@media (prefers-reduced-motion: reduce) { .product__buy:hover { transform: none; } }
/* Sem link de compra cadastrado em config.js (ativo=false): botão inativo. */
.product__buy:disabled {
  cursor: not-allowed; opacity: .6;
  background: rgba(255, 255, 255, .06); color: var(--ink-3);
}
.product__buy:disabled:hover {
  transform: none; box-shadow: none;
  background: rgba(255, 255, 255, .06); color: var(--ink-3);
}

/* ==========================================================================
   SOBRE
   ========================================================================== */
.about { padding-block: clamp(64px, 8vw, 120px); }
.about__grid {
  display: grid; grid-template-columns: .95fr 1.05fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.about__gallery {
  position: relative; border-radius: 20px; overflow: hidden;
  aspect-ratio: 4 / 5; background: #141417; border: 1px solid var(--line);
}
.about__gallery img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  opacity: 0; transition: opacity 1.1s ease;
}
.about__gallery img.is-active { opacity: 1; }
.about__gallery::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%;
  background: linear-gradient(to top, rgba(5, 5, 6, .55), transparent);
  pointer-events: none; z-index: 3;
}
.about__dots {
  position: absolute; left: 16px; bottom: 16px; z-index: 4;
  display: flex; gap: 7px; padding: 0; margin: 0; border: 0;
}
.about__dots button {
  width: 26px; height: 3px; border: 0; padding: 0; border-radius: 2px;
  background: rgba(255, 255, 255, .28); cursor: pointer;
  transition: background .4s ease;
}
.about__dots button[aria-current="true"] { background: var(--accent); }

.about h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; letter-spacing: -1.2px; margin-bottom: 22px; }
.about p { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin: 0 0 16px; }
.about p:last-of-type { margin-bottom: 26px; }
.about p em { color: var(--ink); font-style: italic; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-bottom: 28px; padding: 0; list-style: none;
}
.stats li { border: 1px solid var(--line); border-radius: 12px; padding: 16px 14px; }
.stats b {
  display: block; font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; color: var(--accent);
}
.stats span { display: block; font-size: 12px; color: var(--ink-3); margin-top: 3px; }
.about__sign { height: 58px; width: auto; opacity: .85; }

@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  /* width explícita: com margin auto o item do grid encolhe para a largura
     do conteúdo — e como todas as fotos são absolute, ficava com 0px. */
  .about__gallery { width: 100%; max-width: 420px; margin-inline: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.cta { position: relative; overflow: hidden; }
.cta__bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(100% 120% at 50% 0%, rgba(232, 163, 61, .16), transparent 60%), var(--bg-2);
}
.cta__inner {
  position: relative; z-index: 3;
  max-width: 820px; margin-inline: auto;
  padding: clamp(64px, 9vw, 120px) var(--gutter);
  text-align: center;
}
.cta h2 {
  font-size: clamp(30px, 4.6vw, 54px); font-weight: 800;
  letter-spacing: -1.8px; margin-bottom: 20px;
}
.cta p {
  font-size: 17px; line-height: 1.6; color: var(--ink-2);
  margin: 0 auto 32px; max-width: 480px;
}
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  padding: clamp(40px, 5vw, 60px) var(--gutter);
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer__inner {
  max-width: var(--wrap); margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: 30px;
  justify-content: space-between; align-items: center;
}
.footer__logo { height: 26px; width: auto; margin-bottom: 12px; }
.footer__fine { font-size: 13px; color: var(--ink-3); }
.footer__social { display: flex; gap: 18px; font-family: var(--mono); font-size: 13px; }
