/* Landing page and setores tab imported from Radarmymentor v2 reference */

.intro.landing-page {
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #ffffff;
  color: #111827;
}

.landing-page *,
.setores-dashboard * {
  box-sizing: border-box;
  letter-spacing: 0;
}

.landing-container,
.setores-container {
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

.landing-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.landing-brand img {
  height: 52px;
  width: auto;
  display: block;
}

.landing-brand span {
  color: #111827;
  font-size: 1.25rem;
  font-weight: 600;
  white-space: nowrap;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.landing-nav a,
.landing-nav .login-trigger,
.landing-nav .landing-nav-action {
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.875rem;
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.landing-nav a {
  color: #4b5563;
}

.landing-nav a:hover {
  color: #1e3a8a;
}

.landing-nav .landing-nav-action {
  position: static;
  box-sizing: border-box;
  width: 132px;
  height: 48px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid #1e3a8a;
  border-radius: 0;
  box-shadow: none;
  animation: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 600;
}

.landing-nav .landing-nav-action-primary {
  border-color: #1e3a8a;
  background: #1e3a8a;
  color: #ffffff;
}

.landing-nav .landing-nav-action-secondary {
  border-color: #1e3a8a;
  background: #ffffff;
  color: #1e3a8a;
}

.landing-nav .landing-nav-action-primary:hover {
  background: #1e40af;
  color: #ffffff;
}

.landing-nav .landing-nav-action-secondary:hover {
  background: #eff6ff;
  color: #1e3a8a;
}

.landing-hero {
  background: linear-gradient(180deg, #172554 0%, #1e3a8a 100%);
  color: #ffffff;
}

.landing-hero-inner {
  padding: 96px 0;
}

.landing-hero-copy {
  max-width: 768px;
}

.landing-hero h1 {
  margin: 0 0 24px;
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
}

.landing-hero p {
  margin: 0 0 32px;
  color: #dbeafe;
  font-size: 1.25rem;
  line-height: 1.65;
}

.landing-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 16px 32px;
  background: #ffffff;
  color: #1e3a8a;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.landing-cta:hover {
  background: #eff6ff;
}

.landing-section {
  padding: 80px 0;
}

.landing-section-soft {
  background: #f9fafb;
}

.landing-section-blue {
  background: #eff6ff;
}

.landing-section-dark {
  background: #172554;
  color: #ffffff;
}

.landing-section h2 {
  margin: 0 0 48px;
  color: #111827;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
}

.landing-section > .landing-container > p,
.landing-section .landing-lead {
  max-width: 768px;
  margin: 0 0 16px;
  color: #4b5563;
  font-size: 1.125rem;
  line-height: 1.65;
}

.landing-note {
  max-width: 768px;
  margin: 0 0 64px;
  color: #6b7280;
  font-size: 0.875rem;
  font-style: italic;
}

.landing-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.landing-card,
.landing-feature-copy,
.landing-process-card,
.landing-data-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.landing-card {
  padding: 32px;
}

.landing-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  background: #dbeafe;
  color: #1e3a8a;
}

.landing-card h3,
.landing-feature-copy h3,
.landing-process-card h3 {
  margin: 0 0 16px;
  color: #111827;
  font-size: 1.25rem;
  font-weight: 600;
}

.landing-card p,
.landing-feature-copy p,
.landing-process-card p,
.landing-text-block p,
.landing-data-card p,
.landing-data-card li,
.landing-benefits li {
  color: #374151;
  line-height: 1.65;
}

.landing-feature-stack {
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.landing-feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: stretch;
}

.landing-feature-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

.landing-feature-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.landing-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
}

.landing-feature-copy h3 {
  font-size: 1.5rem;
}

.landing-benefits {
  max-width: 896px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-benefits li,
.landing-data-card li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.landing-bullet {
  width: 6px;
  height: 6px;
  margin-top: 10px;
  flex: 0 0 6px;
  background: #1e3a8a;
}

.landing-text-block {
  width: min(100% - 48px, 1280px);
  max-width: none;
  margin: 0 auto;
}

.landing-text-block h2,
.landing-process h2 {
  margin-bottom: 24px;
}

.landing-data-card {
  width: min(100% - 48px, 1280px);
  max-width: none;
  margin: 0 auto;
  padding: 32px;
  border-left: 4px solid #1e3a8a;
}

.landing-data-card h2 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.landing-data-card ul {
  margin: 0 0 16px 24px;
  padding: 0;
  list-style: none;
}

.landing-data-card a,
.landing-footer a {
  color: #1e3a8a;
  font-weight: 600;
}

.landing-process {
  width: min(100% - 48px, 1280px);
  max-width: none;
  margin: 0 auto;
}

.landing-text-block p,
.landing-data-card > p,
.landing-data-card ul,
.landing-process-card p {
  max-width: 896px;
}

.landing-process-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.landing-process-card {
  padding: 24px;
}

.landing-cta-section {
  max-width: 896px;
  margin: 0 auto;
  text-align: center;
}

.landing-cta-section h2 {
  color: #ffffff;
  margin-bottom: 16px;
}

.landing-cta-section p {
  color: #dbeafe;
  font-size: 1.25rem;
  margin-bottom: 32px;
}

.landing-cta-icon {
  color: #93c5fd;
  margin-bottom: 24px;
}

.landing-footer {
  background: #111827;
  color: #9ca3af;
  padding: 48px 0;
}

.landing-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}

.landing-footer img {
  height: 52px;
  width: auto;
  margin-bottom: 16px;
}

.landing-footer h4 {
  color: #ffffff;
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 600;
}

.landing-footer p,
.landing-footer a {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.6;
  text-decoration: none;
}

.landing-footer a:hover {
  color: #ffffff;
}

.landing-footer-bottom {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #1f2937;
  text-align: center;
  font-size: 0.875rem;
}

#loginPanel {
  top: 82px;
  right: 24px;
}

