/* ============================================================
   GUIA DO PILOTO — Design Profissional v4.0
   Moderno, limpo, confiável — totalmente responsivo
   ============================================================ */

:root {
    --primary: #0F172A;
    --primary-light: #1E293B;
    --primary-medium: #334155;
    --accent: #2563EB;
    --accent-light: #3B82F6;
    --accent-soft: #DBEAFE;
    --accent-bg: #EFF6FF;
    --gold: #D97706;
    --gold-light: #F59E0B;
    --gold-soft: #FEF3C7;
    --gold-border: #FDE68A;
    --green: #059669;
    --green-light: #10B981;
    --green-soft: #D1FAE5;
    --red: #DC2626;
    --red-soft: #FEE2E2;
    --red-border: #FECACA;
    --bg: #F8FAFC;
    --surface: #FFFFFF;
    --surface-alt: #F1F5F9;
    --border: #E2E8F0;
    --border-light: #F1F5F9;
    --text: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', 'Georgia', serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    font-size: 16px;
    min-height: 100vh;
    -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.3; color: var(--primary); }
a { color: var(--accent); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--accent-light); }
img { max-width: 100%; height: auto; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; width: 100%; }

/* ============================================================
   BARRA DE AVISO
   ============================================================ */
.aviso-topo {
    background: linear-gradient(135deg, var(--gold-soft) 0%, #FFF7ED 100%);
    border-bottom: 1px solid var(--gold-border);
    padding: 10px 0;
    width: 100%;
    z-index: 9999;
}
.aviso-topo .container { text-align: center; }
.aviso-topo p { color: #92400E; font-weight: 500; font-size: 0.8rem; line-height: 1.5; margin: 0; }
.aviso-topo p strong { font-weight: 700; color: #78350F; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    background: linear-gradient(160deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary-medium) 100%);
    color: #fff;
    padding: 3.5rem 0 2.5rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.site-header::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.site-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--gold-light), var(--accent));
}
.empresa-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.78rem; font-weight: 500;
    color: rgba(255,255,255,0.75);
    margin-bottom: 1.25rem;
}
.site-header h1 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.25rem); margin-bottom: 0.75rem; letter-spacing: -0.02em; }
.subtitulo {
    color: rgba(255,255,255,0.7);
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    max-width: 640px; margin: 0 auto;
    font-family: var(--font-sans);
    line-height: 1.65;
}
.header-titulo { text-align: center; }
.header-titulo h1 { color: #fff; font-size: clamp(1.5rem, 3.5vw, 2rem); margin-bottom: 0.5rem; }
.header-titulo p { color: rgba(255,255,255,0.75); font-size: clamp(0.85rem, 2vw, 0.95rem); max-width: 600px; margin: 0 auto; font-family: var(--font-sans); }
.header-titulo .badge-atualizado {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85); padding: 4px 14px; border-radius: 100px;
    font-size: 0.72rem; font-weight: 500; margin-top: 0.75rem; font-family: var(--font-sans);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.layout-principal {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    align-items: start;
    padding: 2.5rem 0 3rem;
}
main.artigo { min-width: 0; }

/* ============================================================
   SEÇÕES
   ============================================================ */
.secao { margin-bottom: 2.5rem; }
.secao h2 { font-size: 1.35rem; margin-bottom: 1rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--accent); display: inline-block; }
.secao h3 { font-size: 1.05rem; margin-bottom: 0.6rem; color: var(--primary); font-family: var(--font-sans); font-weight: 700; }
.secao p { margin-bottom: 1rem; color: var(--text-secondary); font-size: 0.92rem; line-height: 1.75; }

/* ============================================================
   CARDS
   ============================================================ */
.card-info {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s var(--ease);
    box-shadow: var(--shadow-xs);
}
.card-info:hover { box-shadow: var(--shadow); border-color: var(--accent-soft); transform: translateY(-1px); }
.card-info h4 { font-size: 0.92rem; margin-bottom: 0.5rem; color: var(--primary); font-family: var(--font-sans); font-weight: 700; }
.card-info p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }

