/* ══════════════════════════════════════════════════════════════════════════
   ACMFacil Website — site.css (seções de marketing)
   Componentes que só existem no site público (não no plugin):
   hero, features, demo, pricing, faq, cta, footer.
   ══════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: var(--space-12) var(--space-6) var(--space-6);
  text-align: center;
  overflow: hidden;
  background: var(--bg);
}
@media (min-width: 720px) {
  .hero { padding: var(--space-16) var(--space-8) var(--space-8); }
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%,
      var(--bg-subtle) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  /* Sutil grid pattern de fundo (folha de ACM) */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black 0%, transparent 80%);
  opacity: 0.5;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px var(--space-4);
  margin-bottom: var(--space-6);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  animation: heroFadeUp 0.6s var(--ease-out) both;
}
.hero__eyebrow svg { width: 12px; height: 12px; color: var(--gold); }

.hero__title {
  max-width: 900px;
  margin: 0 auto var(--space-5);
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-tighter);
  line-height: 1.05;
  color: var(--text);
  animation: heroFadeUp 0.7s var(--ease-out) 0.05s both;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  max-width: 640px;
  margin: 0 auto var(--space-2);
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  animation: heroFadeUp 0.8s var(--ease-out) 0.1s both;
}

.hero__cta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  justify-content: center;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  align-items: center;
  justify-content: center;
  margin-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* CTA logo abaixo da galeria (substituiu posição original do hero) */
.hero-cta {
  position: relative;
  padding: var(--space-4) var(--space-6) var(--space-12);
  text-align: center;
  background: var(--bg);
}
@media (min-width: 720px) {
  .hero-cta { padding: var(--space-6) var(--space-8) var(--space-16); }
}
.hero-cta__inner {
  max-width: 900px;
  margin: 0 auto;
}
.hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.hero__meta-item svg { width: 14px; height: 14px; color: var(--success); }

.hero__visual {
  position: relative;
  max-width: 1100px;
  margin: var(--space-16) auto 0;
  border-radius: var(--radius-3xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-2xl);
  animation: heroFadeUp 1.1s var(--ease-out) 0.3s both;
}
.hero__visual img,
.hero__visual video {
  width: 100%;
  display: block;
}
.hero__visual-placeholder {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, var(--bg-subtle) 0%, var(--bg-muted) 100%);
  display: grid;
  place-items: center;
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────────────────────────────────
   CHANNELS — "Nossos canais" (redes sociais, abaixo do CTA do hero)
   Só renderiza se houver canal ativo (a seção fica [hidden] por padrão).
   ───────────────────────────────────────────────────────────────────── */
.channels {
  padding: var(--space-10) var(--space-5) var(--space-6);
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
@media (min-width: 720px) {
  .channels { padding: var(--space-14) var(--space-8) var(--space-10); }
}
.channels__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--text-subtle);
  margin-bottom: var(--space-2);
}
.channels__title {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-tight);
  color: var(--text);
  margin-bottom: var(--space-2);
}
.channels__subtitle {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}
.channels__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
@media (min-width: 640px) {
  .channels__grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-4); }
}
.channel-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.channel-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand, var(--border-strong));
}
.channel-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-muted);
  overflow: hidden;
}
.channel-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.channel-card__thumb--brand {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--brand) 18%, transparent) 0%, var(--bg-muted) 70%);
}
.channel-card__glyph {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--brand);
}
.channel-card__glyph svg { width: 30px; height: 30px; }
.channel-card__badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #fff;
  background: var(--brand);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
}
.channel-card__badge svg { width: 16px; height: 16px; }
.channel-card__foot {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
}
.channel-card__icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: var(--brand);
  flex-shrink: 0;
}
.channel-card__icon svg { width: 18px; height: 18px; }
.channel-card__name {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--text);
}
.channel-card__arrow {
  width: 16px;
  height: 16px;
  margin-left: auto;
  color: var(--text-subtle);
  transition: color var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.channel-card:hover .channel-card__arrow {
  color: var(--brand);
  transform: translate(2px, -2px);
}

/* ─────────────────────────────────────────────────────────────────────
   GALLERY — interactive selector (mídia editável pelo admin)
   Painéis horizontais (desktop/tablet) ou stack vertical (mobile).
   ───────────────────────────────────────────────────────────────────── */
.gallery {
  position: relative;
  padding: var(--space-4) var(--space-3) var(--space-6);
  max-width: 1280px;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .gallery { padding: var(--space-6) var(--space-6) var(--space-10); }
}
.gallery__head {
  text-align: center;
  margin-bottom: var(--space-5);
}
@media (min-width: 720px) {
  .gallery__head { margin-bottom: var(--space-8); }
}
.gallery__eyebrow {
  display: inline-block;
  margin-bottom: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--gold-dark, var(--gold));
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
}
.gallery__title {
  max-width: 720px;
  margin: 0 auto var(--space-2);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-tighter);
  line-height: 1.1;
  color: var(--text);
}
.gallery__subtitle {
  max-width: 620px;
  margin: 0 auto;
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}
@media (min-width: 720px) {
  .gallery__subtitle { font-size: var(--text-lg); }
}

.gallery__options {
  display: flex;
  width: 100%;
  height: clamp(320px, 42vw, 480px);
  align-items: stretch;
  gap: 6px;
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--bg-subtle);
  padding: 6px;
  border: 1px solid var(--border);
}

.gallery__option {
  position: relative;
  flex: 1 1 0%;
  min-width: 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: var(--radius-xl);
  background: var(--neutral-900);
  cursor: pointer;
  padding: 0;
  outline: none;
  opacity: 0;
  transform: translateX(-40px);
  transition:
    flex-grow var(--duration-slow) var(--ease),
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    opacity 0.6s var(--ease-out) var(--stagger-delay, 0ms),
    transform 0.6s var(--ease-out) var(--stagger-delay, 0ms);
  will-change: flex-grow, opacity, transform;
}
.gallery__option.is-in {
  opacity: 1;
  transform: translateX(0);
}
.gallery__option.is-active {
  flex: 7 1 0%;
  border-color: var(--gold);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.25),
    0 24px 64px rgba(0, 0, 0, 0.28);
  z-index: 2;
}
.gallery__option:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.gallery__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}
.gallery__option:not(.is-active) .gallery__media {
  transform: scale(1.18);
}
.gallery__media--empty {
  background:
    linear-gradient(135deg, var(--neutral-800) 0%, var(--neutral-900) 100%);
  background-size: 100% 100%;
}
.gallery__media--empty::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
}

.gallery__shadow {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 50%;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.78) 0%,
    rgba(0,0,0,0.45) 40%,
    rgba(0,0,0,0)    100%
  );
  opacity: 0.85;
  transition: opacity var(--duration) var(--ease);
}
.gallery__option:not(.is-active) .gallery__shadow {
  opacity: 0.55;
}