.dashboard-header {
  position: sticky;
  top: 0;
  z-index: 45;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

.dashboard-header-inner {
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.dashboard-brand img {
  height: 52px;
  width: auto;
  display: block;
}

.dashboard-brand span {
  color: #111827;
  font-size: 1.25rem;
  font-weight: 600;
  white-space: nowrap;
}

.dashboard-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  min-width: 0;
}

.dashboard-user-summary {
  text-align: right;
  min-width: 0;
}

.dashboard-user-summary strong,
.dashboard-user-summary span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-user-summary strong {
  max-width: 260px;
  color: #111827;
  font-size: 0.875rem;
  font-weight: 600;
}

.dashboard-user-summary span {
  color: #6b7280;
  font-size: 0.75rem;
}

.dashboard-user-summary .dashboard-user-access {
  max-width: 260px;
  color: #1e3a8a;
  font-weight: 600;
}

.dashboard-action-button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #4b5563;
  font: 600 0.875rem Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.dashboard-action-button:hover,
.dashboard-action-button:focus-visible {
  color: #111827;
  outline: none;
}

.dashboard-action-button:focus-visible {
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.25);
}

body.dashboard-shell label[for="adminToggleControl"],
body.dashboard-shell label[for="userToggleControl"] {
  display: none !important;
}

body:not(.dashboard-shell) #dashboardHeader,
body:not(.dashboard-shell) #tabContextHero,
body:not(.dashboard-shell) #mainTabBar,
body:not(.dashboard-shell) #mainFiltersContainer,
body:not(.dashboard-shell) #ofertasBox,
body:not(.dashboard-shell) #setoresBox,
body:not(.dashboard-shell) #profissoesBox,
body:not(.dashboard-shell) #formacaoBox,
body:not(.dashboard-shell) #salariosBox,
body:not(.dashboard-shell) #profileBox,
body:not(.dashboard-shell) .dashboard-footer {
  display: none !important;
}

.public-data-page {
  display: none;
  min-height: 100vh;
  background: #f9fafb;
  color: #111827;
}

body.public-data-shell:not(.dashboard-shell) #landingPage {
  display: none !important;
}

body.public-data-shell:not(.dashboard-shell) #publicDataPage {
  display: block;
}

body.dashboard-shell #publicDataPage {
  display: none !important;
}

