/* DIGIMON WARCODE: guias e database no site novo (02/12/2026). Vem depois do warcode.css e usa as mesmas cores e fontes. */
:root {
  --texto-2: #4b5563; --texto-3: #8a93a3; --vermelho: var(--verm); --ambar: #d97706; --verde: #15a34a; --ciano: #0891b2; --roxo: #7c3aed;
  --linha-2: #d6dae1; --painel: #fff; --painel-2: #f7f8fa; --painel-3: #eceff4; --f-titulo: var(--tit); --f-mono: ui-monospace, 'Cascadia Mono', Consolas, monospace;
}

/* ---------- cabeçalho do miolo (título + subtítulo + pílulas) ---------- */
.cab-conteudo { margin-bottom: 26px; }
.cab-conteudo h2 { margin: 0; font: 800 38px/1.12 var(--tit); color: #151515; }
.cab-conteudo h2 span { color: var(--verm); }
.cab-conteudo > p { margin: 10px 0 0; max-width: 820px; color: var(--texto-2); font-size: 17px; }
.g-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.g-nav a { padding: 7px 16px; border-radius: 99px; background: #fff; border: 1.5px solid var(--linha); color: #444; font: 700 14px var(--tit); transition: .2s; }
.g-nav a:hover { border-color: var(--verm); color: var(--verm); }
.g-nav a.ativo { background: var(--verm); border-color: var(--verm); color: #fff; }

/* ---------- cartão branco com índice lateral ---------- */
.guia-caixa { background: #fff; border-radius: 26px; box-shadow: var(--sombra); padding: 38px 40px 46px; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 40px; align-items: start; }
.guia-caixa.sem-indice { grid-template-columns: minmax(0, 1fr); }
nav.lateral { position: sticky; top: calc(var(--topo) + 22px); display: flex; flex-direction: column; gap: 2px; padding: 14px; background: var(--painel-2); border-radius: 18px; max-height: calc(100vh - var(--topo) - 44px); overflow-y: auto; }
nav.lateral::before { content: attr(data-titulo); display: block; padding: 2px 10px 8px; color: var(--verm); font: 800 12px var(--tit); letter-spacing: 2px; text-transform: uppercase; }
nav.lateral a { display: block; padding: 7px 12px; border-radius: 10px; color: #444; font: 700 14.5px/1.3 var(--tit); transition: .15s; }
nav.lateral a:hover { background: #fff; color: var(--verm); }
nav.lateral a.atual { background: var(--verm); color: #fff; }

/* ---------- texto do guia ---------- */
.artigo { min-width: 0; font-size: 16px; line-height: 1.72; color: #333; }
.artigo > :first-child { margin-top: 0; }
.artigo h2 { font: 800 28px/1.2 var(--tit); color: #151515; margin: 46px 0 14px; padding-bottom: 10px; border-bottom: 3px solid #151515; scroll-margin-top: calc(var(--topo) + 20px); }
.artigo h2:first-child, .artigo .g-foto + h2 { margin-top: 0; }
.artigo h3 { font: 800 20px/1.3 var(--tit); color: var(--verm); margin: 26px 0 8px; scroll-margin-top: calc(var(--topo) + 20px); }
.artigo h4 { font: 700 17px var(--tit); margin: 18px 0 6px; }
.artigo p { margin: 0 0 12px; }
.artigo ul, .artigo ol { padding-left: 22px; margin: 8px 0 14px; }
.artigo li { margin: 5px 0; }
.artigo li::marker { color: var(--verm); }
.artigo strong, .artigo b { color: #111; }
.artigo a { color: var(--azul); font-weight: 700; }
.artigo a:hover { text-decoration: underline; }
.artigo img { height: auto; }
.artigo code { background: var(--painel-3); padding: 1px 6px; border-radius: 6px; font-size: .92em; }

/* fotos */
.g-foto { margin: 14px 0 22px; }
.g-foto img { width: 100%; border-radius: 18px; box-shadow: 0 8px 22px rgba(17, 24, 39, .12); }
.g-foto figcaption { font-size: 13.5px; color: var(--texto-3); margin-top: 8px; text-align: center; }

/* notas */
.g-nota { position: relative; background: #fff8eb; border: 1px solid #fde2b4; border-left: 5px solid #f59e0b; border-radius: 14px; padding: 13px 18px; margin: 16px 0; font-size: 15px; }
.g-nota.vermelha { background: #fff3f4; border-color: #ffd2d6; border-left-color: var(--verm); }
.g-nota.verde { background: #effcf4; border-color: #c4efd4; border-left-color: var(--verde); }

/* blocos de números */
.g-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 14px 0 22px; }
.g-tile { background: var(--painel-2); border-radius: 18px; padding: 16px 18px; }
.g-tile b { display: block; font: 800 28px/1.1 var(--tit); color: var(--verm); }
.g-tile span { color: var(--texto-2); font-size: 14px; }

/* etapas da ordem dos mapas */
.g-etapa { display: grid; grid-template-columns: 300px 1fr; gap: 20px; background: var(--painel-2); border-radius: 20px; overflow: hidden; margin: 16px 0; }
.g-etapa > img { width: 300px; height: 100%; min-height: 169px; object-fit: cover; }
.g-etapa > div { padding: 16px 18px 16px 0; min-width: 0; }
.g-etapa h3 { margin: 0 0 4px; }
.g-etapa .faixa { display: inline-block; padding: 1px 10px; border-radius: 99px; background: var(--verm); color: #fff; font: 800 12px var(--tit); letter-spacing: 1px; }
.g-etapa p { margin: 6px 0; font-size: 15px; }
.g-etapa .mapas { color: var(--texto-2); font-size: 14px; }
.g-dados { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font-size: 13.5px; color: var(--texto-2); }
.g-dados b { color: #111; }

/* cartões (Digimons, chefes) */
.g-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 12px; margin: 12px 0 22px; }
.g-card { background: var(--painel-2); border-radius: 18px; padding: 14px; display: grid; grid-template-columns: 57px 1fr; gap: 14px; align-items: start; transition: transform .2s, box-shadow .2s; }
.g-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(17, 24, 39, .08); background: #fff; }
.g-card.sem-img { grid-template-columns: 1fr; }
.g-card > img { width: 57px; height: 57px; border-radius: 14px; background: #fff; }
.g-card h4 { margin: 0; font: 800 17px/1.2 var(--tit); }
.g-card h4 small { font: 700 11.5px var(--txt); color: var(--texto-3); margin-left: 4px; }
.g-card p { font-size: 14px; margin: 4px 0 0; color: var(--texto-2); }
.g-card p b { color: #111; }
.g-card .contra b, .g-dg .contra b { color: var(--verde); }
.g-tag { display: inline-block; padding: 1px 9px; border-radius: 99px; background: #eef0f4; color: #4b5563; font: 800 11.5px var(--tit); margin: 0 4px 2px 0; }
.g-tag.d1 { background: #dcfce7; color: #15803d; }
.g-tag.d2 { background: #fef3c7; color: #b45309; }
.g-tag.d3 { background: #ffe4e6; color: #be123c; }

/* passos numerados */
.g-passos { counter-reset: p; list-style: none; padding: 0 !important; margin: 12px 0 20px; }
.g-passos li { counter-increment: p; position: relative; padding: 12px 0 12px 50px; border-bottom: 1px solid var(--linha); }
.g-passos li::marker { content: ''; }
.g-passos li::before { content: counter(p); position: absolute; left: 0; top: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--verm); color: #fff; font: 800 15px var(--tit); box-shadow: 0 4px 10px rgba(232, 32, 44, .3); }

/* itens com ícone */
.g-itens-t { font: 800 12.5px var(--tit); letter-spacing: 1.5px; text-transform: uppercase; color: var(--texto-3); margin: 16px 0 6px; }
.g-itens { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 8px; margin: 4px 0 16px; }
.g-item { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; align-items: center; background: var(--painel-2); border-radius: 12px; padding: 7px 10px; font-size: 14px; line-height: 1.25; color: #222; }
.g-item img { width: 32px; height: 32px; image-rendering: pixelated; }
.g-item > i { width: 32px; height: 32px; background: var(--linha); border-radius: 8px; }
.g-item em { font-style: normal; font-weight: 800; font-size: 12px; color: var(--ambar); }
.g-item small { display: block; color: var(--texto-3); font-size: 12px; }

/* DGs e chefes */
.g-dg { background: #fff; border: 1.5px solid var(--linha); border-top: 5px solid var(--verm); border-radius: 20px; padding: 20px 22px; margin: 18px 0; min-width: 0; scroll-margin-top: calc(var(--topo) + 20px); box-shadow: 0 6px 18px rgba(17, 24, 39, .05); }
.g-dg h3 { margin: 0; color: #151515; }
.g-dg-tags { margin: 6px 0 10px; }
.g-dg p { font-size: 15px; margin: 6px 0; }
.g-dg .g-foto { margin: 10px 0 12px; }
.g-dg-l { color: var(--texto-2); font-size: 14px !important; }
.g-dg-l b { color: #111; }
.g-dg .contra { font-size: 14px; color: var(--texto-2); }
.g-dg .g-item { background: var(--painel-2); }
.g-mec { margin: 10px 0; padding-left: 20px; font-size: 15px; }
.g-mec li { margin: 8px 0; }
.g-mec li b { color: var(--ambar); }
.g-mec li span { display: block; color: var(--verde); font-weight: 600; }
.g-mec li span::before { content: "O que fazer: "; color: var(--texto-3); font-weight: 400; }
:lang(en) .g-mec li span::before { content: "What to do: "; }
:lang(es) .g-mec li span::before { content: "Qué hacer: "; }
.g-sug { border-top: 1px dashed var(--linha-2); padding-top: 7px; margin-top: 8px; font-size: 13.5px !important; color: var(--texto-2); }
.g-dif { border-top: 1px solid var(--linha); padding: 8px 0; }
.g-dif summary { cursor: pointer; font: 800 15.5px var(--tit); color: var(--azul); }
.g-dif summary:hover { color: var(--verm); }
.g-rodape { margin-top: 34px; padding-top: 16px; border-top: 1px solid var(--linha); color: var(--texto-3); font-size: 13.5px; }

/* tabuleiro do DigiSoul */
.g-tabuleiro { display: inline-grid; grid-template-columns: repeat(3, 46px); gap: 5px; margin: 6px 16px 6px 0; vertical-align: top; }
.g-tabuleiro i { width: 46px; height: 46px; border-radius: 10px; background: var(--painel-3); display: grid; place-items: center; font: 800 14px var(--tit); color: var(--texto-3); font-style: normal; }
.g-tabuleiro i.on { background: var(--verm); color: #fff; box-shadow: 0 4px 10px rgba(232, 32, 44, .3); }

/* atalhos e perguntas */
.atalhos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin: 12px 0 18px; }
.artigo .atalho { display: flex; align-items: center; gap: 14px; background: var(--painel-2); border-radius: 16px; padding: 12px 14px; color: #222; font-weight: 700; }
.artigo .atalho:hover { background: #fff1f2; color: var(--verm); text-decoration: none; }
details.faq { background: var(--painel-2); border-radius: 16px; margin-bottom: 10px; overflow: hidden; }
details.faq summary { cursor: pointer; padding: 15px 20px 15px 54px; position: relative; font: 800 16.5px var(--tit); list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::before { content: '+'; position: absolute; left: 16px; top: 13px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--verm); color: #fff; font: 800 18px/1 var(--tit); transition: transform .2s; }
details.faq[open] summary::before { content: '−'; }
details.faq[open] { background: #fff; box-shadow: inset 0 0 0 1.5px var(--linha); }
details.faq p { padding: 0 20px 16px 54px; margin: 0; color: var(--texto-2); }

/* ---------- tabelas (guias e database) ---------- */
.tabela-wrap { overflow-x: auto; margin: 12px 0 20px; border-radius: 16px; border: 1px solid var(--linha); background: #fff; }
table.tab { width: 100%; border-collapse: collapse; font-size: 14px; }
.artigo table.tab { min-width: 560px; }
.artigo table.g-status { min-width: 840px; }
table.tab th { background: #151515; color: #fff; text-align: left; padding: 11px 14px; font: 700 13.5px var(--tit); letter-spacing: .3px; white-space: nowrap; }
table.tab td { padding: 10px 14px; border-top: 1px solid var(--linha); vertical-align: top; }
table.tab tbody tr:nth-child(even) td { background: #fafbfc; }
table.tab tbody tr:hover td { background: #fff5f5; }
table.tab .num { text-align: right; font-variant-numeric: tabular-nums; }
table.tab td.num { white-space: nowrap; }
.g-status td.num b { color: var(--ambar); }
.g-status small { color: var(--texto-3); }

/* ---------- página de guias (cartões do hub) ---------- */
.g-hub { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin: 16px 0 30px; }
.g-hub a { display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 6px 18px rgba(17, 24, 39, .08); border: 1px solid var(--linha); transition: transform .25s, box-shadow .25s; color: #222; font-weight: 400; }
.g-hub a:hover { transform: translateY(-5px); box-shadow: 0 16px 30px rgba(17, 24, 39, .14); text-decoration: none; }
.g-hub img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; transition: transform .5s; }
.g-hub a:hover img { transform: scale(1.05); }
.g-hub b { font: 800 18px/1.25 var(--tit); color: #151515; padding: 14px 16px 2px; }
.g-hub span { color: var(--texto-2); font-size: 14px; line-height: 1.5; padding: 0 16px 16px; }
.artigo h3.grupo-hub { display: flex; align-items: center; gap: 10px; color: #151515; font-size: 22px; margin-top: 34px; }
.artigo h3.grupo-hub::before { content: ''; width: 8px; height: 26px; border-radius: 4px; background: var(--verm); }

/* ---------- database: números, filtros e listas ---------- */
.numeros { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.numero-box { background: #fff; border-radius: 16px; padding: 10px 18px; box-shadow: 0 4px 14px rgba(17, 24, 39, .06); min-width: 120px; }
.numero-box .rotulo { margin: 0; }
.numero-box .v { font: 800 24px/1.15 var(--tit); color: var(--verm); }
.rotulo { font: 800 11.5px var(--tit); letter-spacing: 1.2px; text-transform: uppercase; color: var(--texto-3); }
.rotulo.v { color: var(--verm); }
.mono { font-family: var(--txt); }
.filtro-caixa { background: #fff; border-radius: 22px; box-shadow: var(--sombra); padding: 20px 22px; margin-bottom: 18px; }
.filtros { display: flex; flex-wrap: wrap; gap: 12px; }
.campo { display: flex; flex-direction: column; gap: 5px; min-width: 170px; }
.campo.largo { flex: 1 1 300px; }
.campo input, .campo select { height: 46px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--linha); background: var(--painel-2); font: 600 15px var(--txt); color: #222; outline: none; transition: border-color .2s, background .2s; }
.campo input:focus, .campo select:focus { border-color: var(--verm); background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { padding: 6px 14px; border-radius: 99px; border: 1.5px solid var(--linha); background: #fff; color: #444; font: 700 13.5px var(--tit); transition: .15s; }
.chip:hover { border-color: var(--verm); color: var(--verm); }
.chip[aria-pressed=true] { background: var(--verm); border-color: var(--verm); color: #fff; }
.db-abas { display: flex; flex-wrap: wrap; gap: 7px; }
.db-abas button { padding: 7px 16px; border-radius: 99px; border: 1.5px solid var(--linha); background: #fff; font: 700 14px var(--tit); color: #444; }
.db-abas button[aria-selected=true] { border-color: var(--verm); color: var(--verm); }
.contagem { margin: 6px 4px 14px; color: var(--texto-2); font-size: 15px; }
.contagem b { color: #111; }
.mais-itens { display: flex; justify-content: center; margin-top: 24px; }
.mais-itens button { padding: 11px 30px; border-radius: 99px; border: 2px solid #151515; background: #fff; font: 800 15px var(--tit); }
.mais-itens button:hover { background: #151515; color: #fff; }
.vazio-msg { padding: 40px 20px; text-align: center; color: var(--texto-3); background: #fff; border-radius: 18px; grid-column: 1 / -1; }

.lista-itens, .lista-acc, .lista-selos, .lista-cash { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.lista-dg { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 12px; }
.lista-babel { display: flex; flex-direction: column; gap: 10px; }
.item-card, .acc, .selo-card, .cash-card, .dg-card { text-align: left; background: #fff; border: 1px solid var(--linha); border-radius: 18px; padding: 14px; cursor: pointer; font: inherit; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.item-card:hover, .acc:hover, .selo-card:hover, .cash-card:hover, .dg-card:hover { transform: translateY(-3px); border-color: #ffc9cd; box-shadow: 0 12px 26px rgba(17, 24, 39, .1); }
.item-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; }
.nm { display: block; font: 800 16px/1.25 var(--tit); color: #151515; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; color: var(--texto-3); margin-top: 3px; }
.cab-acc, .topo-c { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; margin-bottom: 10px; }
.locais { margin-top: 10px; font-size: 12.5px; color: var(--texto-2); }
.pacote { font-size: 13px; color: var(--texto-2); margin: 4px 0 10px; }
.cash-card .preco { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--linha); padding-top: 10px; }
.cash-card .preco b { font: 800 18px var(--tit); color: var(--verm); }
.dg-card { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; }
.dg-img { border-radius: 14px; background: var(--painel-2); object-fit: contain; }
.dg-img.vazio { display: inline-block; }
.dg-cab { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dg-cab .nm { display: inline; }
.cadeia { font-size: 13px; color: var(--texto-2); margin-top: 6px; line-height: 1.5; }
.cadeia b { color: var(--verm); }
.babel-card { background: #fff; border: 1px solid var(--linha); border-radius: 18px; overflow: hidden; }
.babel-card summary { cursor: pointer; padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; list-style: none; }
.babel-card summary::-webkit-details-marker { display: none; }
.babel-card summary .meta { flex-basis: 100%; }
.babel-card[open] summary { border-bottom: 1px solid var(--linha); background: var(--painel-2); }
.corpo-b { padding: 16px 20px 6px; }
.desc { color: var(--texto-2); font-size: 14.5px; white-space: pre-line; }

/* etiquetas */
.tag { display: inline-flex; align-items: center; padding: 1px 10px; border-radius: 99px; background: #ffe4e6; color: #be123c; font: 800 11.5px/1.6 var(--tit); letter-spacing: .3px; }
.tag.ambar { background: #fef3c7; color: #b45309; } .tag.azul, .tag.ciano { background: #dbeafe; color: #1d4ed8; } .tag.verde { background: #dcfce7; color: #15803d; }
.tag.cinza { background: #eef0f4; color: #4b5563; } .tag.roxo { background: #ede9fe; color: #6d28d9; }
.tag.cheia { background: var(--verm); color: #fff; }
.fontes-mini { display: flex; gap: 4px; flex-wrap: wrap; }
.fontes-mini span { font: 800 10.5px/1.6 var(--tit); padding: 0 7px; border-radius: 99px; background: #eef0f4; color: #4b5563; }
.fontes-mini span.k-d, .fontes-mini span.k-i { background: #ffe4e6; color: #be123c; }
.fontes-mini span.k-cash { background: #fef3c7; color: #b45309; }
.chance { color: var(--verm); font-weight: 800; }

/* ícones das folhas do jogo */
.ico { display: inline-block; flex: none; background-repeat: no-repeat; image-rendering: pixelated; border-radius: 8px; vertical-align: middle; }
.ico.vazio, .dg-img.vazio { display: inline-block; flex: none; padding: 0; background: var(--painel-3); }
.link-item { display: inline-flex; align-items: center; gap: 8px; padding: 2px 8px 2px 2px; border: 0; border-radius: 10px; background: none; color: #222; font: 700 14px var(--txt); cursor: pointer; text-align: left; }
.link-item:hover { background: #fff1f2; color: var(--verm); }

/* status de acessório e graus de selo */
.linhas-status { display: flex; flex-direction: column; gap: 5px; }
.linha-status { display: grid; grid-template-columns: 44px 1fr auto; gap: 8px; align-items: center; font-size: 12.5px; }
.linha-status .sg { font: 800 12px var(--tit); color: var(--verm); }
.linha-status .faixa { height: 6px; border-radius: 99px; background: var(--painel-3); position: relative; overflow: hidden; }
.linha-status .faixa i { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, var(--verm), #f59e0b); }
.linha-status .vl { font-size: 12px; color: var(--texto-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.graus { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: 12px; }
.graus div { text-align: center; background: var(--painel-2); border-radius: 10px; padding: 5px 2px; }
.graus .g-n { font: 800 9.5px var(--tit); letter-spacing: .5px; color: var(--texto-3); text-transform: uppercase; }
.graus .g-v { font: 800 13px var(--tit); }
.graus div:last-child { background: #fef3c7; } .graus div:last-child .g-v { color: #b45309; }

/* gaveta de detalhe */
.gaveta-fundo { position: fixed; inset: 0; z-index: 80; background: rgba(10, 14, 24, .5); opacity: 0; pointer-events: none; transition: opacity .25s; }
.gaveta-fundo.aberto { opacity: 1; pointer-events: auto; }
.gaveta { position: fixed; z-index: 81; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: var(--fundo); box-shadow: -20px 0 50px rgba(0, 0, 0, .2); transform: translateX(105%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; border-radius: 26px 0 0 26px; overflow: hidden; }
.gaveta.larga { width: min(860px, 100%); }
.gaveta.aberto { transform: none; }
.topo-g { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 20px 22px; background: #151515; color: #fff; }
.topo-g h2 { margin: 2px 0 0; font: 800 23px/1.2 var(--tit); }
.topo-g .rotulo.v { color: #ff8a93; }
.topo-g .fechar { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #2c2c2c; color: #fff; font-size: 17px; }
.topo-g .fechar:hover { background: var(--verm); }
.corpo-g { flex: 1; overflow-y: auto; padding: 22px; }
.ficha { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin-bottom: 16px; }
.ficha > div { background: #fff; border-radius: 14px; padding: 10px 14px; }
.ficha .v { font: 800 16px var(--tit); color: #151515; }
.bloco-fonte { margin-top: 20px; }
.linha-titulo { display: flex; align-items: center; gap: 8px; font: 800 17px var(--tit); color: #151515; margin-bottom: 10px; }
.db-craft { background: #fff; border-radius: 14px; padding: 12px; margin-bottom: 8px; }
.db-formas { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 16px; }
.forma-tab { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 96px; padding: 8px 4px; border-radius: 16px; border: 1.5px solid var(--linha); background: #fff; font: 700 12px/1.2 var(--tit); color: #444; text-align: center; }
.forma-tab[aria-selected=true] { border-color: var(--verm); background: #fff1f2; color: var(--verm); }
.aviso-previa { background: #fff8eb; border-left: 5px solid #f59e0b; border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; font-size: 14px; }
.titulo-secao { font: 800 30px var(--tit); margin: 0 0 6px; }
.titulo-secao em { font-style: normal; color: var(--verm); }
.subtitulo-secao { color: var(--texto-2); margin: 0 0 16px; }
.db-grade { display: grid; gap: 16px; }
#vantagens { background: #fff; border-radius: 22px; box-shadow: var(--sombra); padding: 26px; }

/* ---------- celular ---------- */
@media (max-width: 900px) {
  .guia-caixa { grid-template-columns: 1fr; padding: 22px 18px 30px; gap: 20px; border-radius: 20px; }
  nav.lateral { position: static; max-height: none; flex-direction: row; flex-wrap: wrap; gap: 6px; padding: 12px; }
  nav.lateral::before { flex-basis: 100%; }
  nav.lateral a { background: #fff; padding: 6px 12px; font-size: 13.5px; }
  .cab-conteudo h2 { font-size: 28px; }
  .artigo h2 { font-size: 23px; }
  .g-etapa { grid-template-columns: 1fr; gap: 0; }
  .g-etapa > img { width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .g-etapa > div { padding: 12px 14px; }
  .g-dg { padding: 16px 14px; }
  .g-itens { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .lista-dg { grid-template-columns: 1fr; }
  .gaveta, .gaveta.larga { border-radius: 0; }
  .campo { min-width: 0; flex: 1 1 140px; }
}
