/* ============================================
   FUNDAÇÃO BRASIL DIGITAL — CAMADA DE IDENTIDADE (v2, out/2026)
   Carregado depois de style.css e animations.css.
   Alinha o site ao guia de marca FBDIT:
   navy #073A6B · navy profundo #04223F · azul FBD #1A8FD1
   Lexend (títulos) + IBM Plex Sans (corpo) · cantos retos · sem gradientes
   ============================================ */

:root {
    --primary: #1A8FD1;
    --primary-dark: #073A6B;
    --primary-light: #6CC0EE;
    --secondary: #0B5A99;
    --secondary-light: #6CC0EE;
    --accent: #1A8FD1;
    --accent-light: #6CC0EE;
    --accent-dark: #0B5A99;
    --dark: #04223F;
    --dark-light: #073A6B;
    --navy: #073A6B;
    --light: #EEF5FB;
    --light-dark: #DCEAF5;
    --ink: #10263D;
    --text-dark: #10263D;
    --text-light: #33475B;
    --text-muted: #5E6670;
    --text-blue: #0B6FB0;
    --border: #D5E0EA;

    --radius-sm: 2px;
    --radius: 3px;
    --radius-lg: 4px;
    --radius-xl: 4px;

    --shadow-sm: none;
    --shadow: 0 1px 0 rgba(4,34,63,0.04);
    --shadow-lg: 0 8px 24px -12px rgba(4,34,63,0.18);
    --shadow-xl: 0 16px 32px -16px rgba(4,34,63,0.22);

    --font-primary: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Lexend', 'IBM Plex Sans', sans-serif;
}

body { color: var(--ink); }
p { color: var(--text-light); }
h1, h2, h3, h4, h5, h6 { color: var(--navy); font-weight: 600; letter-spacing: -0.01em; }
.hero h1, .page-header h1, .hero-title { font-weight: 600; }

/* Destaque de texto: cor sólida, sem gradiente */
.text-gradient {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: currentColor;
    color: var(--primary);
}

