/* Spunk BR TW: estilos comuns a todas as páginas.
   Ordem: variáveis, base, layout, cabeçalho, componentes, rodapé. */

:root {
  --bg: #0f0d0a;
  --bg-alt: #14110d;
  --surface: #1a1611;
  --surface-2: #221d16;
  --surface-3: #2b251c;
  --border: #2d261c;
  --border-strong: #4a3d29;
  --text: #efe8da;
  --text-dim: #b9ae98;
  --text-mute: #968b76;
  --gold: #f2be36;
  --gold-hi: #ffd866;
  --gold-deep: #b8860b;
  --gold-tint: rgba(242, 190, 54, 0.12);
  --red: #e5342e;
  --red-tint: rgba(229, 52, 46, 0.14);
  --green: #4cc38a;
  --green-tint: rgba(76, 195, 138, 0.14);
  --blue: #6db3f2;
  --blue-tint: rgba(109, 179, 242, 0.14);
  --silver: #c9d1d9;
  --bronze: #d08a4e;

  --font-display: 'Roboto Slab', Rockwell, Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, 'Cascadia Code', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
  --header-h: 72px;
  --container: 1200px;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gold-hi);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.2;
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
}

h2 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
}

h3 {
  font-size: 1.125rem;
  font-weight: 650;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

code,
kbd,
pre {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

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

::selection {
  background: var(--gold);
  color: #1a1408;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon {
  flex: none;
}

.num {
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------ layout */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 40px, 820px);
  margin-inline: auto;
}

.section {
  padding-block: clamp(48px, 7vw, 84px);
}

.section-tight {
  padding-block: clamp(32px, 5vw, 56px);
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.section-head h2,
.section-head h3 {
  margin: 0;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--text-dim);
  max-width: 62ch;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}

.more-link:hover .icon {
  transform: translateX(3px);
}

.more-link .icon {
  transition: transform 0.15s ease;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}

.stack > * + * {
  margin-top: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead {
  color: var(--text-dim);
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  max-width: 64ch;
}

.muted {
  color: var(--text-mute);
}

.dim {
  color: var(--text-dim);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--gold);
  color: #1a1408;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: #1a1408;
}

/* ------------------------------------------------------------ cabeçalho */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 13, 10, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: block;
  flex: none;
}

.brand img {
  height: 52px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list > li {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 11px;
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 550;
  text-decoration: none;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text);
  background: var(--surface-2);
}

.nav-link[aria-current='page'] {
  color: var(--gold);
}

.nav-badge {
  padding: 1px 7px;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sub-toggle {
  display: grid;
  place-items: center;
  width: 26px;
  height: 34px;
  margin-left: -8px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--text-mute);
  border-radius: var(--radius-sm);
}

.sub-toggle:hover {
  color: var(--text);
}

.sub-toggle .icon {
  transition: transform 0.15s ease;
}

.sub-toggle[aria-expanded='true'] .icon {
  transform: rotate(180deg);
}

.sub {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 340px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity 0.14s ease,
    transform 0.14s ease,
    visibility 0.14s;
}

/* ponte invisível para o mouse não "cair" entre o link e o submenu */
.sub::before {
  content: '';
  position: absolute;
  inset: -10px 0 auto;
  height: 10px;
}

.sub ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sub a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.sub a:hover,
.sub a:focus-visible {
  background: var(--surface-3);
}

