/* =========================================================
   Oportuniza — Página Principal
   ========================================================= */

:root {
  --navy-950: #0a1730;
  --navy-900: #0e1f3e;
  --navy-800: #142a52;
  --navy-700: #1b3768;
  --blue-600: #2f6fed;
  --gold-500: #f5a623;
  --gold-400: #ffb84d;
  --gold-100: #fdf1dd;
  --green-600: #1f9d55;
  --purple-600: #7c4fd6;
  --brown-600: #8a5a2b;
  --ink-900: #101828;
  --ink-700: #344054;
  --ink-600: #475467;
  --ink-400: #98a2b3;
  --line: #e4e7ec;
  --surface: #ffffff;
  --surface-soft: #f6f8fc;
  --surface-blue: #eef3fc;

  --font-display: "Poppins", "Inter", sans-serif;
  --font-body: "Inter", "Poppins", sans-serif;

  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1180px;
}

@media (min-width: 1440px) {
  :root { --container: 1240px; }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
}

/* ---------- Botões reutilizáveis ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn--ghost {
  background: #fff;
  color: var(--navy-900);
  border-color: var(--line);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--ghost:hover {
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
}
.btn--ghost:hover i { color: #fff; }

.btn--gold {
  background: var(--gold-500);
  color: #fff;
}
.btn--gold:hover { filter: brightness(1.08); }

.btn--navy {
  background: var(--navy-900);
  color: #fff;
}
.btn--navy:hover { filter: brightness(1.15); }

/* ---------- Marca ---------- */

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--navy-900); }
.brand__tag { font-size: 0.66rem; letter-spacing: 0.03em; color: var(--gold-500); font-weight: 600; }

