/* ============================================
   VagaHub - Portal de Vagas
   style.css
   ============================================ */

:root {
  --primary: #1A73E8;
  --primary-dark: #1557B0;
  --primary-light: #4B94F0;
  --accent: #22C55E;
  --accent-dark: #16A34A;
  --secondary: #0B1220;
  --secondary-light: #1E293B;
  --bg: #F4F7FB;
  --bg-white: #FFFFFF;
  --text: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  --border: #D8E0EA;
  --border-light: #E8EEF5;
  --success: #16A34A;
  --warning: #B45309;
  --danger: #B91C1C;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 32px rgba(15, 23, 42, 0.1);
  --radius: 10px;
  --radius-sm: 8px;
  --radius-lg: 14px;
  --transition: 0.2s ease;
  --header-height: 64px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --gradient: linear-gradient(135deg, #1A73E8 0%, #1557B0 100%);
  --glass: rgba(255, 255, 255, 0.9);
  --sticky-cta-h: 76px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1.4;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: none;
  box-shadow: none;
  color: #fff;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 700;
}

.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
}

.logo img {
  height: 38px;
  width: auto;
  max-width: min(180px, 55vw);
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9375rem;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--secondary);
  padding: 4px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-white);
  padding: 24px;
  z-index: 999;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
}

.mobile-menu .btn {
  margin-top: 16px;
}

/* Hero */
.hero {
  padding: calc(var(--header-height) + 48px) 0 56px;
  background: linear-gradient(180deg, #EDF4FE 0%, #F7FAFD 70%, var(--bg) 100%);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.hero::before {
  display: none;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.hero h1 span {
  color: var(--primary);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Search Box */
.search-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 720px;
  margin: 0 auto 48px;
  border: 1px solid var(--border-light);
}

.search-box .search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  position: relative;
}

.search-box .search-field + .search-field {
  border-left: 1px solid var(--border);
}

.search-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 0.9375rem;
  color: var(--text);
  background: transparent;
}

.search-box input::placeholder {
  color: var(--text-light);
}

.search-box .search-icon {
  color: var(--text-light);
  flex-shrink: 0;
}

.search-box .btn {
  padding: 14px 28px;
  border-radius: var(--radius-sm);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.stat-card {
  background: var(--glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-card .stat-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--primary);
}

.stat-card .stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.2;
}

.stat-card .stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Categories */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.category-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  color: var(--text);
}

.category-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: var(--primary);
}

.category-card .cat-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--primary);
  transition: all var(--transition);
}

.category-card:hover .cat-icon {
  background: var(--gradient);
  color: #fff;
}

.category-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
}

/* Job Cards */
.jobs-grid {
  display: grid;
  gap: 16px;
}

.job-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  transition: all var(--transition);
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.job-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.job-card .job-logo {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-light);
}

.job-card .job-info h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 4px;
}

.job-card .job-info h3 a {
  color: inherit;
}

.job-card .job-info h3 a:hover {
  color: var(--primary);
}

.job-card .job-company {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.job-card .job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.job-card .job-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.job-card .job-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.job-card .job-salary {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--success);
  white-space: nowrap;
}

.job-card .job-date {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* Tags / Badges */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  white-space: nowrap;
}

.tag-primary {
  background: #EFF6FF;
  color: var(--primary);
}

.tag-success {
  background: #ECFDF5;
  color: var(--success);
}

.tag-warning {
  background: #FFFBEB;
  color: var(--warning);
}

.tag-info {
  background: #F0F9FF;
  color: #0284C7;
}

.tag-remote {
  background: #F5F3FF;
  color: #7C3AED;
}

.tag-danger {
  background: #FEF2F2;
  color: var(--danger);
  border: 1px solid #FECACA;
}

/* Filters */
.filters-bar {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
}

.filter-group {
  flex: 1;
  min-width: 160px;
}

.filter-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.filter-group input,
.filter-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
}

.filter-group input:focus,
.filter-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-results-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.search-results-info strong {
  color: var(--secondary);
}

/* Job Detail */
.job-detail {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
}

.job-detail-header {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.job-detail-header .job-logo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}

.job-detail-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

.job-detail-header .job-company-name {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.job-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.job-detail-content {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
}

.job-detail-main {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.job-detail-main h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.job-detail-main section {
  margin-bottom: 32px;
}

.job-detail-main section:last-child {
  margin-bottom: 0;
}

.job-detail-main p,
.job-detail-main li {
  color: var(--text-muted);
  line-height: 1.8;
}

.job-detail-main ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 8px;
}

.job-detail-main ul li {
  margin-bottom: 6px;
}

.job-detail-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  align-self: start;
}

.sidebar-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.sidebar-card .salary-highlight {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--success);
  margin-bottom: 20px;
}

.sidebar-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.sidebar-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.sidebar-info-item i {
  color: var(--primary);
  flex-shrink: 0;
}