.sub-label {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.sub-hint {
  display: block;
  color: var(--text-mute);
  font-size: 0.82rem;
  line-height: 1.35;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
}

.nav-toggle .when-open,
.nav-toggle[aria-expanded='true'] .when-closed {
  display: none;
}

.nav-toggle[aria-expanded='true'] .when-open {
  display: block;
}

/* telas entre 1081 e 1260 px: menu um pouco mais justo para caber o botão do WhatsApp */
@media (min-width: 1081px) and (max-width: 1260px) {
  .header-row {
    gap: 16px;
  }

  .nav {
    gap: 10px;
  }

  .nav-link {
    padding-inline: 8px;
  }

  .nav-cta {
    gap: 8px;
  }
}

/* abaixo de 1180 px o selo "Novo" do Ranking sai para os botões caberem */
@media (min-width: 1081px) and (max-width: 1180px) {
  .nav-badge {
    display: none;
  }
}

@media (min-width: 1081px) {
  .has-sub:hover > .sub,
  .has-sub:focus-within > .sub,
  .has-sub.is-open > .sub {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

@media (max-width: 1080px) {
  :root {
    --header-h: 64px;
  }

  .brand img {
    height: 44px;
  }

  .nav-toggle {
    display: grid;
  }

  /* o painel é posicionado em relação ao cabeçalho (que fica colado no topo):
     o desfoque do cabeçalho impediria um "position: fixed" de cobrir a tela */
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 20px;
    padding: 16px 20px 32px;
    background: var(--bg);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list > li {
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
  }

  .nav-link {
    flex: 1;
    padding: 15px 4px;
    font-size: 1.05rem;
  }

  .nav-link:hover {
    background: none;
  }

  .sub-toggle {
    width: 48px;
    height: 48px;
    margin: 0;
  }

  .sub {
    position: static;
    display: none;
    width: 100%;
    padding: 0 0 10px;
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .has-sub.is-open > .sub {
    display: block;
  }

  .sub a {
    padding: 10px 12px;
  }

  .nav-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-cta .btn {
    justify-content: center;
    padding-block: 13px;
    font-size: 1rem;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* ------------------------------------------------------------ botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 650;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.12s ease,
    background-color 0.12s ease,
    border-color 0.12s ease,
    filter 0.12s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.88rem;
  border-radius: 8px;
}

.btn-lg {
  padding: 15px 26px;
  font-size: 1.05rem;
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  color: #1a1408;
  box-shadow: 0 6px 20px rgba(242, 190, 54, 0.22);
}

.btn-gold:hover {
  color: #1a1408;
  filter: brightness(1.07);
}

/* grupo do WhatsApp e LivePix: no topo viram só o ícone, ao lado do Curso PRO;
   no menu do celular aparecem com o texto */
.btn-whatsapp {
  background: #25d366;
  color: #062a14;
}

.btn-whatsapp:hover {
  color: #062a14;
  filter: brightness(1.07);
}

.btn-livepix {
  background: #fff;
  color: #0b4f5c;
}

.btn-livepix:hover {
  color: #0b4f5c;
  filter: brightness(0.94);
}

.btn-livepix img {
  flex: none;
  border-radius: 50%;
}

.nav-cta .btn-whatsapp {
  padding-inline: 10px;
}

.nav-cta .btn-livepix {
  padding-inline: 8px;
}

.nav-cta .cta-label {
  display: none;
}

@media (max-width: 1080px) {
  .nav-cta .cta-label {
    display: inline;
  }
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--gold-deep);
}

.btn-dark {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--text);
}

.btn-dark:hover {
  color: var(--text);
  background: var(--surface-3);
  border-color: var(--border-strong);
}

.btn-red {
  background: var(--red);
  color: #fff;
}

.btn-red:hover {
  color: #fff;
  filter: brightness(1.1);
}

.btn[disabled],
.btn[aria-disabled='true'] {
  opacity: 0.5;
  pointer-events: none;
}

.btn.is-done {
  background: var(--green);
  border-color: var(--green);
  color: #06261a;
  box-shadow: none;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* ------------------------------------------------------------ cartões */
.card {
  position: relative;
  display: block;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: inherit;
  text-decoration: none;
}

a.card {
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    background-color 0.15s ease;
}

a.card:hover {
  color: inherit;
  transform: translateY(-3px);
  border-color: var(--gold-deep);
  background: var(--surface-2);
}

.card h3 {
  margin-bottom: 6px;
}

.card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  background: var(--gold-tint);
  border: 1px solid rgba(242, 190, 54, 0.25);
  border-radius: 12px;
  color: var(--gold);
}

.card-arrow {
  position: absolute;
  top: 22px;
  right: 22px;
  color: var(--text-mute);
  transition:
    transform 0.15s ease,
    color 0.15s ease;
}

a.card:hover .card-arrow {
  color: var(--gold);
  transform: translateX(3px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.badge-gold {
  background: var(--gold-tint);
  border-color: rgba(242, 190, 54, 0.35);
  color: var(--gold);
}

.badge-red {
  background: var(--red-tint);
  border-color: rgba(229, 52, 46, 0.4);
  color: #ff8a85;
}

.badge-green {
  background: var(--green-tint);
  border-color: rgba(76, 195, 138, 0.4);
  color: var(--green);
}

.callout {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text-dim);
  font-size: 0.95rem;
}

.callout .icon {
  margin-top: 2px;
}

.callout strong {
  color: var(--text);
}

.callout-info {
  border-color: rgba(109, 179, 242, 0.35);
  background: var(--blue-tint);
}

.callout-info .icon {
  color: var(--blue);
}

.callout-warn {
  border-color: rgba(242, 190, 54, 0.4);
  background: var(--gold-tint);
}

.callout-warn .icon {
  color: var(--gold);
}

.callout-ok {
  border-color: rgba(76, 195, 138, 0.4);
  background: var(--green-tint);
}

.callout-ok .icon {
  color: var(--green);
}

/* ------------------------------------------------------------ cabeçalho de página */
.page-hero {
  position: relative;
  padding-block: clamp(28px, 5vw, 56px) clamp(28px, 4vw, 44px);
  background:
    radial-gradient(900px 320px at 12% -10%, rgba(242, 190, 54, 0.13), transparent 70%),
    radial-gradient(700px 300px at 95% 0%, rgba(229, 52, 46, 0.08), transparent 70%),
    var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin-bottom: 12px;
}

.page-hero .lead {
  margin: 0;
}

.page-hero-grid.has-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
}

@media (max-width: 860px) {
  .page-hero-grid.has-aside {
    grid-template-columns: 1fr;
  }
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  color: var(--text-mute);
  font-size: 0.85rem;
}

.crumbs li + li::before {
  content: '/';
  margin-right: 8px;
  color: var(--border-strong);
}

.crumbs a {
  color: var(--text-dim);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--gold);
}

/* ------------------------------------------------------------ formulários */
.field {
  display: block;
}

.field > span,
.label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-dim);
  font-size: 0.86rem;
  font-weight: 600;
}

