/* ===== Bora Lucrar • site =====
   Cores: /brand/theme.css (tema "ouro" padrão, "verde" alternativo).
   Display: Poppins (a mesma do logo). Texto: Plus Jakarta Sans. */
@font-face { font-family: 'Poppins'; src: url('/membros/fonts/Poppins-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/membros/fonts/Poppins-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/membros/fonts/Poppins-ExtraBold.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('/assets/fonts/plus-jakarta-sans-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('/assets/fonts/plus-jakarta-sans-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('/assets/fonts/plus-jakarta-sans-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --text: #f3f1ec;
  --soft: #c9c5bc;
  --mute: #9a968d;
  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: 'Poppins', system-ui, sans-serif;
  color-scheme: dark;
}
[data-theme="verde"] { --text: #eef3ef; --soft: #c3cbc5; --mute: #919b94; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Jakarta', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; transition: background-color .4s; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
::selection { background: var(--y); color: var(--on-y); }
:focus-visible { outline: 2px solid var(--y-text); outline-offset: 3px; border-radius: 6px; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-thumb { background: var(--surface-3); border: 3px solid var(--bg); border-radius: 10px; }
.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--y); color: var(--on-y); border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.btn:active { transform: scale(.98); }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; border-radius: 12px; }
.btn-gold { background: var(--y); color: var(--on-y); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .9); }
.btn-gold:hover { background: var(--y-2); }
.btn-line { border-color: var(--line-2); color: var(--text); }
.btn-line:hover { border-color: var(--y-text); color: var(--y-text); }
.btn-quiet { background: rgba(255, 255, 255, .05); border-color: var(--line-2); color: var(--text); }
.btn-quiet:hover { background: rgba(255, 255, 255, .1); }
.btn-lg .ic { transition: transform .25s var(--ease); }
.btn-lg:hover .ic { transform: translateX(3px); }

/* topo */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.02em; }
.logo .mark { width: 34px; height: 34px; }
.nav { display: flex; gap: 26px; margin-left: 12px; }
.nav a { color: var(--mute); text-decoration: none; font-size: 15px; font-weight: 600; transition: color .2s; }
.nav a:hover, .nav a[aria-current] { color: var(--text); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); background: none; color: var(--text); place-items: center; cursor: pointer; }
.menu-mobile { border-top: 1px solid var(--line); padding: 8px var(--pad) 16px; }
.menu-mobile a { display: block; padding: 13px 0; color: var(--soft); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.menu-mobile a:last-child { border-bottom: 0; color: var(--y-text); }
@media (max-width: 1000px) { .nav { display: none; } .menu-btn { display: grid; } }
@media (max-width: 560px) { .hide-sm { display: none; } .logo span { font-size: 19px; } .top-in { gap: 12px; } }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 120px); border-bottom: 1px solid var(--line); }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(48% 70% at 78% 48%, rgba(var(--y-rgb), .16), transparent 70%),
              linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px) 0 0 / 100% 44px; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; pointer-events: none; background: linear-gradient(transparent, var(--bg)); }
.sparks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; max-width: 14ch; }
.hl { color: var(--y-text); }
.lead { margin-top: 26px; max-width: 54ch; font-size: clamp(17px, 1.6vw, 20px); color: var(--soft); line-height: 1.6; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.fine { margin-top: 20px; font-size: 14px; color: var(--mute); max-width: 52ch; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero h1 { max-width: 14ch; } .hero-emblem { order: -1; width: min(78vw, 400px); margin: -10px auto -20px; } }

/* emblema: moeda com trilhas de circuito */
.hero-emblem { position: relative; aspect-ratio: 1; width: 100%; max-width: 600px; justify-self: center; }
.emblem { position: relative; width: 100%; height: auto; display: block; overflow: visible; }
.em-trace { fill: none; stroke: var(--em-2); stroke-opacity: .5; stroke-width: 2; stroke-linejoin: round; }
.em-node { fill: var(--bg); stroke: var(--em-2); stroke-opacity: .85; stroke-width: 2; }
.em-pulse { fill: none; stroke: var(--em-1); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 14 420; stroke-dashoffset: 14; opacity: 0; }
.em-coin, .em-b, .em-b-glow { transform-origin: 320px 320px; }
.rays { position: absolute; inset: 6%; border-radius: 50%; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(var(--y-rgb), .0) 0deg 7deg, rgba(var(--y-rgb), .09) 9deg, rgba(var(--y-rgb), 0) 11deg 18deg);
  -webkit-mask: radial-gradient(closest-side, transparent 52%, #000 60%, transparent 100%); mask: radial-gradient(closest-side, transparent 52%, #000 60%, transparent 100%); }
@media (prefers-reduced-motion: no-preference) {
  .em-pulse { animation: pulse var(--t, 3.4s) linear var(--d, 0s) infinite; }
  .rays { animation: spin 60s linear infinite; }
  .emblem .em-coin, .emblem .em-b, .emblem .em-b-glow { animation: coinIn 1.2s var(--ease) both; }
  .emblem .em-b-glow { animation: coinIn 1.2s var(--ease) both, breathe 4.5s ease-in-out 1.2s infinite; }
  .emblem .em-traces { animation: tracesIn 1.6s var(--ease) .3s both; }
  .hero-emblem { animation: float 8s ease-in-out 1.2s infinite; }
}
@keyframes pulse { 0% { stroke-dashoffset: 14; opacity: 0; } 8% { opacity: 1; } 70% { opacity: 1; } 100% { stroke-dashoffset: -260; opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes coinIn { from { opacity: 0; transform: scale(.86); } }
@keyframes tracesIn { from { opacity: 0; } }
@keyframes breathe { 50% { opacity: .35; } }
@keyframes float { 50% { transform: translateY(-10px); } }

/* prévia da sala */
.room { margin: 0; border: 1px solid var(--line-2); border-radius: 18px; background: var(--surface); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .95), 0 2px 0 rgba(255, 255, 255, .03) inset; }
.room-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); background: var(--surface-2); font-family: var(--display); font-size: 16px; }
.room-head .mark { width: 28px; height: 28px; }
.room-body { padding: 14px 12px 18px; }
.room-cat { margin: 14px 10px 6px; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--mute); }
.room-cat:first-child { margin-top: 4px; }
.ch { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--soft); font-weight: 600; font-size: 15px; }
.ch span { color: var(--mute); font-size: 18px; width: 18px; text-align: center; }
.ch.on { background: rgba(var(--y-rgb), .14); color: var(--text); }
.ch.on span { color: var(--y-text); }
.ch.voice .ic { color: var(--mute); width: 18px; }
.room figcaption { padding: 14px 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }
/* momento de entrada: os canais acendem em sequência, uma vez */
@media (prefers-reduced-motion: no-preference) {
  .room .ch { animation: chIn .9s var(--ease) both; }
  .room .ch:nth-of-type(2) { animation-delay: .12s; }
  .room .ch.on { animation: chIn .9s var(--ease) .22s both, chOn 1.4s var(--ease) .5s both; }
  .room .ch.voice { animation-delay: .34s; }
}
@keyframes chIn { from { opacity: 0; transform: translateX(-10px); filter: blur(4px); } }
@keyframes chOn { from { background-color: transparent; } }