.brand--light .brand__name { color: #fff; }

/* ---------- Cabeçalho ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 24px;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 22px;
}

.main-nav__link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-700);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.main-nav__link:hover { color: var(--navy-900); }
.main-nav__link.is-active {
  color: var(--blue-600);
  font-weight: 600;
  border-bottom-color: var(--gold-500);
}

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

@media (max-width: 640px) {
  .site-header__inner { gap: 10px; padding: 12px 16px; }
  .brand__tag { display: none; }
  .header-actions { gap: 6px; }
  .header-actions .btn { padding: 8px 12px; font-size: 0.8rem; gap: 6px; }
  .header-actions .btn svg { width: 14px; height: 14px; flex-shrink: 0; }
}

@media (max-width: 400px) {
  .header-actions .btn span,
  .header-actions .btn { white-space: nowrap; }
  .header-actions a.btn--ghost span,
  .header-actions .btn--ghost { padding: 8px 10px; }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
}

@media (min-width: 960px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
  .main-nav__link--mobile-only { display: none; }
}

@media (max-width: 959px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 24px 18px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav__link { width: 100%; padding: 8px 0; border-bottom: none; }
  .header-actions__desktop-only { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #eef3fb 0%, #f7f9fd 100%);
  padding: 56px 0 96px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 60% at 95% 10%, rgba(47,111,237,0.08), transparent 60%),
    radial-gradient(30% 40% at 5% 90%, rgba(245,166,35,0.10), transparent 60%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero__content { max-width: 480px; }

@media (min-width: 1180px) {
  .hero__content { max-width: 640px; }
}

@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.2;
  color: var(--navy-900);
  margin: 0 0 14px;
}
.hero__title span { color: var(--gold-500); }

.hero__desc {
  color: var(--ink-600);
  font-size: 1rem;
  margin: 0 0 26px;
}

.search-bar {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: 0 12px 30px -18px rgba(16, 24, 40, 0.25);
  gap: 4px;
  flex-wrap: wrap;
}

.search-bar__field {
  flex: 1;
  min-width: 130px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: var(--navy-900);
}
.search-bar__field i { font-size: 0.9rem; color: var(--navy-900); }
.search-bar__field input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.84rem;
  color: var(--ink-900);
  width: 100%;
  min-width: 0;
}
.search-bar__field input:focus-visible { outline: none; }
.search-bar__field input::placeholder { color: var(--ink-400); }
.search-bar__field select {
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.84rem;
  font-family: var(--font-body);
  color: var(--ink-900);
  width: 100%;
  min-width: 0;
  cursor: pointer;
}

.search-bar__divider {
  width: 1px;
  align-self: stretch;
  background: var(--line);
  margin: 6px 0;
}

.search-bar__submit { border-radius: 10px; padding: 12px 18px; flex-shrink: 0; }

.popular-searches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--ink-600);
}

.pill {
  border: 1px solid var(--gold-500);
  background: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  color: var(--ink-700);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.pill:hover, .pill:focus-visible { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }

/* Foto full-bleed do lado direito, esbatida no fundo pálido */
.hero__photo {
  display: none;
}

@media (min-width: 900px) {
  .hero__photo {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 48%;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 22%);
    mask-image: linear-gradient(to right, transparent, #000 22%);
    pointer-events: none;
  }
}

.hero__illustration {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 25%;
}

/* Foto em cartão, para larguras onde a foto full-bleed ainda não cabe */
.hero__photo-inline {
  display: block;
  position: relative;
  margin-top: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px -22px rgba(16,24,40,0.32);
}
.hero__photo-inline img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
@media (min-width: 900px) {
  .hero__photo-inline { display: none; }
}

.hero__photo-inline__badge {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  box-shadow: 0 12px 24px -12px rgba(16,24,40,0.4);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.hero__photo-inline__badge .hero__badge-star { font-size: 0.85rem; margin-top: 1px; }
.hero__photo-inline__badge strong {
  display: block;
  font-size: 0.76rem;
  line-height: 1.25;
  color: var(--navy-900);
  margin-bottom: 2px;
}
.hero__photo-inline__badge p {
  margin: 0;
  font-size: 0.66rem;
  line-height: 1.3;
  color: var(--ink-600);
}
@media (max-width: 360px) {
  .hero__photo-inline__badge p { display: none; }
}

.hero__badge {
  display: none;
  position: relative;
  z-index: 3;
  margin: 22px auto 0;
  max-width: 300px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: 0 20px 40px -18px rgba(16,24,40,0.28);
  gap: 10px;
  align-items: flex-start;
}
.hero__badge-star { color: var(--gold-500); font-size: 1.1rem; line-height: 1; }
.hero__badge strong { display: block; font-size: 0.86rem; color: var(--navy-900); margin-bottom: 3px; }
.hero__badge p { margin: 0; font-size: 0.78rem; color: var(--ink-600); line-height: 1.4; }
.hero__badge-flags { display: inline-block; margin-top: 8px; font-size: 0.9rem; letter-spacing: 4px; }

@media (min-width: 900px) {
  .hero__badge {
    display: flex;
    position: absolute;
    z-index: 3;
    right: 40px;
    bottom: 64px;
    margin: 0;
  }
}

/* ---------- Estatísticas ---------- */

.stats-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: -30px auto 48px;
  position: relative;
  z-index: 2;
}

@media (min-width: 760px) {
  .stats-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 32px -22px rgba(16,24,40,0.25);
}

.stat-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  font-size: 1rem;
}
.stat-card__icon--blue   { background: var(--blue-600); }
.stat-card__icon--brown  { background: var(--brown-600); }
.stat-card__icon--green  { background: var(--green-600); }
.stat-card__icon--purple { background: var(--purple-600); }

.stat-card__text { flex-shrink: 0; }
.stat-card__text strong { display: block; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.2; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.stat-card__text span { font-size: 0.78rem; color: var(--ink-600); white-space: nowrap; }

.stat-card__spark { flex: 1; min-width: 0; height: 34px; margin-left: auto; }
.stat-card__spark polyline { visibility: hidden; }

/* ---------- Blocos de secção ---------- */

.section-block { padding: 8px 24px 48px; }

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-heading h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy-900);
  margin: 0;
}

