/* ===== DESIGN TOKENS ===== */
:root {
  --bg: #F9FDFE;
  --panel: rgba(255, 255, 255, 0.55);
  --panel-glass: rgba(255, 255, 255, 0.55);
  --panel-blur: blur(18px);
  --panel-soft: rgba(255, 255, 255, 0.35);
  --line: rgba(186, 206, 229, 0.35);
  --line-strong: rgba(186, 206, 229, 0.5);
  --text: #1a2332;
  --muted: #5a6a7a;
  --primary: #2dd5a5;
  --secondary: #3b82c4;
  --accent: #ff7c5e;
  --danger: #e54d4d;
  --ok: #2fad60;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
  --dark-bg: #2e3b4e;
  --dark-text: #bacee6;
  --radius: 16px;
  --radius-lg: 24px;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Ensure hidden attribute always hides elements regardless of CSS display */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background-color 300ms ease;
}

/* ===== ABSTRACT BLOB BACKGROUND ===== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 50% at 12% 20%, rgba(186, 206, 229, 0.903) 0%, transparent 70%),
    radial-gradient(ellipse 45% 40% at 85% 15%, rgba(186, 206, 229, 0.715) 0%, transparent 65%),
    radial-gradient(ellipse 50% 55% at 70% 75%, rgba(186, 206, 229, 0.604) 0%, transparent 70%),
    radial-gradient(ellipse 40% 45% at 25% 80%, rgba(186, 206, 229, 0.586) 0%, transparent 65%),
    radial-gradient(ellipse 35% 30% at 50% 45%, rgba(186, 206, 229, 0.497) 0%, transparent 60%),
    #ffffff00;
  pointer-events: none;
}

body,
input,
select,
textarea,
button {
  font: inherit;
}

/* ===== LAYOUT ===== */
.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 56px;
}

.stack {
  display: grid;
  gap: 0;
}

/* ===== TOPBAR ===== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: transform 300ms ease, box-shadow 200ms ease;
}

.topbar--hidden {
  transform: translateY(-100%);
}

/* Compensar header fixo nas páginas internas */
body:not([data-page="home"]) main {
  padding-top: 76px;
}

.topbar.is-scrolled {
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-link {
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #000000;
  color: #efef05;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  font-size: 1rem;
}

.brand-copy small {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-size: 0.68rem;
}

/* ===== TYPOGRAPHY ===== */
.nav a,
.button,
.icon-button,
h1,
h2,
h3,
th {
  font-family: "Space Grotesk", sans-serif;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--dark-bg);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ===== NAV ===== */
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex: 1;
  position: relative;
}

/* ===== NAV INDICATOR (sliding pill) ===== */
.nav-indicator {
  position: absolute;
  bottom: -8px;
  height: 2.5px;
  border-radius: 999px;
  background: var(--secondary);
  transition: left 380ms cubic-bezier(.4, 0, .2, 1), width 380ms cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}

.topbar-actions,
.hero-actions,
.filter-row,
.radio-group,
.form-inline,
.status-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.nav a,
.sidebar-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: color 260ms ease, background 260ms ease, border-color 260ms ease;
}

.nav a.is-active,
.sidebar-nav a.is-active {
  color: #ffffff;
  font-weight: 600;
  border-color: var(--line-strong);
  background: var(--dark-bg);
  transition: color 260ms ease, background 260ms ease, border-color 260ms ease;
}

.nav a:hover:not(.is-active) {
  background: rgba(46, 59, 78, 0.08);
  color: var(--dark-bg);
  border-color: var(--line-strong);
}

.sidebar-nav a:hover {
  box-shadow: 0 2px 8px rgba(46, 59, 78, 0.18);
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.topbar-cta {
  color: var(--secondary);
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 160ms ease;
}

.topbar-cta:hover {
  color: var(--text);
}

/* ===== BUTTONS ===== */
.button,
.icon-button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.button.primary {
  background: var(--dark-bg);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(46, 59, 78, 0.18);
}

.button.primary:hover {
  box-shadow: 0 4px 16px rgba(46, 59, 78, 0.28);
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--line-strong);
}

.button.ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
}

.button.danger {
  background: #e74c3c;
  color: #fff;
  border: none;
}

.button.danger:hover { background: #c0392b; }

/* ===== RADIO GROUP ===== */
.radio-group {
  border: none;
  padding: 0;
  margin: 0;
}

.radio-group legend {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text);
}

.radio-label input[type="radio"] {
  width: auto;
  margin: 0;
  accent-color: var(--primary);
}

/* ===== ICON BUTTONS (edit/delete on cards) ===== */
.job-rh-actions {
  display: inline-flex;
  gap: 6px;
  margin-left: auto;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 160ms, border-color 160ms, background 160ms;
}

.icon-btn:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.job-delete-btn:hover {
  color: #e74c3c;
  border-color: #e74c3c;
}

/* ===== OPTIONAL HINT ===== */
.optional-hint {
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--muted);
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  font-size: 1.3rem;
}

.menu-button {
  display: none;
}

/* ===== HEADINGS / TEXT ===== */
h1,
.page-title {
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--text);
}

h2,
h3 {
  margin: 0 0 10px;
  color: var(--text);
}

p,
li,
label {
  color: var(--muted);
}

th,
td,
span {
  color: var(--muted);
}

.page-intro {
  max-width: 52rem;
  padding: 40px 0 2px;
}