.card-info.importante {
    border-left: 4px solid var(--red);
    background: linear-gradient(135deg, #FFF5F5 0%, var(--red-soft) 100%);
    border-color: var(--red-border); border-left-color: var(--red);
}
.card-info.importante h4 { color: var(--red); }

.card-info.alerta {
    border-left: 4px solid var(--gold);
    background: linear-gradient(135deg, #FFFBEB 0%, var(--gold-soft) 100%);
    border-color: var(--gold-border); border-left-color: var(--gold);
}
.card-info.alerta h4 { color: #B45309; }

/* ============================================================
   GRIDS
   ============================================================ */
.grid-duas-colunas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.card-info-grid { margin-bottom: 0; }
.card-info-grid ul { list-style: none; padding: 0; }
.card-info-grid ul li { padding: 0.4rem 0; font-size: 0.88rem; color: var(--text-secondary); display: flex; align-items: flex-start; gap: 10px; line-height: 1.55; }
.card-info-grid ul li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 8px; }

/* ============================================================
   ABAS
   ============================================================ */
.abas-nav {
    display: flex; gap: 4px;
    border-bottom: 2px solid var(--border);
    overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.abas-nav::-webkit-scrollbar { display: none; }
.aba-btn {
    padding: 0.75rem 1.25rem; border: none; background: transparent; cursor: pointer;
    font-family: var(--font-sans); font-weight: 600; font-size: 0.84rem;
    color: var(--text-muted); white-space: nowrap;
    transition: all 0.2s var(--ease); position: relative;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.aba-btn::after {
    content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px;
    background: var(--accent); transform: scaleX(0); transition: transform 0.25s var(--ease);
}
.aba-btn:hover { color: var(--primary); background: var(--surface-alt); }
.aba-btn.ativa { color: var(--accent); }
.aba-btn.ativa::after { transform: scaleX(1); }

.aba-conteudo { display: none; padding: 1.5rem 0; animation: fadeIn 0.35s var(--ease); }
.aba-conteudo.ativa { display: block; }
.aba-conteudo h2 { font-size: 1.35rem; margin-bottom: 1rem; padding-bottom: 0; border-bottom: none; display: block; }
.aba-conteudo p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.75; margin-bottom: 1rem; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   FAQ
   ============================================================ */
.faq-lista { display: flex; flex-direction: column; gap: 8px; }

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faq-item:hover { border-color: var(--accent-soft); box-shadow: var(--shadow-sm); }
.faq-item.aberto { border-color: var(--accent); box-shadow: var(--shadow); }

.faq-pergunta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.25rem;
    cursor: pointer;
    gap: 1rem;
    background: none;
    border: none;
    outline: none;
    text-align: left;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.5;
    transition: background 0.2s var(--ease);
}
.faq-pergunta:hover { background: var(--surface-alt); }
.faq-pergunta .seta { transition: transform 0.3s var(--ease); color: var(--text-muted); flex-shrink: 0; }
.faq-item.aberto .faq-pergunta .seta { transform: rotate(180deg); color: var(--accent); }

.faq-resposta { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-resposta-inner { padding: 0 1.25rem 1.25rem; font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }
.faq-item.aberto .faq-resposta { max-height: 500px; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 1rem; }
.sidebar-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.25rem 1.5rem; box-shadow: var(--shadow-xs); transition: all 0.3s var(--ease);
}
.sidebar-card:hover { box-shadow: var(--shadow-sm); }
.sidebar-card h3 { font-size: 0.9rem; color: var(--primary); margin-bottom: 0.75rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--border-light); font-family: var(--font-sans); font-weight: 700; }
.sidebar-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 0.6rem; }
.sidebar-card p:last-child { margin-bottom: 0; }
.sidebar-card ul { list-style: none; padding: 0; }
.sidebar-card ul li { padding: 0.45rem 0; border-bottom: 1px solid var(--border-light); font-size: 0.84rem; color: var(--text-secondary); line-height: 1.55; }
.sidebar-card ul li:last-child { border-bottom: none; }
.sidebar-card ul li a { color: var(--text-secondary); font-weight: 500; display: block; transition: all 0.2s var(--ease); }
.sidebar-card ul li a:hover { color: var(--accent); padding-left: 4px; }

/* ============================================================
   REQUISITOS GRID
   ============================================================ */
.requisitos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0; }
.requisitos-grid.grid-2col { grid-template-columns: repeat(2, 1fr); }
.requisito-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.25rem; transition: all 0.3s var(--ease); box-shadow: var(--shadow-xs); position: relative;
}
.requisito-card:hover { border-color: var(--accent-soft); box-shadow: var(--shadow); transform: translateY(-2px); }
.requisito-card .numero {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: #fff; font-weight: 700; font-size: 0.82rem; border-radius: 10px; margin-bottom: 0.75rem; font-family: var(--font-sans);
}
.requisito-card h4 { font-size: 0.9rem; color: var(--primary); margin-bottom: 0.5rem; font-family: var(--font-sans); font-weight: 700; }
.requisito-card p { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.65; }
.requisito-card .detalhe { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 0.35rem 0; font-size: 0.82rem; color: var(--text-secondary); border-bottom: 1px solid var(--border-light); }
.requisito-card .detalhe:last-child { border-bottom: none; }
.requisito-card .detalhe strong { font-weight: 600; color: var(--text); white-space: nowrap; flex-shrink: 0; }
.requisito-card .detalhe span { text-align: right; }