.external-notice {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.8125rem;
  color: #92400E;
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* Companies */
.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.company-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.company-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.company-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.company-card-header img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}

.company-card-header h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--secondary);
}

.company-card-header .company-location {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.company-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.company-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.company-card-footer .vacancy-count {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .separator {
  color: var(--text-light);
}

.breadcrumb .current {
  color: var(--secondary);
  font-weight: 500;
}

/* Page Header */
.page-header {
  padding: calc(var(--header-height) + 40px) 0 40px;
  background: linear-gradient(180deg, #EFF6FF 0%, var(--bg) 100%);
}

.page-header h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 8px;
}

.page-header p {
  font-size: 1.0625rem;
  color: var(--text-muted);
}

/* Institutional Pages */
.content-page {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.content-wrapper h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 8px;
}

.content-wrapper .content-meta {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

.content-wrapper h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 32px 0 16px;
}

.content-wrapper h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--secondary);
  margin: 24px 0 12px;
}

.content-wrapper p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}

.content-wrapper ul, .content-wrapper ol {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.content-wrapper ol {
  list-style: decimal;
}

.content-wrapper li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item .icon-wrap {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.contact-form {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary);
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question .faq-icon {
  transition: transform var(--transition);
  color: var(--text-light);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-muted);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Footer */
.footer {
  background: var(--secondary);
  color: #CBD5E1;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #CBD5E1;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
}

.footer h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.9375rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #64748B;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: #64748B;
}

.footer-bottom-links a:hover {
  color: #fff;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 20px 0;
  z-index: 1001;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(100%);
  transition: transform var(--transition);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner p {
  font-size: 0.875rem;
  color: var(--text-muted);
  flex: 1;
}

.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--text-muted);
}

.empty-state .empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  color: var(--text-light);
}

.empty-state h3 {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 8px;
}

/* Loading */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 64px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* CTA Section */
.cta-section {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
  color: #fff;
  margin: 0 24px;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.cta-section .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--primary-dark);
}

/* View All Link */
.view-all {
  text-align: center;
  margin-top: 40px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  color: var(--text);
  cursor: pointer;
  font-weight: 500;
  transition: all var(--transition);
}

.pagination button:hover,
.pagination button.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.section-compact {
  padding: 48px 0;
}

.info-panel {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 720px;
}

.info-panel h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 20px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.info-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.info-list li:last-child {
  border-bottom: none;
}

.info-list strong {
  color: var(--secondary);
  font-weight: 600;
  display: inline-block;
  min-width: 120px;
}

.stat-card:hover {
  transform: none;
  box-shadow: var(--shadow);
}

.job-card:hover {
  transform: none;
}

.category-card:hover {
  transform: none;
}

.company-card:hover {
  transform: none;
}

.cta-section {
  background: var(--secondary);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  color: #fff;
}

.cta-section .btn {
  background: #fff;
  color: var(--primary);
}

.cta-section .btn:hover {
  background: var(--bg);
  color: var(--primary-dark);
}

/* Location Modal */
.location-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.location-modal[hidden] {
  display: none !important;
}

.location-modal.show {
  opacity: 1;
  visibility: visible;
}

.location-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

.location-modal-content {
  position: relative;
  background: var(--bg-white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 32px 24px 40px;
  width: 100%;
  max-width: 480px;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.location-modal.show .location-modal-content {
  transform: translateY(0);
}

.location-modal-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
}

.location-modal-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

.location-modal-content p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.location-modal-content .btn {
  margin-bottom: 10px;
}

.location-modal-content .form-group {
  text-align: left;
  margin-bottom: 16px;
}

#location-badge {
  color: var(--primary);
  font-weight: 600;
}

.tag-neutral {
  background: #F8FAFC;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}

.redirect-notice {
  text-align: center;
  padding: 80px 24px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}

.redirect-notice h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--secondary);
  margin: 20px 0 8px;
}

.redirect-notice p {
  color: var(--text-muted);
}

/* Featured Job Hero */
.featured-job-wrapper {
  margin: 32px 0 0;
}

.featured-job-hero {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.featured-job-inner {
  padding: 28px;
}

.featured-job-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.featured-job-header .job-logo {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  flex-shrink: 0;
}

.featured-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 6px;
}

.featured-job-hero h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 6px;
  line-height: 1.35;
}

.featured-company {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.featured-job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.featured-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.featured-job-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.featured-salary {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--success);
}

.featured-salary small {
  display: block;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 2px;
}

