/* Tax Prático — complementos do layout 2026 para os dados reais do site
   (banners do painel no slider, popup da home, mensagens de login/cadastro). */

/* Menu principal no desktop (>=1201px). Abaixo disso vale o menu hambúrguer
   do celular, inclusive no tablet (ver scripts/home2026-nav-tablet.cjs).
   O site tem mais itens (com submenus) que o layout de referência, então o
   espaçamento encolhe para caber numa linha.
   (!important porque shared-navigation.css fixa padding/fonte com !important) */
.nav-two-lines { font: inherit; }
@media (min-width: 1201px) {
  /* Menu centralizado; o espaçamento dos itens cresce com a tela
     (4px até 1318px, ~6px em 1366px, até 13px; 13 itens com Legislação), sem nunca estourar a linha. */
  html body .nav-wrap .nav { justify-content: center !important; column-gap: 0 !important; }
  .nav > a:not(.home-link), .nav > .nav-item > .nav-trigger { padding: 0 clamp(4px, calc((100vw - 1230px) / 22), 13px) !important; letter-spacing: .02em !important; }
  /* "Buscadores da Reforma" numa linha só (a partir de 1250px, ver abaixo). */
  .nav-two-lines { display: inline-block; line-height: 1.15; white-space: nowrap; text-align: left; }
  .nav-two-lines br { display: none; }
  /* Ícone do Início centralizado no seu botão. */
  html body .nav-wrap .nav > a.home-link { justify-content: center !important; padding-inline: 0 !important; }
}
@media (min-width: 1201px) and (max-width: 1600px) {
  .nav > a:not(.home-link), .nav > .nav-item > .nav-trigger { font-size: 11px !important; }
}
@media (min-width: 1601px) {
  /* A área do menu para de crescer em 1450px; com a fonte original (12.5px) não caberia. */
  .nav > a:not(.home-link), .nav > .nav-item > .nav-trigger { font-size: 11.5px !important; }
}
@media (min-width: 1201px) and (max-width: 1299px) {
  /* Aqui não cabe tudo numa linha: "Buscadores da Reforma" quebra em duas e a fonte diminui. */
  .nav > a:not(.home-link), .nav > .nav-item > .nav-trigger { padding: 0 4px !important; font-size: 10.5px !important; letter-spacing: 0 !important; }
  .nav-two-lines { white-space: normal; }
  .nav-two-lines br { display: inline; }
}
@media (max-width: 1200px) {
  .nav-two-lines br { display: none; }
  /* Cabeçalho fixo colado no topo. O layout reservava 36px acima dele para
     uma faixa de redes sociais criada pelo script de demonstração, que não
     usamos — sobrava um vão por onde o conteúdo aparecia. */
  html body header.header { top: 0 !important; }
  html body #app { padding-top: var(--mobile-header-height, 78px) !important; }
  html body #navWrap { top: var(--mobile-nav-top, 96px) !important; }
}

/* Seta dos itens com submenu: SVG centralizado na altura do texto (o
   caractere "⌄" usado antes ficava assentado embaixo da linha). Gira ao abrir. */
.nav-trigger .nav-caret { display: inline-flex !important; align-items: center; justify-content: center; width: 12px !important; height: 12px !important; transform: none !important; align-self: center; }
.nav-trigger .nav-caret svg { display: block; width: 10px; height: 10px; }
.has-submenu.open .nav-trigger .nav-caret { transform: rotate(180deg) !important; }

/* Submenus no desktop: o layout tem regras conflitantes que, em
   algumas larguras, colocam o submenu "no fluxo" da página (o item aberto
   ocupa a linha toda ou empurra os vizinhos para baixo). Aqui o submenu
   sempre flutua sobre a página; nos itens perto da borda direita ele se
   alinha pela direita (classe .submenu-right, aplicada pelo home.js). */
@media (min-width: 1201px) {
  .nav-wrap .nav > .nav-item { position: relative !important; flex: 0 0 auto !important; width: auto !important; }
  /* O item aberto fica acima dos vizinhos (senão a 2ª linha do menu aparece por cima do submenu). */
  .nav-wrap .nav > .nav-item.open, .nav-wrap .nav > .nav-item:hover, .nav-wrap .nav > .nav-item:focus-within { z-index: 140 !important; }
  .nav-wrap .nav .nav-item .submenu {
    position: absolute !important; z-index: 130 !important; top: calc(100% + 6px) !important; left: 0 !important; right: auto !important;
    display: grid !important; gap: 3px; width: max-content !important; min-width: 230px !important; max-width: min(320px, calc(100vw - 24px)) !important;
    margin: 0 !important; padding: 8px !important; border: 1px solid #E5EBEF !important; border-radius: 14px !important;
    background: #FFFFFF !important; box-shadow: 0 20px 45px rgba(6, 30, 51, .16) !important;
    opacity: 0 !important; visibility: hidden !important; transform: translateY(6px) !important; clip-path: none !important;
    animation: none !important; transition: opacity .2s ease, transform .2s ease, visibility .2s !important;
  }
  .nav-wrap .nav .nav-item.open .submenu { opacity: 1 !important; visibility: visible !important; transform: none !important; }
  .nav-wrap .nav .nav-item.submenu-right .submenu { left: auto !important; right: 0 !important; }
  .nav-wrap .nav .submenu a { justify-content: flex-start; text-align: left; white-space: normal; }
}
@media (min-width: 1201px) and (hover: hover) and (pointer: fine) {
  .nav-wrap .nav .nav-item:hover .submenu { opacity: 1 !important; visibility: visible !important; transform: none !important; }
}
/* Item pai continua com o destaque azul enquanto o mouse está no submenu
   (ou o submenu está aberto) — antes valia só sobre o botão do item. */