.public-data-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.public-data-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.public-data-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111827;
  cursor: pointer;
  font: inherit;
}

.public-data-brand img {
  width: auto;
  height: 52px;
  display: block;
}

.public-data-brand span {
  font-size: 1.375rem;
  font-weight: 700;
}

.public-data-nav {
  flex: 0 0 auto;
}

.public-data-dashboard {
  min-height: auto;
  padding-bottom: 48px;
}

.public-data-hero {
  padding: 56px 0 72px;
}

.public-data-filters {
  align-items: end;
}

.public-data-bottom {
  display: grid;
  gap: 32px;
  width: min(100% - 112px, 1232px);
  margin-top: 40px;
  margin-right: auto;
  margin-left: auto;
}

.public-data-contact {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 16px;
  padding: 28px 24px;
  border-left: 4px solid #1e3a8a;
  background: #eff6ff;
}

.public-data-contact h2 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 1.25rem;
}

.public-data-contact p {
  margin: 0 0 12px;
  color: #111827;
  font-size: 0.875rem;
  line-height: 1.65;
}

.public-data-contact p:last-child {
  margin-bottom: 0;
}

.public-data-contact a,
.public-data-about a {
  color: #1e3a8a;
  font-weight: 700;
}

.public-data-contact-icon {
  color: #1e3a8a;
  padding-top: 2px;
}

.public-data-about {
  margin: 0 !important;
  padding: 28px 24px;
}

.public-data-about h2 {
  margin: 0 0 20px;
}

.public-data-about .public-data-bullet {
  position: relative;
  margin-left: 0;
  padding-left: 18px;
}

.public-data-about .public-data-bullet::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: #334155;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

.public-data-footer {
  margin-top: 0;
}

.profile-page {
  min-height: calc(100vh - 84px);
  background: #f9fafb;
  color: #111827;
  padding: 48px 0 80px;
}

.profile-container {
  width: min(100% - 48px, 896px);
  margin: 0 auto;
}

.profile-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin-bottom: 32px;
  border: 0;
  background: transparent;
  color: #4b5563;
  font: 600 0.875rem Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  cursor: pointer;
}

.profile-back:hover,
.profile-back:focus-visible {
  color: #111827;
  outline: none;
}

.profile-page h1 {
  margin: 0 0 32px;
  color: #111827;
  font-size: 1.875rem;
  font-weight: 700;
}

.profile-tabs {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid #e5e7eb;
}

.profile-tabs button {
  padding: 0 0 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #4b5563;
  font: 600 0.875rem Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  cursor: pointer;
}

.profile-tabs button:hover,
.profile-tabs button:focus-visible,
.profile-tabs .profile-tab-active {
  color: #1e3a8a;
  outline: none;
}

.profile-tabs .profile-tab-active {
  border-bottom-color: #1e3a8a;
}

.profile-message {
  margin-bottom: 24px;
  padding: 14px 16px;
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #166534;
  font-size: 0.875rem;
  font-weight: 600;
}

.profile-message-error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.profile-panel {
  padding: 32px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
}

.profile-panel h2 {
  margin: 0 0 24px;
  color: #111827;
  font-size: 1.25rem;
  font-weight: 700;
}

.profile-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.profile-form label span,
.profile-access strong {
  display: block;
  margin-bottom: 8px;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 600;
}

.profile-form .modern-input {
  width: 100%;
  border-radius: 0;
}

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

.profile-access {
  padding-top: 8px;
}

.profile-access .modern-list {
  margin: 0;
  padding-left: 20px;
  color: #4b5563;
}

.profile-primary-button {
  align-self: flex-start;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 0;
  background: #1e3a8a;
  color: #ffffff;
  font: 700 0.875rem Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  cursor: pointer;
}

.profile-primary-button:hover,
.profile-primary-button:focus-visible {
  background: #1e40af;
  outline: none;
}

.profile-password-form {
  max-width: 460px;
}

#adminPanel.admin-page {
  position: static !important;
  top: auto !important;
  right: auto !important;
  width: 100% !important;
  min-height: calc(100vh - 84px);
  height: auto !important;
  padding: 48px 0 80px !important;
  overflow: visible !important;
  z-index: auto !important;
  display: none;
  flex-direction: initial !important;
  gap: 0 !important;
  background: #f9fafb;
  box-shadow: none !important;
  color: #111827;
  box-sizing: border-box;
  transition: none !important;
}