.page-lead {
  max-width: 42rem;
  line-height: 1.8;
}

/* ===== HERO HOME — FULLSCREEN ===== */
.hero-home {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 120px 48px 60px;
  overflow: hidden;
  background: var(--dark-bg);
  border: none;
  box-shadow: none;
}

.home-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: none;
  border-radius: 0;
}

.carousel-track {
  position: absolute;
  inset: 0;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 800ms ease;
}

.carousel-slide.is-active {
  opacity: 1;
}

.carousel-slide::before,
.carousel-slide::after {
  content: "";
  position: absolute;
}

/* Slide 1: STIK — Tradição */
.slide-company {
  background: linear-gradient(135deg, #2e3b4e 0%, #1e2a3a 50%, #3a4d63 100%);
}

.slide-company::before {
  right: 6%;
  bottom: 0;
  width: 30%;
  height: 70%;
  border-radius: 180px 180px 0 0;
  background: linear-gradient(180deg, rgba(186, 206, 230, 0.2), rgba(186, 206, 230, 0.02));
}

.slide-company::after {
  left: 55%;
  top: 12%;
  width: 22%;
  height: 40%;
  border-radius: 24px;
  background: rgba(186, 206, 230, 0.06);
  border: 1px solid rgba(186, 206, 230, 0.1);
}

/* Slide 2: Produção */
.slide-production {
  background: linear-gradient(160deg, #364859 0%, #2e3b4e 50%, #445668 100%);
}

.slide-production::before {
  left: 55%;
  bottom: 0;
  width: 35%;
  height: 65%;
  border-radius: 140px 140px 0 0;
  background: linear-gradient(180deg, rgba(186, 206, 230, 0.14), rgba(186, 206, 230, 0.02));
}

.slide-production::after {
  right: 8%;
  top: 15%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(186, 206, 230, 0.08);
}

/* Slide 3: Pessoas */
.slide-people {
  background: linear-gradient(135deg, #344356 0%, #2e3b4e 50%, #3d5066 100%);
}

.slide-people::before {
  right: 8%;
  bottom: 10%;
  width: 34%;
  height: 22%;
  border-radius: 20px;
  background: rgba(186, 206, 230, 0.06);
}

.slide-people::after {
  left: 55%;
  bottom: 0;
  width: 28%;
  height: 68%;
  border-radius: 130px 130px 0 0;
  background: linear-gradient(180deg, rgba(45, 213, 165, 0.12), rgba(45, 213, 165, 0.02));
}

/* Hero overlay copy */
.carousel-copy {
  display: none;
}

.hero-home-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 16px;
  max-width: 38rem;
}

.hero-home-copy .eyebrow {
  color: #ffffff;
}

.hero-home-copy h1 {
  color: #ffffff;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
}

.hero-home-copy .page-lead {
  color: #ffffff;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

.hero-home .button.primary {
  background: #ffffff;
  color: var(--dark-bg);
}

.hero-home .button.secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Carousel dots in hero */
.carousel-controls {
  position: absolute;
  bottom: 32px;
  left: 48px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-button {
  display: none;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.3);
  transition: background 200ms ease, transform 200ms ease;
}

.carousel-dot.is-active {
  background: #ffffff;
  transform: scale(1.3);
}

.carousel-dots {
  display: flex;
  gap: 10px;
}

/* ===== HORIZONTAL SCROLL SECTION (Values) ===== */
.hscroll-section {
  position: relative;
}

.hscroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: transparent;
}

.hscroll-header {
  padding: 0 48px 32px;
}

.hscroll-header .eyebrow {
  margin-bottom: 8px;
}

.hscroll-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
}

.hscroll-viewport {
  flex: 1;
  overflow: hidden;
  padding: 0 0 48px;
}

.hscroll-track {
  display: flex;
  gap: 56px;
  padding: 0 48px;
  align-items: flex-end;
  will-change: transform;
}

/* ===== VALUE BLOCKS (asymmetric layout) ===== */
.value-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: var(--radius-lg);
  /* background: var(--panel-glass); */
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  /* border: 1px solid var(--line);
  box-shadow: var(--shadow); */
  overflow: hidden;
  transition: box-shadow 260ms ease, transform 260ms ease;
}


.value-block-visual {
  border-radius: 12px;
  margin: 12px;
  flex-shrink: 0;
  overflow: hidden;
}

.value-block-content {
  padding: 8px 24px 28px;
}

.value-block-content h3 {
  font-size: 2.8rem;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.value-block-content p {
  line-height: 1.7;
  font-size: 1.35rem;
}

/* Variant: tall — large image on top */
.value-block--tall {
  flex: 0 0 500px;
  flex-direction: column;
}

.value-block--tall .value-block-visual {
  height: 440px;
}

/* Variant: compact — smaller image on top */
.value-block--compact {
  flex: 0 0 400px;
  flex-direction: column;
}

.value-block--compact .value-block-visual {
  height: 280px;
}

/* Variant: narrow — tall and slim */
.value-block--narrow {
  flex: 0 0 370px;
  flex-direction: column;
}

.value-block--narrow .value-block-visual {
  height: 400px;
}

/* Variant: horizontal — image left, text right */
.value-block--horizontal {
  flex: 0 0 800px;
  flex-direction: row;
  align-items: stretch;
}

.value-block--horizontal .value-block-visual {
  width: 50%;
  min-height: 360px;
  margin: 12px 0 12px 12px;
}

.value-block--horizontal .value-block-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 32px;
  flex: 1;
}

