/* ============================================
   GILROY - @font-face
   Coloque os arquivos .woff2 / .woff na pasta fonts/
   ============================================ */
@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-Regular.woff2') format('woff2'),
       url('../fonts/Gilroy-Regular.woff')  format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-Medium.woff2') format('woff2'),
       url('../fonts/Gilroy-Medium.woff')  format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-Bold.woff2') format('woff2'),
       url('../fonts/Gilroy-Bold.woff')  format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-Black.woff2') format('woff2'),
       url('../fonts/Gilroy-Black.woff')  format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ============================================
   VARIAVEIS E RESET
   ============================================ */
:root {
  --primary:       #E72A4B;
  --primary-dark:  #8A0216;
  --primary-mid:   #DE7375;
  --primary-light: #F8E0E0;
  --accent:        #FFCF27;
  --accent-dark:   #e6b800;
  --dark:          #561624;
  --text:          #333340;
  --gray:          #6b6b80;
  --gray-light:    #DDDDDD;
  --bg:            #FEFEFE;
  --border:        #DDDDDD;
  --white:         #FEFEFE;
  --shadow:        0 4px 24px rgba(231, 42, 75, 0.10);
  --shadow-hover:  0 8px 40px rgba(231, 42, 75, 0.20);
  --radius:        12px;
  --radius-sm:     8px;
  --transition:    all 0.28s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Gilroy', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
ul { list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 70px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.navbar-logo {
  display: flex;
  align-items: center;
}
.navbar-logo img {
  height: 34px;
  width: auto;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.navbar-links a {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray);
  transition: var(--transition);
}
.navbar-links a:hover,
.navbar-links a.active { color: var(--primary); }
.navbar-links a.btn-primary { color: var(--white); }
.navbar-links a.btn-primary:hover { color: var(--white); }

/* ============================================
   BOTOES
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  font-family: 'Gilroy', sans-serif;
  font-size: 15px;
  font-weight: 500; /* CTA: Gilroy Medium */
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

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

.btn-accent {
  background: var(--accent);
  color: var(--dark);
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 207, 40, 0.35);
}

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

.btn-outline-white {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
  background: transparent;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* ============================================
   HERO (pagina inicial)
   ============================================ */
.hero {
  min-height: 100vh;
  padding-top: 70px;
  display: flex;
  align-items: center;
  background: linear-gradient(140deg, #561624 0%, #8A0216 45%, #E72A4B 100%);
  position: relative;
  overflow: hidden;
}

.hero-blob-1 {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,207,40,0.12) 0%, transparent 70%);
  top: -200px; right: -200px;
  border-radius: 50%;
}
.hero-blob-2 {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(231,42,75,0.3) 0%, transparent 70%);
  bottom: -150px; left: -150px;
  border-radius: 50%;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-top: 40px;
  padding-bottom: 80px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,207,40,0.15);
  border: 1px solid rgba(255,207,40,0.35);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700; /* Subtitulo: Gilroy Bold */
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -1px;
}
.hero h1 .highlight { color: var(--accent); }

.hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 38px;
  max-width: 500px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 24px 28px;
  color: var(--white);
}
.hero-card-icon { font-size: 28px; margin-bottom: 8px; }
.hero-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.hero-card p  { font-size: 14px; color: rgba(255,255,255,0.65); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.hero-stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}
.hero-stat .num  { font-size: 28px; font-weight: 900; color: var(--accent); }
.hero-stat .lbl  { font-size: 12px; color: rgba(255,255,255,0.6); font-weight: 500; }

/* ============================================
   SECTIONS
   ============================================ */
section { padding: 96px 0; }

.section-label {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 17px;
  color: var(--gray);
  max-width: 540px;
  line-height: 1.7;
}

/* ============================================
   SOBRE (pagina inicial)
   ============================================ */
.about-section { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}
.about-img-box {
  background: linear-gradient(140deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 20px;
  padding: 48px;
  color: var(--white);
  font-size: 15px;
  line-height: 1.8;
  position: relative;
  overflow: hidden;
}
.about-img-box::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  bottom: -60px; right: -60px;
}
.about-img-box .big-emoji { font-size: 64px; margin-bottom: 20px; display: block; }
.about-img-box blockquote {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--white);
  margin-bottom: 16px;
}
.about-img-box p { color: rgba(255,255,255,0.8); }

.about-content .section-desc { max-width: 100%; margin-bottom: 24px; }
.about-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  font-weight: 400;
}
.about-list li span.dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================
   VALORES
   ============================================ */