.link-arrow { font-size: 0.86rem; font-weight: 600; color: var(--blue-600); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow--block { display: inline-block; margin-top: 14px; }

.link-small { font-size: 0.82rem; font-weight: 600; color: var(--blue-600); }

/* ---------- Categorias ---------- */

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (min-width: 640px) { .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Emprega tem 5 tipos de vaga (Tempo Integral, Tempo Parcial, Estágio, Freelance, Remoto),
   ao contrário do Oportuniza que tinha 7 categorias — por isso repeat(5) em vez de repeat(7). */
@media (min-width: 1000px) { .category-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.category-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.category-card:hover {
  border-color: var(--gold-500);
  box-shadow: 0 16px 32px -22px rgba(16,24,40,0.25);
  transform: translateY(-2px);
}

.category-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 6px;
}
.category-card__icon--blue    { background: #e3ecfd; color: var(--blue-600); }
.category-card__icon--green   { background: #e2f7ea; color: var(--green-600); }
.category-card__icon--purple  { background: #efe7fb; color: var(--purple-600); }
.category-card__icon--orange  { background: #fdeedd; color: #c9711b; }
.category-card__icon--skyblue { background: #e3f3fd; color: #1b8fd1; }
.category-card__icon--pink    { background: #fde6ee; color: #d1467e; }
.category-card__icon--trainee { background: #e2f7ea; color: #16a34a; }

.category-card__title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-900);
}

.category-card__count {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.category-card__count--blue    { color: var(--blue-600); }
.category-card__count--green   { color: var(--green-600); }
.category-card__count--purple  { color: var(--purple-600); }
.category-card__count--orange  { color: #c9711b; }
.category-card__count--skyblue { color: #1b8fd1; }
.category-card__count--pink    { color: #d1467e; }
.category-card__count--trainee { color: #16a34a; }

.category-card__label {
  font-size: 0.68rem;
  color: var(--ink-600);
  margin-bottom: 10px;
}

.category-card__cta {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--navy-800);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.category-card__cta i { font-size: 0.62rem; }
.category-card:hover .category-card__cta {
  border-color: var(--gold-500);
  color: var(--navy-900);
  background: var(--gold-100);
}

/* ---------- Grelha principal de 4 colunas ---------- */

.main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

@media (min-width: 700px) { .main-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .main-grid { grid-template-columns: 1.15fr 1.1fr 0.9fr 1fr; gap: 20px; } }
@media (min-width: 1440px) { .main-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: 0 1px 2px rgba(16,24,40,0.04), 0 14px 28px -22px rgba(16,24,40,0.16);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.panel:hover {
  border-color: #dbe1ea;
  box-shadow: 0 1px 2px rgba(16,24,40,0.05), 0 20px 36px -20px rgba(16,24,40,0.18);
}

.panel__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 10px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.panel__head h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.3;
  color: var(--navy-900);
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1 1 180px;
  min-width: 0;
}
.link-small { white-space: nowrap; }

.panel__icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  flex-shrink: 0;
}
.panel__icon--blue   { background: #e3ecfd; color: var(--blue-600); }
.panel__icon--brown  { background: #f2e7db; color: var(--brown-600); }
.panel__icon--gold   { background: var(--gold-100); color: #c9711b; }
.panel__icon--purple { background: #efe7fb; color: var(--purple-600); }

/* Vagas em destaque */

.job-list { display: flex; flex-direction: column; gap: 4px; }

.job-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  margin: 0 -12px;
  border-radius: var(--radius-sm);
  transition: background .2s ease;
}
.job-item:hover { background: var(--surface-soft); }
.job-item:hover .job-item__arrow { opacity: 1; color: var(--navy-800); }
.job-item + .job-item { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 4px; }
.job-item:first-child { padding-top: 12px; }

.job-item__logo {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px -4px rgba(16,24,40,0.35);
}

.job-item__info { flex: 1; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.job-item__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.job-item__top strong { flex: 1 1 auto; min-width: 120px; font-size: 0.88rem; color: var(--navy-900); line-height: 1.35; word-break: normal; overflow-wrap: normal; hyphens: none; }
.job-item__meta {
  font-size: 0.74rem;
  color: var(--ink-600);
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.job-item__meta i { font-size: 0.66rem; color: var(--ink-400); }
.job-item__dot { color: var(--ink-400); margin: 0 1px; }
.job-item__salary { font-size: 0.78rem; font-weight: 700; color: var(--green-600); }

.job-item__arrow {
  align-self: center;
  font-size: 0.72rem;
  color: var(--ink-400);
  opacity: 0.4;
  transform: translateX(0);
  transition: opacity .2s ease, color .2s ease;
  flex-shrink: 0;
}

.chip {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.chip--blue  { background: #e3ecfd; color: var(--blue-600); }
.chip--green { background: #e2f7ea; color: var(--green-600); }
.chip--gold  { background: var(--gold-100); color: #c9711b; }
.chip--orange   { background: #fdeedd; color: #c9711b; }
.chip--skyblue  { background: #e3f3fd; color: #1b8fd1; }
.chip--purple   { background: #efe7fb; color: var(--purple-600); }

/* Empresas em destaque */

.company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 10px;
}

.company-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
  min-width: 0;
  width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.company-card__name, .company-card__count { overflow-wrap: break-word; }
.company-card:hover {
  border-color: var(--gold-500);
  box-shadow: 0 12px 22px -16px rgba(16,24,40,0.28);
  transform: translateY(-2px);
}

.company-card__logo {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
}

.company-card__name { font-weight: 700; font-size: 0.78rem; color: var(--navy-900); }
.company-card__count { font-size: 0.7rem; color: var(--ink-600); }

/* Como funciona */

.steps { display: flex; flex-direction: column; gap: 4px; position: relative; }

.steps__item { display: flex; gap: 14px; align-items: flex-start; position: relative; padding-bottom: 24px; }
.steps__item:last-child { padding-bottom: 0; }
.steps__item::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.steps__item:last-child::before { display: none; }

.steps__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px #fff;
}
.steps__num--blue   { background: var(--blue-600); }
.steps__num--green  { background: var(--green-600); }
.steps__num--gold   { background: var(--gold-500); }
.steps__num--purple { background: var(--purple-600); }

.steps__item strong { display: block; font-size: 0.86rem; color: var(--navy-900); margin-bottom: 2px; }
.steps__item p { margin: 0; font-size: 0.78rem; color: var(--ink-600); line-height: 1.4; }

/* Testemunhos */

.testi-list { display: flex; flex-direction: column; gap: 14px; }
.testi-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.testi-item:hover { border-color: var(--gold-500); box-shadow: 0 12px 22px -18px rgba(16,24,40,0.25); }
.testi-item__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line);
}
.testi-item__body { min-width: 0; position: relative; }
.testi-item__quote { position: absolute; top: -2px; right: 0; font-size: 0.85rem; color: var(--gold-400); opacity: 0.55; }
.testi-item__body p {
  margin: 0 0 10px;
  font-size: 0.84rem;
  color: var(--ink-700);
  line-height: 1.5;
  padding-right: 16px;
}
.testi-item__footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.testi-item__footer strong { display: block; font-size: 0.82rem; color: var(--navy-900); }
.testi-item__footer span { display: block; font-size: 0.72rem; color: var(--ink-600); }
.testi-item__stars { color: var(--gold-500); font-size: 0.62rem; letter-spacing: 2px; flex-shrink: 0; }

/* ---------- Rodapé ---------- */

.site-footer { background: var(--navy-950); color: #cdd6e8; margin-top: 30px; border-top: 3px solid var(--gold-500); }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 52px 24px 40px;
}

@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 40px; } }

.footer-brand p { font-size: 0.84rem; line-height: 1.6; margin: 14px 0 0; color: #a9b5cc; max-width: 320px; }

.footer-col h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.88rem;
  margin: 0 0 14px;
}
.footer-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: #a9b5cc;
  margin-bottom: 10px;
  transition: color .2s ease, transform .2s ease;
  width: fit-content;
}
.footer-col a i {
  width: 14px;
  text-align: center;
  font-size: 0.72rem;
  flex-shrink: 0;
  transition: transform .2s ease, filter .2s ease;
}
.footer-col a:hover i { transform: translateX(2px) scale(1.1); filter: brightness(1.25) saturate(1.15); }
.footer-col a:hover { color: #fff; transform: translateX(2px); }

.social-links { display: flex; gap: 10px; margin-bottom: 22px; }
.social-links a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #fff;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.social-links a:hover { transform: translateY(-2px); filter: brightness(1.1); box-shadow: 0 8px 16px -6px rgba(0,0,0,0.5); }
.social-links__fb { background: #1877F2; }
.social-links__li { background: #0A66C2; }
.social-links__ig { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-links__yt { background: #FF0000; }

.newsletter-form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter-form__field {
  flex: 1;
  min-width: 160px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  padding: 0 12px;
}
.newsletter-form__field i { color: var(--gold-400); font-size: 0.8rem; flex-shrink: 0; }
.newsletter-form__field input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 10px 0;
  font-size: 0.82rem;
  color: #fff;
}
.newsletter-form__field input:focus { outline: none; }
.newsletter-form__field:focus-within { border-color: var(--gold-500); }
.newsletter-form input::placeholder { color: #8494b3; }
.newsletter-form button {
  background: var(--gold-500);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: filter .2s ease, transform .2s ease;
}
.newsletter-form button i { font-size: 0.76rem; }
.newsletter-form button:hover { filter: brightness(1.1); transform: translateY(-1px); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  text-align: center;
  font-size: 0.78rem;
  color: #8494b3;
}

/* ---------- Acessibilidade ---------- */

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* =========================================================
   CARTÕES DE VAGA (listagens completas: listar_vagas.php,
   estagios.php) — grelha de cartões, cores azul/laranja/branco
========================================================= */

.vagas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 720px)  { .vagas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .vagas-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

.vaga-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: 0 1px 2px rgba(16,24,40,0.04), 0 14px 28px -22px rgba(16,24,40,0.16);
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.vaga-card:hover {
  border-color: var(--blue-600);
  box-shadow: 0 1px 2px rgba(16,24,40,0.05), 0 20px 36px -20px rgba(47,111,237,0.28);
  transform: translateY(-2px);
}

.vaga-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.vaga-card__empresa {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.vaga-card__logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-100, #e3ecfd);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  overflow: hidden;
}
.vaga-card__logo img { width: 100%; height: 100%; object-fit: cover; }
.vaga-card__empresa-nome {
  font-size: 0.8rem;
  color: var(--ink-600);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vaga-card__estado {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 9px;
  border-radius: 20px;
  flex-shrink: 0;
  white-space: nowrap;
}
.vaga-card__estado::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.vaga-card__estado--aberta  { background: #e9f7ee; color: #1f9d55; }
.vaga-card__estado--fechada { background: #fdeceb; color: #c23b3b; }

.vaga-card__titulo {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 12px;
}
.vaga-card__titulo a { color: var(--navy-900); text-decoration: none; }
.vaga-card__titulo a:hover { color: var(--blue-600); }

.vaga-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}
.vaga-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--surface-soft, #f6f8fc);
  border: 1px solid var(--line);
  color: var(--ink-600);
  padding: 4px 9px;
  border-radius: 7px;
  font-size: 0.72rem;
}
.vaga-card__tag i { color: var(--gold-500); font-size: 0.7rem; }

.vaga-card__descricao {
  color: var(--ink-600);
  font-size: 0.82rem;
  line-height: 1.55;
  margin: 0 0 16px;
  flex-grow: 1;
}

.vaga-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.vaga-card__data {
  font-size: 0.72rem;
  color: var(--ink-400, #98a2b3);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.vaga-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--blue-600);
  color: #fff;
  text-decoration: none;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: filter .15s ease, transform .15s ease;
}
.vaga-card__cta:hover { filter: brightness(1.12); transform: translateX(1px); }
.vaga-card__cta i { font-size: 0.72rem; }

/* =========================================================
   CARTÃO DE PESQUISA (topo das páginas de listagem: Empregos,
   Estágios, Bolsas, Concursos, Cursos, Empresas)
   — azul (ação) + laranja (foco/destaque) + branco (fundo)
========================================================= */

.page-topo {
  margin: 8px 0 26px;
}
.page-topo h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 8px;
}
.page-topo p {
  color: var(--ink-600);
  font-size: 0.95rem;
  margin: 0;
}

.finder-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 26px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(16,24,40,0.04);
}

.finder-form {
  display: grid;
  grid-template-columns: 1.5fr;
  gap: 14px;
}
@media (min-width: 700px)  { .finder-form { grid-template-columns: 1.6fr 1fr auto; gap: 16px; } }
@media (min-width: 900px)  { .finder-form.finder-form--3 { grid-template-columns: 1.5fr 1fr 1fr auto; } }
@media (min-width: 560px)  { .finder-form.finder-form--2 { grid-template-columns: 1fr auto; gap: 16px; } }

.finder-field { position: relative; }
.finder-field i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-400);
  font-size: 0.86rem;
  pointer-events: none;
}
.finder-field input,
.finder-field select {
  width: 100%;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  padding: 0 16px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink-900);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.finder-field input { padding-left: 44px; }
.finder-field input:focus,
.finder-field select:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.14);
}

.finder-btn {
  height: 50px;
  padding: 0 26px;
  border: none;
  border-radius: 9px;
  background: var(--blue-600);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  transition: filter .15s ease;
}
.finder-btn:hover { filter: brightness(1.1); }

.finder-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.finder-count { color: var(--ink-600); font-size: 0.84rem; }
.finder-count strong { color: var(--navy-900); }
.finder-clear {
  color: var(--blue-600);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
}
.finder-clear:hover { text-decoration: underline; }
