/* AcademiCV — Portal de Vagas
   Paleta inspirada no rebrand Acade Project (teal + azul profundo)
   Marca verbal: AcademiCV */

:root {
  --primary: #15B6B0;
  --primary-dark: #0F8F8B;
  --primary-light: #E6F8F7;
  --secondary: #1F4E7A;
  --secondary-dark: #16395A;
  --gradient: linear-gradient(135deg, #15B6B0 0%, #1F4E7A 100%);
  --gradient-soft: linear-gradient(135deg, #E6F8F7 0%, #E8EFF8 100%);

  --text: #1A1A1A;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --bg: #FFFFFF;
  --bg-muted: #F9FAFB;
  --bg-card: #FFFFFF;
  --border: #E5E7EB;
  --border-strong: #D1D5DB;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.08);

  --max-width: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--secondary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* === HEADER === */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.96);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

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

.logo img {
  height: 36px;
  width: auto;
  display: block;
}

.site-nav { display: flex; gap: 32px; align-items: center; }
.site-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  position: relative;
}
.site-nav a.active { color: var(--primary); }
.site-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -22px;
  height: 2px;
  background: var(--primary);
}

/* === HERO === */
.hero {
  background: var(--gradient);
  color: white;
  padding: 72px 0 88px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(255,255,255,0.10) 0%, transparent 50%),
    radial-gradient(circle at 85% 75%, rgba(255,255,255,0.06) 0%, transparent 50%);
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

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

.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  position: relative;
  aspect-ratio: 4 / 3;
}

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

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(21,182,176,0.10) 0%, rgba(31,78,122,0.10) 100%);
  pointer-events: none;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  opacity: 0.92;
  margin-bottom: 32px;
  line-height: 1.55;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-stats .stat {
  border-left: 3px solid rgba(255,255,255,0.4);
  padding-left: 14px;
}

.hero-stats .stat strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-stats .stat span {
  font-size: 13px;
  opacity: 0.85;
}

/* === SECTION === */
.section {
  padding: 80px 0;
}

.section-header {
  margin-bottom: 48px;
  text-align: center;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 580px;
  margin: 0 auto;
}

/* === FILTERS === */
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  justify-content: center;
}

.filter-chip {
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s;
}

.filter-chip:hover,
.filter-chip.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* === CARDS === */
.vagas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.vaga-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

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

.vaga-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

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

