/* ==========================================================
   Viva Cristo — Todos os dias
   ========================================================== */
:root {
  --gold: #E8B503;
  --gold-2: #ffd84d;
  --gold-soft: rgba(232, 181, 3, .12);
  --gold-line: rgba(232, 181, 3, .28);
  --bg: #0b0b0d;
  --bg-2: #121216;
  --surface: #17171c;
  --surface-2: #1e1e25;
  --line: rgba(255, 255, 255, .08);
  --text: #f4f2ec;
  --muted: #a9a69d;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1200px;
  --header-h: 76px;
  --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--gold); color: #111; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--gold); color: #111; padding: 10px 16px; border-radius: 8px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }
.text-gold { color: var(--gold); }

/* ---------- Progress bar ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), border-color .35s, height .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(11, 11, 13, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); height: 66px; }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 88px; transition: transform .4s var(--ease); }
.brand:hover img { transform: scale(1.04); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 10px 16px; font-size: .92rem; font-weight: 600; color: var(--muted);
  border-radius: 999px; transition: color .25s, background .25s;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav a[aria-current="page"] { color: var(--gold); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--gold); }
.nav .btn { margin-left: 8px; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.nav .btn:hover { color: #fff; background: var(--gold); }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; position: relative; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  background: var(--gold); color: #141414; border: 1px solid var(--gold);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(232, 181, 3, .6); }
.btn:hover::before { transform: translateX(120%); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,.18); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); box-shadow: none; }
.btn--sm { padding: 10px 18px; font-size: .85rem; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section--alt { background: var(--bg-2); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold-line); }
.section-title { font-size: clamp(2rem, 4.2vw, 3rem); }
.section-sub { color: var(--muted); font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px; overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg::before {
  content: ""; position: absolute; left: 50%; top: -30%; width: 1100px; height: 1100px; margin-left: -550px;
  background: radial-gradient(circle, rgba(232,181,3,.22) 0%, rgba(232,181,3,.06) 35%, transparent 65%);
  animation: breathe 9s ease-in-out infinite;
}
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, var(--bg) 100%); }
.particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__inner { text-align: center; max-width: 900px; margin: 0 auto; }
.hero__logo { width: min(300px, 70vw); margin: 0 auto 28px; filter: drop-shadow(0 20px 40px rgba(232,181,3,.25)); animation: float 6s ease-in-out infinite; }
.hero h1 { font-size: clamp(2.4rem, 6.4vw, 4.8rem); font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; margin-bottom: 20px; }
.hero h1 .line { display: block; }
.hero h1 .text-gold { background: linear-gradient(90deg, var(--gold), var(--gold-2), var(--gold)); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 5s linear infinite; }
.hero__lead { font-size: clamp(1.02rem, 1.8vw, 1.2rem); color: var(--muted); max-width: 640px; margin: 0 auto 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__verse { margin: 56px auto 0; max-width: 620px; min-height: 96px; font-family: var(--font-serif); font-style: italic; color: #d9d5ca; font-size: 1.08rem; }
.hero__verse cite { display: block; margin-top: 8px; font-family: var(--font-sans); font-style: normal; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.hero__verse .rot { transition: opacity .6s, transform .6s var(--ease); }
.hero__verse .rot.is-out { opacity: 0; transform: translateY(10px); }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.25); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: scrollcue 1.8s var(--ease) infinite; }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: calc(var(--header-h) + 90px) 0 80px; text-align: center; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; left: 50%; top: -420px; width: 900px; height: 900px; margin-left: -450px; z-index: -1; background: radial-gradient(circle, rgba(232,181,3,.18), transparent 60%); }
.page-hero h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 900; text-transform: uppercase; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0 auto; font-size: 1.08rem; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: .82rem; color: var(--muted); margin-bottom: 18px; list-style: none; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Meditação do dia ---------- */
.today {
  position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: 28px; overflow: hidden;
  background: linear-gradient(135deg, #1b1a14, #121215 60%); border: 1px solid var(--gold-line); box-shadow: var(--shadow);
}
.today__side { position: relative; isolation: isolate; overflow: hidden; padding: 48px; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; background: #15140f; border-right: 1px solid var(--gold-line); }
.today__side::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("/img/meditacao-hoje.webp") center 40% / cover no-repeat; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.today__side::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11,11,13,.82) 0%, rgba(11,11,13,.25) 55%, transparent 80%), linear-gradient(135deg, rgba(232,181,3,.78) 0%, rgba(232,181,3,.5) 100%); }
.today:hover .today__side::before { transform: scale(1.12); }
.today__date { font-size: .82rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 14px; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.today__day { font-size: clamp(4rem, 9vw, 6.5rem); font-weight: 900; line-height: .9; color: #fff; text-shadow: 0 6px 30px rgba(0,0,0,.45); }
.today__month { font-size: 1.1rem; font-weight: 600; color: rgba(255,255,255,.88); margin-top: 8px; }
.today__badge { position: absolute; top: 24px; right: 24px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(11,11,13,.55); color: var(--gold); backdrop-filter: blur(6px); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.today__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 1.8s infinite; }
.today__body { padding: 48px; }
.today__body h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.today__text { font-family: var(--font-serif); font-size: 1.12rem; color: #dcd8cd; }
.today__ref { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--gold); margin: 6px 0 22px; }
.today__ref svg { width: 20px; height: 20px; }
.today__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Filtros ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.chip {
  padding: 9px 18px; border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line); transition: all .25s var(--ease);
}
.chip:hover { color: var(--text); border-color: rgba(255,255,255,.2); }
.chip.is-active { background: var(--gold); border-color: var(--gold); color: #141414; }

/* ---------- Grid de meditações (3 colunas) ---------- */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.med {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; padding: 32px 28px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: transform .45s var(--ease), border-color .35s, box-shadow .45s var(--ease);
}
.med::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(232,181,3,.10), transparent 45%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.med:hover { transform: translateY(-6px); border-color: var(--gold-line); box-shadow: 0 24px 50px -24px rgba(232,181,3,.35); }
.med:hover::before { opacity: 1; }
.med.is-hidden { display: none; }
.med.is-today { border-color: var(--gold); }
.med__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.med__num { font-size: .78rem; font-weight: 800; letter-spacing: .14em; color: var(--muted); }
.med__tag { padding: 5px 12px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.med__today { display: none; margin-left: auto; padding: 5px 10px; border-radius: 999px; background: var(--gold); color: #141414; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.med.is-today .med__today { display: inline-block; }
.med h3 { font-size: 1.3rem; margin-bottom: 14px; }
.med__text { font-family: var(--font-serif); color: #d6d2c7; font-size: 1.01rem; flex: 1; }
.med__step { margin: 4px 0 22px; padding: 14px 16px; border-left: 3px solid var(--gold); background: rgba(232,181,3,.06); border-radius: 0 10px 10px 0; font-size: .9rem; color: #e7e3d8; }
.med__step strong { color: var(--gold); display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 2px; }
.med__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px dashed rgba(255,255,255,.12); }
.med__ref { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; }
.med__ref svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.med__ref small { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; letter-spacing: .04em; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--muted); transition: all .25s var(--ease); flex: none; }
.icon-btn:hover { color: #141414; background: var(--gold); border-color: var(--gold); transform: rotate(-6deg) scale(1.05); }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- Materiais ---------- */
.mat-grid { display: grid; gap: 28px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mat { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), border-color .35s, box-shadow .5s var(--ease); transform-style: preserve-3d; }
.mat:hover { border-color: var(--gold-line); box-shadow: 0 30px 60px -30px rgba(232,181,3,.4); }
.mat__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #0f0f12; }
.mat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.mat:hover .mat__media img { transform: scale(1.06); }
.mat__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)); opacity: 0; transition: opacity .4s; }
.mat:hover .mat__media::after { opacity: 1; }
.mat__open { position: absolute; z-index: 2; pointer-events: none; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--gold); color: #141414; font-weight: 700; font-size: .85rem; opacity: 0; transform: translateY(12px); transition: all .4s var(--ease); }
.mat__open svg { width: 16px; height: 16px; }
.mat:hover .mat__open, .mat:focus-within .mat__open { opacity: 1; transform: none; }
.mat__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.mat__cat { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.mat__body h3 { font-size: 1.2rem; margin: 0; }
.mat__body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.mat__body p { color: var(--muted); font-size: .93rem; margin: 0; }
.mat__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; position: relative; z-index: 3; }
.mat__links a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--text); transition: all .25s; }
.mat__links a:hover { border-color: var(--gold); color: var(--gold); }
.mat__links svg { width: 14px; height: 14px; }
.mat.is-hidden { display: none; }