.admin-container {
  width: min(100% - 48px, 1040px);
  margin: 0 auto;
}

.admin-page h1 {
  margin: 0 0 32px;
  color: #111827;
  font-size: 1.875rem;
  font-weight: 700;
}

.admin-section,
#filterVisibilitySection {
  padding: 32px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
}

#filterVisibilitySection {
  margin-top: 24px;
}

#filterVisibilitySection > div {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

.admin-section h2,
#filterVisibilitySection h3 {
  margin: 0 0 24px !important;
  color: #111827 !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
}

#adminPanel.admin-page .admin-section > label,
#adminPanel.admin-page .admin-form label,
#adminPanel.admin-page #filterVisibilitySection label {
  display: block;
  margin-bottom: 16px;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 600;
}

.admin-section .modern-input,
#filterVisibilitySection .modern-input,
.admin-scope-selector select {
  width: 100%;
  border-radius: 0;
}

.admin-scope-selector {
  margin: 16px 0 8px;
}

.admin-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.admin-page .btn-filtrar {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto !important;
  min-width: 120px !important;
  max-width: none !important;
  margin: 0;
  padding: 10px 18px;
  border-radius: 0;
  background: #1e3a8a;
  color: #ffffff;
  font: 700 0.875rem Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.admin-page .btn-filtrar svg {
  margin-right: 0;
}

#adminPanel.admin-page .admin-section > .btn-filtrar + .btn-filtrar {
  margin-left: 12px;
}

.admin-page .btn-filtrar:hover,
.admin-page .btn-filtrar:focus-visible {
  background: #1e40af;
  outline: none;
  transform: none;
}

.admin-page .admin-secondary-button {
  background: #111827;
}

.admin-page .admin-secondary-button:hover,
.admin-page .admin-secondary-button:focus-visible {
  background: #374151;
}

.tab-bar {
  width: min(100% - 48px, 1280px);
  margin: 28px auto 24px !important;
  padding: 12px !important;
  border: 1px solid #e5e7eb;
  background: #ffffff !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.tab-bar button {
  border-radius: 0 !important;
  background: #f3f4f6 !important;
  color: #374151 !important;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600 !important;
}

.tab-bar button:hover {
  background: #e5e7eb !important;
}

.tab-bar button.tab-active {
  background: #1e3a8a !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

#profissoesBox {
  width: 100%;
}

#profissoesBox #professionFilterContainer {
  margin-top: 0 !important;
}

.setores-dashboard {
  min-height: 100vh;
  background: #f9fafb;
  color: #111827;
}

.setores-hero {
  background: #172554;
  color: #ffffff;
  padding: 48px 0;
}

.tab-context-hero {
  display: none;
}

.setores-hero h1 {
  color: #ffffff;
  margin: 0 0 8px;
  font-size: 1.875rem;
  font-weight: 700;
}

.setores-hero p {
  color: #bfdbfe;
  margin: 0;
}

.setores-filter-shell {
  margin-top: -24px;
  margin-bottom: 32px;
}

.setores-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.setores-context {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.setores-scope-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 0.8125rem;
  font-weight: 600;
}

.setores-field label {
  display: block;
  margin-bottom: 8px;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 600;
}

.setores-field select {
  width: 100%;
  height: 42px;
  padding: 0 40px 0 16px;
  border: 1px solid #d1d5db;
  border-radius: 0;
  background-color: #ffffff;
  color: #111827;
  font-size: 0.95rem;
  font-weight: 500;
}

.setores-field select:focus {
  outline: 2px solid #1e3a8a;
  outline-offset: 2px;
}

.setores-period-picker {
  position: relative;
}

.global-period-group {
  min-width: 210px;
}

.global-period-picker {
  min-width: 210px;
}

.global-period-picker .setores-period-trigger {
  min-height: 40px;
  padding: 0 12px;
}

.filter-group select.period-hidden-select,
.period-hidden-select {
  position: absolute !important;
  width: 1px !important;
  min-width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  appearance: none !important;
}