/* Eyebrow (antes "pílula") */
.section-label {
    background: none !important;
    padding: 0;
    border-radius: 0;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.8125rem;
    letter-spacing: 0.22em;
    color: var(--text-blue);
}
.section-label i { display: none; }
.section-header .section-label::after,
.eyebrow-bar::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    background: var(--primary);
    margin: 14px auto 0;
}
.section-header { max-width: 760px; }
.page-header .section-label,
.comparison-section .section-label,
.ict-section .section-label,
.on-dark .section-label { color: #6CC0EE !important; }

/* Botões: sólidos, sem brilho */
.btn { border-radius: var(--radius); font-family: var(--font-display); font-weight: 500; letter-spacing: 0.01em; }
.btn::before { display: none; }
.btn-primary { background: var(--primary); box-shadow: none; }
.btn-primary:hover { background: var(--secondary); transform: none; box-shadow: none; }
.btn-light { color: var(--navy); box-shadow: none; }
.btn-light:hover { transform: none; background: var(--light); box-shadow: none; }
.btn-outline { border-width: 1.5px; }

/* Cabeçalho de página e hero: navy sólido */
.page-header { background: var(--dark) !important; }
.hero { background: var(--dark); }
.hero-title .highlight { background: none; -webkit-text-fill-color: currentColor; color: #6CC0EE; }
.hero-glow { display: none; }
.hero-badge { border-radius: var(--radius); background: rgba(255,255,255,0.06); color: #6CC0EE; }

/* Cartões existentes: fio em vez de sombra */
.card, .value-card, .solution-card, .venture-card, .comparison-card { box-shadow: none; }
.value-icon, .card-icon, .solution-image, .venture-card-icon {
    background: var(--light) !important;
    color: var(--primary) !important;
}
.value-card::before, .card::before { background: var(--primary) !important; }

/* Seções escuras */
.comparison-section, .ict-section { background: var(--dark) !important; }
.footer-cta { background: var(--primary) !important; }

/* Acessibilidade */
:focus-visible { outline: 3px solid #6CC0EE; outline-offset: 2px; }
.skip-link {
    position: absolute; left: -9999px; top: 8px; z-index: 10000;
    background: var(--navy); color: #fff; padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { left: 8px; }

/* ============================================
   COMPONENTES NOVOS
   ============================================ */

.bg-tint { background: var(--light); }
.bg-navy { background: var(--dark); color: #fff; }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.bg-navy p { color: rgba(255,255,255,0.78); }

.lead { font-size: 1.125rem; line-height: 1.75; color: var(--text-light); }
.muted { color: var(--text-muted); font-size: 0.875rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

/* Bloco com fio azul no topo */
.tile {
    background: #fff;
    border: 1px solid var(--border);
    border-top: 4px solid var(--primary);
    padding: 28px;
    height: 100%;
}
.tile h3 { font-size: 1.125rem; margin-bottom: 10px; }
.tile p { font-size: 0.9375rem; line-height: 1.65; margin-bottom: 0; }
.tile .tile-num {
    font-family: var(--font-display); font-weight: 600; font-size: 0.875rem;
    color: var(--primary); letter-spacing: 0.12em; display: block; margin-bottom: 14px;
}
.tile ul { margin-top: 14px; display: grid; gap: 8px; }
.tile li { font-size: 0.9rem; color: var(--text-light); padding-left: 16px; position: relative; line-height: 1.5; }
.tile li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; background: var(--primary); }
.tile-navy { background: var(--dark); border-color: var(--dark); border-top-color: var(--primary); }
.tile-navy h3 { color: #fff; }
.tile-navy p, .tile-navy li { color: rgba(255,255,255,0.78); }
.tile .tag {
    display: inline-block; font-family: var(--font-display); font-size: 0.6875rem; font-weight: 500;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-blue);
    background: var(--light); padding: 4px 8px; margin-bottom: 12px;
}
.tile-navy .tag { background: rgba(255,255,255,0.08); color: #6CC0EE; }

/* Ficha institucional */
.facts { border-top: 1px solid var(--border); }
.facts div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.facts dt { font-family: var(--font-display); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-blue); padding-top: 2px; }
.facts dd { color: var(--ink); font-size: 0.9875rem; line-height: 1.55; }
.bg-navy .facts, .bg-navy .facts div { border-color: rgba(255,255,255,0.14); }
.bg-navy .facts dt { color: #6CC0EE; }
.bg-navy .facts dd { color: #fff; }

/* Números-chave */
.keyfigs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,0.16); margin-top: 40px; }
.keyfig { padding: 20px 20px 0 0; }
.keyfig + .keyfig { padding-left: 20px; border-left: 1px solid rgba(255,255,255,0.16); }
.keyfig strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.75rem, 3vw, 2.5rem); color: #fff; line-height: 1.1; }
.keyfig span { display: block; font-size: 0.875rem; color: rgba(255,255,255,0.72); margin-top: 6px; line-height: 1.4; }

/* Estrutura em três pilares */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); }
.pillar { padding: 32px; background: #fff; }
.pillar + .pillar { border-left: 1px solid var(--border); }
.pillar .role { font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.18em; color: #fff; background: var(--navy); display: inline-block; padding: 4px 10px; margin-bottom: 16px; }
.pillar.is-exec .role { background: var(--primary); }
.pillar h3 { font-size: 1.375rem; margin-bottom: 4px; }
.pillar .sub { font-size: 0.875rem; color: var(--text-blue); font-weight: 600; margin-bottom: 14px; }
.pillar p { font-size: 0.9375rem; line-height: 1.65; }
.pillar ul { display: grid; gap: 8px; margin-top: 12px; }
.pillar li { font-size: 0.9rem; color: var(--text-light); padding-left: 16px; position: relative; line-height: 1.5; }
.pillar li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; background: var(--primary); }
.status {
    display: inline-block; margin-top: 16px; font-size: 0.75rem; font-weight: 600;
    color: var(--secondary); border: 1px solid var(--border); padding: 4px 10px; background: var(--light);
}

/* Processo em etapas */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.step { padding: 0 20px 0 0; position: relative; }
.step::before {
    counter-increment: step; content: counter(step, decimal-leading-zero);
    display: block; font-family: var(--font-display); font-weight: 600; font-size: 2rem; color: var(--primary); line-height: 1;
}
.step::after { content: ''; display: block; height: 2px; background: var(--border); margin: 16px 0 18px; }
.step:last-child::after { background: var(--primary); }
.step h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; line-height: 1.6; }

/* Pessoas */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.person { background: #fff; border: 1px solid var(--border); }
.person img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; filter: saturate(0.92); background: var(--light); }
.person-body { padding: 20px 22px 24px; border-top: 4px solid var(--primary); }
.person h3 { font-size: 1.125rem; margin-bottom: 2px; }
.person .role { font-family: var(--font-display); font-size: 0.8125rem; font-weight: 500; color: var(--text-blue); margin-bottom: 10px; }
.person p { font-size: 0.9rem; line-height: 1.6; margin: 0; }
.group-title { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; border-bottom: 2px solid var(--navy); padding-bottom: 12px; margin: 0 0 28px; flex-wrap: wrap; }
.group-title h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin: 0; }
.group-title p { margin: 0; font-size: 0.9375rem; max-width: 520px; }

/* Linha do tempo */
.timeline { border-left: 2px solid var(--border); margin-left: 6px; }
.tl-item { position: relative; padding: 0 0 28px 28px; }
.tl-item::before { content: ''; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; background: #fff; border: 2px solid var(--primary); }
.tl-item.done::before { background: var(--primary); }
.tl-item .when { font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-blue); font-weight: 500; }
.tl-item h3 { font-size: 1.0625rem; margin: 4px 0 6px; }
.tl-item p { font-size: 0.9375rem; line-height: 1.6; margin: 0; }

/* Tabela de dados */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); background: #fff; }
.data-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.data-table th { text-align: left; font-family: var(--font-display); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--navy); padding: 14px 20px; }
.data-table td { padding: 14px 20px; border-top: 1px solid var(--border); font-size: 0.9375rem; color: var(--text-light); vertical-align: top; line-height: 1.55; }
.data-table td:first-child { font-weight: 600; color: var(--ink); width: 22%; }
.data-table tr:nth-child(even) td { background: #F7FAFD; }

/* Destaque / citação */
.callout { border-left: 6px solid var(--primary); background: var(--light); padding: 28px 32px; }
.callout p { color: var(--ink); font-size: 1.125rem; line-height: 1.6; margin: 0; font-family: var(--font-display); font-weight: 400; }
.callout small { display: block; margin-top: 10px; color: var(--text-muted); font-size: 0.8125rem; }
.bg-navy .callout { background: rgba(255,255,255,0.05); }
.bg-navy .callout p { color: #fff; }

/* Selo institucional (faixa) */
.trustbar { background: var(--light); border-bottom: 1px solid var(--border); }
.trustbar .container { display: flex; gap: 32px; flex-wrap: wrap; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.trust-item { display: flex; gap: 12px; align-items: center; font-size: 0.875rem; color: var(--text-light); }
.trust-item strong { color: var(--navy); font-weight: 600; display: block; font-size: 0.9375rem; }
.trust-item i { color: var(--primary); font-size: 1.125rem; width: 20px; text-align: center; }

/* Lista de verificação */
.checklist { display: grid; gap: 12px; }
.checklist li { padding-left: 28px; position: relative; color: var(--text-light); line-height: 1.55; }
.checklist li::before { content: ''; position: absolute; left: 0; top: 0.35em; width: 14px; height: 8px; border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(-45deg); }
.bg-navy .checklist li { color: rgba(255,255,255,0.82); }

/* Formulários */
.form-input, .contact-form input, .contact-form select, .contact-form textarea { border-radius: var(--radius) !important; }
.form-note { font-size: 0.8125rem; color: var(--text-muted); margin-top: 12px; }

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
    .pillars { grid-template-columns: 1fr; }
    .pillar + .pillar { border-left: 0; border-top: 1px solid var(--border); }
}
@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4, .people { grid-template-columns: 1fr; gap: 24px; }
    .keyfigs { grid-template-columns: 1fr; }
    .keyfig + .keyfig { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,0.16); }
    .steps { grid-template-columns: 1fr; }
    .facts div { grid-template-columns: 1fr; gap: 4px; }
    .page-header { padding: 130px 0 56px !important; }
    .trustbar .container { flex-direction: column; align-items: flex-start; gap: 14px; }
    .tile, .pillar { padding: 22px; }
    .callout { padding: 22px; }
    .people { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 480px) {
    .people { grid-template-columns: 1fr; }
}

/* ---- Ajustes v2.1 ---- */
/* Navegação legível sobre o topo escuro; volta à tinta quando o cabeçalho fica branco */
.header:not(.scrolled) .nav-link { color: rgba(255,255,255,0.9); }
.header:not(.scrolled) .nav-link:hover,
.header:not(.scrolled) .nav-item.active .nav-link { color: #6CC0EE; }
.header.scrolled .nav-link { color: var(--ink); }
.header.scrolled .nav-link:hover,
.header.scrolled .nav-item.active .nav-link { color: var(--primary); }
.nav-hover { background: var(--primary); }
.dropdown-menu { border-radius: var(--radius); }
.dropdown-menu .dropdown-link { color: var(--ink); }
@media (max-width: 768px) {
    .header:not(.scrolled) .nav-link,
    .header .nav-link { color: var(--ink); }
}

/* Faixa institucional em grade */
.trustbar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Grades sem órfãos */
.solutions-section { background: var(--light); }
.solutions-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .solutions-grid { grid-template-columns: 1fr; } }

/* Etapas: fio acima do texto */
.step { border-top: 2px solid var(--border); padding-top: 18px; }
.step:last-child { border-top-color: var(--primary); }
.step::after { display: none; }
.step::before { margin-bottom: 12px; }

/* Selo da ICT */
.ict-visual-center .ict-label { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 1.125rem; letter-spacing: 0.2em; }
.ict-visual-center .ict-label img { width: 120px !important; }

@media (max-width: 1024px) { .trustbar .container { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .trustbar .container { grid-template-columns: 1fr; } }

/* ---- Ajustes mobile ---- */
.header:not(.scrolled) .mobile-toggle span { background: #fff; }
@media (max-width: 768px) {
    .hero-visual { display: none; }
    .header .logo-img { height: 56px !important; }
    .header-actions .btn-sm { display: none; }
}
@media (max-width: 480px) {
    .newsletter-form .btn-icon { width: 44px; flex-shrink: 0; }
    .newsletter-form .form-input { min-width: 0; flex: 1; }
}
.header .mobile-toggle.active span { background: var(--ink); }

/* ============================================
   GUIA DE CONTEÚDO (incentivos-pd.php)
   ============================================ */
.breadcrumb { font-size: 0.8125rem; color: rgba(255,255,255,0.65); margin-bottom: 28px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.8); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { color: #fff; }
.page-header .updated { margin-top: 20px; font-size: 0.875rem; color: #6CC0EE; }

.guide-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; align-items: start; }
.toc { position: sticky; top: 110px; border-top: 4px solid var(--primary); background: var(--light); padding: 22px 22px 24px; }
.toc-title { font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-blue); margin-bottom: 12px; font-weight: 500; }
.toc ol { list-style: none; counter-reset: toc; display: grid; gap: 2px; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 26px 1fr; padding: 7px 0; font-size: 0.9rem; color: var(--ink); line-height: 1.35; border-bottom: 1px solid var(--border); }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-display); color: var(--primary); font-size: 0.75rem; padding-top: 2px; }
.toc a:hover { color: var(--primary); }

.guide { min-width: 0; }
.guide-block { padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--border); scroll-margin-top: 110px; }
.guide-block:last-child { border-bottom: 0; margin-bottom: 0; }
.guide h2 { font-size: clamp(1.5rem, 2.6vw, 2.125rem); margin: 8px 0 18px; line-height: 1.2; }
.guide > .guide-block > h3 { font-size: 1.1875rem; margin: 32px 0 12px; }
.guide p { font-size: 1rem; line-height: 1.75; }
.guide p strong, .guide li strong { color: var(--ink); }
.guide .checklist { margin: 8px 0 16px; }
.guide-grid { gap: 20px !important; margin: 20px 0; }
.guide .tile h3 { font-size: 1.0625rem; margin-top: 0; }
.guide .tile p { font-size: 0.9375rem; line-height: 1.65; }
.guide a:not(.btn) { color: var(--text-blue); }
.data-table small { color: var(--text-muted); font-weight: 400; font-size: 0.75rem; }
.data-table td a { color: var(--text-blue); text-decoration: underline; text-underline-offset: 2px; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); margin-top: 28px; }
.stat { padding: 22px; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--navy); line-height: 1.1; }
.stat span { display: block; margin-top: 6px; font-size: 0.875rem; color: var(--text-light); line-height: 1.45; }
.source { font-size: 0.8125rem !important; color: var(--text-muted) !important; margin-top: 10px; }

