/* Massframe — landing page. HTML, CSS e JS estáticos, sem build. Cores do app (public/style.css). */

:root {
  --bg: #111211;
  --bg-1: #171817;
  --bg-2: #1c1d1c;
  --bg-3: #252625;
  --line: rgba(244, 241, 233, .1);
  --line-2: rgba(244, 241, 233, .18);
  --text: #f2efe7;
  --dim: rgba(242, 239, 231, .72);
  --faint: rgba(242, 239, 231, .5);
  --mint: #f4ff71;
  --mint-2: #d6e24c;
  --mint-ink: #1f2200;
  --accent: #f4ff71;
  --accent-hover: #f8ffa3;
  --accent-ink: #1f2200;
  --tint: #23240f;
  --tint-line: #474b1c;
  --red: #ff6b5b;
  --max: 1200px;
  --radius: 18px;
  --f-display: 'League Gothic', 'Arial Narrow', Impact, sans-serif;
  --f-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --f-body: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
code { font-family: var(--f-mono); font-size: .86em; background: var(--bg-3); padding: 1px 6px; border-radius: 6px; }
.mono { font-family: var(--f-mono); letter-spacing: .02em; }
.caps { font-family: var(--f-display); text-transform: uppercase; font-weight: 400; letter-spacing: .01em; }
em { font-family: var(--f-serif); font-style: normal; font-weight: 400; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 999px;
  padding: 11px 20px; font-weight: 600; font-size: 15px; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, opacity .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: default; transform: none; }
.btn-sm { padding: 8px 15px; font-size: 14px; }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-mint { background: var(--accent); color: var(--accent-ink); }
.btn-mint:hover { background: var(--accent-hover); }
.btn-dark { background: var(--bg-3); color: var(--text); border-color: var(--line-2); }
.btn-dark:hover { background: #2d2e2d; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--bg-2); }

/* ---------- topo ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 15, 14, .85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { max-width: var(--max); margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; overflow: hidden; flex: none; }
.logo-mark i { width: 2.5px; height: 19px; background: var(--accent-ink); border-radius: 2px; transform: rotate(28deg); display: block; }
.brand-name { font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.topbar-meta { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--dim); margin: 0 auto; letter-spacing: .12em; }
.topbar-meta .sep { color: var(--faint); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(244, 255, 113, .18); }
.topnav { display: flex; gap: 22px; font-size: 14px; }
.topnav a { color: var(--dim); text-decoration: none; }
.topnav a:hover { color: var(--text); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  max-width: 1100px; margin: 0 auto; padding: 64px 20px 56px;
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.hero::before {
  content: ''; position: absolute; inset: -60px 0 auto; height: 620px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 300px at 50% 20%, rgba(244, 255, 113, .10), transparent 70%),
    radial-gradient(500px 260px at 80% 60%, rgba(244, 255, 113, .05), transparent 70%);
}
.pill-new {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 14px 5px 5px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--bg-1); font-size: 13px; font-weight: 500; text-decoration: none;
}
.pill-new:hover { border-color: var(--mint); }
.tag-new { background: var(--mint); color: var(--mint-ink); border-radius: 999px; padding: 2px 9px; font-size: 11px; font-weight: 600; }
.pill-for { margin-top: 14px; font-size: 13px; color: var(--dim); }
.hero-title { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hero-title .caps { font-size: clamp(42px, 7.4vw, 96px); line-height: .95; color: #dcd8cf; }
.edit-line { display: block; margin: 14px 0 22px; }
.edit-box {
  position: relative; display: inline-flex; align-items: center;
  padding: 2px 22px 6px; background: rgba(242, 239, 231, .07);
  outline: 1.5px solid rgba(242, 239, 231, .75); outline-offset: 0;
}
.edit-word {
  font-family: var(--f-serif); font-size: clamp(44px, 7.2vw, 94px); line-height: 1.12; color: var(--text);
  white-space: nowrap;
}
.caret { width: 3px; height: .9em; margin-left: 4px; background: var(--mint); font-size: clamp(44px, 7.2vw, 94px); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.edit-box .h { position: absolute; width: 9px; height: 9px; background: #fff; border: 1px solid #111; }
.h.tl { left: -5px; top: -5px; } .h.tr { right: -5px; top: -5px; } .h.bl { left: -5px; bottom: -5px; } .h.br { right: -5px; bottom: -5px; }
.edit-tag {
  position: absolute; left: -1px; top: calc(100% + 8px);
  background: #0b0c0b; color: var(--mint); font-size: 11px; padding: 3px 8px; border-radius: 4px; white-space: nowrap;
}
.lead { max-width: 640px; margin-top: 22px; color: var(--dim); font-size: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.proof { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; font-size: 12px; color: var(--dim); }
.proof li { background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; }
.proof b { color: var(--text); font-weight: 600; margin-right: 4px; }

/* ---------- títulos de seção ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 88px 20px 0; }
.sec-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.eyebrow { display: inline-block; font-size: 12px; color: var(--mint); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 14px; }
.sec-head h2, .quiz h2, .cta h2 { font-size: clamp(38px, 5.6vw, 68px); line-height: 1; font-weight: 400; }
.sec-head h2 em, .quiz h2 em, .cta h2 em { font-size: .92em; color: var(--dim); }
.sec-head p { margin-top: 16px; color: var(--dim); font-size: 17px; }

/* ---------- demo do editor ---------- */
.demo-wrap { max-width: 1280px; margin: 0 auto; padding: 72px 20px 0; }
.demo-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.demo-status { margin-left: auto; font-size: 12px; color: var(--dim); }
.demo-note { text-align: center; margin-top: 14px; font-size: 12px; color: var(--faint); }


/* ---------- números ---------- */
.stats { max-width: var(--max); margin: 72px auto 0; padding: 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: var(--bg-1); }
.stat b { display: block; font-family: var(--f-display); font-size: 54px; line-height: 1; font-weight: 400; color: var(--mint); }
.stat span { color: var(--dim); font-size: 14px; }

/* ---------- cards ---------- */
.card { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1; font-weight: 400; margin: 12px 0 12px; }
.card h3 em { color: var(--dim); }
.card > p { color: var(--dim); }
.checks { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 26px; font-size: 15px; color: #e2ded5; }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(244, 255, 113, .16);
}
.checks li::after { content: ''; position: absolute; left: 6px; top: 7px; width: 3px; height: 7px; border: solid var(--mint); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.shot { margin: 0 auto 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: #0e0f0e; }
.shot figcaption { padding: 10px 16px; font-size: 12px; color: var(--faint); border-top: 1px solid var(--line); }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- faixa de estilos ---------- */
.styles-sec { margin: 88px 0 0; overflow: hidden; }
.styles-sec .sec-head { padding: 0 20px; }
.reel { overflow: hidden; padding: 6px 0 4px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reel-track { display: flex; gap: 14px; width: max-content; animation: marquee 70s linear infinite; }
.reel:hover .reel-track { animation-play-state: paused; }
.reel-card { position: relative; width: 190px; flex: none; margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-1); aspect-ratio: 9 / 16; transition: transform .2s ease; }
.reel-card:hover { transform: translateY(-4px); }
.reel-card img { width: 100%; height: 100%; object-fit: cover; }
.reel-card figcaption { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 5px 9px; border-radius: 8px; background: rgba(14, 15, 14, .82); font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; backdrop-filter: blur(6px); }
.names { margin-top: 18px; border-block: 1px solid var(--line); background: var(--bg-1); overflow: hidden; padding: 14px 0; }
.names-track { display: flex; width: max-content; animation: marquee 50s linear infinite reverse; }
.names-list { list-style: none; display: flex; gap: 10px; padding-right: 10px; }
.names-list li { font-family: var(--f-display); text-transform: uppercase; font-size: 24px; line-height: 1; padding: 9px 14px 7px; border: 1px solid var(--line-2); border-radius: 10px; white-space: nowrap; color: #dcd8cf; }
.names-list li:nth-child(3n + 1) { background: var(--tint); border-color: var(--tint-line); color: var(--mint); }
.feed { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pf { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); font-size: 14px; font-weight: 600; }
.pf i { width: 9px; height: 9px; border-radius: 50%; }
.pf .yt { background: #ff4e45; } .pf .ig { background: #e1306c; } .pf .tt { background: #25f4ee; }
.shot { margin-bottom: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.steps-list { list-style: none; margin-top: 18px; background: #f2efe7; color: #1d1e1b; border-radius: 12px; padding: 8px; font-size: 12.5px; }
.steps-list li { display: grid; grid-template-columns: 62px 1fr auto; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 8px; }
.steps-list li + li { border-top: 1px solid #dcd8cc; }
.steps-list li span { color: #85826f; }
.steps-list li b { font-weight: 600; margin-right: 4px; }
.steps-list li em { font-family: var(--f-mono); font-size: 11px; color: #85826f; }
.steps-list li.hl { background: #ecf86a; border-color: transparent; }
.steps-list li.hl + li { border-color: transparent; }
.mini-chat { margin-top: 18px; display: grid; gap: 8px; font-size: 14px; }
.mini-chat p { padding: 10px 13px; border-radius: 12px; max-width: 90%; }
.mini-chat .you { background: #2d2e2d; color: var(--text); justify-self: end; }
.mini-chat .bot { background: var(--bg-3); border: 1px solid var(--line-2); }
.flow { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.flow-col { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.node { font-family: var(--f-mono); font-size: 12px; text-align: center; padding: 8px 6px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--bg-2); }
.node.mint { background: var(--tint); border-color: var(--tint-line); color: var(--mint); }
.flow-arrow { color: var(--faint); }
.meter { margin-top: 20px; display: grid; gap: 10px; }
.meter div { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 10px; font-size: 12px; color: var(--dim); }
.meter i { display: block; height: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--mint), var(--mint-2)); width: var(--w); }

/* ---------- recursos ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.feat { background: var(--bg-1); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.feat h3 { font-size: 17px; margin: 8px 0 6px; }
.feat p { color: var(--dim); font-size: 14px; }

/* ---------- quiz ---------- */
.quiz { max-width: 820px; margin: 0 auto; text-align: center; padding: 44px 28px; }
.q { margin-top: 30px; }
.q[hidden], .q-result[hidden] { display: none; }
.q-n { font-size: 12px; color: var(--faint); }
.q-t { font-size: 22px; font-weight: 600; margin: 6px 0 16px; }
.q-opts { display: grid; gap: 8px; max-width: 520px; margin: 0 auto; }
.opt {
  text-align: left; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2);
  font-size: 15px; cursor: pointer; transition: border-color .15s, background .15s;
}
.opt:hover { border-color: var(--mint); background: var(--tint); }
.q-result { margin-top: 30px; }
.q-result .k { color: var(--mint); }
.q-r-title { font-family: var(--f-serif); font-size: 34px; line-height: 1.1; margin: 10px 0; }
.q-result > p:not(.k):not(.q-r-title) { color: var(--dim); max-width: 540px; margin: 0 auto; }

/* ---------- como funciona ---------- */
.how { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.how .card { padding: 24px; }
.how-n { font-family: var(--f-display); font-size: 56px; line-height: 1; color: var(--mint); }
.how h3 { font-family: var(--f-body); font-size: 18px; font-weight: 600; margin: 10px 0 6px; line-height: 1.3; }
.how p { color: var(--dim); font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 8px; }
.faq details { background: var(--bg-1); border: 1px solid var(--line); border-radius: 14px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 16px;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--f-mono); color: var(--mint); font-size: 18px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--dim); }

/* ---------- CTA e rodapé ---------- */
.cta {
  max-width: var(--max); margin: 96px auto 0; padding: 72px 20px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  background:
    radial-gradient(500px 220px at 50% 0%, rgba(244, 255, 113, .12), transparent 70%),
    var(--bg-1);
  border: 1px solid var(--line); border-radius: 26px;
}
.cta .eyebrow { margin-bottom: 0; }
.cta p { color: var(--dim); font-size: 17px; max-width: 520px; }
.cta-note { font-size: 12px; color: var(--faint); }
.footer { margin-top: 72px; border-top: 1px solid var(--line); }
.footer-in { max-width: var(--max); margin: 0 auto; padding: 28px 20px 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; color: var(--dim); font-size: 14px; }
.footer-in .small { margin-left: auto; font-size: 12px; color: var(--faint); }

/* ---------- responsivo ---------- */
@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .topnav, .topbar-meta { display: none; }
  .topbar-in .btn { margin-left: auto; }
  .modes, .bento { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .how { grid-template-columns: repeat(2, 1fr); }
  .demo-status { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) {
  .hero { padding-top: 40px; }
  .lead { font-size: 16px; }
  .edit-box { padding: 2px 12px 6px; }
  .hero-cta .btn-lg { width: 100%; }
  .section { padding-top: 64px; }
  .card { padding: 22px; }
  .features, .how { grid-template-columns: 1fr; }
  .stat b { font-size: 42px; }
  .steps-list li { grid-template-columns: 52px 1fr; }
  .steps-list li em { display: none; }
  .flow { flex-direction: column; align-items: stretch; }
  .flow-col { flex-direction: row; flex-wrap: wrap; }
  .flow-col .node { flex: 1; }
  .flow-arrow { transform: rotate(90deg); align-self: center; }
  .names-list li { font-size: 20px; }
  .reel-card { width: 150px; }
  .footer-in .small { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reel { overflow-x: auto; }
  .reel-track, .names-track { animation: none; }
  .names-list[aria-hidden], .names-list + .names-list { display: none; }
  .names-list { flex-wrap: wrap; justify-content: center; padding: 0 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .reel-card[aria-hidden] { display: none; }
}

/* ---------- fundo do topo: curvas de nível animadas (script.js → desenharTopo) ---------- */
.hero-wrap { position: relative; overflow: hidden; isolation: isolate; }
.topo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; pointer-events: none; }
.hero-wrap::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 42% at 50% 46%, rgba(17, 18, 17, .82) 0%, rgba(17, 18, 17, .45) 60%, rgba(17, 18, 17, 0) 100%),
    linear-gradient(to bottom, rgba(17, 18, 17, 0) 62%, var(--bg) 100%);
}
@media (max-width: 560px) {
  .hero-wrap::after {
    background:
      radial-gradient(ellipse 95% 50% at 50% 48%, rgba(17, 18, 17, .86) 0%, rgba(17, 18, 17, .55) 65%, rgba(17, 18, 17, .2) 100%),
      linear-gradient(to bottom, rgba(17, 18, 17, 0) 70%, var(--bg) 100%);
  }
}
@media (max-width: 420px) {
  .edit-word, .caret { font-size: 38px; }
}

/* ---------- provas: prints de quem usa (script.js → PROVAS) ---------- */
.provas[hidden] { display: none; }
.provas-head { max-width: 760px; margin: 0 0 40px; }
.tag-sel {
  position: relative; display: inline-block; margin: 0 0 22px 5px; padding: 5px 12px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mint);
  outline: 1.5px solid rgba(242, 239, 231, .7);
}
.tag-sel .h { position: absolute; width: 8px; height: 8px; background: var(--bg); border: 1.5px solid var(--text); }
.tag-sel .h.tl { left: -5px; top: -5px; } .tag-sel .h.tr { right: -5px; top: -5px; }
.tag-sel .h.bl { left: -5px; bottom: -5px; } .tag-sel .h.br { right: -5px; bottom: -5px; }
.provas-head h2 { font-size: clamp(42px, 6.4vw, 84px); line-height: .95; font-weight: 400; }
.provas-head h2 em { font-size: .9em; color: var(--dim); }
.provas-head p { margin-top: 18px; color: var(--dim); font-size: 17px; max-width: 640px; }
.provas-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.prova { display: flex; flex-direction: column; gap: 14px; padding: 14px; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius); }
.prova-who { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; min-width: 0; }
.prova-who img, .prova-ini { width: 36px; height: 36px; border-radius: 50%; flex: none; object-fit: cover; }
.prova-ini { display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 700; }
.prova-who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prova-shot {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 10px; overflow: hidden;
  background: #0b0c0b; cursor: zoom-in; box-shadow: inset 0 0 0 1px var(--line);
}
.prova-shot img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.prova-shot:hover img { transform: scale(1.03); }
.prova-more { position: absolute; right: 10px; bottom: 10px; padding: 2px 9px; border-radius: 999px; background: rgba(14, 15, 14, .85); color: var(--text); font-size: 12px; font-weight: 700; }
.prova h3 { font-family: var(--f-display); text-transform: uppercase; font-weight: 400; font-size: 30px; line-height: 1.02; }
.prova p { color: var(--dim); font-size: 15px; line-height: 1.5; }
.prova-fake { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 12px; color: var(--faint); font-size: 12px; border: 1px dashed var(--line-2); border-radius: 10px; }
.prova-ex { align-self: flex-start; font-size: 10.5px; letter-spacing: .12em; color: var(--warn, #f2c66b); border: 1px solid rgba(242, 198, 107, .4); border-radius: 6px; padding: 1px 7px; }
.provas-cta { display: flex; justify-content: center; margin-top: 30px; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(8, 9, 8, .9); backdrop-filter: blur(4px); }
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox figure { grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0; min-width: 0; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox figcaption { color: var(--dim); font-size: 12px; }
.lb-nav, .lb-x { border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); cursor: pointer; border-radius: 999px; }
.lb-nav { width: 44px; height: 44px; font-size: 26px; line-height: 1; justify-self: center; }
.lb-prev { grid-column: 1; grid-row: 1; } .lb-next { grid-column: 3; grid-row: 1; }
.lb-x { position: fixed; top: 16px; right: 16px; width: 40px; height: 40px; font-size: 16px; }
.lightbox.single .lb-nav { visibility: hidden; }

@media (max-width: 1100px) { .provas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .provas-grid { grid-template-columns: 1fr; }
  .lightbox[open] { grid-template-columns: 44px 1fr 44px; }
  .lb-nav { width: 36px; height: 36px; font-size: 22px; }
}

/* ---------- provas em faixa branca ---------- */
.provas {
  --bg: #ffffff; --bg-1: #ffffff; --bg-2: #f4f4f1;
  --text: #111211; --dim: rgba(17, 18, 17, .66); --faint: rgba(17, 18, 17, .45);
  --line: rgba(17, 18, 17, .1); --line-2: rgba(17, 18, 17, .16); --mint: #5c6400; /* amarelo escurecido: texto legível no branco */
  position: relative; isolation: isolate; color: var(--text);
  margin-top: 88px; padding-top: 80px; padding-bottom: 88px;
}
.provas::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -1;
  background: radial-gradient(rgba(17, 18, 17, .09) 1px, transparent 1.2px) 0 0 / 22px 22px, #ffffff;
}
.provas .tag-sel { outline-color: rgba(17, 18, 17, .75); }
.provas .prova { box-shadow: 0 1px 2px rgba(17, 18, 17, .04), 0 8px 24px -12px rgba(17, 18, 17, .12); }
.provas .prova-more { color: #f2efe7; }
.provas .prova-fake { color: rgba(242, 239, 231, .55); border-color: rgba(242, 239, 231, .18); }
.provas .prova-ex { color: #7a5a00; border-color: rgba(122, 90, 0, .35); }

/* quantidade de cartões: 1 vira destaque largo; 2 e 3 ocupam a largura toda */
@media (min-width: 1101px) {
  .provas-grid.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .provas-grid.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.provas-grid.n1 { grid-template-columns: 1fr; }
@media (min-width: 761px) {
  .provas-grid.n1 .prova {
    display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr;
    grid-template-areas: "shot who" "shot title" "shot text"; gap: 16px 32px; padding: 20px;
  }
  .provas-grid.n1 .prova-shot { grid-area: shot; aspect-ratio: 2 / 1; align-self: center; }
  .provas-grid.n1 .prova-who { grid-area: who; margin-top: 8px; }
  .provas-grid.n1 h3 { grid-area: title; font-size: clamp(34px, 3.4vw, 48px); line-height: 1; }
  .provas-grid.n1 p { grid-area: text; font-size: 16px; }
}
@media (max-width: 760px) {
  .provas-grid.n1 .prova-shot { aspect-ratio: 2 / 1; }
}