#searchForm.not-logged .global-period-picker .setores-period-trigger {
  background-color: #f8f9fa;
  color: #6c757d;
  cursor: not-allowed;
  opacity: 0.65;
  pointer-events: none;
}

.setores-period-trigger {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid #d1d5db;
  border-radius: 0;
  background: #ffffff;
  color: #111827;
  font: 600 0.95rem Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}

.setores-period-trigger:focus-visible {
  outline: 2px solid #1e3a8a;
  outline-offset: 2px;
}

.setores-period-trigger span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.setores-period-chevron,
.setores-period-arrow {
  color: #6b7280;
  transition: transform 0.18s ease;
}

.setores-period-chevron.is-open {
  transform: rotate(180deg);
}

.setores-period-arrow.is-open {
  transform: rotate(90deg);
}

.setores-period-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid #d1d5db;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.setores-period-year {
  border-bottom: 1px solid #f3f4f6;
}

.setores-period-year:last-child {
  border-bottom: 0;
}

.setores-period-year-button,
.setores-period-option {
  width: 100%;
  border: 0;
  background: transparent;
  color: #374151;
  font: 600 0.875rem Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}

.setores-period-year-button {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
}

.setores-period-year-button:hover,
.setores-period-option:hover {
  background: #f9fafb;
}

.setores-period-options {
  padding-bottom: 4px;
}

.setores-period-group {
  padding: 4px 0;
}

.setores-period-group + .setores-period-group {
  border-top: 1px solid #eef2f7;
  margin-top: 4px;
  padding-top: 6px;
}

.setores-period-group-label {
  padding: 4px 12px 4px 32px;
  color: #1e3a8a;
  font: 700 0.75rem Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.setores-period-option {
  min-height: 36px;
  padding: 8px 12px 8px 32px;
}

.setores-period-option.is-selected {
  background: #eff6ff;
  color: #1e3a8a;
}

.setores-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.setores-kpi,
.setores-panel,
.setores-banner {
  border: 1px solid #e5e7eb;
  background: #ffffff;
}

.setores-kpi {
  padding: 24px;
}

.setores-kpi-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.setores-kpi-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  background: #dbeafe;
  color: #1e3a8a;
}

.setores-kpi-value {
  color: #111827;
  font-size: 1.5rem;
  font-weight: 700;
}

.setores-kpi-label {
  color: #4b5563;
  font-size: 0.875rem;
}

.setores-kpi-note {
  margin-top: 4px;
  color: #16a34a;
  font-size: 0.75rem;
}

.setores-kpi-note.neutral {
  color: #6b7280;
}

.setores-ia-track {
  position: relative;
  height: 28px;
  margin-top: 12px;
  overflow: hidden;
  background: #e5e7eb;
}

.setores-ia-fill {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  transition: width 0.5s ease;
}

.setores-main-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.setores-panel-wide {
  margin-bottom: 32px;
}

.setores-main-grid + .setores-main-grid {
  margin-top: 24px;
}

.setores-panel {
  padding: 24px;
}

.setores-sector-info-panel {
  margin-bottom: 32px;
}

.setores-sector-info-panel h2 {
  margin: 0 0 16px;
  color: #020617;
  font-size: 1.25rem;
  font-weight: 700;
}

.setores-sector-info-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #d9dde7;
}

.setores-sector-info-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
  table-layout: fixed;
  color: #02004f;
  font-size: 0.76rem;
}

.setores-sector-info-table th,
.setores-sector-info-table td {
  border-right: 1px solid #d9dde7;
  border-bottom: 1px solid #d9dde7;
  padding: 8px 10px;
  text-align: right;
  vertical-align: middle;
}

.setores-sector-info-table th:first-child,
.setores-sector-info-table td:first-child {
  width: 190px;
  text-align: left;
}

.setores-sector-info-table th:last-child,
.setores-sector-info-table td:last-child {
  border-right: 0;
}