/* seções */
section { position: relative; }
.band, .topics, .steps-sec, .rules, .faq { padding: clamp(72px, 10vw, 128px) 0; border-bottom: 1px solid var(--line); }
.sec-title { font-size: clamp(30px, 4vw, 48px); font-weight: 800; margin-bottom: clamp(32px, 4vw, 52px); }
.split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.split h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; }
.split .room { margin-top: 36px; max-width: 420px; }
.prose p { color: var(--soft); font-size: 18px; max-width: 60ch; }
.prose p + p { margin-top: 18px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.topic-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 96px); border-top: 1px solid var(--line-2); }
.topic-list li { padding: 30px 0 34px; border-bottom: 1px solid var(--line); }
.topic-list h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; margin-bottom: 10px; }
.topic-list p { color: var(--soft); max-width: 46ch; }
.topic-list li:hover h3 { color: var(--y-text); }
.topic-list h3 { transition: color .25s; }
@media (max-width: 760px) { .topic-list { grid-template-columns: 1fr; } }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.steps li { counter-increment: s; padding-top: 22px; border-top: 2px solid var(--line-2); }
.steps li:first-child { border-top-color: var(--y); }
.steps li::before { content: counter(s); display: block; font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--y-text); margin-bottom: 14px; }
.steps b { display: block; font-family: var(--display); font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.steps p { color: var(--soft); max-width: 34ch; }
.steps-note { margin-top: 40px; color: var(--mute); font-size: 15px; max-width: 64ch; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.rule-list { list-style: none; margin: 0; padding: 0; }
.rule-list li { padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--soft); max-width: 60ch; }
.rule-list li:first-child { padding-top: 4px; }
.rule-list b { color: var(--text); }

.faq-wrap { max-width: 860px; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--display); font-weight: 600; font-size: clamp(17px, 1.7vw, 20px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 12px; height: 12px; margin-top: 8px; border-right: 2px solid var(--y-text); border-bottom: 2px solid var(--y-text); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 12px; }
.faq summary:hover { color: var(--y-text); }
.faq details p { padding: 0 0 24px; color: var(--soft); max-width: 66ch; }

.final { padding: clamp(80px, 11vw, 140px) 0; background: radial-gradient(70% 120% at 50% 120%, rgba(var(--y-rgb), .16), transparent 70%); }
.final-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 32px; }
.final h2 { font-size: clamp(32px, 5vw, 60px); font-weight: 800; letter-spacing: -.03em; max-width: 18ch; }

/* rodapé */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: 40px 0 28px; }
.foot-in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-nav a { color: var(--mute); text-decoration: none; font-size: 15px; }
.foot-nav a:hover { color: var(--text); }
.theme-switch { margin-left: auto; display: flex; gap: 8px; }
.theme-switch button { width: 40px; height: 40px; padding: 4px; border-radius: 12px; border: 1px solid var(--line-2); background: none; cursor: pointer; }
.theme-switch button[aria-checked="true"] { border-color: var(--y-text); }
.sw { display: block; width: 100%; height: 100%; border-radius: 8px; }
.sw-ouro { background: linear-gradient(135deg, #060606 0 50%, #D6A646 50%); }
.sw-verde { background: linear-gradient(135deg, #040605 0 50%, #2FA866 50%); }
.foot-legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--mute); }
@media (max-width: 640px) { .theme-switch { margin-left: 0; } }