/* Variant: horizontal reversed — text left, image right */
.value-block--reverse {
  flex-direction: row-reverse;
}

.value-block--reverse .value-block-visual {
  margin: 12px 12px 12px 0;
}

/* Value card visual placeholders */
.vcard-trust {
  background: linear-gradient(135deg, #2e3b4e, #445668);
}

.vcard-excellence {
  background: linear-gradient(135deg, #3a5068, #2e3b4e);
}

.vcard-leadership {
  background: linear-gradient(135deg, #2e3b4e 0%, #3d5066 100%);
}

.vcard-ethics {
  background: linear-gradient(160deg, #364859, #2e3b4e);
}

.vcard-simplicity {
  background: linear-gradient(135deg, #445668, #2e3b4e);
}

.vcard-results {
  background: linear-gradient(135deg, #2e3b4e, #364859);
}

/* ===== PURPOSE SECTION (full-viewport) ===== */
.purpose-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 48px;
  text-align: center;
  background: transparent;
  color: var(--dark-bg);
}

.purpose-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 1.78rem;
  color: var(--dark-bg);
  opacity: 0.6;
  margin-bottom: 24px;
  font-weight: 600;
}

.purpose-text {
  max-width: 88rem;
  margin: 0 auto;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 6.8rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--dark-bg);
}

.purpose-text em {
  font-style: normal;
  color: var(--dark-bg);
  opacity: 0.7;
}

/* ===== BANNER SECTION (full-viewport) ===== */
.banner-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 48px;
}

.banner-section.banner-bg {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: url('img/img_quem_somos.png') center center/cover no-repeat;
}

.banner-section.banner-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--dark-bg);
  opacity: 0.45;
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  max-width: 700px;
  margin: 0 24px;
  padding: 48px 32px;
  border-radius: 24px;

}

.banner-content h2,
.banner-content p,
.banner-content .eyebrow {
  color: #fff;
}

/* ===== CONTACT STRIP ===== */
.contact-strip {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 60px 0 0;
}

.content-section {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--panel-glass);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.content-section p,
.content-section li {
  line-height: 1.8;
}

.filter-bar {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--panel-glass);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-bottom: 48px;
}

/* ===== INFO GRID (other pages) ===== */
.info-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.company-layout,
.field-grid,
.rh-layout,
.process-layout,
.talent-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 48px;
}

/* ===== VALUES WALL (other pages) ===== */
.values-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.values-wall span,
.tag,
.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.88rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-links a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
}

.contact-links a:hover {
  color: var(--text);
}

/* ===== FORMS ===== */
.full-form {
  display: grid;
  gap: 18px;
}

.field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-grid label,
.full-form label {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.form-inline {
  margin-top: 18px;
  flex-wrap: wrap;
}

.field-grid label,
.full-form label {
  position: relative;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 8px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  padding: 14px 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea {
  resize: none;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(59, 130, 196, 0.12);
}

input.is-invalid,
textarea.is-invalid,
select.is-invalid,
.custom-select .select-trigger.is-invalid {
  border-color: rgba(229, 77, 77, 0.7);
  box-shadow: 0 0 0 3px rgba(229, 77, 77, 0.12);
}

input.is-valid,
textarea.is-valid,
select.is-valid,
.custom-select .select-trigger.is-valid {
  border-color: rgba(46, 59, 78, 0.55);
  box-shadow: 0 0 0 3px rgba(46, 59, 78, 0.08);
}

.field-message {
  display: block;
  min-height: 1.1rem;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--muted);
}

.field-message.is-error {
  color: var(--danger);
}

.field-message.is-valid {
  color: var(--dark-bg);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6a7a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.select-native {
  display: none;
}

.custom-select {
  position: relative;
  margin-top: 8px;
}

.custom-select.is-open {
  z-index: 40;
}

.select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.select-trigger:hover {
  background: rgba(255, 255, 255, 0.84);
}

.select-trigger:focus-visible {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(59, 130, 196, 0.12);
}

.select-trigger-text.is-placeholder {
  color: var(--muted);
}

.select-trigger-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--dark-bg);
  transition: transform 180ms ease;
}

.custom-select.is-open .select-trigger-icon {
  transform: rotate(180deg);
}

.select-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: auto;
  width: min(420px, calc(100vw - 16px));
  z-index: 9999;
  display: grid;
  gap: 6px;
  max-height: 280px;
  padding: 10px;
  overflow-y: auto;
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 2px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 18px 44px rgba(46, 59, 78, 0.16);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(46, 59, 78, 0.24) rgba(255, 255, 255, 0.92);
}

.select-panel.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.select-panel.select-panel--above {
  transform: translateY(6px);
}

.select-panel.select-panel--above.is-open {
  transform: translateY(0);
}

.select-option {
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}

.select-option:hover,
.select-option.is-highlighted {
  background: rgba(46, 59, 78, 0.08);
}

.select-option.is-selected {
  background: rgba(46, 59, 78, 0.12);
  color: var(--dark-bg);
  font-weight: 700;
}

.choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.choice input {
  width: auto;
  margin: 0;
}

.feedback-box strong {
  display: block;
  margin: 8px 0;
  color: var(--text);
  font-size: 1.4rem;
}

