:root {
  --ink: #202020;
  --charcoal: #1f1f20;
  --gray: #686868;
  --paper: #fbfaf6;
  --cream: #f4efe5;
  --orange: #e97924;
  --gold: #d9ad68;
  --line: rgba(32, 32, 32, 0.15);
  --serif: 'Libre Caslon Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --container: min(1180px, calc(100% - 48px));
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.65;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: var(--container);
  margin-inline: auto;
}
.section {
  padding: 110px 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  background: #fff;
  padding: 12px 18px;
  z-index: 100;
}
.skip-link:focus {
  top: 16px;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow.dark {
  color: #98642c;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(3.5rem, 6.3vw, 6.7rem);
  margin-bottom: 28px;
}
h2 {
  font-size: clamp(2.7rem, 4.8vw, 5rem);
  margin-bottom: 25px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 56px;
  padding: 0 26px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  transition: 0.25s;
}
.button:hover {
  background: #cc6119;
  transform: translateY(-2px);
}
.site-header {
  height: 92px;
  background: var(--charcoal);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 42px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.brand img,
.footer-brand img {
  border-radius: 50%;
  object-fit: cover;
}
.brand span,
.footer-brand span {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand strong,
.footer-brand strong {
  font-family: var(--serif);
  font-size: 1.55rem;
}
.brand small,
.footer-brand small {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  margin-top: 5px;
}
.main-nav {
  display: flex;
  gap: 28px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}
.main-nav a:hover {
  color: #fff;
}
.back-link {
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 28px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #f2a35e;
}
.hero {
  background: var(--charcoal);
  color: #fff;
  padding: 88px 0 36px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 8%;
}
.hero-copy > p:not(.eyebrow) {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}
.hero h1 em {
  color: #ef963f;
  font-weight: 400;
}
.hero .button {
  margin-top: 20px;
}
.hero-visual {
  height: 590px;
  position: relative;
}
.hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  filter: saturate(0.78);
}
.hero-seal {
  position: absolute;
  left: -52px;
  bottom: 45px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: var(--orange);
  border: 8px solid var(--charcoal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-seal strong {
  font-family: var(--serif);
  font-size: 2rem;
}
.hero-seal span {
  font-size: 0.54rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.hero-line {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 42px;
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.hero-line i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}
.culture {
  background: var(--cream);
}
.culture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11%;
  align-items: start;
}
.culture-grid .lead {
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.45;
}
.culture-grid > div:last-child > p:last-child {
  color: var(--gray);
}
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 75px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.values span {
  display: flex;
  gap: 18px;
  padding: 24px;
  border-right: 1px solid var(--line);
  font-size: 0.68rem;
  color: #9c652d;
}
.values span:last-child {
  border: 0;
}
.values strong {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink);
}
.openings {
  background: var(--paper);
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 10%;
  align-items: end;
}
.section-head > p {
  color: var(--gray);
  padding-bottom: 28px;
}
.openings-list {
  margin-top: 54px;
  border-top: 1px solid var(--line);
}
.job {
  display: grid;
  grid-template-columns: 190px 1.25fr 1fr 135px;
  gap: 38px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.job-image {
  height: 145px;
  position: relative;
  overflow: hidden;
  background: #e8e4dc;
}
.job-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15);
}
.job-image span {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--orange);
  color: #fff;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
}
.job-main small {
  color: #9a642e;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.6rem;
}
.job-main h3 {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 6px 0 12px;
}
.job-main p {
  margin: 0;
  color: var(--gray);
  font-size: 0.88rem;
}
.job-details {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.job-details strong {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.job-details ul {
  padding-left: 16px;
  margin: 12px 0 0;
}
.job-details li {
  font-size: 0.77rem;
  color: var(--gray);
  margin: 5px 0;
}
.job-details li::marker {
  color: var(--orange);
}
.job-action {
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
  text-align: right;
}
.job-action span {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--orange);
  font-size: 1.1rem;
  transition: 0.25s;
}
.job-action:hover span {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.application {
  background: #9f3f22;
  color: #fff;
}
.application-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 11%;
  align-items: center;
}
.application-action > p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
}
.button-light {
  background: #fff;
  color: var(--ink);
  margin-top: 18px;
}
.button-light:hover {
  background: var(--cream);
}
.application-action small {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.55);
}
.footer {
  background: #161616;
  color: #fff;
  padding: 58px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 0.8fr 0.8fr;
  gap: 9%;
  align-items: center;
  padding-bottom: 45px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-inner > div {
  display: flex;
  gap: 22px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}
.footer-inner > p {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}
.footer-inner > p span {
  opacity: 0.6;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding-bottom: 55px;
  }
  .hero-visual {
    height: 520px;
    max-width: 720px;
  }
  .culture-grid,
  .section-head,
  .application-grid {
    grid-template-columns: 1fr;
  }
  .section-head > p {
    padding: 0;
  }
  .job {
    grid-template-columns: 150px 1fr 1fr;
  }
  .job-action {
    grid-column: 2/4;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-inner > p {
    grid-column: 1/3;
  }
}
@media (max-width: 680px) {
  :root {
    --container: min(100% - 32px, 1180px);
  }
  .section {
    padding: 76px 0;
  }
  .site-header {
    height: 78px;
  }
  .brand small {
    display: none;
  }
  .back-link {
    font-size: 0;
    padding-left: 18px;
  }
  .back-link span {
    font-size: 1.2rem;
  }
  .hero {
    padding-top: 65px;
  }
  .hero-visual {
    height: 410px;
  }
  .hero-seal {
    left: -8px;
    bottom: 22px;
    width: 125px;
    height: 125px;
    border-width: 6px;
  }
  .values {
    grid-template-columns: 1fr 1fr;
    margin-top: 50px;
  }
  .values span:nth-child(2) {
    border-right: 0;
  }
  .values span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .job {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 0;
  }
  .job-image {
    height: 220px;
  }
  .job-details {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0 0;
  }
  .job-action {
    grid-column: auto;
    justify-content: space-between;
    flex-direction: row-reverse;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-inner > div {
    grid-row: 2;
  }
  .footer-inner > p {
    grid-column: auto;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
.brand strong,
.footer-brand strong {
  font-size: 1rem;
  line-height: 1.2;
  max-width: 190px;
}
.footer-inner > p a {
  color: #fff;
}
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 18px 0 14px;
  border-radius: 99px;
  background: #25d366;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
  animation: whatsappPulse 2.2s infinite;
}
.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}
.whatsapp-float:hover {
  background: #1dbb59;
  transform: translateY(-2px);
}
@keyframes whatsappPulse {
  0%,
  100% {
    box-shadow:
      0 12px 35px rgba(0, 0, 0, 0.28),
      0 0 0 0 rgba(37, 211, 102, 0.38);
  }
  55% {
    box-shadow:
      0 12px 35px rgba(0, 0, 0, 0.28),
      0 0 0 16px rgba(37, 211, 102, 0);
  }
}
@media (max-width: 680px) {
  .brand strong {
    font-size: 0.82rem;
    max-width: 145px;
  }
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
    padding: 0;
    justify-content: center;
  }
  .whatsapp-float span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    animation: none;
  }
}
.footer-inner {
  grid-template-columns: 1fr 1fr;
}
.footer-inner > div {
  justify-content: flex-start;
}
.footer-inner > p {
  text-align: right;
}
@media (max-width: 680px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-inner > p {
    text-align: left;
  }
}

