/* Card War — páginas de recursos (/recursos/*). Usa lp.css (topo, botões, FAQ, rodapé, baralho e questão da LP).
   Cada página define --rc (a cor do recurso) e tem uma estrutura própria: chat centralizado, baralho em destaque,
   folha de prova, relógio gigante e documento com sumário. */
@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }

/* comum: painel do topo na cor do recurso, selo, título e botões */
.rc-hero { padding: 12px 12px 0; }
.rc-hero__painel { position: relative; overflow: hidden; padding: 116px clamp(20px, 5vw, 80px) clamp(36px, 5vw, 72px); border-radius: 40px; color: #13200A;
  background: radial-gradient(60% 70% at 85% 10%, color-mix(in srgb, var(--rc) 65%, #fff), transparent 70%), var(--rc); }
.rc-tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: #13200A; color: var(--rc); font-weight: 800; font-size: 15px; }
.rc-tag .ico { width: 18px; height: 18px; }
.rc-hero h1 { margin: 18px 0 0; font-family: var(--titulo, "Bricolage Grotesque", system-ui, sans-serif); font-size: clamp(40px, 5.4vw, 80px); font-weight: 800; line-height: .96; letter-spacing: -.045em; text-wrap: balance; }
/* só o texto de apoio do topo: as demonstrações (chat, simulado, módulos) têm cor e tamanho próprios */
:is(.rc-centro, .rc-hero__lado, .rc-doc__topo) > p:not(.rc-relogio), .rc-folha__topo > div > p { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.5; color: color-mix(in srgb, #13200A 85%, var(--rc)); }
.rc-ctas { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 26px; }
.rc-link { font-weight: 800; color: #13200A; text-underline-offset: 4px; }
.rc-vidro { border-radius: 30px; background: rgba(255,255,255,.42); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255,255,255,.7); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 30px 60px -30px rgba(19,32,10,.45); }
@media (prefers-reduced-transparency: reduce) { .rc-vidro { background: rgba(255,255,255,.85); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.rc-h2 { margin: 0 0 18px; font-family: var(--titulo, "Bricolage Grotesque", system-ui, sans-serif); font-size: clamp(32px, 4vw, 54px); font-weight: 800; line-height: 1; letter-spacing: -.04em; text-wrap: balance; }
.rc-h2--centro { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.rc-checks { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.rc-checks li { position: relative; padding-left: 32px; color: #C9CED3; line-height: 1.5; }
.rc-checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px; background: color-mix(in srgb, var(--rc) 22%, transparent) no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.rc-sec2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.rc-sec2 p { color: #C9CED3; font-size: 18px; line-height: 1.55; max-width: 46ch; }

/* Major Tutor: título centralizado e a janela do chat larga, como um app */
.rc-hero--centro .rc-hero__painel { display: grid; justify-items: center; gap: clamp(28px, 4vw, 48px); }
.rc-centro { display: grid; justify-items: center; max-width: 900px; text-align: center; }
.rc-centro p { max-width: 54ch; margin: 18px 0 0; }
.rc-centro .rc-ctas { justify-content: center; }
.rc-janela { width: min(880px, 100%); border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -36px rgba(19,32,10,.55), 0 0 0 1px rgba(19,32,10,.06); }
.rc-janela__barra { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid rgba(19,32,10,.08); background: #FAFCF8; }
.rc-janela__barra img { width: 30px; height: auto; }
.rc-janela__barra strong { font-size: 15px; }
.rc-janela__barra i { width: 8px; height: 8px; border-radius: 50%; background: #2F9E44; }
.rc-janela__barra span { margin-left: auto; font-size: 13px; font-weight: 600; color: #6D756F; }
.rc-janela .rc-chat { padding: 0; gap: 0; }
.rc-janela .rc-chat__msgs { height: clamp(260px, 36vh, 360px); border-radius: 0; box-shadow: none; padding: 18px; }
.rc-chat__rodape { display: grid; gap: 10px; padding: 14px 18px 18px; border-top: 1px solid rgba(19,32,10,.08); background: #FAFCF8; }
.rc-janela .rc-chat__sug button { background: #F1F4EE; box-shadow: none; }
.rc-3m { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.rc-3m__txt p { color: #C9CED3; font-size: 18px; line-height: 1.55; max-width: 44ch; }
.rc-3m__seg { display: inline-flex; gap: 4px; margin-top: 24px; padding: 4px; border-radius: 16px; background: var(--cw-surface); border: 1px solid var(--cw-line); }
.rc-3m__seg button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 12px; background: none; color: #C9CED3; font: inherit; font-weight: 800; cursor: pointer; transition: background .2s, color .2s; }
.rc-3m__seg button[aria-selected="true"] { background: var(--rc); color: #13200A; }
.rc-3m__dica { margin-top: 14px !important; font-size: 15px !important; color: var(--cw-muted) !important; }
.rc-3m__resp { padding: clamp(22px, 3vw, 34px); border-radius: 28px; background: #fff; color: #13200A; min-height: 300px; box-shadow: 0 30px 60px -36px rgba(0,0,0,.8); }
.rc-3m__perg { display: inline-block; margin: 0 0 18px; padding: 8px 14px; border-radius: 14px 14px 4px 14px; background: #13200A; color: #fff; font-weight: 600; }
.rc-3m__corpo { font-size: 17px; line-height: 1.6; }
.rc-3m__corpo p { margin: 0 0 10px; }
.rc-3m__corpo ol, .rc-3m__corpo ul { margin: 0; padding-left: 22px; } .rc-3m__corpo ol { list-style: decimal; } .rc-3m__corpo ul { list-style: disc; } .rc-3m__corpo li { margin: 4px 0; }
.rc-3m__corpo mark { background: none; color: inherit; font-weight: 800; box-shadow: inset 0 -4px 0 var(--rc); }
.rc-3m__corpo em { font-style: normal; font-weight: 700; color: #1F6B57; }
.rc-3m__corpo.is-troca { animation: rc-entra .35s cubic-bezier(.22,1,.36,1) both; }
.rc-ve { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.rc-ve__txt p { color: #C9CED3; font-size: 18px; line-height: 1.55; max-width: 46ch; }
.rc-ve__mock { display: grid; gap: 12px; padding: clamp(20px, 3vw, 30px); border-radius: 28px; background: var(--cw-surface); border: 1px solid var(--cw-line); }
.rc-ve__card { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; width: min(280px, 100%); padding: 14px; border-radius: 18px; background: color-mix(in srgb, #5AA2FF 14%, #181B1F); border: 1px solid color-mix(in srgb, #5AA2FF 35%, transparent); color: #fff; }
.rc-ve__card > span { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #5AA2FF; color: #0E1A33; }
.rc-ve__card b { font-size: 15px; } .rc-ve__card small { display: block; color: #A9B0B7; } .rc-ve__card strong { grid-column: 1 / -1; margin-top: 6px; font-size: 17px; }
.rc-ve__eu { justify-self: end; margin: 0; padding: 9px 14px; border-radius: 16px 16px 4px 16px; background: #2A2F35; color: #fff; }
.rc-ve__major { display: grid; grid-template-columns: 32px 1fr; gap: 10px; }
.rc-ve__major img { width: 32px; height: auto; }
.rc-ve__major p { margin: 0; color: #E3E6E8; line-height: 1.55; }
.rc-ve__major b { color: #fff; }

/* Flashcards: o baralho em destaque à esquerda, texto à direita */
.rc-hero--deck .rc-hero__painel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; min-height: min(780px, calc(100vh - 24px)); }
.rc-hero__lado { display: grid; justify-items: start; }
.rc-hero__lado p { margin: 18px 0 0; max-width: 40ch; }
.rc-deck { padding: clamp(18px, 2.4vw, 28px); border-radius: 32px; background: rgba(255,255,255,.45); border: 1px solid rgba(255,255,255,.7); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 30px 60px -30px rgba(19,32,10,.45); }
.rc-deck .lp-fc--g { height: clamp(200px, 26vw, 270px); }
.rc-curva { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.rc-curva__txt p { color: #C9CED3; font-size: 18px; line-height: 1.55; max-width: 44ch; }
.rc-curva__seg { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.rc-curva__seg button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--cw-line); background: var(--cw-surface); color: #C9CED3; font: inherit; font-weight: 800; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.rc-curva__seg button[aria-pressed="true"] { background: var(--rc); border-color: var(--rc); color: #13200A; }
.rc-curva__graf { margin: 0; padding: clamp(16px, 2.4vw, 28px); border-radius: 28px; background: var(--cw-surface); border: 1px solid var(--cw-line); }
.rc-curva__graf svg { display: block; width: 100%; height: auto; overflow: visible; }
.rc-curva__eixos line { stroke: rgba(255,255,255,.16); stroke-width: 1.5; }
.rc-curva__rot text { fill: #8E959C; font: 600 13px var(--cw-font, system-ui); }
.rc-curva__sem, .rc-curva__com { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; transition: opacity .4s, stroke-dashoffset 1.2s cubic-bezier(.22,1,.36,1); }
.rc-curva__sem { stroke: #F07167; stroke-dasharray: 900; stroke-dashoffset: 0; }
.rc-curva__com { stroke: var(--rc); stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.rc-curva__pts circle { fill: var(--rc); stroke: var(--cw-surface); stroke-width: 3; opacity: 0; transition: opacity .3s .9s; }
.rc-curva.is-com .rc-curva__sem { opacity: .28; }
.rc-curva.is-com .rc-curva__com { stroke-dashoffset: 0; }
.rc-curva.is-com .rc-curva__pts circle { opacity: 1; }
.rc-curva__graf figcaption { margin-top: 12px; color: #C9CED3; font-size: 15px; line-height: 1.5; }
.rc-fontes__l { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); margin: 0; padding: 0; list-style: none; }
.rc-fontes__l h3 { margin: 18px 0 6px; font-size: 20px; font-weight: 800; }
.rc-fontes__l p { margin: 0; color: #C2C8CD; line-height: 1.5; }
.rc-fontes__vis { display: grid; align-content: center; justify-items: start; gap: 12px; min-height: 170px; padding: 22px; border-radius: 24px; color: #13200A; }
.rc-fontes__vis--tema { background: var(--rc); }
.rc-fontes__vis--pdf { background: #FFE2D1; transform: rotate(-1.2deg); }
.rc-fontes__vis--anki { background: #DCE9FF; transform: rotate(1deg); }
.rc-fontes__campo { display: inline-flex; align-items: center; gap: 2px; padding: 10px 14px; border-radius: 12px; background: #fff; font-weight: 700; }
.rc-fontes__campo i { width: 2px; height: 18px; background: #13200A; animation: rc-cursor 1s steps(1) infinite; }
@keyframes rc-cursor { 50% { opacity: 0; } }
.rc-fontes__bt { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 12px; background: #13200A; color: var(--rc); font-weight: 800; font-size: 14px; }
.rc-fontes__bt .ico { width: 16px; height: 16px; }
.rc-fontes__arq { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: #fff; font-weight: 700; }
.rc-fontes__arq .ico { color: #D9480F; }
.rc-fontes__apkg { padding: 8px 14px; border-radius: 10px; background: #13200A; color: #fff; font-weight: 900; font-size: 18px; letter-spacing: .02em; }
.rc-fontes__res { font-weight: 800; font-size: 15px; }

/* Questões: a questão numa folha de prova */
.rc-folha__topo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.rc-folha__topo h1 { margin-bottom: 0; }
.rc-folha__topo p { margin: 0; }
.rc-folha { width: min(900px, 100%); margin: 0 auto; border-radius: 10px 10px 28px 28px; background: #FDFDFB; box-shadow: 0 40px 80px -40px rgba(14,26,51,.6), 0 0 0 1px rgba(14,26,51,.06); overflow: hidden; transform: rotate(-.4deg); }
.rc-folha__cab { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; padding: 14px clamp(18px, 3vw, 32px); border-bottom: 2px solid #13200A; font-size: 14px; font-weight: 600; color: #3A4552; }
.rc-folha__cab b { color: #13200A; font-size: 15px; margin-right: auto; }
.rc-folha__cab span { display: inline-flex; align-items: center; gap: 6px; }
.rc-folha__cab .ico { width: 16px; height: 16px; }
.rc-folha .rc-q { padding: clamp(18px, 3vw, 32px); border-radius: 0; box-shadow: none; background: repeating-linear-gradient(180deg, transparent 0 31px, rgba(14,26,51,.05) 31px 32px); }
.rc-duas__g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.rc-duas__g article { padding: clamp(24px, 3vw, 38px); border-radius: 30px; }
.rc-duas__a { background: var(--rc); color: #13200A; }
.rc-duas__a .rc-checks li { color: #1E2A3A; }
.rc-duas__a .rc-checks li::before { background-color: rgba(19,32,10,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313200A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.rc-duas__b { background: var(--cw-surface); border: 1px solid var(--cw-line); }
.rc-duas__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #13200A; color: var(--rc); }
.rc-duas__b .rc-duas__ico { background: color-mix(in srgb, var(--rc) 18%, transparent); }
.rc-duas__ico .ico { width: 26px; height: 26px; }
.rc-duas__g h3 { margin: 18px 0 0; font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; letter-spacing: -.02em; }
.rc-cad { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.rc-cad__txt p { color: #C9CED3; font-size: 18px; line-height: 1.55; max-width: 44ch; }
.rc-cad__n { margin-top: 20px !important; font-weight: 700; color: #fff !important; }
.rc-cad__n b { display: inline-grid; place-items: center; min-width: 40px; height: 40px; margin-right: 8px; border-radius: 12px; background: var(--rc); color: #0E1A33; font-size: 18px; }
.rc-cad__n button { margin-left: 8px; padding: 6px 12px; border: 1.5px solid var(--cw-line); border-radius: 10px; background: none; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.rc-cad__l { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rc-cad__l li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; background: var(--cw-surface); border: 1px solid var(--cw-line); border-left: 4px solid #F07167;
  transition: transform .45s cubic-bezier(.22,1,.36,1), opacity .45s, border-color .3s; }
.rc-cad__l small { color: var(--cw-muted); font-weight: 600; }
.rc-cad__l p { margin: 4px 0 0; color: #fff; font-weight: 600; line-height: 1.4; }
.rc-cad__l button { min-height: 42px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--rc); color: #0E1A33; font: inherit; font-weight: 800; cursor: pointer; }
.rc-cad__l li.is-acertou { border-left-color: #8CE99A; }
.rc-cad__l li.is-acertou button { background: #8CE99A; }
.rc-cad__l li.is-saiu { opacity: 0; transform: translateX(40px) scale(.96); pointer-events: none; }

/* Simulados: o relógio gigante ao fundo do topo */
.rc-hero--relogio .rc-hero__painel { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; min-height: min(800px, calc(100vh - 24px)); }
.rc-relogio { display: flex; align-items: baseline; gap: 14px; margin: 22px 0 -6px !important; }
.rc-relogio span { font-family: var(--titulo, "Bricolage Grotesque", system-ui, sans-serif); font-weight: 800; font-size: clamp(72px, 9vw, 140px); line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums; color: #13200A; }
.rc-relogio small { font-size: 15px; font-weight: 700; color: rgba(19,32,10,.6); }
.rc-hero--relogio .rc-hero__lado, .rc-hero--relogio .rc-hero__palco { position: relative; }
.rc-hero--relogio .rc-hero__palco { padding: clamp(16px, 2vw, 24px); border-radius: 30px; background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.75); box-shadow: 0 30px 60px -30px rgba(19,32,10,.45); }
.rc-res { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.rc-res__txt p { color: #C9CED3; font-size: 18px; line-height: 1.55; max-width: 44ch; }
.rc-res__painel { display: grid; gap: 22px; padding: clamp(22px, 3vw, 34px); border-radius: 28px; background: var(--cw-surface); border: 1px solid var(--cw-line); }
.rc-res__nota { display: flex; align-items: center; gap: 18px; }
.rc-res__nota strong { display: block; font-size: 22px; } .rc-res__nota small { color: var(--cw-muted); font-size: 14px; }
.rc-res__anel { display: grid; place-items: center; flex: none; width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(closest-side, var(--cw-surface) 76%, transparent 77%), conic-gradient(var(--rc) calc(var(--p) * 1%), rgba(255,255,255,.08) 0); }
.rc-res__anel b { font-size: 22px; }
.rc-res__barras { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.rc-res__barras li { display: grid; grid-template-columns: minmax(0, 1fr) 48px; grid-template-rows: auto 10px; gap: 6px 12px; align-items: center; }
.rc-res__barras span { font-weight: 600; color: #E3E6E8; }
.rc-res__barras i { grid-column: 1; grid-row: 2; display: block; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--rc) calc(var(--v) * 1%), rgba(255,255,255,.08) 0); }
.rc-res__barras b { grid-column: 2; grid-row: 1 / span 2; text-align: right; font-variant-numeric: tabular-nums; }
.rc-res__painel.is-visible .rc-res__barras i, .rc-res__painel:not(.reveal) .rc-res__barras i { animation: rc-barra 1s cubic-bezier(.22,1,.36,1) both; }
@keyframes rc-barra { from { clip-path: inset(0 100% 0 0 round 99px); } to { clip-path: inset(0 0 0 0 round 99px); } }
.rc-res__dica { display: flex; align-items: center; gap: 8px; margin: 0; padding-top: 16px; border-top: 1px solid var(--cw-line); color: #fff; font-weight: 700; }
.rc-res__dica .ico { color: var(--rc); }

/* Estudo dirigido: um documento com sumário */
.rc-doc__topo { display: grid; justify-items: start; max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.rc-doc__topo p { margin: 18px 0 0; max-width: 52ch; }
.rc-doc { width: min(1040px, 100%); margin: 0 auto; padding: clamp(16px, 2.4vw, 28px); border-radius: 30px; background: #fff; box-shadow: 0 40px 80px -40px rgba(19,32,10,.55); }
.rc-doc .rc-dir { grid-template-columns: 260px minmax(0, 1fr); gap: 20px; align-items: start; }
.rc-doc .rc-dir__cab { position: sticky; top: 90px; display: grid; gap: 10px; padding: 18px; border-radius: 20px; background: color-mix(in srgb, var(--rc) 30%, #fff); }
.rc-doc .rc-dir__cab small { font-weight: 700; color: rgba(19,32,10,.6); }
.rc-doc .rc-dir__cab strong { font-family: var(--titulo, "Bricolage Grotesque", system-ui, sans-serif); font-size: 24px; letter-spacing: -.02em; line-height: 1.1; }
.rc-doc .rc-mod { box-shadow: none; border: 1px solid rgba(19,32,10,.1); }
.rc-vs__g { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(16px, 2.4vw, 28px); align-items: stretch; max-width: 1040px; margin: 0 auto; }
.rc-vs__g article { padding: clamp(24px, 3vw, 38px); border-radius: 30px; }
.rc-vs__g h3 { margin: 0; font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.02em; }
.rc-vs__g p { margin: 8px 0 18px; }
.rc-vs__g ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rc-vs__g li { padding: 12px 14px; border-radius: 14px; font-weight: 600; }
.rc-vs__res { background: var(--cw-surface); border: 1px solid var(--cw-line); color: #C9CED3; }
.rc-vs__res li { background: rgba(255,255,255,.04); }
.rc-vs__dir { background: var(--rc); color: #13200A; }
.rc-vs__dir li { background: rgba(255,255,255,.55); }

/* chat do Major */
.rc-chat { display: grid; gap: 12px; color: #13200A; }
.rc-chat__msgs { display: grid; align-content: start; gap: 10px; height: clamp(250px, 34vh, 330px); padding: 14px; overflow-y: auto; border-radius: 22px; background: #fff; box-shadow: 0 4px 0 rgba(19,32,10,.08); scroll-behavior: smooth; }
.rc-chat__l { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 8px; align-items: start; animation: rc-entra .3s cubic-bezier(.22,1,.36,1) both; }
.rc-chat__l img { width: 30px; height: auto; margin-top: 2px; }
.rc-chat__l--eu { grid-template-columns: minmax(0, 1fr); justify-items: end; }
.rc-chat__m { min-width: 0; font-size: 15px; line-height: 1.5; }
.rc-chat__m ol, .rc-chat__m ul { margin: 6px 0 0; padding-left: 20px; } .rc-chat__m li { margin: 2px 0; }
.rc-chat__m ol { list-style: decimal; } .rc-chat__m ul { list-style: disc; }
.rc-chat__m mark { background: none; color: inherit; font-weight: 700; box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--rc) 90%, #13200A); }
.rc-chat__m em { display: block; margin-top: 8px; font-style: normal; font-weight: 700; color: #1F6B57; }
.rc-chat__m--eu { max-width: 88%; padding: 9px 14px; border-radius: 18px 18px 6px 18px; background: #13200A; color: #fff; }
.rc-chat__modo { display: inline-block; margin: 0 0 4px; padding: 2px 8px; border-radius: 8px; background: color-mix(in srgb, var(--rc) 85%, #fff); color: #13200A; font-size: 12px; font-weight: 800; }
.rc-chat__m--eu .rc-chat__modo { display: table; }
.rc-lei { display: block; margin-top: 8px; padding-left: 12px; border-left: 3px solid rgba(19,32,10,.25); font-style: italic; color: #3A4A2E; font-size: 14px; }
.rc-chat__digita { display: inline-flex; gap: 4px; padding: 6px 0; }
.rc-chat__digita i { width: 7px; height: 7px; border-radius: 50%; background: #9AA39F; animation: rc-dig 1s ease-in-out infinite; }
.rc-chat__digita i:nth-child(2) { animation-delay: .15s; } .rc-chat__digita i:nth-child(3) { animation-delay: .3s; }
@keyframes rc-dig { 50% { transform: translateY(-4px); opacity: .5; } }
.rc-chat__modos, .rc-chat__sug { display: flex; flex-wrap: wrap; gap: 8px; }
.rc-chat__modos button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px 0 11px; border: 1.5px solid rgba(19,32,10,.16); border-radius: 999px; background: rgba(255,255,255,.6); color: #13200A; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; transition: background .15s, border-color .15s, transform .1s; }
.rc-chat__modos button .ico { width: 16px; height: 16px; }
.rc-chat__modos button[aria-pressed="true"] { background: #13200A; border-color: #13200A; color: var(--rc); }
.rc-chat__sug button { min-height: 40px; padding: 8px 14px; border: 0; border-radius: 14px; background: #fff; color: #13200A; font: inherit; font-weight: 700; font-size: 14px; text-align: left; cursor: pointer; box-shadow: 0 3px 0 rgba(19,32,10,.12); transition: transform .1s, box-shadow .1s; }
.rc-chat__modos button:active, .rc-chat__sug button:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(19,32,10,.12); }
.rc-tcard { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: center; width: min(260px, 100%); margin-top: 10px; padding: 12px; border: 1px solid #B8D2FF; border-radius: 16px; background: #EAF2FF; color: #13200A; font: inherit; text-align: left; cursor: pointer; }
.rc-tcard__ico { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #5AA2FF; color: #0E1A33; }
.rc-tcard__txt { display: grid; } .rc-tcard__txt b { font-size: 14px; } .rc-tcard__txt small { font-size: 12.5px; color: #4A5560; }
.rc-tcard strong { grid-column: 2; font-size: 15px; }
.rc-tcard.is-gerando .rc-tcard__ico { animation: rc-pulsa 1.2s ease-in-out infinite; }
@keyframes rc-pulsa { 50% { transform: scale(.88); opacity: .7; } }

/* simulado */
.rc-sim { display: grid; gap: 12px; color: #13200A; }
.rc-sim__topo { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; }
.rc-sim__t { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px; background: #13200A; color: var(--rc); font-variant-numeric: tabular-nums; }
.rc-sim__t .ico { width: 16px; height: 16px; }
.rc-sim__folha { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: q; }
.rc-sim__folha li { counter-increment: q; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border-radius: 16px; background: #fff; box-shadow: 0 3px 0 rgba(19,32,10,.08); transition: background .2s; }
.rc-sim__folha p { margin: 0; font-size: 14.5px; line-height: 1.4; font-weight: 600; }
.rc-sim__folha p::before { content: counter(q) ". "; font-weight: 800; color: rgba(19,32,10,.5); }
.rc-sim__folha span { display: flex; gap: 4px; }
.rc-sim__folha button { min-width: 64px; min-height: 36px; border: 1.5px solid rgba(19,32,10,.15); border-radius: 10px; background: #fff; color: #13200A; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.rc-sim__folha button[aria-pressed="true"] { background: #13200A; border-color: #13200A; color: #fff; }
.rc-sim__folha li.is-ok { background: #E4F6D2; } .rc-sim__folha li.is-erro { background: #FBE0DF; } .rc-sim__folha li.is-branco { background: #F1F1EE; }
.rc-sim__res { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 18px; background: #fff; animation: rc-entra .35s cubic-bezier(.22,1,.36,1) both; }
.rc-sim__anel { display: grid; place-items: center; flex: none; width: 74px; height: 74px; border-radius: 50%; background: radial-gradient(closest-side, #fff 76%, transparent 77%), conic-gradient(#13200A calc(var(--p) * 1%), rgba(19,32,10,.1) 0); transition: --p 1s cubic-bezier(.22,1,.36,1); }
.rc-sim__anel b { font-size: 18px; font-weight: 900; font-variant-numeric: tabular-nums; }
.rc-sim__res p { margin: 0; font-weight: 700; line-height: 1.4; }
.rc-sim__bt { justify-self: stretch; }

/* estudo dirigido */
.rc-dir { display: grid; gap: 10px; color: #13200A; }
.rc-dir__cab { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.rc-dir__cab strong { font-size: 17px; } .rc-dir__cab span { font-size: 13.5px; font-weight: 600; color: rgba(19,32,10,.7); }
.rc-dir__barra { height: 8px; border-radius: 99px; background: rgba(19,32,10,.12); overflow: hidden; }
.rc-dir__barra i { display: block; width: 0; height: 100%; border-radius: inherit; background: #13200A; transition: width .6s cubic-bezier(.22,1,.36,1); }
.rc-dir__mods { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rc-mod { border-radius: 18px; background: #fff; box-shadow: 0 3px 0 rgba(19,32,10,.08); overflow: hidden; }
.rc-mod__cab { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; padding: 0 14px; border: 0; background: none; color: inherit; font: inherit; font-weight: 800; font-size: 15px; text-align: left; cursor: pointer; }
.rc-mod__n { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 9px; background: color-mix(in srgb, var(--rc) 55%, #fff); font-size: 13px; transition: background .2s; }
.rc-mod.is-feito .rc-mod__n { background: #13200A; color: var(--rc); }
.rc-mod__corpo { display: none; padding: 0 14px 14px; }
.rc-mod.is-aberto .rc-mod__corpo { display: grid; gap: 8px; animation: rc-entra .3s cubic-bezier(.22,1,.36,1) both; }
.rc-mod__corpo p { margin: 0; font-size: 14.5px; line-height: 1.55; }
.rc-mod__corpo mark { background: none; color: inherit; font-weight: 700; box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--rc) 90%, #13200A); }
.rc-mod__q { padding: 10px 12px; border-radius: 12px; background: #F4F4F1; font-weight: 700; }
.rc-mod__ce { display: flex; gap: 6px; }
.rc-mod__ce button { flex: 1; min-height: 40px; border: 1.5px solid rgba(19,32,10,.15); border-radius: 12px; background: #fff; color: #13200A; font: inherit; font-weight: 800; cursor: pointer; transition: background .15s; }
.rc-mod__ce button.is-ok { background: #2F7A12; border-color: #2F7A12; color: #fff; }
.rc-mod__ce button.is-erro { background: #C2373B; border-color: #C2373B; color: #fff; animation: rc-nao .3s; }
.rc-mod__fb { font-weight: 600; }

@keyframes rc-nao { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@keyframes rc-entra { from { opacity: 0; transform: translateY(8px); } }

@media (max-width: 960px) {
  .rc-hero__painel { padding-top: 104px; border-radius: 30px; }
  .rc-hero--deck .rc-hero__painel, .rc-hero--relogio .rc-hero__painel { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .rc-hero--deck .rc-hero__lado { order: -1; }
  .rc-folha__topo, .rc-3m, .rc-ve, .rc-curva, .rc-cad, .rc-res, .rc-duas__g, .rc-vs__g, .rc-sec2 { grid-template-columns: minmax(0, 1fr); }
  .rc-ve__mock { order: 2; }
  .rc-fontes__l { grid-template-columns: minmax(0, 1fr); }
  .rc-doc .rc-dir { grid-template-columns: minmax(0, 1fr); }
  .rc-doc .rc-dir__cab { position: static; }
}
@media (max-width: 480px) {
  .rc-hero { padding: 8px 8px 0; }
  .rc-hero__painel { padding: 96px 16px 20px; border-radius: 26px; }
  .rc-janela__barra span { display: none; }
  .rc-sim__folha li { grid-template-columns: minmax(0, 1fr); }
  .rc-sim__folha button { flex: 1; }
  .rc-ctas .lp-bt--grande { width: 100%; }
  .rc-3m__seg { display: flex; }
  .rc-3m__seg button { flex: 1; padding: 0 8px; }
  .rc-folha { transform: none; }
  .rc-doc { padding: 12px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .rc-chat__l, .rc-sim__res, .rc-mod.is-aberto .rc-mod__corpo, .rc-tcard.is-gerando .rc-tcard__ico, .rc-chat__digita i, .rc-3m__corpo.is-troca, .rc-fontes__campo i, .rc-res__barras i { animation: none !important; }
  .rc-sim__anel, .rc-dir__barra i, .rc-curva__sem, .rc-curva__com, .rc-cad__l li { transition: none; }
}