.gallery__mute {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: rgba(23, 23, 23, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
  color: #fff;
  cursor: pointer;
  padding: 0;
  opacity: 0;
  transform: scale(0.8) translateY(-4px);
  pointer-events: none;
  transition:
    opacity var(--duration) var(--ease),
    transform var(--duration) var(--ease),
    background var(--duration-fast) var(--ease);
  z-index: 4;
}
.gallery__mute:hover {
  background: rgba(23, 23, 23, 0.92);
  border-color: rgba(255, 255, 255, 0.22);
}
.gallery__mute svg { display: none; }
.gallery__mute.is-muted    .gallery__mute-on  { display: block; }
.gallery__mute:not(.is-muted) .gallery__mute-off { display: block; color: var(--gold); }
.gallery__option.is-active .gallery__mute {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}
.gallery__mute:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Barra de progresso + velocidade (só no vídeo ativo) */
.gallery__controls {
  position: relative;
  z-index: 3;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 0 18px 8px;
}
.gallery__option.is-active .gallery__controls {
  display: flex;
  animation: galleryCtrlIn var(--duration) var(--ease-out);
}
@keyframes galleryCtrlIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.gallery__seek {
  position: relative;
  flex: 1 1 auto;
  height: 16px;
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none;
}
.gallery__seek-track {
  position: relative;
  width: 100%;
  height: 4px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.28);
}
.gallery__seek-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  border-radius: var(--radius-full);
  background: var(--gold);
}
.gallery__seek-knob {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: #fff;
  border: 2px solid var(--gold);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease);
}
.gallery__seek:hover .gallery__seek-knob {
  opacity: 1;
}
.gallery__seek:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: var(--radius-full);
}

.gallery__time {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.gallery__speed {
  flex: 0 0 auto;
  min-width: 42px;
  height: 26px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  background: rgba(23, 23, 23, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease);
}
.gallery__speed:hover {
  background: rgba(23, 23, 23, 0.92);
  border-color: rgba(255, 255, 255, 0.22);
}
.gallery__speed:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.gallery__fs {
  flex: 0 0 auto;
  width: 30px;
  height: 26px;
  display: grid;
  place-items: center;
  padding: 0;
  background: rgba(23, 23, 23, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
  color: #fff;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease);
}
.gallery__fs:hover {
  background: rgba(23, 23, 23, 0.92);
  border-color: rgba(255, 255, 255, 0.22);
}
.gallery__fs:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Em tela cheia o vídeo mostra a proporção original (sem o crop da galeria) */
.gallery__media--video:fullscreen,
.gallery__media--video:-webkit-full-screen {
  object-fit: contain;
  width: 100%;
  height: 100%;
  background: #000;
}

/* Telas de toque (celular/tablet): sem :hover, então o knob precisa ficar
   sempre visível e os alvos de toque maiores pro dedo. */
@media (hover: none), (pointer: coarse) {
  .gallery__seek { height: 24px; }
  .gallery__seek-track { height: 5px; }
  .gallery__seek-knob {
    opacity: 1;
    width: 15px;
    height: 15px;
  }
  .gallery__speed { height: 30px; min-width: 46px; font-size: 12px; }
  .gallery__fs    { height: 30px; width: 36px; }
  .gallery__fs svg { width: 16px; height: 16px; }
}

.gallery__label {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 18px 20px;
  text-align: left;
}
.gallery__icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(23, 23, 23, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  color: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}
.gallery__option.is-active .gallery__icon {
  border-color: rgba(212, 175, 55, 0.55);
}

.gallery__info {
  min-width: 0;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
}
.gallery__info-title,
.gallery__info-desc {
  opacity: 0;
  transform: translateX(20px);
  transition:
    opacity var(--duration-slow) var(--ease),
    transform var(--duration-slow) var(--ease);
}
.gallery__option.is-active .gallery__info-title,
.gallery__option.is-active .gallery__info-desc {
  opacity: 1;
  transform: translateX(0);
}
.gallery__info-title {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 2px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  text-overflow: ellipsis;
  overflow: hidden;
}
.gallery__info-desc {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.85);
  text-overflow: ellipsis;
  overflow: hidden;
}

.gallery__skeleton {
  flex: 1 1 0%;
  background:
    linear-gradient(90deg, var(--bg-muted) 0%, var(--bg-subtle) 50%, var(--bg-muted) 100%);
  background-size: 200% 100%;
  border-radius: var(--radius-xl);
  animation: gallerySkeleton 1.4s ease-in-out infinite;
}
@keyframes gallerySkeleton {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.gallery__empty {
  flex: 1;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Mobile (≤640px): stack vertical com painel ativo expandindo */
@media (max-width: 640px) {
  .gallery__options {
    flex-direction: column;
    height: auto;
    gap: 6px;
    padding: 6px;
  }
  .gallery__option {
    flex: 0 0 64px;
    min-width: 0;
    width: 100%;
    min-height: 64px;
  }
  .gallery__option.is-active {
    flex: 1 1 auto;
    min-height: clamp(280px, 50vh, 420px);
  }
  /* Painel inativo: fundo claro, ícone+título à esquerda, sem mídia */
  .gallery__option:not(.is-active) {
    background: var(--bg-muted);
    border-color: var(--border);
    transform: translateX(0);
    justify-content: center;
  }
  .gallery__option:not(.is-active) .gallery__media,
  .gallery__option:not(.is-active) .gallery__shadow {
    display: none;
  }
  .gallery__option:not(.is-active) .gallery__label {
    position: static;
    padding: 12px 14px;
    height: 100%;
    align-items: center;
  }
  .gallery__option:not(.is-active) .gallery__icon {
    width: 36px;
    height: 36px;
    background: var(--bg);
    border-color: var(--border);
    color: var(--text);
  }
  .gallery__option:not(.is-active) .gallery__info { color: var(--text); }
  .gallery__option:not(.is-active) .gallery__info-title {
    opacity: 1;
    transform: translateX(0);
    color: var(--text);
    text-shadow: none;
    font-size: var(--text-base);
    margin: 0;
  }
  .gallery__option:not(.is-active) .gallery__info-desc { display: none; }

  /* Painel ativo: igual desktop, mídia full + label embaixo */
  .gallery__option.is-active .gallery__label { padding: 14px 16px 16px; }
  .gallery__option.is-active .gallery__icon  { width: 40px; height: 40px; }

  /* Anima a entrada de cima pra baixo em vez de translateX */
  .gallery__option { transform: translateY(-20px); }
  .gallery__option.is-in { transform: translateY(0); }

  .gallery__mute { top: 10px; right: 10px; width: 34px; height: 34px; }
  .gallery__controls { padding: 0 14px 6px; gap: 8px; }
}

/* Tablet (641-1023px): horizontal mas painel ativo um pouco menor */
@media (min-width: 641px) and (max-width: 1023px) {
  .gallery__options { height: clamp(300px, 50vw, 420px); }
  .gallery__option.is-active { flex: 5 1 0%; }
  .gallery__option { min-width: 50px; }
}

/* Dark mode adjustments */
[data-theme="dark"] .gallery__options {
  background: var(--bg-muted);
  border-color: var(--border-strong);
}
[data-theme="dark"] .gallery__media--empty {
  background:
    linear-gradient(135deg, var(--neutral-700) 0%, var(--neutral-900) 100%);
}

/* ─────────────────────────────────────────────────────────────────────
   SECTION (genérica)
   ───────────────────────────────────────────────────────────────────── */
.section {
  padding: var(--space-24) var(--space-8);
  max-width: 1200px;
  margin: 0 auto;
}
.section--narrow { max-width: 880px; }
.section--wide   { max-width: 1320px; }

/* ─────────────────────────────────────────────────────────────────────
   SUPPORT / Fale conosco
   ───────────────────────────────────────────────────────────────────── */
.support__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-10);
  align-items: start;
}
.support__form { display: flex; flex-direction: column; gap: var(--space-4); }
.support__textarea {
  resize: vertical;
  min-height: 112px;
  font-family: inherit;
  line-height: 1.5;
}
.support__aside {
  padding: var(--space-8);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}
.support__aside-title {
  font-size: var(--text-xl);
  font-weight: var(--fw-semibold);
  margin: 0 0 var(--space-2);
}
.support__aside-desc {
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 var(--space-5);
}
.support__email {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-decoration: none;
}
.support__email:hover { color: var(--text); }

@media (max-width: 720px) {
  .support__grid { grid-template-columns: 1fr; gap: var(--space-6); }
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-16);
}
.section__eyebrow {
  display: inline-block;
  margin-bottom: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
}
.section__title {
  max-width: 720px;
  margin: 0 auto var(--space-4);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-tighter);
  line-height: 1.1;
  color: var(--text);
}
.section__subtitle {
  max-width: 600px;
  margin: 0 auto;
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* ─────────────────────────────────────────────────────────────────────
   FEATURES GRID
   ───────────────────────────────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}
