/* resources/css/wesalt.css */

/* Tokens */
:root {
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: rgba(15, 23, 42, .10);
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-sm: 0 6px 18px rgba(15, 23, 42, .08);
  --radius: 20px;
  --radius-sm: 14px;

  /* Ajuste para a nova identidade */
  --primary: #00FF9D;
  --primary-2: #8017FC;
  --ring: rgba(17, 24, 39, .14);

  --chip: rgb(128 23 252 / 6%);
  --chip-text: #8017fc;
}

/* Base */
body {
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout */
.w-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 18px;
}

/* Header */
.w-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.w-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 18px;
}

.w-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.w-logo {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  letter-spacing: .02em;
  font-size: 14px;
}

.w-brand__meta {
  line-height: 1.05;
  border-left: 1px solid #e2e3e5;
  padding-left: 10px;
}

.w-brand__title {
  font-weight: 650;
  font-size: 16px;
  letter-spacing: -.01em;
}

.w-brand__sub {
  font-size: 12px;
  color: var(--muted);
}

/* Nav */
.w-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.w-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 550;
  color: rgba(15, 23, 42, .78);
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.w-link:hover {
  background: rgba(15, 23, 42, .06);
}

.w-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 650;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.w-btn:active {
  transform: translateY(1px);
}

.w-btn-primary {
  color: #fff;
  background: #8017FC;
  box-shadow: 0 10px 20px rgba(17, 24, 39, .18);
}

.w-btn-primary:hover {
  box-shadow: 0 14px 30px rgba(17, 24, 39, .22);
}

.w-btn-ghost {
  background: #fff;
  border-color: var(--border);
  color: rgba(15, 23, 42, .82);
}

.w-btn-ghost:hover {
  background: rgba(15, 23, 42, .04);
}

/* Cards */
.w-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.w-card-pad {
  padding: 18px;
}

/* Titles */
.w-h1 {
  font-size: 22px;
  font-weight: 720;
  letter-spacing: -.02em;
}

.w-p {
  margin-top: 6px;
  font-size: 16px;
  color: var(--muted);
}

/* Form */
.w-grid {
  display: grid;
  gap: 12px;
}

.w-grid.admin {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.w-grid .w-btn {
  font-size: 12px;
}

.w-grid-5 {
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
}

@media (max-width: 980px) {
  .w-grid-5 {
    grid-template-columns: 1fr;
  }
}

.w-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(15, 23, 42, .78);
}

.w-input,
.w-select,
.w-textarea {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, .12);
  background: rgba(255, 255, 255, .92);
  color: rgba(15, 23, 42, .92);
  outline: none;
  box-shadow: 0 1px 0 rgba(15, 23, 42, .03);
  transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.w-textarea {
  height: auto;
  padding: 10px 12px;
}

.w-input:focus,
.w-select:focus,
.w-textarea:focus {
  border-color: rgba(17, 24, 39, .20);
  box-shadow: 0 0 0 6px var(--ring);
  background: #fff;
}

.w-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}

@media (max-width: 980px) {
  .w-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Badges */
.w-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--chip-text);
  font-size: 12px;
  font-weight: 600;
}

/* Job card */
.w-job {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 18px;
  transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease;
}

.w-job:hover {
  transform: translateY(-2px);
  border-color: rgb(128 23 252);
  box-shadow: var(--shadow);
}

.w-job__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.w-jobs-grid.home .w-job__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-direction: column;
}

.w-job__title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.w-job__meta {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.w-job__desc {
  margin-top: 15px;
  color: rgba(15, 23, 42, .70);
  border-top: 1px solid #f1f1f2;
  padding-top: 15px;
  font-size: 15px;
  line-height: 1.35em;
}

.w-job__right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.w-date {
  font-size: 12px;
  color: var(--muted);
}

/* Alerts */
.w-alert {
  border-radius: 18px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .85);
}

.w-alert-success {
  border-color: rgba(16, 185, 129, .25);
  background: rgba(16, 185, 129, .08);
  color: rgba(6, 95, 70, .95);
}

