:root {
  --brand-primary: #1268e8;
  --brand-primary-dark: #0b54c5;
  --brand-navy: #12305a;
  --brand-teal: #12a8a5;
  --brand-orange: #f27a22;
  --brand-surface: #eef6ff;
  --brand-border: #dce8f6;
  --brand-muted: #64748b;
  --brand-white: #fff;
  --shadow-sm: 0 10px 30px rgba(18, 48, 90, .08);
  --shadow-md: 0 18px 50px rgba(18, 48, 90, .14);
}

html { font-size: 15px; scroll-behavior: smooth; }
body { margin: 0; color: var(--brand-navy); background: #fff; font-family: "Inter", "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--brand-primary); }
h1, h2, h3, h4, h5, h6 { color: var(--brand-navy); letter-spacing: -.025em; }
.container { max-width: 1180px; }

.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(220,232,246,.85); backdrop-filter: blur(12px); }
.site-header .navbar { min-height: 76px; padding: .7rem 0; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--brand-primary); font-size: 1.42rem; font-weight: 800; text-decoration: none; letter-spacing: -.04em; }
.brand:hover { color: var(--brand-primary-dark); }
.brand-icon { display: block; width: 42px; height: 42px; object-fit: contain; flex: 0 0 42px; }
.brand-mark { display: inline-grid; width: 38px; height: 38px; place-items: center; color: #fff; background: var(--brand-primary); border-radius: 50%; font-size: 1.1rem; box-shadow: 0 7px 16px rgba(18,104,232,.2); }
.navbar .nav-link { color: var(--brand-navy); font-size: .92rem; font-weight: 600; padding: .6rem .55rem !important; }
.navbar .nav-link:hover, .navbar .nav-link:focus { color: var(--brand-primary); }
.header-actions .btn-link { color: var(--brand-navy); font-weight: 700; }

.btn { border-radius: 10px; font-weight: 700; padding: .68rem 1.25rem; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand-primary); border-color: var(--brand-primary); box-shadow: 0 8px 18px rgba(18,104,232,.18); }
.btn-primary:hover, .btn-primary:focus { background: var(--brand-primary-dark); border-color: var(--brand-primary-dark); }
.btn-outline-primary { color: var(--brand-primary); border-color: var(--brand-primary); }
.btn-outline-primary:hover { background: var(--brand-primary); border-color: var(--brand-primary); }
.btn-lg { padding: .85rem 1.35rem; font-size: .96rem; }