.field small,
.help {
  display: block;
  margin-top: 6px;
  color: var(--text-mute);
  font-size: 0.82rem;
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 11px 13px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition:
    border-color 0.12s ease,
    box-shadow 0.12s ease;
}

.textarea {
  min-height: 120px;
  resize: vertical;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.5;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--text-mute);
  opacity: 0.8;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 190, 54, 0.2);
}

.select {
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b9ae98' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.search {
  position: relative;
}

.search .icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-mute);
  pointer-events: none;
}

.search .input {
  padding-left: 40px;
}

.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: none;
  border: 0;
  border-radius: 8px;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
}

.tab:hover {
  color: var(--text);
  background: var(--surface-2);
}

.tab[aria-selected='true'],
.tab[aria-current='page'],
.tab.is-active {
  background: var(--gold);
  color: #1a1408;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

button.chip:hover,
a.chip:hover {
  color: var(--text);
  border-color: var(--gold-deep);
}

.chip[aria-pressed='true'],
.chip.is-active {
  background: var(--gold-tint);
  border-color: var(--gold);
  color: var(--gold);
}

/* ------------------------------------------------------------ tabelas */
.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.table th,
.table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.table thead th {
  position: sticky;
  top: 0;
  background: var(--surface-2);
  color: var(--text-mute);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table tbody tr:last-child td {
  border-bottom: 0;
}

.table tbody tr:hover {
  background: rgba(242, 190, 54, 0.045);
}

.table .r {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.table .c {
  text-align: center;
}

.table .strong {
  color: var(--text);
  font-weight: 650;
}

.table td {
  color: var(--text-dim);
}

/* ------------------------------------------------------------ vídeos */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 22px 20px;
}

.video-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.04);
}

.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.18);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.video-play .icon {
  width: 52px;
  height: 52px;
  padding: 15px 13px 15px 17px;
  background: var(--red);
  border-radius: 50%;
  color: #fff;
  fill: currentColor;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.video-card:hover .video-play,
.video-card:focus-visible .video-play {
  opacity: 1;
}

.video-length {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 7px;
  background: rgba(0, 0, 0, 0.82);
  border-radius: 5px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.video-body {
  display: block;
}

.video-tag {
  display: block;
  margin-bottom: 3px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.video-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  color: var(--text);
  font-weight: 600;
  font-size: 0.96rem;
  line-height: 1.35;
}

.video-card:hover .video-title {
  color: var(--gold-hi);
}

.video-card.is-short .video-thumb {
  aspect-ratio: 9 / 16;
}

.shorts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 18px 14px;
}

/* player em janela */
.dialog {
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  color: var(--text);
  box-shadow: var(--shadow-lg);
}

.dialog::backdrop {
  background: rgba(5, 4, 3, 0.8);
  backdrop-filter: blur(3px);
}

.dialog-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--text);
}

