/* ==========================================================================
   homepage-enhanced.css
   Layout pro estilo landing: hero 2-col (info | painel), faixa escura de
   stats, cards de ferramentas, "como funciona", FAQ, footer escuro.
   Inspirado em licitacaoaberta.com.br, adaptado às cores de cada site.
   Só aplica quando body.home-landing — zero impacto em outras páginas.
   ========================================================================== */

/* Fonte do sistema (mesmo estilo do micro-header) */
body.home-landing {
    background: #fff;
    overflow-x: clip;  /* previne scroll horizontal causado por full-bleed 100vw */
}
body.dark-mode.home-landing {
    background: #0f172a;
}
html { overflow-x: clip; }

body.home-landing main#main,
body.home-landing main#main > .container,
body.home-landing > main,
body.home-landing .container {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    width: 100% !important;
}

/* Breadcrumb na home-landing: centralizar dentro de 1440px */
body.home-landing main#main > .container > .breadcrumb {
    max-width: 1700px;
    margin: 16px auto;
    padding: 10px 20px;
    width: 100%;
    box-sizing: border-box;
}
body.dark-mode.home-landing main#main > .container > .breadcrumb {
    background-color: #1e293b;
    color: #e2e8f0;
}
body.dark-mode.home-landing main#main > .container > .breadcrumb li a {
    color: #60a5fa;
}
body.dark-mode.home-landing main#main > .container > .breadcrumb li span[aria-current="page"],
body.dark-mode.home-landing main#main > .container > .breadcrumb li+li::before {
    color: #94a3b8;
}

/* ------------------------------------------------------------------
   BANDAS — full-bleed (100vw) com conteúdo interno em 1440px
   ------------------------------------------------------------------ */
.home-band {
    padding: 64px 20px;
    width: 100%;
    box-sizing: border-box;
}
.home-band--tight { padding: 40px 20px; }
.home-band--dark {
    background: #0f172a;
    color: #e2e8f0;
}
.home-band--muted { background: #f8fafc; }
.home-band__inner {
    max-width: 1700px;
    margin: 0 auto;
    width: 100%;
}

/* ------------------------------------------------------------------
   HERO — grid 2-col (info | painel)
   ------------------------------------------------------------------ */
.home-hero-pro {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(900px 500px at 90% -10%, rgba(255, 255, 255, 0.10) 0, transparent 55%),
        radial-gradient(700px 420px at 0% 110%, rgba(255, 255, 255, 0.06) 0, transparent 55%),
        linear-gradient(135deg, rgba(0, 60, 135, 0.88) 0%, rgba(0, 40, 95, 0.92) 100%),
        var(--home-hero-bg, url("/img/hero-homepage.webp?v=26.0.2.1")) center / cover no-repeat,
        linear-gradient(135deg, var(--primary-color, #0071e3) 0%, var(--hover-color, #005bb5) 100%);
    padding: 56px 20px 72px;
    width: 100%;
    box-sizing: border-box;
}
.home-hero-pro::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 25% 60%, rgba(255,255,255,0.05) 2px, transparent 3px),
        radial-gradient(circle at 75% 30%, rgba(255,255,255,0.04) 2px, transparent 3px);
    background-size: 80px 80px, 100px 100px;
    opacity: 0.7;
    pointer-events: none;
}
.home-hero-pro__grid { position: relative; z-index: 1; }

.home-hero-pro__grid {
    max-width: 1700px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: stretch;
}
.home-hero-pro__left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 980px) {
    .home-hero-pro__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* Breadcrumb dentro do hero — capsule glassmorphism, sua própria linha */
.home-hero-pro__breadcrumb {
    display: flex;              /* block-level : ocupa a própria linha */
    width: fit-content;         /* capsule se ajusta ao conteúdo */
    max-width: 100%;
    margin: 0 0 14px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.88);
}
.home-hero-pro__breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.home-hero-pro__breadcrumb li {
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
}
.home-hero-pro__breadcrumb a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.18s ease;
}
.home-hero-pro__breadcrumb a:hover,
.home-hero-pro__breadcrumb a:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255, 255, 255, 0.6);
}
.home-hero-pro__breadcrumb [aria-current="page"] {
    color: #fff;
    font-weight: 700;
}
.home-hero-pro__breadcrumb-sep {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
    user-select: none;
    line-height: 1;
}

.home-hero-pro__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #ffffff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-bottom: 16px;
    line-height: 1.2;
    width: fit-content;  /* auto-ajuste ao conteúdo */
    white-space: nowrap;
}
@media (max-width: 560px) {
    .home-hero-pro__eyebrow {
        font-size: 0.72rem;
        white-space: normal;
    }
}

.home-hero-pro__eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34c759;
    box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.15);
}

.home-hero-pro__title {
    font-size: clamp(2.1rem, 4.5vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
    font-weight: 800;
    margin: 0 0 18px;
    color: #ffffff;
    text-wrap: balance;
}

.home-hero-pro__title em {
    font-style: normal;
    /* NB: o HTML do index.php injeta style="color:#ff7750" inline nessa palavra
       (laranja da marca) — contraste alto sobre o voile azul, a cor é preservada. */
    color: #ff7750;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

.home-hero-pro__lede {
    font-size: clamp(1rem, 1.25vw, 1.13rem);
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
    margin: 0 0 28px;
    max-width: 560px;
}

.home-hero-pro__lede strong { color: #ffffff; }

.home-hero-pro__ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.home-hero-pro__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.98rem;
    transition: 0.2s;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
}

.home-hero-pro__btn--primary {
    background: var(--primary-color, #0071e3);
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(0, 113, 227, 0.28);
}
.home-hero-pro__btn--primary:hover {
    background: var(--hover-color, #005bb5);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 113, 227, 0.35);
}

.home-hero-pro__btn--ghost {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.home-hero-pro__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.55);
    color: #ffffff !important;
}

.home-hero-pro__badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.88);
}
.home-hero-pro__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.home-hero-pro__badge i { color: #4ade80; }

/* ---- Painel direito (card clean com shadow expressivo) ---- */
.home-hero-pro__panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 26px;
    box-shadow:
        0 30px 60px -15px rgba(15, 23, 42, 0.22),
        0 12px 28px -8px rgba(15, 23, 42, 0.12),
        0 4px 10px rgba(15, 23, 42, 0.05);
}

.home-hero-pro__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eef2f7;
}

