/* =====================================================================
   IRALU TENNIS — styles.css
   Componentes + layout. Mobile first: estilos-base para celular,
   media queries (min-width) escalam para tablet/desktop.
   Depende de tokens.css.
   ===================================================================== */

/* ------------------------------------------------------------------ */
/* 1. Reset / base                                                     */
/* ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--ink-800);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* textura sutil para profundidade */
  background-image:
    radial-gradient(900px 500px at 100% -5%, rgba(17, 198, 166, 0.07), transparent 60%),
    radial-gradient(700px 420px at -10% 4%, rgba(180, 240, 58, 0.06), transparent 55%);
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.02; letter-spacing: -0.01em; }
::selection { background: var(--lime); color: var(--on-accent); }

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

/* ------------------------------------------------------------------ */
/* 1b. Roteamento de TELAS — só CSS, sem JavaScript                    */
/*     Mostra uma tela por vez. #home é o padrão ao abrir.            */
/*     (js/router.js poderá assumir isso depois sem mudar o HTML.)    */
/* ------------------------------------------------------------------ */
.screen { display: none; }
.screen:target { display: block; }
.screen--home { display: block; }            /* tela inicial padrão */
:target ~ .screen--home { display: none; }   /* esconde a home se outra tela estiver ativa */

/* impede que conteúdo fique atrás da navbar fixa ao navegar */
.screen,
[id] { scroll-margin-top: calc(var(--nav-h) + 10px); }

/* ------------------------------------------------------------------ */
/* 2. Layout helpers                                                   */
/* ------------------------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--sp-8); position: relative; }
.section--tight { padding-block: var(--sp-7); }

.eyebrow {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad-brand); border-radius: 2px; }

.section-title { font-size: var(--fs-h2); margin-top: 0.6rem; max-width: 18ch; }
.section-lead { color: var(--text-2); font-size: var(--fs-lead); margin-top: 0.9rem; max-width: 56ch; }

.text-grad {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.text-gold { color: var(--gold); }

/* ------------------------------------------------------------------ */
/* 3. Botões                                                           */
/* ------------------------------------------------------------------ */
.btn {
  --pad-y: 0.85rem; --pad-x: 1.4rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-ui); font-weight: 600; font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: var(--pad-y) var(--pad-x);
  border-radius: var(--radius-pill);
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t), border-color var(--t);
  white-space: nowrap; line-height: 1;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--lg { --pad-y: 1.05rem; --pad-x: 1.8rem; font-size: 1.05rem; }
.btn--sm { --pad-y: 0.55rem; --pad-x: 0.95rem; font-size: 0.85rem; }
.btn--block { display: flex; width: 100%; }

.btn--primary { background: var(--grad-brand); color: var(--on-accent); box-shadow: var(--glow-lime); }
.btn--primary:hover { box-shadow: var(--glow-lime), 0 0 0 4px rgba(180, 240, 58, 0.12); transform: translateY(-2px); }

.btn--gold { background: var(--grad-gold); color: #2a1800; box-shadow: 0 12px 30px -12px rgba(255, 180, 46, 0.55); }
.btn--gold:hover { transform: translateY(-2px); }

.btn--ghost { background: rgba(255, 255, 255, 0.04); color: var(--text); border: 1px solid var(--line-strong); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--lime); }

.btn--whatsapp { background: #25d366; color: #06270f; box-shadow: 0 12px 30px -14px rgba(37, 211, 102, 0.6); }
.btn--whatsapp:hover { transform: translateY(-2px); }

/* ------------------------------------------------------------------ */
/* 4. Navegação                                                        */
/* ------------------------------------------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 80;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(8, 12, 17, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.32rem; letter-spacing: 0.02em; }
.brand__name span { color: var(--lime); }

.nav__links { display: none; gap: 1.6rem; font-family: var(--font-ui); font-weight: 500; font-size: 0.95rem; }
.nav__links a { color: var(--text-2); transition: color var(--t-fast); }
.nav__links a:hover { color: var(--text); }

.nav__actions { display: flex; align-items: center; gap: 0.6rem; }
.nav__login { display: none; font-family: var(--font-ui); font-weight: 500; color: var(--text-2); }
.nav__login:hover { color: var(--lime); }

/* ------------------------------------------------------------------ */
/* 5. Hero                                                             */
/* ------------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; background: var(--grad-hero); padding-block: var(--sp-7) var(--sp-8); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(900px 480px at 50% 0%, #000, transparent 75%);
          mask-image: radial-gradient(900px 480px at 50% 0%, #000, transparent 75%);
}
.hero .container { position: relative; z-index: 2; }

/* fundo do hero: glows de marca + linhas de quadra */
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(64px); }
.hero__glow--lime { width: 68vw; height: 68vw; max-width: 640px; max-height: 640px; right: -14vw; top: -20vw;
  background: radial-gradient(circle, rgba(180, 240, 58, 0.40), transparent 66%); }
.hero__glow--teal { width: 60vw; height: 60vw; max-width: 560px; max-height: 560px; left: -18vw; bottom: -22vw;
  background: radial-gradient(circle, rgba(17, 198, 166, 0.38), transparent 66%); }
.hero__lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }
.hero__lines path { fill: none; stroke: rgba(180, 240, 58, 0.15); stroke-width: 1.2; vector-effect: non-scaling-stroke; }

/* coluna de texto */
.hero__copy { position: relative; z-index: 2; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-strong);
  padding: 0.45rem 0.9rem; border-radius: var(--radius-pill);
  font-family: var(--font-ui); font-size: 0.8rem; color: var(--text-2);
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }

.hero__title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: var(--fs-hero); line-height: 0.9; letter-spacing: -0.01em; margin-block: 1.1rem 0;
}
.hero__title-1, .hero__title-2 { display: block; }
.hero__title-1 { color: var(--text); opacity: 0.96; }
.hero__title .hl { position: relative; color: var(--lime); white-space: nowrap; }
.hero__title .hl::after {
  content: ""; position: absolute; left: -3%; right: -3%; bottom: 0.04em; height: 0.16em;
  background: var(--grad-brand); border-radius: 999px; transform: skewX(-12deg); opacity: 0.95;
}

.hero__sub { color: var(--text-2); font-size: var(--fs-lead); margin-top: 1.2rem; max-width: 46ch; }
.hero__cta { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.8rem; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 1.2rem 1.8rem; margin-top: 2rem; padding: 0; list-style: none; }
.hero__trust li { display: flex; flex-direction: column; }
.hero__trust strong { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; line-height: 1; color: var(--lime); }
.hero__trust span { font-family: var(--font-ui); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); margin-top: 0.28rem; }

/* PALCO: bola protagonista + frames de foto + chips */
.hero__stage { position: relative; z-index: 1; margin-top: 2.8rem; min-height: 330px; }
.hero__halo {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(86%, 360px); aspect-ratio: 1; border-radius: 50%; z-index: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(17, 198, 166, 0.24), transparent 62%),
    radial-gradient(circle at 50% 62%, rgba(180, 240, 58, 0.16), transparent 66%);
  filter: blur(6px);
}
.hero__ball { position: relative; z-index: 2; display: grid; place-items: center; }
.hero__art { position: relative; width: min(74%, 280px); margin-inline: auto; }
.hero__art img { width: 100%; display: block; }

