/* ===========================
   REVELAR RH — SITE PÚBLICO
   =========================== */

/* Reset e base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.pub-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
/* #207 — a seção de serviços usa mais da largura da tela (os 3 cards ficam mais largos e, por isso, menos altos) */
.pub-container-wide { max-width: 1400px; }

/* ---- NAVBAR ---- */
.pub-navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(104, 52, 76, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 2px solid #B88F6E;
    transition: box-shadow 0.3s;
}
.pub-navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.3); }
.pub-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.pub-brand { display: flex; align-items: center; text-decoration: none; }
/* A logo branca oficial (logo-revelar-white.png) já é o asset para fundo escuro — o filtro de
   inversão anterior transformava o PNG de fundo branco num quadrado branco sólido. */
.pub-logo { height: 44px; }
.pub-nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.pub-nav-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}
.pub-nav-links a:hover { color: #B88F6E; }
.pub-btn-login {
    background: #B88F6E !important;
    color: #fff !important;
    padding: 0.45rem 1.2rem !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    transition: background 0.2s !important;
}
.pub-btn-login:hover { background: #a07a5a !important; }
.pub-hamburger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ---- HERO ---- */
.pub-hero {
    position: relative;
    /* #205 — a altura é a do conteúdo (antes min-height: 100vh centralizava o texto e deixava ~150px vazios acima e abaixo) */
    background: linear-gradient(135deg, #68344c 0%, #7A1050 40%, #2d0420 100%);
    display: flex;
    align-items: center;
    padding-top: 70px;
    overflow: hidden;
}
.pub-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="40" fill="rgba(184,143,110,0.06)"/><circle cx="10" cy="80" r="30" fill="rgba(184,143,110,0.04)"/></svg>') no-repeat;
    background-size: cover;
}
.pub-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(184,143,110,0.12) 0%, transparent 60%);
}
.pub-hero-content {
    position: relative;
    z-index: 1;
    /* #205 — o conteúdo do hero ocupa a largura útil da página (a mesma do menu), não mais uma coluna de 720px que quebrava o
       título em muitas linhas estreitas. width:100% porque é item de flex (o max-width do .pub-container já limita em 1200px). */
    width: 100%;
    padding: 2.5rem 1.5rem 3rem;
}
/* #205 — o Blazor (FocusOnNavigate) põe o foco no <h1> ao abrir a página (tabindex="-1"): o navegador desenhava um retângulo em volta
   do título. É foco programático num texto que não é interativo, então não há o que sinalizar. */
