/* Blog do Ellys (27/10/2026). Páginas prontas em HTML, geradas por blog/gerar.mjs a partir de blog/artigos/*.md.
   Mesma paleta e letras da página inicial (src/components/landing/premium/premium-landing.css): verde-petróleo e
   champanhe chapados, sem brilho nem degradê; champanhe nunca é texto sobre o claro. Celular primeiro. */
@font-face { font-family: "Ellys Inter"; font-weight: 400; font-display: swap; src: url("fontes/inter-0.woff2") format("woff2"); }
@font-face { font-family: "Ellys Inter"; font-weight: 600; font-display: swap; src: url("fontes/inter-2.woff2") format("woff2"); }
@font-face { font-family: "Ellys Manrope"; font-weight: 700; font-display: swap; src: url("fontes/manrope-3.woff2") format("woff2"); }

:root {
  --papel: #f6f4f1; --papel-2: #eeeae3; --cartao: #fff; --tinta: #112427; --cinza: #4f5e5d;
  --petroleo: #1A535B; --petroleo-fundo: #123e44; --champanhe: #d8c090; --champanhe-forte: #e6d3a6;
  --texto-escuro: #f3f0e8; --linha: rgb(17 36 39 / .12); --gutter: max(16px, 5vw); --leitura: 720px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papel); color: var(--tinta); font: 400 18px/1.7 "Ellys Inter", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--petroleo); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--petroleo); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }

/* Topo */
.topo { position: sticky; top: 0; z-index: 5; background: rgb(246 244 241 / .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--linha); }
.topo .faixa { max-width: 1120px; margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topo .marca img { height: 30px; width: auto; }
.topo nav { display: flex; align-items: center; gap: 6px; }
.topo nav a { font-weight: 600; font-size: 15px; text-decoration: none; color: var(--tinta); padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; }
.topo nav a.botao { background: var(--petroleo); color: #fff; padding: 10px 18px; }
@media (max-width: 560px) { .topo nav a.secundario { display: none; } }

/* Artigo */
main { padding: 0 var(--gutter); }
.cabeca { max-width: var(--leitura); margin: 48px auto 0; }
.cabeca .rotulo { font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--petroleo); }
.cabeca h1 { font-family: "Ellys Manrope", sans-serif; font-weight: 700; letter-spacing: -.035em; line-height: 1.08; font-size: clamp(34px, 6vw, 54px); margin: 14px 0 0; text-wrap: balance; }
.cabeca .resumo { font-size: 20px; line-height: 1.55; color: var(--cinza); margin: 18px 0 0; }
.cabeca .meta { font-size: 15px; color: var(--cinza); margin: 18px 0 0; }
.fio { width: 96px; height: 4px; background: #c9ae78; border-radius: 4px; margin-bottom: 22px; }
.capa { max-width: 1040px; margin: 36px auto 0; }
.capa img { width: 100%; border-radius: 24px; aspect-ratio: 16 / 9; object-fit: cover; }
.capa figcaption { font-size: 14px; color: var(--cinza); margin-top: 10px; }
.texto { max-width: var(--leitura); margin: 40px auto 0; }
.texto h2 { font-family: "Ellys Manrope", sans-serif; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; font-size: clamp(26px, 4vw, 34px); margin: 48px 0 0; text-wrap: balance; }
.texto h3 { font-family: "Ellys Manrope", sans-serif; font-weight: 700; font-size: 22px; margin: 32px 0 0; }
.texto p, .texto ul, .texto ol { margin: 18px 0 0; }
.texto li { margin-top: 8px; }
.texto strong { font-weight: 600; }
.texto blockquote { margin: 26px 0 0; background: var(--papel-2); border-left: 4px solid #c9ae78; border-radius: 0 18px 18px 0; padding: 18px 22px; }
.texto blockquote p { margin: 0; }
.texto img { border-radius: 18px; margin: 28px 0 0; border: 1px solid var(--linha); }
.texto hr { border: 0; border-top: 1px solid var(--linha); margin: 48px 0 0; }
.texto ul.fontes { font-size: 15px; line-height: 1.6; color: var(--cinza); }
.texto .em-resumo { background: var(--cartao); border: 1px solid var(--linha); border-radius: 22px; padding: 24px 26px; }
.texto .em-resumo h2 { margin: 0; font-family: "Ellys Inter", system-ui, sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; color: var(--petroleo); }
.texto .em-resumo ul { margin: 12px 0 0; padding-left: 22px; font-size: 17px; line-height: 1.6; }
.texto .em-resumo li { margin-top: 10px; }

/* Chamada final: link de verdade para os planos */
.chamada { max-width: var(--leitura); margin: 56px auto 0; background: var(--petroleo); color: var(--texto-escuro); border-radius: 28px; padding: 32px; position: relative; overflow: hidden; }
.chamada .nuvem { position: absolute; width: 520px; right: -200px; bottom: -150px; opacity: .1; pointer-events: none; }
.chamada h2 { position: relative; font-family: "Ellys Manrope", sans-serif; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; font-size: clamp(26px, 4.4vw, 36px); margin: 0; text-wrap: balance; }
.chamada p { position: relative; margin: 12px 0 0; color: rgb(243 240 232 / .85); }
.chamada a.botao { position: relative; display: inline-flex; align-items: center; min-height: 48px; margin-top: 22px; padding: 12px 24px; border-radius: 999px; background: var(--champanhe); color: #0e2226; font-weight: 600; text-decoration: none; }
.chamada a.botao:hover { background: var(--champanhe-forte); }
.chamada small { position: relative; display: block; margin-top: 14px; font-size: 14px; color: rgb(243 240 232 / .7); }

/* Lista de artigos */
.lista { max-width: 1120px; margin: 40px auto 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.lista a.cartao { display: block; text-decoration: none; color: var(--tinta); background: var(--cartao); border: 1px solid var(--linha); border-radius: 24px; overflow: hidden; }
.lista a.cartao img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.lista .corpo { padding: 22px 24px 26px; }
.lista h3 { font-family: "Ellys Manrope", sans-serif; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; font-size: 23px; margin: 0; }
.lista p { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: var(--cinza); }
.lista .meta { font-size: 14px; margin-top: 14px; }
.leia h2 { max-width: var(--leitura); margin: 64px auto 0; font-family: "Ellys Manrope", sans-serif; font-size: 26px; }

/* Rodapé */
.rodape { margin-top: 80px; background: var(--petroleo-fundo); color: rgb(243 240 232 / .8); }
.rodape .faixa { max-width: 1120px; margin: 0 auto; padding: 36px var(--gutter) 40px; display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; font-size: 15px; }
.rodape img { height: 28px; width: auto; }
.rodape nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.rodape a { color: var(--texto-escuro); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.rodape p { flex-basis: 100%; margin: 0; font-size: 14px; color: rgb(243 240 232 / .65); }
@media (max-width: 480px) {
  .chamada { padding: 26px 22px; }
  .chamada a.botao { display: flex; width: 100%; justify-content: center; text-align: center; padding: 12px 16px; }
}

/* Páginas de produto (2.3.107): telas do sistema, cartões dos planos, link da demonstração e as redes no rodapé. */
figure.tela { margin: 32px 0 0; }
figure.tela img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--linha); margin: 0; background: var(--cartao); }
figure.tela figcaption { font-size: 14px; color: var(--cinza); margin-top: 10px; }
.capa.tela img { aspect-ratio: auto; object-fit: contain; }
.texto ol { padding-left: 1.4em; }
.texto h3 { margin: 32px 0 0; }
.planos { margin: 56px 0 0; }
.planos .cartoes { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; }
@media (max-width: 560px) { .planos .cartoes { grid-template-columns: 1fr; } }
.planos .plano { background: var(--cartao); border: 1px solid var(--linha); border-radius: 20px; padding: 20px 22px 22px; }
.planos .plano h3 { margin: 0; font-size: 20px; }
.planos .plano .preco { margin: 6px 0 0; font-family: "Ellys Manrope", system-ui, sans-serif; font-weight: 700; font-size: 22px; color: var(--petroleo); }
.planos .plano .preco span { font-family: "Ellys Inter", system-ui, sans-serif; font-weight: 400; font-size: 15px; color: var(--cinza); }
.planos .plano ul { margin: 12px 0 0; padding-left: 1.1em; font-size: 16px; line-height: 1.5; }
.planos .plano p { margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: var(--cinza); }
.demonstracao { max-width: var(--leitura); margin: 20px auto 0; font-size: 16px; }
.demonstracao a { display: inline-flex; align-items: center; min-height: 44px; }
.cabeca .resumo a { color: var(--petroleo); }
.rodape nav.redes { flex-basis: 100%; }
/* Redes como ícones (30/10/2026), com alvo de 44 px e o nome da rede para o leitor de tela (aria-label). */
.rodape nav.redes { gap: 4px 6px; }
.rodape nav.redes a { color: var(--champanhe-forte); min-width: 44px; justify-content: center; border-radius: 999px; }
.rodape nav.redes a:hover { background: rgb(255 255 255 / .08); }
.rodape nav.redes svg { width: 22px; height: 22px; fill: currentColor; }

/* Comparativo com outros sistemas (30/10/2026): mais largo que o texto no computador, rolando de lado dentro da própria
   caixa no celular (a página não rola de lado), com a coluna dos recursos parada e a coluna do Ellys destacada. */
.comparativo { margin: 56px 0 0; }
.comparativo .tabela { --larga: min(1280px, calc(100vw - 2 * var(--gutter))); width: var(--larga); margin: 24px 0 0 calc((100% - var(--larga)) / 2); overflow-x: auto; background: var(--cartao); border: 1px solid var(--linha); border-radius: 18px; }
.comparativo table { border-collapse: separate; border-spacing: 0; min-width: 1180px; width: 100%; font-size: 15px; line-height: 1.4; }
.comparativo th, .comparativo td { padding: 12px 9px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--linha); }
.comparativo tbody tr:last-child th, .comparativo tbody tr:last-child td { border-bottom: 0; }
.comparativo thead th { font-family: "Ellys Manrope", system-ui, sans-serif; font-weight: 700; font-size: 15px; background: var(--papel-2); white-space: nowrap; }
.comparativo th[scope="row"] { position: sticky; left: 0; z-index: 1; background: var(--cartao); font-weight: 600; min-width: 168px; box-shadow: 1px 0 0 var(--linha); }
.comparativo thead th:first-child { position: sticky; left: 0; z-index: 2; }
.comparativo thead th:nth-child(2) { background: var(--petroleo); color: #fff; }
.comparativo tbody td:nth-child(2) { background: rgb(26 83 91 / .06); }
.comparativo td.sim a { font-weight: 600; display: inline-flex; align-items: center; min-height: 28px; }
.comparativo td.nao { color: var(--cinza); font-size: 14px; }
.comparativo .nota { font-size: 15px; color: var(--cinza); }
.comparativo .tabela:focus-visible { outline: 3px solid var(--petroleo); outline-offset: 3px; }
@media (max-width: 560px) {
  .comparativo table { font-size: 14px; }
  .comparativo th, .comparativo td { padding: 10px 10px; }
  .comparativo th[scope="row"] { min-width: 116px; max-width: 124px; }
  .comparativo td { min-width: 104px; }
}

/* Topo do blog (30/10/2026): as páginas de produto em destaque, antes dos artigos. */
.guias { max-width: 1120px; margin: 40px auto 0; }
.guias h2, .titulo-artigos { font-family: "Ellys Manrope", sans-serif; font-weight: 700; letter-spacing: -.02em; font-size: 24px; line-height: 1.2; margin: 0; }
.guias .cartoes { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin-top: 18px; }
.guias a.guia { display: block; text-decoration: none; color: var(--tinta); background: var(--cartao); border: 1px solid var(--linha); border-top: 4px solid var(--petroleo); border-radius: 20px; padding: 20px 24px 24px; }
.guias a.guia:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.guias .rotulo { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--petroleo); }
.guias h3 { font-family: "Ellys Manrope", sans-serif; font-weight: 700; letter-spacing: -.02em; font-size: 21px; line-height: 1.25; margin: 8px 0 0; }
.guias a.guia p:last-child { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: var(--cinza); }
.titulo-artigos { max-width: 1120px; margin: 56px auto 0; }
.titulo-artigos + .lista { margin-top: 18px; }

/* Páginas de função (01/11/2026): a lista "O que o Ellys faz" no blog e no fim das páginas, e a linha do rodapé. */
.funcoes { max-width: 1120px; margin: 48px auto 0; }
.funcoes h2 { font-family: "Ellys Manrope", sans-serif; font-weight: 700; letter-spacing: -.02em; font-size: 24px; line-height: 1.2; margin: 0; }
.funcoes ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.funcoes a { display: flex; flex-direction: column; justify-content: center; min-height: 44px; height: 100%; padding: 12px 16px; border-radius: 14px; background: var(--cartao); border: 1px solid var(--linha); color: var(--tinta); text-decoration: none; font-weight: 600; font-size: 16px; line-height: 1.35; }
.funcoes a:hover { border-color: var(--petroleo); }
.funcoes a span { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--petroleo); margin-bottom: 2px; }
.rodape nav.funcoes-rodape { flex-basis: 100%; gap: 0 16px; font-size: 14px; }
.rodape nav.funcoes-rodape a { color: rgb(243 240 232 / .8); }