.feature {
  padding: var(--space-8);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  transition: all var(--duration) var(--ease);
}
.feature:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.feature__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-5);
  background: var(--bg-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  color: var(--text);
}
.feature__icon svg { width: 22px; height: 22px; }
.feature__title {
  font-size: var(--text-xl);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-3);
}
.feature__desc {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
}

/* ─────────────────────────────────────────────────────────────────────
   PRICING
   ───────────────────────────────────────────────────────────────────── */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0 auto var(--space-12);
  padding: 4px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
}
.pricing-toggle__btn {
  padding: 8px var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) var(--ease);
}
.pricing-toggle__btn.is-active {
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.pricing-toggle__save {
  display: inline-block;
  margin-left: var(--space-2);
  padding: 1px 6px;
  font-size: 9px;
  background: var(--gold-bg);
  color: var(--gold-dark);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
}

.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  max-width: 1080px;
  margin: 0 auto;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-10) var(--space-8);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-3xl);
  transition: all var(--duration) var(--ease);
}
.plan:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.plan--featured {
  border-color: var(--gold);
  border-width: 2px;
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}
.plan--featured:hover {
  transform: translateY(-6px);
}
.plan__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px var(--space-4);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #1a1300;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}
.plan__name {
  font-size: var(--text-sm);
  font-family: var(--font-mono);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}
.plan__price-currency {
  font-size: var(--text-2xl);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
}
.plan__price-value {
  font-size: var(--text-5xl);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-tighter);
  color: var(--text);
  line-height: 1;
}
.plan__price-period {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.plan__desc {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-8);
  line-height: var(--leading-relaxed);
}
.plan__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  flex: 1;
}
.plan__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text);
  line-height: var(--leading-normal);
}
.plan__feature svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}
.plan--featured .plan__feature svg { color: var(--gold); }

/* ─────────────────────────────────────────────────────────────────────
   FAQ
   ───────────────────────────────────────────────────────────────────── */
.faq {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg);
  transition: border-color var(--duration-fast) var(--ease);
}
.faq-item[open] {
  border-color: var(--border-strong);
}
.faq-item summary {
  list-style: none;
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: var(--text-2xl);
  font-weight: var(--fw-regular);
  color: var(--text-subtle);
  transition: transform var(--duration) var(--ease);
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item__body {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

/* ─────────────────────────────────────────────────────────────────────
   CTA FINAL
   ───────────────────────────────────────────────────────────────────── */
.cta-final {
  margin: var(--space-16) auto;
  max-width: 1100px;
  padding: var(--space-20) var(--space-12);
  text-align: center;
  background:
    radial-gradient(circle at 50% 100%, var(--bg-subtle) 0%, var(--bg) 70%),
    var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-3xl);
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 100%,
    rgba(212, 175, 55, 0.10) 0%, transparent 70%);
  pointer-events: none;
}
.cta-final__inner {
  position: relative;
}
.cta-final__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-tighter);
  margin-bottom: var(--space-4);
}
.cta-final__subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ─────────────────────────────────────────────────────────────────────
   PAINEL (área logada do cliente)
   ───────────────────────────────────────────────────────────────────── */
.panel {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--space-12) var(--space-8);
}
.panel__header {
  margin-bottom: var(--space-10);
}
.panel__greeting {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}
.panel__title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-tighter);
  line-height: 1.1;
}
.panel__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
}

.p-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--space-7);
  display: flex;
  flex-direction: column;
  transition: border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}
.p-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.p-card--featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, var(--gold-bg) 0%, var(--bg) 40%);
  box-shadow: var(--shadow-gold);
}
.p-card--featured:hover {
  border-color: var(--gold-dark);
}

.p-card__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
}
.p-card__value {
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-tighter);
  margin-bottom: var(--space-2);
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  line-height: 1.15;
}
.p-card__sub {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-5);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.p-card__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-5);
  flex: 1;
}

/* Responsive */
@media (max-width: 880px) {
  .panel { padding: var(--space-10) var(--space-6); }
}
@media (max-width: 640px) {
  .panel {
    padding: var(--space-6) var(--space-4);
  }
  .panel__header { margin-bottom: var(--space-5); }
  .panel__title { font-size: clamp(1.5rem, 7vw, 2rem); }
  .panel__grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  /* Cards mais compactos no celular (sensação de "zoom" vinha do tamanho) */
  .p-card { padding: var(--space-5); border-radius: var(--radius-xl); }
  .p-card__label { margin-bottom: var(--space-2); }
  .p-card__value { font-size: var(--text-xl); margin-bottom: var(--space-1); }
  .p-card__sub  { margin-bottom: var(--space-4); }
  .p-card__desc { font-size: var(--text-sm); margin-bottom: var(--space-4); }
  .p-card .btn { padding-top: 11px; padding-bottom: 11px; }
}
@media (max-width: 420px) {
  .panel { padding: var(--space-5) var(--space-3); }
  .p-card { padding: var(--space-4); }
  .panel__title { font-size: clamp(1.375rem, 8vw, 1.75rem); }
}