/* ===== CITY COMBOBOX ===== */
.city-select-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  gap: 0;
}

.city-select-search-wrap {
  flex-shrink: 0;
  padding: 10px 10px 8px;
  border-bottom: 1px solid var(--line);
}

.city-select-search {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-size: 1.0rem;
  outline: none;
  transition: border-color 160ms ease;
}

.city-select-search:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(59, 130, 196, 0.12);
}

.city-options-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(46, 59, 78, 0.24) transparent;
}

/* ===== FILTER BAR ===== */
.filter-bar {
  display: flex;
  gap: 12px;
}

.filter-bar > .custom-select {
  flex: 1 1 0;
  min-width: 0;
  margin-top: 0;
}

/* ===== JOBS ===== */
.jobs-list {
  display: grid;
  gap: 16px;
}

.job-card {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel-glass);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  box-shadow: var(--shadow);
  transition: box-shadow 200ms ease;
}

.job-card:hover {
  box-shadow: var(--shadow-lg);
}

.job-main p {
  margin-bottom: 16px;
}

.job-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.job-head h3 {
  margin: 0;
}

.job-meta,
.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.job-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.job-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.88rem;
  background: var(--dark-bg);
  color: #ffffff;
  white-space: nowrap;
}

.job-status--applied {
  background: rgba(45, 213, 165, 0.15);
  color: var(--ok);
  border-color: rgba(45, 213, 165, 0.3);
}

.job-status--responsive {
  display: none;
}



.empty-state {
  padding: 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  text-align: center;
}

/* ===== PROCESS ===== */


.rh-layout > .content-section {
  display: flex;
  flex-direction: column;
}

.rh-layout > .content-section > .hero-actions {
  margin-top: auto;
}

.rh-layout + .content-section {
  margin-top: 28px;
}

.process-timeline {
  display: grid;
  gap: 14px;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--panel-soft);
  border: 1px solid var(--line);
}

.process-step strong {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--dark-bg);
  color: var(--dark-text);
  font-size: 0.85rem;
}

.process-step.active {
  border-color: var(--dark-bg); /* ou var(--dark-bg) se preferir */
  background: rgba(46, 59, 78, 0.136);
}

.status-badge.approved {
  background: rgba(47, 173, 96, 0.08);
  border-color: rgba(47, 173, 96, 0.24);
  color: var(--ok);
}

.status-badge.rejected {
  background: rgba(229, 77, 77, 0.08);
  border-color: rgba(229, 77, 77, 0.24);
  color: var(--danger);
}

.status-badge.neutral {
  background: var(--panel-soft);
}

/* ===== TALENT ===== */
.talent-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.talent-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel-glass);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  box-shadow: var(--shadow);
}

.talent-card strong {
  color: var(--text);
}

.history-list {
  margin: 14px 0 0;
  padding-left: 18px;
}

/* ===== TABLE ===== */
.table-shell {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--text);
  font-weight: 600;
  font-size: 0.88rem;
}

/* ===== MOBILE SIDEBAR ===== */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 28;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100vh;
  z-index: 30;
  transform: translateX(100%);
  transition: transform 220ms ease;
  padding: 20px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  background: var(--panel-glass);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

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

.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.sidebar-nav {
  display: grid;
  gap: 8px;
}

.sidebar-nav a {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--line);
  font-weight: 500;
}

/* ===== PAGE TRANSITIONS ===== */
main {
  will-change: opacity, transform;
}

.pt-slide-in-right {
  animation: ptSlideInRight 380ms cubic-bezier(.4, 0, .2, 1) both;
}

.pt-slide-in-left {
  animation: ptSlideInLeft 380ms cubic-bezier(.4, 0, .2, 1) both;
}

.pt-slide-out-right {
  animation: ptSlideOutRight 260ms cubic-bezier(.4, 0, .2, 1) both;
}

.pt-slide-out-left {
  animation: ptSlideOutLeft 260ms cubic-bezier(.4, 0, .2, 1) both;
}

.pt-fade-in {
  animation: ptFadeIn 400ms ease both;
}

@keyframes ptSlideInRight {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}

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

@keyframes ptSlideOutRight {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(60px); }
}

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

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

