/* Elevar Consultoria — base visual */
:root {
  --primary: #0b5cad;
  --primary-dark: #0a2a5e;
  --accent: #2f80d8;
  --bg: #ffffff;
  --bg-soft: #f3f8ff;
  --surface: #ffffff;
  --text: #0a2a5e;
  --muted: #5b6b88;
  --line: #dbe7f5;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(11, 92, 173, .10);
  --shadow-lg: 0 20px 50px rgba(11, 92, 173, .16);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent);
  outline-offset: 2px;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; position: relative; }
.section--soft { background: var(--bg-soft); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { color: var(--text); margin: 0 0 16px; line-height: 1.12; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
p { margin: 0 0 16px; color: var(--muted); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 470px; }
.eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}
.hl {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -.01em;
}
.section-head { max-width: 560px; margin-bottom: 40px; }
.section-head--row {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head--row > div { max-width: 560px; }
.section-head p { margin: 0; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--primary); color: var(--surface); box-shadow: 0 8px 20px rgba(11, 92, 173, .25); }
.btn--primary:hover { background: var(--primary-dark); }
.btn--ghost { background: var(--surface); color: var(--primary); border-color: var(--primary); }
.btn--ghost:hover { background: var(--primary); color: var(--surface); }
.btn--white { background: var(--surface); color: var(--primary-dark); }
.btn--white:hover { box-shadow: 0 10px 24px rgba(10, 42, 94, .3); }
.btn--block { width: 100%; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
  transition: gap .2s, color .2s;
}
.link-arrow:hover { gap: 10px; color: var(--primary-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; gap: 36px; }
.nav a {
  position: relative;
  color: var(--text);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  padding: 6px 0;
  transition: color .2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform .2s;
}
.nav a:hover { color: var(--primary); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--primary); }
.header-cta { padding: 10px 20px; font-size: .9rem; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 48px 0 96px;
  overflow: hidden;
  background: var(--bg);
}
.hero::after {
  /* curved soft edge into the next section */
  content: "";
  position: absolute;
  left: -10%; right: -10%; bottom: -60px;
  height: 120px;
  background: var(--bg-soft);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-text { min-width: 0; }
.hero h1 { margin-bottom: 22px; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 30px; }
.hero-media { position: relative; }
.hero-media::before {
  /* soft leaf decoration */
  content: "";
  position: absolute;
  top: -50px; left: 18%;
  width: 190px; height: 110px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 35%, transparent), color-mix(in srgb, var(--accent) 10%, transparent));
  border-radius: 0 100% 0 100%;
  transform: rotate(-14deg);
  z-index: -1;
}
.hero-photo {
  width: 100%;
  aspect-ratio: 5 / 4.4;
  object-fit: cover;
  border-radius: 28px 28px 28px 90px;
  box-shadow: var(--shadow-lg);
}
.float-card {
  position: absolute;
  left: 4%; bottom: -26px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}
.float-card strong { display: block; color: var(--text); font-size: .95rem; }
.float-card span { color: var(--muted); font-size: .85rem; }
.float-card .icon-circle { width: 44px; height: 44px; margin: 0; }

/* ---------- Icons ---------- */
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  color: var(--primary);
  margin-bottom: 22px;
}
.icon-circle svg { width: 24px; height: 24px; }

/* ---------- Cards & grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 28px;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card p { margin: 0; font-size: .95rem; }

/* ---------- About ---------- */
.about-photo {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-text .link-arrow { margin-top: 8px; }

.checklist { list-style: none; padding: 0; margin: 8px 0 24px; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 34px; color: var(--text); font-weight: 500; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--primary);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 8px; top: 7px;
  width: 5px; height: 10px;
  border: solid var(--surface);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- Tags ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 6px 0 18px; }
.tag { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .82rem; }
.tag svg { width: 15px; height: 15px; color: var(--text); flex: none; }
.tag--pill { padding: 5px 12px; border-radius: 99px; background: var(--bg-soft); border: 1px solid var(--line); }

/* ---------- Job cards ---------- */
.job-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.job-card { position: relative; border-top: 4px solid var(--primary); }
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.job-card__body { padding: 30px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.job-card__body h3 { margin-bottom: 6px; font-size: 1.25rem; }
.job-card__badge {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 99px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--primary);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.job-card__summary {
  font-size: .93rem;
  margin-bottom: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.job-card__body .link-arrow {
  margin-top: auto;
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  cursor: pointer;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.step { position: relative; }
.step__num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--primary);
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 26px;
}
.step:not(:last-child)::before {
  /* connecting line */
  content: "";
  position: absolute;
  top: 23px; left: 62px; right: -16px;
  height: 1.5px;
  background: var(--line);
}
.step__body { display: flex; gap: 16px; align-items: flex-start; }
.step__icon { color: var(--primary); flex: none; width: 34px; height: 34px; }
.step__icon svg { width: 34px; height: 34px; }
.step p { font-size: .92rem; margin: 0; }

/* ---------- CTA banner ---------- */
.cta-section { padding: 24px 0 72px; }
.cta-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 56px 56px;
  border-radius: 24px;
  background: linear-gradient(115deg, var(--primary-dark) 0%, var(--primary) 55%, var(--accent) 100%);
  color: var(--surface);
  box-shadow: var(--shadow-lg);
}
.cta-banner__text { position: relative; z-index: 1; max-width: 560px; }
.cta-banner h2 { color: var(--surface); margin-bottom: 12px; }
.cta-banner .hl { color: var(--surface); }
.cta-banner p { color: rgba(255, 255, 255, .85); margin-bottom: 26px; }
.cta-banner__shape { position: relative; flex: none; width: 260px; height: 160px; }
.cta-banner__shape::before,
.cta-banner__shape::after {
  content: "";
  position: absolute;
  border-radius: 0 100% 0 100%;
  background: rgba(255, 255, 255, .16);
}
.cta-banner__shape::before { width: 220px; height: 130px; right: 10px; top: 0; transform: rotate(-22deg); }
.cta-banner__shape::after { width: 150px; height: 90px; right: 90px; bottom: -10px; transform: rotate(18deg); background: rgba(255, 255, 255, .10); }
.cta-banner::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, .06);
}

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
  background: var(--bg-soft);
  border-radius: 0 0 50% 50% / 0 0 40px 40px;
}
.page-hero::before {
  content: "";
  position: absolute;
  right: 8%; top: 30px;
  width: 200px; height: 115px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  border-radius: 0 100% 0 100%;
  transform: rotate(-14deg);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3rem); }