/* ─────────────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────────────── */
.site-footer {
  padding: var(--space-16) var(--space-8) var(--space-10);
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
  margin-top: var(--space-16);
}
.site-footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
}
.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.site-footer__brand-mark {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.site-footer__brand-mark svg { width: 32px; height: 32px; color: var(--text); }
.site-footer__brand-name {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-tight);
}
.site-footer__brand-desc {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  max-width: 280px;
  line-height: var(--leading-relaxed);
}
.site-footer__col h4 {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  font-weight: var(--fw-semibold);
}
.site-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.site-footer__col a {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: color var(--duration-fast) var(--ease);
}
.site-footer__col a:hover { color: var(--text); }

.site-footer__bottom {
  max-width: 1200px;
  margin: var(--space-12) auto 0;
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.site-footer__legal a {
  margin-left: var(--space-4);
}

/* ─────────────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────────────── */

/* Tablet landscape (~1024px) */
@media (max-width: 1024px) {
  .section { padding: var(--space-20) var(--space-6); }
  .hero    { padding: var(--space-20) var(--space-6) var(--space-16); }
}

/* Tablet portrait (~880px) */
@media (max-width: 880px) {
  .hero__title    { font-size: clamp(2rem, 7vw, 3.5rem); }
  .hero__subtitle { font-size: var(--text-base); }
  .hero__visual   { margin-top: var(--space-12); }

  .section__title { font-size: clamp(1.75rem, 5vw, 2.5rem); }
  .section__header { margin-bottom: var(--space-12); }

  /* Pricing em tablet: 1 coluna, cards consecutivos */
  .pricing {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .plan--featured {
    transform: none;
    order: -1; /* featured vai pro topo em mobile/tablet */
  }
  .plan--featured:hover { transform: translateY(-2px); }

  /* Features em 2 colunas */
  .features { grid-template-columns: repeat(2, 1fr); }

  /* CTA final com padding reduzido */
  .cta-final {
    padding: var(--space-16) var(--space-8);
    margin: var(--space-12) auto;
  }
}

/* Phone (~640px) */
@media (max-width: 640px) {
  .hero {
    padding: var(--space-12) var(--space-4) var(--space-10);
  }
  .hero__eyebrow {
    font-size: 10px;
    padding: 5px var(--space-3);
  }
  .hero__title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    margin-bottom: var(--space-4);
  }
  .hero__subtitle {
    font-size: var(--text-sm);
    margin-bottom: var(--space-8);
  }
  .hero__cta {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  .hero__cta .btn { width: 100%; }
  .hero__meta {
    flex-direction: column;
    gap: var(--space-2);
    font-size: 11px;
  }
  .hero__visual {
    margin-top: var(--space-10);
    border-radius: var(--radius-2xl);
  }

  .section { padding: var(--space-12) var(--space-4); }
  .section__header { margin-bottom: var(--space-10); }
  .section__title { font-size: clamp(1.5rem, 7vw, 2rem); }
  .section__subtitle { font-size: var(--text-sm); }
  .section__eyebrow { font-size: 10px; }

  /* Features 1 col */
  .features {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .feature {
    padding: var(--space-6);
  }
  .feature__title { font-size: var(--text-lg); }

  /* Pricing */
  .pricing { gap: var(--space-4); }
  .plan { padding: var(--space-8) var(--space-6); }
  .plan__price-value { font-size: var(--text-4xl); }
  .plan__desc { margin-bottom: var(--space-6); }
  .plan__features { margin-bottom: var(--space-6); }
  .pricing-toggle {
    margin: 0 auto var(--space-8);
  }
  .pricing-toggle__btn {
    padding: 6px var(--space-4);
    font-size: 10px;
  }

  /* FAQ */
  .faq-item summary {
    padding: var(--space-4) var(--space-5);
    font-size: var(--text-sm);
  }
  .faq-item summary::after { font-size: var(--text-xl); }
  .faq-item__body {
    padding: 0 var(--space-5) var(--space-4);
    font-size: var(--text-xs);
  }

  /* CTA final */
  .cta-final {
    padding: var(--space-12) var(--space-5);
    margin: var(--space-10) var(--space-3);
    border-radius: var(--radius-2xl);
  }
  .cta-final__title { font-size: clamp(1.5rem, 7vw, 2rem); }
  .cta-final__subtitle { font-size: var(--text-sm); margin-bottom: var(--space-6); }
  .cta-final .btn { width: 100%; max-width: 320px; }

  /* Footer */
  .site-footer {
    padding: var(--space-10) var(--space-4) var(--space-6);
    margin-top: var(--space-12);
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .site-footer__bottom {
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
    font-size: 10px;
    margin-top: var(--space-8);
    padding-top: var(--space-4);
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   REFERRAL CARD (painel) + ref badge (cadastro) + ref tree modal
   ══════════════════════════════════════════════════════════════════════════ */
.p-card--referral .p-card__value {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: 0.05em;
  color: #d4af37;
}
.ref-link-box {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
  align-items: stretch;
}
.ref-link-box input {
  flex: 1;
  min-width: 0;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  color: var(--text);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ref-link-box button {
  flex-shrink: 0;
}
.auth__ref-badge {
  display: inline-block;
  margin-top: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 999px;
  color: #d4af37;
  font-size: 12px;
}
.auth__ref-badge strong { letter-spacing: 0.05em; }

.ref-tree__loading { text-align: center; padding: var(--space-6); color: var(--text-muted); }
.ref-tree__level {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
}
.ref-tree__level:last-child { border-bottom: 0; }
.ref-tree__level-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}
.ref-tree__item {
  padding: var(--space-2) var(--space-3);
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-2);
}
.ref-tree__name { font-weight: 600; font-size: 13px; }
.ref-tree__email { font-size: 11px; color: var(--text-muted); }
.ref-tree__empty { color: var(--text-muted); font-size: 12px; font-style: italic; padding: 4px 0; }

/* ══════════════════════════════════════════════════════════════════════════
   LEGAL PAGES (termos / privacidade / reembolso)
   ══════════════════════════════════════════════════════════════════════════ */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-5);
}
.legal__header {
  margin-bottom: var(--space-6);
  text-align: center;
}
.legal__eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #d4af37;
  text-transform: uppercase;
}
.legal__title {
  font-size: 36px;
  font-weight: 800;
  margin: var(--space-1) 0 var(--space-2);
  line-height: 1.15;
}
.legal__updated {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}
.legal__tabs {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-1);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
  overflow-x: auto;
}
.legal__tab {
  flex: 1;
  min-width: fit-content;
  padding: 12px 20px;
  text-align: center;
  border-radius: calc(var(--radius-lg) - 4px);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 120ms, color 120ms;
}
.legal__tab:hover { color: var(--text); }
.legal__tab.is-active {
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.legal__content {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 16px);
  padding: var(--space-8) var(--space-6);
  line-height: 1.7;
  color: var(--text);
}
.legal__content h2 {
  font-size: 22px;
  font-weight: 800;
  margin: var(--space-6) 0 var(--space-3);
  color: var(--text);
  border-bottom: 2px solid rgba(212,175,55,0.3);
  padding-bottom: var(--space-2);
}
.legal__content h2:first-child { margin-top: 0; }
.legal__content h3 {
  font-size: 16px;
  font-weight: 700;
  margin: var(--space-5) 0 var(--space-2);
  color: var(--text);
}
.legal__content p {
  margin: 0 0 var(--space-3);
  font-size: 14px;
  color: var(--text);
}
.legal__content ul, .legal__content ol {
  margin: 0 0 var(--space-4);
  padding-left: var(--space-5);
}
.legal__content li {
  margin-bottom: var(--space-2);
  font-size: 14px;
}
.legal__content strong { color: var(--text); font-weight: 700; }
.legal__content code {
  background: rgba(212,175,55,0.12);
  color: #d4af37;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12px;
}
.legal__content a {
  color: #d4af37;
  text-decoration: underline;
}
.legal__footer {
  margin: var(--space-6) 0;
  padding: var(--space-4);
  background: var(--bg-elevated);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
.legal__footer a { color: #d4af37; }

@media (max-width: 640px) {
  .legal { padding: var(--space-6) var(--space-4); }
  .legal__title { font-size: 26px; }
  .legal__content { padding: var(--space-5) var(--space-4); }
  .legal__content h2 { font-size: 18px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   PERFIL PAGE
   ══════════════════════════════════════════════════════════════════════════ */
.perfil {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-6);
}
.perfil__header {
  margin-bottom: var(--space-6);
}
.perfil__eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #d4af37;
  text-transform: uppercase;
}
.perfil__title {
  font-size: 32px;
  font-weight: 800;
  margin: var(--space-1) 0 var(--space-2);
}
.perfil__subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}
.perfil__layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--space-6);
  align-items: start;
}
@media (max-width: 880px) {
  .perfil__layout { grid-template-columns: 1fr; }
  /* No mobile o layout vira 1 coluna; sem isso o avatar-card fica sticky e
     sobrepõe o formulário ao rolar. */
  .perfil__avatar-card { position: static; top: auto; }
}
.perfil__card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 16px);
  padding: var(--space-6);
}