@media (min-width: 1201px) {
  html body .nav-wrap .nav > .nav-item.open > .nav-trigger,
  html body .nav-wrap .nav > .nav-item:focus-within > .nav-trigger {
    color: #fff !important;
    background: linear-gradient(135deg, #14577f, #092f50) !important;
    box-shadow: 0 10px 22px rgba(9, 47, 80, .2), inset 0 0 0 1px rgba(242, 160, 8, .72) !important;
    transform: translateY(-3px) !important;
  }
  /* Mesmos efeitos do hover do botão (contorno girando e brilho), que antes
     sumiam ao levar o mouse para o submenu. */
  html body .nav-wrap .nav > .nav-item.open > .nav-trigger::after { opacity: 1; transform: scale(1); }
  /* Ponte invisível sobre o vão de 6px entre o botão e o submenu. */
  .nav-wrap .nav .nav-item .submenu::after { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
}
@media (min-width: 1201px) and (hover: hover) and (pointer: fine) {
  html body .nav-wrap .nav > .nav-item:hover > .nav-trigger {
    color: #fff !important;
    background: linear-gradient(135deg, #14577f, #092f50) !important;
    box-shadow: 0 10px 22px rgba(9, 47, 80, .2), inset 0 0 0 1px rgba(242, 160, 8, .72) !important;
    transform: translateY(-3px) !important;
  }
  html body .nav-wrap .nav > .nav-item:hover > .nav-trigger::after { opacity: 1; transform: scale(1); }
}
@media (min-width: 1201px) and (prefers-reduced-motion: no-preference) {
  html body .nav-wrap .nav > .nav-item.open > .nav-trigger::before { opacity: 1; animation: coliseu-orbit 2.4s linear infinite; }
}
@media (min-width: 1201px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html body .nav-wrap .nav > .nav-item:hover > .nav-trigger::before { opacity: 1; animation: coliseu-orbit 2.4s linear infinite; }
}

/* Banner do painel (sis_home_carousel_banners): a arte (paisagem, ~2,26:1, já com o texto)
   ocupa o slide de ponta a ponta, sem moldura nem desfoque, sobre o azul do site; ela nunca
   é cortada (contain), então as sobras, quando houver, ficam no mesmo azul da arte. */
html body .hero-slider .hero-slide.hero-slide-banner { display: block; padding: 0; background: radial-gradient(ellipse at 30% 50%, #0d2a5c 0%, #071a40 60%, #04112c 100%) !important; }
html body .hero-slider .hero-slide.hero-slide-banner::before, html body .hero-slider .hero-slide.hero-slide-banner::after { display: none !important; }
.hero-banner-link { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; color: #fff; text-decoration: none; }
.hero-banner-img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.hero-banner-copy { display: none; }
/* Celular e tablet: o slide é alto e estreito. A arte vai inteira para o topo, na largura toda,
   e embaixo o título do banner e o botão, como nos outros slides. */
@media (max-width: 1200px) {
  .hero-banner-link { display: flex; flex-direction: column; justify-content: center; align-items: stretch; padding-bottom: 84px; /* espaço das setas e bolinhas */ }
  .hero-banner-img { flex: 0 0 auto; height: auto; aspect-ratio: auto; }
  .hero-banner-copy {
    display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
    padding: 26px 28px 0; text-align: left;
  }
  html body .hero-banner-copy .slide-kicker { margin: 0; color: #F2A008 !important; background: rgba(255, 255, 255, .06) !important; border-color: rgba(242, 160, 8, .45) !important; }
  html body .hero-banner-copy .slide-kicker::before { background: #F2A008 !important; }
  .hero-banner-copy strong { color: #fff; font-size: clamp(22px, 4.6vw, 34px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } /* títulos de notícia longos */
  .hero-banner-copy .btn { pointer-events: none; }
}
@media (max-width: 760px) {
  .hero-banner-copy { padding: 22px 18px 0; gap: 10px; }
}

/* Destaques sem foto: mantém a foto padrão do layout (via data-fallback). */
.news-thumb img, .news-photo, .slide-photo, .columnist-photo, .live-photo, .article-cover img { background: #0A3557; }

/* Notícias sem foto: imagem com a marca (logo em branco + categoria). Fica
   atrás da foto do post; sem foto (ou se ela não carregar) é o que aparece. */
.feature-news .news-image, .news-row .news-thumb { position: relative; overflow: hidden; }
.news-brand-thumb {
  position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background:
    radial-gradient(circle at 80% 18%, rgba(242, 160, 8, .38), transparent 42%),
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(255, 255, 255, .05) 23px 24px),
    linear-gradient(135deg, #061E33, #0D4A73);
}
.feature-news .news-image .news-brand-thumb img, .news-row .news-thumb .news-brand-thumb img {
  position: static !important; inset: auto !important; display: block; width: 46% !important; max-width: 170px; height: auto !important;
  min-height: 0 !important; /* o layout dá min-height de 64–76px às imagens da miniatura, o que afastava o texto do logo */
  object-fit: contain !important; transform: none !important; filter: brightness(0) invert(1) !important; opacity: .95;
  background: transparent !important; border-radius: 0 !important; /* sem fundo: o filtro deixaria o fundo branco */
}
.news-brand-thumb > span { color: #FFD184; font-size: 10px; font-weight: 800; letter-spacing: .14em; line-height: 1.2; text-align: center; text-transform: uppercase; }
.feature-news .news-image .news-brand-thumb > span { font-size: 13px; }
/* Miniatura da lista (~78px): logo maior e rótulo menor para caber. */
.news-row .news-thumb .news-brand-thumb { gap: 4px; padding: 6px; }
.news-row .news-thumb .news-brand-thumb img { width: 78% !important; }
.news-row .news-thumb .news-brand-thumb > span { font-size: 7px; letter-spacing: .06em; }
.feature-news .news-image > img.news-photo, .news-row .news-thumb > img { position: relative; z-index: 1; }

/* Capa do artigo com a foto do post. */
.article-cover.has-photo { background: #0A3557; }
.article-cover.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-cover.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(6, 30, 51, .78)); }
.article-cover.has-photo span { z-index: 2; font-size: 22px; letter-spacing: .02em; }

/* Acordeão do Painel Reforma: o "+ detalhes" agora é link para o post. */
a.accordion-details { display: inline-block; text-decoration: none; }

/* Sugestões da busca agora são links. */
a.search-suggestion { text-decoration: none; }

/* ---------- Ajustes de hover e alinhamento (revisão 1) ----------
   O CSS do layout acumula várias versões das mesmas regras (muitas com
   !important); estas sobrescrevem só o necessário. */

/* Notícias: "Ler notícia completa" mantém o texto branco no hover. */
.news-row-cta:hover, .news-row:hover .news-row-cta { color: #FFFFFF !important; background: #0A3557 !important; }
.news-row:hover .news-row-cta > span { color: #FFFFFF !important; }

/* Ferramentas: sem efeito de virar o card (o verso ficava vazio).
   No hover o card sobe um pouco, clareia e o botão ganha destaque. */
.tools-section .tool-card { transition: transform .3s cubic-bezier(.2, .75, .2, 1) !important; }
.tools-section .tool-card:hover, .tools-section .tool-card:focus-visible { transform: translateY(-4px) !important; }
.tools-section .tool-card .tool-card-inner,
.tools-section .tool-card:hover .tool-card-inner,
.tools-section .tool-card:focus-visible .tool-card-inner { transform: none !important; }
.tools-section .tool-card .tool-card-inner { background: linear-gradient(145deg, #153D5D, #092943) !important; transition: background .3s ease, box-shadow .3s ease !important; }
.tools-section .tool-card:hover .tool-card-inner,
.tools-section .tool-card:focus-visible .tool-card-inner { background: linear-gradient(145deg, #1B5079, #0C3456) !important; box-shadow: 0 18px 38px rgba(3, 26, 45, .35) !important; }
.tools-section .tool-card .tool-card-front,
.tools-section .tool-card:hover .tool-card-front,
.tools-section .tool-card:focus-visible .tool-card-front { visibility: visible !important; opacity: 1 !important; translate: none !important; filter: none !important; transform: none !important; }
.tools-section .tool-card .tool-access-cta b { transition: transform .25s ease; }
/* O conteúdo define a altura do card (antes era sobreposto com altura fixa e,
   com descrição de duas linhas, o botão saía do card). Cards da mesma linha
   ficam com a mesma altura e o botão sempre na base. */
.tools-section .tool-card { height: 100%; }
.tools-section .tool-card .tool-card-inner { height: 100% !important; min-height: 220px !important; }
.tools-section .tool-card .tool-card-front { position: relative !important; inset: auto !important; height: 100% !important; min-height: 220px !important; }
.tools-section .tool-card .tool-access-cta { margin-top: auto !important; }
.tools-section .tool-card:hover .tool-access-cta { background: linear-gradient(105deg, #FFD184, #F2A008) !important; }
.tools-section .tool-card:hover .tool-access-cta b { transform: translate(2px, -2px); }

/* "Mais clareza para cada decisão": a partir de 761px o painel animado de
   cálculo ficava sobre o texto e o botão (também no desktop, com zoom em 100%).
   Ele vai para cima do vídeo (canto inferior esquerdo). No celular o layout já o empilha. */
@media (min-width: 761px) {
  .productivity-feature .calculation-motion { left: 14px !important; right: auto !important; bottom: 14px !important; width: min(250px, 44%) !important; }
  .productivity-caption { padding-right: clamp(24px, 4vw, 48px) !important; }
}

/* Aulas: "Assistir aula" / "Entrar para assistir" vira um botão de verdade. */
.live-card .live-link { margin-top: 14px; padding: 11px 14px !important; border: 0 !important; border-radius: 10px; color: #FFFFFF !important; background: #0A3557; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; box-shadow: none; }
.live-card .live-link span { color: #092F50; background: #FFD184; transition: transform .25s ease; }
.live-card .live-link:hover { transform: none !important; background: #14577F; box-shadow: 0 10px 22px rgba(9, 47, 80, .22) !important; }
.live-card .live-link:hover span { transform: translate(2px, -2px); }

/* Artigos: botão sempre na base do card, mesmo sem resumo. */
.articles-grid .article-body .meta { margin-top: 0; }
.articles-grid .article-body .article-more { margin-top: auto; }

/* Legislação: itens separados e botões alinhados na base. */
.leg-card { display: flex; flex-direction: column; }
.leg-list { flex: 1; margin-bottom: 18px; }
.leg-card .law { display: block; padding: 16px 0; border-bottom: 1px solid var(--line, #E3EAF0); color: inherit; text-decoration: none; }
.leg-card .law:first-child { padding-top: 10px; }
.leg-card .law:last-child { border-bottom: 0; padding-bottom: 0; }
.leg-card .law time { margin-top: 6px; }
.leg-card .law small { margin-top: 8px; }
.leg-card .law:hover b { color: #14577F; text-decoration: underline; }
.leg-card .btn { margin-top: auto; }

/* ---------- Carrosséis do celular (ferramentas, aulas, artigos, clientes) ---------- */
@media (max-width: 760px) {
  /* Barra de rolagem visível (o layout escondia: não dava para saber que havia mais itens). */
  .tool-grid, .live-grid, .articles-grid { scrollbar-width: thin !important; scrollbar-color: #F2A008 rgba(9, 47, 80, .14) !important; padding-bottom: 14px !important; }
  .tool-grid::-webkit-scrollbar, .live-grid::-webkit-scrollbar, .articles-grid::-webkit-scrollbar { display: block !important; height: 5px !important; }
  .tool-grid::-webkit-scrollbar-track, .live-grid::-webkit-scrollbar-track, .articles-grid::-webkit-scrollbar-track { background: rgba(9, 47, 80, .14); border-radius: 5px; }
  .tool-grid::-webkit-scrollbar-thumb, .live-grid::-webkit-scrollbar-thumb, .articles-grid::-webkit-scrollbar-thumb { background: #F2A008; border-radius: 5px; }
  .tools-section .tool-grid { scrollbar-color: #F2A008 rgba(255, 255, 255, .16) !important; }

  /* Todos os cards de um carrossel com a mesma altura, botão na base. */
  .tool-grid, .live-grid, .articles-grid { align-items: stretch !important; }
  .live-grid > .live-card, .articles-grid > .article-card { height: auto !important; align-self: stretch !important; display: flex !important; flex-direction: column !important; }
  .live-grid .live-card .live-art, .live-grid .live-card-feature .live-art { flex: 0 0 auto !important; min-height: 210px !important; height: 210px !important; }
  .live-grid .live-card-copy { flex: 1 1 auto !important; display: flex !important; flex-direction: column !important; justify-content: space-between !important; }
  .live-grid .live-card .live-link { margin-top: auto !important; }

  /* Clientes: um logo por vez ocupando toda a área do carrossel (largura em
     --partner-w, medida pelo home.js; a animação avança um logo por passo). */
  .partner-carousel { overflow: hidden !important; }
  html body .partner-track { gap: 0 !important; }
  html body .partner-track .partner-mark {
    flex: 0 0 var(--partner-w, calc(100vw - 52px)) !important; width: var(--partner-w, calc(100vw - 52px)) !important;
    max-width: none !important; height: 120px !important; padding: 10px 28px !important; object-fit: contain !important;
  }
}

/* Rodapé: redes sociais como botões com ícone, separados entre si. */
.footer .footer-social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.footer .footer-col .footer-social {
  display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; padding: 8px 14px 8px 10px !important;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; color: #FFFFFF !important; background: rgba(255, 255, 255, .06);
  font-size: 13px; line-height: 1; text-decoration: none; transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.footer .footer-col .footer-social svg { flex: 0 0 18px; width: 18px; height: 18px; }
.footer .footer-col .footer-social:hover, .footer .footer-col .footer-social:focus-visible { border-color: #F2A008; color: #092F50 !important; background: #F2A008; }

/* Rodapé: telefone e WhatsApp com ícone real, alinhado ao texto. */
.footer .footer-col .footer-contact { display: flex !important; align-items: center; gap: 9px; }
.footer .footer-col .footer-contact svg { flex: 0 0 18px; width: 18px; height: 18px; color: #F2A008; }
.footer .footer-col .footer-contact + .footer-contact { margin-top: 10px; }

/* Mensagens do login e do cadastro vindas do servidor. */
.login-alert, .trial-alert { margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; font-size: 14px; line-height: 1.4; }
.login-alert { color: #8A1C1C; background: #FDECEC; border: 1px solid #F5C2C2; }
.trial-alert { color: #6B4A00; background: #FFF6E0; border: 1px solid #F2D69A; }
.login-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 4px 0 14px; font-size: 14px; }
.login-links a { color: #14577F; font-weight: 700; text-decoration: underline; }
.login-remember { display: flex; align-items: center; gap: 8px; }

/* Aviso de sessão (session('warning')) acima do cabeçalho. */
.site-warning { position: relative; z-index: 50; padding: 10px 16px; color: #6B4A00; background: #FFF6E0; border-bottom: 1px solid #F2D69A; font-size: 14px; text-align: center; }

/* Popup da home (sis_home_banner), configurável no painel. */
.home-banner-modal { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .3s ease; }
.home-banner-modal.is-open { opacity: 1; }
.home-banner-modal[hidden] { display: none; }
.home-banner-backdrop { position: absolute; inset: 0; border: 0; background: rgba(6, 22, 38, .78); cursor: pointer; }
.home-banner-panel { position: relative; z-index: 1; max-width: min(800px, 100%); padding: 14px; border-radius: 18px; background: #FFFFFF; box-shadow: 0 28px 72px rgba(3, 22, 39, .35); }
.home-banner-panel img { display: block; max-width: 100%; max-height: 72vh; border-radius: 10px; }
.home-banner-close { position: absolute; top: -14px; right: -14px; width: 38px; height: 38px; border: 0; border-radius: 50%; color: #FFFFFF; background: #092F50; font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }

/* Botão flutuante do WhatsApp (número do painel: Config WhatsApp). */
.whatsapp-float { position: fixed; right: 18px; bottom: 22px; z-index: 90; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25D366; box-shadow: 0 10px 26px rgba(0, 0, 0, .22); transition: transform .2s ease; }
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #FFFFFF; }
@media (max-width: 760px) {
  .whatsapp-float { bottom: calc(86px + env(safe-area-inset-bottom)); right: 12px; width: 50px; height: 50px; }
}

/* Item do menu da página atual (partials/layout2026/topo: classe .active pela rota).
   Os links simples já têm o estilo do layout; aqui os grupos com submenu ficam iguais. */
.nav > .nav-item > .nav-trigger.active { color: #0b5681 !important; background: #f6f8f9 !important; }

/* ===== Coluna lateral das notícias: Painel Reforma Tributária em destaque e
   Você Colunista em cartão separado (pedido da cliente: hierarquia e seções distintas). */
.side-stack { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.side-stack > .side-panel { height: auto !important; min-height: 0; padding: 22px; overflow: hidden; }
.side-stack > .side-panel--colunista { flex: 1 1 auto; display: flex; flex-direction: column; }
.side-stack > .side-panel--colunista .columnist { margin-top: 0; }

/* Cabeçalho em destaque: faixa azul encostada nas bordas do cartão. */
.side-stack .panel-head--destaque {
  margin: -22px -22px 16px;
  padding: 18px 22px;
  background: linear-gradient(135deg, #092F50 0%, #0B5681 100%);
  box-shadow: inset 0 -3px 0 #F2A008;
  align-items: center;
}
.side-stack .panel-head--destaque .panel-kicker {
  display: block;
  margin-bottom: 4px;
  color: #F2A008;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.side-stack .panel-head--destaque h3 { color: #fff; font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.side-stack .panel-head--destaque a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  padding: 8px 13px;
  border-radius: 999px;
  background: #F2A008;
  color: #172638;
  font-size: 11px;
  font-weight: 850;
  transition: background .2s ease, transform .2s ease;
}
.side-stack .panel-head--destaque a:hover { background: #ffb829; transform: translateY(-1px); }

/* Você Colunista: título de seção mais discreto (abaixo do Painel na hierarquia). */
.side-stack .panel-head--colunista { margin-bottom: 14px; padding-left: 11px; border-left: 3px solid #F2A008; }
.side-stack .panel-head--colunista h3 { color: #092F50; font-size: 16px; font-weight: 800; }

/* Tablet (o layout põe os itens do painel em 2 colunas): os cabeçalhos ocupam a linha toda. */
.side-stack .side-panel--reforma > .panel-head { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .side-stack { gap: 16px; }
  .side-stack > .side-panel { padding: 18px; }
  .side-stack .panel-head--destaque { margin: -18px -18px 14px; padding: 16px 18px; }
  .side-stack .panel-head--destaque h3 { font-size: 17px; }
}

/* Notícias da lista no celular e no tablet: "card compacto" (opção A escolhida em 01/12/2026).
   Miniatura quadrada fixa alinhada ao topo ao lado do título; embaixo categoria, data e
   "Ler ↗" (o card inteiro já é o link). Celular: sem resumo, sem tempo de leitura e sem o
   botão grande. Tablet: resumo em 2 linhas. O desktop (a partir de 1051px) não muda. */
@media (max-width: 1050px) {
  html body .news-list .news-row {
    grid-template-columns: var(--news-thumb) minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    align-items: start !important;
    gap: 0 14px !important;
    padding: 12px !important;
    min-height: 0 !important;
  }
  html body .news-list .news-row .news-thumb {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: var(--news-thumb) !important;
    height: var(--news-thumb) !important;
    min-height: 0 !important;
    border-radius: 10px;
  }
  html body .news-list .news-row .news-thumb .news-brand-thumb { gap: 3px; }
  html body .news-list .news-row .news-thumb .news-brand-thumb img { width: 62% !important; }
  html body .news-list .news-row .news-thumb .news-brand-thumb span { font-size: 7px !important; }
  html body .news-list .news-row .news-row-copy {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-content: flex-start !important;
    gap: 6px;
    min-height: var(--news-thumb);
  }
  html body .news-list .news-row .news-row-copy h4 {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  html body .news-list .news-row .news-row-copy p { display: none !important; }
  html body .news-list .news-row .news-row-copy .meta { display: flex !important; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: auto !important; }
  html body .news-list .news-row .news-row-copy .meta::after { content: "Ler ↗"; margin-left: auto; color: #B9780B; font-weight: 850; font-size: 11px; }
  html body .news-list .news-row .news-row-cta { display: none !important; }
}
@media (max-width: 760px) {
  .news-list { --news-thumb: 84px; }
  html body .news-list .news-row .news-row-copy .reading-time { display: none !important; }
}
@media (min-width: 761px) and (max-width: 1050px) {
  .news-list { --news-thumb: 96px; }
  html body .news-list .news-row .news-row-copy p {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 !important;
  }
}

/* Artigos no tablet (761–1200px, mesma faixa do menu hambúrguer): 2 colunas em vez de 3,
   para os cards e textos terem mais espaço. Os 6 artigos ficam em 3 linhas. */
@media (min-width: 761px) and (max-width: 1200px) {
  html body .articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* Capa dos artigos: imagem cadastrada no painel (arte 860x380 com título e selo próprios).
   A capa segue essa proporção para a arte aparecer inteira, sem corte, em todas as telas;
   sem foto, fica a imagem da marca (partial $marcaNoticia). */
html body .article-card .article-cover { flex: 0 0 auto !important; height: auto !important; min-height: 0 !important; aspect-ratio: 860 / 380; }
html body .article-card .article-cover > img:not(.news-brand-thumb img) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* A imagem da marca (reserva, quando não há foto) fica ATRÁS da foto do artigo. O estilo antigo
   da tag "ARTIGO" (.article-cover span: pílula com z-index 2) pegava o rótulo da marca e o
   colocava por cima da foto; aqui o rótulo volta a ser texto simples dentro da reserva. */
html body .article-card .article-cover > .news-brand-thumb {
  position: absolute; inset: 0; z-index: 0; padding: 0; border: 0; border-radius: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none; text-shadow: none; font-size: inherit; letter-spacing: normal;
}
html body .article-card .article-cover > img:not(.news-brand-thumb img) { z-index: 1; }
html body .article-card .article-cover > .news-brand-thumb > span {
  position: static; z-index: auto; padding: 0; border: 0; border-radius: 0; background: none;
  -webkit-backdrop-filter: none; backdrop-filter: none; text-shadow: none;
  color: #FFD184; font-size: 11px; font-weight: 800; letter-spacing: .14em;
}
html body .article-card .article-cover > .news-brand-thumb img {
  position: static !important; inset: auto !important; width: 40% !important; max-width: 170px; height: auto !important; object-fit: contain;
}
/* Sem a foto de banco de imagens que o layout põe no fundo da capa: atrás fica só a marca. */
html body .articles-grid .article-card .article-cover { background: #0A3557 !important; } /* vence .article-card:nth-child(n) .article-cover do layout */
html body .article-card .article-cover::before { display: none; }

/* ===== Taxiana flutuante (partials/layout2026/extras), como no site atual (sitess.css):
   avatar redondo acima do WhatsApp; depois de 6s troca para a Taxiana pensando e mostra o balão. */
.taxiana-button {
  position: fixed; right: 18px; bottom: 90px; /* WhatsApp: 22px + 56px + 12px */
  z-index: 90; display: block; width: 56px; height: 56px; overflow: visible; text-decoration: none; cursor: pointer;
}
.taxiana-avatar {
  position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 50%;
  background: linear-gradient(180deg, #0c4676 0%, #07375b 100%); border: 2px solid #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .22); transition: transform .2s ease, box-shadow .2s ease;
}
.taxiana-button:hover .taxiana-avatar { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(7, 55, 91, .35); }
.taxiana-icon { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; object-fit: contain; object-position: center 8%; pointer-events: none; transition: opacity .35s ease; }
.taxiana-icon--think { object-position: center 18%; opacity: 0; }
.taxiana-button.is-thinking .taxiana-icon--smile { opacity: 0; }
.taxiana-button.is-thinking .taxiana-icon--think { opacity: 1; }
.taxiana-balloon {
  position: absolute; right: calc(100% + 12px); top: 50%; z-index: 2; width: max-content; max-width: 200px;
  padding: 10px 12px; border-radius: 14px; background: #08395e; color: #fff;
  font-size: 12px; font-weight: 600; line-height: 1.35; box-shadow: 0 6px 18px rgba(8, 57, 94, .28);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-50%) translateX(8px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s;
}
.taxiana-balloon::after {
  content: ""; position: absolute; right: -6px; top: 50%; margin-top: -6px;
  border-width: 6px 0 6px 6px; border-style: solid; border-color: transparent transparent transparent #08395e;
}
.taxiana-button.is-thinking .taxiana-balloon { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
/* Celular: WhatsApp fica acima dos atalhos (bottom 86px, 50px); a Taxiana vai logo acima dele. */
@media (max-width: 760px) {
  .taxiana-button { right: 12px; bottom: calc(148px + env(safe-area-inset-bottom)); width: 50px; height: 50px; }
  .taxiana-balloon { max-width: 150px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .taxiana-avatar, .taxiana-icon, .taxiana-balloon { transition: none; } }

/* ===== Destaque no menu: Consultoria, Buscadores da Reforma e Ferramentas em amarelo, em todas as telas
   (no celular o layout já pintava só a Consultoria; mesmo tom: #FFC247 → #F2A008). */
html body #navWrap .nav > a.nav-destaque,
html body #navWrap .nav > .nav-item > .nav-trigger.nav-destaque {
  background: linear-gradient(135deg, #FFC247, #F2A008) !important;
  border-color: #E49A08 !important;
  color: #193449 !important;
}
html body #navWrap .nav > a.nav-destaque:hover,
html body #navWrap .nav > a.nav-destaque:focus-visible,
html body #navWrap .nav > .nav-item:hover > .nav-trigger.nav-destaque,
html body #navWrap .nav > .nav-item.open > .nav-trigger.nav-destaque,
html body #navWrap .nav > .nav-item:focus-within > .nav-trigger.nav-destaque {
  background: linear-gradient(135deg, #FFB420, #E08F00) !important;
  color: #102a3d !important;
}
html body #navWrap .nav > a.nav-destaque::after { background: #092F50; }

/* Menu do desktop ocupando a largura toda do cabeçalho (da logo ao "Teste grátis"):
   os itens crescem para dividir a sobra, em vez de ficarem agrupados no centro. */
@media (min-width: 1201px) {
  html body .nav-wrap .nav { justify-content: space-between !important; }
  html body .nav-wrap .nav > a:not(.home-link),
  html body .nav-wrap .nav > .nav-item { flex: 1 1 auto; }
  html body .nav-wrap .nav > a:not(.home-link) { justify-content: center !important; text-align: center; }
  html body .nav-wrap .nav > .nav-item > .nav-trigger { width: 100%; justify-content: center !important; }
}

/* "Teste grátis" do cabeçalho com o mesmo efeito de pulsar do site atual (.btnTeste.pulse em
   pages/base: anel que se expande e some a cada 1,5s), no laranja do layout em vez do verde. */
@keyframes teste-gratis-pulse {
  0%   { box-shadow: 0 8px 20px rgba(219, 143, 24, .16), 0 0 0 0 rgba(242, 160, 8, .7); }
  70%  { box-shadow: 0 8px 20px rgba(219, 143, 24, .16), 0 0 0 18px rgba(242, 160, 8, 0); }
  100% { box-shadow: 0 8px 20px rgba(219, 143, 24, .16), 0 0 0 0 rgba(242, 160, 8, 0); }
}
html body .header-actions .header-trial { animation: teste-gratis-pulse 1.5s infinite; }
html body .header-actions .header-trial:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { html body .header-actions .header-trial { animation: none; } }

/* Faixa da prévia por cookie (/previa-layout, partials/layout2026/topo): avisa que só este
   navegador vê o layout novo e dá o link para sair. Fica no topo, acima dos links rápidos. */
.previa-layout-aviso {
  position: relative; z-index: 120; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px;
  padding: 8px 16px; background: #F2A008; color: #172638; font-size: 12px; line-height: 1.35; text-align: center;
}
.previa-layout-aviso a {
  padding: 4px 10px; border-radius: 999px; background: #092F50; color: #fff !important; font-weight: 800; font-size: 11px; text-decoration: none; white-space: nowrap;
}
.previa-layout-aviso a:hover { background: #0B5681; }
/* No celular/tablet o cabeçalho é fixo no topo: a faixa vai para o rodapé da tela, acima dos atalhos. */
@media (max-width: 1200px) {
  .previa-layout-aviso { position: fixed; left: 0; right: 0; bottom: 0; z-index: 140; }
}
@media (max-width: 760px) {
  .previa-layout-aviso { bottom: calc(var(--dock-h, 62px) + env(safe-area-inset-bottom)); font-size: 11px; padding: 6px 12px; }
}
.previa-layout-aviso__curto { display: none; }
@media (max-width: 760px) {
  .previa-layout-aviso { flex-wrap: nowrap; justify-content: space-between; }
  .previa-layout-aviso__longo { display: none; }
  .previa-layout-aviso__curto { display: inline; }
  /* Botões flutuantes sobem para não ficarem atrás da faixa (36px). */
  body:has(.previa-layout-aviso) .whatsapp-float { bottom: calc(122px + env(safe-area-inset-bottom)); }
  body:has(.previa-layout-aviso) .taxiana-button { bottom: calc(184px + env(safe-area-inset-bottom)); }
}
@media (min-width: 761px) and (max-width: 1200px) {
  body:has(.previa-layout-aviso) .whatsapp-float { bottom: 64px; }
  body:has(.previa-layout-aviso) .taxiana-button { bottom: 132px; }
}

/* Newsletter no tablet (761–1200px) igual ao celular: texto, imagem e formulário em uma
   coluna. A imagem fica em 16:9 (no celular é quadrada; em largura de tablet ficaria enorme). */
@media (min-width: 761px) and (max-width: 1200px) {
  html body .newsletter .newsletter-inner { grid-template-columns: minmax(0, 1fr) !important; gap: 20px !important; }
  html body .newsletter .newsletter-inner > * { grid-column: 1 / -1 !important; grid-row: auto !important; width: 100% !important; max-width: none !important; margin: 0 !important; align-self: stretch !important; justify-self: stretch !important; transform: none; }
  html body .newsletter .newsletter-visual { aspect-ratio: 16 / 9; height: auto !important; max-height: 420px; }
  html body .newsletter .newsletter-visual > img { width: 100%; height: 100%; object-fit: cover; }
}

/* Botão da busca: lupa em SVG (antes era o caractere "⌕", pequeno e fora de centro). */
html body .search button.search-submit { display: grid !important; place-items: center; padding: 0 !important; line-height: 0 !important; font-size: 0 !important; }
html body .search button.search-submit svg { display: block; width: 20px; height: 20px; }
html body .search button.search-submit:hover { color: #092F50; }
@media (max-width: 760px) { html body .search button.search-submit svg { width: 19px; height: 19px; } }

/* Sem as divisórias (borda de 1px + linha ::before) nos itens em destaque e no item
   logo depois deles: com os botões amarelos, as linhas ficavam sobrando. */
@media (min-width: 1201px) {
  html body #navWrap .nav > .nav-item:has(> .nav-destaque),
  html body #navWrap .nav > .nav-item:has(> .nav-destaque) + a,
  html body #navWrap .nav > .nav-item:has(> .nav-destaque) + .nav-item { border-left-color: transparent !important; }
  html body #navWrap .nav > .nav-item:has(> .nav-destaque)::before,
  html body #navWrap .nav > .nav-item:has(> .nav-destaque) + .nav-item::before { display: none !important; }
  html body #navWrap .nav > a.nav-destaque + .nav-item { border-left-color: transparent !important; }
}

/* Newsletter no celular: imagem com metade da altura (era quadrada, 1:1; agora 2:1). */
@media (max-width: 760px) {
  html body .newsletter .newsletter-visual { aspect-ratio: 2 / 1; height: auto !important; width: 100% !important; min-width: 0 !important; max-width: 100% !important; }
  html body .newsletter .newsletter-visual > img { width: 100%; height: 100%; object-fit: cover; }
}

/* Botões flutuantes (Taxiana e WhatsApp) somem enquanto o rodapé está na tela
   (classe posta por partials/layout2026/extras): o balão da Taxiana cobria links do rodapé. */
.taxiana-button, .whatsapp-float { transition: opacity .25s ease, visibility .25s ease, transform .2s ease; }
body.rodape-visivel .taxiana-button,
body.rodape-visivel .whatsapp-float { opacity: 0; visibility: hidden; pointer-events: none; }

/* ===== Alterações pedidas pela cliente (02/12/2026) ===== */

/* Notícias sem área de imagem (as notícias não têm foto): o destaque ocupa a largura toda
   e a lista usa só a seta da marca, como marcador ao lado do título. */
html body .feature-news { grid-template-columns: minmax(0, 1fr) !important; min-height: 0 !important; }
html body .feature-news .news-copy { padding: 26px 28px !important; }
html body .feature-news h3 { display: flex; align-items: flex-start; gap: 10px; color: #092F50; }
html body .feature-news .news-seta { flex: 0 0 auto; width: 22px; height: 22px; margin-top: .2em; }
html body .news-list { --news-thumb: 26px !important; }
html body .news-list .news-row .news-thumb.news-thumb--seta {
  width: 26px !important; height: 26px !important; min-height: 0 !important; aspect-ratio: auto !important;
  align-self: start !important; margin-top: -3px; background: none !important; /* centro da seta = centro da 1ª linha do título */ border-radius: 0 !important; box-shadow: none !important;
}
html body .news-list .news-row .news-thumb.news-thumb--seta img { position: static !important; width: 22px !important; height: 22px !important; min-height: 0 !important; max-height: none !important; object-fit: contain; transform: none !important; background: none !important; border-radius: 0 !important; }
html body .news-list .news-row .news-thumb.news-thumb--seta::before,
html body .news-list .news-row .news-thumb.news-thumb--seta::after { display: none !important; }
html body .news-list .news-row h4 { color: #092F50; }
@media (min-width: 1051px) {
  html body .news-list .news-row { grid-template-columns: 26px minmax(0, 1fr) 148px !important; align-items: center; }
}

/* Itens em destaque do menu (amarelos): sem o brilho/órbita do hover, que ficava cortado no topo. */
html body #navWrap .nav > a.nav-destaque::before,
html body #navWrap .nav > a.nav-destaque::after,
html body #navWrap .nav > .nav-item > .nav-trigger.nav-destaque::before,
html body #navWrap .nav > .nav-item > .nav-trigger.nav-destaque::after { display: none !important; animation: none !important; }
html body #navWrap .nav > a.nav-destaque:hover,
html body #navWrap .nav > .nav-item:hover > .nav-trigger.nav-destaque,
html body #navWrap .nav > .nav-item.open > .nav-trigger.nav-destaque { transform: none !important; box-shadow: none !important; }

/* "Buscadores da Reforma" sempre em duas linhas no menu do desktop (como no site atual). */
@media (min-width: 1201px) {
  html body .nav-two-lines { white-space: normal !important; text-align: center; }
  html body .nav-two-lines br { display: inline !important; }
}

/* "Teste grátis" verde (como no site atual), com o pulsar em verde. */
@keyframes teste-gratis-pulse-verde {
  0%   { box-shadow: 0 8px 20px rgba(6, 121, 5, .18), 0 0 0 0 rgba(61, 242, 58, .7); }
  70%  { box-shadow: 0 8px 20px rgba(6, 121, 5, .18), 0 0 0 18px rgba(61, 242, 58, 0); }
  100% { box-shadow: 0 8px 20px rgba(6, 121, 5, .18), 0 0 0 0 rgba(61, 242, 58, 0); }
}
html body .header-actions .header-trial {
  background: linear-gradient(180deg, #22b81f, #067905) !important; color: #fff !important; border-color: #067905 !important;
  animation-name: teste-gratis-pulse-verde;
}
html body .header-actions .header-trial:hover { background: linear-gradient(180deg, #27c824, #078a06) !important; }
html body .header-actions .header-trial .header-cta-icon, html body .header-actions .header-trial svg { color: #fff !important; stroke: currentColor; }

/* Legislação: ícone da TAX (seta da marca) no cabeçalho de cada coluna. */
html body .leg-card-head .leg-seta { width: 18px; height: 18px; object-fit: contain; }
/* Seta + textos centralizados na altura do card, com a seta alinhada à 1ª linha do título.
   O card pode ser mais alto que o conteúdo (a lista acompanha a altura da coluna ao lado):
   a grade tem uma linha de sobra em cima e outra embaixo (1fr auto 1fr), e seta e texto
   ficam juntos na linha do meio. O botão ocupa as três linhas, centralizado. */
html body .news-list .news-row { grid-template-rows: 1fr auto 1fr !important; row-gap: 0 !important; align-items: start !important; }
html body .news-list .news-row .news-thumb.news-thumb--seta { grid-row: 2 !important; }
html body .news-list .news-row .news-row-copy { grid-row: 2 !important; justify-content: flex-start !important; align-self: start !important; }
html body .news-list .news-row .news-row-cta { grid-row: 1 / span 3 !important; align-self: center !important; }

/* Calendário da home: mais espaço entre as duas legendas da esquerda e legenda do cartão maior. */
html body #calendario .calendar-info .event + .event { margin-top: 12px !important; }
html body #calendario .calendar-card .calendar-legend { gap: 26px !important; padding: 16px 20px !important; }
html body #calendario .calendar-card .calendar-legend span { font-size: 12.5px !important; }
html body #calendario .calendar-card .calendar-legend span::before { width: 10px !important; height: 10px !important; }

/* Submenus sem a "seta" (losango) no topo; a ponte do hover é o ::after e continua. */
html body .nav-wrap .submenu::before { display: none !important; }

/* Última linha do rodapé: copyright e CNPJ juntos à esquerda, logo da agência à direita.
   No celular, empresa em cima (CNPJ na linha de baixo) e logo embaixo, centralizados. */
html body .footer .footer-bottom { display: grid !important; grid-template-columns: 1fr auto; align-items: center; gap: 12px 24px; }
html body .footer .footer-bottom .footer-empresa { justify-self: start; }
html body .footer .footer-bottom .footer-agencia { justify-self: end; display: inline-flex; line-height: 0; opacity: .9; transition: opacity .2s ease; }
html body .footer .footer-bottom .footer-agencia:hover { opacity: 1; }
html body .footer .footer-bottom .footer-agencia img { width: 120px; height: 33px; } /* tamanho original do arquivo */
@media (max-width: 900px) {
  html body .footer .footer-bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  html body .footer .footer-bottom > * { justify-self: center !important; }
  html body .footer .footer-bottom .footer-sep { display: none; }
  html body .footer .footer-bottom .footer-cnpj { display: block; }
}
}
