/* RecrutaFácil — design system (landing + painel) */
:root {
    --rf-primary: #0E4D64;
    --rf-primary-600: #0B3E51;
    --rf-primary-050: #E6F0F3;
    --rf-accent: #F2A541;
    --rf-accent-600: #E08E22;
    --rf-ink: #1F2933;
    --rf-muted: #5B6770;
    --rf-bg: #F7F9FA;
    --rf-line: #E2E8EC;
    --rf-success: #2E9E6A;
    --rf-radius: 16px;
    --rf-shadow: 0 10px 30px rgba(14, 77, 100, .10);
    --rf-shadow-lg: 0 18px 44px rgba(14, 77, 100, .18);
    --rf-ease: cubic-bezier(.22, .61, .36, 1);

    --bs-primary: var(--rf-primary);
    --bs-primary-rgb: 14, 77, 100;
    --bs-success: var(--rf-success);
    --bs-success-rgb: 46, 158, 106;
    --bs-body-font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --bs-body-color: var(--rf-ink);
    --bs-body-bg: var(--rf-bg);
    --bs-link-color: var(--rf-primary);
    --bs-link-color-rgb: 14, 77, 100;
    --bs-link-hover-color: var(--rf-primary-600);
    --bs-border-radius: 12px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--bs-body-font-family); color: var(--rf-ink); background: var(--rf-bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video, svg { max-width: 100%; height: auto; }
h1, h2, h3, .display-1, .display-2, .display-3, .display-4, .display-5 { font-weight: 800; letter-spacing: -.02em; color: var(--rf-ink); }
a { transition: color .2s var(--rf-ease); }
.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: 8px; }
.text-muted-rf { color: var(--rf-muted) !important; }
.text-accent { color: var(--rf-accent) !important; }
.bg-primary-rf { background: var(--rf-primary) !important; color: #fff; }
.bg-soft { background: var(--rf-primary-050); }

/* Botões */
.btn { font-weight: 600; border-radius: 999px; padding: .65rem 1.4rem; transition: transform .2s var(--rf-ease), box-shadow .2s var(--rf-ease), background-color .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { --bs-btn-bg: var(--rf-primary); --bs-btn-border-color: var(--rf-primary); --bs-btn-hover-bg: var(--rf-primary-600); --bs-btn-hover-border-color: var(--rf-primary-600); --bs-btn-active-bg: var(--rf-primary-600); --bs-btn-disabled-bg: var(--rf-primary); }
.btn-primary:hover { box-shadow: 0 10px 24px rgba(14, 77, 100, .28); }
.btn-accent { background: var(--rf-accent); border-color: var(--rf-accent); color: var(--rf-ink); }
.btn-accent:hover, .btn-accent:focus-visible { background: var(--rf-accent-600); border-color: var(--rf-accent-600); color: var(--rf-ink); box-shadow: 0 10px 24px rgba(242, 165, 65, .38); }
.btn-outline-primary { --bs-btn-color: var(--rf-primary); --bs-btn-border-color: var(--rf-primary); --bs-btn-hover-bg: var(--rf-primary); --bs-btn-hover-border-color: var(--rf-primary); }
.btn-lg { padding: .85rem 1.9rem; }

/* Cartões */
.card-rf { background: #fff; border: 1px solid var(--rf-line); border-radius: var(--rf-radius); box-shadow: var(--rf-shadow); transition: transform .3s var(--rf-ease), box-shadow .3s var(--rf-ease); }
.card-rf.hover-lift:hover { transform: translateY(-6px); box-shadow: var(--rf-shadow-lg); }
.icon-bubble { width: 56px; height: 56px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; background: var(--rf-primary-050); color: var(--rf-primary); }
.icon-bubble.accent { background: rgba(242, 165, 65, .18); color: var(--rf-accent-600); }

/* Formulários */
.form-control, .form-select { border-radius: 12px; border-color: var(--rf-line); padding: .7rem .95rem; transition: border-color .2s, box-shadow .2s; }
.form-control:focus, .form-select:focus { border-color: var(--rf-primary); box-shadow: 0 0 0 .25rem rgba(14, 77, 100, .15); }
.form-label { font-weight: 600; font-size: .92rem; }
.form-check-input:checked { background-color: var(--rf-primary); border-color: var(--rf-primary); }

/* Badges de status */
.badge-status { font-weight: 600; border-radius: 999px; padding: .4em .8em; font-size: .78rem; }
.badge-status.novo { background: var(--rf-primary-050); color: var(--rf-primary); }
.badge-status.em_estudo { background: rgba(242, 165, 65, .2); color: #8A5410; }
.badge-status.rejeitado { background: #FDE8E8; color: #A61B1B; }
.badge-status.arquivado { background: #ECEFF1; color: var(--rf-muted); }
.badge-status.favoritado { background: rgba(46, 158, 106, .15); color: #1E6E49; }
.badge-status.ativo { background: rgba(46, 158, 106, .15); color: #1E6E49; }
.badge-status.pendente { background: rgba(242, 165, 65, .2); color: #8A5410; }
.badge-status.suspenso { background: #FDE8E8; color: #A61B1B; }
.badge-status.bloqueado { background: #A61B1B; color: #fff; }

/* Reveal-on-scroll (assets/app.js) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--rf-ease), transform .7s var(--rf-ease); transition-delay: var(--reveal-delay, 0s); }
.reveal.reveal-left { transform: translateX(-32px); }
.reveal.reveal-right { transform: translateX(32px); }
.reveal.reveal-zoom { transform: scale(.94); }
.reveal.is-visible { opacity: 1; transform: none; }
[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal, .reveal.reveal-left, .reveal.reveal-right, .reveal.reveal-zoom { opacity: 1; transform: none; transition: none; }
    .btn:hover, .card-rf.hover-lift:hover { transform: none; }
    [data-parallax] { transform: none !important; }
}

/* Rodapé institucional */
.footer-tt { background: var(--rf-ink); color: rgba(255, 255, 255, .78); padding: 2.5rem 0 5.5rem; font-size: .9rem; }
.footer-tt__seal { color: var(--rf-accent); font-weight: 700; }
.footer-tt__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.25rem; }
.footer-tt a, .footer-tt__prefs { color: #fff; text-decoration: none; }
.footer-tt a:hover, .footer-tt a:focus-visible, .footer-tt__prefs:hover, .footer-tt__prefs:focus-visible { color: var(--rf-accent); text-decoration: underline; }
.footer-tt__prefs { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.legal-text h3 { font-size: 1rem; margin-top: 1.25rem; }
.legal-text p, .legal-text li { color: var(--rf-muted); }

/* Páginas legais /termos, /privacidade, /cookies (AD-013) */
.legal-page__wrap { max-width: 1040px; padding-top: 2rem; padding-bottom: 3rem; }
.legal-page__docs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.legal-page__docs a { padding: .35rem .9rem; border-radius: 999px; border: 1px solid var(--rf-line); background: #fff; color: var(--rf-ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.legal-page__docs a[aria-current="page"] { background: var(--rf-primary); border-color: var(--rf-primary); color: #fff; }
.legal-page__title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 1.5rem; }
.legal-page__grid { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; }
.legal-toc { position: sticky; top: 1rem; background: #fff; border: 1px solid var(--rf-line); border-radius: var(--rf-radius); padding: 1.1rem 1.25rem; }
.legal-toc__title { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--rf-muted); margin-bottom: .6rem; }
.legal-toc ol { margin: 0; padding-left: 1.1rem; display: grid; gap: .35rem; font-size: .92rem; }
.legal-page__content { background: #fff; border: 1px solid var(--rf-line); border-radius: var(--rf-radius); padding: 1.5rem clamp(1.1rem, 3vw, 2.25rem); line-height: 1.7; }
.legal-page__content h2 { font-size: 1.2rem; margin-top: 2rem; scroll-margin-top: 1rem; }
.legal-page__content h2:first-of-type { margin-top: 1rem; }
.legal-page__content p, .legal-page__content li { color: #3E4A53; }
.legal-table { font-size: .9rem; }
@media (max-width: 767.98px) { .legal-page__grid { grid-template-columns: 1fr; } .legal-toc { position: static; } }

/* Aviso de cookies visível: reserva espaço para não cobrir o rodapé (altura medida em JS). */
body.has-cookie-banner { padding-bottom: var(--cookie-banner-space, 9rem); }

/* Painel */
.painel-topbar { position: sticky; top: 0; z-index: 1020; display: flex; align-items: center; gap: 1rem; background: var(--rf-primary); padding: .8rem 1rem; }
.brand-icon { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; margin-right: .5rem; }
.painel-brand, .auth-brand { display: inline-flex; align-items: center; }
.painel-brand { font-weight: 800; font-size: 1.25rem; color: #fff; text-decoration: none; letter-spacing: -.02em; }
.painel-brand span { color: var(--rf-accent); }
.painel-brand:hover { color: #fff; }
.painel-shell { display: flex; min-height: 100vh; }
.painel-sidebar { background: var(--rf-primary); color: #fff; }
.painel-sidebar .offcanvas-body { display: flex; }
.painel-sidebar .nav-link { color: rgba(255, 255, 255, .8); border-radius: 12px; padding: .7rem 1rem; font-weight: 500; transition: background-color .2s var(--rf-ease), color .2s, padding-left .2s var(--rf-ease); }
.painel-sidebar .nav-link:hover { background: rgba(255, 255, 255, .08); color: #fff; padding-left: 1.25rem; }
.painel-sidebar .nav-link.active { background: rgba(242, 165, 65, .18); color: var(--rf-accent); font-weight: 700; }
.painel-content { flex: 1; min-width: 0; padding: 1.5rem 1rem 4rem; }
@media (min-width: 992px) {
    .painel-sidebar { width: 260px; flex-shrink: 0; position: sticky; top: 0; height: 100vh; }
    .painel-sidebar .offcanvas-body { padding: 0 1rem 1.5rem; height: calc(100vh - 72px); }
    .painel-content { padding: 2rem 2.5rem 4rem; }
}
/* ADMOP-IMP: faixa fixa do "entrar como" */
.impersonate-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 1090; height: 2.5rem; line-height: 2.5rem; padding: 0 1rem; background: #A61B1B; color: #fff; font-size: .9rem; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.impersonate-bar a { color: #fff; font-weight: 800; text-decoration: underline; }
body.is-impersonating { padding-top: 2.5rem; }
body.is-impersonating .painel-topbar { top: 2.5rem; }
@media (min-width: 992px) {
    body.is-impersonating .painel-sidebar { top: 2.5rem; height: calc(100vh - 2.5rem); }
}
.saldo-bar { height: 10px; border-radius: 999px; background: var(--rf-primary-050); overflow: hidden; }
.saldo-bar > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--rf-primary), var(--rf-success)); transition: width 1s var(--rf-ease); }
/* Candidatura ofuscada: blur aplicado sobre dados falsos (os reais não saem do servidor) */
.ofuscado { filter: blur(5px); user-select: none; pointer-events: none; }

/* Autenticação (cadastro, login, recuperação): layout dividido */
.auth-split { display: flex; min-height: 100vh; }
.auth-aside { position: relative; flex: 0 0 44%; max-width: 620px; flex-direction: column; padding: 2.5rem 3rem; color: #fff; overflow: hidden;
    background: radial-gradient(circle at 85% 12%, rgba(242, 165, 65, .28), transparent 42%), linear-gradient(160deg, var(--rf-primary) 0%, #0A3748 100%); }
.auth-aside::after { content: ''; position: absolute; inset: auto -80px -80px auto; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .05); }
.auth-aside__content { margin: auto 0; position: relative; z-index: 1; }
.auth-aside__title { color: #fff; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.2; }
.auth-aside__text { color: rgba(255, 255, 255, .8); font-size: 1.05rem; max-width: 30rem; }
.auth-illustration { margin: 2rem 0; }
.auth-illustration svg { filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .25)); }
.auth-benefits li { display: flex; align-items: center; gap: .75rem; margin-bottom: .7rem; color: rgba(255, 255, 255, .9); font-weight: 500; }
.auth-benefits i { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(242, 165, 65, .18); color: var(--rf-accent); }
.auth-brand { font-weight: 800; font-size: 1.4rem; color: #fff; text-decoration: none; letter-spacing: -.02em; position: relative; z-index: 1; }
.auth-brand span { color: var(--rf-accent); }
.auth-brand:hover { color: #fff; }
.auth-brand--dark { color: var(--rf-primary); display: inline-flex; }
.auth-brand--dark:hover { color: var(--rf-primary-600); }
.auth-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem 1rem 3rem; }
.auth-card { width: 100%; max-width: 640px; background: #fff; border: 1px solid var(--rf-line); border-radius: 22px; box-shadow: var(--rf-shadow); padding: 2rem 1.25rem; }
@media (min-width: 576px) { .auth-card { padding: 2.5rem 2.5rem; } }
.auth-card--narrow { max-width: 460px; }
.auth-step { border: 0; padding: 0; margin: 0 0 1.5rem; }
.auth-step__title { font-size: 1rem; font-weight: 700; color: var(--rf-primary); display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; float: none; width: auto; }
.auth-step__num { width: 28px; height: 28px; border-radius: 50%; background: var(--rf-primary-050); color: var(--rf-primary); display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 800; }
.auth-form .invalid-feedback { font-weight: 500; }
.auth-form .form-control.is-invalid, .auth-form .form-select.is-invalid { animation: rf-shake .35s var(--rf-ease); }
.btn-toggle-password { border-radius: 0 12px 12px 0 !important; border-color: var(--rf-line); padding-inline: 1rem; }
.btn-toggle-password:hover { transform: none; }
@keyframes rf-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .auth-form .form-control.is-invalid, .auth-form .form-select.is-invalid { animation: none; } }
.code-input { letter-spacing: .5em; font-size: 1.5rem; }

/* Painel — componentes (cabeçalho, cartões de indicador, ações rápidas, tabelas, estados vazios) */
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.page-head__eyebrow { margin: 0 0 .15rem; color: var(--rf-muted); font-weight: 600; font-size: .9rem; }
.page-head__title { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.stat-card { padding: 1.4rem 1.5rem; }
.stat-card__label { font-weight: 600; color: var(--rf-muted); font-size: .9rem; }
.stat-card__value { font-size: 2.6rem; font-weight: 800; color: var(--rf-primary); line-height: 1.1; }
.stat-card__value small { font-size: 1rem; color: var(--rf-muted); font-weight: 600; }
.quick-action { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; text-decoration: none; color: var(--rf-ink); height: 100%; }
.quick-action:hover { color: var(--rf-ink); }
.quick-action .icon-bubble { flex-shrink: 0; transition: transform .3s var(--rf-ease); }
.quick-action:hover .icon-bubble { transform: rotate(-8deg) scale(1.08); }
.copy-link { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; background: var(--rf-primary-050); border-radius: 12px; padding: .6rem .8rem; }
.copy-link__url { font-weight: 700; word-break: break-all; text-decoration: none; flex: 1; min-width: 0; }
.callout { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border-radius: var(--rf-radius); margin-bottom: 1.5rem; background: #fff; border: 1px solid var(--rf-line); border-left: 5px solid var(--rf-primary); box-shadow: var(--rf-shadow); }
.callout--accent { border-left-color: var(--rf-accent); background: linear-gradient(90deg, rgba(242, 165, 65, .10), #fff 60%); }
.callout--danger { border-left-color: #D64545; background: linear-gradient(90deg, rgba(214, 69, 69, .07), #fff 60%); }
.table-rf { --bs-table-bg: transparent; }
.table-rf thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--rf-muted); border-bottom-width: 1px; font-weight: 700; }
.table-rf tbody tr { transition: background-color .2s; }
.table-rf tbody tr:hover { background: var(--rf-primary-050); }
.empty-state { text-align: center; padding: 2.5rem 1rem; color: var(--rf-muted); }
.empty-state > i, .empty-state__art { font-size: 2.6rem; color: var(--rf-primary); opacity: .35; margin-bottom: .75rem; display: inline-block; animation: rf-float 4s ease-in-out infinite; }
.empty-state h2, .empty-state h3 { color: var(--rf-ink); }
@keyframes rf-float { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .empty-state > i, .empty-state__art { animation: none; } .quick-action:hover .icon-bubble { transform: none; } }
.auth-step__num i { font-size: .8rem; }

/* Vagas */
.chip { display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; font-weight: 600; padding: .3em .7em; border-radius: 999px; background: rgba(242, 165, 65, .16); color: #8A5410; }
.chip--muted { background: var(--rf-primary-050); color: var(--rf-primary); }
.vaga-card { padding: 1.25rem 1.35rem; display: flex; flex-direction: column; }
.vaga-card__count { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; text-decoration: none; background: var(--rf-primary-050); color: var(--rf-primary); border-radius: 999px; padding: .25rem .7rem; font-size: .85rem; transition: background-color .2s, color .2s; }
.vaga-card__count:hover { background: var(--rf-primary); color: #fff; }
.vaga-card__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.vaga-card__actions .btn-sm { padding: .35rem .8rem; }
.turno-picker { display: flex; flex-wrap: wrap; gap: .5rem; }
.publish-box { position: sticky; top: 1.5rem; }

/* Editor rico simples (descrição da vaga) — saída sanitizada no servidor */
.rich-editor { border: 1px solid var(--rf-line); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.rich-editor:focus-within { border-color: var(--rf-primary); box-shadow: 0 0 0 .25rem rgba(14, 77, 100, .15); }
.rich-editor.is-invalid { border-color: var(--bs-danger); }
.rich-editor__toolbar { display: flex; flex-wrap: wrap; gap: .15rem; padding: .35rem; border-bottom: 1px solid var(--rf-line); background: var(--rf-bg); border-radius: 12px 12px 0 0; }
.rich-editor__toolbar button { border: 0; background: transparent; width: 36px; height: 34px; border-radius: 8px; color: var(--rf-ink); transition: background-color .15s, color .15s; }
.rich-editor__toolbar button:hover, .rich-editor__toolbar button.is-active { background: var(--rf-primary-050); color: var(--rf-primary); }
.rich-editor__area { min-height: 180px; padding: .8rem 1rem; outline: none; }
.rich-editor__area:empty::before { content: attr(data-placeholder); color: #9AA5AD; }
.rich-editor__area ul, .rich-editor__area ol { padding-left: 1.4rem; }
.rich-text p:last-child { margin-bottom: 0; }

/* Páginas públicas do candidato (/{slug}) — mobile-first */
.pub-topbar { background: #fff; border-bottom: 1px solid var(--rf-line); padding: .6rem 0; }
.pub-topbar__brand { font-weight: 800; color: var(--rf-primary); text-decoration: none; letter-spacing: -.02em; }
.pub-topbar__brand span { color: var(--rf-accent); }
.pub-hero { position: relative; overflow: hidden; color: #fff; text-align: center; padding: 3rem 0 5.5rem;
    background: radial-gradient(circle at 15% 20%, rgba(242, 165, 65, .32), transparent 40%), linear-gradient(160deg, var(--rf-primary) 0%, #0A3748 100%); }
.pub-hero__blob { position: absolute; border-radius: 50%; pointer-events: none; }
.pub-hero__blob--1 { width: 280px; height: 280px; right: -80px; top: -60px; border: 46px solid rgba(255, 255, 255, .06); }
.pub-hero__blob--2 { width: 160px; height: 160px; left: -40px; bottom: -30px; background: rgba(242, 165, 65, .18); }
.pub-hero__avatar { width: 84px; height: 84px; margin: 0 auto 1rem; border-radius: 26px; background: #fff; color: var(--rf-primary); display: flex; align-items: center; justify-content: center; font-size: 2.2rem; box-shadow: 0 16px 36px rgba(0, 0, 0, .25); }
.pub-hero__tag { display: inline-flex; align-items: center; gap: .5rem; background: var(--rf-accent); color: var(--rf-ink); font-weight: 800; border-radius: 999px; padding: .35rem 1rem; font-size: .9rem; margin-bottom: .75rem; }
.pub-hero__title { color: #fff; font-size: clamp(1.8rem, 6vw, 2.8rem); margin-bottom: .35rem; }
.pub-hero__place { color: rgba(255, 255, 255, .82); margin: 0; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rf-ink); animation: rf-pulse 1.6s infinite; }
@keyframes rf-pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 41, 51, .55); } 70% { box-shadow: 0 0 0 9px rgba(31, 41, 51, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 41, 51, 0); } }
.pub-body { max-width: 720px; margin-top: -3.2rem; position: relative; padding-bottom: 3rem; }
.pub-section-title { font-size: 1.15rem; color: #fff; display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; text-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.pub-count { background: var(--rf-accent); color: var(--rf-ink); border-radius: 999px; font-size: .85rem; padding: .1rem .6rem; text-shadow: none; }
.pub-vaga { padding: 1.25rem; }
.pub-vaga__title { font-size: 1.2rem; margin-bottom: .2rem; }
.pub-vaga__details summary { cursor: pointer; color: var(--rf-primary); font-weight: 600; font-size: .92rem; list-style: none; }
.pub-vaga__details summary::-webkit-details-marker { display: none; }
.pub-vaga__details summary::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .75rem; margin-left: .4rem; display: inline-block; transition: transform .25s var(--rf-ease); }
.pub-vaga__details[open] summary::after { transform: rotate(180deg); }
.pub-vaga__details[open] .rich-text { animation: rf-fade-down .3s var(--rf-ease); }
@keyframes rf-fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.pub-espontanea { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; background: #fff; border: 2px dashed var(--rf-line); border-radius: var(--rf-radius); padding: 1.1rem 1.25rem; }
.pub-state { text-align: center; padding: 2.25rem 1.5rem; }
.pub-state .icon-bubble { width: 64px; height: 64px; font-size: 1.6rem; }
.pub-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 2rem; text-align: center; font-size: .85rem; font-weight: 600; color: var(--rf-muted); }
.pub-steps span { display: flex; width: 34px; height: 34px; margin: 0 auto .4rem; border-radius: 50%; align-items: center; justify-content: center; background: var(--rf-primary-050); color: var(--rf-primary); font-weight: 800; }
@media (prefers-reduced-motion: reduce) { .pulse-dot { animation: none; } }

/* Meu QR Code */
.qr-preview { text-align: center; padding: 1.75rem 1.25rem; }
.qr-preview__frame { display: inline-block; padding: 14px; border-radius: 22px; background: #fff; border: 4px solid var(--rf-accent); box-shadow: var(--rf-shadow-lg); transition: transform .4s var(--rf-ease); }
.qr-preview__frame:hover { transform: scale(1.03) rotate(-1deg); }
.qr-preview__url { font-weight: 700; color: var(--rf-primary); margin: 1rem 0; word-break: break-all; }
.art-card { padding: 1.1rem; display: flex; flex-direction: column; }
.art-card__thumb { position: relative; margin: 0 auto; background: #fff; border: 1px solid var(--rf-line); border-radius: 6px; overflow: hidden; box-shadow: 0 8px 18px rgba(14, 77, 100, .12); transition: transform .35s var(--rf-ease); }
.art-card:hover .art-card__thumb { transform: translateY(-4px) rotate(-1.5deg); }
.art-card__thumb--a4 { width: 105px; height: 148px; }
.art-card__thumb--a5 { width: 84px; height: 118px; }
.art-card__band { position: absolute; inset: 0 0 auto 0; height: 30%; background: var(--rf-primary); color: #fff; font-size: .55rem; font-weight: 800; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6px; }
.art-card__band b { color: var(--rf-accent); margin-left: 2px; }
.art-card__qr { position: absolute; left: 50%; top: 40%; transform: translateX(-50%); color: var(--rf-primary); font-size: 2.2rem; border: 2px solid var(--rf-accent); border-radius: 6px; padding: 2px 5px; line-height: 1; }
.art-card__foot { position: absolute; inset: auto 0 0 0; height: 8%; background: var(--rf-primary); }
@media (prefers-reduced-motion: reduce) { .qr-preview__frame:hover, .art-card:hover .art-card__thumb { transform: none; } }

/* Candidatura (formulário público) */
.pub-hero--compact { padding: 2.25rem 0 4.5rem; }
.pub-hero--compact .pub-hero__title { font-size: clamp(1.5rem, 5.5vw, 2.3rem); }
.pub-body--flat { margin-top: 2rem; }
.chip--light { background: rgba(255, 255, 255, .16); color: #fff; }
.cand-form .auth-step { margin-bottom: 1.25rem; }
.cand-progress { position: sticky; top: 0; z-index: 5; height: 4px; margin: -1rem -1rem 1rem; background: var(--rf-primary-050); border-radius: 4px; overflow: hidden; }
@media (min-width: 576px) { .cand-progress { margin: -1.5rem -1.5rem 1.25rem; } }
.cand-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--rf-accent), var(--rf-success)); transition: width .4s var(--rf-ease); }
.dropzone { position: relative; display: flex; align-items: center; gap: .75rem; padding: 1rem 1.1rem; border: 2px dashed var(--rf-line); border-radius: 14px; background: var(--rf-bg); cursor: pointer; transition: border-color .2s, background-color .2s; }
.dropzone:hover, .dropzone:focus-within { border-color: var(--rf-primary); background: var(--rf-primary-050); }
.dropzone.is-invalid { border-color: var(--bs-danger); }
.dropzone.has-file { border-style: solid; border-color: var(--rf-success); background: rgba(46, 158, 106, .08); }
.dropzone > i { font-size: 1.6rem; color: var(--rf-primary); }
.dropzone__text { font-weight: 600; color: var(--rf-ink); word-break: break-all; }
.dropzone__input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.lgpd-box { background: var(--rf-primary-050); border-radius: 12px; padding: .9rem 1rem; }
.lgpd-box .form-check-label { font-size: .88rem; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.cand-submit { position: sticky; bottom: .75rem; box-shadow: 0 12px 26px rgba(242, 165, 65, .4); }
.cand-submit:disabled { opacity: .75; }
.perfis-box { margin-bottom: 1.25rem; padding: .9rem 1rem; border: 1px solid var(--rf-line); border-left: 4px solid var(--rf-accent); border-radius: 12px; background: rgba(242, 165, 65, .07); animation: rf-fade-down .3s var(--rf-ease); }
.perfis-box__title { margin: 0 0 .15rem; font-weight: 800; color: var(--rf-ink); }
.perfis-box__list { display: grid; gap: .4rem; }
.perfis-box__item { display: flex; align-items: center; gap: .4rem; }
.perfis-box__usar { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; text-align: left; padding: .55rem .8rem; border: 1px solid var(--rf-line); border-radius: 10px; background: #fff; transition: border-color .2s, background-color .2s; }
.perfis-box__usar:hover, .perfis-box__usar:focus-visible { border-color: var(--rf-primary); background: var(--rf-primary-050); }
.perfis-box__usar strong { color: var(--rf-ink); overflow-wrap: anywhere; }
.perfis-box__usar span { font-size: .8rem; color: var(--rf-muted); }
.perfis-box__item.is-active .perfis-box__usar { border-color: var(--rf-success); background: rgba(46, 158, 106, .08); }
.send-overlay { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(31, 41, 51, .55); backdrop-filter: blur(2px); }
.send-overlay[hidden] { display: none; }
.send-overlay__box { width: min(100%, 360px); padding: 1.6rem 1.4rem; text-align: center; background: #fff; border-radius: var(--rf-radius); box-shadow: 0 20px 50px rgba(14, 77, 100, .25); animation: rf-fade-in .25s var(--rf-ease); }
.send-overlay__icon { display: flex; justify-content: center; margin-bottom: .9rem; font-size: 2rem; }
.send-overlay__spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--rf-primary-050); border-top-color: var(--rf-accent); animation: rf-spin .8s linear infinite; }
.send-overlay__bar { height: 8px; border-radius: 999px; background: var(--rf-primary-050); overflow: hidden; }
.send-overlay__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--rf-accent), var(--rf-success)); transition: width .2s linear; }
@keyframes rf-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .send-overlay__spinner { animation-duration: 2.4s; } }
.success-state { padding: 2.5rem 1.5rem; }
.success-check { width: 88px; height: 88px; margin: 0 auto 1.25rem; }
.success-check circle { stroke: var(--rf-success); stroke-width: 3; stroke-dasharray: 152; stroke-dashoffset: 152; animation: rf-draw .7s var(--rf-ease) forwards; }
.success-check path { stroke: var(--rf-success); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: rf-draw .4s .6s var(--rf-ease) forwards; }
@keyframes rf-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .success-check circle, .success-check path { animation: none; stroke-dashoffset: 0; } }
/* offcanvas-lg do Bootstrap zera o fundo em telas grandes: a sidebar mantém o azul-petróleo */
@media (min-width: 992px) { .painel-sidebar.offcanvas-lg { background-color: var(--rf-primary) !important; } }
@media (min-width: 992px) { .painel-sidebar.offcanvas-lg .offcanvas-header { display: flex !important; padding: 1.5rem 1.25rem 1rem; } }

/* Candidaturas (gestão) */
.filter-tabs { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 1rem; scrollbar-width: thin; }
.filter-tab { flex-shrink: 0; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--rf-line); color: var(--rf-ink); font-weight: 600; font-size: .9rem; text-decoration: none; transition: all .2s var(--rf-ease); }
.filter-tab span { background: var(--rf-primary-050); color: var(--rf-primary); border-radius: 999px; padding: 0 .5rem; font-size: .78rem; }
.filter-tab:hover { border-color: var(--rf-primary); color: var(--rf-primary); }
.filter-tab.active { background: var(--rf-primary); border-color: var(--rf-primary); color: #fff; box-shadow: 0 8px 18px rgba(14, 77, 100, .25); }
.filter-tab.active span { background: var(--rf-accent); color: var(--rf-ink); }
.status-pills, .status-buttons { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; }
.status-buttons { margin-bottom: 0; }
.status-pill { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid var(--rf-line); background: #fff; border-radius: 999px; padding: .3rem .8rem; font-size: .82rem; font-weight: 600; color: var(--rf-muted); text-decoration: none; transition: all .2s var(--rf-ease); }
.status-pill span { font-weight: 700; }
.status-pill:hover { color: var(--rf-ink); border-color: var(--rf-muted); }
.status-pill.active { color: #fff; background: var(--rf-ink); border-color: var(--rf-ink); }
.status-pill.novo.active { background: var(--rf-primary); border-color: var(--rf-primary); }
.status-pill.em_estudo.active { background: #C9791A; border-color: #C9791A; }
.status-pill.rejeitado.active { background: #A61B1B; border-color: #A61B1B; }
.status-pill.arquivado.active { background: var(--rf-muted); border-color: var(--rf-muted); }
.status-pill.favoritado.active { background: var(--rf-success); border-color: var(--rf-success); }
.cand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1rem; }
.cand-card { padding: 1.1rem 1.2rem; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.cand-card:hover { box-shadow: var(--rf-shadow-lg); }
.cand-card__head { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: .75rem; }
.cand-card__name { font-weight: 800; font-size: 1.05rem; color: var(--rf-ink); text-decoration: none; display: block; }
.cand-card__name:hover { color: var(--rf-primary); }
.min-w-0 { min-width: 0; }
.cand-avatar { flex-shrink: 0; width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--rf-primary), #1B6A85); }
.cand-avatar--lg { width: 60px; height: 60px; border-radius: 18px; font-size: 1.3rem; }
.cand-card__meta { font-size: .88rem; margin-bottom: .6rem; }
.cand-card__meta li { display: flex; align-items: center; gap: .5rem; margin-bottom: .25rem; word-break: break-all; }
.cand-card__meta i { width: 16px; color: var(--rf-muted); text-align: center; }
.cand-card__about { font-size: .88rem; color: var(--rf-muted); background: var(--rf-bg); border-radius: 10px; padding: .6rem .75rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cand-card__actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; padding-top: .5rem; border-top: 1px solid var(--rf-line); }
.cand-card__actions .btn-sm { padding: .35rem .75rem; }
.status-form { flex: 1 1 140px; }
.status-select { border-radius: 999px; font-weight: 600; font-size: .82rem; padding-top: .35rem; padding-bottom: .35rem; }
.wa-link { font-weight: 700; color: #128C4B; }
.cand-dl dt { color: var(--rf-muted); font-weight: 600; font-size: .88rem; }
.order-toggle .btn { border-radius: 999px !important; margin-left: .25rem; }
.cand-card--locked { border-style: dashed; }
.locked-preview { position: relative; margin-bottom: .5rem; }
.locked-preview__cta { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--rf-primary); text-decoration: none; background: rgba(255, 255, 255, .35); border-radius: 10px; transition: background-color .2s; }
.locked-preview__cta:hover { background: rgba(242, 165, 65, .25); color: var(--rf-ink); }
.status-pill:disabled { opacity: .55; cursor: not-allowed; }

/* Sugestão da pré-análise nas candidaturas (AVAL-05/07/08) */
.badge-sugestao { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .78rem; border-radius: 999px; padding: .35em .8em; border: 1px solid transparent; }
.badge-sugestao__prefix { font-weight: 600; opacity: .75; }
.badge-sugestao.rejeitar { background: #FDE8E8; color: #A61B1B; border-color: #F7C9C9; }
.badge-sugestao.passar { background: rgba(46, 158, 106, .14); color: #1E6E49; border-color: rgba(46, 158, 106, .3); }
.badge-sugestao.revisar { background: #ECEFF1; color: #4A5560; border-color: #DCE2E6; }
.badge-sugestao.analisando { background: #E3EEFB; color: #1C5FAF; border-color: #C8DCF5; }
.badge-sugestao--lg { font-size: .95rem; padding: .5em 1em; }
.cand-card .badge-sugestao { align-self: flex-start; margin: -.25rem 0 .6rem; }
.sugestao-pills { align-items: center; margin-top: -.75rem; }
.sugestao-pills__label { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--rf-muted); margin-right: .25rem; }
.sugestao-pills__rules { margin-left: auto; font-size: .82rem; font-weight: 600; text-decoration: none; }
.sug-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-pill.sug-rejeitar .sug-dot { background: #D64545; }
.status-pill.sug-passar .sug-dot { background: var(--rf-success); }
.status-pill.sug-revisar .sug-dot { background: #8A96A0; }
.status-pill.sug-analisando .sug-dot { background: #2F7BD6; }
.status-pill.sug-rejeitar.active { background: #A61B1B; border-color: #A61B1B; }
.status-pill.sug-passar.active { background: var(--rf-success); border-color: var(--rf-success); }
.status-pill.sug-revisar.active { background: #5B6770; border-color: #5B6770; }
.status-pill.sug-analisando.active { background: #1C5FAF; border-color: #1C5FAF; }
.status-pill[class*="sug-"].active .sug-dot { background: #fff; }
.pre-analise-box { padding: 1.1rem 1.25rem; border-top: 4px solid #8A96A0; }
@media (min-width: 768px) { .pre-analise-box { padding: 1.5rem; } }
.pre-analise-box--rejeitar { border-top-color: #D64545; }
.pre-analise-box--passar { border-top-color: var(--rf-success); }
.pre-analise-box--analisando { border-top-color: #2F7BD6; }
.pre-analise-box__confirm { margin: 1rem 0 .25rem; }
.btn-confirm-rejeitar { background: #A61B1B; color: #fff; }
.btn-confirm-rejeitar:hover, .btn-confirm-rejeitar:focus-visible { background: #8C1515; color: #fff; }
.btn-confirm-passar { background: var(--rf-success); color: #fff; }
.btn-confirm-passar:hover, .btn-confirm-passar:focus-visible { background: #25845A; color: #fff; }
.pre-analise-box__sub { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--rf-muted); margin: 1.25rem 0 .6rem; }
.rule-eval { display: grid; gap: .45rem; margin: 0; }
.rule-eval__item { display: grid; grid-template-columns: auto 1fr; gap: .15rem .6rem; align-items: center; padding: .55rem .7rem; border-radius: 12px; background: var(--rf-bg); border-left: 4px solid #CBD5DB; font-size: .88rem; }
.rule-eval__item .rule-action { grid-column: 2; justify-self: start; font-size: .74rem; }
.rule-eval__item.is-positiva { border-left-color: var(--rf-accent); background: rgba(242, 165, 65, .08); }
.rule-eval__item.is-negativa { border-left-color: #CBD5DB; }
.rule-eval__item.is-indeterminada { border-left-style: dashed; border-left-color: #8A96A0; }
.rule-eval__res { grid-row: span 2; font-weight: 800; font-size: .76rem; white-space: nowrap; }
.is-positiva .rule-eval__res { color: #8A5410; }
.is-negativa .rule-eval__res { color: var(--rf-muted); }
.is-indeterminada .rule-eval__res { color: #4A5560; }
.rule-eval__frase { font-weight: 600; }
.rule-eval__efeito { grid-column: 2; justify-self: start; font-size: .74rem; font-weight: 800; border-radius: 999px; padding: .15em .7em; background: #ECEFF1; color: var(--rf-muted); }
.is-positiva .rule-eval__efeito { background: #FDE8E8; color: #A61B1B; }
.rule-truth { display: grid; gap: .3rem; margin: 0; font-size: .84rem; }
.rule-truth__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .15rem .75rem; padding: .4rem .65rem; border-radius: 10px; background: var(--rf-bg); border-left: 4px solid #CBD5DB; }
.rule-truth__row.is-true { background: #FDF3F3; border-left-color: #D64545; }
.rule-truth__row.is-unknown { border-left-style: dashed; border-left-color: #8A96A0; }
.rule-truth__k { color: var(--rf-ink); }
.rule-truth__v { font-weight: 800; color: var(--rf-muted); white-space: nowrap; }
.rule-truth__v i { margin-right: .35rem; }
.rule-truth__row.is-true .rule-truth__v { color: #A61B1B; }
.rule-howto { padding: .65rem .8rem; border-radius: 10px; background: var(--rf-bg); font-size: .86rem; }
.rule-howto p { display: flex; gap: .5rem; align-items: baseline; }
.rule-howto__ok i { color: var(--rf-success); }
.rule-howto__bad i { color: #A61B1B; }
.pre-analise-box__facts { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: .75rem; }
.pre-analise-box__facts > div { background: var(--rf-primary-050); border-radius: 12px; padding: .55rem .7rem; }
.pre-analise-box__facts dt { font-size: .74rem; font-weight: 600; color: var(--rf-muted); }
.pre-analise-box__facts dd { margin: 0; font-weight: 800; color: var(--rf-primary); }
.job-list { display: grid; gap: .4rem; }
.job-list__item { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .5rem; padding: .5rem .7rem; border: 1px solid var(--rf-line); border-radius: 12px; font-size: .86rem; }
.job-list__item.is-setor { border-color: rgba(242, 165, 65, .55); }
.job-list__cargo { color: var(--rf-muted); }
.job-list__periodo { font-size: .8rem; color: var(--rf-muted); margin-left: auto; }
.pre-analise-box__note { font-size: .78rem; color: var(--rf-muted); margin: 1rem 0 0; padding-top: .75rem; border-top: 1px solid var(--rf-line); }

/* ═════════ Pré-análise: regras "Rejeitar se: …" (triagem-ia) ═════════ */
.rule-kw { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; color: var(--rf-primary); background: var(--rf-primary-050); border-radius: 6px; padding: .15em .5em; vertical-align: .12em; }
.rule-sentence { margin: 0; font-size: 1.02rem; line-height: 1.9; }
.rule-sentence--lg { font-size: 1.12rem; }
.rule-cond { font-weight: 700; color: var(--rf-ink); }
.rule-scope { color: var(--rf-muted); font-size: .92rem; }
.rule-action { display: inline-flex; align-items: center; gap: .35rem; font-weight: 800; font-size: .85rem; border-radius: 999px; padding: .2em .8em; vertical-align: .05em; transition: background-color .25s var(--rf-ease), color .25s; }
.rule-action--rejeitar { background: #FDE8E8; color: #A61B1B; }
.rule-action--passar { background: rgba(46, 158, 106, .15); color: #1E6E49; }
.rule-explainer { padding: 1.1rem 1.25rem; margin-bottom: 1.5rem; }
.rule-explainer__steps { display: grid; gap: 1rem; }
@media (min-width: 768px) { .rule-explainer__steps { grid-template-columns: repeat(3, 1fr); } }
.rule-explainer__steps li { display: flex; gap: .75rem; align-items: flex-start; }
.rule-explainer__steps strong { display: block; font-size: .95rem; }
.rule-explainer__steps span:not([class]) { display: block; font-size: .84rem; color: var(--rf-muted); }
.rule-explainer__icon { flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.rule-explainer__icon.is-reject { background: #FDE8E8; color: #A61B1B; }
.rule-explainer__icon.is-review { background: #ECEFF1; color: var(--rf-muted); }
.rule-explainer__icon.is-human { background: rgba(242, 165, 65, .2); color: #8A5410; }
.rule-list { display: grid; gap: .75rem; margin-bottom: 1.5rem; }
.rule-card { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; padding: 1rem 1.1rem; align-items: center; }
.rule-card:hover { box-shadow: var(--rf-shadow-lg); }
.rule-card.is-off { background: #FBFCFC; border-style: dashed; }
.rule-card.is-off .rule-sentence { opacity: .55; }
.rule-card__order { display: flex; flex-direction: column; align-items: center; gap: .25rem; align-self: start; }
.rule-card__num { width: 34px; height: 34px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--rf-primary), #177A96); }
.rule-card__move { display: flex; gap: .15rem; }
.btn-icon { width: 30px; height: 26px; border: 1px solid var(--rf-line); background: #fff; border-radius: 8px; color: var(--rf-muted); font-size: .72rem; display: inline-flex; align-items: center; justify-content: center; transition: color .2s, border-color .2s, transform .2s var(--rf-ease); }
.btn-icon:hover:not(:disabled) { color: var(--rf-primary); border-color: var(--rf-primary); transform: translateY(-1px); }
.btn-icon:disabled { opacity: .35; cursor: not-allowed; }
.rule-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: .35rem 0 0; }
.rule-state { font-size: .76rem; font-weight: 700; color: var(--rf-muted); }
.rule-state.is-on { color: var(--rf-success); }
.rule-state::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: .35rem; }
.rule-card__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding-top: .6rem; border-top: 1px solid var(--rf-line); }
.rule-card__actions form { display: inline-flex; }
@media (min-width: 992px) {
    .rule-card { grid-template-columns: auto 1fr auto; }
    .rule-card__actions { grid-column: auto; padding-top: 0; border-top: 0; }
}
.rule-switch { position: relative; width: 46px; height: 26px; border-radius: 999px; border: 0; background: #CBD5DB; transition: background-color .25s var(--rf-ease); }
.rule-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .25s var(--rf-ease); }
.rule-switch.is-on { background: var(--rf-success); }
.rule-switch.is-on::after { transform: translateX(20px); }
.rule-switch:focus-visible { outline: 3px solid var(--rf-accent); outline-offset: 2px; }
.rule-suggestions { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.rule-suggestion { padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .5rem; }
.callout--legal { border-left-color: var(--rf-primary); align-items: flex-start; flex-wrap: nowrap; margin-top: 1.5rem; }
.callout--legal .icon-bubble { flex-shrink: 0; width: 44px; height: 44px; font-size: 1.1rem; }
.rule-step { padding: 1.1rem 1.25rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .rule-step { padding: 1.4rem 1.6rem; } }
.rule-step__title { font-size: 1.05rem; margin-bottom: .9rem; }
.rule-params { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-top: 1rem; padding: 1rem; background: var(--rf-primary-050); border-radius: 12px; animation: rf-fade-in .3s var(--rf-ease); }
.rule-params[hidden] { display: none; }
.rule-choice { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; }
.rule-choice__opt { display: flex; flex-direction: column; gap: .2rem; padding: .9rem 1rem; border: 2px solid var(--rf-line); border-radius: 14px; cursor: pointer; background: #fff; transition: border-color .2s, background-color .2s, transform .2s var(--rf-ease); }
.rule-choice__opt i { font-size: 1.3rem; }
.rule-choice__opt small { color: var(--rf-muted); font-size: .8rem; }
.rule-choice__opt:hover { transform: translateY(-2px); }
.rule-choice__opt--rejeitar i { color: #A61B1B; }
.rule-choice__opt--passar i { color: #1E6E49; }
.btn-check:checked + .rule-choice__opt--rejeitar { border-color: #D64545; background: #FFF6F6; }
.btn-check:checked + .rule-choice__opt--passar { border-color: var(--rf-success); background: #F2FAF6; }
.btn-check:focus-visible + .rule-choice__opt { outline: 3px solid var(--rf-accent); outline-offset: 2px; }
@media (min-width: 992px) { .rule-preview-wrap { position: sticky; top: 1.5rem; } }
.rule-preview { padding: 1.25rem 1.4rem; border-top: 4px solid var(--rf-accent); }
.rule-preview.is-bump .rule-sentence { animation: rf-fade-in .35s var(--rf-ease); }
@keyframes rf-fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rule-params, .rule-preview.is-bump .rule-sentence { animation: none; } .rule-choice__opt:hover, .btn-icon:hover:not(:disabled) { transform: none; } }

/* ═════════ Landing page (/) ═════════ */
.landing { background: #fff; }
.landing :is(a, button):focus-visible { outline: 3px solid var(--rf-accent); outline-offset: 3px; border-radius: 8px; }
.pulse-dot--accent { background: var(--rf-accent); animation-name: rf-pulse-accent; }
@keyframes rf-pulse-accent { 0% { box-shadow: 0 0 0 0 rgba(242, 165, 65, .6); } 70% { box-shadow: 0 0 0 9px rgba(242, 165, 65, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 165, 65, 0); } }

/* Navbar: transparente sobre o hero → sólida ao rolar */
.lp-nav { position: fixed; inset: 0 0 auto 0; z-index: 1030; padding: 1rem 0; transition: background-color .35s var(--rf-ease), box-shadow .35s var(--rf-ease), padding .35s var(--rf-ease), backdrop-filter .35s; }
.lp-nav.is-solid { background: rgba(14, 77, 100, .94); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); box-shadow: 0 8px 28px rgba(8, 47, 62, .25); padding: .55rem 0; }
.lp-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.lp-nav__links { list-style: none; margin: 0; padding: 0; gap: .25rem; }
.lp-nav__links a { color: rgba(255, 255, 255, .86); text-decoration: none; font-weight: 600; font-size: .95rem; padding: .45rem .85rem; border-radius: 999px; position: relative; }
.lp-nav__links a::after { content: ''; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 2px; background: var(--rf-accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--rf-ease); }
.lp-nav__links a:hover { color: #fff; }
.lp-nav__links a:hover::after { transform: scaleX(1); }
.lp-nav__actions { display: flex; align-items: center; gap: .75rem; }
.lp-nav__login { color: #fff; font-weight: 700; text-decoration: none; padding: .45rem .9rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); transition: background-color .2s, border-color .2s; white-space: nowrap; }
.lp-nav__login:hover { color: #fff; background: rgba(255, 255, 255, .1); border-color: #fff; }
.lp-nav .btn { padding: .55rem 1.15rem; font-size: .92rem; }
.lp-brand { display: inline-flex; align-items: center; text-decoration: none; }
.lp-brand__logo { display: block; height: 40px; width: auto; }

/* CTA com brilho em gradiente */
.btn-shimmer { position: relative; overflow: hidden; isolation: isolate; }
.btn-shimmer::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: -1; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: rf-shimmer 3.6s ease-in-out infinite; }
@keyframes rf-shimmer { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.btn-ghost-light { color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn-ghost-light:hover, .btn-ghost-light:focus-visible { color: var(--rf-primary); background: #fff; border-color: #fff; }

/* Hero com vídeo em loop */
.lp-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; color: #fff; padding: 7.5rem 0 5rem; background: #082F3E url('/images/hero-poster.jpg') center / cover no-repeat; }
.lp-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.lp-hero__overlay { position: absolute; inset: 0; z-index: 1; background:
    radial-gradient(circle at 85% 15%, rgba(242, 165, 65, .28), transparent 45%),
    linear-gradient(100deg, rgba(8, 47, 62, .94) 0%, rgba(14, 77, 100, .82) 48%, rgba(14, 77, 100, .45) 100%),
    linear-gradient(0deg, rgba(8, 47, 62, .7), transparent 35%); }
.lp-hero__blob { position: absolute; z-index: 1; border-radius: 50%; pointer-events: none; }
.lp-hero__blob--1 { width: 420px; height: 420px; right: -140px; top: -120px; border: 60px solid rgba(255, 255, 255, .05); }
.lp-hero__blob--2 { width: 220px; height: 220px; left: -70px; bottom: 8%; background: rgba(242, 165, 65, .14); filter: blur(2px); }
.lp-hero__content { position: relative; z-index: 2; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: .55rem; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: .4rem 1rem; font-weight: 600; font-size: .92rem; backdrop-filter: blur(6px); margin-bottom: 1.4rem; }
.lp-rotator { display: inline-block; color: var(--rf-accent); font-weight: 800; min-width: 7.5em; transition: opacity .3s var(--rf-ease), transform .3s var(--rf-ease); }
.lp-rotator.is-out { opacity: 0; transform: translateY(-8px); }
.lp-hero__title { color: #fff; font-size: clamp(2.2rem, 5.4vw, 4.1rem); line-height: 1.06; letter-spacing: -.035em; margin-bottom: 1.25rem; }
.lp-hero__highlight { display: block; color: var(--rf-accent); text-shadow: 0 4px 24px rgba(242, 165, 65, .25); }
.lp-word { display: inline-block; margin-right: .06em; opacity: 0; transform: translateY(.6em) rotate(2deg); animation: rf-word-in .7s var(--rf-ease) forwards; animation-delay: calc(.15s + var(--i) * .07s); }
@keyframes rf-word-in { to { opacity: 1; transform: none; } }
.lp-anim { opacity: 0; transform: translateY(16px); animation: rf-word-in .8s var(--rf-ease) forwards; animation-delay: var(--d, 0s); }
.lp-hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .88); max-width: 38rem; margin-bottom: 2rem; }
.lp-hero__lead strong { color: #fff; }
.lp-hero__ctas { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 1.75rem; }
.lp-hero__trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .92rem; color: rgba(255, 255, 255, .82); }
.lp-hero__trust i { color: var(--rf-accent); margin-right: .4rem; }
.lp-hero__stack { position: relative; height: 420px; }
.lp-float-card { position: absolute; background: rgba(255, 255, 255, .96); color: var(--rf-ink); border-radius: 20px; box-shadow: 0 24px 50px rgba(0, 0, 0, .3); padding: 1rem 1.2rem; animation: rf-bob 6s ease-in-out infinite; }
.lp-float-card--qr { left: 12%; top: 0; width: 250px; text-align: center; padding: 0 0 1rem; overflow: hidden; border: 4px solid var(--rf-accent); }
.lp-float-card__tag { display: block; background: var(--rf-primary); color: #fff; font-weight: 800; padding: .7rem; margin-bottom: 1rem; letter-spacing: .02em; }
.lp-qr-art { font-size: 8.5rem; line-height: 1; color: var(--rf-primary); }
.lp-float-card--qr small { color: var(--rf-muted); font-weight: 600; font-size: .75rem; }
.lp-float-card--notif { right: 0; top: 55%; display: flex; align-items: center; gap: .8rem; animation-delay: -2s; }
.lp-float-card--notif strong, .lp-float-card--notif small { display: block; }
.lp-float-card--notif small { color: var(--rf-muted); }
.lp-float-card--wa { left: 0; bottom: 0; display: flex; align-items: center; gap: .6rem; font-weight: 700; background: #25D366; color: #fff; animation-delay: -4s; }
.lp-float-card--wa i { font-size: 1.4rem; }
@keyframes rf-bob { 50% { translate: 0 -10px; } }
.lp-scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 1.5rem; translate: -50% 0; width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 999px; }
.lp-scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: rf-scroll 1.8s ease-in-out infinite; }
@keyframes rf-scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* Faixa de números */
.lp-stats { position: relative; z-index: 3; margin-top: -3rem; }
.lp-stats__grid { list-style: none; margin: 0; padding: 1.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; background: #fff; border-radius: 22px; box-shadow: var(--rf-shadow-lg); border: 1px solid var(--rf-line); }
.lp-stats__grid li { text-align: center; }
.lp-stats__grid strong { display: block; font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; color: var(--rf-primary); letter-spacing: -.02em; line-height: 1.1; }
.lp-stats__grid span:not([data-countup]) { color: var(--rf-muted); font-size: .9rem; font-weight: 500; }
@media (min-width: 768px) { .lp-stats__grid { grid-template-columns: repeat(4, 1fr); padding: 2rem; } .lp-stats__grid li + li { border-left: 1px solid var(--rf-line); } }

/* Seções */
.lp-section { padding: 5.5rem 0; position: relative; overflow: hidden; }
.lp-section--soft { background: var(--rf-bg); }
.lp-section__head { text-align: center; max-width: 46rem; margin: 0 auto 3rem; }
.lp-section__head--left { text-align: left; margin-left: 0; margin-bottom: 2rem; }
.lp-section__head h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); line-height: 1.15; margin-bottom: .8rem; }
.lp-section__sub { color: var(--rf-muted); font-size: 1.1rem; margin: 0; }
.lp-kicker { display: inline-block; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--rf-accent-600); margin-bottom: .6rem; }
.lp-kicker--light { color: var(--rf-accent); }

/* Como funciona */
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; counter-reset: step; position: relative; }
@media (min-width: 992px) {
    .lp-steps { grid-template-columns: repeat(3, 1fr); }
    .lp-steps::before { content: ''; position: absolute; top: 3.1rem; left: 16%; right: 16%; border-top: 2px dashed rgba(14, 77, 100, .25); z-index: 0; }
}
.lp-step { position: relative; z-index: 1; padding: 2rem 1.6rem 1.6rem; text-align: center; }
.lp-step h3 { font-size: 1.2rem; margin: 1rem 0 .5rem; }
.lp-step p { color: var(--rf-muted); margin: 0; }
.lp-step__num { position: absolute; top: -14px; left: 50%; translate: -50% 0; width: 30px; height: 30px; border-radius: 50%; background: var(--rf-primary); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: .9rem; box-shadow: 0 0 0 5px #fff; }
.lp-step .icon-bubble { width: 64px; height: 64px; font-size: 1.6rem; border-radius: 20px; transition: transform .4s var(--rf-ease); }
.lp-step:hover .icon-bubble { transform: rotate(-8deg) scale(1.08); }

/* Benefícios */
.lp-benefits { display: grid; gap: 1rem; }
@media (min-width: 576px) { .lp-benefits { grid-template-columns: repeat(2, 1fr); } }
.lp-benefit { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--rf-line); border-radius: var(--rf-radius); padding: 1.1rem 1.2rem; transition: transform .3s var(--rf-ease), box-shadow .3s var(--rf-ease), border-color .3s; }
.lp-benefit:hover { transform: translateY(-4px); box-shadow: var(--rf-shadow); border-color: rgba(14, 77, 100, .25); }
.lp-benefit .icon-bubble { flex-shrink: 0; width: 48px; height: 48px; font-size: 1.2rem; border-radius: 14px; }
.lp-benefit h3 { font-size: 1.02rem; margin: 0 0 .25rem; }
.lp-benefit p { color: var(--rf-muted); font-size: .92rem; margin: 0; }
.lp-figure { position: relative; margin: 0; }
.lp-figure img { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: var(--rf-shadow-lg); }
.lp-figure--phone { max-width: 420px; margin: 0 auto; }
.lp-figure__badge { position: absolute; left: -1rem; bottom: 12%; background: #fff; border-radius: 999px; padding: .6rem 1.1rem; font-weight: 700; box-shadow: var(--rf-shadow-lg); color: var(--rf-ink); font-size: .92rem; }
.lp-figure__badge i { color: var(--rf-success); }
@media (max-width: 575.98px) { .lp-figure__badge { left: .5rem; } }

/* Mockup na loja (parallax em camadas) */
.lp-showcase { background: radial-gradient(circle at 10% 90%, rgba(242, 165, 65, .2), transparent 40%), linear-gradient(160deg, var(--rf-primary) 0%, #082F3E 100%); color: rgba(255, 255, 255, .88); }
.lp-showcase h2 { color: #fff; }
.lp-checks { list-style: none; padding: 0; margin: 0 0 2rem; }
.lp-checks li { display: flex; gap: .75rem; margin-bottom: .85rem; }
.lp-checks i { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--rf-accent); color: var(--rf-ink); font-size: .75rem; margin-top: .1rem; }
.lp-checks--dark li { color: var(--rf-ink); font-size: .95rem; margin-bottom: .6rem; }
.lp-checks--dark i { background: rgba(46, 158, 106, .15); color: var(--rf-success); width: 22px; height: 22px; font-size: .7rem; }
.lp-layers { position: relative; padding: 1.5rem; }
.lp-layers__base { display: block; width: 100%; height: auto; border-radius: 26px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); position: relative; z-index: 1; }
.lp-layers__chip { position: absolute; z-index: 2; background: #fff; color: var(--rf-ink); font-weight: 700; border-radius: 999px; padding: .55rem 1rem; box-shadow: 0 14px 30px rgba(0, 0, 0, .25); font-size: .9rem; white-space: nowrap; }
.lp-layers__chip i { color: var(--rf-accent-600); margin-right: .35rem; }
.lp-layers__chip--1 { top: 0; right: 0; }
.lp-layers__chip--2 { bottom: 0; left: 0; }
.lp-layers__ring { position: absolute; z-index: 0; width: 60%; aspect-ratio: 1; right: -10%; bottom: -12%; border-radius: 50%; border: 36px solid rgba(242, 165, 65, .16); }

/* Candidato */
.lp-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.lp-mini { background: var(--rf-bg); border-radius: var(--rf-radius); padding: 1.2rem; transition: background-color .3s, transform .3s var(--rf-ease); }
.lp-mini:hover { background: var(--rf-primary-050); transform: translateY(-3px); }
.lp-mini i { font-size: 1.4rem; color: var(--rf-primary); margin-bottom: .6rem; }
.lp-mini h3 { font-size: 1.02rem; margin-bottom: .2rem; }
.lp-mini p { color: var(--rf-muted); font-size: .9rem; margin: 0; }

/* Inclusão */
.lp-inclusion { overflow: hidden; }
.lp-inclusion__pic { display: block; height: 100%; }
.lp-inclusion__img { display: block; width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.lp-inclusion__body { padding: 2rem 1.5rem; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 992px) { .lp-inclusion__body { padding: 3rem; } }
.lp-inclusion__body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* Preço */
.lp-pricing { display: grid; gap: 1.5rem; max-width: 880px; margin: 0 auto; align-items: stretch; }
@media (min-width: 768px) { .lp-pricing { grid-template-columns: 1.1fr 1fr; } }
.lp-price { position: relative; padding: 2rem 1.75rem; display: flex; flex-direction: column; overflow: hidden; }
.lp-price h3 { font-size: 1.15rem; color: var(--rf-muted); margin-bottom: .4rem; }
.lp-price__value { font-size: clamp(2.6rem, 6vw, 3.4rem); font-weight: 800; color: var(--rf-primary); letter-spacing: -.03em; line-height: 1; margin-bottom: .4rem; }
.lp-price__note { color: var(--rf-muted); margin-bottom: 1.4rem; }
.lp-price .lp-checks { margin-bottom: 1.6rem; flex: 1; }
.lp-price--featured { border: 2px solid var(--rf-accent); box-shadow: 0 24px 50px rgba(242, 165, 65, .22); }
@media (min-width: 768px) { .lp-price--featured { transform: scale(1.03); } }
.lp-price__ribbon { position: absolute; top: 1.1rem; right: -2.4rem; rotate: 35deg; background: var(--rf-accent); color: var(--rf-ink); font-weight: 800; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; padding: .3rem 3rem; }
.lp-price__per-day { text-align: center; font-size: .85rem; color: var(--rf-muted); margin: .75rem 0 0; }

/* Depoimentos */
.lp-quotes { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .lp-quotes { grid-template-columns: repeat(3, 1fr); } }
.lp-quote { margin: 0; padding: 1.75rem 1.5rem 1.4rem; position: relative; display: flex; flex-direction: column; }
.lp-quote__mark { font-size: 1.8rem; color: var(--rf-accent); opacity: .7; margin-bottom: .6rem; }
.lp-quote blockquote { flex: 1; margin: 0 0 1.2rem; font-size: 1.02rem; }
.lp-quote figcaption { display: flex; align-items: center; gap: .75rem; font-weight: 700; color: var(--rf-primary); }
.lp-quote figcaption picture { flex: 0 0 56px; display: block; width: 56px; height: 56px; }
.lp-quote figcaption img { display: block; width: 56px; height: 56px; object-fit: cover; border-radius: 50%; border: 3px solid var(--rf-primary-050); }

/* FAQ */
.lp-faq { max-width: 820px; }
.lp-accordion .accordion-item { border: 1px solid var(--rf-line); border-radius: 14px !important; margin-bottom: .75rem; overflow: hidden; transition: box-shadow .3s var(--rf-ease); }
.lp-accordion .accordion-item:hover { box-shadow: var(--rf-shadow); }
.lp-accordion .accordion-button { font-weight: 700; font-size: 1.02rem; padding: 1.1rem 1.25rem; color: var(--rf-ink); }
.lp-accordion .accordion-button:not(.collapsed) { background: var(--rf-primary-050); color: var(--rf-primary); box-shadow: none; }
.lp-accordion .accordion-button:focus { box-shadow: 0 0 0 .25rem rgba(242, 165, 65, .35); }
.lp-accordion .accordion-body { color: var(--rf-muted); padding: 1rem 1.25rem 1.25rem; }

/* CTA final */
.lp-cta { position: relative; overflow: hidden; padding: 6rem 0; text-align: center; color: rgba(255, 255, 255, .88); background: var(--rf-primary); }
.lp-cta__bg { position: absolute; inset: -18% 0; background: linear-gradient(0deg, rgba(8, 47, 62, .88), rgba(14, 77, 100, .78)), url('/images/cta-balcao.jpg') center / cover no-repeat;
  background: linear-gradient(0deg, rgba(8, 47, 62, .88), rgba(14, 77, 100, .78)), image-set(url('/images/cta-balcao.webp') type('image/webp'), url('/images/cta-balcao.jpg') type('image/jpeg')) center / cover no-repeat; }
.lp-cta__inner { position: relative; max-width: 760px; }
.lp-cta h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 1rem; }
.lp-cta p { font-size: 1.1rem; margin-bottom: 2rem; }
.lp-cta .lp-cta__small { font-size: .9rem; margin: 1.25rem 0 0; opacity: .75; }

/* Rodapé da landing */
/* Colunas Produto · Legal · TecnoTip (AD-013). Texto #D5DDE3 sobre #17212A ≈ 12:1 (WCAG AA/AAA). */
.lp-footer { background: #17212A; color: #D5DDE3; padding: 3rem 0 1rem; }
.lp-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.lp-footer__tagline { margin: .9rem 0 0; max-width: 30ch; font-size: .92rem; }
.lp-footer__heading { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--rf-accent); margin: 0 0 .9rem; }
.lp-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.lp-footer__links a, .lp-footer__prefs { color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; }
.lp-footer__links a:hover, .lp-footer__links a:focus-visible, .lp-footer__prefs:hover, .lp-footer__prefs:focus-visible { color: var(--rf-accent); text-decoration: underline; }
.lp-footer__prefs { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; }
.lp-footer__tt { color: var(--rf-accent) !important; }
@media (max-width: 991.98px) { .lp-footer__grid { grid-template-columns: repeat(2, 1fr); } .lp-footer__about { grid-column: 1 / -1; } }
@media (max-width: 575.98px) { .lp-footer__grid { grid-template-columns: 1fr; } }
.lp-footer__counter { margin-top: 1.25rem; opacity: .8; }
.lp-footer__counter p { margin: 0; }

/* CTA fixo no celular */
.lp-mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1028; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); box-shadow: 0 -8px 24px rgba(14, 77, 100, .15); transform: translateY(110%); transition: transform .35s var(--rf-ease); }
.lp-mobile-cta.is-visible { transform: none; }
@media (max-width: 767.98px) {
    .landing .whatsapp-float { bottom: 5.25rem; }
    .landing .cookie-banner { bottom: 5rem; }
    .lp-section { padding: 4rem 0; }
    .lp-hero { padding: 6.5rem 0 5rem; }
    .lp-hero__ctas .btn { width: 100%; }
    .lp-nav__login { padding: .4rem .75rem; }
}
@media (max-width: 380px) { .lp-brand__logo { height: 34px; } }

@media (prefers-reduced-motion: reduce) {
    .lp-word, .lp-anim { opacity: 1; transform: none; animation: none; }
    .btn-shimmer::after, .lp-float-card, .lp-scroll-cue span, .pulse-dot--accent { animation: none; }
    .lp-benefit:hover, .lp-mini:hover, .lp-step:hover .icon-bubble { transform: none; }
    .lp-nav, .lp-mobile-cta { transition: none; }
}

/* Logotipo da empresa (perfil) */
.logo-drop { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem; border: 2px dashed var(--rf-line); border-radius: 14px; background: var(--rf-bg); cursor: pointer; transition: border-color .2s, background-color .2s; }
.logo-drop:hover, .logo-drop:focus-visible, .logo-drop.dz-drag-hover { border-color: var(--rf-primary); background: var(--rf-primary-050); outline: none; }
.logo-drop > i { font-size: 1.8rem; color: var(--rf-primary); }
.logo-crop { max-height: 360px; background: var(--rf-bg); border-radius: 12px; overflow: hidden; }
.logo-crop img { display: block; max-width: 100%; }
.logo-preview { display: flex; align-items: center; justify-content: center; min-height: 120px; padding: .75rem; border: 1px solid var(--rf-line); }
.logo-preview canvas { max-width: 100%; max-height: 180px; cursor: crosshair; }
.logo-checker { background: repeating-conic-gradient(#E2E8EC 0 25%, #FFFFFF 0 50%) 0 0 / 16px 16px; }
.logo-bg-claro { background: #FFFFFF; }
.logo-bg-escuro { background: #1F2933; }
.logo-swatch { display: inline-block; width: 1rem; height: 1rem; border-radius: 4px; border: 1px solid rgba(0, 0, 0, .15); vertical-align: -3px; margin-right: .25rem; }

/* Regra manual (pré-análise, AD-017) */
.rule-manual { padding: .9rem 1rem; border: 1px dashed var(--rf-accent); border-radius: 12px; background: rgba(242, 165, 65, .08); }
.rule-manual__texto { font-weight: 600; color: var(--rf-ink); word-break: break-word; }
.rule-eval__motivo { grid-column: 1 / -1; font-size: .8rem; color: var(--rf-muted); }

/* Notas internas: histórico só de acréscimo (data/hora + texto) */
.nota-list { display: grid; gap: .6rem; margin: 0 0 1rem; max-height: 22rem; overflow-y: auto; }
.nota-list__item { padding: .6rem .8rem; border-radius: 10px; background: var(--rf-primary-050); border-left: 3px solid var(--rf-primary); overflow-wrap: anywhere; }
.nota-list__em { display: block; font-size: .75rem; font-weight: 700; color: var(--rf-muted); margin-bottom: .15rem; }
