/*
  Site de apresentação do Pauta. Sem build: este arquivo é servido como está.
  Identidade própria: papel de partitura, a pauta como fio condutor e a
  semana de uma escala contada dia a dia. As cores da marca vêm de
  app/lib/core/theme/app_colors.dart.
  A fonte de título é uma pilha de serifadas do sistema (Palatino no Windows,
  Iowan no Apple, Georgia no resto): nada é baixado de terceiros.
*/

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-SemiBold.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-Bold.ttf") format("truetype");
  font-weight: 700 800; font-style: normal; font-display: swap;
}

:root {
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --paper: #FBF8F2;
  --paper-2: #F3EEE3;
  --card: #FFFFFF;
  --ink: #1B1830;
  --ink-soft: #5E5876;
  --staff: rgba(27, 24, 48, .16);
  --staff-soft: rgba(27, 24, 48, .07);
  --line: #E7E1D3;
  --brand: #4F46E5;
  --brand-ink: #312E81;
  --brand-soft: #E5E3FE;
  --mark: #FDE68A;
  --mark-ink: #1B1830;
  --amber-bg: #FDECD3;
  --amber-ink: #7A3E00;
  --shadow: 0 1px 2px rgba(27, 24, 48, .06), 0 18px 40px -18px rgba(27, 24, 48, .28);

  --wrap: 1160px;
  --gutter: 24px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #15131F;
    --paper-2: #1B1928;
    --card: #232036;
    --ink: #F1EEE6;
    --ink-soft: #B3AEC4;
    --staff: rgba(241, 238, 230, .18);
    --staff-soft: rgba(241, 238, 230, .07);
    --line: #34304A;
    --brand: #B4ABFF;
    --brand-ink: #D9D4FF;
    --brand-soft: #2E2A4B;
    --mark: rgba(250, 204, 21, .3);
    --mark-ink: #F1EEE6;
    --amber-bg: #5A3405;
    --amber-ink: #FDECD3;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 40px -18px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #15131F; --paper-2: #1B1928; --card: #232036; --ink: #F1EEE6;
  --ink-soft: #B3AEC4; --staff: rgba(241, 238, 230, .18); --staff-soft: rgba(241, 238, 230, .07);
  --line: #34304A; --brand: #B4ABFF; --brand-ink: #D9D4FF; --brand-soft: #2E2A4B;
  --mark: rgba(250, 204, 21, .3); --mark-ink: #F1EEE6; --amber-bg: #5A3405; --amber-ink: #FDECD3;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 40px -18px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 480px) { :root { --gutter: 16px; } }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--card); color: var(--ink); padding: 8px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* marca-texto: o grifo que o músico faz na partitura */
.hl {
  background: linear-gradient(transparent 68%, var(--mark) 68%, var(--mark) 98%, transparent 98%);
  padding: 0 .08em; color: inherit;
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: .98rem; text-decoration: none;
  border: 1.5px solid transparent; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: #4F46E5; color: #fff; }
.btn-primary:hover { background: #4338CA; }
.btn-line { color: var(--ink); border-color: var(--staff); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .92rem; }

/* ---------- cabeçalho ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--staff-soft);
}
.topbar .wrap { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 1.45rem; font-weight: 600; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav { display: flex; gap: 2px; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .93rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--staff-soft); }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.topbar-actions .login { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .93rem; padding: 8px 12px; }
.topbar-actions .login:hover { text-decoration: underline; }
@media (max-width: 900px) { .nav { display: none; } }
@media (max-width: 380px) { .brand span { display: none; } }

/* ---------- topo ---------- */
.hero { position: relative; padding: 64px 0 96px; }
.hero .grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 40px; align-items: center;
}
.kicker {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-soft);
}
.kicker::before { content: "𝄞"; font-family: var(--serif); font-size: 1.35em; margin-right: 8px; color: var(--brand); vertical-align: -2px; letter-spacing: 0; }
.hero h1 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.015em;
  font-size: clamp(3rem, 7.4vw, 5.6rem); line-height: .98; margin: 22px 0 26px;
}
.hero h1 em { font-style: italic; color: var(--brand); }
.hero .lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 31em; }
.hero .lead strong { color: var(--ink); font-weight: 600; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fine { margin-top: 18px; font-size: .88rem; color: var(--ink-soft); }

@media (max-width: 940px) {
  .hero { padding-top: 40px; padding-bottom: 64px; }
  .hero .grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 480px) { .ctas .btn { width: 100%; } }

/* celular e avisos */
.stage { position: relative; display: flex; justify-content: flex-end; padding: 20px 28px 10px 0; }
.phone {
  position: relative; width: 262px; background: #16142A; border-radius: 42px; padding: 10px;
  box-shadow: 0 40px 80px -30px rgba(27, 24, 48, .55), 0 0 0 1px rgba(255, 255, 255, .06) inset;
  transform: rotate(2.5deg);
}
.phone .screen { border-radius: 33px; overflow: hidden; background: #F6F5FC; color: #161236; position: relative; }
.phone .notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 80px; height: 20px; border-radius: 12px; background: #16142A; z-index: 2; }

.m-status { display: flex; justify-content: space-between; padding: 12px 20px 4px; font-size: .62rem; font-weight: 700; }
.m-head { padding: 10px 16px 8px; }
.m-team { font-size: .6rem; font-weight: 700; color: #59547F; letter-spacing: .03em; }
.m-title { font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; }
.m-hero { margin: 4px 12px 10px; padding: 14px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #312E81, #4F46E5); }
.m-kicker { font-size: .54rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #C7D2FE; }
.m-date { font-size: 1rem; font-weight: 800; margin: 4px 0 2px; }
.m-sub { font-size: .64rem; color: #D4D0FA; }
.m-role { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; background: #EDE9FE; color: #312E81; font-size: .62rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.m-role b { background: #4F46E5; color: #fff; font-size: .48rem; padding: 2px 6px; border-radius: 999px; letter-spacing: .06em; }
.m-songs { margin-top: 10px; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 8px; display: grid; gap: 4px; }
.m-song { display: flex; justify-content: space-between; font-size: .62rem; color: #EDE9FE; }
.m-song span:last-child { font-weight: 700; color: #fff; }
.m-next { font-size: .58rem; color: #C7D2FE; margin-top: 8px; }
.m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px 14px; }
.m-tile { background: #fff; border-radius: 14px; padding: 10px; border: 1px solid #E2E1F0; }
.m-tile strong { display: block; font-size: .62rem; }
.m-tile small { display: block; font-size: .54rem; color: #59547F; }
.m-nav { display: flex; justify-content: space-around; border-top: 1px solid #E2E1F0; background: #fff; padding: 9px 0 13px; font-size: .52rem; font-weight: 600; color: #59547F; }
.m-nav .on { color: #312E81; background: #E5E3FE; border-radius: 999px; padding: 1px 10px; }

.toast {
  position: absolute; z-index: 3; width: 290px; display: grid; grid-template-columns: 30px 1fr; gap: 10px;
  background: color-mix(in srgb, var(--card) 94%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; box-shadow: var(--shadow);
  font-size: .8rem; line-height: 1.35;
}
.toast img { width: 30px; height: 30px; border-radius: 8px; }
.toast .meta { font-size: .68rem; color: var(--ink-soft); margin-bottom: 2px; }
.toast strong { display: block; font-weight: 700; color: var(--ink); }
.toast span { color: var(--ink-soft); }
.stage .toast { width: 236px; }
.stage .toast.t1 { left: 0; top: 36px; transform: rotate(-2deg); }
.stage .toast.t2 { left: 20px; bottom: 44px; transform: rotate(1.5deg); }
@media (max-width: 940px) { .stage { justify-content: center; padding-right: 0; } .stage .toast.t1 { left: 4%; } .stage .toast.t2 { left: auto; right: 4%; } }
@media (max-width: 560px) {
  .stage { flex-direction: column; align-items: center; gap: 12px; }
  .stage .toast { position: relative; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; width: 100%; max-width: 340px; }
  .stage .toast.t1 { order: -1; }
  .phone { transform: none; }
}

/* ---------- a pauta com os dias da semana ---------- */
.staff-band { padding: 72px 0 8px; }
.staff {
  position: relative; height: 96px; margin: 0 auto; max-width: 980px;
  background: repeating-linear-gradient(180deg, var(--staff) 0 1.5px, transparent 1.5px 20px) 0 8px / 100% 82px no-repeat;
}
.staff::before, .staff::after { /* barras de compasso nas pontas */
  content: ""; position: absolute; top: 8px; height: 82px; width: 2px; background: var(--staff);
}
.staff::before { left: 0; }
.staff::after { right: 0; width: 5px; box-shadow: -7px 0 0 -3px var(--staff); }
.note {
  position: absolute; width: 60px; margin-left: -30px; height: 100%; top: 0;
  display: block; text-decoration: none;
}
.note i {
  /* cabeça da nota: uma mínima (vazada) nos dias úteis, preenchida no domingo */
  position: absolute; left: 50%; width: 22px; height: 16px; margin-left: -11px;
  border: 2.5px solid var(--ink); border-radius: 50%; transform: rotate(-22deg);
  background: var(--paper); transition: transform .2s ease, border-color .2s ease;
}
.note i::after {
  content: ""; position: absolute; right: -3px; bottom: 5px; width: 2.5px; height: 42px;
  background: var(--ink); transform: rotate(22deg); transform-origin: bottom;
}
.note:hover i, .note:focus-visible i { border-color: var(--brand); transform: rotate(-22deg) scale(1.12); }
.note.sun i { background: var(--brand); border-color: var(--brand); }
.note.sun i::after { background: var(--brand); }
.note b {
  position: absolute; left: 0; right: 0; top: 104px; text-align: center;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft);
}
.note.sun b { color: var(--brand); }
.note:hover b { color: var(--ink); }
.staff-caption { text-align: center; margin-top: 52px; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--ink-soft); }
@media (max-width: 560px) {
  .note { width: 44px; margin-left: -22px; }
  .note b { font-size: .64rem; letter-spacing: .04em; }
}

/* ---------- a semana ---------- */
.week { padding: 104px 0 112px; }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.05; letter-spacing: -.01em; margin-top: 14px; }
.section-head h2 em { font-style: italic; color: var(--brand); }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; margin-top: 18px; }

.days { position: relative; max-width: 1040px; margin: 0 auto; }
.days::before { /* o fio que liga os dias */
  content: ""; position: absolute; left: 118px; top: 12px; bottom: 12px; width: 2px;
  background: linear-gradient(var(--staff), var(--staff)) center / 2px 100% no-repeat;
}
.day {
  position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 0 56px; align-items: start; padding: 0 0 72px;
}
.day:last-child { padding-bottom: 0; }
.day .when { text-align: right; padding-top: 2px; }
.day .when .d { font-family: var(--serif); font-size: 1.55rem; line-height: 1; display: block; }
.day .when .who { display: block; margin-top: 8px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.day::before { /* o ponto no fio */
  content: ""; position: absolute; left: 111px; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); border: 2.5px solid var(--ink);
}
.day.sun::before { background: var(--brand); border-color: var(--brand); }
.day .copy h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.05rem); line-height: 1.12; }
.day .copy p { color: var(--ink-soft); margin-top: 12px; font-size: 1.02rem; }
.day .copy .aside { margin-top: 14px; font-size: .92rem; color: var(--ink-soft); border-left: 3px solid var(--mark); padding-left: 12px; }

@media (max-width: 860px) {
  .days::before { left: 7px; }
  .day { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-left: 36px; padding-bottom: 64px; }
  .day::before { left: 0; }
  .day .when { text-align: left; display: flex; align-items: baseline; gap: 12px; }
  .day .when .who { margin-top: 0; }
}

/* ---------- recortes do app ---------- */
.snip {
  font-family: var(--sans);
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow); padding: 18px; font-size: .88rem; color: var(--ink);
}
.snip .label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.snip-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.snip-row:first-of-type { border-top: 0; }
.datebox { flex: none; width: 44px; text-align: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand-ink); padding: 5px 0; line-height: 1.05; }
.datebox small { display: block; font-size: .56rem; font-weight: 700; letter-spacing: .08em; }
.datebox strong { font-size: 1.1rem; }
.snip-row .t { flex: 1; min-width: 0; }
.snip-row .t strong { display: block; font-weight: 700; }
.snip-row .t span { display: block; font-size: .78rem; color: var(--ink-soft); }
.pill { font-family: var(--sans); flex: none; font-size: .68rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-soft); }
.pill.draft { background: var(--amber-bg); color: var(--amber-ink); }
.pill.brand { background: var(--brand-soft); color: var(--brand-ink); }
.pill.warn { background: #F9DEDC; color: #8C1D18; }
.snip-btn { margin-top: 12px; display: block; text-align: center; font-weight: 700; font-size: .84rem; color: #fff; background: #4F46E5; border-radius: 12px; padding: 10px; }
.snip-btn.soft { background: var(--brand-soft); color: var(--brand-ink); }

.push { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.push img { width: 34px; height: 34px; border-radius: 9px; }
.push .meta { font-size: .72rem; color: var(--ink-soft); }
.push strong { display: block; font-weight: 700; margin: 1px 0 2px; }
.push span { color: var(--ink-soft); font-size: .84rem; }
.snip + .snip { margin-top: 12px; }
.snip.small { padding: 14px 16px; }

.set-h { display: flex; justify-content: space-between; align-items: baseline; margin: 2px 0 6px; }
.set-h strong { font-size: .95rem; }
.moment { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-top: 10px; }
.song { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.song:first-of-type { border-top: 0; }
.song .n { flex: 1; min-width: 0; }
.song .n strong { font-weight: 600; }
.song .n span { font-size: .76rem; color: var(--ink-soft); margin-left: 4px; }
.key { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--paper-2); font-weight: 800; font-size: .82rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip { font-size: .72rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); }

.quote { font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.45; margin: 10px 0 8px; }
.by { font-size: .78rem; color: var(--ink-soft); }

.lyrics { background: #0F0D1C; color: #F1EEE6; border-color: #2B2842; }
.lyrics .top { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: #B3AEC4; }
.lyrics .top b { color: #fff; font-size: .9rem; }
.lyrics .ctrl { display: flex; gap: 6px; }
.lyrics .ctrl span { border: 1px solid #3A3654; border-radius: 8px; padding: 2px 8px; font-weight: 700; color: #E5E3FE; }
.lyrics .verse { margin: 18px 0; font-size: 1.12rem; line-height: 1.6; color: #F1EEE6; }
@media (max-width: 400px) { .lyrics .verse { font-size: .95rem; } }
.lyrics .next { display: flex; justify-content: space-between; border-top: 1px solid #2B2842; padding-top: 12px; font-size: .8rem; color: #B3AEC4; }
.lyrics .next b { color: #fff; }

/* ---------- chamada final ---------- */
.end { padding: 104px 0; text-align: center; }
.end.alt { background: var(--paper-2); }
.end h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.08; max-width: 760px; margin: 0 auto; }
.end h2 em { font-style: italic; color: var(--brand); }
.end p { color: var(--ink-soft); margin: 16px auto 0; max-width: 560px; font-size: 1.08rem; }
.end .ctas { justify-content: center; }

/* ================================================================
   Seções além da semana
   ================================================================ */

section.block { padding: 104px 0; }
section.block.alt { background: var(--paper-2); }
@media (max-width: 720px) { section.block { padding: 72px 0; } }
.staff-band.in-week { padding: 0 0 80px; }

/* ---------- antes e depois ---------- */
.versus { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); align-items: center; max-width: 1040px; margin: 0 auto; }
.versus .arrow { display: grid; place-items: center; color: var(--ink-soft); font-family: var(--serif); font-size: 2.4rem; }
@media (max-width: 860px) {
  .versus { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .versus .arrow { transform: rotate(90deg); font-size: 2rem; }
}
.cap { min-height: 24px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cap .unread { background: #25D366; color: #06331A; border-radius: 999px; padding: 1px 9px; letter-spacing: .02em; }

.group, .wa-wrap { --wa-bg: #E9E2D6; --wa-msg: #FFFFFF; --wa-me: #D9FDD3; --wa-text: #111B21; }
:root[data-theme="dark"] .group, :root[data-theme="dark"] .wa-wrap { --wa-bg: #0B141A; --wa-msg: #1F2C34; --wa-me: #005C4B; --wa-text: #E9EDEF; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .group, :root:not([data-theme="light"]) .wa-wrap { --wa-bg: #0B141A; --wa-msg: #1F2C34; --wa-me: #005C4B; --wa-text: #E9EDEF; }
}
.group {
  background: var(--wa-bg); color: var(--wa-text); border-radius: 26px; padding: 16px; box-shadow: var(--shadow);
  font-size: .86rem; display: grid; gap: 8px; position: relative; overflow: hidden;
}
.group .head { display: flex; align-items: center; gap: 10px; padding: 2px 4px 10px; border-bottom: 1px solid rgba(128, 128, 128, .2); margin-bottom: 18px; }
.group .head b { display: block; font-size: .92rem; }
.group .head span { font-size: .72rem; opacity: .65; }
.group .avatar { width: 34px; height: 34px; border-radius: 50%; background: #7C8B91; display: grid; place-items: center; color: #fff; font-weight: 700; flex: none; }
.msg { background: var(--wa-msg); border-radius: 4px 12px 12px 12px; padding: 7px 10px 5px; max-width: 86%; box-shadow: 0 1px 1px rgba(0, 0, 0, .1); line-height: 1.35; justify-self: start; }
.msg .who { display: block; font-size: .72rem; font-weight: 700; margin-bottom: 1px; }
.msg .t { display: block; text-align: right; font-size: .64rem; opacity: .55; margin-top: 1px; }
.msg.me { justify-self: end; background: var(--wa-me); border-radius: 12px 4px 12px 12px; }
.msg.faded { opacity: .45; }
.who.c1 { color: #1F7A4D; } .who.c2 { color: #B5456A; } .who.c3 { color: #3B6FB6; } .who.c4 { color: #A0600B; }

.answers { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 8px 22px; box-shadow: var(--shadow); }
.answer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 15px 0; border-top: 1px solid var(--line); align-items: center; }
.answer:first-child { border-top: 0; }
.answer .q { font-family: var(--serif); font-style: italic; font-size: 1.06rem; color: var(--ink-soft); }
.answer .where { grid-column: 1 / -1; font-size: .92rem; }
.answer .tag { font-size: .72rem; font-weight: 700; color: var(--brand-ink); background: var(--brand-soft); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }

/* ---------- recursos em mosaico ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile {
  grid-column: span 2; background: var(--card); border: 1px solid var(--line); border-radius: 24px;
  padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; min-width: 0;
}
.tile.w3 { grid-column: span 3; }
.tile.w4 { grid-column: span 4; }
@media (max-width: 960px) {
  .tile, .tile.w2, .tile.w3 { grid-column: span 3; }
  .tile.w4 { grid-column: span 6; }
}
@media (max-width: 720px) { .bento { grid-template-columns: minmax(0, 1fr); } .tile, .tile.w2, .tile.w3, .tile.w4 { grid-column: auto; } }
@media (max-width: 480px) { .tile { padding: 20px 18px; } }
/* No celular, a demonstração que só repete o texto (ou que ficaria pequena demais para ler) sai; o texto fica. */
@media (max-width: 720px) { .tile .hide-sm { display: none; } }
.tile h3 { font-family: var(--serif); font-weight: 400; font-size: 1.38rem; line-height: 1.15; }
.tile p { color: var(--ink-soft); margin-top: 6px; font-size: .93rem; }
.tile .demo.browser img { height: 210px; object-fit: cover; object-position: top left; }
.tile .demo.snip { padding: 14px 16px; }
.tile .demo { margin-top: auto; }
.tile .demo.snip { box-shadow: none; background: var(--paper); }
.tile .demo-note { font-size: .86rem; color: var(--ink-soft); }

.song .n .hist, .song .n .hist span { margin-left: 0; }
.hist { font-size: .76rem; color: var(--ink-soft); display: block; }
.hist .recent { color: var(--amber-ink); background: var(--amber-bg); border-radius: 6px; padding: 0 5px; }
.books { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.book { font-size: .74rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }

.bars { display: grid; gap: 9px; }
.bar { display: grid; grid-template-columns: 64px minmax(0, 1fr) 26px; gap: 10px; align-items: center; font-size: .82rem; }
.bar i { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, #4F46E5, #7C74F0); }
.bar i.low { background: var(--staff); }
.bar b { text-align: right; font-weight: 700; }
.flags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.tile.dark {
  background: radial-gradient(520px 260px at 100% 0%, rgba(167, 139, 250, .35), transparent 60%), linear-gradient(140deg, #1E1B4B, #312E81);
  color: #fff; border-color: transparent;
}
.tile.dark p { color: #D4D0FA; }
.tile.dark .kicker, .tile.dark .kicker::before { color: #C7D2FE; }
.chat { display: grid; gap: 8px; font-size: .84rem; }
.bubble { padding: 8px 12px; border-radius: 16px; max-width: 88%; line-height: 1.4; }
.bubble.me { justify-self: end; background: #4F46E5; border-bottom-right-radius: 4px; }
.bubble.ai { background: rgba(255, 255, 255, .1); border-bottom-left-radius: 4px; color: #EDE9FE; justify-self: start; }
.bubble .file { display: block; font-size: .78rem; opacity: .85; margin-bottom: 3px; }
.ai-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: center; }
@media (max-width: 960px) { .ai-grid { grid-template-columns: minmax(0, 1fr); } }

.teams { display: grid; gap: 8px; }
.teamrow { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); font-size: .88rem; }
.teamrow.on { border-color: #4F46E5; background: var(--brand-soft); }
.teamrow b { font-weight: 700; }
.teamrow span { font-size: .74rem; color: var(--ink-soft); }

.browser { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); box-shadow: 0 20px 40px -24px rgba(27, 24, 48, .45); }
.browser .bar-top { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.browser .bar-top i { width: 9px; height: 9px; border-radius: 50%; background: var(--staff); }
.browser .bar-top span { margin-left: 10px; font-size: .72rem; color: var(--ink-soft); background: var(--card); border-radius: 999px; padding: 2px 12px; }
.browser img { width: 100%; height: auto; }

.wa-wrap { background: var(--wa-bg); border-radius: 20px; padding: 16px; }
.wa-msg {
  background: var(--wa-msg); color: var(--wa-text); border-radius: 4px 14px 14px 14px; padding: 12px 14px 8px;
  font-size: .86rem; line-height: 1.5; white-space: pre-line; box-shadow: 0 1px 1px rgba(0, 0, 0, .12);
}
.wa-msg .time { display: block; text-align: right; font-size: .66rem; opacity: .55; }
.share-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
@media (max-width: 860px) { .share-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- origem ---------- */
.origin { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; max-width: 1080px; margin: 0 auto; }
@media (max-width: 860px) { .origin { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.origin h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 4.2vw, 3.2rem); line-height: 1.06; margin-top: 14px; }
.origin h2 em { font-style: italic; color: var(--brand); }
.origin .intro p { color: var(--ink-soft); font-size: 1.08rem; margin-top: 18px; }
.rules { list-style: none; margin: 0; padding: 0; counter-reset: rule; }
.rules li { counter-increment: rule; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 6px 12px; padding: 22px 0; border-top: 1px solid var(--staff); }
.rules li:first-child { border-top: 0; padding-top: 4px; }
.rules li::before { content: counter(rule, upper-roman) "."; font-family: var(--serif); font-size: 1.3rem; color: var(--brand); grid-row: span 2; line-height: 1.3; }
.rules .q { font-family: var(--serif); font-style: italic; font-size: 1.28rem; line-height: 1.3; }
.rules span { color: var(--ink-soft); font-size: .96rem; }

/* ---------- planos ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
@media (max-width: 760px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 34px; display: flex; flex-direction: column; box-shadow: var(--shadow); position: relative; }
@media (max-width: 480px) { .plan { padding: 26px 20px; } }
.plan.featured { border: 2px solid #4F46E5; }
/* `.plan` tem display próprio, que venceria o [hidden] do navegador. Com um
   plano só, ele fica no centro em vez de ocupar meia grade. */
.plan[hidden] { display: none; }
.plans:has(> .plan[hidden]) { grid-template-columns: minmax(0, 460px); justify-content: center; }
.plan .ribbon { position: absolute; top: -13px; left: 30px; background: #4F46E5; color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; }
.plan .for { color: var(--ink-soft); margin-top: 4px; }
.price { margin: 22px 0; display: flex; align-items: baseline; gap: 8px; }
.price strong { font-family: var(--serif); font-weight: 400; font-size: 3.2rem; line-height: 1; }
.price strong.ask { font-size: 2.2rem; }
.price span { color: var(--ink-soft); }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 11px; align-content: start; flex: 1; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; font-size: .97rem; }
.ticks li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; border: 2px solid #4F46E5; background: radial-gradient(circle, #4F46E5 0 3px, transparent 3.5px); }
.plan .btn { width: 100%; }
.plans-note { text-align: center; color: var(--ink-soft); margin-top: 26px; font-size: .92rem; }
mark.todo { background: #FEF3C7; color: #78350F; padding: 0 4px; border-radius: 4px; font-family: var(--sans); font-style: normal; font-size: .9em; }

/* ---------- perguntas ---------- */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--staff); }
.faq details { border-bottom: 1px solid var(--staff); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--serif); font-size: 1.32rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.6rem; color: var(--brand); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-soft); padding: 0 0 20px; max-width: 680px; }
.faq details p + p { margin-top: -8px; }

/* ---------- rodapé ---------- */
footer { border-top: 1px solid var(--staff-soft); padding: 56px 0 40px; font-size: .92rem; color: var(--ink-soft); }
footer .cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 720px) { footer .cols { grid-template-columns: 1fr 1fr; } footer .about { grid-column: 1 / -1; } }
footer h4 { color: var(--ink); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer a { color: var(--ink-soft); text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }
footer .brand { margin-bottom: 12px; }
footer .copy { border-top: 1px solid var(--staff-soft); margin-top: 32px; padding-top: 20px; font-size: .84rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.fim { display: inline-flex; align-items: stretch; gap: 3px; height: 22px; vertical-align: middle; }
.fim i { display: block; width: 1.5px; background: var(--ink-soft); }
.fim i + i { width: 5px; background: var(--ink); }

/* ================================================================
   Guias (guia/lider.html e guia/integrante.html)
   O passo a passo de cada tela, com a captura real ao lado do texto.
   Descrevem o app de hoje: mudou um fluxo no app, muda o guia junto
   (ver docs/produto/onboarding.md, "Mapa do conteúdo").
   ================================================================ */

.guia-topo { padding: 64px 0 40px; border-bottom: 1px solid var(--staff-soft); }
.guia-topo .eyebrow { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.guia-topo h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.08; margin: 10px 0 16px; }
.guia-topo .lead { color: var(--ink-soft); font-size: 1.08rem; max-width: 720px; }
.guia-topo .lead + .lead { margin-top: 10px; }

.guia { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding-top: 48px; padding-bottom: 96px; }
@media (max-width: 960px) { .guia { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* O índice: fixo ao lado no monitor, uma lista recolhível no celular. */
.indice { position: sticky; top: 96px; align-self: start; font-size: .92rem; }
.indice h2 { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; font-family: var(--sans); }
.indice ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; counter-reset: idx; }
.indice li { counter-increment: idx; }
.indice a { display: flex; gap: 10px; padding: 6px 10px; border-radius: 10px; color: var(--ink-soft); text-decoration: none; }
.indice a::before { content: counter(idx); font-variant-numeric: tabular-nums; color: var(--brand); font-weight: 700; min-width: 1.4em; }
.indice a:hover { background: var(--staff-soft); color: var(--ink); }
.indice details summary { display: none; }
@media (max-width: 960px) {
  .indice { position: static; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 6px 14px; }
  .indice details summary { display: block; cursor: pointer; padding: 10px 0; font-weight: 700; color: var(--ink); }
  .indice details:not([open]) ol, .indice details:not([open]) h2 { display: none; }
  .indice h2 { display: none; }
}

.passo { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: start; padding: 48px 0; border-top: 1px solid var(--staff-soft); scroll-margin-top: 84px; }
.passo:first-child { border-top: 0; padding-top: 0; }
.passo.so-texto { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 760px) { .passo { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 36px 0; } }
.passo h2 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.15; display: flex; gap: 14px; align-items: baseline; }
.passo h2 .n { font-family: var(--sans); font-size: .95rem; font-weight: 700; color: #fff; background: #4F46E5; border-radius: 999px; min-width: 30px; height: 30px; display: inline-grid; place-items: center; flex: none; transform: translateY(-4px); }
.passo .onde { margin-top: 8px; color: var(--ink-soft); font-size: .95rem; }
.passo .onde b { color: var(--ink); }
.passo p { margin-top: 14px; }
.passo ol, .passo ul { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.passo li::marker { color: var(--brand); font-weight: 700; }
.passo .dica { margin-top: 18px; background: var(--paper-2); border-left: 3px solid var(--mark); padding: 12px 16px; border-radius: 0 12px 12px 0; font-size: .95rem; }
.passo .dica > b:first-child { display: block; margin-bottom: 2px; }
.passo kbd { font-family: var(--sans); font-weight: 700; font-size: .9em; background: var(--brand-soft); color: var(--brand-ink); padding: 1px 8px; border-radius: 999px; white-space: nowrap; }

/* As capturas num celular desenhado em CSS. */
.telas { display: grid; gap: 20px; justify-items: center; }
.celular { margin: 0; width: 100%; max-width: 260px; }
.celular .moldura { border-radius: 30px; padding: 8px; background: #1B1830; border: 1px solid var(--staff); box-shadow: var(--shadow); }
.celular img { border-radius: 23px; width: 100%; height: auto; }
.celular figcaption { margin-top: 10px; text-align: center; font-size: .82rem; color: var(--ink-soft); }
@media (max-width: 760px) { .telas { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }

.guia-fim { margin-top: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.guia-fim h2 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; }
.guia-fim p { margin-top: 10px; color: var(--ink-soft); }
.guia-fim .ctas { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