.vaga-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.chip {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--primary-light);
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.chip.brasil { background: #FFF4E6; color: #B45309; }
.chip.portugal { background: #DCFCE7; color: #166534; }
.chip.junior { background: #DBEAFE; color: #1E40AF; }
.chip.pleno { background: #EDE9FE; color: #5B21B6; }
.chip.estagio { background: #FEF3C7; color: #92400E; }

.vaga-card h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.vaga-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.vaga-info .info-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vaga-info .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.7;
}

.vaga-resumo {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.vaga-card .cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
}

.vaga-card .cta::after {
  content: '→';
  transition: transform .2s;
}

.vaga-card:hover .cta::after { transform: translateX(4px); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s, box-shadow .2s;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 16px rgba(21,182,176,0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(21,182,176,0.4);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--secondary);
  border: 1.5px solid var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-large {
  padding: 18px 36px;
  font-size: 16px;
}

/* === DETAIL PAGE === */
.breadcrumb {
  padding: 24px 0;
  font-size: 14px;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

.vaga-detail-hero {
  background: var(--gradient-soft);
  padding: 40px 0 60px;
  border-bottom: 1px solid var(--border);
}

.vaga-detail-hero h1 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 820px;
}

.vaga-detail-hero .vaga-meta { margin-bottom: 0; }

.vaga-detail-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  padding: 64px 0;
  align-items: start;
}

.vaga-detail-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 36px 0 14px;
  letter-spacing: -0.01em;
  color: var(--text);
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.vaga-detail-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

/* Markdown gera h2 com <strong> interno (## **Texto**); resetar pra não duplicar bold */
.vaga-detail-content h2 strong {
  font-weight: 700;
  font-size: inherit;
}

.vaga-detail-content p {
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.7;
}

.vaga-detail-content ul,
.vaga-detail-content ol {
  margin: 0 0 20px 24px;
  padding: 0;
}

.vaga-detail-content li {
  margin-bottom: 8px;
  color: var(--text);
  line-height: 1.6;
}

.vaga-detail-content li::marker {
  color: var(--primary);
}

.vaga-detail-content strong { font-weight: 700; }
.vaga-detail-content em { font-style: italic; }

.vaga-detail-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 10px;
  color: var(--secondary);
}

.vaga-detail-content a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.vaga-detail-content a:hover {
  color: var(--primary);
  text-decoration-thickness: 2px;
}

.vaga-detail-content blockquote {
  border-left: 3px solid var(--primary);
  padding: 4px 0 4px 20px;
  margin: 20px 0;
  color: var(--text-muted);
  font-style: italic;
}

.section-card {
  background: var(--bg-muted);
  padding: 28px;
  border-radius: var(--radius);
  margin: 32px 0;
  border-left: 4px solid var(--primary);
}

.section-card h2:first-child { margin-top: 0; }

.vaga-detail-aside {
  position: sticky;
  top: 96px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.aside-section {
  margin-bottom: 24px;
}

.aside-section:last-child { margin-bottom: 0; }

.aside-section .label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.aside-section .value {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

.aside-section .value.salary {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: -0.01em;
}

.aside-divider {
  height: 1px;
  background: var(--border);
  margin: 24px -28px;
}

.aside-cta { width: 100%; }

/* === FOOTER === */
.site-footer {
  background: var(--secondary-dark);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 28px;
  margin-top: 80px;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.1fr 1fr;
  gap: 48px;
  margin-bottom: 36px;
}

.site-footer h4 {
  color: white;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.site-footer p,
.site-footer a {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  line-height: 1.65;
}

.site-footer a { transition: color .2s; }
.site-footer a:hover { color: var(--primary); }

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }

/* Bloco UPTEC */
.uptec-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255,255,255,0.75);
}

.uptec-badge .uptec-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: auto;
}

.uptec-badge .uptec-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.uptec-badge strong {
  display: block;
  color: white;
  font-weight: 700;
  margin-bottom: 2px;
}

.uptec-badge a {
  color: var(--primary);
  font-size: 12px;
}

/* Endereço */
.footer-address {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.footer-address-label {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.footer-address-text {
  font-size: 13px;
  line-height: 1.5;
}

/* Google Reviews dentro da lista de sociais — destaque sutil amarelo */
.social-link-reviews {
  background: rgba(255,193,7,0.10) !important;
  border-color: rgba(255,193,7,0.25) !important;
  color: #FFD54F !important;
}

.social-link-reviews:hover {
  background: rgba(255,193,7,0.18) !important;
  border-color: rgba(255,193,7,0.5) !important;
}

.social-link-reviews .social-icon {
  color: #FFD54F;
}

/* Redes sociais */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  font-size: 13px;
  transition: all .2s;
}

.social-links a:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--primary);
  transform: translateX(2px);
}

.social-links .social-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

@media (max-width: 900px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ============================================================
   VARIAÇÕES DA HOME (V1, V2, V3) — usadas só nas index-vN.html
   ============================================================ */

/* Banner trocador de versão (só no preview) */
.version-picker {
  background: #0F172A;
  color: white;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.02em;
}
.version-picker a {
  color: rgba(255,255,255,0.7);
  margin: 0 12px;
  padding: 4px 12px;
  border-radius: 100px;
  transition: all .2s;
}
.version-picker a:hover { color: white; background: rgba(255,255,255,0.1); }
.version-picker a.current {
  color: white;
  background: var(--primary);
}

/* ===== HERO COMPACTO BASE (faixa gradient + 2 colunas: texto + foto) ===== */
.hero--compact {
  padding: 36px 0 40px;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
}

.hero--compact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(255,255,255,0.10) 0%, transparent 50%),
    radial-gradient(circle at 82% 70%, rgba(255,255,255,0.06) 0%, transparent 50%);
}

.hero--compact .container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero--compact .hero-content { max-width: 560px; }

.hero--compact h1 {
  font-size: 32px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero--compact p {
  font-size: 15px;
  margin-bottom: 18px;
  line-height: 1.55;
  opacity: 0.94;
}

.hero--compact .hero-stats {
  gap: 28px;
  margin-top: 14px;
}

.hero--compact .hero-stats .stat strong { font-size: 24px; }
.hero--compact .hero-stats .stat span { font-size: 12px; }

.hero--compact .hero-image {
  aspect-ratio: 4 / 3;
  max-height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

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

.hero--compact + .section { padding-top: 40px; }

/* ===== DECORAÇÕES ORGÂNICAS (compartilhadas nas 3 novas variações) ===== */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrap::before {
  content: '';
  position: absolute;
  width: 85%;
  height: 85%;
  right: -32px;
  bottom: -32px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 70%);
  z-index: 0;
}

.hero-image-wrap::after {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  top: -24px;
  left: -24px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,0.35);
  z-index: 0;
}

/* ===== V1 — PROTAGONISTA: foto MAIOR (60% do hero) ===== */
.hero--protagonista {
  overflow: visible;
}

.hero--protagonista .container {
  grid-template-columns: 1fr 1.45fr;
  gap: 56px;
  min-height: 360px;
}

