/* =========================================================
   Trabalhe Conosco — Banco de talentos Goyaço
   Reaproveita as variaveis e componentes base de style.css
   (--blue, --accent, .section-label, .section-title, .reveal,
   topbar, nav, footer). Este arquivo cobre so o que e proprio
   desta pagina, hero, cards, pills e o formulario.
   ========================================================= */

.tc-ease { }
:root { --tc-ease: cubic-bezier(0.23, 1, 0.32, 1); }

/* ===================== HERO ===================== */
.tc-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  background: #0B2545;
  overflow: hidden;
}
.tc-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.tc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11,37,69,0.96) 0%, rgba(11,37,69,0.82) 38%, rgba(11,37,69,0.35) 75%, rgba(11,37,69,0.15) 100%),
    linear-gradient(0deg, rgba(4,9,20,0.85) 0%, rgba(4,9,20,0.1) 45%, rgba(4,9,20,0.55) 100%);
}
.tc-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 48px 64px;
  width: 100%;
}
.tc-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.tc-hero-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--accent); }
.tc-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: 0.01em;
  color: #fff;
  max-width: 780px;
}
.tc-hero h1 .hl { color: var(--accent); }
.tc-hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 18px 0 32px;
  line-height: 1.55;
}
.tc-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--blue);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(232,160,32,0.28);
  transition: transform 0.2s var(--tc-ease), box-shadow 0.2s var(--tc-ease), background 0.2s;
}
.tc-hero-cta:hover { transform: translateY(-2px); background: #d4911a; box-shadow: 0 14px 34px rgba(232,160,32,0.38); }
.tc-hero-cta svg { width: 18px; height: 18px; }

/* ===================== FAIXA DE FATOS ===================== */
.tc-facts {
  background: #071A35;
  padding: 26px 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.tc-facts-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 32px;
}
.tc-fact {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: rgba(255,255,255,0.85);
}
.tc-fact strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.tc-fact span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ===================== SECOES BASE ===================== */
.tc-section { padding: 88px 48px; }
.tc-section.alt { background: var(--off-white); }
.tc-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.tc-head .section-label { justify-content: center; }
.tc-head p { color: var(--gray); font-size: 16.5px; line-height: 1.65; margin-top: 14px; }

/* ===================== POR QUE TRABALHAR AQUI ===================== */
.tc-why-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tc-why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: transform 0.25s var(--tc-ease), box-shadow 0.25s var(--tc-ease);
}
.tc-why-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(11,37,69,0.09); }
.tc-why-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(232,160,32,0.12);
  color: var(--accent);
  margin-bottom: 18px;
}
.tc-why-icon svg { width: 22px; height: 22px; }
.tc-why-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
  line-height: 1.2;
}
.tc-why-card p { font-size: 14.5px; color: var(--text); opacity: 0.82; line-height: 1.6; }

/* ===================== FORMULARIO ===================== */
.tc-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 44px 40px;
  box-shadow: 0 20px 60px rgba(11,37,69,0.08);
}
.tc-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tc-field { margin-bottom: 18px; }
.tc-field label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--blue);
  margin-bottom: 6px;
}
.tc-field input,
.tc-field select,
.tc-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Barlow', sans-serif;
  font-size: 14.5px;
  color: var(--text);
  background: var(--off-white);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.tc-field input:focus,
.tc-field select:focus,
.tc-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11,37,69,0.1);
}
.tc-field textarea { resize: vertical; min-height: 84px; }

/* Zona de anexo, o elemento de assinatura da pagina. Arrastar e soltar
   com estado visual proprio, porque anexar o curriculo e a unica acao
   que realmente importa aqui. */
.tc-drop {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s var(--tc-ease), background 0.2s var(--tc-ease), transform 0.15s var(--tc-ease);
  background: var(--off-white);
}
.tc-drop:hover { border-color: var(--blue-light); }
.tc-drop.dragging {
  border-color: var(--accent);
  background: rgba(232,160,32,0.08);
  transform: scale(1.01);
}
.tc-drop.filled {
  border-style: solid;
  border-color: #10b981;
  background: rgba(16,185,129,0.06);
}
.tc-drop-icon {
  width: 40px; height: 40px;
  margin: 0 auto 12px;
  color: var(--gray);
  transition: color 0.2s, transform 0.2s var(--tc-ease);
}
.tc-drop.dragging .tc-drop-icon { color: var(--accent); transform: translateY(-3px); }
.tc-drop.filled .tc-drop-icon { color: #10b981; }
.tc-drop-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 15px; color: var(--blue); margin-bottom: 4px; }
.tc-drop-hint { font-size: 12.5px; color: var(--gray); }
.tc-drop-filename { font-size: 13.5px; color: var(--text); margin-top: 4px; word-break: break-all; }
.tc-drop input[type="file"] { display: none; }

.tc-submit {
  width: 100%;
  margin-top: 6px;
  padding: 15px;
  border: none;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.tc-submit:hover:not(:disabled) { background: #0e2f5c; transform: translateY(-1px); }
.tc-submit:disabled { opacity: 0.7; cursor: default; }
.tc-spin {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: tc-spin 0.7s linear infinite;
}
@keyframes tc-spin { to { transform: rotate(360deg); } }

.tc-msg {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.5;
  display: none;
}
.tc-msg.erro { display: block; background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.tc-msg.ok { display: block; background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }

.tc-sucesso { display: none; text-align: center; padding: 20px 0; }
.tc-sucesso.ativo { display: block; }
.tc-sucesso-icon {
  width: 56px; height: 56px; margin: 0 auto 18px;
  border-radius: 50%; background: #ECFDF5; color: #10b981;
  display: flex; align-items: center; justify-content: center;
}
.tc-sucesso h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 21px; color: var(--blue); margin-bottom: 8px; }
.tc-sucesso p { font-size: 14.5px; color: var(--gray); max-width: 380px; margin: 0 auto; line-height: 1.55; }

/* ===================== RESPONSIVO ===================== */
@media (max-width: 900px) {
  .tc-why-grid { grid-template-columns: 1fr; }
  .tc-field-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .tc-hero-inner { padding: 110px 20px 48px; }
  .tc-hero { min-height: 520px; }
  .tc-facts { padding: 20px; }
  .tc-facts-inner { justify-content: flex-start; }
  .tc-section { padding: 56px 20px; }
  .tc-form-wrap { padding: 30px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .tc-why-card, .tc-hero-cta, .tc-drop, .tc-drop-icon { transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