.search { position: relative; max-width: 460px; margin: 0 auto 22px; }
.search input { width: 100%; padding: 15px 20px 15px 50px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font: inherit; font-size: .95rem; transition: border-color .25s, box-shadow .25s; }
.search input::placeholder { color: #7a776f; }
.search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.search svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); }
.empty { display: none; text-align: center; color: var(--muted); padding: 40px 0; }
.empty.is-visible { display: block; }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; border-radius: 8px; transform: rotate(-2deg); transition: transform .8s var(--ease); filter: drop-shadow(0 30px 50px rgba(0,0,0,.6)); }
.about__media:hover img { transform: rotate(0deg) scale(1.02); }
.about__media::before { content: ""; position: absolute; inset: 10% -6% -6% 10%; border-radius: 30px; background: radial-gradient(circle, rgba(232,181,3,.25), transparent 70%); z-index: -1; filter: blur(30px); }
.about__text h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
.about__text p { color: #d4d0c5; font-size: 1.06rem; }
.about__text .highlight { font-weight: 900; font-size: 1.25rem; color: var(--gold); letter-spacing: .02em; }

.values { display: grid; gap: 22px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.value { padding: 30px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s; }
.value:hover { transform: translateY(-6px); border-color: var(--gold-line); }
.value__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); margin-bottom: 20px; }
.value__icon svg { width: 26px; height: 26px; }
.value h3 { font-size: 1.12rem; }
.value p { color: var(--muted); font-size: .94rem; margin: 0; }

.steps { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: step; }
.step { position: relative; padding: 34px 28px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 3rem; font-weight: 900; line-height: 1; margin-bottom: 14px; color: transparent; -webkit-text-stroke: 1px var(--gold); }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