/* Grid de vagas */
.w-jobs-grid {
  display: grid;
  /* grid-template-columns: repeat(2, 1fr); */
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* Mobile */
@media (max-width: 980px) {
  .w-jobs-grid {
    grid-template-columns: 1fr;
  }
}

.w-grid-4 {
  grid-template-columns: 2fr 1fr 1fr 1fr;
}

.w-job-page {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 14px;
}

@media (max-width: 980px) {
  .w-job-page {
    grid-template-columns: 1fr;
  }
}

/* Lista com seta */
.w-list-arrow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.w-list-arrow li {
  position: relative;
  padding-left: 0;
  line-height: 1.5;
  color: rgba(15, 23, 42, .82);
}

.w-list-check li::before {
  content: "✓";
  color: rgba(16, 185, 129, .9);
}

img.w-logo-img {
  width: 180px;
}

/* Box interno no card */
.w-card-mini {
  border: 1px solid rgba(15, 23, 42, .08);
  background: rgba(15, 23, 42, .02);
  border-radius: 16px;
  padding: 12px 12px;
}

/* Duas colunas dentro do card, vira 1 no mobile */
.w-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 980px) {
  .w-two-cols {
    grid-template-columns: 1fr;
  }
}

.w-mini-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: rgba(15, 23, 42, .82);
  margin-bottom: 8px;
}

.w-mini-more {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(15, 23, 42, .55);
  font-weight: 600;
}

/* Lista compacta para caber no card */
.w-list-compact {
  gap: 6px;
}

.w-list-compact li {
  padding-left: 18px;
  font-size: 12px;
  color: rgba(15, 23, 42, .72);
}

.w-list-compact li::before {
  font-size: 14px;
}

.w-btn-sm {
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
}

.w-btn-roxo {
  background: #fff;
  border-color: #8017FC;
  color: #8017FC;
}

/* Botão com ícone */
.w-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.w-btn-icon__svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* .p-40 {
  padding: 40px;
} */

.gap0 {
  gap: 0px;
}

.f15 {
  font-size: 15px;
}

.bg-gray-800 {
  background: #000;
}

.w-btn-ghost:hover svg {
  transition: color .15s ease;
}

.w-btn-ghost[type="submit"]:hover {
  color: #dc2626;
}

.note-editor .note-toolbar,
.note-popover .popover-content {
  margin: 0;
  padding: 10px 15px !important;
}

.w-jobs-grid.home .w-job__desc {
  min-height: 115px;

}

.hero-banner {
  position: relative;
  width: 100%;
  height: 280px;
  background-image: url('/images/banner-bg.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 0 0 32px 32px;
  overflow: hidden;
  margin-bottom: 20px;
  margin-top: -30px;
}

/* Gradiente roxo por cima da imagem */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(109, 40, 217, 0.92) 0%,
      rgba(124, 58, 237, 0.9) 45%,
      rgba(76, 29, 149, 0.92) 100%);
  z-index: 1;
}

/* Conteúdo */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
  padding-bottom: 50px;
  padding-left: 40px;
}

.hero-content h1 {
  font-size: 2.3em;
  font-weight: 700;
  margin-bottom: 6px;
}

.hero-content p {
  font-size: 1.25em;
  opacity: 0.9;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-banner {
    height: 180px;
    border-radius: 0 0 24px 24px;
  }

  .hero-content h1 {
    font-size: 2em;
  }
}

.system-footer {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  margin-top: 20px;
  font-size: 14px;
  color: #475569;
}

.footer-container {
  max-width: 1064px;
  margin: 0 auto;
  padding: 48px 0px 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand img {
  height: 36px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 16px;
  max-width: 260px;
}

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

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #475569;
  transition: all .2s ease;
}

.footer-social a:hover {
  background: #7c3aed;
  border-color: #7c3aed;
  color: #fff;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #8017fc;
}

.footer-column p {
  margin-bottom: 0px;
  color: #64748b;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding: 16px 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1064px;
  margin: 0 auto;
  font-size: 13px;
  color: #64748b;
}

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

.footer-links a {
  color: #64748b;
  text-decoration: none;
}

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

/* Mobile */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: rgb(124 58 237 / 79%);
  transition: fill .2s ease;
}

.footer-social a:hover {
  background: #7c3aed;
  border-color: #7c3aed;
}

.footer-social a:hover svg {
  fill: #ffffff;
}

.w-link-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.w-link-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

@media (max-width: 900px) {

  img.w-logo-img {
    width: 120px;
  }

  .w-brand__meta {
    display: none;
  }

  .hero-banner {
    height: 200px;
  }

  .w-grid-4 {
    grid-template-columns: 1fr;
  }

  .system-footer {
    padding: 0 20px;
    text-align: center;
  }

  .footer-brand {
    margin: 0 auto;
  }

  .footer-brand img {
    height: 36px;
    display: block;
    margin: 0 auto;
    margin-bottom: 20px !important;
  }

  .w-grid.admin {
    grid-template-columns: 1fr;
  }

  .w-job__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-direction: column;
  }



}