/* ===== SMALLER DESKTOP (laptops / viewports baixos) ===== */
@media (min-width: 801px) and (max-height: 900px) {
  .hscroll-sticky {
    justify-content: flex-start;
    padding-top: 20px;
  }

  .hscroll-header {
    padding: 0 48px 14px;
  }

  .hscroll-header h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
  }

  .hscroll-track {
    gap: 32px;
  }

  .value-block-content h3 {
    font-size: 1.8rem;
  }

  .value-block-content p {
    font-size: 1rem;
  }

  .value-block--tall {
    flex: 0 0 380px;
  }

  .value-block--tall .value-block-visual {
    height: 280px;
  }

  .value-block--compact {
    flex: 0 0 320px;
  }

  .value-block--compact .value-block-visual {
    height: 200px;
  }

  .value-block--narrow {
    flex: 0 0 280px;
  }

  .value-block--narrow .value-block-visual {
    height: 260px;
  }

  .value-block--horizontal {
    flex: 0 0 620px;
  }

  .value-block--horizontal .value-block-visual {
    min-height: 240px;
  }

  .value-block-content {
    padding: 6px 20px 18px;
  }

  .value-block-visual {
    margin: 8px;
  }

  .value-block--horizontal .value-block-visual {
    margin: 8px 0 8px 8px;
  }

  .value-block--reverse .value-block-visual {
    margin: 8px 8px 8px 0;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .info-grid,
  .contact-strip,
  .field-grid,
  .rh-layout,
  .process-layout,
  .talent-grid,
  .job-card {
    grid-template-columns: 1fr;
  }

  .job-side {
    align-items: flex-start;
    justify-content: flex-start;
  }


  .job-head {
    align-items: center;
  }

  .job-status--responsive {
    display: inline-flex;
    margin-left: auto;
  }

  .job-side .job-status--responsive {
    display: none;
    margin-left: 0;
    margin-bottom: 12px;
  }

  .banner-inner {
    grid-template-columns: 1fr;
  }

  .banner-visual {
    min-height: 240px;
  }

  .contact-strip {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 981px) {
  .job-head .job-status--responsive {
    display: none;
  }
  .job-side .job-status--responsive {
    display: inline-flex;
    margin-bottom: 0;
  }
}

@media (max-width: 800px) {
  .page-shell {
    width: min(100% - 16px, 1200px);
  }

  .nav,
  .topbar-cta {
    display: none;
  }

  .avatar-link {
    display: none;
  }

  .menu-button {
    display: inline-grid;
  }

  .topbar {
    padding: 14px 18px;
  }

  .topbar-actions,
  .hero-actions,
  .form-inline,
  .status-row {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .hero-home {
    padding: 100px 24px 48px;
    min-height: 100svh;
  }

  .hero-home-copy h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .carousel-controls {
    left: 24px;
    bottom: 24px;
  }

  /* H-scroll: stack vertically on mobile */
  .hscroll-section {
    height: auto !important;
  }

  .hscroll-sticky {
    position: relative;
    height: auto;
  }

  .hscroll-header {
    padding: 48px 24px 24px;
  }

  .hscroll-viewport {
    padding: 0 0 32px;
  }

  .hscroll-track {
    flex-direction: column;
    padding: 0 24px;
    transform: none !important;
  }

  .value-block {
    flex: 0 0 auto;
  }

  .value-block--horizontal,
  .value-block--reverse {
    flex-direction: column;
  }

  .value-block--horizontal .value-block-visual {
    width: 100%;
    min-height: 200px;
  }

  .purpose-section {
    padding: 60px 24px;
    min-height: 100vh;
  }

  .banner-section {
    padding: 60px 24px;
    min-height: 100vh;
  }

  .job-head {
    gap: 12px;
  }

  .job-status {
    font-size: 0.8rem;
  }
}

/* ===== AUTH CONTAINER (Login / Cadastro swap) ===== */
.auth-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.auth-panels {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 960px;
  min-height: 800px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--panel-glass);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.auth-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  opacity: 1;
  transition: opacity 250ms ease;
  z-index: 2;
}

.auth-form-panel--signup {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.auth-image-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 3;
  transition: transform 500ms cubic-bezier(.4, 0, .2, 1);
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.auth-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* State: signup mode */
.auth-container.is-signup .auth-image-panel {
  transform: translateX(-100%);
}

.auth-container.is-signup #loginPanel {
  opacity: 0;
  pointer-events: none;
}

.auth-container.is-signup .auth-form-panel--signup {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 200ms;
}

.auth-form-inner {
  width: 100%;
  max-width: 380px;
}

.auth-form-inner .page-title {
  margin-bottom: 24px;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 500;
  font-size: 0.92rem;
}

.auth-forgot {
  font-size: 0.85rem;
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.5;
  text-decoration: none;
}

.auth-submit {
  margin-top: 8px;
  width: 100%;
}

.auth-switch-text {
  margin-top: 20px;
  font-size: 0.92rem;
  color: var(--muted);
  text-align: center;
}

.auth-switch-btn {
  background: none;
  border: none;
  color: var(--dark-bg);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  font-size: inherit;
  padding: 0;
}

.auth-switch-btn:hover {
  color: var(--dark-text);
}

/* Password field with eye toggle */
.password-field {
  position: relative;
  margin-top: 0;
}

.password-field input {
  margin-top: 0;
  padding-right: 44px;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 160ms ease;
}

.toggle-password:hover {
  color: var(--text);
}

.toggle-password .eye-icon {
  width: 18px;
  height: 18px;
  display: block;
}


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

.process-locked {
  display: flex;
  justify-content: center;
  padding: 32px 0;
}

.locked-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 48px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--muted);
}

.locked-icon {
  font-size: 2rem;
}

/* ===== RH TABS ===== */
.rh-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius);
  background: var(--panel-soft);
  border: 1px solid var(--line);
  margin-bottom: 28px;
}

.rh-tab {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: calc(var(--radius) - 4px);
  background: transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  color: var(--muted);
  transition: background 200ms ease, color 200ms ease;
}

.rh-tab:hover {
  color: var(--text);
}

.rh-tab.is-active {
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
}

.rh-tab-content {
  display: none;
}

.rh-tab-content.is-active {
  display: block;
}

/* RH Login */
.rh-login-gate {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  margin: 100px 0;
}