.page-hero p { max-width: 600px; font-size: 1.08rem; margin: 0; }

/* ---------- Forms ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field label { font-size: .88rem; font-weight: 600; color: var(--text); }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input[type="file"] { padding: 10px; background: var(--bg-soft); border-style: dashed; cursor: pointer; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}
.form-field small { color: var(--muted); font-size: .8rem; }
.form-msg { padding: 12px 14px; border-radius: 10px; font-size: .92rem; margin-bottom: 16px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--text); }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 42, 94, .55);
  backdrop-filter: blur(4px);
}
.modal.is-open, html:not(.js) .modal:target { display: flex; animation: fadeIn .2s ease; }
.modal__box {
  position: relative;
  width: 100%;
  max-width: 980px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--surface);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(10, 42, 94, .35);
  padding: 40px;
  animation: popIn .25s ease;
}
.modal__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; }
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.modal__close:hover { background: var(--primary); color: var(--surface); }

/* Modal dividido: informações da vaga (rolam) + formulário fixo */
.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 1040px;
  max-height: calc(100vh - 48px);
  background: var(--surface);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(10, 42, 94, .35);
  overflow: hidden;
  animation: popIn .25s ease;
}
.modal__split { display: grid; grid-template-columns: 1.35fr 1fr; }
.modal__split .modal__close { z-index: 2; }
.modal__info {
  min-width: 0;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 44px 40px 36px;
}
.modal__info h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 10px; }
.modal__info h3 { margin-top: 8px; }
.modal__info .checklist:last-child { margin-bottom: 0; }
.modal__form {
  position: sticky;
  top: 0;
  align-self: stretch;
  display: flex;
  align-items: flex-start;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 64px 36px 36px;
  background: var(--bg-soft);
  border-left: 1px solid var(--line);
}
.form-field__file { display: flex; flex-direction: column; gap: 6px; }
.form-field__filename { display: block; font-size: .85rem; font-weight: 600; color: var(--primary); word-break: break-all; }
.form-field__filename[hidden] { display: none; }
.modal__form .job-form { width: 100%; margin: auto 0; }
.modal__form h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.job-form__lead { font-size: .93rem; margin-bottom: 22px; }
.job-form__lead strong { color: var(--text); }
.form-msg--error { border-color: color-mix(in srgb, var(--primary-dark) 30%, var(--line)); background: var(--surface); }
.form-msg--success { border-color: var(--accent); background: var(--surface); color: var(--primary); font-weight: 600; }
.job-form .btn[disabled] { opacity: .65; cursor: wait; transform: none; }
body.modal-open { overflow: hidden; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding-top: 48px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 1fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 32px;
}
.footer-brand img { height: 38px; width: auto; margin-bottom: 10px; }
.footer-brand p { font-size: .9rem; margin: 0; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 8px; }
.footer-nav a { color: var(--text); text-decoration: none; font-size: .9rem; font-weight: 500; }
.footer-nav a:hover { color: var(--primary); }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .9rem; color: var(--text); }
.footer-contact li { position: relative; padding-left: 20px; }
.footer-contact li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 24px;
  border-top: 1px solid var(--line);
  font-size: .8rem;
  color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .grid-2 { grid-template-columns: 1fr; gap: 48px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .modal__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; order: 3; }
  .header-inner { height: 70px; position: relative; }
  .nav {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }
  .header-cta { margin-left: auto; padding: 8px 14px; font-size: .85rem; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step:not(:last-child)::before { display: none; }
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
  .cta-banner__shape { position: absolute; right: -40px; bottom: -30px; opacity: .7; }
}

@media (max-width: 759px) {
  .modal__dialog { overflow-y: auto; max-height: calc(100vh - 24px); }
  .modal__split { grid-template-columns: 1fr; }
  .modal__info { max-height: none; overflow: visible; padding: 56px 22px 24px; }
  .modal__form { position: static; display: block; max-height: none; overflow: visible; padding: 28px 22px 32px; border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .grid-3, .form-row, .footer-inner { grid-template-columns: 1fr; }
  .hero { padding: 32px 0 88px; }
  .hero-actions { gap: 18px; }
  .hero-photo { border-radius: 22px 22px 22px 60px; }
  .modal { padding: 12px; }
  .modal__box { padding: 28px 20px; }
  .brand img { height: 32px; }
  .header-cta { display: none; }
}