.values-header { text-align: center; margin-bottom: 56px; }
.values-header .section-desc { margin: 0 auto; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
}
.value-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.value-icon {
  width: 52px; height: 52px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.value-card h3 {
  font-size: 18px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 10px;
}
.value-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

/* ============================================
   BENEFICIOS
   ============================================ */
.benefits-section { background: var(--bg); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.benefit-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}
.benefit-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.benefit-icon { font-size: 36px; margin-bottom: 14px; }
.benefit-card h4 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.benefit-card p  { font-size: 13px; color: var(--gray); }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  top: -200px; right: -100px;
}
.cta-banner h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 14px;
  position: relative;
}
.cta-banner p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 38px;
  position: relative;
}

/* ============================================
   PAGE HEADER (vagas, candidatura)
   ============================================ */
.page-header {
  background: linear-gradient(140deg, #561624 0%, #E72A4B 100%);
  padding: 130px 0 70px;
  text-align: center;
}
.page-header .section-label { background: rgba(255,207,40,0.15); color: var(--accent); border: 1px solid rgba(255,207,40,0.3); }
.page-header .section-title { color: var(--white); }
.page-header .section-desc  { color: rgba(255,255,255,0.7); margin: 0 auto; }

/* ============================================
   VAGAS
   ============================================ */
.vagas-section { padding: 64px 0 96px; }

/* Busca de vagas */
.vagas-search-box {
  position: relative;
  margin-bottom: 24px;
}
.vagas-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
  display: flex;
  align-items: center;
  pointer-events: none;
}
.vagas-search-input {
  width: 100%;
  padding: 16px 20px 16px 52px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Gilroy', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: var(--transition);
}
.vagas-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(231,42,75,0.09);
}
.vagas-search-input::placeholder { color: var(--gray-light); }

.vagas-result-count {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray);
  margin-bottom: 16px;
  display: none;
}

/* Banco de Talentos */
.banco-talentos {
  margin-top: 48px;
  background: linear-gradient(140deg, #561624 0%, #E72A4B 100%);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.banco-talentos::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: rgba(255,207,40,0.1);
  border-radius: 50%;
  top: -100px; right: -80px;
}
.banco-talentos-content {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 40px 40px;
  position: relative;
  z-index: 1;
}
.banco-talentos-icon {
  font-size: 48px;
  flex-shrink: 0;
}
.banco-talentos-text {
  flex: 1;
}
.banco-talentos-text h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 6px;
}
.banco-talentos-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  max-width: 520px;
}
.banco-talentos .btn-primary {
  flex-shrink: 0;
  background: var(--accent);
  color: var(--dark);
  font-weight: 700;
}
.banco-talentos .btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 8px 32px rgba(255, 207, 40, 0.35);
}

.vagas-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.filter-btn {
  padding: 8px 20px;
  border: 2px solid var(--border);
  background: var(--white);
  border-radius: 100px;
  font-family: 'Gilroy', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn.active,
.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.vagas-list { display: flex; flex-direction: column; gap: 16px; }

.vaga-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: var(--transition);
  cursor: pointer;
}
.vaga-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.vaga-info h3 {
  font-size: 19px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 10px;
}
.vaga-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
}
.badge-area  { background: var(--primary-light); color: var(--primary); }
.badge-tipo  { background: #fff3e0; color: #d84315; }
.badge-local { background: #e8f5e9; color: #2e7d32; }
.badge-novo  { background: #fce4ec; color: #b71c1c; font-size: 11px; }

.vaga-actions { flex-shrink: 0; }

/* ============================================
   MODAL (detalhe da vaga)
   ============================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--white);
  border-radius: 16px;
  max-width: 700px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.28);
  animation: modalIn 0.25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  padding: 32px 36px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.modal-header h2 { font-size: 22px; font-weight: 900; color: var(--dark); margin-bottom: 10px; }

.btn-close {
  background: var(--bg);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
  color: var(--gray);
}
.btn-close:hover { background: var(--border); color: var(--dark); }

.modal-body { padding: 28px 36px; }
.modal-body h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  margin-top: 24px;
}
.modal-body h4:first-child { margin-top: 0; }
.modal-body p,
.modal-body li { font-size: 15px; color: var(--text); line-height: 1.75; }
.modal-body ul { padding-left: 20px; list-style: disc; }
.modal-body ul li { margin-bottom: 4px; }

.modal-footer {
  padding: 20px 36px 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* ============================================
   FORMULARIO DE CANDIDATURA
   ============================================ */
.candidatura-section { padding: 60px 0 100px; }

.form-container {
  max-width: 740px;
  margin: 0 auto;
}

.candidatura-vaga-info {
  background: var(--primary-light);
  border: 1.5px solid rgba(231,42,75,0.2);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.candidatura-vaga-info .icon { font-size: 28px; }
.candidatura-vaga-info strong { font-size: 16px; font-weight: 900; color: var(--primary); display: block; }
.candidatura-vaga-info span  { font-size: 13px; color: var(--gray); }

.form-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 48px;
  box-shadow: var(--shadow);
}

.form-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 8px;
}
.form-group label .req { color: var(--primary); }

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Gilroy', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(231,42,75,0.09);
}
.form-control::placeholder { color: var(--gray-light); }
textarea.form-control { resize: vertical; min-height: 110px; }

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%236b6b80' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.file-upload {
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 44px 24px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  background: var(--bg);
}
.file-upload:hover,
.file-upload.drag-over {
  border-color: var(--primary);
  background: var(--primary-light);
}
.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.file-upload-icon { font-size: 42px; margin-bottom: 10px; }
.file-upload strong { color: var(--primary); }
.file-upload p { font-size: 14px; color: var(--gray); margin-top: 4px; }
.file-upload small { font-size: 12px; color: var(--gray-light); }