/* ============================================================
   PASSOS GRID
   ============================================================ */
.passos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0; }
.passo-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.25rem; transition: all 0.3s var(--ease); box-shadow: var(--shadow-xs);
}
.passo-card:hover { border-color: var(--green-soft); box-shadow: var(--shadow); transform: translateY(-2px); }
.passo-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
    color: #fff; font-weight: 700; font-size: 0.82rem; border-radius: 10px; margin-bottom: 0.75rem; font-family: var(--font-sans);
}
.passo-card h4 { font-size: 0.9rem; color: var(--primary); margin-bottom: 0.4rem; font-family: var(--font-sans); font-weight: 700; }
.passo-card p { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.65; }

/* ============================================================
   FASES LISTA (timeline)
   ============================================================ */
.fases-lista { display: flex; flex-direction: column; gap: 0; margin: 1.5rem 0; position: relative; }
.fases-lista::before { content: ''; position: absolute; left: 21px; top: 1.5rem; bottom: 1.5rem; width: 2px; background: linear-gradient(180deg, var(--accent), var(--green)); border-radius: 2px; }
.fase-item { display: flex; gap: 1.25rem; padding: 1.25rem 0; border-bottom: 1px solid var(--border-light); align-items: flex-start; position: relative; }
.fase-item:last-child { border-bottom: none; }
.fase-icone {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff; border-radius: var(--radius-sm); flex-shrink: 0;
    box-shadow: var(--shadow-sm); position: relative; z-index: 1;
}
.fase-item h4 { font-size: 0.92rem; color: var(--primary); margin-bottom: 0.35rem; font-family: var(--font-sans); font-weight: 700; }
.fase-item p { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.65; margin: 0; }

/* ============================================================
   LISTAS ESPECIAIS
   ============================================================ */
.lista-check, .lista-x { list-style: none; padding: 0; }
.lista-check li, .lista-x li { padding: 0.4rem 0; font-size: 0.88rem; color: var(--text-secondary); display: flex; align-items: flex-start; gap: 10px; line-height: 1.55; }
.lista-check li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; margin-top: 8px; }
.lista-x li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex-shrink: 0; margin-top: 8px; }

/* ============================================================
   BOTÕES
   ============================================================ */