.setores-sector-info-table thead tr:first-child th {
  background: #ececff;
  color: #02004f;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}

.setores-sector-info-table thead tr:nth-child(2) th {
  background: #f8f8fc;
  color: #02004f;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.08;
  text-align: center;
}

.setores-info-header-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.setores-sector-info-table tbody td {
  background: #ffffff;
  color: #02004f;
  font-size: 0.88rem;
}

.setores-sector-info-table tbody tr:hover td {
  background: #f1f1fd;
}

.setores-sector-name {
  color: #4b5563 !important;
  font-weight: 500;
  line-height: 1.45;
}

.setores-loading-state,
.setores-empty-state {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  color: #4b5563;
}

.setores-loading-state h2,
.setores-empty-state h2 {
  color: #111827;
  margin-bottom: 0;
}

.setores-loader {
  width: 36px;
  height: 36px;
  border: 3px solid #dbeafe;
  border-top-color: #1e3a8a;
  border-radius: 50%;
  animation: setores-spin 0.9s linear infinite;
}

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

.setores-chart-body {
  position: relative;
  height: 360px;
  min-height: 360px;
}

.setores-chart-body canvas {
  width: 100% !important;
  height: 100% !important;
}

.setores-line-legend,
.setores-sector-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  color: #374151;
  font-size: 0.875rem;
}

.setores-line-legend {
  justify-content: center;
  margin-bottom: 18px;
}

.setores-line-legend span,
.setores-sector-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.setores-line-swatch {
  display: inline-block;
  width: 16px;
  height: 0;
  border-top: 2px solid #0d9488;
}

.setores-line-swatch.comparison {
  border-top-color: #9ca3af;
  border-top-style: dashed;
}

.setores-sector-legend {
  margin-bottom: 20px;
}

.setores-sector-legend i {
  width: 16px;
  height: 12px;
  display: inline-block;
}

.setores-svg-wrap,
.setores-svg-scroll {
  width: 100%;
  overflow-x: auto;
}

.setores-line-svg,
.setores-sector-svg {
  width: 100%;
  height: auto;
  display: block;
}

.setores-sector-svg {
  min-width: 980px;
}

.setores-panel-full {
  margin-top: 24px;
}

.setores-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.setores-panel h2 {
  color: #374151;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}

.setores-download {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #172554;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.setores-download:hover {
  background: #1e3a8a;
}

.setores-chart-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 16px;
}

.setores-legend-items {
  display: flex;
  align-items: center;
  gap: 24px;
}

.setores-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #374151;
  font-size: 0.875rem;
}

.setores-legend-swatch {
  width: 16px;
  height: 12px;
}

.setores-variation {
  font-size: 1.125rem;
  font-weight: 700;
}

.setores-variation.positive {
  color: #16a34a;
}

.setores-variation.negative {
  color: #dc2626;
}

.setores-annual-chart {
  position: relative;
  height: 400px;
}

.setores-y-axis {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 48px;
  width: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #6b7280;
  font-size: 0.75rem;
}

.setores-y-axis span {
  display: block;
  text-align: right;
  padding-right: 8px;
  transform: translateY(-50%);
}

.setores-grid-lines {
  position: absolute;
  left: 48px;
  right: 0;
  top: 0;
  bottom: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.setores-grid-lines div {
  border-top: 1px solid #e5e7eb;
}

.setores-bars {
  position: absolute;
  left: 48px;
  right: 0;
  top: 0;
  bottom: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 48px;
}

.setores-annual-bar {
  width: 96px;
  min-height: 2%;
  transition: height 0.5s ease;
}

.setores-axis-label {
  position: absolute;
  left: 48px;
  right: 0;
  bottom: 0;
  padding: 8px;
  text-align: center;
  color: #6b7280;
  font-size: 0.75rem;
}

.setores-horizontal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.setores-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.setores-row-label {
  width: 192px;
  flex: 0 0 192px;
  color: #1e3a8a;
  font-size: 0.75rem;
  line-height: 1.25;
}

.setores-bar-track {
  position: relative;
  height: 40px;
  flex: 1;
  background: #f3f4f6;
}

.setores-bar-fill {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  transition: width 0.5s ease;
}

.setores-bar-value-outside {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #374151;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.setores-panel-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  color: #6b7280;
  font-size: 0.75rem;
}

.setores-source {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 0.75rem;
  line-height: 1.5;
}

.setores-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 32px;
  padding: 24px;
  border-left: 4px solid #1e3a8a;
  background: #eff6ff;
}