/* Avatar card — sticky SÓ no desktop. No mobile (1 coluna) ficaria grudado
   sobrepondo o formulário ao rolar. */
.perfil__avatar-card {
  text-align: center;
}
@media (min-width: 881px) {
  .perfil__avatar-card { position: sticky; top: 96px; }
}
.perfil__avatar-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-4);
  position: relative;
}
.perfil__avatar-uploading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border-radius: 50%;
  margin: auto;
  width: 140px;
  height: 140px;
  font-size: 12px;
  font-weight: 600;
}
.perfil__avatar-uploading .spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(212,175,55,0.3);
  border-top-color: #d4af37;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.perfil__avatar-actions {
  margin-top: var(--space-2);
}
.perfil__avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212,175,55,0.2) 0%, rgba(212,175,55,0.05) 100%);
  border: 3px solid rgba(212,175,55,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  overflow: hidden;
}
.perfil__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.perfil__avatar-initial {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: #d4af37;
}
.perfil__avatar-info {
  margin-bottom: var(--space-4);
}
.perfil__avatar-name {
  font-size: 18px;
  font-weight: 700;
}
.perfil__avatar-email {
  font-size: 12px;
  color: var(--text-muted);
  word-break: break-all;
}

/* Form */
.perfil__form { display: flex; flex-direction: column; gap: var(--space-6); }
.perfil__section { display: flex; flex-direction: column; gap: var(--space-3); }
.perfil__section-title {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border);
}
.perfil__section-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}
.perfil__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
@media (max-width: 640px) {
  .perfil__grid { grid-template-columns: 1fr; }
}
.perfil__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.perfil__field--full { grid-column: 1 / -1; }
.perfil__field label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.perfil__field input,
.perfil__field select,
.perfil__field textarea {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
}
.perfil__field input:focus,
.perfil__field select:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
}
.perfil__help {
  font-size: 11px;
  color: var(--text-muted);
  margin: 4px 0 0;
}
.perfil__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.perfil__saved {
  padding: 10px 16px;
  background: rgba(34,197,94,0.15);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 13px;
  text-align: center;
}

/* Withdraw prefill notice */
.withdraw-form__prefill {
  padding: 10px 14px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--radius-md);
  font-size: 12px;
  color: #22c55e;
  margin-bottom: var(--space-3);
}
.withdraw-form__prefill--warn {
  background: rgba(220,38,38,0.08);
  border-color: rgba(220,38,38,0.3);
  color: #dc2626;
}
.withdraw-form__prefill a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

/* ══════════════════════════════════════════════════════════════════════════
   MONEY INPUT (accumulator R$)
   ══════════════════════════════════════════════════════════════════════════ */
.money-input {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 20px;
  font-weight: 800;
  text-align: right;
  letter-spacing: 0.02em;
  color: #d4af37;
  padding: 12px 16px !important;
  background: linear-gradient(135deg, rgba(212,175,55,0.05) 0%, var(--bg) 100%) !important;
  border: 2px solid rgba(212,175,55,0.3) !important;
}
.money-input:focus {
  outline: none;
  border-color: #d4af37 !important;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}

/* ══════════════════════════════════════════════════════════════════════════
   WITHDRAW MODAL + HISTORY (painel)
   ══════════════════════════════════════════════════════════════════════════ */
.withdraw-form__balance {
  background: linear-gradient(135deg, rgba(212,175,55,0.1) 0%, rgba(212,175,55,0.03) 100%);
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
  text-align: center;
}
.withdraw-form__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.withdraw-form__value {
  font-size: 28px;
  font-weight: 800;
  color: #d4af37;
  margin-top: var(--space-1);
}

.withdraw-hist__list { display: grid; gap: var(--space-2); }
.withdraw-hist__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2) var(--space-3);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.withdraw-hist__amt {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.withdraw-hist__meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.withdraw-hist__status {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.withdraw-hist__status--pending {
  background: rgba(212,175,55,0.15);
  color: #d4af37;
}
.withdraw-hist__status--paid {
  background: rgba(34,197,94,0.15);
  color: #22c55e;
}
.withdraw-hist__status--rejected {
  background: rgba(220,38,38,0.12);
  color: #dc2626;
}

/* ══════════════════════════════════════════════════════════════════════════
   PAINEL — MLM User Dashboard (section completa abaixo do grid)
   ══════════════════════════════════════════════════════════════════════════ */
/* ──────────── MACHINES SECTION (painel) ──────────── */
.machines-section {
  margin-top: var(--space-8);
  padding: var(--space-6);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 16px);
}
.machines-section__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}
.machines-section__eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  text-transform: uppercase;
}
.machines-section__title {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-tight);
  color: var(--text);
  margin: 4px 0 6px;
}
.machines-section__subtitle {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0;
}