/* frames de foto recortados, saindo das bordas */
.hero__frame {
  position: absolute; z-index: 3; margin: 0; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, var(--surface-3), var(--ink-700));
  box-shadow: var(--shadow-pop), 0 0 0 4px rgba(8, 12, 17, 0.55);
}
.hero__frame::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1.5px rgba(180, 240, 58, 0.35);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__frame-ph {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 0.4rem;
  font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.03em; color: var(--text-3);
}
.hero__frame--a { width: 42%; max-width: 168px; aspect-ratio: 3 / 4; left: -5%; top: 4%; transform: rotate(-6deg); }
.hero__frame--b { width: 36%; max-width: 150px; aspect-ratio: 1 / 1; right: -4%; bottom: 2%; transform: rotate(5deg); display: none; }

/* chips gamificados flutuantes */
.hero__chip {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.72rem; border-radius: 14px; background: rgba(16, 22, 30, 0.72);
  border: 1px solid var(--line-strong); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(8px) saturate(140%); backdrop-filter: blur(8px) saturate(140%);
}
.hero__chip-ic { font-size: 1.05rem; line-height: 1; }
.hero__chip-tx { display: flex; flex-direction: column; line-height: 1.08; }
.hero__chip-tx b { font-family: var(--font-ui); font-weight: 700; font-size: 0.82rem; color: var(--text); }
.hero__chip-tx small { font-size: 0.66rem; color: var(--text-3); }
.hero__chip--a { left: -6%; top: 30%; }
.hero__chip--b { right: -5%; top: 10%; }
.hero__chip--c { right: 4%; bottom: -2%; display: none; }

/* mostra o 2º frame e o 3º chip a partir de telas médias (mais limpo no celular pequeno) */
@media (min-width: 560px) {
  .hero__frame--b { display: block; }
  .hero__chip--c { display: inline-flex; }
}

/* flutuação suave (desligada em "reduzir movimento") */
@media (prefers-reduced-motion: no-preference) {
  .hero__frame--a { animation: heroFloat 7s ease-in-out infinite; }
  .hero__frame--b { animation: heroFloat 8.5s ease-in-out -2s infinite; }
  .hero__chip--a  { animation: heroFloat 6s ease-in-out -1s infinite; }
  .hero__chip--b  { animation: heroFloat 7.4s ease-in-out -3s infinite; }
  .hero__chip--c  { animation: heroFloat 6.6s ease-in-out -0.5s infinite; }
}
@keyframes heroFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ------------------------------------------------------------------ */
/* 6. Cards genéricos                                                  */
/* ------------------------------------------------------------------ */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--sp-5);
  box-shadow: var(--shadow-card); position: relative; overflow: hidden;
}
.card--glow::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-brand);
}

.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-ui); font-size: 0.78rem; font-weight: 600;
  padding: 0.3rem 0.7rem; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line);
}

/* ------------------------------------------------------------------ */
/* 7. Badges de liga                                                   */
/* ------------------------------------------------------------------ */
.league {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-ui); font-weight: 700; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.32rem 0.7rem 0.32rem 0.5rem; border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
}
.league__dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 10px currentColor; }
.league--bronze { color: var(--bronze); }
.league--prata { color: var(--prata); }
.league--ouro { color: var(--ouro); }
.league--platina { color: var(--platina); }
.league--elite {
  color: #06140a;
  background: var(--grad-elite); border-color: transparent;
}
.league--bronze .league__dot { background: var(--bronze); }
.league--prata .league__dot { background: var(--prata); }
.league--ouro .league__dot { background: var(--ouro); }
.league--platina .league__dot { background: var(--platina); }
.league--elite .league__dot { background: #06140a; box-shadow: none; }

/* ------------------------------------------------------------------ */
/* 8. Públicos (Kids/Junior/Adulto/Família)                            */
/* ------------------------------------------------------------------ */
.grid { display: grid; gap: 1rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr 1fr; }

.audience {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--sp-5); transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.audience:hover { transform: translateY(-4px); border-color: var(--lime); box-shadow: var(--glow-lime); }
.audience__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.4rem; background: rgba(180, 240, 58, 0.12); margin-bottom: 0.9rem;
}
.audience h3 { font-size: 1.4rem; }
.audience p { color: var(--text-2); font-size: 0.95rem; margin-top: 0.4rem; }
.audience .tag { font-family: var(--font-ui); font-size: 0.75rem; color: var(--teal); margin-top: 0.7rem; display: inline-block; }

/* ------------------------------------------------------------------ */
/* 9. Metodologia (passos)                                             */
/* ------------------------------------------------------------------ */
.steps { display: grid; gap: 1rem; counter-reset: step; }
.step {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--sp-4) var(--sp-5);
}
.step__num {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  background: rgba(17, 198, 166, 0.12); color: var(--teal); border: 1px solid rgba(17, 198, 166, 0.25);
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--text-2); font-size: 0.92rem; margin-top: 0.2rem; }

/* ------------------------------------------------------------------ */
/* 10. Aula Diagnóstica Premium                                        */
/* ------------------------------------------------------------------ */
.diagnostic {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid rgba(255, 180, 46, 0.28);
  background:
    radial-gradient(700px 360px at 100% 0%, rgba(255, 180, 46, 0.16), transparent 60%),
    var(--surface);
  padding: var(--sp-6);
}
.diagnostic .ribbon {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--grad-gold); color: #2a1800; font-family: var(--font-ui); font-weight: 700;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.4rem 0.85rem; border-radius: var(--radius-pill);
}
.diagnostic h2 { font-size: var(--fs-h2); margin-top: 1rem; }
.diagnostic ul { display: grid; gap: 0.7rem; margin-top: 1.2rem; }
.diagnostic li { display: flex; gap: 0.6rem; color: var(--text-2); }
.diagnostic li::before { content: "→"; color: var(--gold); font-weight: 700; }
.diagnostic .note { font-size: 0.82rem; color: var(--text-3); margin-top: 1.2rem; }

/* ------------------------------------------------------------------ */
/* 11. Plataforma preview (ranking / perfil / desafios / mural)        */
/* ------------------------------------------------------------------ */
.platform { background: linear-gradient(180deg, var(--ink-700), var(--ink-800)); }
.platform__grid { display: grid; gap: 1rem; margin-top: 2rem; }

/* perfil do jogador */
.profile-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--sp-5); }
.profile-card__top { display: flex; align-items: center; gap: 1rem; }
.avatar {
  flex: none; width: 64px; height: 64px; border-radius: 16px; object-fit: cover;
  border: 2px solid var(--lime); background: var(--surface-3);
}
.avatar--ring { box-shadow: 0 0 0 4px rgba(180, 240, 58, 0.12); }
.profile-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
.profile-card__meta { color: var(--text-3); font-size: 0.85rem; font-family: var(--font-ui); }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-top: 1.2rem; }
.profile-stats .box {
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 0.7rem; text-align: center;
}
.profile-stats .v { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--lime); }
.profile-stats .k { font-family: var(--font-ui); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); }