.file-selected {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 16px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}
.file-selected.show { display: flex; }
.file-selected button {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
  font-size: 18px;
  line-height: 1;
}

.upload-progress {
  display: none;
  margin-top: 12px;
  height: 6px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}
.upload-progress.show { display: block; }
.upload-progress-bar {
  height: 100%;
  background: var(--primary);
  border-radius: 100px;
  transition: width 0.3s ease;
  width: 0%;
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  display: none;
  align-items: center;
  gap: 10px;
}
.alert.show { display: flex; }
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.alert-error   { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }

/* ============================================
   LOADING
   ============================================ */
.loading-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray);
}
.spinner {
  width: 42px; height: 42px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.empty-state {
  text-align: center;
  padding: 80px 20px;
}
.empty-state .e-icon { font-size: 64px; margin-bottom: 20px; }
.empty-state h3 { font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.empty-state p  { font-size: 15px; color: var(--gray); }

/* ============================================
   ADMIN - LAYOUT
   ============================================ */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 260px;
  background: var(--dark);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
}

.admin-logo-box {
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.admin-logo-box img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}
.admin-logo-box small {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-top: 8px;
}

.admin-nav {
  padding: 16px 0;
  flex: 1;
  overflow-y: auto;
}
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 28px;
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
  border-right: 3px solid transparent;
}
.admin-nav a:hover { color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.05); }
.admin-nav a.active {
  color: var(--white);
  background: rgba(231,42,75,0.25);
  border-right-color: var(--primary);
}
.admin-nav a .nav-icon { font-size: 18px; width: 24px; text-align: center; }

.admin-nav-section {
  padding: 16px 28px 8px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.admin-logout {
  padding: 20px 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.admin-logout a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
}
.admin-logout a:hover { color: rgba(255,0,0,0.7); }

.admin-main {
  margin-left: 260px;
  flex: 1;
  background: #fdf5f6;
  min-height: 100vh;
}

.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 36px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.admin-topbar h1 { font-size: 20px; font-weight: 900; color: var(--dark); }
.admin-topbar-right { display: flex; align-items: center; gap: 14px; }
.admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray);
}
.admin-avatar {
  width: 36px; height: 36px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--primary);
  font-weight: 900;
}

.admin-content { padding: 32px 36px; }

/* ============================================
   ADMIN - STATS
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.stat-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.stat-number { font-size: 36px; font-weight: 900; color: var(--primary); line-height: 1; margin-bottom: 4px; }
.stat-label  { font-size: 13px; color: var(--gray); font-weight: 500; }
.stat-icon   { float: right; font-size: 32px; margin-top: -8px; }

/* ============================================
   ADMIN - TABLE
   ============================================ */
.table-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: visible;
  margin-bottom: 28px;
}
.table-card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.table-card-header h3 { font-size: 16px; font-weight: 900; color: var(--dark); }

.table-wrapper { overflow-x: auto; border-radius: 0 0 var(--radius) var(--radius); }