.machines-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.machines-empty {
  padding: var(--space-8);
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-muted);
  background: var(--bg-subtle);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}

.machine-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--duration-fast) var(--ease);
}
.machine-row:hover { border-color: var(--border-strong); }
.machine-row__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  flex-shrink: 0;
}
.machine-row__info { flex: 1; min-width: 0; }
.machine-row__name {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--text);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.machine-row__meta {
  display: flex;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  flex-wrap: wrap;
}
.machine-row__remove {
  flex-shrink: 0;
  color: var(--danger);
}
.machine-row__remove:hover {
  background: var(--danger-bg);
  color: var(--danger);
}

@media (max-width: 640px) {
  .machine-row { flex-wrap: wrap; }
  .machine-row__remove { width: 100%; }
}

.mlm-user {
  margin-top: var(--space-8);
  padding: var(--space-6);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.04) 0%, transparent 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 16px);
}
.mlm-user__header { margin-bottom: var(--space-5); }
.mlm-user__eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #d4af37;
}
.mlm-user__title {
  font-size: 24px;
  font-weight: 800;
  margin: var(--space-1) 0 var(--space-2);
}
.mlm-user__subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}
.mlm-user__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.mlm-user__stat {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}
.mlm-user__stat-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.mlm-user__stat-value {
  font-size: 28px;
  font-weight: 800;
  margin: var(--space-1) 0;
}
.mlm-user__stat-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.mlm-user__link-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-5);
}
.mlm-user__link-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}
.mlm-user__code-hint {
  margin-top: var(--space-2);
  font-size: 12px;
  color: var(--text-muted);
}
.mlm-user__code-hint strong {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: 0.05em;
  color: #d4af37;
}

.mlm-user__levels {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.mlm-user__levels-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-1);
}
.mlm-user__level {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
}
.mlm-user__level-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px dashed var(--border);
  margin-bottom: var(--space-2);
}
.mlm-user__level-num {
  display: inline-block;
  min-width: 32px;
  padding: 4px 10px;
  background: rgba(212, 175, 55, 0.15);
  color: #d4af37;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}
.mlm-user__level-name {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
}
.mlm-user__level-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}
.mlm-user__level-list {
  display: grid;
  gap: var(--space-2);
}
.mlm-user__level-empty {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  padding: var(--space-1) 0;
}
.mlm-user__person {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--bg);
  border-radius: var(--radius-md);
  font-size: 12px;
  align-items: center;
}
.mlm-user__person-name { font-weight: 600; }
.mlm-user__person-email { color: var(--text-muted); font-size: 11px; }

.mlm-user__actions {
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  text-align: center;
}
.mlm-user__disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  margin: 0;
}

.mlm-user__history {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}
.mlm-user__history-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}
.mlm-user__history-empty {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  padding: var(--space-3) 0;
  text-align: center;
}

@media (max-width: 640px) {
  .mlm-user { padding: var(--space-4); margin-top: var(--space-6); }
  .mlm-user__title { font-size: 20px; }
  .mlm-user__stat-value { font-size: 22px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   REGION SELECTOR (landing pricing)
   ══════════════════════════════════════════════════════════════════════════ */
.region-selector-wrap {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.region-selector__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
}
.region-selector {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* ══════════════════════════════════════════════════════════════════════════
   FOREIGN COMMISSION HIGHLIGHT (painel history)
   ══════════════════════════════════════════════════════════════════════════ */
.mlm-hist__list { display: grid; gap: var(--space-2); }
.mlm-hist__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2) var(--space-3);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 12px;
}
.mlm-hist__row.is-foreign {
  background: linear-gradient(135deg, rgba(212,175,55,0.08) 0%, rgba(212,175,55,0.03) 100%);
  border-color: rgba(212,175,55,0.35);
  box-shadow: 0 0 0 1px rgba(212,175,55,0.15) inset;
}
.mlm-hist__meta { display: flex; align-items: center; gap: 10px; }
.mlm-hist__level {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(212,175,55,0.15);
  color: #d4af37;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}
.mlm-hist__flag {
  padding: 2px 8px;
  background: rgba(34,197,94,0.15);
  color: #22c55e;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}
.mlm-hist__date { color: var(--text-muted); font-size: 11px; }
.mlm-hist__amt { font-weight: 700; color: #22c55e; text-align: right; }
.mlm-hist__orig {
  display: block;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 10px;
}

/* ══════════════════════════════════════════════════════════════════════════
   ADMIN CONFIG PANEL (tabs + editors)
   ══════════════════════════════════════════════════════════════════════════ */
.admin__tabs {
  display: flex;
  gap: var(--space-2);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-6);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;            /* Firefox: barra some, swipe funciona */
  scroll-snap-type: x proximity;
}
.admin__tabs::-webkit-scrollbar { display: none; }  /* Chrome/Safari */
.admin__tab { scroll-snap-align: start; }

/* Mobile: abas QUEBRAM em várias linhas (sem scroll horizontal) pra que TODAS
   — inclusive Sistema/Downloads/Notificações — fiquem visíveis e acessíveis. */
@media (max-width: 640px) {
  .admin__tabs {
    flex-wrap: wrap;
    overflow-x: visible;
    gap: var(--space-1);
    row-gap: 0;
  }
  .admin__tab {
    padding: var(--space-2) var(--space-3);
    font-size: 13px;
  }
}
.admin__tab {
  padding: var(--space-3) var(--space-4);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.admin__tab.is-active {
  color: var(--text);
  border-bottom-color: #d4af37;
}
.admin-config {
  display: grid;
  gap: var(--space-6);
  max-width: 900px;
}
.admin-config__section {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.admin-config__title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 var(--space-1);
}
.admin-config__desc {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 var(--space-4);
}
.admin-config__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-3);
}
.admin-config__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.admin-config__field label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.admin-config__field input,
.admin-config__field select,
.admin-config__field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
}
.admin-config__field textarea {
  font-family: inherit;
  line-height: 1.5;
  resize: vertical;
}
.admin-config__sub {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px dashed var(--border);
}
.admin-config__sub-title {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 var(--space-2);
  color: var(--text-muted);
}
.admin-config__save {
  margin-top: var(--space-4);
}

/* ── Module toggle grid (em cada plano) ───────────────────────────────── */
.admin-config__modules {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px dashed var(--border);
}
.admin-config__modules-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}
.admin-config__module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-2);
}
.admin-config__module-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 120ms;
  position: relative;
}
.admin-config__module-toggle:hover {
  border-color: rgba(212,175,55,0.4);
}
.admin-config__module-toggle.is-on {
  background: rgba(212,175,55,0.12);
  border-color: rgba(212,175,55,0.5);
  color: #d4af37;
}
.admin-config__module-toggle input[type="checkbox"] {
  accent-color: #d4af37;
  cursor: pointer;
  margin: 0;
  flex-shrink: 0;
}
.admin-config__module-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-config__module-soon {
  font-size: 9px;
  padding: 2px 6px;
  background: var(--bg-elevated);
  color: var(--text-muted);
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
}
.admin-config__module-toggle.is-soon {
  opacity: 0.7;
}