.rh-login-card {
  width: 100%;
  max-width: 400px;
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  background: var(--panel-glass);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.rh-login-card .page-title {
  margin-bottom: 24px;
}

.rh-login-form {
  display: grid;
  gap: 16px;
}

.rh-login-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 500;
  font-size: 0.92rem;
  text-align: left;
}

.rh-login-error {
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0;
}

/* ===== RH PROCESS MANAGER ===== */
.rh-process-manager {
  margin-top: 32px;
}

.rh-process-manager > h2 {
  margin-bottom: 20px;
}

/* Summary Cards */
.rh-summary-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.rh-summary-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px 14px;
  border-radius: var(--radius);
  background: var(--panel-glass);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.rh-summary-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.rh-summary-number {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
}

.rh-summary-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.rh-summary-card--total {
  border-left: 3px solid var(--secondary);
}

.rh-summary-card--interview {
  border-left: 3px solid var(--accent);
}

.rh-summary-card--approved {
  border-left: 3px solid var(--ok);
}

.rh-summary-card--rejected {
  border-left: 3px solid var(--danger);
}

/* Split Layout */
.rh-process-split {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 24px;
  align-items: start;
}

/* Left column: candidates list + notification */
.rh-process-left-col {
  display: grid;
  gap: 20px;
}

/* Notification section (below candidates list) */
.rh-process-left-col .rh-detail-notify {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--panel-glass);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.rh-process-left-col .rh-detail-notify h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.rh-process-left-col .rh-detail-notify select,
.rh-process-left-col .rh-detail-notify textarea {
  width: 100%;
  margin-bottom: 12px;
}

/* Candidates Panel (Left) */
.rh-candidates-panel {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--panel-glass);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.rh-candidates-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.rh-candidates-filters select {
  flex: 1;
  min-width: 120px;
  padding: 8px 10px;
  font-size: 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
}

.rh-candidates-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.rh-candidates-table th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 10px 8px;
}

.rh-candidates-table td {
  padding: 10px 8px;
  vertical-align: middle;
}

.rh-candidates-table tbody tr {
  cursor: pointer;
  transition: background 0.15s;
  border-radius: 8px;
}

.rh-candidates-table tbody tr:hover {
  background: rgba(45, 213, 165, 0.06);
}

.rh-candidates-table tbody tr.is-selected {
  background: rgba(45, 213, 165, 0.12);
  border-left: 3px solid var(--primary);
}

/* Badges */
.badge-progress {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 124, 94, 0.1);
  color: var(--accent);
}

.badge-approved {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(47, 173, 96, 0.1);
  color: var(--ok);
}

.badge-rejected {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(229, 77, 77, 0.1);
  color: var(--danger);
}

/* Detail Panel (Right) */
.rh-candidate-detail {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--panel-glass);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 320px;
}

.rh-detail-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 240px;
  color: var(--muted);
  text-align: center;
}

.rh-detail-empty-icon {
  opacity: 0.4;
}

.rh-detail-actions .button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rh-detail-actions .button svg {
  flex-shrink: 0;
}

.rh-summary-icon {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.rh-detail-header {
  margin-bottom: 18px;
}

.rh-detail-header h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}