.btn-gov {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent); color: #fff;
    padding: 0.7rem 1.5rem; border-radius: var(--radius-sm);
    font-family: var(--font-sans); font-weight: 600; font-size: 0.88rem;
    border: none; cursor: pointer; transition: all 0.2s var(--ease); text-decoration: none;
    box-shadow: var(--shadow-sm);
}
.btn-gov:hover { background: var(--accent-light); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--primary); color: rgba(255,255,255,0.6); padding: 3rem 0 2rem; margin-top: 3rem; }
.footer-content { display: flex; flex-direction: column; gap: 1.5rem; text-align: center; }
.footer-disclaimer { font-size: 0.84rem; color: rgba(255,255,255,0.5); max-width: 680px; margin: 0 auto; line-height: 1.7; }
.footer-disclaimer strong { color: rgba(255,255,255,0.8); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.footer-links a { color: rgba(255,255,255,0.45); font-size: 0.84rem; transition: color 0.2s var(--ease); font-weight: 500; }
.footer-links a:hover { color: var(--gold-light); }
.footer-marcas { font-size: 0.72rem; color: rgba(255,255,255,0.25); max-width: 640px; margin: 0 auto; line-height: 1.55; }
.footer-empresa { font-size: 0.84rem; color: rgba(255,255,255,0.45); font-weight: 600; }
.footer-contato { font-size: 0.84rem; color: rgba(255,255,255,0.4); }
.footer-contato a { color: var(--gold-light); transition: color 0.2s var(--ease); }
.footer-contato a:hover { color: var(--gold); }
.footer-copyright { font-size: 0.72rem; color: rgba(255,255,255,0.25); border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.25rem; margin-top: 0.5rem; }

/* ============================================================
   VOLTAR AO TOPO
   ============================================================ */
.voltar-topo {
    position: fixed; bottom: 24px; right: 24px;
    width: 44px; height: 44px;
    background: var(--accent); color: #fff;
    border: none; border-radius: 50%; cursor: pointer;
    display: none; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.25s var(--ease);
    z-index: 9990;
}
.voltar-topo:hover { background: var(--accent-light); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.25); }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; width: 100%;
    background: rgba(15,23,42,0.97); color: #fff;
    padding: 1.15rem 1.5rem;
    z-index: 9995; display: none;
    border-top: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.cookie-banner .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: nowrap; }
