/* ============================================================
   HUB DE RECRUTAMENTO — Suporte
   style.css
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --verde:        #0A2E20;
  --verde-med:    #0F4A34;
  --amarelo:      #F5C107;
  --branco:       #FFFFFF;
  --font-display: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  --font-cond:    'Barlow Condensed', 'Bebas Neue', sans-serif;
  --font-body:    'Barlow', 'Segoe UI', sans-serif;
  --topo-h:       96px;
  --transition:   .4s cubic-bezier(.4,0,.2,1);
}

html { font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--verde);
  color: var(--branco);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Topo ---------- */
.topo {
  height: var(--topo-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 32px;
  background: var(--verde);
  border-bottom: 3px solid var(--amarelo);
}
.topo-logo { height: 40px; width: auto; }
.topo-textos {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.3;
}
.topo-tagline {
  font-family: var(--font-cond);
  font-size: 16px;
  letter-spacing: .3px;
  color: var(--branco);
}
.topo-destaque {
  font-family: var(--font-cond);
  font-size: 26px;
  text-transform: uppercase;
  color: var(--amarelo);
  font-weight: 700;
  letter-spacing: .5px;
}

/* ---------- Faixas ---------- */
.faixas {
  position: relative;
  display: flex;
  flex-direction: row;
  min-height: 420px;
  height: calc(100vh - var(--topo-h));
}

.faixa.reveal-init {
  opacity: 0;
  transform: translateY(24px);
}
.faixa.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

.scroll-cue {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--amarelo);
  font-size: 22px;
  opacity: .85;
  pointer-events: none;
  z-index: 5;
  animation: scrollCuePulse 1.6s ease-in-out infinite;
  transition: opacity .4s ease;
}
.scroll-cue.hidden { opacity: 0; }

@keyframes scrollCuePulse {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.faixa {
  position: relative;
  flex: 0 1 20%;
  min-width: 64px;
  display: block;
  overflow: hidden;
  background-color: var(--verde-med);
  transition: flex-basis var(--transition), opacity .6s ease, transform .6s ease;
}

.faixa:hover,
.faixa:focus-within,
.faixa:focus-visible {
  flex-basis: 40%;
}

.faixa-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.faixa:hover .faixa-bg,
.faixa:focus-within .faixa-bg,
.faixa:focus-visible .faixa-bg {
  transform: scale(1.08);
}

.faixa-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,46,32,.45) 0%, rgba(10,46,32,.18) 55%, rgba(10,46,32,.08) 100%);
}

.faixa-conteudo {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 12px;
  text-align: center;
}

.faixa-setor {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.7vw, 80px);
  line-height: 1.05;
  letter-spacing: 1px;
  color: var(--amarelo);
  text-shadow: 0 4px 24px rgba(0,0,0,.55), 0 1px 6px rgba(0,0,0,.7);
  transition: transform var(--transition);
  display: inline-block;
  max-width: 100%;
  overflow-wrap: break-word;
}
.faixa-laboratorio .faixa-setor,
.faixa-administrativo .faixa-setor {
  font-size: clamp(28px, 3.3vw, 60px);
}
.faixa:hover .faixa-setor,
.faixa:focus-within .faixa-setor,
.faixa:focus-visible .faixa-setor {
  transform: rotate(-3deg);
}

.faixa-expandido {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height var(--transition), opacity var(--transition);
  margin-top: 12px;
}
.faixa:hover .faixa-expandido,
.faixa:focus-within .faixa-expandido,
.faixa:focus-visible .faixa-expandido {
  max-height: 220px;
  opacity: 1;
}

.faixa-campanha {
  display: block;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 20px;
  color: var(--branco);
  margin-bottom: 6px;
}
.faixa-frase {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: #d8e6de;
  max-width: 220px;
  margin: 0 auto 12px;
}
.faixa-cta {
  display: inline-block;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .5px;
  color: var(--verde);
  background: var(--amarelo);
  padding: 8px 16px;
  border-radius: 8px;
}

/* ---------- Rodapé ---------- */
.rodape {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 16px;
  background: var(--verde);
}
.rodape-social { display: flex; gap: 18px; }
.rodape-social a { color: var(--branco); opacity: .8; transition: opacity .2s; }
.rodape-social a:hover,
.rodape-social a:focus-visible { opacity: 1; color: var(--amarelo); }
.rodape-copy { font-size: 12px; color: #9fb8ac; text-align: center; }
.rodape-copy a { color: var(--amarelo); }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  .faixa,
  .faixa-bg,
  .faixa-setor,
  .faixa-expandido,
  .scroll-cue {
    transition: none !important;
    animation: none !important;
  }
  .faixa.reveal-init {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .topo { height: auto; flex-direction: column; align-items: center; gap: 8px; padding: 16px 20px; }
  .topo-textos { align-items: center; }
  .topo-tagline { font-size: 14px; text-align: center; }
  .topo-destaque { font-size: 18px; text-align: center; }

  .faixas { flex-direction: column; height: auto; min-height: 0; }

  .faixa {
    flex-basis: auto;
    height: 210px;
    transition: opacity .6s ease, transform .6s ease;
  }
  .faixa:hover,
  .faixa:focus-within,
  .faixa:focus-visible {
    flex-basis: auto;
  }
  .faixa:active {
    filter: brightness(.8);
    transition: filter .15s ease;
  }

  .faixa-conteudo { justify-content: center; padding: 16px; }
  .faixa-setor { font-size: 40px; }

  /* On mobile there's no hover: show the campaign name immediately, always expanded. */
  .faixa-expandido {
    max-height: none;
    opacity: 1;
    overflow: visible;
    margin-top: 6px;
  }
  .faixa-frase { display: none; }
  .faixa-cta {
    display: inline-block;
    font-size: 12px;
    padding: 6px 12px;
  }
}
