:root {
  --navy: #062b5b;
  --navy-dark: #002755;
  --blue: #0d5fc4;
  --blue-light: #eaf3fc;
  --yellow: #ffbd16;
  --yellow-dark: #efa900;
  --green: #078653;
  --text: #101820;
  --muted: #626b75;
  --border: #dfe5eb;
  --white: #ffffff;
  --section: #f6f8fa;
  --shadow: 0 8px 24px rgba(0, 35, 75, .08);
  --radius: 9px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.container {
  width: min(1380px, calc(100% - 80px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========================= HEADER ========================= */

.site-header {
  height: 78px;
  background: var(--navy-dark);
  color: white;
  position: relative;
  z-index: 20;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 530px;
}

.brand-logo {
  width: 157px;
  max-height: 58px;
  object-fit: contain;
}

.brand-divider {
  width: 1px;
  height: 38px;
  background: rgba(255,255,255,.5);
  margin: 0 28px 0 20px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-text strong {
  font-size: 20px;
  letter-spacing: .2px;
  line-height: 1;
}

.brand-text strong span {
  color: var(--yellow);
}

.brand-text small {
  font-size: 14px;
  white-space: nowrap;
  color: #f3f5f7;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 39px;
  height: 100%;
}

.main-nav a {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  height: 3px;
  left: 0;
  right: 0;
  bottom: 12px;
  background: var(--yellow);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 27px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

/* ========================= HERO ========================= */

.hero {
  min-height: 470px;      /* aumenta um pouco a hero */
  position: relative;
  overflow: visible;      /* permite a badge sair da hero */
  background:#fff;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: url("images/hero-araruama.jpg");
  background-size: cover;
  background-position: center right;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,.98) 27%,
      rgba(255,255,255,.76) 41%,
      rgba(255,255,255,.12) 58%,
      rgba(8,76,145,.04) 100%);
}

.hero-content {
  min-height: 470px;
  position: relative;
  z-index: 2;
  display:flex;
  align-items:flex-start;
}

.hero-copy {
  padding-top: 27px;
  width: 610px;
}

.hero-copy h1 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(48px, 5vw, 60px);
  line-height: .98;
  letter-spacing: -1.8px;
  font-weight: 800;
}

.hero-copy h1 span {
  color: var(--yellow);
}

.hero-copy > p {
  font-size: 19px;
  line-height: 1.55;
  margin: 10px 0 22px;
}

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

.action-card {
  width: 194px;
  height: 135px;
  border-radius: 13px;
  padding: 19px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 38, 85, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.action-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 38, 85, .17);
}

.action-blue { background: #103e7a; }
.action-green { background: #078253; }
.action-yellow { background: #ffb900; }

.action-card strong {
  font-size: 17px;
  line-height: 1.2;
}

.action-card small {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 13px;
}

.action-icon {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  color: #fff;
  position: relative;
}

.person-icon {
  font-size: 26px;
  line-height: 22px;
  text-align: center;
}

.building-icon {
  font-size: 32px;
  line-height: 27px;
}

.search-icon,
.search-button-icon {
  display: block;
  width: 25px;
  height: 25px;
  border: 4px solid #fff;
  border-radius: 50%;
  position: relative;
  margin-top: 2px;
}

.search-icon::after,
.search-button-icon::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 4px;
  border-radius: 4px;
  background: #fff;
  right: -10px;
  bottom: -5px;
  transform: rotate(48deg);
}

.hero-badge {
  position:absolute;
  right:8%;
  bottom:-28px;           /* invade 28px a parte branca */
  width:490px;
  height:112px;
  border-radius:13px;
  background:#082e61;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-evenly;
  z-index:100;            /* fica acima da seção branca */
  box-shadow:0 4px 20px rgba(0,33,76,.28); /* sombra mais forte */
}

.badge-item {
  width: 145px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.badge-item strong {
  font-size: 12px;
  line-height: 1.25;
}

.badge-separator {
  width: 1px;
  height: 59px;
  background: rgba(255,255,255,.45);
}

.line-icon {
  width: 38px;
  height: 38px;
  border: 2px solid #3f8bd4;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 22px;
}

.check-icon {
  border-color: #3e95e5;
}

.pin-icon {
  border-color: var(--yellow);
  color: var(--yellow);
}

/* ========================= JOBS ========================= */

.jobs-section {
    position:relative;
  z-index:1;
  background:#fff;
  padding:70px 0 17px;    /* espaço para a badge flutuar */
}

.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-heading-row h2,
.featured-title,
.how-section h2,
.benefit-column h2 {
  color: var(--navy);
  font-size: 19px;
  margin: 0;
  font-weight: 800;
}

.all-jobs {
  color: #0757a9;
  font-weight: 800;
  font-size: 13px;
}

.all-jobs span {
  font-size: 19px;
  margin-left: 5px;
}

.jobs-grid {
  display: grid;
  grid-template-columns: 405px 1fr;
  gap: 67px;
  align-items: start;
}

.search-panel {
  padding-right: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-panel input,
.search-panel select {
  width: 100%;
  height: 41px;
  border: 1px solid #d6dde4;
  border-radius: 7px;
  padding: 0 14px;
  outline: none;
  background: #fff;
  color: #444;
  font-size: 13px;
}

.search-panel input:focus,
.search-panel select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(13,95,196,.09);
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  appearance: none;
  cursor: pointer;
  padding-right: 40px;
}

.select-wrap::after {
  content: "⌄";
  position: absolute;
  right: 15px;
  top: 9px;
  color: #65717b;
  font-size: 16px;
  pointer-events: none;
}

.search-bottom {
  display: grid;
  grid-template-columns: 1fr 147px;
  gap: 13px;
}

.search-button {
  height: 41px;
  border: 0;
  border-radius: 7px;
  color: white;
  background: var(--navy);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.search-button:hover {
  background: #0b3d78;
}

.search-button-icon {
  width: 13px;
  height: 13px;
  border-width: 2px;
  margin: 0;
}

.search-button-icon::after {
  width: 7px;
  height: 2px;
  right: -6px;
  bottom: -3px;
}

.featured-jobs {
  min-width: 0;
}

.featured-title {
  margin-bottom: 17px;
}

.job-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.job-card {
  min-height: 170px;
  border: 1px solid #e0e5e9;
  border-radius: 8px;
  padding: 14px 16px 11px;
  box-shadow: 0 3px 8px rgba(0,0,0,.02);
  background: white;
}

.job-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.job-card h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

.job-card h3 span {
  display: inline-block;
  vertical-align: middle;
  margin-left: 5px;
  background: #0c5fb5;
  color: #fff;
  font-size: 9px;
  padding: 4px 7px;
  border-radius: 12px;
}

.job-card p {
  margin: 0;
  color: #444;
  font-size: 13px;
}

.job-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 21px;
  border: 3px solid;
  flex: 0 0 auto;
}

.blue-icon {
  color: #2e6fc2;
  border-color: #d7e5f7;
}

.green-icon {
  color: #0b8151;
  border-color: #d5eadf;
}

.yellow-icon {
  color: #f1b000;
  border-color: #f9e5ae;
}

.job-location {
  margin-top: 12px !important;
  color: #555 !important;
}

.job-location span {
  color: #5f6871;
  margin-right: 4px;
}

.salary {
  display: block;
  color: #075bbd;
  margin-top: 9px;
  font-size: 14px;
}

.view-job {
  display: inline-flex;
  height: 28px;
  min-width: 112px;
  padding: 0 15px;
  align-items: center;
  justify-content: center;
  border: 1px solid #0b5fc3;
  border-radius: 6px;
  color: #0757ae;
  font-size: 11px;
  font-weight: 800;
  margin-top: 11px;
}

.view-job:hover {
  color: #fff;
  background: #0b5fc3;
}

/* ========================= HOW IT WORKS ========================= */

.how-section {
  background: #edf4f9;
  padding: 22px 0 23px;
}

.how-grid {
  display: grid;
  grid-template-columns: 1.65fr .9fr .9fr;
  align-items: stretch;
}

.how-process {
  padding-right: 26px;
}

.how-process h2,
.benefit-column h2 {
  margin-bottom: 21px;
}

.process-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.process-step {
  width: 112px;
}

.process-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: white;
  margin-bottom: 8px;
}

.blue-circle { background: #2e72c2; }
.green-circle { background: #16865b; }
.yellow-circle { background: #ffb900; }

.process-step strong {
  color: var(--navy);
  font-size: 11px;
  display: block;
  margin-bottom: 5px;
}

.process-step p {
  font-size: 11px;
  line-height: 1.4;
  margin: 0;
}

.process-arrow {
  color: #7a8288;
  font-size: 39px;
  font-weight: 200;
  line-height: 47px;
}

.benefit-column {
  border-left: 1px solid #cbd6df;
  padding-left: 50px;
}

.benefit-column ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.benefit-column li {
  position: relative;
  padding-left: 29px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.25;
}

.benefit-column li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  color: white;
  background: #0d8b5b;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}

#candidato + .benefit-column li::before {
  background: #4281c9;
}

/* ========================= ABOUT ========================= */

.about-section {
  display: none;
  padding: 65px 0;
  background: #fff;
}

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

.eyebrow {
  color: var(--yellow-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.about-section h2 {
  color: var(--navy);
  font-size: 42px;
  line-height: 1.1;
  margin: 12px 0 0;
}

.about-section p {
  font-size: 17px;
  line-height: 1.7;
  color: #505a64;
}

/* ========================= FOOTER ========================= */

.site-footer {
  background: var(--navy-dark);
  color: white;
  min-height: 97px;
}

.footer-grid {
  min-height: 97px;
  display: grid;
  grid-template-columns: 1.1fr 1.25fr 1fr 1.1fr;
  align-items: center;
}

.footer-help {
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-circle {
  width: 29px;
  height: 29px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
}

.footer-help strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}

.footer-help p {
  margin: 0;
  font-size: 12px;
}

.footer-contact {
  border-left: 1px solid rgba(255,255,255,.55);
  padding-left: 28px;
}

.footer-contact p {
  margin: 4px 0;
  font-size: 12px;
}

.footer-contact p span {
  display: inline-block;
  width: 22px;
  font-size: 15px;
}

.footer-logo {
  border-left: 1px solid rgba(255,255,255,.55);
  padding-left: 55px;
}

.footer-logo img {
  width: 190px;
  max-height: 62px;
  object-fit: contain;
}

.footer-slogan {
  border-left: 1px solid rgba(255,255,255,.55);
  padding-left: 35px;
}

.footer-slogan strong {
  display: block;
  font-size: 13px;
  line-height: 1.35;
}

.footer-slogan small {
  display: block;
  font-size: 9px;
  margin-top: 6px;
}


/* ========================= LOGO CONTRATA ARARU ========================= */
.brand-contrata-logo {
  width: 42px;
  height: 48px;
  object-fit: contain;
  margin-left: 16px;
  flex: 0 0 auto;
}

.footer-brand-logos {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-prefeitura-logo {
  width: 150px;
  max-height: 58px;
  object-fit: contain;
}

.footer-contrata-logo {
  width: 48px;
  height: 58px;
  object-fit: contain;
}

.footer-logo-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.4);
}

@media (max-width: 1250px) {
  .brand-contrata-logo {
    width: 38px;
    height: 44px;
    margin-left: 10px;
  }
}

@media (max-width: 980px) {
  .brand-contrata-logo {
    width: 36px;
    height: 42px;
    margin-left: 8px;
  }

  .footer-brand-logos {
    gap: 14px;
  }

  .footer-prefeitura-logo {
    width: 145px;
  }

  .footer-contrata-logo {
    width: 44px;
    height: 54px;
  }
}

@media (max-width: 650px) {
  .brand-contrata-logo {
    width: 30px;
    height: 36px;
    margin-left: 6px;
  }

  .footer-brand-logos {
    gap: 12px;
  }

  .footer-prefeitura-logo {
    width: 125px;
    max-height: 50px;
  }

  .footer-contrata-logo {
    width: 38px;
    height: 48px;
  }

  .footer-logo-divider {
    height: 40px;
  }
}

/* ========================= RESPONSIVE ========================= */

@media (max-width: 1250px) {
  .container {
    width: min(1120px, calc(100% - 48px));
  }

  .brand {
    min-width: auto;
  }

  .brand-text small {
    display: none;
  }

  .main-nav {
    gap: 22px;
  }

  .jobs-grid {
    grid-template-columns: 330px 1fr;
    gap: 38px;
  }

  .hero-badge {
    right: 4%;
  }

  .how-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1.2fr 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .site-header {
    height: 70px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    height: auto;
    background: var(--navy-dark);
    padding: 10px 24px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 12px 20px rgba(0,0,0,.15);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    height: 45px;
  }

  .main-nav a.active::after,
  .main-nav a:hover::after {
    bottom: 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero,
  .hero-content {
    min-height: 610px;
  }

  .hero-image {
    background-position: 67% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg,
      rgba(255,255,255,.97) 0%,
      rgba(255,255,255,.9) 45%,
      rgba(255,255,255,.18) 100%);
  }

  .hero-copy {
    width: 100%;
  }

  .hero-badge {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    bottom: 24px;
  }

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

  .search-panel {
    max-width: 700px;
  }

  .how-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .how-process {
    grid-column: 1 / -1;
    padding-right: 0;
  }

  .benefit-column {
    border-top: 1px solid #cbd6df;
    border-left: 0;
    padding: 24px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    padding: 20px 0;
    gap: 20px;
  }

  .footer-logo,
  .footer-slogan {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 650px) {
  .container {
    width: min(100% - 30px, 560px);
  }

  .site-header {
    height: 65px;
  }

  .brand-logo {
    width: 115px;
  }

  .brand-divider {
    margin: 0 12px;
    height: 32px;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .hero,
  .hero-content {
    min-height: 665px;
  }

  .hero-copy {
    padding-top: 25px;
  }

  .hero-copy h1 {
    font-size: 45px;
  }

  .hero-copy > p {
    font-size: 16px;
  }

  .desktop-only {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  
    .action-card{
  width:100%;
  height:120px;              /* um pouco mais alto */
  border-radius:13px;
  padding:16px 18px;
  display:flex;
  align-items:center;        /* centraliza verticalmente */
  gap:16px;
  color:#fff;
  box-shadow:0 8px 18px rgba(0,38,85,.08);
  }

  .action-card span:last-child{
  display:flex;
  flex-direction:column;
  justify-content:center;    /* centraliza o bloco de texto */
}

.action-card strong{
  font-size:18px;
  line-height:1.1;
  margin-bottom:6px;
}

.action-card small{
  font-size:13px;
  line-height:1.35;
  margin:0;
}

  .hero-badge {
    width: calc(100% - 30px);
    height: 90px;
    bottom: 18px;
  }

  .badge-item {
    width: 31%;
  }

  .badge-item strong {
    font-size: 9px;
  }

  .line-icon {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .badge-separator {
    height: 48px;
  }

  .section-heading-row {
    align-items: flex-start;
    gap: 15px;
  }

  .section-heading-row h2,
  .featured-title {
    font-size: 16px;
  }

  .all-jobs {
    font-size: 10px;
    text-align: right;
  }

  .search-bottom {
    grid-template-columns: 1fr;
  }

  .job-cards {
    grid-template-columns: 1fr;
  }

  .job-card {
    min-height: 160px;
  }

  .process-row {
    flex-wrap: wrap;
    gap: 18px 8px;
    justify-content: center;
  }

  .process-arrow {
    display: none;
  }

  .process-step {
    width: 44%;
  }

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

  .benefit-column {
    grid-column: 1;
  }

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

  .footer-contact {
    border-left: 0;
    padding-left: 0;
  }

  .footer-slogan {
    display: none;
  }
}


/* ========================= MVP — FORMULÁRIOS ========================= */
body.modal-open { overflow: hidden; }

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.modal.is-open { display: block; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 24, 52, .68);
  backdrop-filter: blur(2px);
}

.modal-dialog {
  position: relative;
  width: min(760px, calc(100% - 30px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  margin: 20px auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 25px 70px rgba(0,0,0,.28);
  padding: 30px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f1f4f7;
  color: var(--navy);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal-header { padding-right: 40px; margin-bottom: 22px; }
.modal-eyebrow {
  color: var(--yellow-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
}
.modal-header h2 {
  margin: 7px 0 6px;
  color: var(--navy);
  font-size: 28px;
}
.modal-header p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.mvp-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}
.mvp-form input:not([type="checkbox"]),
.mvp-form select,
.mvp-form textarea {
  width: 100%;
  border: 1px solid #d4dde6;
  border-radius: 8px;
  padding: 11px 12px;
  background: #fff;
  color: #202830;
  outline: none;
  font-size: 14px;
}
.mvp-form textarea { resize: vertical; }
.mvp-form input:not([type="checkbox"]):focus,
.mvp-form select:focus,
.mvp-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(13,95,196,.09);
}
.mvp-form .full { grid-column: 1 / -1; }
.mvp-form .consent {
  flex-direction: row;
  align-items: flex-start;
  font-weight: 400;
  color: #4f5963;
  line-height: 1.4;
}
.mvp-form .consent input { margin-top: 3px; accent-color: var(--blue); }

.form-submit {
  width: 100%;
  margin-top: 18px;
  border: 0;
  border-radius: 8px;
  padding: 13px 18px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.form-submit:hover { background: #0b3d78; }
.form-submit:disabled { opacity: .65; cursor: wait; }

.form-message {
  margin-top: 12px;
  padding: 11px 12px;
  border-radius: 8px;
  display: none;
  font-size: 13px;
  line-height: 1.4;
}
.form-message.success { display: block; background: #e8f7ef; color: #126b42; }
.form-message.error { display: block; background: #fff0f0; color: #9b2020; }

@media (max-width: 650px) {
  .modal-dialog { padding: 24px 18px; margin: 10px auto; max-height: calc(100vh - 20px); }
  .form-grid { grid-template-columns: 1fr; }
  .mvp-form .full { grid-column: auto; }
  .modal-header h2 { font-size: 24px; }
}


/* =========================================================
   CONTRATA ARARUAMA — CAMPOS ADICIONAIS
   Cole este bloco no final do styles.css
   ========================================================= */

.form-field {
  margin-bottom: 16px;
}

.form-field label,
.upload-label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="number"],
.form-field input[type="file"],
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 11px 13px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.form-field textarea {
  min-height: 105px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(13,95,196,.09);
}

.file-upload-box {
  border: 1.5px dashed #b9c8d6;
  border-radius: 10px;
  background: #f7fafc;
  padding: 15px;
}

.file-upload-box input[type="file"] {
  padding: 8px;
  border: 1px solid #d6dde4;
  background: #fff;
}

.file-help {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.file-name {
  display: none;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 7px;
  background: var(--blue-light);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.file-name.show {
  display: block;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0;
}

.checkbox-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--green);
  flex: 0 0 auto;
}

.checkbox-field label {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
  cursor: pointer;
}

.moeda-araru-box {
  margin-top: 12px;
  padding: 13px 15px;
  border: 1px solid #d9eadf;
  border-radius: 9px;
  background: #f3faf6;
}

.moeda-araru-box strong {
  display: block;
  margin-bottom: 4px;
  color: #08784b;
  font-size: 13px;
}

.moeda-araru-box small {
  display: block;
  color: #53665d;
  font-size: 11px;
  line-height: 1.45;
}

.form-message {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 12px;
  line-height: 1.4;
  display: none;
}

.form-message.show {
  display: block;
}

.form-message.success {
  background: #eaf7f0;
  color: #08784b;
  border: 1px solid #bfe5cf;
}

.form-message.error {
  background: #fff0f0;
  color: #a52222;
  border: 1px solid #f0c4c4;
}

.submit-loading {
  opacity: .7;
  pointer-events: none;
}

@media (max-width: 650px) {
  .file-upload-box {
    padding: 12px;
  }

  .checkbox-field label {
    font-size: 12px;
  }
}

/* =========================================================
   AJUSTE FINAL — IDENTIDADE DO CONTRATA ARARU NO CABEÇALHO
   Mantém a Prefeitura e coloca a marca Contrata ao lado do nome,
   sem empurrar o menu para fora da tela.
   ========================================================= */

.brand {
  min-width: 0;
  flex: 1 1 auto;
  gap: 0;
}

.brand-logo {
  width: 138px;
  height: 58px;
  max-height: 58px;
  flex: 0 0 auto;
}

.brand-divider {
  margin: 0 18px 0 16px;
  height: 38px;
  flex: 0 0 1px;
}

.brand-text {
  min-width: 0;
  flex: 0 1 auto;
}

.brand-text strong {
  font-size: 20px;
  white-space: nowrap;
}

.brand-text small {
  font-size: 12px;
  white-space: nowrap;
}

.brand-contrata-logo {
  width: 48px;
  height: 54px;
  margin-left: 18px;
  flex: 0 0 48px;
}

.main-nav {
  flex: 0 0 auto;
  gap: 28px;
}

/* Rodapé: as duas marcas ficam juntas e proporcionais */
.footer-brand-logos {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-prefeitura-logo {
  width: 138px;
  max-height: 58px;
  object-fit: contain;
}

.footer-contrata-logo {
  width: 48px;
  height: 54px;
  object-fit: contain;
}

.footer-logo-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,.42);
  flex: 0 0 1px;
}

@media (max-width: 1250px) {
  .brand-logo {
    width: 128px;
  }

  .brand-divider {
    margin-left: 12px;
    margin-right: 14px;
  }

  .brand-text strong {
    font-size: 18px;
  }

  .brand-text small {
    font-size: 11px;
  }

  .brand-contrata-logo {
    width: 44px;
    height: 50px;
    margin-left: 12px;
    flex-basis: 44px;
  }

  .main-nav {
    gap: 20px;
  }
}

@media (max-width: 980px) {
  .brand-logo {
    width: 120px;
    height: 52px;
  }

  .brand-divider {
    margin: 0 10px;
    height: 34px;
  }

  .brand-text strong {
    font-size: 17px;
  }

  .brand-text small {
    display: none;
  }

  .brand-contrata-logo {
    width: 40px;
    height: 46px;
    margin-left: 10px;
    flex-basis: 40px;
  }
}

@media (max-width: 650px) {
  .brand-logo {
    width: 96px;
    height: 48px;
  }

  .brand-divider {
    margin: 0 7px;
    height: 29px;
  }

  .brand-text strong {
    font-size: 14px;
    letter-spacing: 0;
  }

  .brand-contrata-logo {
    width: 32px;
    height: 38px;
    margin-left: 7px;
    flex-basis: 32px;
  }

  .footer-brand-logos {
    gap: 11px;
  }

  .footer-prefeitura-logo {
    width: 120px;
    max-height: 48px;
  }

  .footer-contrata-logo {
    width: 38px;
    height: 46px;
  }

  .footer-logo-divider {
    height: 38px;
  }
}

/* =========================================================
   AJUSTE DEFINITIVO — LOGO CONTRATA ARARU NO CABEÇALHO
   Mantém a logo da Prefeitura e coloca a logo do Contrata
   imediatamente ao lado do nome do sistema, sem empurrar o menu.
   ========================================================= */

.site-header .header-inner {
  gap: 18px;
}

.site-header .brand {
  min-width: 0;
  flex: 0 1 auto;
  width: auto;
  max-width: 650px;
  gap: 0;
}

.site-header .brand-logo {
  width: 138px;
  height: 58px;
  max-height: 58px;
  flex: 0 0 auto;
  object-fit: contain;
}

.site-header .brand-divider {
  width: 1px;
  height: 38px;
  margin: 0 18px 0 16px;
  flex: 0 0 1px;
}

.site-header .brand-text {
  min-width: 0;
  flex: 0 1 auto;
}

.site-header .brand-text strong {
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
}

.site-header .brand-text small {
  font-size: 12px;
  line-height: 1.15;
  white-space: nowrap;
}

.site-header .brand-contrata-logo {
  width: 50px;
  height: 54px;
  margin-left: 18px;
  flex: 0 0 50px;
  object-fit: contain;
}

.site-header .main-nav {
  flex: 0 0 auto;
  margin-left: auto;
  gap: 24px;
}

.site-header .main-nav a {
  font-size: 12px;
}

/* Tablets / telas menores */
@media (max-width: 1250px) {
  .site-header .header-inner {
    gap: 14px;
  }

  .site-header .brand {
    max-width: 560px;
  }

  .site-header .brand-logo {
    width: 124px;
    height: 54px;
  }

  .site-header .brand-divider {
    margin-left: 12px;
    margin-right: 14px;
  }

  .site-header .brand-text strong {
    font-size: 18px;
  }

  .site-header .brand-text small {
    display: none;
  }

  .site-header .brand-contrata-logo {
    width: 42px;
    height: 48px;
    margin-left: 12px;
    flex-basis: 42px;
  }

  .site-header .main-nav {
    gap: 17px;
  }

  .site-header .main-nav a {
    font-size: 11px;
  }
}

/* Menu mobile */
@media (max-width: 980px) {
  .site-header .header-inner {
    gap: 10px;
  }

  .site-header .brand {
    max-width: calc(100% - 55px);
  }

  .site-header .brand-logo {
    width: 116px;
    height: 50px;
  }

  .site-header .brand-divider {
    height: 34px;
    margin: 0 10px;
  }

  .site-header .brand-text strong {
    font-size: 17px;
  }

  .site-header .brand-text small {
    display: none;
  }

  .site-header .brand-contrata-logo {
    width: 38px;
    height: 44px;
    margin-left: 10px;
    flex-basis: 38px;
  }

  .site-header .main-nav {
    margin-left: 0;
  }
}

@media (max-width: 650px) {
  .site-header .brand {
    max-width: calc(100% - 48px);
  }

  .site-header .brand-logo {
    width: 94px;
    height: 46px;
  }

  .site-header .brand-divider {
    height: 28px;
    margin: 0 7px;
  }

  .site-header .brand-text strong {
    font-size: 14px;
  }

  .site-header .brand-contrata-logo {
    width: 30px;
    height: 36px;
    margin-left: 7px;
    flex-basis: 30px;
  }
}

/* =========================================================
   RODAPÉ — DUAS MARCAS JUNTAS E PROPORCIONAIS
   ========================================================= */

.site-footer .footer-brand-logos {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-footer .footer-prefeitura-logo {
  width: 138px;
  max-height: 58px;
  object-fit: contain;
}

.site-footer .footer-logo-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,.42);
  flex: 0 0 1px;
}

.site-footer .footer-contrata-logo {
  width: 50px;
  height: 56px;
  object-fit: contain;
}

@media (max-width: 980px) {
  .site-footer .footer-brand-logos {
    gap: 14px;
  }

  .site-footer .footer-prefeitura-logo {
    width: 130px;
  }

  .site-footer .footer-contrata-logo {
    width: 46px;
    height: 52px;
  }
}

@media (max-width: 650px) {
  .site-footer .footer-brand-logos {
    gap: 11px;
  }

  .site-footer .footer-prefeitura-logo {
    width: 118px;
    max-height: 48px;
  }

  .site-footer .footer-contrata-logo {
    width: 40px;
    height: 46px;
  }

  .site-footer .footer-logo-divider {
    height: 38px;
  }
}


/* =========================================================
   CORREÇÃO FINAL — LOGO CONTRATA AO LADO DO NOME
   ========================================================= */
.site-header .brand {
  align-items: center;
}

.site-header .brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.site-header .brand-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.site-header .brand-title-row strong {
  display: block;
  white-space: nowrap;
}

.site-header .brand-title-row .brand-contrata-logo {
  display: block;
  width: 54px;
  height: 54px;
  margin: 0;
  flex: 0 0 54px;
  object-fit: contain;
}

.site-header .brand-text small {
  display: block;
  margin-top: 4px;
}

@media (max-width: 1250px) {
  .site-header .brand-title-row { gap: 8px; }
  .site-header .brand-title-row .brand-contrata-logo {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }
}

@media (max-width: 980px) {
  .site-header .brand-title-row { gap: 6px; }
  .site-header .brand-title-row .brand-contrata-logo {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
}

@media (max-width: 650px) {
  .site-header .brand-title-row { gap: 5px; }
  .site-header .brand-title-row .brand-contrata-logo {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }
}

/* ===== AJUSTE FINAL DA MARCA NO CABEÇALHO ===== */
.site-header .brand {
  display: flex !important;
  align-items: center !important;
}
.site-header .brand-text {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-width: 0 !important;
}
.site-header .brand-title-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  white-space: nowrap !important;
}
.site-header .brand-title-row strong {
  display: block !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}
.site-header .brand-title-row .brand-contrata-logo {
  display: block !important;
  width: 50px !important;
  height: 50px !important;
  object-fit: contain !important;
  margin: 0 !important;
  flex: 0 0 50px !important;
}
.site-header .brand-text small {
  display: block !important;
  margin-top: 5px !important;
}
@media (max-width: 980px) {
  .site-header .brand-title-row { gap: 7px !important; }
  .site-header .brand-title-row .brand-contrata-logo {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
  }
}
@media (max-width: 650px) {
  .site-header .brand-title-row { gap: 5px !important; }
  .site-header .brand-title-row .brand-contrata-logo {
    width: 34px !important;
    height: 34px !important;
    flex-basis: 34px !important;
  }
}


/* =========================================================
   CONTRATA ARARU — LOGO AO LADO DO NOME
   ========================================================= */

.site-header .brand {
  display: flex;
  align-items: center;
}

.site-header .brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-header .brand-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.site-header .brand-title-row strong {
  display: inline-block;
  margin: 0;
  line-height: 1;
}

.site-header .brand-title-row .brand-contrata-logo {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin: 0;
  flex-shrink: 0;
}

.site-header .brand-text small {
  display: block;
  margin-top: 4px;
}


/* CELULAR */

@media (max-width: 700px) {

  .site-header .brand-title-row {
    gap: 8px;
  }

  .site-header .brand-title-row .brand-contrata-logo {
    width: 38px;
    height: 38px;
  }

  .site-header .brand-text small {
    display: none;
  }

}

/* =========================================================
   LOGO CONTRATA ARARU NO HERO
   Logo à esquerda + título CONTRATA ARARU à direita.
   Não altera a logo da Prefeitura no header.
   ========================================================= */

.hero-copy .hero-title-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 0 10px;
}

.hero-copy .hero-title-row h1 {
  margin: 0;
}

.hero-copy .hero-contrata-logo {
  display: block;
  width: 92px;
  height: 92px;
  object-fit: contain;
  flex: 0 0 92px;
}

/* Tablet */
@media (max-width: 980px) {
  .hero-copy .hero-title-row {
    gap: 18px;
  }

  .hero-copy .hero-contrata-logo {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
  }
}

/* Celular */
@media (max-width: 650px) {
  .hero-copy .hero-title-row {
    gap: 12px;
  }

  .hero-copy .hero-contrata-logo {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
  }
}


/* Footer — nome ao lado da logo Contrata */
.site-footer .footer-contrata-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer .footer-contrata-text {
  margin: 0;
  font-size: 20px;
  line-height: 1;
  letter-spacing: .3px;
  color: #fff;
  white-space: nowrap;
}

.site-footer .footer-contrata-text span {
  color: var(--yellow);
}

@media (max-width: 650px) {
  .site-footer .footer-contrata-brand {
    gap: 8px;
  }
  .site-footer .footer-contrata-text {
    font-size: 16px;
  }
}


.job-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}