.rh-detail-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Detail Timeline */
.rh-detail-timeline {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.rh-timeline-step {
  flex: 1;
  min-width: 100px;
  padding: 10px 12px;
  border-radius: 10px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all 0.2s;
}

.rh-timeline-step.is-current {
  background: rgba(46, 59, 78, 0.12);
  border-color: var(--dark-bg);
  color: var(--text);
}

.rh-timeline-step.is-done {
  background: rgba(47, 173, 96, 0.08);
  border-color: rgba(47, 173, 96, 0.3);
  color: var(--ok);
}

/* Detail Actions */
.rh-detail-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.rh-detail-actions .button {
  font-size: 0.88rem;
  padding: 10px 18px;
}

/* Notify Section */
.rh-detail-notify {
  margin-bottom: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.rh-detail-notify h3 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.rh-detail-notify select {
  width: 100%;
  margin-bottom: 12px;
}

/* Collapsible message area */
.rh-msg-compact {
  position: relative;
  margin-bottom: 14px;
}

.rh-msg-placeholder {
  display: block;
  padding: 12px 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.2s;
}

.rh-msg-placeholder:hover {
  border-color: var(--primary);
}

.rh-msg-compact.is-open .rh-msg-placeholder {
  display: none;
}

.rh-msg-compact textarea {
  display: none;
}

.rh-msg-compact.is-open textarea {
  display: block;
}

/* Email Preview */
.rh-email-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 14px;
  background: #fafbfc;
  font-size: 0.88rem;
}

.rh-email-header {
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.rh-email-subject {
  font-weight: 600;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.rh-email-body {
  white-space: pre-wrap;
  line-height: 1.6;
}

/* Internal Note */
.rh-internal-note-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 500;
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.rh-internal-note-label textarea {
  background: #fffbe6;
  border-color: #f0e3a1;
}

/* History */
.rh-notify-history {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.rh-notify-history h3 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.rh-history-list {
  max-height: 300px;
  overflow-y: auto;
}

.rh-history-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
}

.rh-history-item:last-child {
  border-bottom: none;
}

.rh-history-date {
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.8rem;
  min-width: 90px;
}

.rh-history-body strong {
  display: block;
  margin-bottom: 2px;
}

.rh-history-body p {
  margin: 0;
  color: var(--muted);
}

.rh-history-empty {
  color: var(--muted);
  font-size: 0.88rem;
  font-style: italic;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  background: var(--dark-bg);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  animation: toast-in 0.35s ease forwards;
  max-width: 380px;
}

.toast.toast-success {
  background: var(--ok);
}

.toast.toast-error {
  background: var(--danger);
}

.toast.toast-out {
  animation: toast-out 0.3s ease forwards;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toast-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
}

/* ===== RH PROCESS RESPONSIVE ===== */
@media (max-width: 980px) {
  .rh-summary-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .rh-process-split {
    grid-template-columns: 1fr;
  }

  .rh-process-left-col {
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .rh-summary-cards {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .rh-summary-card {
    padding: 14px 10px;
  }

  .rh-candidates-filters {
    flex-direction: column;
  }

  .rh-detail-timeline {
    flex-direction: column;
  }
}
@media (max-width: 800px) {
  .auth-container {
    padding: 16px;
  }

  .auth-panels {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .auth-image-panel {
    display: none;
  }

  .auth-form-panel {
    padding: 32px 24px;
  }

  .auth-form-panel--signup {
    position: relative;
    width: 100%;
    height: auto;
    display: none;
  }

  .auth-container.is-signup #loginPanel {
    display: none;
  }

  .auth-container.is-signup .auth-form-panel--signup {
    display: flex;
    opacity: 1;
    pointer-events: auto;
  }
}

/* ===== HERO OVERLAY ===== */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(46, 59, 78, 0.82) 0%,
    rgba(46, 59, 78, 0.6) 45%,
    rgba(46, 59, 78, 0.15) 75%,
    transparent 100%
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  pointer-events: none;
}

/* ===== TYPING ANIMATION ===== */
.typing-text {
  color: var(--dark-text);
  border-right: none;
}

.typing-cursor {
  display: inline-block;
  color: var(--dark-text);
  font-weight: 300;
  animation: blink-cursor 750ms step-end infinite;
  margin-left: 2px;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ===== FADE-IN ON SCROLL ===== */
.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.fade-in-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== EXPERIÊNCIA STIK SECTION ===== */
.exp-stik-section {
  padding: 80px 0 60px;
  background: #fff;
  overflow: hidden;
}

.exp-stik-header {
  padding: 0 48px 32px;
  text-align: center;
}

.exp-stik-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  margin-top: 8px;
}

.exp-stik-carousel {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.exp-stik-carousel::-webkit-scrollbar {
  display: none;
}

.exp-stik-carousel:active {
  cursor: grabbing;
}

.exp-stik-track {
  display: flex;
  gap: 24px;
  padding: 0 48px;
  will-change: transform;
}

.exp-stik-item {
  flex: 0 0 auto;
  width: 560px;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  user-select: none;
}

.exp-stik-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.exp-stik-footer {
  display: flex;
  justify-content: center;
  padding: 40px 48px 0;
}

/* ===== SEU LUGAR NA STIK SECTION ===== */
.place-stik-section {
  padding: 80px 0 80px;
  background: var(--dark-bg);
  overflow: hidden;
}

.place-stik-header {
  padding: 0 48px 32px;
  text-align: center;
}

.place-stik-header .eyebrow {
  color: var(--dark-text);
}

.place-stik-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  margin-top: 8px;
  color: #fff;
}

.place-stik-carousel {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 46px;
  padding-top: 38px;

}

.place-stik-carousel::-webkit-scrollbar {
  display: none;
}

.place-stik-carousel:active {
  cursor: grabbing;
}

.place-stik-track {
  display: flex;
  gap: 24px;
  padding: 0 48px;
  will-change: transform;
}

.place-stik-card {
  flex: 0 0 auto;
  width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  text-decoration: none;
  color: var(--text);
  transition: transform 200ms ease, box-shadow 200ms ease;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  touch-action: pan-y;
}

.place-stik-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(163, 203, 255, 0.514);
}

.place-card-img {
  width: 218px;
  height: 218px;
  border-radius: 12px;
  overflow: hidden;
}

.place-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

.place-card-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
}

/* ===== MOBILE: NEW SECTIONS ===== */
@media (max-width: 800px) {
  .exp-stik-header,
  .exp-stik-footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .exp-stik-track {
    padding: 0 24px;
  }

  .exp-stik-item {
    width: 320px;
    height: 280px;
  }

  .place-stik-header {
    padding-left: 24px;
    padding-right: 24px;
  }

  .place-stik-track {
    padding: 0 24px;
  }

  .place-stik-card {
    width: 200px;
  }

  .place-card-img {
    width: 170px;
    height: 170px;
  }
}

/* ===== FULLSCREEN AUTH ===== */
.auth-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--bg);
  padding: 32px;
  overflow-y: auto;
}

.auth-fullscreen::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 50% at 12% 20%, rgba(186, 206, 229, 0.903) 0%, transparent 70%),
    radial-gradient(ellipse 45% 40% at 85% 15%, rgba(186, 206, 229, 0.715) 0%, transparent 65%),
    radial-gradient(ellipse 50% 55% at 70% 75%, rgba(186, 206, 229, 0.604) 0%, transparent 70%);
  pointer-events: none;
}

.auth-back {
  position: absolute;
  top: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  z-index: 10;
  transition: color 200ms ease;
}

.auth-back:hover {
  color: var(--text);
}