.quote { position: relative; max-width: 860px; margin: 0 auto; text-align: center; }
.quote svg { width: 48px; height: 48px; color: var(--gold); opacity: .6; margin: 0 auto 14px; }
.quote blockquote { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.45; }
.quote cite { display: block; margin-top: 18px; font-style: normal; font-weight: 700; color: var(--gold); letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s; }
.faq details[open] { border-color: var(--gold-line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 24px 20px; margin: 0; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 70px 48px; border-radius: 30px; text-align: center; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, #e8b503, #c99a00); color: #141414; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-conic-gradient(from 180deg at 50% 0%, rgba(255,255,255,.16) 0deg 4deg, transparent 4deg 14deg); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 75%); }
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; text-transform: uppercase; }
.cta p { max-width: 560px; margin: 0 auto 28px; font-weight: 500; }
.cta .btn { background: #141414; color: var(--gold); border-color: #141414; }
.cta .btn:hover { box-shadow: 0 14px 30px -12px rgba(0,0,0,.6); }
.cta .btn--ghost { background: transparent; color: #141414; border-color: rgba(0,0,0,.35); }
.cta .btn--ghost:hover { border-color: #141414; color: #141414; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Footer ---------- */
.footer { padding: 80px 0 30px; border-top: 1px solid var(--line); background: #08080a; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; margin-bottom: 50px; }
.footer__brand img { width: 130px; margin-bottom: 18px; }
.footer__brand p { color: var(--muted); max-width: 360px; font-size: .95rem; }
.footer h4 { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); font-size: .95rem; transition: color .2s, padding .3s var(--ease); }
.footer ul a:hover { color: var(--text); padding-left: 4px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; border-top: 1px solid var(--line); color: #77746c; font-size: .85rem; }

/* ---------- Back to top / Toast ---------- */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #141414; box-shadow: 0 10px 30px -10px rgba(232,181,3,.7); opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: all .4s var(--ease); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 150; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; padding: 12px 20px; border-radius: 999px; background: var(--text); color: #111; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow); transition: all .4s var(--ease); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal animations ---------- */
.js [data-reveal] { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.js [data-reveal="up"] { transform: translateY(40px); }
.js [data-reveal="down"] { transform: translateY(-30px); }
.js [data-reveal="left"] { transform: translateX(-50px); }
.js [data-reveal="right"] { transform: translateX(50px); }
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Hero intro */
.js .hero [data-intro] { opacity: 0; transform: translateY(30px); animation: intro 1s var(--ease) forwards; animation-delay: var(--d, 0s); }

@keyframes intro { to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes breathe { 0%, 100% { opacity: .8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes shine { to { background-position: 200% center; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(232,181,3,.6); } 70% { box-shadow: 0 0 0 10px rgba(232,181,3,0); } 100% { box-shadow: 0 0 0 0 rgba(232,181,3,0); } }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Utilitários ---------- */
.center-cta { text-align: center; margin-top: 48px; }

/* ---------- Página de estudo ---------- */
.study-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + 70px) 0 90px; }
.study-hero::before { content: ""; position: absolute; inset: -20px; z-index: -2; background: var(--bg) var(--hero-img) center / cover no-repeat; transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
.study-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,11,13,.95) 0%, rgba(11,11,13,.82) 45%, rgba(11,11,13,.55) 100%), linear-gradient(180deg, transparent 60%, var(--bg) 100%); }
.study-hero__grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 56px; align-items: center; }
.study-hero .breadcrumb { justify-content: flex-start; }
.study-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; margin-bottom: 10px; }
.study-hero__sub { font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; color: var(--gold); margin-bottom: 14px; }
.study-hero__lead { color: #d8d4c9; font-size: 1.1rem; max-width: 560px; }
.study-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 28px; }
.study-meta span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); font-size: .84rem; font-weight: 600; color: #e5e1d6; backdrop-filter: blur(6px); }
.study-meta svg { width: 16px; height: 16px; color: var(--gold); }
.study-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.study-hero__cover { width: 100%; max-width: 340px; justify-self: end; border-radius: 22px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px var(--gold-line); transform: rotate(2deg); transition: transform .6s var(--ease); }
.study-hero__cover:hover { transform: rotate(0) scale(1.02); }

.study { padding-top: 70px; }
.study__layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 20px); }
.toc h2 { font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0 0 0 2px; border-left: 1px solid var(--line); counter-reset: toc; }
.toc a { display: block; padding: 8px 0 8px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); font-size: .9rem; line-height: 1.4; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--text); }
.toc a.is-active { color: var(--gold); border-left-color: var(--gold); font-weight: 600; }