/* ── Custom plans ─────────────────────────────────────────────────────── */
.admin-config__empty {
  padding: var(--space-6);
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  font-style: italic;
  background: var(--bg-elevated);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}
.admin-config__custom-plan {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-3);
  position: relative;
}
.admin-config__custom-plan-header {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  align-items: center;
}
.admin-config__custom-plan-name {
  flex: 1;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--text);
}
.admin-config__custom-plan-name:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}
.admin-config__custom-plan-remove {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(220,38,38,0.08);
  color: #dc2626;
  border: 1px solid rgba(220,38,38,0.3);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 120ms;
}
.admin-config__custom-plan-remove:hover {
  background: rgba(220,38,38,0.15);
  border-color: rgba(220,38,38,0.5);
}
.admin-config__custom-plan-remove svg {
  width: 18px;
  height: 18px;
}

/* ── Edit modal: plan section + module list ──────────────────────────── */
.admin-edit__section {
  margin: var(--space-4) 0;
  padding: var(--space-4);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.admin-edit__section-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #d4af37;
  margin-bottom: var(--space-2);
}
.admin-edit__modules-list {
  display: grid;
  gap: 6px;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
}
.admin-edit__module-row {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: var(--space-2);
  align-items: center;
  padding: 8px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 120ms;
}
.admin-edit__module-row.is-on {
  background: rgba(212,175,55,0.08);
  border-color: rgba(212,175,55,0.4);
}
.admin-edit__module-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.admin-edit__module-label input {
  accent-color: #d4af37;
  cursor: pointer;
}
.admin-edit__module-row input[type="date"] {
  padding: 6px 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 12px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
}
@media (max-width: 640px) {
  .admin-edit__module-row {
    grid-template-columns: 1fr;
  }
}
.admin-config__tier-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  border-top: 1px dashed var(--border);
}
.admin-config__tier-row:first-of-type { border-top: 0; }
.admin-config__tier-label {
  min-width: 140px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}
.admin-config__tier-label small {
  display: block;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 10px;
}
.admin-config__tier-fields {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}
@media (max-width: 640px) {
  .admin-config__tier-row { flex-direction: column; align-items: stretch; }
  .admin-config__tier-label { min-width: 0; }
}

/* Mobile small (~420px) — smartphones pequenos */
@media (max-width: 420px) {
  .hero { padding: var(--space-10) var(--space-3) var(--space-8); }
  .hero__visual { margin-top: var(--space-8); }
  .section { padding: var(--space-10) var(--space-3); }
  .feature { padding: var(--space-5); }
  .plan { padding: var(--space-6) var(--space-5); }
  .cta-final {
    padding: var(--space-10) var(--space-4);
    margin: var(--space-8) var(--space-2);
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   CHECKOUT PAGE (/checkout)
   ══════════════════════════════════════════════════════════════════════════ */
.checkout {
  min-height: calc(100vh - 80px);
  padding: var(--space-10) var(--space-4);
  background: var(--bg-subtle);
}
.checkout__container {
  max-width: 560px;
  margin: 0 auto;
}
.checkout__loading,
.checkout__error {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--space-12) var(--space-6);
  text-align: center;
  color: var(--text-muted);
}
.checkout__error h2 {
  color: var(--text);
  font-size: var(--text-xl);
  margin: 0 0 var(--space-3);
}
.checkout__error p { margin: 0 0 var(--space-5); font-family: var(--font-mono); font-size: var(--text-sm); }

.checkout__spinner {
  width: 32px; height: 32px;
  margin: 0 auto var(--space-3);
  border: 3px solid var(--border);
  border-top-color: var(--text);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Header */
.checkout__header {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  margin-bottom: var(--space-4);
}
.checkout__back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: var(--space-5);
  transition: color var(--duration-fast) var(--ease);
}
.checkout__back:hover { color: var(--text); }
.checkout__summary-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-widest);
  color: var(--text-subtle);
  margin-bottom: var(--space-2);
}
.checkout__summary-title {
  font-size: var(--text-2xl);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 var(--space-2);
  color: var(--text);
}
.checkout__summary-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}
.checkout__summary-amount {
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  color: var(--text);
  letter-spacing: var(--tracking-tight);
}
.checkout__summary-period {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Tabs */
.checkout__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  padding: var(--space-1);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-4);
}
.checkout__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease);
}
.checkout__tab:hover { color: var(--text); background: var(--bg-muted); }
.checkout__tab.is-active {
  background: var(--primary);
  color: var(--primary-text);
  border-color: var(--primary);
}
.checkout__tab-badge {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  background: var(--bg-muted);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}
.checkout__tab.is-active .checkout__tab-badge {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  border-color: transparent;
}

/* Pane */
.checkout__pane {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
}
.checkout__desc {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0 0 var(--space-5);
  line-height: 1.5;
}
.checkout__pane .field { margin-bottom: var(--space-4); }
.checkout__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.checkout__submit {
  width: 100%;
  justify-content: center;
  margin-top: var(--space-2);
}
.checkout__note {
  margin: var(--space-4) 0 0;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

/* PIX Result */
.checkout__pix-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.checkout__pix-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  background: var(--info-bg);
  border: 1px solid var(--info-border);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--info);
  margin: 0 auto var(--space-5);
}
.checkout__pix-status .checkout__spinner {
  width: 18px; height: 18px; border-width: 2px;
  border-color: var(--info-border);
  border-top-color: var(--info);
  margin: 0;
}
.checkout__pix-qr {
  display: block;
  padding: var(--space-4);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  margin: 0 auto var(--space-5);
  width: fit-content;
}
.checkout__pix-qr img {
  display: block;
  width: 220px; height: 220px;
  max-width: 100%;
  image-rendering: pixelated;
}
.checkout__pix-copy {
  width: 100%;
  text-align: left;
  margin-bottom: var(--space-5);
}
.checkout__pix-code {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-top: var(--space-2);
}
.checkout__pix-code code {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text);
  word-break: break-all;
  line-height: 1.4;
  max-height: 60px;
  overflow-y: auto;
}

@media (max-width: 600px) {
  .checkout { padding: var(--space-6) var(--space-3); }
  .checkout__header,
  .checkout__pane { padding: var(--space-5); }
  .checkout__grid { grid-template-columns: 1fr; }
  .checkout__summary-title { font-size: var(--text-xl); }
  .checkout__summary-amount { font-size: var(--text-2xl); }
}

