/* =====================================================
   VARIÁVEIS GLOBAIS
===================================================== */
:root {
  --cor-primaria: #0f3c5c;
  --cor-destaque: #1c7ed6;
  --cor-fundo: #f5f7fa;
  --cor-texto: #222;
  --radius: 10px;
  --sombra-padrao: 0 6px 18px rgba(0,0,0,0.08);
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BASE */
body {
  font-family: 'Poppins', sans-serif;
  background: var(--cor-fundo);
  color: var(--cor-texto);
  line-height: 1.6;
}

/* ESPAÇAMENTO PADRÃO DAS SEÇÕES */
section {
  padding: 80px 20px;
}

/* TÍTULOS */
h1, h2, h3 {
  margin-bottom: 16px;
}

/* HERO */
.hero-bg h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;         /* mais espesso para destaque */
  color: #fff;              /* branco para contraste */
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7); /* sombra para visibilidade */
}

.hero-bg p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #f1f1f1;           /* cinza claro para contraste */
}

/* =====================================================
   BOTÕES
===================================================== */
.btn {
  display: inline-block;
  padding: 14px 24px;
  margin: 8px 6px;
  text-decoration: none;
  background: linear-gradient(135deg, #1c7ed6, #0b5ed7);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(28,126,214,0.25);
  transition: 0.3s ease;
  font-weight: 600;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
}

/* =====================================================
   HERO
===================================================== */
.hero-bg {
  position: relative;
  aspect-ratio: 1920 / 400;
  background-image: url("../img/Thumbnail Site (1).png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: fadeUp 0.9s ease-out;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   BLOCOS INFORMATIVOS
===================================================== */
.bloco-candidatos,
.bloco-empresas {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.bloco-candidatos ul,
.bloco-empresas ul {
  list-style: none;
  margin: 20px 0;
}

.bloco-candidatos li,
.bloco-empresas li {
  margin: 8px 0;
}

/* =====================================================
   VAGAS
===================================================== */
.titulo-vagas {
  text-align: center;
  margin-bottom: 40px;
}

.grid-vagas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.vaga-card {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--sombra-padrao);
  transition: 0.3s ease;
}

.vaga-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

/* =====================================================
   FORMULÁRIO
===================================================== */
.bloco-formulario {
  background: #fff;
}

form {
  max-width: 650px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

form input,
form textarea {
  padding: 14px;
  margin-bottom: 14px;
  border-radius: var(--radius);
  border: 1px solid #ddd;
}

form textarea {
  min-height: 120px;
}

form button {
  padding: 14px;
  background: var(--cor-destaque);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
}

/* ===== BLOCO DO SELECT ===== */
.campo-select {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 20px auto;
  position: relative;
}

/* Faz o SELECT parecer um INPUT normal */
form select.form-control {
  width: 100%;
  padding: 12px;
  font-size: 0.95rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 12px;
  background-color: #fff;
  color: #333;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

/* Efeito de foco igual aos inputs */
form select.form-control:focus {
  border-color: #1c7ed6;
  outline: none;
}

/* Seta personalizada */
form select.form-control {
  background-image: url("data:image/svg+xml;utf8,<svg fill='%231c7ed6' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 18px;
}

/* =====================================================
   RESPONSIVO
===================================================== */
@media (max-width: 768px) {
  .grid-vagas {
    grid-template-columns: 1fr;
  }

  .hero-bg {
    min-height: 60vh;
  }
}


/* ===== Layout profissional das secções ===== */

.secao-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 16px;
}

.secao-texto {
  flex: 1;
}

.secao-texto h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.secao-imagem {
  flex: 1;
  text-align: center;
}

.secao-imagem img {
  max-width: 100%;
  border-radius: 10px;
}

/* Inverte ordem visual */
.invertida {
  flex-direction: row-reverse;
}

/* Responsivo */
@media (max-width: 768px) {
  .secao-layout {
    flex-direction: column;
    text-align: center;
  }
}

.secao-imagem img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.notificacao {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  text-align: center;
  width: 320px;
  z-index: 9999;
  animation: aparecer 0.3s ease;
}

.notificacao h3 {
  color: #1c7ed6;
  margin-bottom: 10px;
}

.notificacao button {
  margin-top: 15px;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  background: #1c7ed6;
  color: white;
  cursor: pointer;
}

.notificacao button:hover {
  opacity: 0.9;
}

@keyframes aparecer {
  from { opacity: 0; transform: translate(-50%, -60%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}


/* ===== BLOCO DO SELECT ===== */
.campo-select {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 20px auto;
  position: relative;
}

/* Faz o SELECT parecer um INPUT normal */
form select.form-control {
  width: 100%;
  padding: 12px;
  font-size: 0.95rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 12px;
  background-color: #fff;
  color: #333;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

/* Efeito de foco igual aos inputs */
form select.form-control:focus {
  border-color: #1c7ed6;
  outline: none;
}

/* Seta personalizada */
form select.form-control {
  background-image: url("data:image/svg+xml;utf8,<svg fill='%231c7ed6' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 18px;
}

form input[type="file"] {
  padding: 12px;
  margin-bottom: 14px;
  border-radius: var(--radius);
  border: 1px solid #ddd;
  width: 100%;              /* ocupa toda a largura como os outros */
  font-size: 0.95rem;
  background-color: #fff;
  color: #333;
  cursor: pointer;
}

form input[type="file"]::file-selector-button {
  padding: 10px 16px;
  border: none;
  border-radius: var(--radius);
  background: var(--cor-destaque);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

form input[type="file"]::file-selector-button:hover {
  background: #0b5ed7;
}

/* Campo de upload do currículo */
form input[type="file"] {
  display: block;
  width: 100%;                  /* ocupa toda a largura */
  padding: 12px;
  margin-bottom: 14px;
  border-radius: var(--radius);
  border: 1px solid #ddd;
  background-color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
}

/* Botão interno do input file */
form input[type="file"]::file-selector-button {
  padding: 10px 16px;
  margin-right: 12px;
  border: none;
  border-radius: var(--radius);
  background: var(--cor-destaque);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

form input[type="file"]::file-selector-button:hover {
  background: #0b5ed7;
}