table { width: 100%; border-collapse: collapse; }
thead tr { background: var(--bg); }
th {
  padding: 13px 20px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
}
td {
  padding: 15px 20px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
}
tr:hover td { background: var(--bg); }

/* ============================================
   ADMIN - STATUS BADGES
   ============================================ */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
}
.status-novo       { background: #e3f2fd; color: #1565c0; }
.status-em_analise { background: #fff8e1; color: #f57f17; }
.status-aprovado   { background: #e8f5e9; color: #2e7d32; }
.status-reprovado  { background: #ffebee; color: #c62828; }

.toggle-ativo {
  position: relative;
  display: inline-block;
  width: 42px; height: 24px;
}
.toggle-ativo input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--gray-light);
  border-radius: 100px;
  transition: var(--transition);
  cursor: pointer;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: var(--transition);
}
.toggle-ativo input:checked + .toggle-slider { background: var(--primary); }
.toggle-ativo input:checked + .toggle-slider::before { transform: translateX(18px); }

/* ============================================
   ADMIN - MODAL
   ============================================ */
.admin-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 900;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.admin-modal-overlay.open { display: flex; }

.admin-modal {
  background: var(--white);
  border-radius: 16px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
  animation: modalIn 0.25s ease;
}

.admin-modal-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-modal-header h2 { font-size: 20px; font-weight: 900; color: var(--dark); }
.admin-modal-body   { padding: 28px 32px; }
.admin-modal-footer {
  padding: 20px 32px 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* ============================================
   ADMIN - LOGIN
   ============================================ */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, #561624 0%, #E72A4B 100%);
  padding: 20px;
}
.login-card {
  background: var(--white);
  border-radius: 20px;
  padding: 52px 48px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
}
.login-logo {
  margin-bottom: 10px;
}
.login-logo img {
  height: 36px;
  width: auto;
}
.login-card > p {
  color: var(--gray);
  font-size: 15px;
  margin-bottom: 36px;
}
.login-card h2 {
  font-size: 22px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 4px;
}

/* ============================================
   ADMIN - SEARCH / FILTERS
   ============================================ */
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.search-input {
  padding: 9px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Gilroy', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  outline: none;
  transition: var(--transition);
  min-width: 240px;
}
.search-input:focus { border-color: var(--primary); }

select.search-select {
  padding: 9px 36px 9px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Gilroy', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  background: var(--white);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%236b6b80' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}
.search-select:focus { border-color: var(--primary); }

.btn-clear-filters {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Gilroy', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-clear-filters .material-icons-outlined { font-size: 16px; }
.btn-clear-filters:hover {
  background: var(--primary-light);
  border-color: var(--primary);
}

/* Multi-select dropdown (cidades) */
.multi-select {
  position: relative;
  min-width: 180px;
}
.multi-select-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Gilroy', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  background: var(--white);
  cursor: pointer;
  outline: none;
  transition: var(--transition);
  white-space: nowrap;
}
.multi-select-btn:hover,
.multi-select-btn:focus { border-color: var(--primary); }
.multi-select-btn .ms-arrow {
  font-size: 18px;
  color: var(--gray);
  transition: transform .2s;
}
.multi-select.open .ms-arrow { transform: rotate(180deg); }
.multi-select-btn .ms-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  padding: 0 6px;
}
.multi-select-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  min-width: 220px;
  max-height: 260px;
  overflow-y: auto;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  z-index: 50;
  padding: 6px 0;
}
.multi-select.open .multi-select-dropdown { display: block; }
.multi-select-dropdown label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background .15s;
}
.multi-select-dropdown label:hover { background: var(--bg); }
.multi-select-dropdown input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}
.ms-search-wrap {
  padding: 8px 10px 4px;
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 1;
}
.ms-search {
  width: 100%;
  padding: 7px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Gilroy', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
}
.ms-search:focus { border-color: var(--primary); }
.ms-search::placeholder { color: var(--gray); }
.multi-select-dropdown .ms-clear {
  display: block;
  width: 100%;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: none;
  border: none;
  border-top: 1px solid var(--border);
  cursor: pointer;
  text-align: left;
}
.multi-select-dropdown .ms-clear:hover { background: var(--primary-light); }

/* ============================================
   ADMIN - VIEW TOGGLE
   ============================================ */
.view-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2px;
}
.view-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  color: var(--gray);
  transition: var(--transition);
}
.view-toggle-btn:hover {
  color: var(--primary);
  background: var(--primary-light);
}
.view-toggle-btn.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(231, 42, 75, 0.25);
}
.view-toggle-btn .material-icons-outlined {
  font-size: 20px;
}