/* barra de XP / progresso de liga */
.xp { margin-top: 1.2rem; }
.xp__head { display: flex; justify-content: space-between; font-family: var(--font-ui); font-size: 0.8rem; color: var(--text-2); margin-bottom: 0.4rem; }
.xp__bar { height: 10px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.xp__fill { height: 100%; width: 68%; background: var(--grad-brand); border-radius: inherit; }

/* tabela de ranking */
.rank-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.rank-card__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid var(--line);
}
.rank-card__head h3 { font-size: 1.2rem; }
.rank-filters { display: flex; gap: 0.4rem; overflow-x: auto; padding: var(--sp-3) var(--sp-5); border-bottom: 1px solid var(--line); -ms-overflow-style: none; scrollbar-width: none; }
.rank-filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none; font-family: var(--font-ui); font-size: 0.8rem; font-weight: 500;
  padding: 0.4rem 0.85rem; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); color: var(--text-2);
  transition: all var(--t-fast);
}
.chip--active { background: var(--lime); color: var(--on-accent); border-color: transparent; font-weight: 600; }

.rank-row {
  display: grid; grid-template-columns: 30px 44px 1fr auto; align-items: center; gap: 0.8rem;
  padding: 0.85rem var(--sp-5); border-bottom: 1px solid var(--line); transition: background var(--t-fast);
}
.rank-row:last-child { border-bottom: none; }
.rank-row:hover { background: rgba(255, 255, 255, 0.025); }
.rank-row--me { background: rgba(180, 240, 58, 0.06); box-shadow: inset 3px 0 0 var(--lime); }
.rank-pos { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--text-2); text-align: center; }
.rank-row:nth-child(1) .rank-pos { color: var(--ouro); }
.rank-avatar { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; background: var(--surface-3); }
.rank-name { font-family: var(--font-ui); font-weight: 600; }
.rank-sub { font-size: 0.76rem; color: var(--text-3); }
.rank-pts { text-align: right; }
.rank-pts .p { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; }
.rank-pts .d { font-size: 0.72rem; font-family: var(--font-ui); }
.rank-pts .up { color: var(--success); }
.rank-pts .down { color: var(--danger); }

/* desafios */
.challenge {
  display: flex; align-items: center; gap: 0.9rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--sp-4); 
}
.challenge__avatars { display: flex; }
.challenge__avatars img { width: 40px; height: 40px; border-radius: 10px; border: 2px solid var(--surface); object-fit: cover; }
.challenge__avatars img:nth-child(2) { margin-left: -12px; }
.challenge__body { flex: 1; min-width: 0; }
.challenge__body .t { font-family: var(--font-ui); font-weight: 600; font-size: 0.95rem; }
.challenge__body .s { font-size: 0.78rem; color: var(--text-3); }
.status {
  font-family: var(--font-ui); font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 0.28rem 0.6rem; border-radius: var(--radius-pill);
}
.status--pending { background: rgba(255, 180, 46, 0.14); color: var(--gold); }
.status--confirmed { background: rgba(54, 211, 153, 0.14); color: var(--success); }
.status--waiting { background: rgba(56, 182, 255, 0.14); color: var(--info); }

/* conquistas */
.achievements { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7rem; }
.ach { aspect-ratio: 1; border-radius: var(--radius); display: grid; place-items: center; text-align: center;
  background: var(--surface); border: 1px solid var(--line); padding: 0.4rem; }
.ach__ic { font-size: 1.5rem; }
.ach__t { font-family: var(--font-ui); font-size: 0.62rem; color: var(--text-3); margin-top: 0.2rem; line-height: 1.2; }
.ach--locked { opacity: 0.38; }
.ach--on { border-color: rgba(255, 180, 46, 0.4); box-shadow: 0 0 22px -8px rgba(255, 180, 46, 0.5); }

/* mural */
.post { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-4); }
.post + .post { margin-top: 0.8rem; }
.post__head { display: flex; align-items: center; gap: 0.65rem; }
.post__head img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.post__author { font-family: var(--font-ui); font-weight: 600; font-size: 0.9rem; }
.post__author .verified { color: var(--teal); font-size: 0.8rem; }
.post__time { font-size: 0.74rem; color: var(--text-3); }
.post__text { margin-top: 0.7rem; color: var(--text); font-size: 0.95rem; }
.post__actions { display: flex; gap: 1.2rem; margin-top: 0.8rem; color: var(--text-3); font-family: var(--font-ui); font-size: 0.82rem; }
.post__actions span { display: inline-flex; align-items: center; gap: 0.35rem; }

/* ------------------------------------------------------------------ */
/* 12. Professores                                                     */
/* ------------------------------------------------------------------ */
.coach { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.coach__photo { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--surface-3), var(--ink-700)); display: grid; place-items: center; color: var(--text-3); position: relative; }
.coach__photo .ph { font-family: var(--font-ui); font-size: 0.8rem; }
.coach__body { padding: var(--sp-5); }
.coach__name { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
.coach__role { font-family: var(--font-ui); color: var(--teal); font-size: 0.85rem; }
.coach__bio { color: var(--text-2); font-size: 0.9rem; margin-top: 0.7rem; }
.coach__certs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.coach__certs .pill { font-size: 0.7rem; }

/* ------------------------------------------------------------------ */
/* 13. Locais                                                          */
/* ------------------------------------------------------------------ */
.locations { background: radial-gradient(700px 360px at 50% 0%, rgba(17, 198, 166, 0.10), transparent 60%), var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: var(--sp-6); text-align: center; }
.locations h2 { font-size: var(--fs-h2); }
.locations p { color: var(--text-2); max-width: 52ch; margin: 1rem auto 0; }
.locations .tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 1.4rem; }

/* ------------------------------------------------------------------ */
/* 14. Depoimentos                                                     */
/* ------------------------------------------------------------------ */
.testi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--sp-5); }
.testi__quote { font-size: 1.02rem; line-height: 1.6; }
.testi__quote::before { content: "“"; font-family: var(--font-display); font-size: 2.4rem; color: var(--lime); line-height: 0; vertical-align: -0.35em; margin-right: 0.2rem; }
.testi__who { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.1rem; }
.testi__who .av { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: var(--teal); }
.testi__who .n { font-family: var(--font-ui); font-weight: 600; font-size: 0.9rem; }
.testi__who .r { font-size: 0.76rem; color: var(--text-3); }

/* ------------------------------------------------------------------ */
/* 15. Galeria                                                         */
/* ------------------------------------------------------------------ */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.gallery__item {
  aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--surface-3), var(--ink-700));
  display: grid; place-items: center; color: var(--text-3); font-family: var(--font-ui); font-size: 0.78rem;
  border: 1px solid var(--line);
}
.gallery__item--wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.gallery__item--video::after { content: "▶"; position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; display: grid; place-items: center; background: rgba(180, 240, 58, 0.9); color: var(--on-accent); border-radius: 50%; }

/* ------------------------------------------------------------------ */
/* 16. Notícias / eventos                                              */
/* ------------------------------------------------------------------ */
.news { display: flex; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-4); }
.news__date { flex: none; text-align: center; width: 58px; }
.news__date .d { font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; color: var(--lime); line-height: 1; }
.news__date .m { font-family: var(--font-ui); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); }
.news__body h3 { font-size: 1.1rem; }
.news__body p { color: var(--text-2); font-size: 0.86rem; margin-top: 0.2rem; }