.home-hero { position: relative; padding: 5.5rem 0 0; background: linear-gradient(125deg, #f5faff 0%, #eaf5ff 58%, #f8fbff 100%); overflow: visible; }
.home-hero::before { content: ""; position: absolute; width: 520px; height: 520px; left: -260px; bottom: -250px; background: rgba(18,168,165,.06); border-radius: 50%; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 7rem; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: .45rem; color: var(--brand-primary); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.hero-copy h1 { max-width: 650px; margin: 1.15rem 0 1.25rem; font-size: clamp(2.55rem, 4.5vw, 4.35rem); line-height: 1.07; font-weight: 800; }
.hero-copy > p { max-width: 580px; margin-bottom: 2rem; color: #48627f; font-size: 1.12rem; line-height: 1.7; }
.hero-visual { position: relative; min-height: 500px; display: flex; align-items: center; justify-content: center; }
.hero-visual img { position: relative; z-index: 2; width: min(112%, 720px); max-width: none; max-height: 500px; object-fit: contain; }
.hero-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(18,104,232,.14); }
.hero-orbit-one { width: 480px; height: 480px; top: 10px; right: 0; }
.hero-orbit-two { width: 340px; height: 340px; top: 80px; right: 70px; background: rgba(255,255,255,.42); }
.hero-badge { position: absolute; z-index: 3; display: flex; align-items: center; gap: .55rem; padding: .7rem .9rem; background: #fff; border: 1px solid var(--brand-border); border-radius: 12px; box-shadow: var(--shadow-sm); font-size: .75rem; font-weight: 700; }
.hero-badge i { color: var(--brand-teal); font-size: 1.15rem; }
.hero-badge-top { right: 1rem; top: 3rem; }

.job-search-card { position: relative; z-index: 5; display: grid; grid-template-columns: 1.25fr 1fr .9fr auto; gap: .65rem; align-items: center; margin-top: -3.2rem; transform: translateY(3.2rem); padding: 1.1rem; background: #fff; border: 1px solid var(--brand-border); border-radius: 18px; box-shadow: var(--shadow-md); }
.search-field { display: flex; align-items: center; gap: .85rem; min-height: 58px; padding: .45rem .9rem; border-right: 1px solid var(--brand-border); }
.search-field > i { color: var(--brand-primary); font-size: 1.15rem; }
.search-field div { min-width: 0; flex: 1; }
.search-field label { display: block; margin-bottom: .12rem; font-size: .75rem; font-weight: 800; }
.search-field input, .search-field select { width: 100%; padding: 0; color: var(--brand-muted); background: transparent; border: 0; outline: 0; font-size: .83rem; }

.trust-strip { padding: 7.4rem 0 3rem; background: #fff; }
.trust-item { display: flex; align-items: center; justify-content: center; gap: .9rem; }
.trust-item > span { display: grid; width: 46px; height: 46px; place-items: center; color: var(--brand-teal); background: #e8fbfa; border-radius: 14px; font-size: 1.35rem; }
.trust-item strong, .trust-item small { display: block; }
.trust-item strong { margin-bottom: .2rem; font-size: .92rem; }
.trust-item small { color: var(--brand-muted); font-size: .73rem; }

.section-block { padding: 5rem 0 6rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-heading h2, .section-intro h2, .employer-card h2 { margin: .45rem 0 0; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; }
.section-heading > a { font-weight: 700; text-decoration: none; }
.job-card { height: 100%; padding: 1.4rem; border: 1px solid var(--brand-border); border-radius: 16px; background: #fff; box-shadow: 0 8px 26px rgba(18,48,90,.05); transition: transform .2s ease, box-shadow .2s ease; }
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.job-card-top { display: flex; justify-content: space-between; align-items: start; margin-bottom: 1.45rem; }
.company-logo { display: grid; width: 48px; height: 48px; place-items: center; color: #fff; border-radius: 11px; font-size: 1.3rem; font-weight: 800; }
.logo-blue { background: var(--brand-navy); }.logo-teal { background: #147b73; }.logo-orange { background: var(--brand-orange); }
.verified { padding: .35rem .6rem; color: #087f7d; background: #e7faf9; border-radius: 999px; font-size: .67rem; font-weight: 700; }
.job-card h3 { margin-bottom: .25rem; font-size: 1.08rem; font-weight: 800; }
.company-name, .job-location { color: var(--brand-muted); font-size: .82rem; }
.job-location { margin-bottom: 1rem; }
.job-tags { display: flex; gap: .45rem; padding-bottom: 1.25rem; margin-bottom: 1.15rem; border-bottom: 1px solid #edf2f7; }
.job-tags span { padding: .32rem .58rem; color: #3e648c; background: var(--brand-surface); border-radius: 7px; font-size: .68rem; font-weight: 600; }
.job-card > a { display: flex; justify-content: space-between; font-size: .8rem; font-weight: 800; text-decoration: none; }
.featured-jobs-carousel .carousel-inner { padding: .35rem .25rem .75rem; }
.featured-carousel-navigation { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.featured-carousel-navigation .carousel-control-prev,
.featured-carousel-navigation .carousel-control-next { position: static; width: 42px; height: 42px; color: var(--brand-primary); background: #fff; border: 1px solid var(--brand-border); border-radius: 50%; opacity: 1; box-shadow: var(--shadow-sm); }
.featured-carousel-navigation .carousel-control-prev:hover,
.featured-carousel-navigation .carousel-control-next:hover { color: #fff; background: var(--brand-primary); }
.featured-carousel-navigation .carousel-indicators { position: static; gap: .35rem; margin: 0; }
.featured-carousel-navigation .carousel-indicators [data-bs-target] { width: 9px; height: 9px; margin: 0; background-color: #a9bed5; border: 0; border-radius: 50%; }
.featured-carousel-navigation .carousel-indicators .active { width: 24px; background-color: var(--brand-primary); border-radius: 999px; }

.steps-section { padding: 5.5rem 0; background: linear-gradient(180deg, #f6faff, #edf6ff); }
.section-intro { margin-bottom: 3rem; }
.step-item { position: relative; text-align: center; padding: 0 2rem; }
.step-number { position: absolute; top: .2rem; left: calc(50% - 74px); display: grid; width: 34px; height: 34px; place-items: center; color: #fff; background: var(--brand-primary); border-radius: 50%; font-weight: 800; }
.step-icon { display: grid; width: 88px; height: 88px; margin: 0 auto 1.25rem; place-items: center; color: var(--brand-primary); background: rgba(255,255,255,.8); border: 1px solid #d8e9fa; border-radius: 22px; box-shadow: var(--shadow-sm); font-size: 2.2rem; }
.step-item h3 { font-size: 1.05rem; font-weight: 800; }
.step-item p { color: var(--brand-muted); font-size: .82rem; line-height: 1.65; }

.employer-section { padding: 5rem 0; }
.employer-card { display: flex; align-items: center; gap: 2rem; padding: 2.4rem 3rem; background: #fff; border: 1px solid var(--brand-border); border-radius: 20px; box-shadow: var(--shadow-sm); }
.employer-card p { max-width: 680px; margin: .65rem 0 0; color: var(--brand-muted); }
.employer-icon { display: grid; min-width: 90px; height: 90px; place-items: center; color: var(--brand-primary); background: var(--brand-surface); border-radius: 24px; font-size: 2.4rem; }

.site-footer { padding: 4rem 0 1.6rem; color: #c9d8eb; background: linear-gradient(135deg, #082b56, #0b3c78); }
.brand-footer { margin-bottom: 1.2rem; color: #fff; }.brand-footer:hover { color: #fff; }
.brand-footer .brand-mark { color: var(--brand-primary); background: #fff; }
.footer-description { max-width: 340px; color: #b9cbe1; font-size: .82rem; line-height: 1.7; }
.footer-title { margin: .45rem 0 1rem; color: #fff; font-size: .84rem; font-weight: 800; }
.site-footer .col-6 > a { display: block; margin-bottom: .65rem; color: #c9d8eb; font-size: .8rem; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.35rem; border-top: 1px solid rgba(255,255,255,.13); color: #9fb7d3; font-size: .72rem; }

/* Shared internal-page visual language */
.page-shell { min-height: 70vh; padding: 4rem 0 5rem; background: #f7faff; }
.page-header { margin-bottom: 2rem; }.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }.page-header p { color: var(--brand-muted); }
.surface-card, .card { border: 1px solid var(--brand-border); border-radius: 16px; box-shadow: var(--shadow-sm); }
.form-label { color: var(--brand-navy); font-size: .8rem; font-weight: 700; }
.form-control, .form-select { min-height: 46px; border-color: #cfdeee; border-radius: 10px; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 .2rem rgba(18,104,232,.12); }
.validation-summary-valid { display: none; }
.card-header.bg-primary, .modal-header.bg-primary { background: var(--brand-primary) !important; }
.table-dark { --bs-table-bg: var(--brand-navy); }

/* Mantém cabeçalho e ações visíveis enquanto os campos da vaga rolam. */
#modalVaga .modal-content > form { display: flex; flex-direction: column; min-height: 0; max-height: 100%; overflow: hidden; }
#modalVaga .modal-body { min-height: 0; overflow-x: hidden; overflow-y: auto; }
#modalVaga .modal-header, #modalVaga .modal-footer { flex: 0 0 auto; }

.auth-page { min-height: calc(100vh - 76px); padding: 4rem 0; background: linear-gradient(130deg, #edf6ff, #f9fbff); }
.auth-card { overflow: hidden; background: #fff; border: 1px solid var(--brand-border); border-radius: 22px; box-shadow: var(--shadow-md); }
.auth-visual { height: 100%; min-height: 590px; padding: 3rem; color: #fff; background: linear-gradient(145deg, #0f5fd3, #123c75); }
.auth-visual h2 { color: #fff; font-size: 2.25rem; font-weight: 800; }.auth-visual p { color: #d8e8fb; line-height: 1.7; }
.auth-benefit { display: flex; gap: .8rem; margin-top: 1.25rem; font-size: .86rem; }.auth-benefit i { color: #74e0d9; }
.auth-form { padding: 3rem; }.auth-form h1 { font-size: 2rem; font-weight: 800; }.auth-form > p { color: var(--brand-muted); }
.input-icon { position: relative; }.input-icon i { position: absolute; left: 1rem; top: 50%; z-index: 2; color: #7790ab; transform: translateY(-50%); }.input-icon .form-control { padding-left: 2.7rem; }

.jobs-hero { padding: 4rem 0 6.5rem; color: #fff; background: linear-gradient(135deg, #0f5fd3, #123c75); }.jobs-hero h1 { color: #fff; font-size: 3rem; font-weight: 800; }.jobs-hero p { color: #dceafe; }
.jobs-page .job-search-card { margin-top: -3.2rem; transform: none; }
.jobs-page-content { padding: 5rem 0; }.filter-card { padding: 1.25rem; background: #fff; }

@media (max-width: 991.98px) {
  .site-header .navbar { min-height: 68px; }.navbar-collapse { padding: 1rem 0; }.header-actions .btn { display: block; width: 100%; margin-top: .5rem; }
  .home-hero { padding-top: 4rem; }.hero-copy { padding-bottom: 1rem; }.hero-visual { min-height: 420px; }.hero-visual img { width: min(100%, 680px); }
  .job-search-card { grid-template-columns: 1fr 1fr; transform: translateY(2rem); margin-top: -2rem; }.search-field { border-right: 0; border-bottom: 1px solid var(--brand-border); }
  .trust-strip { padding-top: 5.5rem; }.employer-card { align-items: flex-start; flex-wrap: wrap; }
  .auth-visual { min-height: auto; }.jobs-page .job-search-card { margin-top: -2rem; }
}

@media (max-width: 767.98px) {
  html { font-size: 14px; }.home-hero { padding-top: 3rem; }.hero-copy h1 { font-size: 2.55rem; }.hero-visual { min-height: 320px; }.hero-badge { display: none; }
  .job-search-card { grid-template-columns: 1fr; gap: .25rem; padding: .8rem; }.job-search-card .btn { width: 100%; }.search-field { min-height: 64px; }
  .trust-item { justify-content: flex-start; }.section-block, .steps-section, .employer-section { padding: 4rem 0; }.section-heading { align-items: flex-start; flex-direction: column; }
  .step-item { padding: 1rem 2.5rem; }.employer-card { padding: 2rem; }.employer-icon { min-width: 70px; height: 70px; }.employer-card .btn { width: 100%; }
  .footer-bottom { flex-direction: column; }.auth-form, .auth-visual { padding: 2rem; }.auth-visual h2 { font-size: 1.8rem; }.jobs-hero h1 { font-size: 2.35rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