.hero--protagonista .hero-image {
  position: relative;
  border-radius: 28px;
  aspect-ratio: 16 / 11;
  max-height: 360px;
  z-index: 1;
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
}

.hero--protagonista h1 { font-size: 28px; }
.hero--protagonista p { font-size: 14px; }

/* ===== PANO DE FUNDO (foto fullbleed + overlay teal/azul diagonal + decorações orgânicas) ===== */
.hero--fundo {
  padding: 80px 0 90px;
  position: relative;
  min-height: 420px;
}

.hero--fundo .hero-bg-full {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero--fundo .hero-bg-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

/* Overlay diagonal teal/azul — +5% solidez (de 78%/72% → 83%/77%) pra dar mais leitura ao texto */
.hero--fundo .hero-bg-full::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(21,182,176,0.83) 0%, rgba(31,78,122,0.77) 100%);
}

.hero--fundo .container {
  display: block;
  position: relative;
  z-index: 2;
}

.hero--fundo .hero-content {
  max-width: 640px;
  position: relative;
}

.hero--fundo .hero-content::before {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,0.32);
  top: -40px;
  right: -60px;
  z-index: -1;
}

.hero--fundo .hero-content::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 70%);
  bottom: -80px;
  left: -100px;
  z-index: -1;
}

.hero--fundo h1 { font-size: 38px; max-width: 560px; }
.hero--fundo p { font-size: 17px; max-width: 540px; }

/* === V1: Overlay vertical (topo claro → baixo escuro) === */
.hero--fundo.hero--fundo-vert .hero-bg-full::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(21,182,176,0.18) 0%,
    rgba(21,182,176,0.45) 40%,
    rgba(31,78,122,0.85) 100%
  );
}

/* === V2: Tarja Glass (sem overlay forte, texto em cartão glassy) === */
.hero--fundo.hero--fundo-glass .hero-bg-full::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.25) 100%
  );
}

.hero--fundo.hero--fundo-glass .hero-content {
  padding: 36px 32px;
  background: rgba(15, 50, 80, 0.45);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.hero--fundo.hero--fundo-glass .hero-content::before,
.hero--fundo.hero--fundo-glass .hero-content::after {
  display: none;
}

/* === V3: Duotone (foto tonal teal+escuro, conceito design) === */
.hero--fundo.hero--fundo-duotone .hero-bg-full img {
  filter: contrast(1.05) saturate(0.4) brightness(0.85);
}

.hero--fundo.hero--fundo-duotone .hero-bg-full::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(21,182,176,0.55) 0%, rgba(31,78,122,0.78) 100%);
  mix-blend-mode: multiply;
}

.hero--fundo.hero--fundo-duotone .hero-bg-full::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.45) 100%);
  z-index: 2;
}

/* ===== V3 — DESTAQUE XL: foto grande "vazando" pra baixo do hero ===== */
.hero--xl {
  overflow: visible;
  padding-bottom: 60px;
}

.hero--xl .container {
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  min-height: 320px;
}

.hero--xl .hero-image {
  position: relative;
  border-radius: 24px;
  aspect-ratio: 4 / 5;
  max-height: 460px;
  z-index: 2;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  margin-bottom: -80px;
}

.hero--xl + .section {
  padding-top: 120px;
}

.hero--xl h1 { font-size: 30px; }

/* ===== V1 — FADE: foto fullbleed com gradient cobrindo a esquerda ===== */
.hero--fade .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero--fade .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero--fade .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(21,182,176,0.96) 0%,
    rgba(21,182,176,0.92) 35%,
    rgba(31,78,122,0.55) 70%,
    rgba(31,78,122,0.15) 100%
  );
}

/* ===== V2 — CLEAN: hero sem foto, marca d'água ao final ===== */
.hero--clean {
  /* só usa o gradient base */
}

.marca-dagua-bloco {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.marca-dagua-bloco .md-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.18;
}

.marca-dagua-bloco .md-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
}

.marca-dagua-bloco .md-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(255,255,255,0.85) 50%, var(--bg) 100%);
}

.marca-dagua-bloco .container {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 80px;
  text-align: center;
}

.marca-dagua-bloco h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--text);
}

.marca-dagua-bloco p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 28px;
}

.marca-dagua-bloco .md-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

.marca-dagua-bloco .md-stats .stat strong {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--secondary);
}

.marca-dagua-bloco .md-stats .stat span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== V3 — SPLIT: foto nítida na direita, gradient na esquerda ===== */
.hero--split {
  background: none;
  display: block;
}

.hero--split .hero-split-wrap {
  position: relative;
  min-height: 280px;
  display: grid;
  grid-template-columns: 60% 40%;
}

.hero--split .hero-text-side {
  background: var(--gradient);
  display: flex;
  align-items: center;
  padding: 36px 0 36px 24px;
}