.example { background: var(--light); border-left: 6px solid var(--primary); padding: 24px 28px; margin: 28px 0; }
.example-title { font-family: var(--font-display); font-size: 0.75rem !important; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-blue) !important; margin-bottom: 8px; font-weight: 500; }

.numbered { counter-reset: n; display: grid; gap: 0; margin: 8px 0 28px; border-top: 1px solid var(--border); }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--border); color: var(--text-light); line-height: 1.65; }
.numbered li::before { content: counter(n, decimal-leading-zero); font-family: var(--font-display); font-weight: 600; color: var(--primary); font-size: 1.125rem; }

.cta-inline { margin-top: 32px; background: var(--dark); padding: 32px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; border-top: 4px solid var(--primary); }
.cta-inline h3 { color: #fff; font-size: 1.25rem; margin-bottom: 6px; }
.cta-inline p { color: rgba(255,255,255,0.78); margin: 0; font-size: 0.9375rem; }

.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 1.0625rem; margin: 0; line-height: 1.4; }
.faq summary::after { content: '+'; font-family: var(--font-display); font-size: 1.5rem; color: var(--primary); line-height: 1; flex-shrink: 0; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 20px; margin: 0; color: var(--text-light); }

.disclaimer p { font-size: 0.875rem !important; color: var(--text-muted); line-height: 1.65; }