/* ════════════════════════════════════════════════════════════════════════
   MLM Calc — calculadora de rede / simulador de ganhos
   ════════════════════════════════════════════════════════════════════════ */
.mlm-calc {
  margin-top: var(--space-6);
  padding: var(--space-6);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 16px);
}
.mlm-calc__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}
.mlm-calc__eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #d4af37;
  margin-bottom: 4px;
}
.mlm-calc__title {
  font-size: var(--text-xl);
  font-weight: var(--fw-semibold);
  color: var(--text);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 4px;
}
.mlm-calc__subtitle {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0;
}
.mlm-calc__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  white-space: nowrap;
}
.mlm-calc__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.mlm-calc__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mlm-calc__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mlm-calc__field input,
.mlm-calc__field select {
  padding: 10px var(--space-3);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-fast) var(--ease);
}
.mlm-calc__field input:focus,
.mlm-calc__field select:focus {
  outline: none;
  border-color: var(--neutral-900);
  box-shadow: 0 0 0 3px rgba(23,23,23,0.05);
}
.mlm-calc__hint {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}
.mlm-calc__breakdown {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
}
.mlm-calc__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}
.mlm-calc__row-label { color: var(--text-secondary); }
.mlm-calc__row-label strong { color: var(--text); }
.mlm-calc__row-val {
  color: var(--text);
  font-weight: var(--fw-semibold);
  font-variant-numeric: tabular-nums;
}
.mlm-calc__totals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.mlm-calc__total {
  padding: var(--space-4);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
}
.mlm-calc__total--accent {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.02) 100%);
  border-color: rgba(212, 175, 55, 0.4);
}
.mlm-calc__total-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.mlm-calc__total-value {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--text);
  letter-spacing: var(--tracking-tight);
  font-variant-numeric: tabular-nums;
}
.mlm-calc__total--accent .mlm-calc__total-value { color: #b8941f; }
.mlm-calc__disclaimer {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 600px) {
  .mlm-calc__totals { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════════════
   DOWNLOADS — materiais para download (seção do painel do usuário)
   ══════════════════════════════════════════════════════════════════════════ */
.downloads-section {
  max-width: 1100px;
  margin: var(--space-12) auto 0;
  padding: 0 var(--space-6);
}
.downloads-section__header { margin-bottom: var(--space-6); }
.downloads-section__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-widest);
  color: var(--text-subtle);
}
.downloads-section__title {
  font-size: var(--text-2xl);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-tight);
  margin: var(--space-2) 0 var(--space-1);
}
.downloads-section__subtitle {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.downloads-folders { display: flex; flex-direction: column; gap: var(--space-5); }

.dl-folder-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg);
  overflow: hidden;
}
.dl-folder-card__head {
  padding: var(--space-4) var(--space-5);
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.dl-folder-card__title { font-size: var(--text-base); font-weight: var(--fw-semibold); color: var(--text); }
.dl-folder-card__sub { font-size: var(--text-sm); color: var(--text-secondary); margin-top: 2px; }
.dl-folder-card__desc { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-muted); margin-top: 4px; }
.dl-folder-card__items { display: flex; flex-direction: column; }

.dl-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border-subtle);
}
.dl-item:last-child { border-bottom: none; }
.dl-item--locked { opacity: 0.62; }
.dl-item__info { flex: 1; min-width: 0; }
.dl-item__title { font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--text); }
.dl-item__sub { font-size: var(--text-sm); color: var(--text-secondary); margin-top: 1px; }
.dl-item__desc { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-muted); margin-top: 4px; line-height: 1.5; }
.dl-item__meta { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-subtle); margin-top: 6px; }
.dl-item__action { flex-shrink: 0; }
.dl-down-btn { white-space: nowrap; }

.dl-locked {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.dl-locked .icon { width: 13px; height: 13px; }

@media (max-width: 600px) {
  .dl-item { flex-direction: column; align-items: stretch; gap: var(--space-3); }
  .dl-item__action .btn, .dl-item__action .dl-locked { width: 100%; justify-content: center; }
}


/* ══════════════════════════════════════════════════════════════════════════
   GUIAS — hub (/guias) + artigo (/guias/<slug>)
   ══════════════════════════════════════════════════════════════════════════ */
.guides-hub__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-8);
}
.guide-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-decoration: none;
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.guide-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.guide-card__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-subtle);
}
.guide-card__title {
  font-size: var(--text-xl);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-tight);
  color: var(--text);
  margin: 0;
}
.guide-card__desc {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}
.guide-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: auto;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--text);
}
.guide-card__link svg { width: 16px; height: 16px; }

/* ── Artigo ── */
.guide {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--space-12) var(--space-6) var(--space-16);
}
.guide__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}
.guide__crumbs a { color: var(--text-muted); text-decoration: none; }
.guide__crumbs a:hover { color: var(--text); }
.guide__crumbs-current { color: var(--text-subtle); }
.guide__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: var(--space-3);
}
.guide__title {
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-tighter);
  line-height: 1.1;
  color: var(--text);
  margin: 0 0 var(--space-8);
}
.guide__body { font-size: var(--text-base); line-height: 1.75; color: var(--text-secondary); }
.guide__lead {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 var(--space-8);
}
.guide__body h2 {
  font-size: var(--text-2xl);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-tight);
  color: var(--text);
  margin: var(--space-10) 0 var(--space-4);
}
.guide__body h3 {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--text);
  margin: var(--space-6) 0 var(--space-2);
}
.guide__body p { margin: 0 0 var(--space-4); }
.guide__body ul { margin: 0 0 var(--space-4); padding-left: var(--space-5); }
.guide__body li { margin-bottom: var(--space-2); }
.guide__body strong { color: var(--text); font-weight: var(--fw-semibold); }

/* ── CTA do artigo ── */
.guide-cta {
  margin-top: var(--space-12);
  padding: var(--space-8);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-align: center;
}
.guide-cta__title {
  font-size: var(--text-2xl);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-tight);
  color: var(--text);
  margin: 0 0 var(--space-3);
}
.guide-cta__desc {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 auto var(--space-6);
}
.guide-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

@media (max-width: 600px) {
  .guide { padding: var(--space-8) var(--space-4) var(--space-12); }
  .guide__title { font-size: var(--text-3xl); }
}

/* ── Guias: "Leia também" ── */
.guide-related {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}
.guide-related__title {
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-subtle);
  margin: 0 0 var(--space-3);
}
.guide-related__list { list-style: none; margin: 0; padding: 0; }
.guide-related__list li { margin-bottom: var(--space-2); }
.guide-related__list a {
  font-size: var(--text-base);
  font-weight: var(--fw-medium);
  color: var(--text);
  text-decoration: none;
}
.guide-related__list a:hover { color: var(--accent-blue-600); text-decoration: underline; }

/* Link de indicação reposicionado pro topo do painel (logo abaixo do nome) */
.panel__refbar {
  margin-top: var(--space-5);
  max-width: 560px;
}
