/* =====================================================================
   InfoVagas — identidade visual
   Cores: marinho #0B1F3A · azul #1F5FD6 · amarelo #FFC21A · fundo #F4F6F9 · linha #DCE3EC
   Fontes: Bricolage Grotesque (títulos) + Public Sans (texto), servidas localmente
   ===================================================================== */
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 600; font-display: swap; src: url('../fonts/bricolage-grotesque-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 700; font-display: swap; src: url('../fonts/bricolage-grotesque-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 800; font-display: swap; src: url('../fonts/bricolage-grotesque-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Public Sans'; font-weight: 400; font-display: swap; src: url('../fonts/public-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Public Sans'; font-weight: 400; font-style: italic; font-display: swap; src: url('../fonts/public-sans-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Public Sans'; font-weight: 500; font-display: swap; src: url('../fonts/public-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Public Sans'; font-weight: 600; font-display: swap; src: url('../fonts/public-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Public Sans'; font-weight: 700; font-display: swap; src: url('../fonts/public-sans-latin-700-normal.woff2') format('woff2'); }

:root {
  --iv-navy: #0B1F3A;
  --iv-navy-2: #132C52;
  --iv-blue: #1F5FD6;
  --iv-blue-dark: #174BB0;
  --iv-blue-soft: #E8EFFC;
  --iv-yellow: #FFC21A;
  --iv-yellow-soft: #FFF4D1;
  --iv-bg: #F4F6F9;
  --iv-line: #DCE3EC;
  --iv-text: #1B2430;
  --iv-muted: #5B6676;
  --iv-green: #0F8A5F;
  --iv-display: 'Bricolage Grotesque', 'Public Sans', system-ui, sans-serif;
  --iv-body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --iv-radius: 10px;

  /* Bootstrap */
  --bs-body-font-family: var(--iv-body);
  --bs-body-color: var(--iv-text);
  --bs-body-bg: var(--iv-bg);
  --bs-primary: #1F5FD6;
  --bs-primary-rgb: 31, 95, 214;
  --bs-link-color: #1F5FD6;
  --bs-link-color-rgb: 31, 95, 214;
  --bs-link-hover-color: #174BB0;
  --bs-link-hover-color-rgb: 23, 75, 176;
  --bs-border-color: #DCE3EC;
  --bs-secondary-color: #5B6676;
  --bs-warning: #FFC21A;
  --bs-warning-rgb: 255, 194, 26;
  --bs-success: #0F8A5F;
  --bs-success-rgb: 15, 138, 95;
  --bs-border-radius: 8px;
  --bs-border-radius-lg: 12px;
  --bs-focus-ring-color: rgba(31, 95, 214, .3);
}

body { font-family: var(--iv-body); color: var(--iv-text); background: var(--iv-bg); -webkit-font-smoothing: antialiased; font-size: 1rem; line-height: 1.55; }
h1, h2, h3, h4, .h1, .h2, .h3, .h4, .display-5, .display-6, .navbar-brand { font-family: var(--iv-display); color: var(--iv-navy); letter-spacing: -.015em; }
h1, .h1 { font-weight: 800; } h2, .h2, h3, .h3 { font-weight: 700; } h4, .h4, h5, h6 { font-weight: 700; }
h5, h6, .h5, .h6 { font-family: var(--iv-body); color: var(--iv-navy); letter-spacing: 0; }
a { text-underline-offset: 2px; }
.text-muted { color: var(--iv-muted) !important; }
::selection { background: var(--iv-yellow); color: var(--iv-navy); }

/* Foco visível para teclado */
:focus-visible { outline: 3px solid var(--iv-yellow); outline-offset: 2px; }
.btn:focus-visible, .form-control:focus, .form-select:focus { box-shadow: 0 0 0 .22rem rgba(31, 95, 214, .28); }
.form-control:focus, .form-select:focus { border-color: var(--iv-blue); }

/* Botões */
.btn { font-weight: 600; border-radius: 8px; letter-spacing: .005em; }
.btn-lg { padding: .72rem 1.3rem; font-size: 1.02rem; }
.btn-primary { --bs-btn-bg: var(--iv-blue); --bs-btn-border-color: var(--iv-blue); --bs-btn-hover-bg: var(--iv-blue-dark); --bs-btn-hover-border-color: var(--iv-blue-dark); --bs-btn-active-bg: #123d91; --bs-btn-active-border-color: #123d91; --bs-btn-disabled-bg: var(--iv-blue); --bs-btn-disabled-border-color: var(--iv-blue); }
.btn-outline-primary { --bs-btn-color: var(--iv-blue); --bs-btn-border-color: var(--iv-blue); --bs-btn-hover-bg: var(--iv-blue); --bs-btn-hover-border-color: var(--iv-blue); --bs-btn-active-bg: var(--iv-blue-dark); }
.btn-warning { --bs-btn-bg: var(--iv-yellow); --bs-btn-border-color: var(--iv-yellow); --bs-btn-color: var(--iv-navy); --bs-btn-hover-bg: #F0B300; --bs-btn-hover-border-color: #F0B300; --bs-btn-hover-color: var(--iv-navy); --bs-btn-active-bg: #E0A700; }
.btn-dark { --bs-btn-bg: var(--iv-navy); --bs-btn-border-color: var(--iv-navy); --bs-btn-hover-bg: var(--iv-navy-2); --bs-btn-hover-border-color: var(--iv-navy-2); }
.btn-success { --bs-btn-bg: var(--iv-green); --bs-btn-border-color: var(--iv-green); --bs-btn-hover-bg: #0B7550; --bs-btn-hover-border-color: #0B7550; }
.text-bg-primary { background-color: var(--iv-blue) !important; }
.text-bg-warning { background-color: var(--iv-yellow) !important; color: var(--iv-navy) !important; }
.text-bg-success { background-color: var(--iv-green) !important; }
.text-bg-light { background-color: #fff !important; }
.badge { font-weight: 600; border-radius: 6px; letter-spacing: .01em; }

/* Formulários */
.form-control, .form-select { border-color: #C9D3E0; border-radius: 8px; padding: .55rem .8rem; background-color: #fff; }
.form-control:disabled, .form-control[readonly] { background-color: #EEF1F5; }
.form-label { font-weight: 600; font-size: .92rem; color: var(--iv-navy); margin-bottom: .35rem; }
.form-text { color: var(--iv-muted); }
.form-check-input:checked { background-color: var(--iv-blue); border-color: var(--iv-blue); }

/* Cartões: borda fina, sem sombra pesada */
.card { border: 1px solid var(--iv-line); border-radius: var(--iv-radius); box-shadow: none; background: #fff; }
.card > .card-body { padding: 1.25rem; }
.table { --bs-table-bg: transparent; }
.table > thead th { font-size: .82rem; font-weight: 700; color: var(--iv-muted); border-bottom-width: 1px; }
.alert { border-radius: var(--iv-radius); border-width: 1px; }
.alert-warning { background: var(--iv-yellow-soft); border-color: #F5D77E; color: #5C4300; }
.alert-info { background: var(--iv-blue-soft); border-color: #C6D6F5; color: #173E86; }
.alert-success { background: #E5F5EE; border-color: #B7E1CF; color: #0B5C40; }
.dropdown-menu { border-color: var(--iv-line); border-radius: 10px; box-shadow: 0 12px 32px rgba(11, 31, 58, .14); padding: .4rem; }
.dropdown-item { border-radius: 6px; padding: .45rem .7rem; }
.dropdown-item:active { background: var(--iv-blue); }
.pagination { --bs-pagination-active-bg: var(--iv-blue); --bs-pagination-active-border-color: var(--iv-blue); --bs-pagination-color: var(--iv-blue); }
.nav-pills { --bs-nav-pills-link-active-bg: var(--iv-blue); }
.nav-tabs .nav-link { color: var(--iv-muted); font-weight: 600; }
.nav-tabs .nav-link.active { color: var(--iv-navy); }

/* ===================== Cabeçalho ===================== */
.iv-header { background: #fff; border-bottom: 1px solid var(--iv-line); }
.iv-header .navbar { padding-top: .7rem; padding-bottom: .7rem; }
.iv-header .nav-link { color: var(--iv-text); font-weight: 600; font-size: .95rem; padding-left: .85rem !important; padding-right: .85rem !important; }
.iv-header .nav-link:hover, .iv-header .nav-link.active { color: var(--iv-blue); }
.iv-header .navbar-toggler { border-color: var(--iv-line); }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; border-radius: 9px; background: var(--iv-navy); color: var(--iv-yellow); display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.brand-word { font-family: var(--iv-display); font-weight: 800; font-size: 1.45rem; color: var(--iv-navy); letter-spacing: -.03em; }
.brand-word b { font-weight: 800; color: var(--iv-blue); }
.iv-footer .brand-mark { background: var(--iv-yellow); color: var(--iv-navy); }
.iv-footer .brand-word { color: #fff; }
.iv-footer .brand-word b { color: var(--iv-yellow); }
.user-chip { display: inline-flex; align-items: center; gap: .45rem; }
.user-chip .avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--iv-blue-soft); color: var(--iv-blue); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; }
.notif-dot { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--iv-yellow); color: var(--iv-navy); font-size: .7rem; font-weight: 700; line-height: 18px; text-align: center; }

/* ===================== Página inicial ===================== */
.hero { background: var(--iv-navy); color: #fff; padding: 64px 0 72px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.hero > .container { position: relative; z-index: 1; }
.hero-kicker { color: #AFC3E6; font-weight: 600; margin-bottom: 1.1rem; }
.hero-kicker strong { color: var(--iv-yellow); }
.hero-search { font-family: var(--iv-display); font-weight: 700; font-size: clamp(1.9rem, 3.7vw, 3.1rem); line-height: 1.22; letter-spacing: -.025em; color: #fff; }
.hero-search .slot { display: inline-block; position: relative; vertical-align: baseline; }
.hero-search input, .hero-search select {
  font: inherit; color: var(--iv-yellow); background: transparent; border: 0; border-bottom: 3px solid rgba(255,194,26,.55);
  padding: 0 .1em; margin: 0 .15em; outline: none; border-radius: 0; -webkit-appearance: none; appearance: none;
}
.hero-search input::placeholder { color: rgba(255,255,255,.38); }
.hero-search input:focus, .hero-search select:focus { border-bottom-color: var(--iv-yellow); background: rgba(255,255,255,.04); }
.hero-search .in-cargo { width: min(100%, 11em); margin: .1em 0 .15em; padding-left: 0; }
.hero-search .in-cidade { width: 7.4em; }
.hero-search select { width: 2.4em; cursor: pointer; margin-left: .25em; }
.hero-search select option { color: var(--iv-text); font-size: 1rem; }
.hero-actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; }
.hero-actions .btn-warning { padding: .8rem 1.6rem; font-size: 1.05rem; }
.hero-tags { color: #AFC3E6; font-size: .92rem; flex: 1 1 260px; min-width: 0; line-height: 2; }
.hero-tags a { color: #fff; text-decoration: none; border-bottom: 1px dashed rgba(255,255,255,.4); margin-right: .7rem; white-space: nowrap; }
.hero-tags a:hover { color: var(--iv-yellow); border-color: var(--iv-yellow); }

.hero-panel { background: #fff; color: var(--iv-text); border-radius: 14px; padding: 1.1rem 1.1rem .6rem; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.hero-panel h2 { font-size: 1.05rem; font-family: var(--iv-body); font-weight: 700; margin: 0; }
.hero-panel .live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; margin-right: .4rem; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.hero-panel a.row-job { display: block; padding: .7rem .2rem; border-top: 1px solid var(--iv-line); text-decoration: none; color: inherit; }
.hero-panel a.row-job:hover .t { color: var(--iv-blue); }
.hero-panel .t { font-weight: 700; color: var(--iv-navy); line-height: 1.3; }
.hero-panel .m { font-size: .86rem; color: var(--iv-muted); display: flex; flex-wrap: wrap; gap: .2rem .9rem; margin-top: .15rem; }
.hero-panel .m .sal { color: var(--iv-green); font-weight: 600; }

.facts { background: #fff; border-bottom: 1px solid var(--iv-line); }
.facts .row { --bs-gutter-x: 0; }
.facts .fact { padding: 1.15rem 0; }
.facts .fact strong { font-family: var(--iv-display); font-size: 1.6rem; color: var(--iv-navy); display: block; line-height: 1.1; }
.facts .fact span { color: var(--iv-muted); font-size: .9rem; }

.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-white { background: #fff; border-top: 1px solid var(--iv-line); border-bottom: 1px solid var(--iv-line); }
.section-title { font-size: clamp(1.45rem, 2.6vw, 2.2rem); margin-bottom: .5rem; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; margin-bottom: 1rem; }
.section-lead { color: var(--iv-muted); max-width: 60ch; font-size: 1.05rem; }

.steps { counter-reset: passo; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--iv-navy); }
.steps .step { padding: 1.4rem 1.4rem 0 0; }
.steps .step + .step { padding-left: 1.4rem; border-left: 1px solid var(--iv-line); }
.steps .step::before { counter-increment: passo; content: counter(passo); font-family: var(--iv-display); font-weight: 800; font-size: 2.6rem; color: var(--iv-blue); line-height: 1; display: block; margin-bottom: .6rem; }
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--iv-muted); margin: 0; }
@media (max-width: 767px) { .steps { grid-template-columns: 1fr; } .steps .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--iv-line); } .steps .step { padding-bottom: 1.2rem; } }

.area-list { columns: 2; column-gap: 1.5rem; }
.area-list a { display: flex; justify-content: space-between; break-inside: avoid; padding: .5rem 0; border-bottom: 1px solid var(--iv-line); color: var(--iv-text); text-decoration: none; font-weight: 500; }
.area-list a span { color: var(--iv-muted); font-variant-numeric: tabular-nums; }
.area-list a:hover { color: var(--iv-blue); }

/* Prévia do processo seletivo (para empresas) */
.pipeline { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .6rem; background: var(--iv-navy); border-radius: 14px; padding: 1rem; }
.pipeline .col-p { background: rgba(255,255,255,.06); border-radius: 10px; padding: .6rem; min-height: 190px; }
.pipeline .col-p h4 { font-family: var(--iv-body); font-size: .78rem; font-weight: 700; color: #AFC3E6; margin: 0 0 .55rem; display: flex; justify-content: space-between; letter-spacing: .01em; }
.pipeline .pcard { background: #fff; border-radius: 7px; padding: .45rem .5rem; margin-bottom: .45rem; }
.pipeline .pcard i { display: block; height: 7px; border-radius: 4px; background: #D5DEEA; margin-bottom: 5px; }
.pipeline .pcard i.s { width: 60%; background: #E8EDF4; margin: 0; }
.pipeline .pcard.ok { box-shadow: inset 3px 0 0 var(--iv-green); }
.pipeline .pcard.hot { box-shadow: inset 3px 0 0 var(--iv-yellow); }
.check-list { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; }
.check-list li { padding: .45rem 0 .45rem 1.9rem; position: relative; }
.check-list li::before { content: "\f26a"; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: .38rem; color: var(--iv-green); font-size: 1.15rem; }

/* Planos */
.plan { border: 1px solid var(--iv-line); border-radius: 12px; background: #fff; padding: 1.6rem; height: 100%; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--iv-navy); }
.plan .plan-name { font-weight: 700; color: var(--iv-navy); font-size: 1.05rem; }
.plan .price { font-family: var(--iv-display); font-weight: 800; font-size: 2.5rem; color: var(--iv-navy); line-height: 1; margin: .7rem 0 .2rem; }
.plan .price small { font-size: 1rem; font-family: var(--iv-body); font-weight: 500; color: var(--iv-muted); }
.plan .qty { font-size: 1.05rem; margin: .8rem 0; }
.plan .qty strong { color: var(--iv-blue); }
.plan .tag { align-self: flex-start; background: var(--iv-yellow); color: var(--iv-navy); font-weight: 700; font-size: .78rem; padding: .2rem .55rem; border-radius: 6px; margin-bottom: .6rem; }

.cta-band { background: var(--iv-blue); color: #fff; border-radius: 16px; padding: 2.4rem; }
.cta-band h2 { color: #fff; }

/* ===================== Vagas ===================== */
.job-card { border: 1px solid var(--iv-line); border-radius: var(--iv-radius); background: #fff; transition: border-color .15s; }
.job-card:hover { border-color: #A9BCD8; }
.job-card.destaque { border-left: 4px solid var(--iv-yellow); }
.job-card .card-body { padding: .95rem 1.1rem; }
.job-card h3, .job-card h5 { font-family: var(--iv-body); font-size: 1.08rem; font-weight: 700; margin: 0 0 .15rem; }
.job-card h3 a, .job-card h5 a { color: var(--iv-navy); }
.job-card:hover h3 a, .job-card:hover h5 a { color: var(--iv-blue); }
.job-meta { display: flex; flex-wrap: wrap; gap: .2rem 1.1rem; color: var(--iv-muted); font-size: .88rem; margin-bottom: .6rem; }
.job-meta i { margin-right: .25rem; }
.job-tags { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 600; padding: .22rem .55rem; border-radius: 6px; background: var(--iv-bg); color: var(--iv-text); border: 1px solid var(--iv-line); }
.chip-pcd { background: #E7F3FB; border-color: #BFE0F2; color: #0C5A86; }
.chip-dest { background: var(--iv-yellow-soft); border-color: #F5D77E; color: #6B4E00; }
.salary { color: var(--iv-green); font-weight: 700; font-size: .92rem; }
.job-logo { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: var(--iv-blue-soft); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--iv-blue); flex-shrink: 0; font-family: var(--iv-display); border: 1px solid var(--iv-line); }
img.job-logo { background: #fff; padding: 4px; }
.job-card .share-menu { position: relative; z-index: 3; }

.filters .card-body { padding: 1.1rem; }
.filters h2 { font-family: var(--iv-body); font-size: 1rem; font-weight: 700; }
.page-head { background: #fff; border-bottom: 1px solid var(--iv-line); padding: 28px 0 22px; }
.page-head h1 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0; }
.page-head .crumbs { font-size: .88rem; color: var(--iv-muted); margin-bottom: .35rem; }
.page-head .crumbs a { color: var(--iv-muted); }

.job-detail h2 { font-size: 1.2rem; margin-top: 1.6rem; }
.job-detail .lead-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; border: 1px solid var(--iv-line); border-radius: 10px; overflow: hidden; margin: 1.2rem 0; }
.job-detail .lead-facts div { padding: .75rem 1rem; border-right: 1px solid var(--iv-line); background: var(--iv-bg); }
.job-detail .lead-facts div:last-child { border-right: 0; }
.job-detail .lead-facts span { display: block; font-size: .78rem; color: var(--iv-muted); font-weight: 600; }
.job-detail .lead-facts strong { color: var(--iv-navy); }
.apply-box { position: sticky; top: 88px; }

/* Compartilhamento */
.btn-share { color: #fff; border: 0; }
.btn-share:hover, .btn-share:focus { color: #fff; filter: brightness(.92); }
.btn-share-whatsapp { background: #1FA855; }
.btn-share-facebook { background: #1877F2; }
.btn-share-linkedin { background: #0A66C2; }
.btn-share-x { background: #000; }
.btn-share-telegram { background: #229ED9; }
.btn-share-email { background: #5B6676; }
.share-box { background: var(--iv-blue-soft); border-radius: 12px; padding: 14px 16px; }

/* ===================== Login e cadastro ===================== */
.auth-wrap { min-height: calc(100vh - 66px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: var(--iv-navy); color: #fff; padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth-side::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 22px 22px; }
.auth-side > * { position: relative; z-index: 1; max-width: 460px; }
.auth-side h2 { color: #fff; font-size: 2.1rem; line-height: 1.15; }
.auth-side p { color: #C3D2EC; font-size: 1.05rem; }
.auth-side .check-list li { color: #E4ECF8; }
.auth-side .check-list li::before { color: var(--iv-yellow); }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-card { width: 100%; max-width: 470px; margin: 0; border: 0; background: transparent; }
.auth-card .card-body { padding: 0 !important; }
.auth-card h1 { font-size: 1.9rem; text-align: left !important; }
.auth-divider { display: flex; align-items: center; gap: .8rem; color: var(--iv-muted); font-size: .88rem; margin: 1.2rem 0; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--iv-line); }
.btn-google { background: #fff; border: 1px solid #C9D3E0; color: var(--iv-text); }
.btn-google:hover { background: var(--iv-bg); }
.btn-facebook { background: #1877F2; color: #fff; }
.btn-facebook:hover { background: #166FE5; color: #fff; }
@media (max-width: 991px) { .auth-wrap { grid-template-columns: 1fr; } .auth-side { display: none; } }

/* ===================== Painéis ===================== */
.panel-body { background: var(--iv-bg); }
.sidebar { width: 252px; min-height: calc(100vh - 66px); background: #fff; }
.sidebar .side-user { padding: 1.1rem 1.2rem; border-bottom: 1px solid var(--iv-line); }
.sidebar .side-user .n { font-weight: 700; color: var(--iv-navy); }
.sidebar .side-user .r { font-size: .82rem; color: var(--iv-muted); }
.sidebar .nav-link { color: #344154; padding: .58rem 1.2rem; font-weight: 500; font-size: .94rem; border-left: 3px solid transparent; display: flex; align-items: center; }
.sidebar .nav-link i { font-size: 1.05rem; width: 1.6rem; color: #7A8699; }
.sidebar .nav-link:hover { background: var(--iv-bg); color: var(--iv-navy); }
.sidebar .nav-link.active { background: var(--iv-blue-soft); color: var(--iv-navy); border-left-color: var(--iv-blue); font-weight: 700; }
.sidebar .nav-link.active i { color: var(--iv-blue); }
.sidebar .offcanvas-body { display: block !important; }
@media (min-width: 992px) { .sidebar { position: sticky; top: 66px; height: calc(100vh - 66px); overflow-y: auto; flex-shrink: 0; border-right: 1px solid var(--iv-line); } }
.panel-main { min-width: 0; }
.panel-main > h1.h4 { font-size: 1.55rem; margin-bottom: 1.2rem !important; }
.stat-card { border: 1px solid var(--iv-line); border-radius: var(--iv-radius); }
.stat-card .card-body { padding: 1rem 1.1rem !important; }
.stat-card .stat-value { font-family: var(--iv-display); font-size: 1.65rem; font-weight: 800; color: var(--iv-navy); line-height: 1.1; }
.stat-card .stat-label { font-size: .85rem; color: var(--iv-muted); }
.feature-icon { width: 44px; height: 44px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; background: var(--iv-blue-soft); color: var(--iv-blue); flex-shrink: 0; }
.stat-card .feature-icon.text-success { background: #E5F5EE; } .stat-card .feature-icon.text-warning { background: var(--iv-yellow-soft); color: #B07F00 !important; }
.stat-card .feature-icon.text-danger { background: #FDECEC; } .stat-card .feature-icon.text-info { background: #E7F3FB; } .stat-card .feature-icon.text-secondary, .stat-card .feature-icon.text-dark { background: #EEF1F5; }
.kanban { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 10px; }
.kanban-col { min-width: 250px; flex: 1; background: #E9EEF5; border-radius: 10px; padding: 10px; }
.kanban-col h6 { font-size: .85rem; font-weight: 700; }
.kanban-card { background: #fff; border-radius: 8px; padding: 10px; margin-bottom: 8px; border: 1px solid var(--iv-line); cursor: grab; }
.kanban-col.drag-over { outline: 2px dashed var(--iv-blue); }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.calendar-grid .day { padding: 10px 0; text-align: center; border-radius: 8px; background: #fff; border: 1px solid var(--iv-line); cursor: pointer; user-select: none; font-weight: 600; }
.calendar-grid .day.head { background: transparent; border: 0; font-weight: 600; cursor: default; font-size: .8rem; color: var(--iv-muted); }
.calendar-grid .day.disabled { opacity: .35; cursor: not-allowed; }
.calendar-grid .day.selected { background: var(--iv-blue); color: #fff; border-color: var(--iv-blue); }
.calendar-grid .day.sent { background: var(--iv-green); color: #fff; cursor: default; border-color: var(--iv-green); }
.progress-thin { height: 6px; }

/* ===================== Rodapé e utilitários ===================== */
.iv-footer { background: var(--iv-navy); color: #C3D2EC; padding: 56px 0 24px; margin-top: 72px; }
.iv-footer h6 { color: #fff; font-size: .95rem; margin-bottom: .9rem; }
.iv-footer a { color: #C3D2EC; text-decoration: none; }
.iv-footer a:hover { color: #fff; text-decoration: underline; }
.iv-footer ul li { margin-bottom: .45rem; }
.iv-footer .bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 18px; font-size: .85rem; color: #8FA3C4; }
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #1FA855; color: #fff; font-size: 28px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(11,31,58,.25); z-index: 1050; text-decoration: none; }
.whatsapp-float:hover { color: #fff; background: #198F48; }
.cookie-banner { position: fixed; left: 20px; bottom: 20px; max-width: 430px; background: #fff; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--iv-line); z-index: 1049; display: flex; gap: 12px; align-items: center; box-shadow: 0 16px 40px rgba(11,31,58,.18) !important; }
.ad-slot { margin: 24px 0; text-align: center; }
.texto-legal h4 { font-size: 1.25rem; }
.texto-legal table { font-size: .93rem; }
.texto-legal p, .texto-legal li { max-width: 78ch; }
.empty-state { text-align: center; padding: 2.5rem 1rem; color: var(--iv-muted); }
.empty-state i { font-size: 2.2rem; color: #A9B6C8; display: block; margin-bottom: .6rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .iv-header, .sidebar, .whatsapp-float, .cookie-banner, .no-print, .iv-footer { display: none !important; } }