/* ============================================
   ADMIN - CANDIDATURA CARDS GRID
   ============================================ */
.cand-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
  padding: 24px;
}

.cand-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cand-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(231, 42, 75, 0.12);
  transform: translateY(-2px);
}

.cand-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
}

.cand-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.cand-card-identity {
  flex: 1;
  min-width: 0;
}
.cand-card-identity h4 {
  font-size: 15px;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cand-card-email {
  font-size: 12px;
  color: var(--gray);
  font-weight: 400;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cand-card-meta {
  padding: 16px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cand-card-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
  font-weight: 400;
}
.cand-card-meta-item .material-icons-outlined {
  font-size: 18px;
  color: var(--gray);
  flex-shrink: 0;
}

.cand-card-mensagem {
  padding: 12px 20px 0;
  flex: 1;
}
.cand-card-mensagem p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  border-left: 3px solid var(--primary-mid);
  font-style: italic;
}

.cand-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  margin-top: auto;
  border-top: 1px solid var(--border);
}

.cand-card-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray);
  font-weight: 500;
}
.cand-card-date .material-icons-outlined {
  font-size: 16px;
}

.cand-card-actions {
  display: flex;
  gap: 4px;
}
.cand-card-action {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: var(--transition);
}
.cand-card-action:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.cand-card-action .material-icons-outlined {
  font-size: 18px;
}

/* ============================================
   CANDIDATURA DETALHE (modal admin)
   ============================================ */
.candidatura-detail dt {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 18px;
  margin-bottom: 4px;
}
.candidatura-detail dd { font-size: 15px; color: var(--text); }
.candidatura-detail a  { color: var(--primary); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  padding: 40px 0;
  text-align: center;
}
.footer p { font-size: 14px; color: rgba(255,255,255,0.45); }
.footer a  { color: var(--accent); }

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 1024px) {
  .values-grid    { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid  { grid-template-columns: repeat(2, 1fr); }
  .stats-grid     { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual     { display: none; }
  .about-grid      { grid-template-columns: 1fr; gap: 40px; }
  .values-grid     { grid-template-columns: 1fr; }
  .benefits-grid   { grid-template-columns: 1fr 1fr; }
  .form-row        { grid-template-columns: 1fr; }
  .form-card       { padding: 28px 24px; }
  .navbar-links    { display: none; }
  .vaga-card       { flex-direction: column; align-items: flex-start; }
  .banco-talentos-content { flex-direction: column; text-align: center; padding: 32px 24px; }
  .banco-talentos-text p  { max-width: 100%; }
  .admin-sidebar   { display: none; }
  .admin-main      { margin-left: 0; }
  .admin-content   { padding: 20px; }
  .stats-grid      { grid-template-columns: 1fr 1fr; }
  .cand-cards-grid { grid-template-columns: 1fr; padding: 16px; }
  .search-bar      { flex-direction: column; align-items: stretch; }
  .search-input    { min-width: 100%; }
}

@media (max-width: 480px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: 1fr; }
  .login-card    { padding: 36px 28px; }
}

/* ============================================
   CHAT IA FLUTUANTE
   ============================================ */
.chat-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 800;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(231, 42, 75, 0.35);
  transition: var(--transition);
}
.chat-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(231, 42, 75, 0.45);
}
.chat-fab .material-icons-outlined { font-size: 26px; }
.chat-fab-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--white);
}

.chat-panel {
  display: none;
  position: fixed;
  bottom: 96px;
  right: 28px;
  z-index: 800;
  width: 420px;
  max-height: 560px;
  background: var(--white);
  border-radius: 16px;
  border: 1.5px solid var(--border);
  box-shadow: 0 12px 48px rgba(0,0,0,0.18);
  flex-direction: column;
  overflow: hidden;
  animation: chatIn 0.25s ease;
}
.chat-panel.open { display: flex; }
@keyframes chatIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-header-avatar {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-header-avatar .material-icons-outlined { font-size: 20px; }
.chat-header-info h4 { font-size: 14px; font-weight: 700; }
.chat-header-info small { font-size: 11px; color: rgba(255,255,255,0.7); display: block; }
.chat-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: var(--transition);
}
.chat-close:hover { background: rgba(255,255,255,0.15); color: var(--white); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
  max-height: 380px;
  background: #fdf5f6;
}