/* ------------------------------------------------------------------ */
/* 17. FAQ (acordeão nativo via <details>)                             */
/* ------------------------------------------------------------------ */
.faq { display: grid; gap: 0.7rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: var(--sp-4) var(--sp-5); display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--font-ui); font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.6rem; color: var(--lime); transition: transform var(--t-fast); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 var(--sp-5) var(--sp-5); color: var(--text-2); font-size: 0.92rem; }

/* ------------------------------------------------------------------ */
/* 18. Quiz                                                            */
/* ------------------------------------------------------------------ */
.quiz-wrap { background: radial-gradient(700px 400px at 50% -10%, rgba(180, 240, 58, 0.12), transparent 60%), var(--ink-700); }
.quiz {
  max-width: 540px; margin-inline: auto;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl); padding: var(--sp-6); box-shadow: var(--shadow-pop);
}
.quiz__progress { height: 8px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.quiz__progress > i { display: block; height: 100%; width: 12.5%; background: var(--grad-brand); border-radius: inherit; transition: width var(--t); }
.quiz__step-label { font-family: var(--font-ui); font-size: 0.78rem; color: var(--text-3); margin-top: 0.6rem; letter-spacing: 0.04em; }
.quiz__q { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; margin-top: 0.8rem; }
.quiz__hint { color: var(--text-3); font-size: 0.85rem; margin-top: 0.4rem; }
.quiz__field { width: 100%; margin-top: 1.2rem; background: var(--ink-800); border: 1px solid var(--line-strong); color: var(--text); border-radius: var(--radius); padding: 1rem 1.1rem; font: inherit; }
.quiz__field::placeholder { color: var(--text-3); }
.quiz__options { display: grid; gap: 0.6rem; margin-top: 1.2rem; }
.quiz__opt {
  text-align: left; display: flex; align-items: center; gap: 0.7rem;
  background: var(--ink-800); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 0.9rem 1.1rem; font-family: var(--font-ui); font-weight: 500; transition: all var(--t-fast);
}
.quiz__opt:hover { border-color: var(--lime); background: rgba(180, 240, 58, 0.06); transform: translateX(2px); }
.quiz__opt .mark { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--line-strong); flex: none; }
.quiz__opt[aria-pressed="true"] { border-color: var(--lime); background: rgba(180, 240, 58, 0.10); }
.quiz__nav { display: flex; justify-content: space-between; margin-top: 1.6rem; gap: 0.8rem; }

/* resumo do lead */
.lead-summary { display: grid; gap: 0.5rem; margin-top: 1.2rem; }
.lead-summary .row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px dashed var(--line); }
.lead-summary .k { color: var(--text-3); font-family: var(--font-ui); font-size: 0.85rem; }
.lead-summary .v { font-weight: 600; text-align: right; }

/* ------------------------------------------------------------------ */
/* 19. Admin preview                                                   */
/* ------------------------------------------------------------------ */
.admin-preview { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: var(--sp-5); }
.admin-topbar { display: flex; align-items: center; gap: 0.6rem; padding-bottom: var(--sp-4); border-bottom: 1px solid var(--line); margin-bottom: var(--sp-4); }
.admin-dot { width: 10px; height: 10px; border-radius: 50%; }
.admin-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.kpi { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-4); }
.kpi .v { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; color: var(--lime); line-height: 1; }
.kpi .k { font-family: var(--font-ui); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); margin-top: 0.3rem; }
.lead-card { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-4); margin-top: 0.7rem; }
.lead-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.6rem; }
.lead-card__name { font-family: var(--font-ui); font-weight: 600; }
.lead-card__meta { font-size: 0.78rem; color: var(--text-3); margin-top: 0.2rem; }
.lead-card__actions { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.8rem; }
.mini-btn { font-family: var(--font-ui); font-size: 0.74rem; font-weight: 500; padding: 0.35rem 0.7rem; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--text-2); }
.mini-btn:hover { border-color: var(--lime); color: var(--text); }

/* ------------------------------------------------------------------ */
/* 20. CTA final + footer                                              */
/* ------------------------------------------------------------------ */
.cta-final {
  border-radius: var(--radius-xl); padding: var(--sp-7) var(--sp-5); text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 50% 120%, rgba(17, 198, 166, 0.25), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
}
.cta-final h2 { font-size: var(--fs-h1); text-transform: uppercase; }
.cta-final p { color: var(--text-2); max-width: 46ch; margin: 1rem auto 1.6rem; }
.cta-final .btns { display: flex; flex-direction: column; gap: 0.7rem; max-width: 360px; margin-inline: auto; }

.footer { border-top: 1px solid var(--line); padding-block: var(--sp-6) var(--sp-7); color: var(--text-3); }
.footer__grid { display: grid; gap: 1.6rem; }
.footer__brand p { color: var(--text-2); font-size: 0.9rem; margin-top: 0.8rem; max-width: 40ch; }
.footer h4 { font-family: var(--font-ui); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text); margin-bottom: 0.8rem; }
.footer a { display: block; color: var(--text-2); font-size: 0.9rem; padding: 0.2rem 0; }
.footer a:hover { color: var(--lime); }
.footer__bottom { margin-top: var(--sp-6); padding-top: var(--sp-4); border-top: 1px solid var(--line); font-size: 0.8rem; display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: space-between; }

/* ------------------------------------------------------------------ */
/* 21. Animação de entrada (load)                                      */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); animation: rise 0.7s var(--ease) forwards; }
  .reveal.d1 { animation-delay: 0.08s; }
  .reveal.d2 { animation-delay: 0.16s; }
  .reveal.d3 { animation-delay: 0.24s; }
  .reveal.d4 { animation-delay: 0.32s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* ------------------------------------------------------------------ */
/* 22. Divisor de seção (label de preview de tela)                     */
/* ------------------------------------------------------------------ */
.screen-tag {
  display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-ui);
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-3);
  border: 1px dashed var(--line-strong); border-radius: var(--radius-pill); padding: 0.3rem 0.8rem;
}

/* ------------------------------------------------------------------ */
/* 23. Barra de tela (voltar / título) + topo da área do aluno         */
/* ------------------------------------------------------------------ */
.screen-bar {
  position: sticky; top: var(--nav-h); z-index: 40;
  display: flex; align-items: center; gap: 1rem;
  padding: 0.8rem 0; margin-bottom: var(--sp-2);
  background: rgba(8, 12, 17, 0.72); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.back { font-family: var(--font-ui); font-weight: 600; color: var(--text-2); display: inline-flex; align-items: center; gap: 0.4rem; }
.back:hover { color: var(--lime); }
.screen-bar__title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }

.app-topbar {
  display: flex; align-items: center; gap: 0.9rem;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--sp-4) var(--sp-5);
}
.app-topbar__av {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800;
  font-size: 1.3rem; color: var(--ink-800); background: var(--grad-brand);
}
.app-topbar__name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.1; }
.app-topbar__meta { font-family: var(--font-ui); font-size: 0.78rem; color: var(--text-3); }
.app-topbar__pts { margin-left: auto; text-align: right; }
.app-topbar__pts .p { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--lime); line-height: 1; }
.app-topbar__pts .k { font-family: var(--font-ui); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); }

.screen-note {
  font-family: var(--font-ui); font-size: 0.82rem; color: var(--text-3);
  background: rgba(255, 255, 255, 0.03); border: 1px dashed var(--line-strong);
  border-radius: var(--radius); padding: 0.7rem 1rem; margin-bottom: var(--sp-4);
}