.job-card-featured {
  border-color: var(--primary-light);
  background: linear-gradient(135deg, #fff 0%, #F8FAFF 100%);
  position: relative;
}

.featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  background: var(--gradient);
  color: #fff;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Utility */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Acessibilidade / confiança / formulários */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--primary);
  color: #fff;
  padding: 12px 16px;
  font-weight: 600;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.hero-disclaimer,
.content-note,
.featured-notice,
.salary-caption {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-disclaimer {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 24px;
}

.featured-notice {
  margin: -8px 0 16px;
}

.salary-caption {
  margin: -8px 0 16px;
}

.transparency-banner {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.transparency-banner strong {
  color: var(--secondary);
}

.footer-grid-legal {
  grid-template-columns: 2fr 1fr 1fr;
}

.footer-legal-block {
  margin-top: 16px;
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer-legal-block a {
  color: #93C5FD;
}

.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  font-size: 0.8125rem;
  color: #94A3B8;
  line-height: 1.6;
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

.page-lead {
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 640px;
}

.h4-like {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 4px;
}

.optional {
  font-weight: 400;
  color: var(--text-light);
}

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.12);
}

.field-error {
  color: var(--danger);
  font-size: 0.8125rem;
  margin-top: 6px;
}

.form-error-summary {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 0.875rem;
}

.form-success {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 0.875rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-check input {
  width: auto;
  margin-top: 4px;
}

.form-check label {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.hp-wrap {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 4px;
}

.cookie-banner-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 768px) {
  .footer-grid-legal {
    grid-template-columns: 1fr;
  }

  .cookie-banner-inner {
    flex-direction: column;
    text-align: left;
  }
}

/* ===== Conversão + marca VagasHub ===== */
.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.28);
}

.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin: 0 auto 20px;
  max-width: 720px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.trust-bar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.conversion-panel {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  margin-bottom: 28px;
}

.conversion-panel h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

.conversion-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.conversion-salary {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--success);
  line-height: 1.2;
}

.conversion-salary small {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 4px;
}

.conversion-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.conversion-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: 12px;
}

/* CTA de inscrição no topo do detalhe da vaga */
.apply-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #ECFDF5 0%, #F0FDF4 100%);
  border: 1px solid #A7F3D0;
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 24px;
}

.apply-top-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.apply-top-salary {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--success);
  line-height: 1.2;
}

.apply-top .btn {
  flex: 0 0 auto;
  min-width: 260px;
}

@media (max-width: 768px) {
  .apply-top {
    padding: 16px;
  }

  .apply-top .btn {
    width: 100%;
    min-width: 0;
    min-height: 52px;
  }
}

.location-chip {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.location-chip.show {
  display: flex;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.12);
  display: none;
}

.sticky-cta.show {
  display: block;
}

.sticky-cta-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

.sticky-cta-info {
  flex: 1;
  min-width: 0;
}

.sticky-cta-info strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-cta-info span {
  font-size: 0.8125rem;
  color: var(--success);
  font-weight: 700;
}

.sticky-cta .btn {
  flex-shrink: 0;
  min-height: 48px;
  padding: 12px 18px;
}

body.has-sticky-cta {
  padding-bottom: calc(var(--sticky-cta-h) + 12px);
}

.featured-job-hero {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}

.featured-label {
  color: var(--accent-dark);
}

@media (max-width: 768px) {
  .hero {
    padding: calc(var(--header-height) + 36px) 0 44px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .search-box {
    margin-bottom: 24px;
  }

  .section-compact {
    padding: 40px 0;
  }

  .conversion-panel {
    padding: 22px 18px;
  }

  .conversion-salary {
    font-size: 1.5rem;
  }

  .trust-bar {
    margin-bottom: 16px;
  }

  .hero-disclaimer {
    font-size: 0.8125rem;
  }

  .cookie-banner {
    bottom: var(--sticky-cta-h);
  }

  .job-card .job-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .job-card .job-actions .btn {
    width: 100%;
    min-height: 44px;
  }

  .sidebar-card .btn-lg {
    min-height: 52px;
    font-size: 1.0625rem;
  }

  .job-detail {
    padding-bottom: calc(var(--sticky-cta-h) + 40px);
  }
}

@media (min-width: 769px) {
  .sticky-cta {
    display: none !important;
  }
}

/* ===== Refinamentos mobile / profissional ===== */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .btn {
    min-height: 46px;
    padding: 12px 20px;
  }

  .btn-sm {
    min-height: 40px;
  }

  .btn-lg {
    min-height: 52px;
  }

  .conversion-actions .btn,
  .conversion-panel .btn {
    width: 100%;
  }

  .conversion-panel h2 {
    font-size: 1.1875rem;
    line-height: 1.3;
  }

  .job-detail-header h1 {
    line-height: 1.3;
  }

  .job-card .job-meta {
    gap: 8px 10px;
  }

  /* evita zoom automático em iOS ao focar campos */
  .filter-group input,
  .filter-group select,
  .form-group input,
  .form-group select,
  .form-group textarea,
  .search-box input {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .conversion-salary {
    font-size: 1.375rem;
  }

  .sticky-cta-info strong {
    font-size: 0.875rem;
  }
}