.cookie-banner p { font-size: 0.84rem; flex: 1; min-width: 0; line-height: 1.55; color: rgba(255,255,255,0.8); margin: 0; }
.cookie-banner a { color: var(--gold-light); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btns button {
    padding: 0.55rem 1.3rem; border-radius: var(--radius-sm); border: none; cursor: pointer;
    font-weight: 600; font-size: 0.82rem; font-family: var(--font-sans);
    transition: all 0.2s var(--ease); white-space: nowrap;
}
.btn-aceitar { background: var(--green); color: #fff; }
.btn-aceitar:hover { background: var(--green-light); }
.btn-recusar { background: transparent; color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.15) !important; }
.btn-recusar:hover { background: rgba(255,255,255,0.06); color: #fff; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb { padding: 0.75rem 0; font-size: 0.8rem; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 0.4rem; }

/* ============================================================
   PÁGINAS INTERNAS
   ============================================================ */
.pagina-interna, .pagina-institucional { max-width: 800px; margin: 0 auto; padding: 2.5rem 24px; word-wrap: break-word; overflow-wrap: break-word; }
.pagina-interna h1, .pagina-institucional h1 { font-size: clamp(1.4rem, 3vw, 1.75rem); margin-bottom: 1.5rem; }
.pagina-interna h2, .pagina-institucional h2 { font-size: clamp(1.05rem, 2.5vw, 1.2rem); margin: 2rem 0 0.75rem; }
.pagina-interna h3, .pagina-institucional h3 { font-size: clamp(0.95rem, 2vw, 1.05rem); margin: 1.5rem 0 0.5rem; font-family: var(--font-sans); font-weight: 700; }
.pagina-interna p, .pagina-institucional p { margin-bottom: 1rem; color: var(--text-secondary); font-size: 0.92rem; line-height: 1.75; }
.pagina-interna ul, .pagina-interna ol, .pagina-institucional ul, .pagina-institucional ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.pagina-interna ul li, .pagina-interna ol li, .pagina-institucional ul li, .pagina-institucional ol li { margin-bottom: 0.4rem; font-size: 0.92rem; color: var(--text-secondary); line-height: 1.65; }

.pagina-interna table, .pagina-institucional table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: 0.88rem; border: 1px solid var(--border); }
.pagina-interna table th, .pagina-interna table td, .pagina-institucional table th, .pagina-institucional table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.pagina-interna table th, .pagina-institucional table th { background: var(--surface-alt); font-weight: 600; color: var(--primary); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.4px; }

.pagina-institucional .destaque, .pagina-institucional .card-info {
    background: linear-gradient(135deg, #FFFBEB 0%, var(--gold-soft) 100%);
    border: 1px solid var(--gold-border); border-left: 4px solid var(--gold);
    border-radius: var(--radius); padding: 1.25rem; margin: 1.5rem 0;
}
.pagina-institucional .destaque h4, .pagina-institucional .card-info h4 { color: #B45309; font-size: 0.9rem; font-family: var(--font-sans); font-weight: 700; margin-bottom: 0.4rem; }
.pagina-institucional .destaque p, .pagina-institucional .card-info p { color: var(--text-secondary); font-size: 0.88rem; margin: 0; }

.dados-empresa-box { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.dados-empresa-box p { margin-bottom: 0.35rem; font-size: 0.88rem; color: var(--text); }
.dados-empresa-box p:last-child { margin-bottom: 0; }
.dados-empresa-box strong { color: var(--primary); font-weight: 600; }
.dados-empresa-box a { color: var(--accent); }

.contato-box { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.contato-box p { margin-bottom: 0.35rem; font-size: 0.88rem; color: var(--text); }
.contato-box p:last-child { margin-bottom: 0; }
.contato-box strong { color: var(--primary); font-weight: 600; }
.contato-box a { color: var(--accent); }

.pagina-interna .voltar-link, .pagina-institucional .voltar-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 1.5rem; margin-bottom: 1rem; color: var(--text-muted); font-size: 0.88rem; font-weight: 500; }
.pagina-interna .voltar-link:hover, .pagina-institucional .voltar-link:hover { color: var(--accent); }
.pagina-institucional .voltar-link a { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-size: 0.88rem; font-weight: 500; transition: color 0.2s var(--ease); }
.pagina-institucional .voltar-link a:hover { color: var(--primary); }

/* ============================================================
   FADE-IN
   ============================================================ */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.fade-in.visivel { opacity: 1; transform: translateY(0); }

/* ============================================================
   404
   ============================================================ */
.pagina-404 { text-align: center; padding: 5rem 1rem; }
.pagina-404 h1 { font-size: 5rem; color: var(--primary); margin-bottom: 0.5rem; }
.pagina-404 p { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 2rem; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1100px) {
    .layout-principal { grid-template-columns: 1fr 280px; gap: 2rem; }
}

@media (max-width: 960px) {
    .layout-principal { grid-template-columns: 1fr; }
    .sidebar { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .site-header { padding: 2.5rem 0 2rem; }
    .empresa-badge { font-size: 0.72rem; padding: 5px 12px; }
    .grid-duas-colunas { grid-template-columns: 1fr; }
    .requisitos-grid { grid-template-columns: repeat(2, 1fr); }
    .passos-grid { grid-template-columns: repeat(2, 1fr); }
    .aviso-topo p { font-size: 0.72rem; line-height: 1.4; }
    .aviso-topo { padding: 8px 0; }
    .cookie-banner { padding: 1rem 1rem 1.5rem; }
    .cookie-banner .container { flex-direction: column; text-align: center; gap: 1rem; }
    .cookie-banner p { font-size: 0.82rem; }
    .cookie-btns { width: 100%; justify-content: center; gap: 12px; }
    .cookie-btns button { padding: 0.65rem 1.5rem; font-size: 0.85rem; }
    .aba-btn { padding: 0.6rem 0.85rem; font-size: 0.76rem; }
    .sidebar { grid-template-columns: 1fr; }
    .secao h2 { font-size: 1.2rem; }
    .footer-links { flex-direction: column; gap: 8px; }
    .pagina-interna, .pagina-institucional { padding: 1.75rem 16px; }
    .fases-lista::before { display: none; }
}

@media (max-width: 600px) {
    .requisitos-grid, .requisitos-grid.grid-2col, .passos-grid { grid-template-columns: 1fr; }
    .pagina-interna h1, .pagina-institucional h1 { font-size: 1.3rem; }
    .pagina-interna h2, .pagina-institucional h2 { font-size: 1.05rem; }
}

@media (max-width: 480px) {
    body { font-size: 15px; }
    .site-header { padding: 2rem 0 1.5rem; }
    .site-header h1 { font-size: 1.3rem; }
    .card-info { padding: 1rem 1.15rem; }
    .voltar-topo { bottom: 18px; right: 18px; width: 40px; height: 40px; }
    .faq-pergunta { padding: 0.85rem 1rem; font-size: 0.85rem; }
    .pagina-interna, .pagina-institucional { padding: 1.25rem 14px; }
    .aba-btn { padding: 0.5rem 0.65rem; font-size: 0.72rem; }
    .requisito-card, .passo-card { padding: 1rem; }
}