.setores-banner h3 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 1.125rem;
  font-weight: 600;
}

.setores-banner p {
  margin: 0 0 12px;
  color: #374151;
  font-size: 0.875rem;
  line-height: 1.65;
}

.setores-banner a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1e3a8a;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.setores-skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.setores-skill-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.setores-skill-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid #f3f4f6;
  color: #374151;
  font-size: 0.875rem;
}

.setores-skill-row:last-child {
  border-bottom: 0;
}

.setores-skill-row strong {
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 600;
}

.setores-info {
  margin-top: 32px;
  margin-bottom: 48px;
}

.setores-info p {
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.6;
}

.setores-info a {
  color: #1e3a8a;
  font-weight: 600;
}

.setores-footer {
  margin-top: 48px;
  padding: 32px 0;
  background: #111827;
  color: #9ca3af;
  text-align: center;
  font-size: 0.875rem;
}

.dashboard-footer {
  display: none;
}

body.dashboard-shell .dashboard-footer {
  display: block;
}

.bg-red-500 {
  background: #ef4444;
}

.bg-yellow-400 {
  background: #facc15;
}

.bg-teal-600 {
  background: #0d9488;
}

.bg-yellow-500 {
  background: #eab308;
}

.bg-orange-600 {
  background: #ea580c;
}

.bar-palette-0 { background: #0d9488; }
.bar-palette-1 { background: #f97316; }
.bar-palette-2 { background: #ea580c; }
.bar-palette-3 { background: #dc2626; }
.bar-palette-4 { background: #14b8a6; }
.bar-palette-5 { background: #eab308; }
.bar-palette-6 { background: #f97316; }
.bar-palette-7 { background: #ef4444; }
.bar-palette-8 { background: #0f766e; }
.bar-palette-9 { background: #c2410c; }

@media (max-width: 900px) {
  .landing-container,
  .setores-container {
    width: min(100% - 32px, 1280px);
  }

  .landing-text-block,
  .landing-data-card,
  .landing-process {
    width: min(100% - 32px, 1280px);
  }

  .landing-header-inner,
  .landing-nav {
    gap: 16px;
  }

  .dashboard-header-inner {
    width: min(100% - 32px, 1280px);
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .dashboard-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .dashboard-user-summary {
    width: 100%;
    text-align: left;
  }

  .dashboard-user-summary strong {
    max-width: 100%;
  }

  .profile-container {
    width: min(100% - 32px, 896px);
  }

  .admin-container {
    width: min(100% - 32px, 1040px);
  }

  .profile-panel {
    padding: 24px;
  }

  .admin-section,
  #filterVisibilitySection {
    padding: 24px;
  }

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

  .landing-nav a {
    display: none;
  }

  .landing-nav .landing-nav-action {
    display: inline-flex;
    width: 112px;
    padding: 0 12px;
  }

  .landing-brand span {
    font-size: 1rem;
  }

  .landing-hero-inner {
    padding: 72px 0;
  }

  .landing-card-grid,
  .landing-feature,
  .landing-footer-grid,
  .public-data-filters,
  .setores-filters,
  .setores-kpis,
  .setores-main-grid,
  .setores-skills-grid {
    grid-template-columns: 1fr;
  }

  .landing-feature-stack {
    gap: 56px;
  }

  .landing-feature-copy {
    order: 2;
  }

  .public-data-header-inner {
    min-height: 76px;
  }

  .public-data-brand span {
    font-size: 1.125rem;
  }

  .public-data-bottom {
    width: min(100% - 32px, 1280px);
  }

  .public-data-contact {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .setores-kpis {
    gap: 16px;
  }

  .setores-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .setores-row-label {
    width: 100%;
    flex-basis: auto;
  }

  .setores-bar-track {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .tab-bar {
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: min(100% - 32px, 1280px);
  }

  .tab-bar button {
    flex: 1 1 calc(50% - 8px) !important;
    min-width: 0 !important;
    padding: 10px 8px !important;
  }
}