.study__content { max-width: 820px; min-width: 0; }
.study__intro p { font-family: var(--font-serif); font-size: 1.22rem; line-height: 1.7; color: #e6e2d7; }
.study__intro p:first-child::first-letter { float: left; font-family: var(--font-sans); font-size: 3.6rem; line-height: .9; font-weight: 900; color: var(--gold); margin: 6px 12px 0 0; }
.study__sec { padding-top: 56px; }
.study__sec > h2 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 22px; }
.study__sec > h2 .num { font-size: .95rem; font-weight: 800; color: var(--gold); letter-spacing: .08em; flex: none; }
.study__sec > p { color: #d4d0c5; font-size: 1.05rem; }

.s-cards { display: grid; gap: 16px; margin: 6px 0 22px; }
.s-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.s-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.s-card { position: relative; padding: 24px 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s; }
.s-card::before { content: ""; position: absolute; left: 22px; top: 0; width: 34px; height: 3px; border-radius: 0 0 3px 3px; background: var(--gold); }
.s-card:hover { transform: translateY(-4px); border-color: var(--gold-line); }
.s-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.s-card p { color: #c9c5ba; font-size: .95rem; margin: 0; }
.s-card__ref { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: .8rem; font-weight: 700; color: var(--gold); }
.s-card__ref svg { width: 15px; height: 15px; }

.s-steps { list-style: none; margin: 6px 0 22px; padding: 0; counter-reset: s; display: grid; gap: 14px; }
.s-steps li { counter-increment: s; position: relative; padding: 20px 22px 20px 74px; border-radius: 16px; background: linear-gradient(90deg, rgba(232,181,3,.07), transparent 70%); border: 1px solid var(--line); }
.s-steps li::before { content: counter(s); position: absolute; left: 20px; top: 18px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #141414; font-weight: 900; }
.s-steps h3 { font-size: 1.05rem; margin-bottom: 4px; }
.s-steps p { margin: 0; color: #c9c5ba; font-size: .96rem; }

.s-list, .s-checklist { list-style: none; margin: 6px 0 22px; padding: 0; display: grid; gap: 12px; }
.s-list li { display: flex; gap: 12px; align-items: flex-start; color: #d4d0c5; }
.s-list svg { flex: none; width: 22px; height: 22px; padding: 4px; margin-top: 2px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); }
.s-checklist label { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; transition: border-color .25s, background .25s; }
.s-checklist label:hover { border-color: var(--gold-line); }
.s-checklist input, .day input { position: absolute; opacity: 0; pointer-events: none; }
.box, .day__box { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid rgba(255,255,255,.25); display: grid; place-items: center; transition: all .25s var(--ease); }
.box svg, .day__box svg { width: 14px; height: 14px; color: #141414; transform: scale(0); transition: transform .25s var(--ease); }
.s-checklist input:checked + .box, .day input:checked + .day__box { background: var(--gold); border-color: var(--gold); }
.s-checklist input:checked + .box svg, .day input:checked + .day__box svg { transform: scale(1); }
.s-checklist input:checked ~ span:last-child { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--gold); }
.s-checklist input:focus-visible + .box, .check input:focus-visible + .box, .day input:focus-visible + .day__box { outline: 2px solid var(--gold); outline-offset: 2px; }

.verse { position: relative; margin: 26px 0; padding: 26px 28px 24px 70px; border-radius: 18px; background: linear-gradient(135deg, #1c1a12, #141417); border: 1px solid var(--gold-line); }
.verse svg { position: absolute; left: 22px; top: 24px; width: 32px; height: 32px; color: var(--gold); opacity: .8; }
.verse p { font-family: var(--font-serif); font-style: italic; font-size: 1.18rem; line-height: 1.6; margin: 0 0 10px; color: #f0ece1; }
.verse cite { font-style: normal; font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

.s-figure { margin: 10px 0 26px; }
.s-figure img { width: 100%; border-radius: 18px; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: var(--shadow); }
.s-figure figcaption { margin-top: 10px; font-size: .88rem; color: var(--muted); font-style: italic; text-align: center; }

.s-callout { margin: 22px 0; padding: 22px 26px; border-radius: 16px; background: var(--gold); color: #141414; font-weight: 600; }
.s-callout p { margin: 0; }

.s-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 6px 0 22px; }
.s-stat { padding: 26px 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.s-stat strong { display: block; font-size: 2.3rem; font-weight: 900; line-height: 1; color: var(--gold); margin-bottom: 10px; }
.s-stat h3 { font-size: 1rem; margin-bottom: 6px; }
.s-stat p { margin: 0; color: #c9c5ba; font-size: .9rem; }

.commands { list-style: none; margin: 6px 0 22px; padding: 0; display: grid; gap: 14px; }
.commands li { display: flex; gap: 20px; padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s; }
.commands li:hover { border-color: var(--gold-line); }
.commands__n { flex: none; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; font-weight: 900; color: var(--gold); border: 2px solid var(--gold); }
.commands h3 { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 1.2rem; margin-bottom: 4px; }
.commands cite { display: block; font-style: normal; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.commands p { margin: 0; color: #c9c5ba; font-size: .96rem; }

.study__share { margin-top: 56px; padding: 26px 28px; border-radius: 18px; background: var(--surface); border: 1px solid var(--gold-line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.study__share p { margin: 0; color: #d4d0c5; max-width: 440px; }
.study__share-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.study__credits { margin-top: 22px; font-size: .78rem; color: #77746c; }
.study__credits a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.2); }
.study__credits a:hover { color: var(--gold); }

/* ---------- Plano de leitura 275 dias ---------- */
.plan__status { display: flex; align-items: center; gap: 28px; margin: 10px 0 24px; padding: 26px; border-radius: 20px; background: linear-gradient(135deg, #1c1a12, #141417); border: 1px solid var(--gold-line); }
.plan__ring { --p: 0; flex: none; width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--gold) calc(var(--p) * 1%), rgba(255,255,255,.08) 0); transition: background .6s; position: relative; }
.plan__ring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #17161a; }
.plan__ring span { position: relative; font-size: 1.4rem; font-weight: 900; }
.plan__info strong { display: block; font-size: 1.2rem; }
.plan__info > span { display: block; color: var(--muted); margin: 4px 0 14px; }
.plan__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.plan__filters { justify-content: flex-start; margin-bottom: 26px; }
.plan__group { margin-bottom: 30px; }
.plan__group h3 { display: flex; flex-direction: column; gap: 2px; font-size: 1.02rem; font-weight: 700; color: #e6e2d7; margin-bottom: 14px; }
.plan__group h3 span { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.plan__days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 10px; }
.day { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; transition: border-color .25s, background .25s, transform .25s var(--ease); }
.day:hover { border-color: var(--gold-line); transform: translateY(-2px); }
.day__box { grid-row: span 2; }
.day__n { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.2; }
.day__r { font-size: .88rem; font-weight: 600; line-height: 1.3; }
.day:has(input:checked) { background: rgba(232,181,3,.08); border-color: var(--gold-line); }
.day:has(input:checked) .day__r { color: var(--muted); }
.day.is-next { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.plan__days li.is-hidden, .plan__group.is-hidden { display: none; }

@keyframes heroZoom { to { transform: scale(1); } }

/* ==========================================================
   Contas, progresso e gamificação
   ========================================================== */
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.link { color: var(--gold); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(232,181,3,.35); text-underline-offset: 3px; }
.link:hover { text-decoration-color: var(--gold); }
.link-btn { padding: 0; font: inherit; font-weight: 600; cursor: pointer; }
.btn--block { width: 100%; }
.btn--danger { background: #e5484d; border-color: #e5484d; color: #fff; }
.btn--danger:hover { box-shadow: 0 12px 30px -10px rgba(229,72,77,.6); }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { border-radius: 18px; background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: sk 1.4s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }

/* Link da conta no menu */
.nav .nav__account { display: inline-flex; align-items: center; gap: 8px; color: var(--text); border: 1px solid var(--line); }
.nav .nav__account svg { width: 18px; height: 18px; color: var(--gold); }
.nav .nav__account.is-logged { border-color: var(--gold-line); }
.nav .nav__account .initial { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #141414; font-size: .75rem; font-weight: 800; }

/* ---------- Formulários ---------- */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .86rem; font-weight: 600; color: #dcd8cd; }
.field input, .select select {
  width: 100%; padding: 13px 16px; border-radius: 12px; background: #101013; border: 1px solid rgba(255,255,255,.12);
  color: var(--text); font: inherit; font-size: .96rem; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .select select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.field input:disabled { opacity: .6; }
.field input.is-invalid { border-color: #e5484d; }
.field__err { margin: 0; min-height: 0; font-size: .82rem; color: #ff8b8e; }
.field__err:empty { display: none; }
.field__hint { margin: -8px 0 14px; font-size: .8rem; color: var(--muted); }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 48px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); }
.pw-toggle:hover, .pw-toggle.is-on { color: var(--gold); }
.pw-toggle svg { width: 18px; height: 18px; }
.strength { height: 5px; border-radius: 5px; background: rgba(255,255,255,.08); margin: -8px 0 12px; overflow: hidden; }
.strength span { display: block; height: 100%; width: 0; border-radius: 5px; background: #e5484d; transition: width .3s var(--ease), background .3s; }
.check { position: relative; display: flex; align-items: center; gap: 10px; font-size: .88rem; color: #dcd8cd; cursor: pointer; margin-bottom: 12px; flex-wrap: wrap; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check input:checked + .box { background: var(--gold); border-color: var(--gold); }
.check input:checked + .box svg { transform: scale(1); }
.check input:focus-visible + .box { outline: 2px solid var(--gold); outline-offset: 2px; }
.alert { padding: 12px 16px; border-radius: 12px; font-size: .9rem; margin-bottom: 18px; border: 1px solid; }
.alert--error { background: rgba(229,72,77,.1); border-color: rgba(229,72,77,.4); color: #ffb3b5; }
.alert--ok { background: rgba(70,180,110,.1); border-color: rgba(70,180,110,.4); color: #a8e6bd; }
.alert--info { background: var(--gold-soft); border-color: var(--gold-line); color: #f3dd8a; }

/* ---------- Páginas de login / cadastro ---------- */
.auth-page { position: relative; padding: calc(var(--header-h) + 60px) 0 90px; isolation: isolate; overflow: hidden; }
.auth-page::before { content: ""; position: absolute; left: 50%; top: -380px; width: 900px; height: 900px; margin-left: -450px; z-index: -1; background: radial-gradient(circle, rgba(232,181,3,.16), transparent 60%); }
.auth-grid { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 64px; align-items: center; justify-content: center; }
.auth-grid--single { grid-template-columns: minmax(0, 460px); }
.auth-card { padding: 38px 34px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.auth-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); margin-bottom: 18px; }
.auth-icon svg { width: 26px; height: 26px; }
.auth-card h1 { font-size: 1.8rem; margin-bottom: 6px; }
.auth-sub { color: var(--muted); font-size: .95rem; margin-bottom: 24px; }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.auth-row .check { margin: 0; }
.auth-row .link { font-size: .86rem; }
.auth-foot { margin: 22px 0 0; text-align: center; color: var(--muted); font-size: .92rem; }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 13px 18px; border-radius: 999px; background: #fff; color: #1f1f1f; font-weight: 700; font-size: .95rem; transition: transform .25s var(--ease), box-shadow .25s; }
.btn-google:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(255,255,255,.4); }
.btn-google svg { width: 20px; height: 20px; }
.divider { display: flex; align-items: center; gap: 14px; margin: 20px 0; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-perks h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.auth-perks ul { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 20px; }
.auth-perks li { display: flex; gap: 16px; }
.auth-perks li p { margin: 2px 0 0; color: var(--muted); font-size: .93rem; }
.perk-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); }
.perk-ic svg { width: 22px; height: 22px; }
.perk-medals { display: flex; gap: 14px; }
.perk-medals .medal:nth-child(2) { animation-delay: .4s; }
.perk-medals .medal:nth-child(3) { animation-delay: .8s; }
.perk-medals .medal:nth-child(4) { animation-delay: 1.2s; }
.legal { max-width: 820px; }
.legal h2 { font-size: 1.3rem; margin-top: 34px; }
.legal p, .legal li { color: #d4d0c5; }
.legal a { color: var(--gold); text-decoration: underline; }

/* ---------- Medalhas ---------- */
.medal { --s: 84px; position: relative; flex: none; width: var(--s); height: var(--s); border-radius: 50%; display: grid; place-items: center; color: #3a2c00;
  background: radial-gradient(circle at 30% 25%, #fff3b8 0%, #ffd84d 25%, #e8b503 55%, #a87f00 100%);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.35), inset 0 -6px 12px rgba(0,0,0,.25), 0 10px 26px -8px rgba(232,181,3,.6); }
.medal::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 2px dashed rgba(90,64,0,.35); }
.medal::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); background-size: 250% 100%; animation: medalShine 4s ease-in-out infinite; }
.medal svg { position: relative; z-index: 1; width: 44%; height: 44%; }
.medal--sm { --s: 52px; }
.medal--lg { --s: 132px; }
.medal.is-locked { color: #5a5850; background: radial-gradient(circle at 30% 25%, #2b2a30, #19191d); box-shadow: inset 0 0 0 2px rgba(255,255,255,.06); }
.medal.is-locked::before { border-color: rgba(255,255,255,.08); }
.medal.is-locked::after { display: none; }
@keyframes medalShine { 0%, 60% { background-position: 150% 0; } 100% { background-position: -100% 0; } }

/* ---------- Caixa "marcar como lido" ---------- */
.read-box { margin-top: 56px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px 22px; padding: 26px 28px; border-radius: 20px; background: linear-gradient(135deg, #1f1b0c, #141417); border: 1px solid var(--gold-line); }
.read-box__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--gold); color: #141414; }
.read-box__icon svg { width: 28px; height: 28px; }
.read-box__text strong { font-size: 1.12rem; display: block; }
.read-box__text p { margin: 2px 0 0; color: #cfcbc0; font-size: .95rem; }
.read-box__text b { color: var(--gold); }
.read-box__hint { grid-column: 1 / -1; margin: 0; font-size: .86rem; color: var(--muted); padding-top: 14px; border-top: 1px dashed rgba(255,255,255,.1); }
.read-box__hint a { color: var(--gold); font-weight: 600; text-decoration: underline; }
.read-box.is-done { background: linear-gradient(135deg, rgba(232,181,3,.18), rgba(232,181,3,.05)); border-color: var(--gold); }
.read-box.is-done .btn { background: transparent; color: var(--gold); }
.read-box .btn svg { width: 18px; height: 18px; }

/* Materiais: selo de concluído e barra do curso */
.mat__done { position: absolute; z-index: 3; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: #141414; font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 6px 18px -6px rgba(0,0,0,.6); }
.mat__done svg { width: 14px; height: 14px; }
.mat.is-done .mat__media img { filter: saturate(.75); }
.course-bar { display: flex; align-items: center; gap: 22px; max-width: 820px; margin: 0 auto 30px; padding: 20px 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--gold-line); }
.course-bar__txt { flex: 1; min-width: 0; }
.course-bar__txt strong { display: block; }
.course-bar__txt span { font-size: .86rem; color: var(--muted); }
.course-bar .btn { flex: none; }

/* Barra de progresso personalizada */
.pbar { position: relative; height: 16px; border-radius: 999px; background: rgba(255,255,255,.07); box-shadow: inset 0 1px 3px rgba(0,0,0,.5); overflow: hidden; margin-top: 10px; }
.pbar__fill { position: relative; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #a87f00, var(--gold) 45%, var(--gold-2)); box-shadow: 0 0 18px rgba(232,181,3,.55); transition: width 1.4s var(--ease); }
.pbar__fill::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.18) 0 10px, transparent 10px 20px); animation: pbarMove 1.2s linear infinite; border-radius: inherit; }
.pbar__fill::before { content: ""; position: absolute; right: -2px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: radial-gradient(circle, #fff 0%, rgba(255,216,77,.7) 40%, transparent 70%); }
.pbar--thin { height: 8px; }
.pbar--thin .pbar__fill::before { display: none; }
@keyframes pbarMove { to { background-position: 28px 0; } }

/* ---------- Celebração ---------- */
.celebrate { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.celebrate__bg { position: absolute; inset: 0; background: rgba(5,5,7,.78); backdrop-filter: blur(6px); animation: fadeIn .4s; }
.celebrate__box { position: relative; width: min(420px, 100%); padding: 40px 30px 30px; border-radius: 26px; text-align: center; background: radial-gradient(circle at 50% 0%, rgba(232,181,3,.25), transparent 60%), var(--surface); border: 1px solid var(--gold-line); box-shadow: 0 40px 80px -20px rgba(0,0,0,.8); animation: popIn .6s var(--ease); }
.celebrate__box .medal { margin: 0 auto 20px; animation: medalIn 1s var(--ease); }
.celebrate__kicker { font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.celebrate__box h2 { font-size: 1.6rem; margin: 8px 0; }
.celebrate__box p { color: #cfcbc0; }
.celebrate canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: scale(.85) translateY(20px); } }
@keyframes medalIn { 0% { transform: scale(0) rotate(-180deg); } 70% { transform: scale(1.15) rotate(10deg); } 100% { transform: none; } }
.toast--points { background: var(--gold); }

/* ---------- Painel do usuário ---------- */
.dash-hero { position: relative; padding: calc(var(--header-h) + 50px) 0 30px; isolation: isolate; overflow: hidden; }
.dash-hero::before { content: ""; position: absolute; right: -200px; top: -300px; width: 800px; height: 800px; z-index: -1; background: radial-gradient(circle, rgba(232,181,3,.16), transparent 60%); }
.dash-hero__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: center; }
.dash-hello { display: flex; align-items: center; gap: 20px; }
.dash-hello h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin: 4px 0; }
.dash-hello p { margin: 0; color: var(--muted); }
.avatar { flex: none; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-size: 1.9rem; font-weight: 900; color: #141414; background: radial-gradient(circle at 30% 25%, #fff3b8, var(--gold) 60%, #a87f00); box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--gold-line); }
.level-card { padding: 24px 26px; border-radius: 22px; background: linear-gradient(135deg, #1f1b0c, #141417); border: 1px solid var(--gold-line); }
.level-card__top { display: flex; align-items: center; gap: 16px; }
.level-card__lvl { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.level-card__name { font-size: 1.45rem; font-weight: 800; line-height: 1.2; }
.level-card__ref { font-size: .8rem; color: var(--muted); }
.talentos { margin-left: auto; text-align: right; }
.talentos strong { display: flex; align-items: center; justify-content: flex-end; gap: 8px; font-size: 1.9rem; font-weight: 900; color: var(--gold); line-height: 1; }
.talentos strong svg { width: 26px; height: 26px; }
.talentos > span { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.level-card__foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: .82rem; color: var(--muted); }
.level-card__foot b { color: var(--text); }

.dash-body { padding-top: 30px; }
.dash-overview { display: grid; grid-template-columns: 300px 1fr; gap: 24px; margin-bottom: 60px; }
.ring-card { padding: 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.ring { --p: 0; position: relative; width: 190px; height: 190px; margin: 6px auto 14px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(from -90deg, var(--gold) calc(var(--p) * 1%), rgba(255,255,255,.07) 0); transition: --p 1.4s; }
.ring::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 30px rgba(0,0,0,.5); }
.ring__val { position: relative; }
.ring__val strong { display: block; font-size: 2.8rem; font-weight: 900; line-height: 1; }
.ring__val span { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ring-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.tile__ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); margin-bottom: 14px; }
.tile__ic svg { width: 22px; height: 22px; }
.tile strong { display: block; font-size: 1.9rem; font-weight: 900; line-height: 1.1; }
.tile strong small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.tile > span { font-size: .86rem; color: var(--muted); }
.tile--fire .tile__ic { background: rgba(255,120,40,.14); color: #ff8a3d; }

.dash-block { margin-bottom: 64px; }
.dash-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.dash-head h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0; }
.course-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.course { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, transform .3s var(--ease); }
.course:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.course img { width: 58px; height: 78px; object-fit: cover; border-radius: 10px; flex: none; }
.course__body { flex: 1; min-width: 0; }
.course__body strong { display: block; font-size: .98rem; line-height: 1.3; }
.course__st { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.course__st svg { width: 14px; height: 14px; }
.course.is-done .course__st { color: var(--gold); }
.course.is-done { border-color: var(--gold-line); }

.journey { padding: 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.journey__top { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-bottom: 28px; }
.journey__top .big { font-size: 2.2rem; font-weight: 900; line-height: 1; }
.journey__top .big small { font-size: 1rem; color: var(--muted); }
.journey__weeks { display: flex; flex-wrap: wrap; gap: 5px; max-width: 100%; }
.journey__weeks i { width: 12px; height: 12px; border-radius: 3px; background: rgba(255,255,255,.08); }
.journey__weeks i.on { background: var(--gold); box-shadow: 0 0 8px rgba(232,181,3,.5); }
.path { position: relative; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 8px; }
.path::before { content: ""; position: absolute; left: 5%; right: 5%; top: 42px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); }
.path__fill { position: absolute; left: 5%; top: 42px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); box-shadow: 0 0 12px rgba(232,181,3,.6); transition: width 1.6s var(--ease); }
.stop { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.stop .medal { --s: 84px; }
.stop__ring { position: absolute; top: 0; left: 50%; width: 92px; height: 92px; margin-left: -46px; margin-top: -4px; border-radius: 50%; background: conic-gradient(var(--gold) calc(var(--p) * 1%), transparent 0); -webkit-mask: radial-gradient(circle, transparent 42px, #000 43px); mask: radial-gradient(circle, transparent 42px, #000 43px); }
.stop strong { font-size: .78rem; line-height: 1.25; }
.stop span { font-size: .7rem; color: var(--muted); }
.stop.is-current .medal { box-shadow: 0 0 0 3px var(--gold-soft); animation: pulseMedal 2s infinite; }
@keyframes pulseMedal { 50% { box-shadow: 0 0 0 8px rgba(232,181,3,.1); } }

.medal-groups { display: grid; gap: 34px; }
.medal-group h3 { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.medal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.mcard { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 22px 14px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.mcard:hover { transform: translateY(-4px); }
.mcard.is-earned { border-color: var(--gold-line); background: radial-gradient(circle at 50% 0%, rgba(232,181,3,.12), transparent 70%), var(--surface); }
.mcard strong { font-size: .92rem; }
.mcard p { margin: 0; font-size: .78rem; color: var(--muted); line-height: 1.45; }
.mcard.is-locked strong { color: var(--muted); }

.rules { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.rule { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.rule b { flex: none; min-width: 68px; padding: 6px 10px; border-radius: 10px; background: var(--gold-soft); color: var(--gold); font-size: .9rem; text-align: center; }
.rule span { font-size: .88rem; color: #d4d0c5; }

.settings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.set-card { padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.set-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-bottom: 16px; }
.set-card h3 svg { width: 20px; height: 20px; color: var(--gold); }
.set-card--danger { border-color: rgba(229,72,77,.3); }
.set-card--danger h3 svg { color: #e5484d; }
.set-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.set-actions .btn svg { width: 16px; height: 16px; }

/* ---------- Painel master ---------- */
.admin-panel { padding: calc(var(--header-h) + 40px) 0 80px; }
.admin-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.admin-top h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 4px 0 0; }
.admin-top .btn svg { width: 16px; height: 16px; }
.admin-notice { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: var(--gold-soft); border: 1px solid var(--gold-line); color: #f3dd8a; margin-bottom: 20px; font-size: .92rem; }
.admin-notice svg { width: 22px; height: 22px; flex: none; color: var(--gold); }
.stat-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
.stat { padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.stat strong { display: block; font-size: 1.6rem; font-weight: 900; }
.stat span { font-size: .78rem; color: var(--muted); }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.tab { padding: 12px 18px; font-weight: 700; font-size: .92rem; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab:hover { color: var(--text); }
.tab.is-active { color: var(--gold); border-bottom-color: var(--gold); }
.table-tools { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.search--inline { margin: 0; flex: 1; min-width: 240px; max-width: none; }
.select select { padding: 14px 16px; border-radius: 999px; min-width: 180px; }
.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.table th { text-align: left; padding: 14px 16px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.05); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .2s; }
.table tbody tr:hover { background: rgba(255,255,255,.025); }
.table td small { display: block; color: var(--muted); font-size: .78rem; }
.table--compact td { padding: 10px 16px; font-size: .84rem; }
.u-cell { display: flex; align-items: center; gap: 12px; }
.u-cell .avatar { width: 38px; height: 38px; font-size: .95rem; box-shadow: none; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.badge--ok { background: rgba(70,180,110,.14); color: #8fe0ab; }
.badge--off { background: rgba(229,72,77,.14); color: #ff9c9f; }
.badge--muted { background: rgba(255,255,255,.06); color: var(--muted); }
.badge--gold { background: var(--gold-soft); color: var(--gold); }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.pager { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 18px; color: var(--muted); font-size: .9rem; }
.empty-row { text-align: center; color: var(--muted); padding: 40px !important; }
.admin-credit { margin-top: 40px; font-size: .75rem; color: #77746c; }
.admin-credit a { text-decoration: underline; }
.qr { background: #fff; padding: 10px; border-radius: 14px; width: 220px; height: 220px; }
.secret { font-family: ui-monospace, Menlo, monospace; font-size: .9rem; letter-spacing: .08em; word-break: break-all; padding: 10px 14px; border-radius: 10px; background: #101013; border: 1px dashed var(--gold-line); }
.codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; font-family: ui-monospace, Menlo, monospace; }
.codes span { padding: 8px 10px; border-radius: 8px; background: #101013; text-align: center; letter-spacing: .06em; }
.code-input { font-size: 1.4rem !important; letter-spacing: .3em; text-align: center; }

.modal { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5,5,7,.75); backdrop-filter: blur(4px); animation: fadeIn .3s; }
.modal__box { position: relative; width: min(760px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 30px; border-radius: 22px; background: var(--bg-2); border: 1px solid var(--line); box-shadow: var(--shadow); animation: popIn .4s var(--ease); }
.modal__close { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--muted); }
.modal__close:hover { color: var(--text); background: rgba(255,255,255,.05); }
.modal__close svg { width: 18px; height: 18px; }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin: 16px 0 22px; }
.kv div { padding: 10px 14px; border-radius: 12px; background: var(--surface); }
.kv dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.kv dd { margin: 2px 0 0; font-size: .92rem; word-break: break-word; }
.modal h2 { font-size: 1.4rem; margin-bottom: 4px; padding-right: 40px; }
.modal h3 { font-size: 1rem; margin: 22px 0 12px; color: var(--gold); }
.modal .set-actions { margin-top: 6px; }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.mini-medals { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 1024px) {
  .auth-grid { grid-template-columns: minmax(0, 460px); }
  .auth-perks { display: none; }
  .dash-hero__grid, .dash-overview { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .path { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; }
  .path::before, .path__fill { display: none; }
}
@media (max-width: 640px) {
  .auth-card { padding: 30px 22px; }
  .auth-page { padding-top: calc(var(--header-h) + 30px); }
  .read-box { grid-template-columns: auto 1fr; padding: 22px; }
  .read-box .btn { grid-column: 1 / -1; }
  .course-bar { flex-direction: column; align-items: stretch; text-align: center; }
  .settings, .kv, .modal-grid { grid-template-columns: 1fr; }
  .tiles { gap: 10px; }
  .tile { padding: 16px; }
  .dash-body { padding-top: 10px; }
  .dash-hero { padding-bottom: 10px; }
  .tile strong { font-size: 1.6rem; }
  .level-card__top { flex-wrap: wrap; }
  .talentos { margin-left: 0; text-align: left; width: 100%; }
  .talentos strong { justify-content: flex-start; }
  .dash-hello .avatar { width: 60px; height: 60px; font-size: 1.5rem; }
  .stop .medal { --s: 70px; }
  .stop__ring { width: 78px; height: 78px; margin-left: -39px; -webkit-mask: radial-gradient(circle, transparent 35px, #000 36px); mask: radial-gradient(circle, transparent 35px, #000 36px); }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-top { flex-direction: column; align-items: flex-start; }
  .modal__box { padding: 24px 18px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid, .mat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { gap: 48px; }
  .study__layout { grid-template-columns: 1fr; }
  .toc { display: none; }
  .study__content { margin: 0 auto; }
}
@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 10px;
    background: rgba(8, 8, 10, .97); backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav a { font-size: 1.5rem; padding: 12px 24px; opacity: 0; transform: translateY(16px); transition: opacity .4s var(--ease), transform .4s var(--ease), color .2s; }
  .nav a[aria-current="page"]::after { bottom: 0; }
  .nav .btn { margin: 16px 0 0; font-size: 1rem; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .nav a { opacity: 1; transform: none; }
  .menu-open .nav a:nth-child(2) { transition-delay: .05s; }
  .menu-open .nav a:nth-child(3) { transition-delay: .1s; }
  .menu-open .nav a:nth-child(4) { transition-delay: .15s; }
  .menu-open .nav a:nth-child(5) { transition-delay: .2s; }
  .menu-open { overflow: hidden; }
  .js [data-reveal="left"], .js [data-reveal="right"] { transform: translateY(40px); }
  .brand img { width: 74px; }
  .today { grid-template-columns: 1fr; }
  .today__side { border-right: 0; border-bottom: 1px solid var(--gold-line); padding: 36px 28px; min-height: 260px; }
  .today__body { padding: 32px 28px; }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .study-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .study-hero__cover { justify-self: start; max-width: 170px; order: -1; }
  .s-cards--3, .s-stats { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .grid, .mat-grid, .values { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 40px; }
  .cta { padding: 50px 24px; border-radius: 24px; }
  .hero__actions .btn { width: 100%; }
  .today__actions .btn { flex: 1 1 100%; }
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -20px 36px; padding: 0 20px 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .mat__open { opacity: 1; transform: none; }
  .s-cards--2 { grid-template-columns: 1fr; }
  .study-hero { padding-bottom: 60px; }
  .study-hero__actions .btn { flex: 1; }
  .verse { padding: 64px 22px 22px; }
  .verse svg { top: 20px; }
  .commands li { flex-direction: column; gap: 12px; }
  .plan__status { flex-direction: column; text-align: center; }
  .plan__actions { justify-content: center; }
  .plan__days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .day { padding: 10px; column-gap: 10px; }
  .day__r { overflow-wrap: anywhere; }
  .study__share { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .hero [data-intro] { opacity: 1; transform: none; }
}

.float-pts { position: absolute; z-index: 400; transform: translate(-50%, 0); font-weight: 900; font-size: 1rem; color: var(--gold); text-shadow: 0 2px 10px rgba(0,0,0,.6); pointer-events: none; animation: floatUp 1.4s var(--ease) forwards; }
@keyframes floatUp { 0% { opacity: 0; transform: translate(-50%, 0) scale(.8); } 20% { opacity: 1; transform: translate(-50%, -14px) scale(1.1); } 100% { opacity: 0; transform: translate(-50%, -60px); } }