.home-hero-pro__panel-title {
    margin: 0;
    font-weight: 700;
    font-size: 1.15rem;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.home-hero-pro__panel-pill {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 999px;
    color: #065f46;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.24);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* Stats cards: 2 colunas (removido o 3º "5º dia útil") */
.home-hero-pro__panel-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.home-hero-pro__stat {
    padding: 14px 12px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 12px;
    text-align: left;
    transition: .18s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 92px;
}
.home-hero-pro__stat:hover {
    border-color: rgba(0, 113, 227, 0.3);
    background: #f0f7ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 113, 227, 0.08);
}
.home-hero-pro__stat-head {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.home-hero-pro__stat-head i {
    color: var(--primary-color, #0071e3);
    font-size: 0.78rem;
}
.home-hero-pro__stat-value {
    font-weight: 800;
    font-size: 1.42rem;
    color: #0f172a;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
    word-break: keep-all;
}
.home-hero-pro__stat-meta {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.3;
}

/* ----- Body do painel: coluna esquerda (stats + cards) | coluna direita (calendário) ----- */
.home-panel-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: stretch;    /* colunas esquerda/direita com mesma altura */
}
.home-panel-body__main {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.home-panel-body__main .home-hero-pro__panel-stats {
    margin-bottom: 0;
}
.home-panel-aside {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
/* Variante 2 colunas × 2 linhas (4 atalhos grandes) — preenche o espaço restante
   do painel principal ao lado do calendário. */
.home-panel-aside--2x2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;          /* linhas de altura igual */
    gap: 10px;
    flex: 1;                       /* ocupa o espaço vertical que sobrou do flex-column */
    align-content: stretch;
}
/* ==========================================================================
   .home-panel-shortcut — mini-stat atalho (head + nome + meta em coluna)
   Mesma linguagem visual dos .home-hero-pro__stat, com cor de accent por
   ferramenta (azul / violet / cyan / amber) pra diferenciação rápida.
   ========================================================================== */
.home-panel-shortcut {
    --shortcut-accent: #0071e3;
    --shortcut-accent-soft: rgba(0, 113, 227, 0.035);

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 14px 16px;
    /* Radial difuso muito sutil — dá vida ao card sem borda/linha.
       O gradiente não tem contorno visível, só uma variação leve de tom. */
    background:
        radial-gradient(ellipse 120% 90% at 100% 0%, var(--shortcut-accent-soft), transparent 70%),
        #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    position: relative;   /* âncora pro watermark absolute — sem isso, ele vazava pro painel */
    overflow: hidden;     /* clipa o watermark dentro dos cantos arredondados do card */
}
.home-panel-shortcut:hover {
    transform: translateY(-2px);
    border-color: var(--shortcut-accent);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06),
                0 14px 30px -12px color-mix(in srgb, var(--shortcut-accent) 35%, transparent);
    text-decoration: none;
    color: inherit;
}

.home-panel-shortcut__head,
.home-panel-shortcut__name,
.home-panel-shortcut__meta {
    position: relative;
    z-index: 1;
}
.home-panel-shortcut__head {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--shortcut-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
}
.home-panel-shortcut__head i { font-size: 0.78rem; }
.home-panel-shortcut__name {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.22;
    letter-spacing: -0.012em;
    word-break: break-word;
    hyphens: auto;
}
.home-panel-shortcut__meta {
    font-size: 0.74rem;
    color: #64748b;
    line-height: 1.35;
}
/* Ícone watermark no canto inferior-direito — decorativo, bem discreto.
   Ancorado na parte baixa (oposta ao wash radial que vem do canto superior). */
.home-panel-shortcut__watermark {
    position: absolute;
    right: -8px;
    bottom: -14px;
    font-size: 78px;
    color: var(--shortcut-accent);
    opacity: 0.07;
    pointer-events: none;
    transform: rotate(-8deg);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.home-panel-shortcut:hover .home-panel-shortcut__watermark {
    opacity: 0.11;
    transform: rotate(-4deg) scale(1.04);
}
body.dark-mode .home-panel-shortcut__watermark { opacity: 0.11; }
body.dark-mode .home-panel-shortcut:hover .home-panel-shortcut__watermark { opacity: 0.17; }

/* ---- Modifiers de cor accent ---- */
.home-panel-shortcut--blue   { --shortcut-accent: #0071e3; --shortcut-accent-soft: rgba(0, 113, 227, 0.035); }
.home-panel-shortcut--violet { --shortcut-accent: #7c3aed; --shortcut-accent-soft: rgba(124, 58, 237, 0.040); }
.home-panel-shortcut--cyan   { --shortcut-accent: #0891b2; --shortcut-accent-soft: rgba(8, 145, 178, 0.045); }
.home-panel-shortcut--amber  { --shortcut-accent: #d97706; --shortcut-accent-soft: rgba(217, 119, 6, 0.045); }

/* ---- Dark mode ---- */
body.dark-mode .home-panel-shortcut {
    background:
        radial-gradient(ellipse 120% 90% at 100% 0%, var(--shortcut-accent-soft), transparent 70%),
        #1e293b;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
body.dark-mode .home-panel-shortcut:hover {
    border-color: var(--shortcut-accent);
    background:
        radial-gradient(ellipse 120% 90% at 100% 0%, var(--shortcut-accent-soft), transparent 70%),
        #253246;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3),
                0 16px 32px -14px color-mix(in srgb, var(--shortcut-accent) 55%, transparent);
}
body.dark-mode .home-panel-shortcut__name { color: #f1f5f9; }
body.dark-mode .home-panel-shortcut__meta { color: #94a3b8; }
/* Cores accent mais saturadas/claras no dark, com wash mais denso pra compensar o fundo escuro */
body.dark-mode .home-panel-shortcut--blue   { --shortcut-accent: #60a5fa; --shortcut-accent-soft: rgba(96, 165, 250, 0.07); }
body.dark-mode .home-panel-shortcut--violet { --shortcut-accent: #a78bfa; --shortcut-accent-soft: rgba(167, 139, 250, 0.07); }
body.dark-mode .home-panel-shortcut--cyan   { --shortcut-accent: #22d3ee; --shortcut-accent-soft: rgba(34, 211, 238, 0.08); }
body.dark-mode .home-panel-shortcut--amber  { --shortcut-accent: #fbbf24; --shortcut-accent-soft: rgba(251, 191, 36, 0.08); }

@media (max-width: 520px) {
    .home-panel-aside--2x2 {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .home-panel-shortcut { padding: 12px 14px; }
}

/* ==========================================================================
   Tool cards (grid abaixo do hero) — wash sutil da cor --card-color no fundo.
   Sem bordas, sem círculos com contorno — só um radial difuso quase invisível
   que dá dimensão ao card e identifica sua cor.
   ========================================================================== */
body.home-landing .tool-card {
    background:
        radial-gradient(ellipse 110% 85% at 100% 0%, color-mix(in srgb, var(--card-color, #0d6efd) 4%, transparent), transparent 70%),
        #ffffff;
}
body.home-landing .tool-card:hover {
    background:
        radial-gradient(ellipse 110% 85% at 100% 0%, color-mix(in srgb, var(--card-color, #0d6efd) 7%, transparent), transparent 70%),
        #ffffff;
}
body.dark-mode.home-landing .tool-card {
    background:
        radial-gradient(ellipse 110% 85% at 100% 0%, color-mix(in srgb, var(--card-color, #0d6efd) 7%, transparent), transparent 70%),
        var(--cp-surface, #1e293b);
}
body.dark-mode.home-landing .tool-card:hover {
    background:
        radial-gradient(ellipse 110% 85% at 100% 0%, color-mix(in srgb, var(--card-color, #0d6efd) 11%, transparent), transparent 70%),
        var(--cp-surface, #1e293b);
}

/* Watermark decorativo no canto inferior-direito dos tool cards.
   Mesma linguagem dos microcards (.home-panel-shortcut__watermark),
   só que em escala maior para acompanhar o tamanho horizontal dos tool cards. */
body.home-landing .tool-card .tool-card__watermark {
    position: absolute;
    right: -14px;
    bottom: -20px;
    font-size: 110px;
    color: var(--card-color, #0d6efd);
    opacity: 0.06;
    pointer-events: none;
    transform: rotate(-10deg);
    transition: opacity 0.2s ease, transform 0.2s ease;
    line-height: 1;
}
body.home-landing .tool-card:hover .tool-card__watermark {
    opacity: 0.1;
    transform: rotate(-6deg) scale(1.04);
}
body.dark-mode.home-landing .tool-card .tool-card__watermark { opacity: 0.1; }
body.dark-mode.home-landing .tool-card:hover .tool-card__watermark { opacity: 0.15; }
/* Quando tool-icon e tool-info têm z-index vindo da pré-camada de halo,
   mantém aqui também para não cobrir o watermark por acidente. */
body.home-landing .tool-card .tool-icon,
body.home-landing .tool-card .tool-info {
    position: relative;
    z-index: 1;
}
.home-hero-pro__panel-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--primary-color, #0071e3) 12%, transparent);
    color: var(--primary-color, #0071e3);
    font-size: 0.85rem;
    flex-shrink: 0;
}
body.dark-mode .home-hero-pro__panel-item-icon {
    background: rgba(0, 113, 227, 0.22);
    color: #7dd3fc;
}
@media (max-width: 520px) {
    .home-panel-aside--2x2 {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .home-panel-aside--2x2 .home-hero-pro__panel-item {
        padding: 14px 14px;
    }
}
/* Variante 1 coluna × 4 linhas (cards empilhados compactos) no painel jurídico */
.home-panel-aside--grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.home-panel-aside--grid .home-hero-pro__panel-item {
    padding: 8px 12px;
    min-height: 0;
}
.home-panel-aside--grid .home-hero-pro__panel-badge {
    font-size: 0.62rem;
    padding: 2px 7px;
}
.home-panel-aside--grid .home-hero-pro__panel-item-text {
    font-size: 0.8rem;
}
@media (max-width: 520px) {
    .home-panel-body {
        grid-template-columns: 1fr;
    }
}

/* ----- Mini-calendário do mês atual (com identidade visual própria) ----- */
.home-panel-cal {
    padding: 14px 16px;
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 113, 227, 0.04) 0%, transparent 50%),
        #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: .2s;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.home-panel-cal:hover {
    border-color: rgba(0, 113, 227, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 113, 227, 0.10);
}
.home-panel-cal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2px 8px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.home-panel-cal__title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
    text-transform: capitalize;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.home-panel-cal__title::before {
    content: "\f073";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary-color, #0071e3);
    font-size: 0.8rem;
}
.home-panel-cal__hint {
    font-size: 0.66rem;
    color: var(--primary-color, #0071e3);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.75;
    transition: opacity .18s;
}
.home-panel-cal:hover .home-panel-cal__hint { opacity: 1; }
.home-panel-cal__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}
.home-panel-cal__weekday {
    text-align: center;
    color: #94a3b8;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0 0 4px;
}
.home-panel-cal__day {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 7px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #1e293b;
    position: relative;
    transition: .15s;
    font-variant-numeric: tabular-nums;
}
.home-panel-cal__day--other { color: #e2e8f0; }
.home-panel-cal__day--weekend { color: #94a3b8; }
.home-panel-cal__day--today {
    background: linear-gradient(135deg, var(--primary-color, #0071e3) 0%, #3b82f6 100%);
    color: #fff !important;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.45);
    transform: scale(1.05);
    z-index: 2;
}
.home-panel-cal__day--holiday {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.14), rgba(245, 158, 11, 0.18));
    color: #b45309 !important;
    font-weight: 700;
}
.home-panel-cal__day--today.home-panel-cal__day--holiday {
    background: linear-gradient(135deg, var(--primary-color, #0071e3) 50%, #d97706 50%);
    color: #fff !important;
}
.home-panel-cal__day--fifth::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 1.5px #fff;
}
.home-panel-cal__day--today.home-panel-cal__day--fifth::after {
    background: #fff;
    box-shadow: 0 0 0 1.5px var(--primary-color, #0071e3);
}
.home-panel-cal__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    padding: 8px 2px 0;
    font-size: 0.64rem;
    color: #64748b;
    border-top: 1px dashed rgba(15, 23, 42, 0.08);
}
.home-panel-cal__legend-dot {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.home-panel-cal__legend-dot i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.home-panel-cal__legend-dot--today i {
    background: linear-gradient(135deg, var(--primary-color, #0071e3) 0%, #3b82f6 100%);
}
.home-panel-cal__legend-dot--holiday i { background: linear-gradient(135deg, #d97706, #f59e0b); }
.home-panel-cal__legend-dot--fifth i { background: #10b981; }

body.dark-mode .home-panel-cal {
    background: linear-gradient(155deg, #111827 0%, #1e293b 100%);
    border-color: rgba(255, 255, 255, 0.06);
}
body.dark-mode .home-panel-cal__title { color: #f1f5f9; }
body.dark-mode .home-panel-cal__day { color: #cbd5e1; }
body.dark-mode .home-panel-cal__day--other { color: #475569; }
body.dark-mode .home-panel-cal__day--weekend { color: #64748b; }

/* Panel list em 2 grupos: esquerda (jurídicas) + separador + direita (outras) */
.home-hero-pro__panel-groups {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 14px;
}
.home-hero-pro__panel-divider {
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(15, 23, 42, 0.12) 20%,
        rgba(15, 23, 42, 0.12) 80%,
        transparent 100%);
    width: 1px;
    align-self: stretch;
}
.home-hero-pro__panel-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.home-hero-pro__panel-group-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin: 0 0 6px;
    padding: 0 2px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.home-hero-pro__panel-group-title i {
    color: var(--primary-color, #0071e3);
    font-size: 0.78rem;
}
@media (max-width: 560px) {
    .home-hero-pro__panel-groups {
        grid-template-columns: 1fr;
    }
    .home-hero-pro__panel-divider {
        width: 100%;
        height: 1px;
    }
    .home-hero-pro__panel-stats { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .home-hero-pro__stat-value { font-size: 1.2rem; }
}

/* Panel items em formato LINHA (horizontal, compacto) */
.home-hero-pro__panel-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 9px;
    transition: .18s;
    text-decoration: none;
    color: inherit;
    background: #fff;
    position: relative;
}
.home-hero-pro__panel-item:hover {
    border-color: rgba(0, 113, 227, 0.3);
    background: #f8fbff;
    transform: translateX(2px);
    box-shadow: 0 3px 10px rgba(0, 113, 227, 0.07);
}
/* Seta "→" aparece no hover */
.home-hero-pro__panel-item::after {
    content: "→";
    margin-left: auto;
    color: var(--primary-color, #0071e3);
    font-weight: 700;
    opacity: 0;
    transform: translateX(-4px);
    transition: .2s;
    flex-shrink: 0;
}
.home-hero-pro__panel-item:hover::after {
    opacity: 1;
    transform: translateX(0);
}
.home-hero-pro__panel-item .home-hero-pro__panel-badge {
    align-self: center;
}
.home-hero-pro__panel-item .home-hero-pro__panel-item-text {
    /* inline, não mais multi-linha */
    display: block;
    flex: 1;
    min-width: 0;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-hero-pro__panel-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    background: #10b981;
    padding: 3px 7px;
    border-radius: 5px;
    white-space: nowrap;
    align-self: flex-start;
}

.home-hero-pro__panel-item-text {
    font-size: 0.86rem;
    color: #334155;
    font-weight: 500;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-hero-pro__panel-item-meta {
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 2px;
}

/* ------------------------------------------------------------------
   FAIXA ESCURA — 4 stats grandes separando hero das ferramentas
   ------------------------------------------------------------------ */
.home-stats-strip {
    background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(99, 102, 241, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(14, 165, 233, 0.15) 0%, transparent 55%),
        linear-gradient(160deg, #0f172a 0%, #1e3a5f 55%, #0f172a 100%);
    color: #e2e8f0;
    padding: 30px 40px;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}
.home-stats-strip::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E") repeat;
    pointer-events: none;
}
.home-stats-strip__grid { position: relative; z-index: 1; }
.home-stats-strip__grid {
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
@media (max-width: 820px) {
    .home-stats-strip { padding: 32px 20px; }
    .home-stats-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 480px) {
    .home-stats-strip__grid { grid-template-columns: 1fr; gap: 16px; }
}

.home-stats-strip__item {
    display: flex;
    align-items: center;
    gap: 16px;
}
.home-stats-strip__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    place-items: center;
    color: var(--primary-color, #60a5fa);
    flex-shrink: 0;
    font-size: 1.02rem;
}
.home-stats-strip__value {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: #fff;
}
.home-stats-strip__label {
    font-size: 0.84rem;
    color: #94a3b8;
    line-height: 1.3;
    margin-top: 2px;
}
.home-stats-strip__label em {
    font-style: normal;
    color: #10b981;
    font-weight: 600;
    display: block;
    font-size: 0.74rem;
    margin-top: 1px;
}

/* ------------------------------------------------------------------
   HOW IT WORKS — 4 steps com number pill
   ------------------------------------------------------------------ */
.home-how-it-works {
    padding: 64px 20px;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}
.home-how-it-works__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}
.home-how-it-works__title {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
}
.home-how-it-works__lede {
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}
.home-how-it-works__grid {
    max-width: 1700px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 820px) { .home-how-it-works__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .home-how-it-works__grid { grid-template-columns: 1fr; } }

.home-how-step {
    background: #fff;
    padding: 24px 22px 26px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    transition: .2s;
}
.home-how-step:hover {
    border-color: var(--primary-color, #0071e3);
    box-shadow: 0 10px 28px rgba(0, 113, 227, 0.08);
    transform: translateY(-2px);
}
/* Numeração gigante em marca d'água no canto superior direito */
.home-how-step__num {
    position: absolute;
    top: -18px;
    right: -8px;
    font-weight: 900;
    font-size: 6rem;
    line-height: 1;
    color: var(--primary-color, #0071e3);
    opacity: 0.08;
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.04em;
    transition: opacity .2s, color .2s;
}
.home-how-step:hover .home-how-step__num {
    opacity: 0.14;
}
.home-how-step__title {
    font-size: 1.02rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}
.home-how-step__text {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

/* ------------------------------------------------------------------
   FAQ — acordeon estilo licitacao
   ------------------------------------------------------------------ */
.home-faq {
    padding: 64px 20px;
    background: #f8fafc;
    width: 100%;
    box-sizing: border-box;
}
.home-faq__header {
    max-width: 900px;
    margin: 0 auto 24px;
    text-align: center;
}
.home-faq__title {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
}
.home-faq__lede {
    color: #475569;
    font-size: 0.98rem;
    margin: 0;
}
.home-faq__intro {
    max-width: 900px;
    margin: 0 auto 28px;
    padding: 0 4px;
    color: #475569;
    font-size: 0.96rem;
    line-height: 1.7;
    text-align: center;
}
.home-faq__intro strong { color: #0f172a; }
.home-faq__list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.home-faq details {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: .2s;
}
.home-faq details[open] {
    border-color: var(--primary-color, #0071e3);
    box-shadow: 0 6px 18px rgba(0, 113, 227, 0.08);
}
.home-faq summary {
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.98rem;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    list-style: none;
}
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary-color, #0071e3);
    font-size: 0.82rem;
    transition: .2s;
    flex-shrink: 0;
}
.home-faq details[open] summary::after { transform: rotate(180deg); }
.home-faq__body {
    padding: 0 22px 20px;
    color: #475569;
    font-size: 0.94rem;
    line-height: 1.65;
}

/* ------------------------------------------------------------------
   COMPARE STRIP — divisor informativo explicando tipos de dias
   ------------------------------------------------------------------ */
.home-compare-strip {
    margin: 32px 0;
    padding: 24px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}
.home-compare-strip__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-weight: 700;
    color: #0f172a;
    font-size: 1.02rem;
}
.home-compare-strip__head i {
    color: var(--primary-color, #0071e3);
    font-size: 1.1rem;
}
.home-compare-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
@media (max-width: 820px) {
    .home-compare-strip__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .home-compare-strip__grid { grid-template-columns: 1fr; }
}
.home-compare-strip__item {
    background: #fff;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: .2s;
}
.home-compare-strip__item:hover {
    border-color: var(--primary-color, #0071e3);
    transform: translateY(-1px);
}
.home-compare-strip__item-label {
    font-weight: 700;
    color: var(--primary-color, #0071e3);
    font-size: 0.95rem;
    margin-bottom: 6px;
}
.home-compare-strip__item-desc {
    font-size: 0.86rem;
    color: #64748b;
    line-height: 1.5;
}

body.dark-mode .home-compare-strip {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-color: rgba(255, 255, 255, 0.08);
}
body.dark-mode .home-compare-strip__head { color: #f1f5f9; }
body.dark-mode .home-compare-strip__item {
    background: #111827;
    border-color: rgba(255, 255, 255, 0.06);
}
body.dark-mode .home-compare-strip__item-desc { color: #94a3b8; }

/* ------------------------------------------------------------------
   Dark mode — respeita o toggle global
   ------------------------------------------------------------------ */
body.dark-mode.tool-home { background: #0f172a; }
/* Dark mode : conserva a imagem com voile ainda mais escuro, mantém a faixa azul/navy
   coerente com o resto do dark UI. */
body.dark-mode .home-hero-pro {
    color: #ffffff;
    background:
        radial-gradient(900px 500px at 90% -10%, rgba(125, 211, 252, 0.10) 0, transparent 55%),
        radial-gradient(700px 420px at 0% 110%, rgba(125, 211, 252, 0.06) 0, transparent 55%),
        linear-gradient(135deg, rgba(8, 25, 55, 0.90) 0%, rgba(4, 15, 35, 0.94) 100%),
        var(--home-hero-bg, url("/img/hero-homepage.webp?v=26.0.2.1")) center / cover no-repeat,
        linear-gradient(135deg, #0b1d38 0%, #081430 100%);
}
body.dark-mode .home-hero-pro__title { color: #ffffff; }
body.dark-mode .home-hero-pro__title em {
    color: #ff7750;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}
body.dark-mode .home-hero-pro__lede { color: rgba(255, 255, 255, 0.92); }
body.dark-mode .home-hero-pro__lede strong { color: #ffffff; }
body.dark-mode .home-hero-pro__eyebrow {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}
body.dark-mode .home-hero-pro__btn--ghost {
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.22);
}
body.dark-mode .home-hero-pro__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.45);
}
body.dark-mode .home-hero-pro__badges { color: rgba(255, 255, 255, 0.88); }
body.dark-mode .home-hero-pro__badge i { color: #4ade80; }
body.dark-mode .home-hero-pro__panel { background: #1e293b; border-color: rgba(255, 255, 255, 0.08); }
body.dark-mode .home-hero-pro__panel-title { color: #f1f5f9; }
body.dark-mode .home-hero-pro__stat { background: #111827; border-color: rgba(255, 255, 255, 0.06); }
body.dark-mode .home-hero-pro__stat-value { color: #f1f5f9; }
body.dark-mode .home-hero-pro__panel-item { background: #111827; border-color: rgba(255, 255, 255, 0.06); }
body.dark-mode .home-how-it-works { background: #0f172a; }
body.dark-mode .home-how-it-works__title { color: #f1f5f9; }
body.dark-mode .home-how-it-works__lede { color: #94a3b8; }
body.dark-mode .home-how-step { background: #1e293b; border-color: rgba(255, 255, 255, 0.06); }
body.dark-mode .home-how-step__title { color: #f1f5f9; }
body.dark-mode .home-how-step__text { color: #94a3b8; }
body.dark-mode .home-faq { background: #0a0f1a; }
body.dark-mode .home-faq__title { color: #f1f5f9; }
body.dark-mode .home-faq__lede { color: #94a3b8; }
body.dark-mode .home-faq details { background: #1e293b; border-color: rgba(255, 255, 255, 0.08); }
body.dark-mode .home-faq summary { color: #f1f5f9; }
body.dark-mode .home-faq__body { color: #94a3b8; }

/* ==========================================================================
   CLUSTER SECTION HEADERS — Faixa com fundo + ícone em card (estilo moderno)
   Aplica só quando dentro de body.home-landing + .home-band (não afeta outras páginas)
   ========================================================================== */
body.home-landing .home-band .section-header {
    position: relative;
    margin: 36px 0 22px;
    padding: 22px 26px;
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 113, 227, 0.08) 0%, transparent 55%),
        radial-gradient(circle at 0% 100%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, #f8fbff 0%, #fff 100%);
    border: 1px solid rgba(0, 113, 227, 0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.015em;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}
body.home-landing .home-band .section-header::before {
    content: "";
    position: absolute;
    top: -30px;
    right: -30px;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.12) 0%, transparent 70%);
    pointer-events: none;
}
body.home-landing .home-band .section-header:first-of-type { margin-top: 0; }
body.home-landing .home-band .section-header i {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-color, #0071e3) 0%, #3b82f6 100%);
    color: #fff;
    border-radius: 12px;
    font-size: 1.05rem;
    box-shadow:
        0 6px 16px rgba(0, 113, 227, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}
body.dark-mode.home-landing .home-band .section-header {
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 113, 227, 0.15) 0%, transparent 55%),
        linear-gradient(135deg, #1e293b 0%, #172033 100%);
    border-color: rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
}
body.dark-mode.home-landing .home-band .section-header::before {
    background: radial-gradient(circle, rgba(96, 165, 250, 0.18) 0%, transparent 70%);
}

/* SEO text: dark mode apenas (largura mantida original) */
body.dark-mode.home-landing .home-seo-text,
body.dark-mode.home-landing .hub-content-wrapper {
    color: #cbd5e1;
}
body.dark-mode.home-landing .home-seo-text h2,
body.dark-mode.home-landing .home-seo-text h3,
body.dark-mode.home-landing .home-seo-text h4,
body.dark-mode.home-landing .hub-content-wrapper h2,
body.dark-mode.home-landing .hub-content-wrapper h3,
body.dark-mode.home-landing .hub-content-wrapper h4 {
    color: #f1f5f9 !important;
}
body.dark-mode.home-landing .home-seo-text p,
body.dark-mode.home-landing .home-seo-text li,
body.dark-mode.home-landing .hub-content-wrapper p,
body.dark-mode.home-landing .hub-content-wrapper li {
    color: #94a3b8 !important;
}
body.dark-mode.home-landing .home-seo-text a,
body.dark-mode.home-landing .hub-content-wrapper a {
    color: #60a5fa !important;
}
body.dark-mode.home-landing .home-seo-text strong,
body.dark-mode.home-landing .hub-content-wrapper strong {
    color: #e2e8f0 !important;
}
body.dark-mode.home-landing .hub-content-wrapper th {
    background: #1e293b !important;
    color: #f1f5f9 !important;
}
body.dark-mode.home-landing .home-band--muted {
    background: #111827;
}

/* ==========================================================================
   MOBILE: garante respiro lateral em todos os elementos de landing
   ========================================================================== */
@media (max-width: 768px) {
    body.home-landing .home-hero-pro {
        padding: 40px 16px 48px;
    }
    body.home-landing .home-band {
        padding: 44px 16px;
    }
    body.home-landing .home-stats-strip {
        padding: 28px 16px;
    }
    body.home-landing .home-how-it-works,
    body.home-landing .home-faq {
        padding: 48px 16px;
    }
    body.home-landing .home-seo-text,
    body.home-landing .hub-content-wrapper {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    /* Section header (clusters) com respiro maior em mobile */
    body.home-landing .home-band .section-header {
        padding: 14px 16px;
        margin: 24px 0 16px;
    }
    /* Hero grid e elementos internos respiram junto */
    body.home-landing .home-hero-pro__grid {
        gap: 28px;
    }
    body.home-landing .home-hero-pro__title {
        font-size: clamp(1.7rem, 6vw, 2.2rem);
    }
    body.home-landing .home-hero-pro__lede {
        font-size: 0.98rem;
    }
    /* CTAs side by side com respiro entre si e bordas */
    body.home-landing .home-hero-pro__ctas {
        gap: 10px;
    }
    body.home-landing .home-hero-pro__btn {
        padding: 12px 18px;
        font-size: 0.94rem;
    }
    /* Badges em coluna pra não quebrar feio */
    body.home-landing .home-hero-pro__badges {
        gap: 10px 18px;
        font-size: 0.86rem;
    }
    /* Stats strip: em mobile, grid vertical com padding */
    body.home-landing .home-stats-strip__grid {
        gap: 18px;
    }
    /* Panel mobile: reduz padding interno */
    body.home-landing .home-hero-pro__panel {
        padding: 18px;
        border-radius: 14px;
    }
    /* Breadcrumb no mobile */
    body.home-landing main#main > .container > .breadcrumb {
        padding: 10px 16px;
        margin: 12px auto;
    }
}
@media (max-width: 480px) {
    body.home-landing .home-hero-pro {
        padding: 32px 14px 40px;
    }
    body.home-landing .home-band,
    body.home-landing .home-stats-strip,
    body.home-landing .home-how-it-works,
    body.home-landing .home-faq {
        padding-left: 14px;
        padding-right: 14px;
    }
    body.home-landing .home-seo-text,
    body.home-landing .hub-content-wrapper {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
    body.home-landing .home-hero-pro__ctas .home-hero-pro__btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   PAINEL: calendário oculta quando não cabe (evita estourar)
   ========================================================================== */
@media (max-width: 1280px) {
    body.home-landing .home-panel-body {
        grid-template-columns: 1fr;  /* panel-body vira uma coluna (só stats + aside) */
    }
    body.home-landing .home-panel-cal {
        display: none;  /* calendário some até voltar espaço */
    }
}

/* ==========================================================================
   SEO CONTENT POST-FAQ — design moderno com cards, tipografia rica
   ========================================================================== */
body.home-landing .home-seo-text,
body.home-landing .hub-content-wrapper {
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    color: #334155;
    font-size: 1rem;
    line-height: 1.72;
}
body.home-landing .home-seo-text h2,
body.home-landing .hub-content-wrapper h2 {
    font-size: clamp(1.4rem, 2.2vw, 1.75rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 48px 0 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid rgba(0, 113, 227, 0.12);
    position: relative;
}
body.home-landing .home-seo-text h2::after,
body.home-landing .hub-content-wrapper h2::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color, #0071e3), transparent);
}
body.home-landing .home-seo-text h2:first-of-type,
body.home-landing .hub-content-wrapper h2:first-of-type {
    margin-top: 0;
}
body.home-landing .home-seo-text h3,
body.home-landing .hub-content-wrapper h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
    margin: 36px 0 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
body.home-landing .home-seo-text h3::before,
body.home-landing .hub-content-wrapper h3::before {
    content: "";
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: var(--primary-color, #0071e3);
    flex-shrink: 0;
}
body.home-landing .home-seo-text h4,
body.home-landing .hub-content-wrapper h4 {
    font-size: 1.02rem;
    font-weight: 700;
    margin: 22px 0 8px;
    color: #0f172a;
}
body.home-landing .home-seo-text h4 a,
body.home-landing .hub-content-wrapper h4 a {
    color: var(--primary-color, #0071e3);
    text-decoration: none;
    position: relative;
    transition: color .15s;
}
body.home-landing .home-seo-text h4 a:hover,
body.home-landing .hub-content-wrapper h4 a:hover {
    color: var(--hover-color, #005bb5);
    text-decoration: underline;
}
body.home-landing .home-seo-text p,
body.home-landing .hub-content-wrapper p {
    color: #475569;
    margin: 0 0 16px;
    font-size: 0.97rem;
    line-height: 1.72;
}
body.home-landing .home-seo-text ul,
body.home-landing .hub-content-wrapper ul {
    margin: 0 0 20px;
    padding-left: 20px;
    color: #475569;
}
body.home-landing .home-seo-text ul li,
body.home-landing .hub-content-wrapper ul li {
    margin-bottom: 8px;
    font-size: 0.96rem;
    line-height: 1.65;
}
body.home-landing .home-seo-text a,
body.home-landing .hub-content-wrapper a {
    color: var(--primary-color, #0071e3);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 113, 227, 0.25);
    transition: border-color .15s, color .15s;
}
body.home-landing .home-seo-text a:hover,
body.home-landing .hub-content-wrapper a:hover {
    color: var(--hover-color, #005bb5);
    border-bottom-color: currentColor;
}
body.home-landing .home-seo-text strong,
body.home-landing .hub-content-wrapper strong {
    color: #0f172a;
    font-weight: 700;
}

/* Tabelas estilizadas */
body.home-landing .hub-content-wrapper table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 20px 0 28px;
    font-size: 0.93rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
    border: 1px solid #e2e8f0;
}
body.home-landing .hub-content-wrapper table thead tr {
    background: linear-gradient(135deg, #f0f7ff 0%, #f8fafc 100%) !important;
}
body.home-landing .hub-content-wrapper table th {
    padding: 14px 16px !important;
    border-bottom: 2px solid rgba(0, 113, 227, 0.12) !important;
    font-weight: 700;
    color: #0f172a !important;
    text-transform: uppercase;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    text-align: left;
    background: transparent !important;
}
body.home-landing .hub-content-wrapper table td {
    padding: 14px 16px !important;
    border-bottom: 1px solid #eef2f7 !important;
    color: #475569;
    vertical-align: middle;
}
body.home-landing .hub-content-wrapper table tr:last-child td {
    border-bottom: none !important;
}
body.home-landing .hub-content-wrapper table tr:hover td {
    background: #f8fbff;
}
body.home-landing .hub-content-wrapper table td a {
    color: var(--primary-color, #0071e3);
    font-weight: 600;
    border: none;
}

/* Container da banda muted (SEO) — respiro generoso */
body.home-landing .home-band--muted {
    padding: 72px 20px 80px;
}

/* --- Dark mode --- */
body.dark-mode.home-landing .home-seo-text,
body.dark-mode.home-landing .hub-content-wrapper {
    color: #cbd5e1;
}
body.dark-mode.home-landing .home-seo-text h2,
body.dark-mode.home-landing .hub-content-wrapper h2 {
    color: #f1f5f9 !important;
    border-bottom-color: rgba(96, 165, 250, 0.18) !important;
}
body.dark-mode.home-landing .home-seo-text h2::after,
body.dark-mode.home-landing .hub-content-wrapper h2::after {
    background: linear-gradient(90deg, #60a5fa, transparent);
}
body.dark-mode.home-landing .home-seo-text h3,
body.dark-mode.home-landing .home-seo-text h4,
body.dark-mode.home-landing .hub-content-wrapper h3,
body.dark-mode.home-landing .hub-content-wrapper h4 {
    color: #f1f5f9 !important;
}
body.dark-mode.home-landing .home-seo-text p,
body.dark-mode.home-landing .home-seo-text li,
body.dark-mode.home-landing .hub-content-wrapper p,
body.dark-mode.home-landing .hub-content-wrapper li {
    color: #94a3b8 !important;
}
body.dark-mode.home-landing .home-seo-text strong,
body.dark-mode.home-landing .hub-content-wrapper strong {
    color: #e2e8f0 !important;
}
body.dark-mode.home-landing .home-seo-text a,
body.dark-mode.home-landing .hub-content-wrapper a {
    color: #60a5fa !important;
    border-bottom-color: rgba(96, 165, 250, 0.3) !important;
}
body.dark-mode.home-landing .hub-content-wrapper table {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.06);
}
body.dark-mode.home-landing .hub-content-wrapper table thead tr {
    background: linear-gradient(135deg, #172033 0%, #1e293b 100%) !important;
}
body.dark-mode.home-landing .hub-content-wrapper table th {
    color: #f1f5f9 !important;
    border-bottom-color: rgba(96, 165, 250, 0.18) !important;
}
body.dark-mode.home-landing .hub-content-wrapper table td {
    color: #cbd5e1;
    border-bottom-color: rgba(255, 255, 255, 0.05) !important;
}
body.dark-mode.home-landing .hub-content-wrapper table tr:hover td {
    background: rgba(96, 165, 250, 0.06);
}
body.dark-mode.home-landing .home-band--muted {
    background: #0f172a;
}

/* --- Hub juridico: carrossel de artigos relacionados --- */
body.home-landing .home-related {
    width: min(1180px, calc(100% - 40px));
    margin: 56px auto 0;
}

body.home-landing .home-related__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

body.home-landing .home-related__title {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.15;
    font-weight: 800;
}

body.home-landing .home-related__lede {
    margin: 8px 0 0;
    max-width: 620px;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
}

body.home-landing .home-related__controls {
    display: inline-flex;
    gap: 8px;
    flex: 0 0 auto;
}

body.home-landing .home-related__nav {
    width: 40px;
    height: 40px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

body.home-landing .home-related__nav:hover {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
    transform: translateY(-1px);
}

body.home-landing .home-related__viewport {
    position: relative;
    overflow: hidden;
}

body.home-landing .home-related__track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 18px;
}

body.home-landing .home-related__track::-webkit-scrollbar {
    height: 8px;
}

body.home-landing .home-related__track::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 999px;
}

body.home-landing .home-related__track::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 999px;
}

body.home-landing .home-related-card {
    flex: 0 0 min(360px, 84vw);
    min-height: 250px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: #ffffff;
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

body.home-landing .home-related-card:hover {
    transform: translateY(-4px);
    border-color: #94a3b8;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

body.home-landing .home-related-card__cat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: #334155;
    background: #f1f5f9;
    border-radius: 6px;
    padding: 6px 9px;
    font-size: 0.78rem;
    font-weight: 700;
}

body.home-landing .home-related-card__cat i {
    color: #0f766e;
}

body.home-landing .home-related-card__title {
    margin: 16px 0 10px;
    color: #0f172a;
    font-size: 1.08rem;
    line-height: 1.35;
    font-weight: 800;
    text-wrap: pretty;
}

body.home-landing .home-related-card__desc {
    margin: 0;
    color: #64748b;
    font-size: 0.94rem;
    line-height: 1.58;
}

body.home-landing .home-related-card__foot {
    margin-top: auto;
    padding-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #475569;
    font-size: 0.86rem;
}

body.home-landing .home-related-card__reading,
body.home-landing .home-related-card__arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

body.home-landing .home-related-card__arrow {
    color: #0f766e;
    font-weight: 800;
    white-space: nowrap;
}

body.home-landing .home-related__footer {
    margin: 8px 0 0;
}

body.home-landing .home-related__footer a {
    color: #0f766e;
    font-weight: 800;
    text-decoration: none;
}

body.home-landing .home-related__footer a:hover {
    text-decoration: underline;
}

body.home-landing .home-related--tools {
    margin-top: 48px;
}

body.home-landing .home-other-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 14px;
}

body.home-landing .home-other-tool {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 92px;
    padding: 18px;
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body.home-landing .home-other-tool:hover {
    transform: translateY(-2px);
    border-color: #94a3b8;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1);
}

body.home-landing .home-other-tool__icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #e0f2fe;
    color: #0369a1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

body.home-landing .home-other-tool__text {
    display: grid;
    gap: 4px;
}

body.home-landing .home-other-tool__title {
    color: #0f172a;
    font-weight: 800;
}

body.home-landing .home-other-tool__desc {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.35;
}

body.dark-mode.home-landing .home-related__title,
body.dark-mode.home-landing .home-related-card__title,
body.dark-mode.home-landing .home-other-tool__title {
    color: #f8fafc;
}

body.dark-mode.home-landing .home-related__lede,
body.dark-mode.home-landing .home-related-card__desc,
body.dark-mode.home-landing .home-other-tool__desc {
    color: #94a3b8;
}

body.dark-mode.home-landing .home-related-card,
body.dark-mode.home-landing .home-other-tool,
body.dark-mode.home-landing .home-related__nav {
    background: #111827;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

body.dark-mode.home-landing .home-related-card__cat {
    background: rgba(20, 184, 166, 0.12);
    color: #ccfbf1;
}

body.dark-mode.home-landing .home-related-card__foot {
    color: #cbd5e1;
}

body.dark-mode.home-landing .home-related__nav {
    color: #f8fafc;
}

body.dark-mode.home-landing .home-related__nav:hover {
    background: #e2e8f0;
    border-color: #e2e8f0;
    color: #0f172a;
}

body.dark-mode.home-landing .home-other-tool__icon {
    background: rgba(56, 189, 248, 0.14);
    color: #7dd3fc;
}

@media (max-width: 640px) {
    body.home-landing .home-seo-text,
    body.home-landing .hub-content-wrapper {
        padding: 0 16px !important;
    }
    body.home-landing .home-band--muted {
        padding: 48px 16px 56px;
    }
    body.home-landing .home-related {
        width: calc(100% - 28px);
        margin-top: 42px;
    }
    body.home-landing .home-related__header {
        align-items: flex-start;
    }
    body.home-landing .home-related__controls {
        display: none;
    }
    body.home-landing .home-related-card {
        flex-basis: 88vw;
        min-height: 260px;
    }
}
