/* Artigos de diegola.com.br/dicas/ — por cima do /ebooks/site.css (topo laranja, Poppins). --cor = cor do nicho. */
.artigo { max-width: 760px; padding-top: 24px; padding-bottom: 40px; }
.trilha { font-size: 13.5px; color: var(--apagado); margin-bottom: 22px; }
.trilha a { text-decoration: none; }
.trilha a:hover { color: var(--texto); }
.tag { display: inline-block; font: 600 12.5px var(--forte); letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--cor, #ff5a1f); padding: 5px 11px; border-radius: 999px; }
.cab-artigo h1 { font-size: clamp(30px, 5vw, 46px); margin: 16px 0 14px; line-height: 1.12; }
.linha-fina { font-size: 19px; color: var(--texto-suave); margin: 0 0 14px; }
.cab-artigo .data { font-size: 13.5px; color: var(--apagado); padding-bottom: 22px; border-bottom: 1px solid var(--borda); }

.indice { background: var(--superficie); border-radius: 14px; padding: 18px 22px; margin: 26px 0 8px; font-size: 15px; }
.indice b { font-family: var(--forte); font-size: 14px; }
.indice ol { margin: 8px 0 0; padding-left: 20px; }
.indice li { margin: 4px 0; }
.indice a { text-decoration: none; color: var(--texto-suave); }
.indice a:hover { color: var(--cor); }

.texto { font-size: 18px; line-height: 1.7; }
.texto p { margin: 0 0 18px; }
.texto h2 { font-size: clamp(24px, 3.4vw, 30px); margin: 42px 0 14px; line-height: 1.2; scroll-margin-top: 80px; }
.texto h3 { font-size: 20px; margin: 28px 0 10px; line-height: 1.3; }
.texto h3.pergunta { font-size: 18.5px; }
.texto ul, .texto ol { margin: 0 0 20px; padding-left: 24px; }
.texto li { margin: 0 0 8px; }
.texto li::marker { color: var(--cor); font-weight: 700; }
.texto a { color: color-mix(in srgb, var(--cor) 80%, #000); text-underline-offset: 3px; }
.texto strong { font-weight: 600; }
.destaque { border-left: 4px solid var(--cor); background: color-mix(in srgb, var(--cor) 8%, #fff); border-radius: 0 12px 12px 0; padding: 14px 18px; margin: 0 0 22px; font-size: 17px; }

/* chamada do e-book */
.cta-ebook { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; margin: 34px 0; padding: 24px; border-radius: 18px; background: color-mix(in srgb, var(--cor) 9%, #fff); border: 1px solid color-mix(in srgb, var(--cor) 22%, #fff); }
.cta-ebook .capa { position: relative; display: block; aspect-ratio: 3/4; border-radius: 3px 9px 9px 3px; overflow: hidden; box-shadow: -8px 14px 30px -12px rgba(0,0,0,.5); transform: rotate(-3deg); transition: transform .5s var(--facil); }
.cta-ebook .capa:hover { transform: rotate(0) scale(1.03); }
.cta-ebook .capa img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cta-ebook .capa span { position: absolute; inset: auto 0 0 0; padding: 30% 8% 9%; color: #fff; font: 600 13px/1.15 var(--forte); background: linear-gradient(transparent, rgba(0,0,0,.82)); }
.cta-ebook .olho, .cta-grupo .olho, .ao-vivo .olho { font: 600 12px var(--forte); letter-spacing: .08em; text-transform: uppercase; color: var(--cor); }
.cta-ebook h3 { font-size: 21px; margin: 6px 0 8px; line-height: 1.25; }
.cta-ebook p { font-size: 15.5px; line-height: 1.55; color: var(--texto-suave); margin: 0 0 14px; }
.cta-ebook .bt { background: var(--cor); color: #fff; box-shadow: 0 10px 22px -12px var(--cor); text-decoration: none; }
.cta-ebook .bt:hover { filter: brightness(1.08); }
.cta-ebook small { display: block; margin-top: 8px; font-size: 13px; color: var(--apagado); }

/* chamada do grupo */
.cta-grupo { margin: 36px 0; border-radius: 18px; padding: clamp(24px, 4vw, 34px); color: #fff; background: radial-gradient(60% 70% at 95% 0%, rgba(255,208,0,.5), transparent 70%), linear-gradient(140deg, #ff8a00, #ff5a1f 50%, #f0262b); }
.cta-grupo .olho { color: #1d1d1f; background: var(--amarelo); display: inline-block; padding: 5px 11px; border-radius: 999px; }
.cta-grupo h3 { font-size: clamp(21px, 3vw, 26px); margin: 12px 0 10px; line-height: 1.2; color: #fff; }
.cta-grupo p { font-size: 16px; line-height: 1.55; color: #fff1e6; margin: 0 0 18px; max-width: 600px; }
.cta-grupo .acoes { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-grupo .bt { text-decoration: none; }

/* ofertas e cupons ao vivo */
.ao-vivo { margin: 32px 0; padding: 22px; border-radius: 18px; border: 1px solid var(--borda); background: #fff; }
.ao-vivo .cab h3 { font-size: 21px; margin: 6px 0 16px; }
.ao-vivo .grade { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ao-vivo .card { display: flex; flex-direction: column; border: 1px solid var(--borda); border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .3s var(--facil), box-shadow .3s; position: relative; background: #fff; }
.ao-vivo .card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(0,0,0,.4); }
.ao-vivo .foto { aspect-ratio: 1; position: relative; }
.ao-vivo .foto img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; }
.ao-vivo .off { position: absolute; top: 8px; left: 8px; background: var(--vermelho); color: #fff; font: 700 12px var(--forte); padding: 3px 8px; border-radius: 99px; z-index: 1; }
.ao-vivo .info { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; font-size: 13.5px; line-height: 1.35; }
.ao-vivo .loja { font: 600 11px var(--forte); text-transform: uppercase; letter-spacing: .05em; color: var(--apagado); }
.ao-vivo .nome { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.ao-vivo .valor { margin-top: auto; display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.ao-vivo .valor b { font: 700 17px var(--forte); color: var(--azul-forte); }
.ao-vivo .valor s { font-size: 12px; color: var(--apagado); }
.ao-vivo .aviso { font-size: 12.5px; color: var(--apagado); margin: 14px 0 0; line-height: 1.45; }
.ao-vivo .mais { display: inline-block; margin-top: 14px; font: 600 14.5px var(--forte); color: var(--azul-forte); text-decoration: none; }
.ao-vivo .vazio { font-size: 15px; color: var(--texto-suave); margin: 0; }
.ao-vivo .esq { background: linear-gradient(90deg, #f3f3f3 25%, #e9e9e9 50%, #f3f3f3 75%); background-size: 200% 100%; animation: brilhoDica 1.2s infinite linear; border-radius: 14px; aspect-ratio: .75; }
.lista-cupons .esq { aspect-ratio: auto; height: 74px; margin-bottom: 10px; }
@keyframes brilhoDica { to { background-position: -200% 0; } }
.cupom { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: #fffbe6; border: 1.5px dashed #f0c400; margin-bottom: 10px; }
.cupom .cod { font: 700 16px var(--forte); letter-spacing: .04em; background: #fff; border: 1px solid #f0c400; padding: 8px 12px; border-radius: 10px; cursor: pointer; white-space: nowrap; color: #1d1d1f; }
.cupom .cod:hover { background: var(--amarelo); }
.cupom .desc { font-size: 15px; line-height: 1.4; }
.cupom .desc small { display: block; color: var(--texto-suave); font-size: 13px; margin-top: 2px; }
.cupom .usar { font: 600 14px var(--forte); color: var(--azul-forte); text-decoration: none; white-space: nowrap; }

/* leia também e hub */
.leia { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--borda); }
.leia h2, .grupo h2 { font-size: 24px; margin-bottom: 16px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.card-dica { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 14px; background: var(--superficie); text-decoration: none; border-top: 4px solid var(--cor); transition: transform .3s var(--facil), box-shadow .3s; }
.card-dica:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(0,0,0,.35); }
.card-dica .tag { align-self: flex-start; font-size: 11px; }
.card-dica b { font: 600 17px/1.3 var(--forte); }
.card-dica p { margin: 0; font-size: 14px; color: var(--texto-suave); line-height: 1.45; }
.card-dica .ir { margin-top: auto; font: 600 14px var(--forte); color: var(--cor); }
.hub { padding-bottom: 40px; }
.hub .cabeca-ebooks { padding-bottom: 20px; }
.grupo { padding: 26px 0; }
.grupo h2 { display: flex; align-items: center; gap: 10px; }
.grupo h2::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--cor); }

@media (max-width: 720px) {
  .texto { font-size: 17px; }
  .cta-ebook { grid-template-columns: 96px 1fr; gap: 16px; padding: 18px; }
  .cta-ebook h3 { font-size: 18px; }
  .cta-ebook p { display: none; }
  .ao-vivo { padding: 16px; margin-left: -4px; margin-right: -4px; }
  .ao-vivo .grade { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 -16px; padding: 2px 16px 8px; }
  .ao-vivo .card, .ao-vivo .grade .esq { flex: 0 0 58%; scroll-snap-align: start; }
  .cupom { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .cupom .cod { justify-self: start; }
  .cupom .desc { grid-column: 1 / -1; grid-row: 2; }
  footer.rodape .w > span:last-child { display: flex; flex-wrap: wrap; gap: 10px 16px; }
  footer.rodape a { margin: 0; }
}

/* tabelas dos artigos (a IA e o Google tiram dados daqui) */
.texto .tabela{overflow-x:auto;margin:1.4em 0;border-radius:14px;border:1px solid #f0dccb;background:#fff}
.texto table{width:100%;border-collapse:collapse;font-size:.95em}
.texto th{background:var(--cor,#ff5a1f);color:#fff;text-align:left;padding:.7em .9em;font-family:Poppins,sans-serif;font-weight:700}
.texto td{padding:.65em .9em;border-top:1px solid #f3e6da;vertical-align:top}
.texto tr:nth-child(even) td{background:#fff8f1}
.cta-ebook .capa img{height:auto}
.cab-artigo .data a{color:inherit;text-decoration:underline}