/* ================================================================== */
/* RESPONSIVO — tablet / desktop                                       */
/* ================================================================== */
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .hero__cta { flex-direction: row; }
  .cta-final .btns { flex-direction: row; max-width: none; justify-content: center; }
  .achievements { grid-template-columns: repeat(6, 1fr); }
}

@media (min-width: 900px) {
  .container { padding-inline: 32px; }
  .nav__links { display: flex; }
  .nav__login { display: inline-block; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }

  .hero { padding-block: var(--sp-8) var(--sp-9); }
  .hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 3rem; }
  .hero__title { font-size: clamp(3rem, 5.4vw, 5rem); }
  .hero__stage { margin-top: 0; min-height: 470px; }
  .hero__art { width: min(80%, 300px); }
  .hero__frame--a { max-width: 204px; left: -10%; top: 0; }
  .hero__frame--b { max-width: 184px; right: -10%; bottom: -2%; }
  .hero__chip--a { left: -12%; }
  .hero__chip--b { right: -12%; }

  .platform__grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .platform__grid .span-2 { grid-column: span 2; }

  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1100px) {
  .section { padding-block: var(--sp-9); }
  .platform__grid { grid-template-columns: 1.1fr 1fr 1fr; }
}

/* ================================================================== */
/* BLOCO 2.1 — Fundação                                                */
/* Adições: roteamento por JS (router.js) + selo da logo.              */
/* O bloco "1b" lá em cima (roteamento por :target) continua como      */
/* plano B: se o JS não carregar, a navegação por âncora ainda anda.   */
/* ================================================================== */

/* ------------------------------------------------------------------ */
/* A. Roteamento por JS — vence o :target quando .has-js está no <html> */
/*    Especificidade pensada para sobrepor as regras do bloco 1b.       */
/* ------------------------------------------------------------------ */
.has-js .screen { display: none; }
.has-js .screen--home { display: none; }      /* home só aparece quando ativa */
.has-js .screen.is-active { display: block; } /* a tela ativa manda */

/* transição suave ao trocar de tela (re-dispara ao re-aplicar .is-active) */
@media (prefers-reduced-motion: no-preference) {
  .has-js .screen.is-active { animation: screenIn 0.4s var(--ease) both; }
  @keyframes screenIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
  }
}

/* ------------------------------------------------------------------ */
/* B. Logo — agora PNG transparente (gerada do arquivo original).       */
/*    Sem disco/moldura: o emblema flutua limpo sobre o dark mode.      */
/* ------------------------------------------------------------------ */
.brand img {
  border-radius: 0;
  background: transparent;
  padding: 0;
  object-fit: contain;
  box-shadow: none;
}

.hero__art img {
  background: transparent;
  object-fit: contain;
  filter:
    drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 40px rgba(17, 198, 166, 0.25));
}

/* ================================================================== */
/* BLOCO 2.2 — Área do aluno (app mobile-first)                        */
/* Montada por components.js + app.js. Reaproveita .league .status     */
/* .achievements .post .chip .pill .btn já existentes.                 */
/* ================================================================== */

/* ------------------------------------------------------------------ */
/* Avatares (inicial colorida enquanto não há foto; vira <img> depois) */
/* ------------------------------------------------------------------ */
.av-ini, .av-img {
  flex: none; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; color: var(--ink-800);
  border-radius: 12px; object-fit: cover; line-height: 1;
}
.av-img { background: var(--surface-3); }

.app { padding-block: var(--sp-2) var(--sp-7); }
.app-empty { color: var(--text-3); text-align: center; padding: var(--sp-6) var(--sp-4); font-family: var(--font-ui); }

/* ------------------------------------------------------------------ */
/* Cartão de status do jogador                                         */
/* ------------------------------------------------------------------ */
.pl-hero {
  position: relative; overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg); padding: var(--sp-5);
  box-shadow: var(--shadow-card);
}
.pl-hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-brand); }

.pl-hero__id { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.9rem; }
.pl-hero__av { width: 58px; height: 58px; border-radius: 16px; font-size: 1.45rem; background: var(--grad-brand); }
.pl-hero__txt { min-width: 0; }
.pl-hero__name { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1.05; }
.pl-hero__sub { font-family: var(--font-ui); font-size: 0.78rem; color: var(--text-3); margin-top: 0.1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-hero__league { margin-top: 0.5rem; }
.pl-hero__pts { text-align: right; align-self: start; }
.pl-hero__pts .n { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--lime); line-height: 1; }
.pl-hero__pts .k { font-family: var(--font-ui); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); }

.pl-hero__xp { margin-top: 1.2rem; }
.pl-hero__xphead { display: flex; justify-content: space-between; font-family: var(--font-ui); font-size: 0.8rem; color: var(--text-2); margin-bottom: 0.4rem; }
.xpbar { height: 10px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.08); overflow: hidden; }
.xpbar > i { display: block; height: 100%; background: var(--grad-brand); border-radius: inherit; transition: width var(--t-slow); }

.pl-hero__actions { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.pl-hero__actions .btn { flex: 1; }

/* ------------------------------------------------------------------ */
/* Abas                                                                */
/* ------------------------------------------------------------------ */
.app-tabs {
  position: sticky; top: calc(var(--nav-h) + 50px); z-index: 30;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.3rem;
  margin-top: 1rem; padding: 0.35rem;
  background: rgba(8,12,17,0.86); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: var(--radius-pill);
}
.app-tab {
  font-family: var(--font-ui); font-weight: 600; font-size: 0.82rem;
  padding: 0.6rem 0.4rem; border-radius: var(--radius-pill); color: var(--text-2);
  transition: color var(--t-fast), background var(--t-fast);
}
.app-tab.is-active { background: var(--grad-brand); color: var(--on-accent); }

/* ------------------------------------------------------------------ */
/* Painéis                                                             */
/* ------------------------------------------------------------------ */
.app-panels { margin-top: 1rem; }
.app-panel { display: none; }
.app-panel.is-active { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .app-panel.is-active { animation: panelIn 0.3s var(--ease) both; }
  @keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* cartão genérico de painel */
.pl-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--sp-5); }
.pl-card + .pl-card { margin-top: 1rem; }
.pl-card--flush { padding: 0; overflow: hidden; }
.pl-card__head { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; margin-bottom: 1rem; }
.pl-card--flush .pl-card__head { padding: var(--sp-4) var(--sp-5) 0; margin-bottom: 0.8rem; }
.pl-card__head h3 { font-size: 1.2rem; }
.pl-card__bio { color: var(--text-2); font-size: 0.92rem; }

/* stats do perfil */
.pl-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; margin-top: 1rem; }
.pl-stat { background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.8rem; text-align: center; }
.pl-stat .v { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--lime); line-height: 1; }
.pl-stat .k { font-family: var(--font-ui); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); margin-top: 0.3rem; }

/* ------------------------------------------------------------------ */
/* Ranking — linhas que expandem (card de jogador)                     */
/* ------------------------------------------------------------------ */
.rank-filters { display: flex; gap: 0.4rem; overflow-x: auto; padding: 0 var(--sp-5) var(--sp-3); -ms-overflow-style: none; scrollbar-width: none; }
.rank-filters::-webkit-scrollbar { display: none; }