.sidebar-account {
  margin-top: 8px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.avatar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--panel-soft);
  border: 1.5px solid var(--line-strong);
  color: var(--muted);
  transition: border-color 200ms ease, background 200ms ease;
  overflow: hidden;
}

.avatar-link:hover .avatar {
  border-color: var(--dark-bg);
  background: rgba(186, 206, 229, 0.3);
}

.avatar-svg {
  width: 20px;
  height: 20px;
}

.avatar-initial {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  line-height: 1;
}

.avatar:has(.avatar-initial) {
  background: var(--dark-bg);
  border-color: var(--dark-bg);
}

/* Avatar alert (incomplete profile) */
.avatar-alert {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 2px solid var(--bg);
}

.avatar-link {
  position: relative;
}

/* ===== RESUME UPLOAD ===== */
.resume-upload-area {
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease;
}

.resume-upload-area:hover,
.resume-upload-area.is-dragover {
  border-color: var(--primary);
  background: rgba(45, 213, 165, 0.06);
}

.resume-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.resume-upload-placeholder svg {
  opacity: 0.5;
}

.resume-upload-placeholder small {
  font-size: 0.8rem;
}

.resume-file-info {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  color: var(--text);
  font-weight: 500;
}

.resume-file-info svg {
  color: var(--primary);
  flex-shrink: 0;
}

.resume-remove-btn {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--muted);
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 150ms ease;
}

.resume-remove-btn:hover {
  color: var(--danger);
}

/* ===== VAGAS TABS ===== */
.jobs-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius);
  background: var(--panel-soft);
  border: 1px solid var(--line);
  margin-bottom: 28px;
}

.jobs-tab {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: calc(var(--radius) - 4px);
  background: transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  color: var(--muted);
  transition: background 200ms ease, color 200ms ease;
}

.jobs-tab:hover {
  color: var(--text);
}

.jobs-tab.is-active {
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
}

/* ===== APPLIED BADGE ===== */
.tag--applied {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(45, 213, 165, 0.15);
  color: var(--ok);
}

/* ===== PROCESS MODAL ===== */
.modal-overlay[hidden] {
  display: none !important;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 35, 50, 0.5);
  backdrop-filter: blur(4px);
  padding: 24px;
}

.modal-body {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: var(--panel-soft);
  color: var(--muted);
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
}

.modal-close:hover {
  background: var(--line);
  color: var(--text);
}

.process-layout {
  display: grid;
  gap: 28px;
}

.process-timeline {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius);
  background: var(--panel-soft);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.process-step.active {
  background: rgba(45, 213, 165, 0.12);
  border-color: var(--primary);
  color: var(--text);
}

.process-step strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--line);
  font-size: 0.82rem;
  flex-shrink: 0;
}

.process-step.active strong {
  background: var(--primary);
  color: #fff;
}

.status-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--panel-soft);
  color: var(--muted);
}

.status-badge.approved {
  background: rgba(47, 173, 96, 0.15);
  color: var(--ok);
}

.status-badge.rejected {
  background: rgba(229, 77, 77, 0.12);
  color: var(--danger);
}

.status-badge.neutral {
  background: rgba(59, 130, 196, 0.1);
  color: var(--secondary);
}

/* ===== PROFILE PAGE ===== */
.profile-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--panel-glass);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.profile-section {
  margin-bottom: 32px;
}

.profile-section h2 {
  margin-bottom: 16px;
  font-size: 1.15rem;
}

.profile-complete-notice {
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 1.5px dashed var(--accent);
  background: rgba(255, 124, 94, 0.04);
  margin-bottom: 24px;
}

.profile-complete-notice h2 {
  margin-bottom: 4px;
}

.profile-extra-title {
  margin-bottom: 16px;
  font-size: 1.15rem;
}

.profile-section-header {
  margin-bottom: 20px;
}

.profile-section-hint {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

.profile-avatar-big {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--dark-bg);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 28px;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.profile-form .field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-form .field-group label {
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--muted);
}

.profile-form .field-group input {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.95rem;
  background: var(--panel-soft);
  color: var(--text);
  transition: border-color 200ms ease, background 200ms ease;
}

.profile-form .field-group input:not([readonly]) {
  background: #fff;
  border-color: var(--line-strong);
}

.profile-form .field-group select {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.95rem;
  background: #fff;
  color: var(--text);
  transition: border-color 200ms ease;
}

.profile-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 200ms ease;
}

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

.btn--primary {
  background: var(--dark-bg);
  color: #fff;
  box-shadow: 0 2px 8px rgba(46, 59, 78, 0.18);
}

.btn--primary:hover {
  box-shadow: 0 4px 16px rgba(46, 59, 78, 0.28);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--line-strong);
}

.btn--danger {
  background: rgba(229, 77, 77, 0.1);
  color: var(--danger);
  border: 1px solid rgba(229, 77, 77, 0.2);
}

.btn--danger:hover {
  background: rgba(229, 77, 77, 0.18);
}

/* ===== RESPONSIVE: NEW COMPONENTS ===== */
@media (max-width: 800px) {
  .auth-fullscreen {
    padding: 16px;
  }

  .auth-back {
    top: 16px;
    left: 16px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-card {
    padding: 28px 20px;
  }

  .process-timeline {
    flex-direction: column;
  }

  .modal-body {
    padding: 28px 20px;
    max-height: 90vh;
  }

}