/* ===== Variáveis e reset ===== */
:root {
  --navy: #0a0e27;
  --blue-dark: #1a2744;
  --yellow: #f5a623;
  --orange: #e67e22;
  --accent: linear-gradient(135deg, #f5a623 0%, #e67e22 100%);
  --white: #ffffff;
  --radius: 8px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--white);
  background: var(--navy);
}

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

ul {
  list-style: none;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.header {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-icon-img {
  display: block;
  height: 40px;
  width: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  object-position: left center;
}

/* ===== Botões ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.45);
}

/* ===== Hero Trabale Conosco ===== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--blue-dark);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, var(--blue-dark) 0%, var(--blue-dark) 45%, transparent 70%);
  z-index: 1;
}

.hero-shape {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 40px 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-content {
  max-width: 520px;
}

.hero-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 20px;
  display: block;
}

.hero-label::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--yellow);
  margin-top: 12px;
  border-radius: 2px;
}

.hero-title {
  font-size: clamp(2.5rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.hero-title strong {
  color: var(--yellow);
}

.hero-text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.75;
  margin-bottom: 0;
  max-width: 440px;
}

.hero-cta {
  align-self: flex-start;
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(145deg, var(--navy) 0%, var(--blue-dark) 100%);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}

/* ===== Seções ===== */
.section {
  padding: 56px 0;
}

.section-dark {
  background: var(--navy);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--yellow);
  margin-bottom: 16px;
  text-align: center;
}

/* ===== Vagas disponíveis (cards) ===== */
.section-vagas {
  position: relative;
  background: var(--navy);
}

.vagas-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}

.vagas-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(245, 166, 35, 0.06) 0%, transparent 55%);
  pointer-events: none;
}

.section-vagas .container {
  max-width: 960px;
}

.vagas-header {
  margin-bottom: 40px;
}

.vagas-header .section-title {
  margin-bottom: 12px;
}

.vagas-intro {
  max-width: 480px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  line-height: 1.6;
}

.vagas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.vaga-card {
  position: relative;
  min-height: 100px;
  padding: 24px 24px 24px 56px;
  background: rgba(26, 39, 68, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
  overflow: hidden;
}

.vaga-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.25s;
}

.vaga-card:hover {
  background: rgba(26, 39, 68, 0.85);
  border-color: rgba(245, 166, 35, 0.25);
  transform: translateY(-2px);
}

.vaga-card:hover::before {
  opacity: 1;
}

.vaga-icon {
  position: absolute;
  left: 20px;
  width: 28px;
  height: 28px;
  background: rgba(245, 166, 35, 0.2);
  border-radius: 8px;
  flex-shrink: 0;
}

.vaga-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 10px;
  border: 2px solid var(--yellow);
  border-top: none;
  border-radius: 0 0 6px 6px;
}

.vaga-nome {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}

.vaga-sub {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 6px;
}

.vagas-cta-text {
  margin-top: 40px;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.vagas-cta-text a {
  color: var(--yellow);
  font-weight: 600;
  transition: color 0.2s;
}

.vagas-cta-text a:hover {
  color: var(--white);
}

.vagas-cta-text strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

/* ===== Envie seu currículo ===== */
.section-email {
  background: var(--navy);
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.email-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 32px 24px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius);
}

.email-cta .email-address {
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.email-cta .email-address:hover {
  color: var(--yellow);
}

.email-cta:hover {
  background: rgba(0, 0, 0, 0.4);
}

.email-text {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
}

.email-arrow {
  font-size: 1.75rem;
  color: var(--orange);
  font-weight: 700;
  line-height: 1;
}

.email-address {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.email-cta:hover .email-address {
  color: var(--yellow);
}

/* Banner "Envie seu currículo" em telas pequenas */
@media (max-width: 600px) {
  .section-email {
    padding: 32px 0;
  }

  .email-cta {
    flex-direction: column;
    gap: 8px;
    padding: 24px 16px;
    text-align: center;
  }

  .email-text {
    font-size: 1.1rem;
    line-height: 1.3;
  }

  .email-arrow {
    font-size: 1.25rem;
    transform: rotate(90deg); /* seta para baixo em layout vertical */
  }

  .email-address {
    font-size: 0.95rem;
    word-break: break-all; /* evita overflow do e-mail longo */
    max-width: 100%;
  }
}

@media (max-width: 380px) {
  .email-text {
    font-size: 1rem;
  }

  .email-address {
    font-size: 0.875rem;
  }
}


/* ===== Footer ===== */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 24px;
}

.footer-bottom {
  padding: 24px 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom p + p {
  margin-top: 6px;
}

/* ===== Responsivo ===== */
@media (max-width: 900px) {
  .vagas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 48px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-cta {
    align-self: center;
  }

  .hero-image-wrap {
    order: -1;
  }

  .hero-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
  }

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

  .logo-img {
    height: 40px;
    max-width: 180px;
  }

  .email-cta {
    flex-direction: column;
    gap: 12px;
  }

  .email-arrow {
    transform: rotate(90deg);
  }
}