.dialog-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.video-dialog {
  width: min(100vw - 24px, 1040px);
  max-width: none;
  overflow: visible;
  background: #000;
}

.video-dialog .dialog-close {
  position: absolute;
  top: -48px;
  right: 0;
}

.video-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ------------------------------------------------------------ avisos rápidos */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  box-shadow: var(--shadow);
  color: var(--text);
  font-weight: 600;
  font-size: 0.93rem;
  transform: translate(-50%, 20px);
  opacity: 0;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast .icon {
  color: var(--green);
}

/* ------------------------------------------------------------ código copiável */
.code-box {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.code-box pre {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 12px 14px;
  background: #0a0806;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: #e8d2a7;
  font-size: 0.82rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 170px;
  overflow: auto;
}

.code-box .btn {
  align-self: flex-start;
}

@media (max-width: 560px) {
  .code-box {
    flex-direction: column;
  }

  .code-box .btn {
    align-self: stretch;
  }
}

/* ------------------------------------------------------------ perguntas (details) */
.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.faq details[open] {
  border-color: var(--border-strong);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
}

.faq .faq-body {
  padding: 0 18px 18px;
  color: var(--text-dim);
}

.faq .faq-body > :last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------------ redes sociais */
.social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.social-link:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.social-youtube:hover .icon {
  color: #ff4d45;
}

.social-whatsapp:hover .icon {
  color: #25d366;
}

.social-discord:hover .icon {
  color: #8c9eff;
}

.social-instagram:hover .icon {
  color: #ff7ab0;
}

.social-lg .social-link {
  padding: 12px 18px;
  font-size: 1rem;
}

/* ------------------------------------------------------------ faixa de chamada */
.cta-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 4vw, 40px);
  background:
    radial-gradient(600px 260px at 0% 0%, rgba(242, 190, 54, 0.18), transparent 70%),
    var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
}

.cta-band h2 {
  margin-bottom: 8px;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}

.cta-band p {
  margin: 0;
  color: var(--text-dim);
  max-width: 60ch;
}

.cta-band .actions {
  margin: 0;
}

@media (max-width: 760px) {
  .cta-band {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------ texto corrido */
.prose {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.75;
}

.prose h2 {
  margin-top: 1.6em;
  color: var(--text);
  font-size: 1.45rem;
}

.prose strong {
  color: var(--text);
}

.prose li {
  margin-bottom: 0.4em;
}

.prose .callout {
  margin-block: 1.2em;
  font-size: 0.98rem;
}

/* ------------------------------------------------------------ listas */
.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  color: var(--text-dim);
  font-size: 0.94rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  background: var(--gold-tint);
  border: 1px solid rgba(242, 190, 54, 0.35);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
}

.steps strong {
  color: var(--text);
}

.check-list,
.link-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  color: var(--text-dim);
}

.check-list .icon {
  margin-top: 4px;
  color: var(--green);
}

.check-list strong {
  color: var(--text);
  font-weight: 600;
}

.link-list li + li {
  border-top: 1px solid var(--border);
}

.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 2px;
  color: var(--text);
  font-weight: 550;
  text-decoration: none;
}

.link-list a:hover {
  color: var(--gold);
}

.link-list .icon {
  color: var(--text-mute);
}

.aside-title {
  margin-bottom: 14px;
  color: var(--text-mute);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card p.aside-note {
  margin-top: 14px;
  color: var(--text-mute);
  font-size: 0.86rem;
}

.tool-card-title {
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ------------------------------------------------------------ rodapé */
.site-footer {
  margin-top: clamp(48px, 7vw, 84px);
  padding-top: 52px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.93rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: 36px 32px;
  padding-bottom: 40px;
}

.footer-brand img {
  height: 58px;
  width: auto;
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 34ch;
  margin-bottom: 18px;
}

.footer-col h2 {
  margin-bottom: 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li + li {
  margin-top: 9px;
}

.footer-col a {
  color: var(--text-dim);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-mute);
  font-size: 0.84rem;
}

.footer-bottom p {
  margin: 0;
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