.hero--split .hero-text-side .container {
  padding-left: 0;
  padding-right: 32px;
  margin-right: 0;
  margin-left: auto;
  max-width: calc(var(--max-width) * 0.6);
  width: 100%;
}

.hero--split .hero-photo-side {
  position: relative;
  overflow: hidden;
}

.hero--split .hero-photo-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero--split .hero-photo-side::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31,78,122,0.4) 0%, transparent 30%);
}

/* ===== V2 — MÍNIMO: hero ultra enxuto, sem foto no topo ===== */
.hero--minimal {
  padding: 36px 0 32px;
  background: var(--bg);
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.hero--minimal::before { display: none; }

.hero--minimal .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.hero--minimal .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.hero--minimal h1 {
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
  max-width: 600px;
}

.hero--minimal h1 .accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero--minimal .hero-stats-inline {
  display: flex;
  gap: 32px;
}

.hero--minimal .hero-stats-inline .stat strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: -0.02em;
}

.hero--minimal .hero-stats-inline .stat span {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero--minimal + .section { padding-top: 40px; }

/* ===== V3 — LISTA DIRETA: sem hero tradicional, lista vertical de vagas ===== */
.hero--list {
  padding: 28px 0 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero--list::before { display: none; }

.hero--list .container {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.hero--list h1 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
}

.hero--list h1 .accent {
  color: var(--primary);
}

.hero--list .sub {
  color: var(--text-muted);
  font-size: 15px;
}

.hero--list + .section { padding-top: 32px; }

/* Lista vertical de vagas (V3) */
.vagas-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vaga-row {
  display: grid;
  grid-template-columns: 1fr 220px 140px;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: all .2s;
  position: relative;
}

.vaga-row:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateX(2px);
}

.vaga-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gradient);
  border-radius: var(--radius) 0 0 var(--radius);
  opacity: 0;
  transition: opacity .2s;
}

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

.vaga-row-main h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.vaga-row-main .vaga-meta {
  margin-bottom: 8px;
  gap: 6px;
}

.vaga-row-main .vaga-meta .chip {
  font-size: 11px;
  padding: 3px 9px;
}

.vaga-row-main .vaga-resumo {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vaga-row-info {
  font-size: 13px;
  color: var(--text-muted);
}

.vaga-row-info .location {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.vaga-row-info .salary {
  color: var(--secondary);
  font-weight: 600;
  font-size: 12px;
}

.vaga-row-cta {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  text-align: right;
}

.vaga-row-cta::after {
  content: '→';
  margin-left: 6px;
  transition: transform .2s;
  display: inline-block;
}

.vaga-row:hover .vaga-row-cta::after { transform: translateX(4px); }

/* Bloco "Sobre nós" no rodapé (V3) */
.sobre-bloco {
  padding: 64px 0;
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
  margin-top: 48px;
}

.sobre-bloco .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.sobre-bloco .sb-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 4;
}

.sobre-bloco .sb-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sobre-bloco h2 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.sobre-bloco p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.sobre-bloco .sb-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.sobre-bloco .sb-stats .stat strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: -0.02em;
}

.sobre-bloco .sb-stats .stat span {
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .hero--compact .container { grid-template-columns: 1fr; gap: 24px; }
  .hero--compact .hero-image { max-height: 220px; }
  .hero--compact .hero-stats { gap: 18px; }

  .hero--protagonista .container,
  .hero--xl .container { grid-template-columns: 1fr; min-height: auto; }
  .hero--protagonista .hero-image,
  .hero--xl .hero-image { aspect-ratio: 16 / 10; max-height: 240px; margin-bottom: 0; }
  .hero--xl + .section { padding-top: 56px; }
  .hero--xl { padding-bottom: 40px; }

  .hero--fundo h1 { font-size: 28px; }
  .hero--fundo .hero-content::before,
  .hero--fundo .hero-content::after { display: none; }

  .hero-image-wrap::before { right: -16px; bottom: -16px; }
  .hero-image-wrap::after { width: 90px; height: 90px; }

  .hero--minimal .container { flex-direction: column; align-items: flex-start; }
  .hero--minimal h1 { font-size: 26px; }

  .hero--list .container { flex-direction: column; align-items: flex-start; gap: 8px; }

  .vaga-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .vaga-row-info, .vaga-row-cta { text-align: left; }

  .sobre-bloco .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .vaga-detail-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .vaga-detail-aside {
    position: static;
  }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero h1 { font-size: 34px; }
  .vaga-detail-hero h1 { font-size: 30px; }
}

@media (max-width: 600px) {
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 14px; }
  .hero { padding: 60px 0 70px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 16px; }
  .section { padding: 48px 0; }
  .section-header h2 { font-size: 24px; }
  .vagas-grid { grid-template-columns: 1fr; }
  .site-footer .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