.rankrows { border-top: 1px solid var(--line); }
.rankrow { border-bottom: 1px solid var(--line); }
.rankrow--me { background: rgba(180,240,58,0.06); box-shadow: inset 3px 0 0 var(--lime); }
.rankrow__main {
  width: 100%; display: grid; grid-template-columns: 26px 42px 1fr auto 18px;
  align-items: center; gap: 0.7rem; padding: 0.85rem var(--sp-5); text-align: left;
  transition: background var(--t-fast);
}
.rankrow__main:hover { background: rgba(255,255,255,0.025); }
.rankrow__pos { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--text-2); text-align: center; }
.rankrow:first-child .rankrow__pos { color: var(--ouro); }
.rankrow__av { width: 42px; height: 42px; border-radius: 11px; font-size: 1rem; }
.rankrow__id { min-width: 0; }
.rankrow__id .n { display: block; font-family: var(--font-ui); font-weight: 600; font-size: 0.95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rankrow__id .s { display: block; font-size: 0.74rem; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rankrow__pts { text-align: right; }
.rankrow__pts .p { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; line-height: 1; }
.rankrow__pts .d { font-size: 0.7rem; font-family: var(--font-ui); }
.rankrow__pts .up { color: var(--success); }
.rankrow__pts .down { color: var(--danger); }
.rankrow__pts .flat { color: var(--text-3); }
.rankrow__chev { color: var(--text-3); font-size: 1.1rem; transition: transform var(--t-fast); justify-self: center; }
.rankrow.is-open .rankrow__chev { transform: rotate(180deg); color: var(--lime); }

.rankrow__detail { padding: 0 var(--sp-5) var(--sp-4) calc(26px + 42px + 1.4rem + var(--sp-5)); }
.rankrow__bio { color: var(--text-2); font-size: 0.86rem; }
.rankrow__mini { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; margin: 0.7rem 0; }
.rankrow__mini span { font-family: var(--font-ui); font-size: 0.72rem; color: var(--text-3); display: flex; flex-direction: column; }
.rankrow__mini b { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--text); }

/* ------------------------------------------------------------------ */
/* Desafios + mural (avatares agora são .av-ini)                       */
/* ------------------------------------------------------------------ */
.challenge-list { display: grid; gap: 0.7rem; }
.challenge__av { width: 40px; height: 40px; border-radius: 10px; border: 2px solid var(--surface); font-size: 0.9rem; }
.challenge__av--2 { margin-left: -12px; }

.mural { display: grid; gap: 0.8rem; }
.post__av { width: 38px; height: 38px; border-radius: 10px; font-size: 0.85rem; }
.post__actions span { cursor: pointer; transition: color var(--t-fast); }
.post__actions span.is-liked { color: var(--lime); }

/* ------------------------------------------------------------------ */
/* Toast                                                               */
/* ------------------------------------------------------------------ */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  background: var(--surface-2); color: var(--text); border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill); padding: 0.7rem 1.2rem; font-family: var(--font-ui);
  font-size: 0.9rem; box-shadow: var(--shadow-pop); z-index: 200;
  opacity: 0; pointer-events: none; transition: opacity var(--t), transform var(--t);
  max-width: calc(100% - 32px); text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------------ */
/* Desktop: a área do aluno ganha respiro, sem perder o jeito de app   */
/* ------------------------------------------------------------------ */
@media (min-width: 720px) {
  .pl-stats { grid-template-columns: repeat(4, 1fr); }
  .app-tabs { top: calc(var(--nav-h) + 54px); }
}

/* ================================================================== */
/* BLOCO 2.3 — Quiz funcional                                          */
/* Reaproveita .quiz .quiz__progress .quiz__q .quiz__options          */
/* .quiz__opt .quiz__field .quiz__nav .lead-summary já existentes.     */
/* ================================================================== */

.quiz-app { margin-top: 1.6rem; }

/* marca preenchida quando a opção está selecionada */
.quiz__opt[aria-pressed="true"] .mark { background: var(--lime); border-color: var(--lime); }

/* input de data legível no dark mode */
.quiz__field[type="date"] { color-scheme: dark; }

/* mensagem de validação — discreta e só aparece quando o usuário tenta
   avançar sem preencher. ANTES tinha display:flex, que vencia o atributo
   [hidden] e deixava o aviso sempre visível (bug do alerta no load). */
.quiz__error[hidden] { display: none; }
.quiz__error {
  color: #ff9a9a; font-family: var(--font-ui); font-size: 0.85rem;
  margin-top: 0.8rem; line-height: 1.4;
}

/* consentimento LGPD (aparece só quando o aluno é menor) — card destacado */
.quiz__consent-card {
  margin-top: 1.4rem; padding: var(--sp-5);
  border-radius: var(--radius-lg);
  background: radial-gradient(500px 220px at 0% 0%, rgba(255, 180, 46, 0.12), transparent 60%), var(--surface-2);
  border: 1px solid rgba(255, 180, 46, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 180, 46, 0.12), 0 18px 40px -24px rgba(255, 180, 46, 0.5);
  transition: border-color var(--t), box-shadow var(--t);
}
.quiz__consent-card.is-error {
  border-color: var(--danger);
  box-shadow: 0 0 0 1px rgba(255, 93, 93, 0.35), 0 18px 40px -22px rgba(255, 93, 93, 0.6);
  animation: shakeX 0.32s var(--ease);
}
.quiz__consent-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--gold); }
.quiz__consent-text { font-family: var(--font-ui); font-size: 0.88rem; color: var(--text-2); margin-top: 0.4rem; }

.quiz__consent {
  display: flex; gap: 0.75rem; align-items: flex-start; cursor: pointer;
  margin-top: 0.9rem; padding: 0.95rem 1rem;
  font-family: var(--font-ui); font-size: 0.86rem; color: var(--text); line-height: 1.5;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong);
  border-radius: var(--radius); transition: border-color var(--t-fast), background var(--t-fast);
}
.quiz__consent:hover { border-color: var(--gold); background: rgba(255, 180, 46, 0.06); }
.quiz__consent input { flex: none; width: 24px; height: 24px; margin-top: 0.05rem; cursor: pointer; accent-color: var(--lime); }
.quiz__consent-error { color: var(--danger); font-family: var(--font-ui); font-size: 0.82rem; font-weight: 600; margin-top: 0.7rem; }
@keyframes shakeX { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* categorias da pergunta de objetivos */
.quiz__multi-group { margin-top: 1.1rem; }
.quiz__multi-group:first-child { margin-top: 1.2rem; }
.quiz__multi-group__title {
  font-family: var(--font-ui); font-weight: 600; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-2);
  margin-bottom: 0.55rem;
}

/* transição suave ao trocar de pergunta */
@media (prefers-reduced-motion: no-preference) {
  .quiz-app .quiz { animation: panelIn 0.28s var(--ease) both; }
}

/* ================================================================== */
/* BLOCO 2.3b — Ajustes do quiz (e-mail, data, dias) + aviso suave     */
/* ================================================================== */