.chat-msg {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.6;
  word-wrap: break-word;
}
.chat-msg-user {
  align-self: flex-end;
  background: var(--primary);
  color: var(--white);
  border-bottom-right-radius: 4px;
}
.chat-msg-ai {
  align-self: flex-start;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.chat-msg-ai strong { color: var(--dark); }
.chat-msg-ai ul, .chat-msg-ai ol { padding-left: 16px; margin: 4px 0; }
.chat-msg-ai li { margin-bottom: 2px; }

.chat-typing {
  align-self: flex-start;
  display: none;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  border-bottom-left-radius: 4px;
}
.chat-typing.show { display: flex; }
.chat-typing-dot {
  width: 7px;
  height: 7px;
  background: var(--gray);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out;
}
.chat-typing-dot:nth-child(2) { animation-delay: 0.16s; }
.chat-typing-dot:nth-child(3) { animation-delay: 0.32s; }
@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-5px); opacity: 1; }
}

.chat-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  background: var(--white);
  flex-shrink: 0;
}
.chat-input {
  flex: 1;
  padding: 9px 14px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-family: 'Gilroy', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  resize: none;
  max-height: 80px;
  line-height: 1.4;
}
.chat-input:focus { border-color: var(--primary); }
.chat-input::placeholder { color: var(--gray-light); }
.chat-send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}
.chat-send:hover { background: var(--primary-dark); }
.chat-send:disabled { opacity: 0.5; cursor: not-allowed; }
.chat-send .material-icons-outlined { font-size: 18px; }

.chat-welcome {
  text-align: center;
  padding: 20px;
  color: var(--gray);
  font-size: 13px;
  line-height: 1.6;
}
.chat-welcome .material-icons-outlined {
  font-size: 40px;
  color: var(--primary-mid);
  margin-bottom: 8px;
  display: block;
}

@media (max-width: 480px) {
  .chat-panel {
    right: 8px;
    left: 8px;
    bottom: 80px;
    width: auto;
    max-height: 70vh;
  }
  .chat-fab { bottom: 16px; right: 16px; }
}

/* ============================================
   PÁGINA DE VAGA INDIVIDUAL
   ============================================ */
.vaga-page-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  color: var(--gray);
  gap: 16px;
}

/* HERO */
.vaga-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  padding: 48px 0 56px;
}
.vaga-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  transition: var(--transition);
}
.vaga-back:hover { color: #fff; }
.vaga-hero-title {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 700px;
}
.vaga-hero-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.vaga-hero-meta .badge {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
}
.vaga-hero-date {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* LAYOUT 2 COLUNAS */
.vaga-body { padding: 48px 0 80px; }
.vaga-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.vaga-main { min-width: 0; }

/* SEÇÕES DE CONTEÚDO */
.vaga-section {
  margin-bottom: 24px;
}
.vaga-section:last-child {
  margin-bottom: 0;
}
.vaga-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.vaga-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}
.vaga-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
}
.vaga-text p {
  margin-bottom: 12px;
}
.vaga-text h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-top: 24px;
  margin-bottom: 8px;
}
.vaga-text ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.vaga-text ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 15px;
}
.vaga-text ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* SIDEBAR */
.vaga-sidebar {
  position: sticky;
  top: 24px;
}
.vaga-sidebar-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.vaga-sidebar-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.vaga-sidebar-card p {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.5;
}
.vaga-sidebar-info {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.vaga-sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.vaga-sidebar-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.vaga-sidebar-item small {
  display: block;
  font-size: 11px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}
.vaga-sidebar-item strong {
  font-size: 14px;
  color: var(--dark);
}

/* COMPARTILHAR */
.vaga-sidebar-share {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.vaga-sidebar-share small {
  font-size: 12px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}
.vaga-share-btns {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.share-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* CTA MOBILE FIXO */
.vaga-cta-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: #fff;
  border-top: 2px solid var(--border);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  z-index: 100;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .vaga-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .vaga-sidebar {
    position: static;
    order: -1;
  }
  .vaga-cta-mobile { display: block; }
  .vaga-body { padding-bottom: 100px; }
  .vaga-sidebar-card .btn { display: none; }
}

@media (max-width: 600px) {
  .vaga-hero { padding: 32px 0 40px; }
  .vaga-hero-title { font-size: 26px; }
  .vaga-section h2 { font-size: 18px; }
  .vaga-body { padding: 32px 0 100px; }
}