h1[tabindex="-1"]:focus,
h1[tabindex="-1"]:focus-visible { outline: none; }
.pub-hero-tag {
    display: inline-block;
    background: rgba(184,143,110,0.2);
    color: #B88F6E;
    border: 1px solid rgba(184,143,110,0.4);
    border-radius: 100px;
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.pub-hero-title {
    font-family: 'Poppins', sans-serif;
    /* #205 — fonte um pouco menor (era até 3.5rem) para o título caber em poucas linhas largas; uma cor só, sem palavra destacada */
    font-size: clamp(1.75rem, 3.6vw, 2.75rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-bottom: 1.75rem;
    text-wrap: balance; /* linhas de tamanho parecido, sem palavra sozinha na última */
}
.pub-hero-sub {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}
.pub-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.pub-btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.pub-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.pub-btn-gold { background: #B88F6E; color: #fff; }
.pub-btn-gold:hover { background: #a07a5a; }
.pub-btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.pub-btn-outline:hover { border-color: #B88F6E; color: #B88F6E; }

/* ---- NÚMEROS ---- */
.pub-numeros {
    background: linear-gradient(90deg, #B88F6E, #a07a5a);
    padding: 3rem 1.5rem;
}
.pub-numeros-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}
.pub-numero-item { padding: 1rem; }
.pub-numero-valor {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}
.pub-numero-label {
    display: block;
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* ---- SECTIONS ---- */
.pub-section { padding: 5rem 0; }
.pub-section-gray { background: #F5F4F2; }
.pub-section-header { text-align: center; margin-bottom: 3.5rem; }
.pub-section-tag {
    display: inline-block;
    color: #B88F6E;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.pub-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #68344c;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.pub-section-sub { color: #707070; max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* ---- SOBRE ---- */
/* #208 — duas faixas: em cima foto + texto institucional (fundo rosado com curvas discretas nas laterais); embaixo Missão | Visão |
   Valores (fundo claro, divisórias verticais finas). Os dois blocos usam o mesmo container, então as bordas laterais se alinham. */
.pub-sobre { background: #faf8f8; }
.pub-sobre-topo {
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
    background: linear-gradient(180deg, #f2ecec 0%, #eee6e6 100%);
}
.pub-sobre-topo::before,
.pub-sobre-topo::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    width: 130px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
}
.pub-sobre-topo::before {
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 400' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23B88F6E' stroke-opacity='.4' stroke-width='1.2'%3E%3Cpath vector-effect='non-scaling-stroke' d='M0 60C70 140 100 260 10 380'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M0 95C58 165 84 272 0 392'/%3E%3C/g%3E%3C/svg%3E");
}
.pub-sobre-topo::after {
    right: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 400' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23B88F6E' stroke-opacity='.4' stroke-width='1.2'%3E%3Cpath vector-effect='non-scaling-stroke' d='M120 40C50 120 20 240 110 360'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M120 75C62 145 36 252 120 372'/%3E%3C/g%3E%3C/svg%3E");
}
.pub-sobre-topo > .pub-container { position: relative; z-index: 1; }

.pub-sobre-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 12fr);
    column-gap: 3.25rem;
    align-items: stretch;
}
/* a foto acompanha a altura do texto (a imagem é quadrada: o recorte `cover` só corta as laterais) */
.pub-foto-frame {
    position: relative;
    height: 100%;
    min-height: 320px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(104,52,76,0.18);
}
.pub-foto-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
    display: block;
}
.pub-foto-badge {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(38,20,30,0.82), rgba(38,20,30,0));
    padding: 3.5rem 1.5rem 1.25rem;
    color: #fff;
    display: flex;
    flex-direction: column;
}
.pub-foto-badge strong { font-family: 'Poppins',sans-serif; font-size: 1.1rem; font-weight: 600; }
.pub-foto-badge span { font-size: 0.82rem; color: rgba(255,255,255,0.88); margin-top: 0.15rem; }
.pub-foto-badge span::after { content: ""; display: block; width: 34px; height: 2px; margin-top: 0.6rem; background: #B88F6E; }

.pub-sobre-texto { display: flex; flex-direction: column; gap: 0.75rem; padding-right: 3rem; }
.pub-sobre-texto p { color: #4a4046; font-size: 0.88rem; line-height: 1.65; }
.pub-sobre-texto .pub-section-tag {
    align-self: flex-start;
    position: relative;
    margin-bottom: 0;
    padding-bottom: 0.6rem;
    color: #7d6a74;
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.2em;
}
.pub-sobre-texto .pub-section-tag::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 2px; background: #B88F6E; }
.pub-sobre-texto .pub-section-title { font-size: clamp(1.75rem, 3.3vw, 2.75rem); line-height: 1.12; letter-spacing: -0.01em; margin-bottom: 0.25rem; }
.pub-sobre-bio { font-style: italic; color: #7a6f75 !important; font-size: 0.84rem !important; }
.pub-sobre-quote {
    font-family: 'Poppins',sans-serif;
    font-style: italic;
    font-size: 0.84rem;
    line-height: 1.65;
    color: #68344c;
    background: linear-gradient(90deg, rgba(184,143,110,0.16), rgba(104,52,76,0.05));
    border: 1px solid rgba(184,143,110,0.25);
    border-left: 3px solid #B88F6E;
    border-radius: 8px;
    padding: 0.9rem 1.5rem;
    margin: 0.35rem 0 0;
}

/* faixa de baixo: Missão | Visão | Valores. Visão e Valores têm uma divisória fina à esquerda (border-left), sem elementos extras. */
.pub-sobre-base { padding: 2.5rem 0 3rem; }
.pub-sobre-base-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2.3fr);
    column-gap: 2rem;
    align-items: start;
}
/* margin-top: Missão e Visão começam na altura da 1ª linha de cards de Valores (o título "Valores" ocupa a faixa acima) */
.pub-mvv-card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 0.9rem; row-gap: 0.9rem; margin-top: 2.6rem; }
.pub-mvv-card + .pub-mvv-card { padding-left: 2rem; border-left: 1px solid rgba(104,52,76,0.14); }
.pub-mvv-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(104, 52, 76, 0.09);
    border-radius: 50%;
    color: #68344c;
    transition: background 0.2s ease, color 0.2s ease;
}
.pub-mvv-icon svg { width: 24px; height: 24px; }
.pub-mvv-card:hover .pub-mvv-icon { background: #68344c; color: #C9A882; }
.pub-mvv-card h4 { font-family: 'Poppins',sans-serif; color: #68344c; font-size: 1.15rem; font-weight: 600; margin: 0; }
.pub-mvv-card p { grid-column: 1 / -1; color: #6a6168; font-size: 0.84rem; line-height: 1.65; }

.pub-valores-wrap { align-self: stretch; padding-left: 2rem; border-left: 1px solid rgba(104,52,76,0.14); }
.pub-valores-title { display: flex; align-items: center; gap: 0.6rem; font-family: 'Poppins',sans-serif; color: #68344c; font-size: 1rem; font-weight: 600; margin-bottom: 1rem; }
.pub-valores-title::before { content: ""; width: 22px; height: 2px; background: #B88F6E; }
.pub-valores-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.pub-valor-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 0.9rem;
    row-gap: 0.15rem;
    background: #f3eded;
    border: 1px solid rgba(104,52,76,0.05);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    box-shadow: 0 1px 6px rgba(104,52,76,0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pub-valor-card:last-child { grid-column: 1 / -1; }
.pub-valor-card:hover { border-color: #B88F6E; box-shadow: 0 4px 16px rgba(104,52,76,0.1); }
.pub-valor-icon { grid-row: 1 / span 2; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; color: #68344c; }
.pub-valor-icon svg { width: 24px; height: 24px; }
.pub-valor-card h4 { font-family: 'Poppins',sans-serif; color: #68344c; font-size: 0.84rem; font-weight: 600; margin: 0; }
.pub-valor-card p { color: #6a6168; font-size: 0.78rem; line-height: 1.45; margin: 0; }

/* ---- SERVIÇOS ---- */
/* #207 — 3 colunas fixas (9 serviços = 3 linhas de 3, sem card sozinho na última linha); cada card ocupa uma coluna larga e fica menos
   alto: o ícone vai AO LADO do título (cabeçalho em linha, antes ficava em cima) e o padding é menor. 2 colunas em tablet e 1 no celular
   (bloco responsivo). Atenção: o card da NR-1 tem DOIS <p> — por isso o card é coluna (flex), não grade com áreas nomeadas. */
.pub-servicos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}
.pub-servico-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    border: 1px solid #eee;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
}
.pub-servico-head { display: flex; align-items: center; gap: 1rem; }
.pub-servico-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(104,52,76,0.12);
    border-color: #B88F6E;
}
/* Ícones dos serviços: SVG Material (não emoji — confiabilidade visual) dentro de container com
   tint da marca; no hover o container vira vinho sólido e o ícone bronze claro. */
.pub-servico-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(104, 52, 76, 0.08);
    border-radius: 12px;
    color: #68344c;
    flex: 0 0 auto;
    transition: background 0.2s ease, color 0.2s ease;
}
.pub-servico-icon svg { width: 24px; height: 24px; }
.pub-servico-card:hover .pub-servico-icon { background: #68344c; color: #C9A882; }
.pub-servico-card h3 {
    margin: 0;
    font-family: 'Poppins',sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    color: #68344c;
}
.pub-servico-card p { margin-top: 0.85rem; color: #555; font-size: 0.88rem; line-height: 1.6; }
.pub-servico-card p + p { margin-top: 0.6rem; }
/* o último parágrafo cresce: o "Saiba mais" fica na base do card, alinhado entre os cards da mesma linha */
.pub-servico-card p:last-of-type { flex: 1; }
.pub-servico-link {
    align-self: flex-start;
    display: inline-block;
    margin-top: 0.9rem;
    color: #B88F6E;
    font-family: 'Poppins',sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}
.pub-servico-link:hover { color: #68344c; }

/* ---- CLIENTES ---- */
/* #209 — a seção de serviços (fundo cinza) já termina com 5rem de respiro; somar outros 5rem no topo de "Nossos Clientes" deixava ~160px
   vazios acima do título. O topo desta seção fica curto (o respiro de baixo continua 5rem). */
.pub-section-clientes { padding-top: 1.5rem; }
/* #206 — UMA linha de logos que passa continuamente. A faixa tem a lista duplicada; ela anda metade da largura (uma lista inteira) e
   recomeça: sem emenda. A margem fica no item (não gap): com gap faltaria meio espaçamento na emenda e a faixa "pularia".
   Bordas esmaecidas; pausa com o mouse/foco; quem pede menos movimento recebe a mesma linha parada, rolável com o dedo/mouse. */
.pub-clientes-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.pub-clientes-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    list-style: none;
    margin: 0;
    padding: 0.75rem 0; /* folga para a sombra e o "levantar" do hover não serem cortados pelo overflow */
    animation: pub-clientes-scroll var(--pub-clientes-duration, 40s) linear infinite;
}
/* Pausa: com o mouse/foco (conforto) e pelo botão (o controle que vale para a WCAG 2.2.2 e funciona no celular) */
.pub-clientes-marquee:hover .pub-clientes-track,
.pub-clientes-marquee:focus-within .pub-clientes-track,
.pub-clientes-marquee.is-paused .pub-clientes-track { animation-play-state: paused; }
.pub-clientes-controls { display: flex; justify-content: center; margin-top: 1rem; }
.pub-clientes-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #68344c;
    border: 1px solid rgba(104,52,76,0.25);
    border-radius: 100px;
    padding: 0.35rem 1rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}
.pub-clientes-toggle:hover { color: #B88F6E; border-color: #B88F6E; }
.pub-clientes-toggle:focus-visible { outline: 2px solid #B88F6E; outline-offset: 2px; }
@keyframes pub-clientes-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.pub-cliente-item {
    flex: 0 0 auto;
    width: 180px;
    margin-right: 1.5rem;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s, transform 0.2s;
    min-height: 90px;
}
.pub-cliente-item:hover { box-shadow: 0 4px 16px rgba(104,52,76,0.1); transform: translateY(-2px); }
.pub-cliente-item img { max-height: 60px; max-width: 130px; object-fit: contain; filter: grayscale(30%); transition: filter 0.2s; }
.pub-cliente-item:hover img { filter: grayscale(0%); }
@media (prefers-reduced-motion: reduce) {
    .pub-clientes-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
    .pub-clientes-track { animation: none; }
    .pub-cliente-item[aria-hidden="true"] { display: none; } /* sem movimento não há laço: a cópia só serviria para duplicar */
    .pub-clientes-controls { display: none; } /* nada para pausar */
}

/* ---- CTA / CONTATO ---- */
.pub-cta {
    position: relative;
    background: linear-gradient(135deg, #68344c 0%, #7A1050 100%);
    padding: 5rem 0;
    overflow: hidden;
}
.pub-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(184,143,110,0.15) 0%, transparent 60%);
}
.pub-cta-overlay { position: absolute; inset: 0; }
.pub-cta-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.pub-cta-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
}
.pub-cta-contacts li { display: flex; }
.pub-cta-contacts a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}
.pub-cta-contacts a:hover { color: #C9A882; }
.pub-cta-contacts svg { width: 18px; height: 18px; flex-shrink: 0; color: #C9A882; }
.pub-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* ---- FOOTER ---- */
.pub-footer {
    background: #2d0420;
    padding: 4rem 0 0;
}
.pub-footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.pub-footer-col h4 {
    font-family: 'Poppins',sans-serif;
    color: #B88F6E;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.pub-footer-col ul { list-style: none; }
.pub-footer-col ul li { margin-bottom: 0.5rem; }
.pub-footer-col a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}
.pub-footer-col a:hover { color: #B88F6E; }
.pub-footer-bottom {
    padding: 1.5rem;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
}

/* ---- RESPONSIVO ---- */
@media (max-width: 900px) {
    .pub-sobre-grid { grid-template-columns: 1fr; row-gap: 2rem; }
    .pub-foto-frame { max-width: 440px; min-height: 0; aspect-ratio: 1 / 1; margin: 0 auto; }
    .pub-sobre-texto { padding-right: 0; }
    .pub-sobre-base-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
    .pub-mvv-card { margin-top: 0; }
    .pub-valores-wrap { grid-column: 1 / -1; padding-left: 0; border-left: 0; padding-top: 2rem; border-top: 1px solid rgba(104,52,76,0.14); }
    .pub-cta-inner { grid-template-columns: 1fr; }
    .pub-footer-inner { grid-template-columns: 1fr 1fr; }
    .pub-numeros-grid { grid-template-columns: repeat(2,1fr); }
    .pub-servicos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .pub-nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #68344c; flex-direction: column; padding: 1.5rem; gap: 1rem; }
    .pub-nav-links.open { display: flex; }
    .pub-hamburger { display: block; }
    .pub-footer-inner { grid-template-columns: 1fr; }
    .pub-numeros-grid { grid-template-columns: repeat(2,1fr); }
    .pub-hero-actions { flex-direction: column; }
    .pub-cliente-item { width: 150px; margin-right: 1rem; }
    .pub-servicos-grid { grid-template-columns: minmax(0, 1fr); }
    .pub-sobre-topo { padding: 2.5rem 0; }
    .pub-sobre-base-grid { grid-template-columns: minmax(0, 1fr); }
    .pub-mvv-card + .pub-mvv-card { padding-left: 0; border-left: 0; padding-top: 1.5rem; border-top: 1px solid rgba(104,52,76,0.14); }
    .pub-valores-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---- VAGAS PÚBLICAS ---- */
.pub-vagas-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.pub-vaga-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.75rem 2rem;
    box-shadow: 0 2px 12px rgba(104,52,76,0.08);
    border: 1px solid rgba(104,52,76,0.06);
    transition: box-shadow 0.2s;
}
.pub-vaga-card:hover { box-shadow: 0 4px 20px rgba(104,52,76,0.14); }
.pub-vaga-card--open { border-color: #B88F6E; box-shadow: 0 4px 20px rgba(184,143,110,0.2); }
.pub-vaga-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}
.pub-vaga-titulo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #68344c;
    margin: 0 0 0.35rem;
}
/* ---- FILTROS DO MURAL ---- */
.pub-filtros {
    background: #fff;
    border: 1px solid rgba(104,52,76,0.08);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 2px 12px rgba(104,52,76,0.06);
}
.pub-filtro-busca { width: 100%; margin-bottom: 1rem; }
.pub-filtro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.75rem 1rem;
}
.pub-filtro-campo { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.pub-filtro-campo > span {
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8A7A84;
}
.pub-filtro-campo select.pub-input { width: 100%; }
.pub-filtro-resumo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid #f0e6dc;
    font-size: 0.85rem;
    color: #707070;
}
.pub-filtro-limpar {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: #B88F6E;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}
.pub-filtro-limpar:hover { color: #68344c; }

/* Troca de pagina/filtro: esmaece a lista em vez de sumir com ela (evita o pulo de layout) */
.pub-vagas-grid--carregando { opacity: 0.5; transition: opacity 0.15s; pointer-events: none; }

/* ---- PAGINACAO ---- */
.pub-paginacao {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
}
.pub-pagina-btn {
    background: #fff;
    border: 1px solid #d9c9bb;
    border-radius: 8px;
    padding: 0.5rem 1.1rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #68344c;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.pub-pagina-btn:hover:not(:disabled) { background: #faf5f0; border-color: #B88F6E; }
.pub-pagina-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.pub-pagina-info { font-size: 0.85rem; color: #707070; }

/* Empresa contratante — sinal de que a vaga e do cliente, nao da Revelar */
.pub-vaga-empresa {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #B88F6E;
    margin-bottom: 0.5rem;
}
.pub-vaga-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: #888;
}
.pub-vaga-dept {
    background: rgba(104,52,76,0.07);
    color: #68344c;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 500;
}
.pub-vaga-desc {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}
.pub-vaga-btn { white-space: nowrap; }
.pub-vaga-vazio {
    text-align: center;
    padding: 3rem 0;
    color: #777;
    font-size: 1rem;
}
.pub-divider {
    border: none;
    border-top: 1px solid #f0e6dc;
    margin: 1.5rem 0;
}
.pub-formulario { margin-top: 0.5rem; }
.pub-form-titulo {
    font-family: 'Poppins', sans-serif;
    color: #68344c;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 1.25rem;
}
.pub-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
.pub-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}
.pub-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #68344c;
    letter-spacing: 0.02em;
}
.pub-input {
    border: 1.5px solid #e0d0c8;
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
    font-family: 'Roboto', sans-serif;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}
.pub-input:focus { border-color: #B88F6E; }
.pub-input--erro { border-color: #e53935 !important; }
.pub-textarea {
    border: 1.5px solid #e0d0c8;
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
    font-family: 'Roboto', sans-serif;
    color: #333;
    outline: none;
    resize: vertical;
    transition: border-color 0.2s;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}
.pub-textarea:focus { border-color: #B88F6E; }
.pub-erro-msg {
    color: #e53935;
    font-size: 0.76rem;
}
.pub-erro {
    background: #fce4e4;
    color: #c62828;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    margin-bottom: 1rem;
}
.pub-sucesso {
    text-align: center;
    padding: 2rem;
    color: #2e7d32;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}
.pub-sucesso p:first-child { font-size: 1.25rem; font-weight: 600; }
/* Questionário */
.pub-questionario { margin-top: 1.25rem; }
.pub-questionario-titulo {
    font-family: 'Poppins', sans-serif;
    color: #68344c;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0e6dc;
}
.pub-pergunta { margin-bottom: 1.25rem; }
.pub-obrigatorio { color: #e53935; }
.pub-opcoes { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.25rem; }
.pub-opcao-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #444;
    cursor: pointer;
}
.pub-rating { display: flex; gap: 0.4rem; margin-top: 0.25rem; }
.pub-star {
    font-size: 1.75rem;
    color: #ddd;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.15s;
    line-height: 1;
}
.pub-star--on { color: #B88F6E; }
.pub-star:hover { color: #B88F6E; }
@media (max-width: 640px) {
    .pub-form-grid { grid-template-columns: 1fr; }
    .pub-vaga-header { flex-direction: column; }
}

/* #217 — páginas de política de privacidade e termos de uso */
.pub-legal { padding: 7rem 0 4rem; }
.pub-legal-doc { max-width: 820px; margin: 0 auto; color: #3a3a3a; line-height: 1.7; }
.pub-legal-doc h1 { font-family: 'Poppins', sans-serif; color: #68344c; font-size: 2rem; margin: 0 0 .25rem; }
.pub-legal-doc h2 { font-family: 'Poppins', sans-serif; color: #68344c; font-size: 1.15rem; margin: 2rem 0 .5rem; }
.pub-legal-doc ul { padding-left: 1.25rem; margin: .5rem 0 1rem; }
.pub-legal-meta { color: #6b6b6b; font-size: .875rem; margin-bottom: 1.5rem; }
.pub-legal-pending { background: #fff7e0; border: 1px solid #e6c870; border-radius: 6px; padding: .75rem 1rem; margin-bottom: 1.5rem; font-size: .9rem; color: #5c4600; }
.pub-footer-legal a { color: rgba(255,255,255,0.8); margin-left: 1rem; }
.pub-footer-legal a:hover { color: #fff; text-decoration: underline; }