/* Mantém o botão de WhatsApp íntegro em qualquer resolução. */
.whatsapp-float {
  width: 62px;
  height: 62px;
  min-height: 62px;
  padding: 0;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
}
.whatsapp-float svg {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  background: transparent !important;
}

/* Barra clara: o fundo da logo se integra naturalmente ao cabeçalho. */
.site-header {
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.main-nav {
  color: rgba(32, 32, 32, 0.68);
}
.main-nav a:hover {
  color: var(--orange);
}
.back-link {
  border-left-color: var(--line);
  color: #a6581b;
}
.brand-logo {
  background: #fff;
  box-shadow: none;
  border-radius: 0;
}

/* Escala refinada para uma assinatura mais leve no cabeçalho. */
.brand-logo {
  width: 148px;
  height: 78px;
}
.brand-logo img {
  top: -45px;
  left: -10px;
  width: 175px !important;
  height: 175px !important;
  filter: contrast(1.03);
}
@media (max-width: 680px) {
  .brand-logo {
    width: 126px;
    height: 68px;
  }
  .brand-logo img {
    top: -39px;
    left: -8px;
    width: 154px !important;
    height: 154px !important;
  }
}

/* Assinatura da marca: imagem inteira, centralizada sobre uma base clara. */
.brand {
  gap: 0;
}
.brand-logo {
  display: block !important;
  position: relative;
  width: 175px;
  height: 88px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}
.brand-logo img {
  position: absolute !important;
  top: -51px;
  left: -11px;
  width: 200px !important;
  height: 200px !important;
  max-width: none;
  object-fit: contain;
  border-radius: 0;
}
.brand > span:not(.brand-logo) {
  display: none;
}
@media (max-width: 680px) {
  .brand-logo {
    width: 142px;
    height: 72px;
    border-radius: 6px;
  }
  .brand-logo img {
    top: -42px;
    left: -9px;
    width: 162px !important;
    height: 162px !important;
  }
}

/* Mesma assinatura visual do cabeçalho da página institucional. */
.site-header {
  position: relative;
}
.header-inner {
  gap: 28px;
}
.brand-logo {
  width: 148px;
  height: 78px;
  border-radius: 0;
  box-shadow: none;
}
.brand-logo img {
  top: -45px;
  left: -10px;
  width: 175px !important;
  height: 175px !important;
}
.main-nav {
  gap: 25px;
  font-size: 0.78rem;
}
.footer-inner > div {
  flex-wrap: wrap;
  row-gap: 10px;
}
@media (max-width: 1100px) {
  .main-nav {
    gap: 16px;
    font-size: 0.72rem;
  }
  .header-inner {
    gap: 20px;
  }
  .back-link {
    padding-left: 18px;
  }
}
@media (max-width: 830px) {
  .main-nav {
    display: none;
  }
  .header-inner {
    gap: 16px;
  }
  .back-link {
    margin-left: auto;
  }
}
@media (max-width: 680px) {
  .brand-logo {
    width: 126px;
    height: 68px;
  }
  .brand-logo img {
    top: -39px;
    left: -8px;
    width: 154px !important;
    height: 154px !important;
  }
}

/* Logo aplicada ao selo da imagem principal. */
.hero-seal {
  background: #fff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}
.hero-seal img {
  width: 132px;
  height: 132px;
  object-fit: contain;
}
@media (max-width: 680px) {
  .hero-seal img {
    width: 96px;
    height: 96px;
  }
}

/* Foto real da equipe do CBU integrada à composição da hero. */
.hero-visual > img {
  object-position: center 43%;
  filter: saturate(0.88) contrast(1.035);
}