/* data de nascimento: 3 seletores Dia / Mês / Ano (cara da Iralu, não form padrão) */
.quiz__birth { display: grid; grid-template-columns: 0.9fr 1.5fr 1fr; gap: 0.6rem; margin-top: 1.2rem; }
.quiz__select {
  width: 100%; font: inherit; font-weight: 500; color: var(--text); color-scheme: dark;
  background-color: var(--ink-800);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 0.95rem 2.2rem 0.95rem 0.9rem; cursor: pointer;
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  /* seta custom no tom da marca */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23b4f03a' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.quiz__select:hover { border-color: var(--lime); }
.quiz__select:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(180, 240, 58, 0.14); }

/* chips multi-seleção (dias da semana E períodos) — mobile first */
.quiz__multi { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.2rem; }
.quiz__chip {
  font-family: var(--font-ui); font-weight: 600; font-size: 0.95rem;
  padding: 0.72rem 1.1rem; border-radius: var(--radius-pill);
  background: var(--ink-800); border: 1px solid var(--line-strong); color: var(--text-2);
  transition: transform var(--t-fast), background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.quiz__chip:hover { border-color: var(--lime); transform: translateY(-1px); }
.quiz__chip.is-on {
  background: var(--grad-brand); border-color: transparent; color: var(--on-accent);
  box-shadow: 0 8px 20px -10px rgba(180, 240, 58, 0.5);
}

/* aviso de validação — mais suave, sem ícone de alerta agressivo */
.quiz__error { color: #ff9a9a; font-family: var(--font-ui); font-size: 0.82rem; margin-top: 0.75rem; }
.quiz__error::before { content: none; }

/* ================================================================== */
/* SPRINT DE CORREÇÕES — disco do hero + estrutura de conquistas       */
/* ================================================================== */

/* Disco escuro INTENCIONAL atrás da logo no hero (premium, não erro).  */
/* A logo em si é PNG transparente; isto é só um halo/disco de fundo.   */
.hero__art::before {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: min(80%, 300px); aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(17, 198, 166, 0.14), rgba(8, 12, 17, 0) 68%),
    radial-gradient(circle at 50% 60%, rgba(180, 240, 58, 0.08), rgba(8, 12, 17, 0) 70%);
  z-index: -1;
}

/* Conquistas — estrutura preparada para animação/compartilhamento.     */
/* (.ach mantém o visual atual; achievement-card--* são ganchos novos.) */
.ach { position: relative; }
.ach__share {
  position: absolute; top: 6px; right: 6px;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.72rem; line-height: 1;
  background: rgba(8, 12, 17, 0.6); border: 1px solid var(--line-strong); color: var(--lime);
  opacity: 0; transform: scale(0.85);
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.achievement-card--shareable:hover .ach__share,
.ach__share:focus-visible { opacity: 1; transform: scale(1); }
/* no toque (mobile) o botão fica levemente visível, já que não há hover */
@media (hover: none) {
  .achievement-card--shareable .ach__share { opacity: 0.6; transform: scale(1); }
}
.achievement-card--shareable { transition: transform var(--t-fast); }
.achievement-card--shareable:hover { transform: translateY(-2px); }

/* campo de texto longo do quiz (idades da família / dúvida) */
.quiz__field--area { min-height: 112px; resize: vertical; line-height: 1.5; }

/* ================================================================== */
/* QUIZ v3 — descrição nas opções, ações do resumo, tela de obrigado   */
/* ================================================================== */

/* opção de escolha com descrição curta */
.quiz__opt--desc { align-items: flex-start; }
.quiz__opt--desc .mark { margin-top: 2px; }
.quiz__opt-txt { display: flex; flex-direction: column; gap: 0.15rem; }
.quiz__opt-label { font-weight: 600; }
.quiz__opt-desc { font-family: var(--font-body); font-weight: 400; font-size: 0.82rem; color: var(--text-3); line-height: 1.35; }

/* ações do resumo / obrigado */
.quiz__summary-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
.quiz__summary-actions .btn { flex: 1 1 auto; }

/* tela de obrigado */
.thanks { text-align: center; }
.thanks__check {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1rem;
  display: grid; place-items: center; font-size: 2rem; font-weight: 800;
  color: var(--on-accent); background: var(--grad-brand); box-shadow: var(--glow-lime);
}
.thanks .quiz__q { text-align: center; }
.thanks__text { color: var(--text-2); margin: 0.8rem auto 0; max-width: 46ch; }
.thanks__priority {
  margin-top: 1.6rem; padding: var(--sp-5);
  border: 1px solid rgba(37, 211, 102, 0.3); border-radius: var(--radius-lg);
  background: radial-gradient(500px 240px at 50% 0%, rgba(37, 211, 102, 0.10), transparent 60%), var(--surface);
}
.thanks__priority strong { font-family: var(--font-display); font-size: 1.2rem; }
.thanks__priority p { color: var(--text-2); font-size: 0.92rem; margin: 0.4rem 0 1.1rem; }
.thanks__note { color: var(--text-3); font-size: 0.85rem; margin-top: 1.2rem; }

/* ================================================================== */
/* ÁREA DO ALUNO v1 — chips, modais, formulários, partidas, admin     */
/* ================================================================== */

/* chips de rating / streak / XP no topo do jogador */
.pl-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }
.pl-chip {
  display: flex; flex-direction: column; gap: 0.1rem; align-items: flex-start;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 0.5rem 0.8rem; flex: 1; min-width: 90px;
}
.pl-chip b { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; }
.pl-chip span { font-family: var(--font-ui); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); }

/* lista de partidas (aba Partidas) */
.match-list { display: grid; gap: 0.7rem; padding: var(--sp-4); }
.match { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-4); }
.match__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.6rem; }
.match__body .t { font-family: var(--font-ui); font-weight: 600; font-size: 0.95rem; }
.match__body .s { font-size: 0.8rem; color: var(--text-3); margin-top: 0.15rem; }
.match__actions { display: flex; gap: 0.5rem; margin-top: 0.8rem; flex-wrap: wrap; }
.status--void { background: rgba(255, 255, 255, 0.06); color: var(--text-3); }

/* modal (treino / partida) */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(3, 6, 9, 0.72); backdrop-filter: blur(4px); }
.modal__box {
  position: relative; z-index: 1; width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-pop); animation: panelIn 0.25s var(--ease) both;
}
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: var(--sp-5) var(--sp-5) 0; }
.modal__head h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; }
.modal__x { font-size: 1.1rem; color: var(--text-3); width: 34px; height: 34px; border-radius: 50%; }
.modal__x:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.modal__body { padding: var(--sp-5); display: grid; gap: 0.9rem; }
.modal__foot { padding: 0 var(--sp-5) var(--sp-5); }

/* campos de formulário dentro dos modais */
.fld { display: grid; gap: 0.35rem; }
.fld > span { font-family: var(--font-ui); font-size: 0.8rem; color: var(--text-2); }
.sets { display: grid; gap: 0.5rem; }
.setrow { display: grid; grid-template-columns: 60px 1fr 1fr; align-items: center; gap: 0.5rem; }
.setrow > span { font-family: var(--font-ui); font-size: 0.82rem; color: var(--text-3); }
.setrow .quiz__field { margin-top: 0; padding: 0.7rem 0.8rem; text-align: center; }

/* botão de aprovar no admin */
.mini-btn--go { background: var(--lime); color: var(--on-accent); border-color: transparent; font-weight: 600; }
.mini-btn--go:hover { box-shadow: var(--glow-lime); color: var(--on-accent); }