@media (max-width: 1024px) {
    .guide-layout { grid-template-columns: 1fr; gap: 32px; }
    .toc { position: static; }
}
@media (max-width: 768px) {
    .stat-row { grid-template-columns: 1fr; }
    .stat + .stat { border-left: 0; border-top: 1px solid var(--border); }
    .guide-block { padding-bottom: 40px; margin-bottom: 40px; }
    .cta-inline { padding: 24px; }
}
.numbered li { display: block; position: relative; padding-left: 52px; }
.numbered li::before { position: absolute; left: 0; top: 15px; }
.toc .btn { display: flex; justify-content: center; color: #fff; border-bottom: 0; padding: 10px 16px; }
.toc .btn::before { content: none; }

/* Conteúdo sempre visível sem JavaScript ou se a biblioteca de animação falhar (SEO/robustez) */
html:not(.js) [data-aos], html.aos-failed [data-aos] { opacity: 1 !important; transform: none !important; }
.spoke-link { margin: -4px 0 16px; } .spoke-link a { font-family: var(--font-display); font-weight: 500; color: var(--primary) !important; text-decoration: underline; text-underline-offset: 3px; }

/* Kicker do H1 da home e links em tiles */
.hero-title .hero-badge { display: inline-flex; font-family: var(--font-primary); font-size: 0.875rem; font-weight: 500; line-height: 1.4; letter-spacing: 0.01em; margin-bottom: 24px; vertical-align: top; }
.hero-title .hero-badge + br { display: none; }
.hero-title .hero-badge { display: flex; width: fit-content; }
a.tile { display: block; color: inherit; transition: border-color .2s ease, transform .2s ease; }
a.tile:hover { border-color: var(--primary); transform: translateY(-2px); }
.tile .tile-link { display: inline-block; margin-top: 14px; font-family: var(--font-display); font-weight: 500; font-size: 0.875rem; color: var(--primary); }
.guide .tile a, .tile p a { color: var(--text-blue); text-decoration: underline; text-underline-offset: 2px; }
.summary-box { background: var(--light); border-top: 4px solid var(--primary); padding: 26px 28px; }
.summary-box .checklist { margin: 4px 0 0; }
.related .tile h3 { font-size: 1rem; }

/* ---- Navegação em telas médias ---- */
.nav-link { white-space: nowrap; }
@media (max-width: 1240px) {
    .nav-link { padding: 10px 10px; font-size: 0.875rem; }
    .header .logo-img { height: 64px !important; }
}
@media (max-width: 1100px) {
    .header-actions .btn-sm { display: none; }
    .nav-list > .nav-item:first-child { display: none; } /* "Início": o logotipo já leva à página inicial */
}
/* Menu lateral (mobile) também entre 769px e 960px */
@media (min-width: 769px) and (max-width: 960px) {
    .mobile-toggle { display: flex; }
    .main-nav {
        position: fixed; top: 0; right: -100%; width: 80%; max-width: 400px; height: 100vh;
        background: var(--white); flex-direction: column; padding: 100px 24px 24px;
        transition: var(--transition); z-index: 999; box-shadow: var(--shadow-xl); overflow-y: auto;
    }
    .main-nav.active { right: 0; }
    .nav-list { flex-direction: column; width: 100%; gap: 8px; align-items: stretch; }
    .nav-list > .nav-item:first-child { display: block; }
    .nav-link { width: 100%; padding: 14px 16px; font-size: 0.9375rem; }
    .header .nav-link, .header:not(.scrolled) .nav-link { color: var(--ink); }
    .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: var(--light); margin-top: 8px; display: none; }
    .nav-item.has-dropdown.active .dropdown-menu { display: block; }
}
@media (max-width: 768px) {
    .main-nav { overflow-y: auto; }
    .nav-list > .nav-item:first-child { display: block; }
}
