/* =========================================================
   Recrutamento Jurídico — folha de estilos compartilhada
   Preserva a identidade visual original (navy + gold + cream,
   Playfair Display + Inter). Reaproveitada em todas as páginas.
   ========================================================= */

:root{
  --navy:#141d2b;
  --navy-deep:#0c1119;
  --cream:#F7F2E7;
  --cream-deep:#EFE8D8;
  --gold:#C08A4E;
  --gold-deep:#A6753C;
  --ink:#1F2937;
  --muted:#5B6472;
  --line:#E4DCC8;
  --whatsapp:#1E7A46;
  --white:#ffffff;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:'Inter', sans-serif;
  line-height:1.55;
}
h1,h2,h3{
  font-family:'Playfair Display', serif;
  margin:0;
  color:var(--ink);
}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
input,select,textarea{
  font-family:'Inter', sans-serif;
  font-size:14px;
  padding:12px 14px;
  border:1px solid #DCD6C6;
  border-radius:6px;
  background:#fff;
  color:var(--ink);
  width:100%;
}
input:focus,select:focus,textarea:focus{
  outline:2px solid var(--gold);
  outline-offset:1px;
}
::placeholder{color:#9A9384;}

.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  justify-content:center;
  font-weight:600;
  font-size:14.5px;
  padding:14px 26px;
  border-radius:6px;
  border:1.5px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover{ transform:translateY(-1px); }
.btn-gold{ background:var(--gold); color:#1a1206; }
.btn-gold:hover{ background:var(--gold-deep); }
.btn-outline-light{ background:transparent; color:#fff; border-color:rgba(255,255,255,0.5); }
.btn-outline-light:hover{ border-color:#fff; }
.btn-whatsapp{ background:var(--whatsapp); color:#fff; width:100%; }
.btn-outline-dark{ background:transparent; color:var(--ink); border-color:#D8D0BC; width:100%; }
.btn-dark{ background:var(--navy); color:#fff; width:100%; }
.btn-dark:hover{ background:var(--navy-deep); }

/* ---------- nav ---------- */
header{
  background:var(--navy);
  padding:16px 5vw;
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:sticky;
  top:0;
  z-index:50;
  box-shadow:0 2px 14px rgba(0,0,0,0.18);
}
.logo{ display:flex; align-items:center; gap:10px; color:#fff; }
.logo svg{ flex-shrink:0; }
.logo-text{ line-height:1.15; }
.logo-text .l1{ font-size:15px; font-weight:700; letter-spacing:0.02em; }
.logo-text .l2{ font-size:12.5px; font-weight:600; color:var(--gold); letter-spacing:0.14em; }
nav{ display:flex; gap:28px; font-size:14px; font-weight:500; color:#D7DAE0; }
nav a:hover{ color:#fff; }
nav a.active{ color:var(--gold); }
.nav-actions{ display:flex; align-items:center; gap:10px; }
.nav-actions .btn{ padding:11px 20px; font-size:13.5px; }
.menu-toggle{
  display:none;
  -webkit-appearance:none;
  appearance:none;
  background:transparent;
  background-color:transparent;
  border:none;
  border-radius:0;
  box-shadow:none;
  padding:6px;
  margin:0;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  color:#fff;
}
.menu-toggle:focus{ outline:none; }
@media (max-width:980px){
  .menu-toggle{ display:inline-flex; }
  nav{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:var(--navy);
    flex-direction:column;
    gap:0;
    padding:6px 5vw 18px;
    box-shadow:0 10px 20px rgba(0,0,0,0.25);
  }
  nav.open{ display:flex; }
  nav a{ padding:13px 0; border-bottom:1px solid rgba(255,255,255,0.08); font-size:15px; }
}

/* ---------- hero ---------- */
.hero{
  position:relative;
  background:
    radial-gradient(ellipse at 75% 30%, rgba(192,138,78,0.14), transparent 55%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color:#fff;
  padding:100px 5vw 90px;
  text-align:center;
  overflow:hidden;
}
.hero.hero-sm{ padding:64px 5vw 56px; }
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  opacity:0.05;
  background-image:
    repeating-linear-gradient(90deg, #fff 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, #fff 0 1px, transparent 1px 80px);
  pointer-events:none;
}
.hero-scale{
  position:absolute; right:4vw; top:50%; transform:translateY(-50%);
  opacity:0.08; width:340px;
}
@media (max-width:900px){ .hero-scale{ display:none; } }
.hero-inner{ position:relative; max-width:820px; margin:0 auto; }
.hero h1{
  font-size:clamp(30px,4.2vw,48px);
  line-height:1.22;
  font-weight:700;
  color:#fff; /* fix: título ficava com a cor escura (--ink) herdada da regra geral h1,h2,h3, ilegível sobre o fundo navy */
}
.hero.hero-sm h1{ font-size:clamp(26px,3.4vw,38px); }
.hero h1 .accent{ color:var(--gold); }
.hero p.lead{
  font-family:'Inter', sans-serif;
  font-size:16.5px;
  color:#C7CCD6;
  max-width:560px;
  margin:22px auto 0;
}

/* ---------- generic section ---------- */
.section{ padding:80px 5vw; }
.section.alt{ background:#EFEEE9; }
.section-inner{ max-width:1180px; margin:0 auto; }
.section-inner.narrow{ max-width:900px; }

.section-head{ max-width:640px; margin-bottom:34px; }
.eyebrow-row{ display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.eyebrow-icon{
  width:34px; height:34px; border-radius:8px; background:var(--cream-deep);
  display:flex; align-items:center; justify-content:center; color:var(--gold-deep);
}
.eyebrow{
  font-size:12.5px; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; color:var(--gold-deep);
}
.section-head h2{ font-size:clamp(24px,2.8vw,32px); font-weight:700; margin-top:6px; }
.section-head p{ color:var(--muted); margin-top:14px; font-size:15.5px; }

/* ---------- icon row (o que fazemos) ---------- */
.icon-row{ display:grid; grid-template-columns:repeat(6,1fr); gap:18px; margin:36px 0 46px; }
@media (max-width:900px){ .icon-row{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:520px){ .icon-row{ grid-template-columns:repeat(2,1fr); } }
.icon-item{ text-align:center; }
.icon-circle{
  width:56px; height:56px; border-radius:50%; background:#fff; border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; margin:0 auto 10px; color:var(--gold-deep);
}
.icon-item span{ font-size:12.5px; color:var(--muted); font-weight:500; display:block; }

/* ---------- three column: why + partners/how ---------- */
.cols3{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:44px; margin-bottom:46px; }
@media (max-width:980px){ .cols3{ grid-template-columns:1fr; } }
.col-title{ font-size:15.5px; font-weight:700; margin-bottom:16px; }
.check-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.check-list li{ display:flex; align-items:flex-start; gap:10px; font-size:14.5px; color:var(--ink); }
.check-list .tick{
  width:19px; height:19px; border-radius:50%; background:var(--gold); color:#fff; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; font-size:11px; margin-top:1px;
}
.partner-grid{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.partner-card{
  background:#fff; border:1px solid var(--line); border-radius:8px; padding:16px 12px; text-align:center;
  font-family:'Playfair Display', serif; font-weight:700; font-size:13.5px; color:var(--ink);
  display:flex; align-items:center; justify-content:center; min-height:58px;
}
.steps-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:16px; }
.steps-list li{ display:flex; gap:14px; align-items:flex-start; }
.step-num{
  width:26px; height:26px; border-radius:50%; border:1.5px solid var(--gold); color:var(--gold-deep);
  font-size:12.5px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.steps-list p{ margin:0; font-size:14.5px; color:var(--ink); }

/* ---------- contact / form block ---------- */
.contact-block{
  display:grid; grid-template-columns:0.85fr 1.4fr; gap:0;
  background:var(--cream-deep); border-radius:12px; overflow:hidden;
}
@media (max-width:900px){ .contact-block{ grid-template-columns:1fr; } }
.contact-left{ padding:44px 38px; display:flex; flex-direction:column; justify-content:center; gap:16px; }
.contact-left h3{ font-size:22px; }
.contact-left p{ color:var(--muted); font-size:14.5px; margin:0 0 6px; }
.contact-right{ background:#fff; padding:40px 38px; }
.contact-right h4{ font-family:'Inter', sans-serif; font-size:14.5px; font-weight:700; margin:0 0 18px; }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media (max-width:560px){ .form-grid{ grid-template-columns:1fr; } }
.form-grid textarea{ min-height:90px; resize:vertical; }
.form-full{ grid-column:1 / -1; }
.form-note{ font-size:11.5px; color:#9A9384; margin-top:6px; }
.submit-row{ margin-top:16px; }

.candidatos-form{ background:#fff; border:1px solid var(--line); border-radius:12px; padding:40px; }
.upload-box{
  border:1.5px dashed #CFC7B2; border-radius:8px; padding:22px 16px; text-align:center;
  font-size:13px; color:var(--muted); background:var(--cream); cursor:pointer;
}
.checkbox-row{ display:flex; align-items:flex-start; gap:10px; font-size:13px; color:var(--muted); margin:18px 0; }
.checkbox-row input{ width:auto; margin-top:3px; }

.embed-note{
  grid-column:1 / -1; border:1.5px dashed var(--gold); border-radius:8px; padding:16px;
  background:var(--cream); font-size:12px; color:var(--gold-deep); text-align:center;
}
.embed-note code{
  display:block; margin-top:8px; background:#fff; padding:8px 10px; border-radius:4px;
  color:var(--ink); word-break:break-all; font-family:monospace;
}

/* ---------- Tally embed (formulários reais) ---------- */
.tally-embed{
  border:1px solid var(--line); border-radius:12px; overflow:hidden; background:#fff;
}
.tally-embed iframe{ width:100%; min-height:600px; border:none; display:block; }

/* =========================================================
   MÓDULO: Portal de Vagas
   ========================================================= */
.jobs-toolbar{
  display:flex; gap:14px; flex-wrap:wrap; margin-bottom:32px;
  background:#fff; border:1px solid var(--line); border-radius:10px; padding:16px 18px;
}
.jobs-toolbar select, .jobs-toolbar input{ max-width:240px; }
@media (max-width:560px){
  .jobs-toolbar select, .jobs-toolbar input{ max-width:100%; width:100%; }
}

.jobs-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:20px;
}
@media (max-width:980px){ .jobs-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .jobs-grid{ grid-template-columns:1fr; } }

.job-card{
  display:block; background:#fff; border:1px solid var(--line); border-radius:10px;
  padding:22px; transition:transform .15s ease, box-shadow .15s ease;
}
.job-card:hover{ transform:translateY(-3px); box-shadow:0 10px 24px rgba(20,29,43,0.1); }
.job-card-top{ margin-bottom:10px; }
.job-tag{
  display:inline-block; font-size:11.5px; font-weight:700; letter-spacing:0.04em;
  color:var(--gold-deep); background:var(--cream-deep); padding:4px 10px; border-radius:20px;
}
.job-card h3{ font-size:18px; margin-bottom:6px; line-height:1.3; }
.job-office{ font-size:13.5px; color:var(--muted); font-weight:600; margin-bottom:12px; }
.job-meta{ display:flex; flex-direction:column; gap:4px; font-size:13px; color:var(--muted); margin-bottom:12px; }
.job-salary{ font-size:14px; font-weight:700; color:var(--ink); margin-bottom:14px; }
.job-card-btn{ width:100%; padding:10px; font-size:13.5px; }

.loading-state, .empty-state{
  text-align:center; padding:50px 20px; color:var(--muted); font-size:14.5px;
}

/* ---------- página de vaga individual ---------- */
.vaga-header{
  background:#fff; border:1px solid var(--line); border-radius:12px; padding:32px; margin-bottom:24px;
}
.vaga-header h1{ font-size:clamp(24px,3vw,32px); margin:10px 0 8px; }
.vaga-header .job-meta{ flex-direction:row; flex-wrap:wrap; gap:16px; margin-top:14px; }
.vaga-section{
  background:#fff; border:1px solid var(--line); border-radius:12px; padding:28px 32px; margin-bottom:18px;
}
.vaga-section h3{ font-size:16.5px; margin-bottom:12px; }
.vaga-section p{ font-size:14.5px; color:var(--ink); white-space:pre-line; }
.vaga-apply{
  background:var(--cream-deep); border-radius:12px; padding:30px 32px; margin-top:30px;
}
.vaga-apply h3{ font-size:18px; margin-bottom:16px; }

/* ---------- página de escritório ---------- */
.office-header{ text-align:center; max-width:640px; margin:0 auto 44px; }
.office-logo{ width:72px; height:72px; border-radius:14px; margin:0 auto 16px; object-fit:cover; }
.office-desc{ color:var(--muted); font-size:15px; margin-top:12px; }
.office-contacts{
  display:flex; gap:18px; justify-content:center; flex-wrap:wrap; margin-top:18px; font-size:13.5px; color:var(--gold-deep);
}

/* ---------- footer ---------- */
footer{ background:var(--navy); color:#B9C0CC; padding:60px 5vw 30px; }
.footer-grid{
  max-width:1180px; margin:0 auto; display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:36px;
  padding-bottom:36px; border-bottom:1px solid rgba(255,255,255,0.1);
}
@media (max-width:800px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
.footer-brand .logo{ margin-bottom:14px; }
.footer-brand p{ font-size:13.5px; color:#8F97A5; max-width:260px; }
.footer-col h5{ color:#fff; font-size:13.5px; font-weight:700; margin:0 0 14px; }
.footer-col a{ display:block; font-size:13.5px; color:#B9C0CC; margin-bottom:10px; }
.footer-col a:hover{ color:var(--gold); }
.social-row{ display:flex; gap:10px; margin-top:16px; }
.social-row a{
  width:32px; height:32px; border-radius:50%; border:1px solid rgba(255,255,255,0.2);
  display:flex; align-items:center; justify-content:center;
}
.footer-bottom{
  max-width:1180px; margin:20px auto 0; display:flex; justify-content:space-between;
  flex-wrap:wrap; gap:10px; font-size:12px; color:#7C8493;
}

.reveal{ opacity:0; transform:translateY(14px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; } }