/* ================================================================== */
/* SPRINT POLIMENTO + UX + CONVERSÃO                                   */
/* Bloco aditivo (no fim do arquivo de propósito). Não altera tokens.  */
/* Tudo com motion atrás de prefers-reduced-motion.                    */
/* ================================================================== */

/* ---- Item 3: chips de horário com descrição (subtítulo) ---------- */
.quiz__chip--desc {
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  flex: 1 1 150px; gap: 0.1rem; border-radius: var(--radius); padding: 0.7rem 0.85rem;
}
.quiz__chip-label { font-family: var(--font-ui); font-weight: 600; font-size: 0.92rem; line-height: 1.2; }
.quiz__chip-desc { font-family: var(--font-body); font-weight: 400; font-size: 0.76rem; color: var(--text-3); line-height: 1.3; }
.quiz__chip--desc.is-on .quiz__chip-desc { color: rgba(6, 20, 10, 0.72); }

/* ---- Item 2: objetivos mais compactos (grid responsivo) ---------- */
/* Só dentro dos grupos da pergunta de objetivos; dias/horários ficam  */
/* como estão (chips flex normais).                                    */
.quiz__multi-group { margin-top: 0.9rem; }
.quiz__multi-group:first-child { margin-top: 1rem; }
.quiz__multi-group__title { margin-bottom: 0.45rem; }
.quiz__multi-group .quiz__multi {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.45rem; margin-top: 0;
}
.quiz__multi-group .quiz__chip {
  font-size: 0.86rem; font-weight: 500; padding: 0.6rem 0.7rem;
  text-align: center; line-height: 1.25; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
}

/* ---- Item 4: dois acessos (aluno x professor) -------------------- */
.access-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.access-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 0.5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--sp-5); transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.access-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-brand); }
.access-card--prof::before { background: linear-gradient(118deg, var(--teal), var(--blue-deep)); }
.access-card h3 { font-size: 1.3rem; }
.access-card p { color: var(--text-2); font-size: 0.92rem; }
.access-card .btn { margin-top: 0.6rem; }
.access-card__tag {
  align-self: flex-start; font-family: var(--font-ui); font-weight: 700; font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--on-accent);
  background: var(--lime); padding: 0.28rem 0.6rem; border-radius: var(--radius-pill);
}
.access-card__tag--teal { background: var(--teal); color: #04201b; }
@media (hover: hover) { .access-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-card); } }
@media (min-width: 720px) { .access-grid { grid-template-columns: 1fr 1fr; } }

/* ---- Item 11: experiências Iralu (produtos) ---------------------- */
.exp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.8rem; }
.exp-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--sp-4); transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.exp-card__ic {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  font-size: 1.25rem; background: rgba(17, 198, 166, 0.12); margin-bottom: 0.6rem;
}
.exp-card h3 { font-size: 1.12rem; }
.exp-card p { color: var(--text-2); font-size: 0.85rem; margin-top: 0.25rem; }
@media (hover: hover) { .exp-card:hover { transform: translateY(-3px); border-color: var(--teal); box-shadow: var(--glow-teal); } }

/* ---- Item 10: B2B "leve a Iralu para o seu espaço" --------------- */
.b2b {
  border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line-strong); padding: var(--sp-6);
  background:
    radial-gradient(700px 360px at 100% 0%, rgba(180, 240, 58, 0.10), transparent 60%),
    radial-gradient(600px 320px at 0% 100%, rgba(17, 198, 166, 0.10), transparent 60%),
    var(--surface);
}
.b2b__head h2 { margin-top: 0.6rem; }
.b2b-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.8rem; margin-top: 1.6rem; }
.bcard {
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--sp-4); transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.bcard__ic { font-size: 1.5rem; }
.bcard h3 { font-size: 1.1rem; margin-top: 0.4rem; }
.bcard p { color: var(--text-2); font-size: 0.84rem; margin-top: 0.2rem; }
@media (hover: hover) { .bcard:hover { transform: translateY(-3px); border-color: var(--lime); box-shadow: var(--glow-lime); } }
.b2b__cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.8rem; }
@media (max-width: 520px) { .b2b__cta .btn { width: 100%; } }

/* ---- Item 9/12: placeholders de mídia com slug (intencionais) ----- */
.ph--media {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-ui); font-size: 0.78rem; color: var(--text-3);
  padding: 0.4rem 0.75rem; border: 1px dashed var(--line-strong); border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
}
.gallery__item[data-photo] { font-family: var(--font-ui); }

/* ---- Item 13: emblemas com mais presença visual ------------------ */
.ach--on {
  opacity: 1; border-color: rgba(255, 180, 46, 0.45);
  background: radial-gradient(120% 120% at 50% 0%, rgba(255, 180, 46, 0.12), transparent 62%), var(--surface);
}
.ach--on .ach__ic { filter: drop-shadow(0 2px 8px rgba(255, 180, 46, 0.35)); }
.ach--on .ach__t { color: var(--text-2); }
.ach--locked .ach__ic { filter: grayscale(1); opacity: 0.9; }

/* ---- Item 8: microinterações ------------------------------------- */
/* hover suave em cards que ainda não tinham */
.step, .news, .testi, .coach, .post { transition: transform var(--t), border-color var(--t), box-shadow var(--t); }
@media (hover: hover) {
  .step:hover, .news:hover, .testi:hover, .coach:hover { transform: translateY(-3px); border-color: var(--line-strong); }
  .post:hover { border-color: var(--line-strong); }
}

/* toast um pouco mais refinado (mantém o formato pílula) */
.toast {
  display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 500;
  box-shadow: var(--shadow-pop), 0 0 0 1px rgba(180, 240, 58, 0.10);
}

@media (prefers-reduced-motion: no-preference) {
  /* reveal ao rolar (app.js adiciona .reveal-scroll só abaixo da dobra) */
  .reveal-scroll { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
  .reveal-scroll.is-in { opacity: 1; transform: none; }

  /* pop ao curtir um post */
  @keyframes likePop { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }
  .post__actions span.is-pop { animation: likePop 0.32s var(--ease); }

  /* brilho ao desbloquear conquista */
  @keyframes achPulse {
    0%   { box-shadow: 0 0 0 0 rgba(180, 240, 58, 0.5); transform: scale(1); }
    30%  { box-shadow: 0 0 24px 5px rgba(180, 240, 58, 0.55); transform: scale(1.06); }
    100% { box-shadow: 0 0 0 0 rgba(180, 240, 58, 0); transform: scale(1); }
  }
  .ach.is-justunlocked { animation: achPulse 1.4s var(--ease); border-color: var(--lime); }
}

/* ---- Item 5: passada mobile-first (telas pequenas) --------------- */
@media (max-width: 480px) {
  .section { padding-block: var(--sp-7); }
  .quiz { padding: var(--sp-5) var(--sp-4); }
  .quiz__q { font-size: 1.4rem; }
  .pl-hero { padding: var(--sp-4); }
  .pl-hero__name { font-size: 1.3rem; }
  .pl-hero__pts .n { font-size: 1.45rem; }
  .pl-hero__actions { flex-direction: column; }
  .app-tab { font-size: 0.76rem; padding: 0.55rem 0.3rem; }
  .b2b { padding: var(--sp-5); }
}
