/* ============================================================
   WORKMONITOR — DESIGN SYSTEM BASE (páginas internas)
   Derivado da home aprovada. Espelha tokens, nav, footer,
   botões, formulários e padrões de seção.
   ============================================================ */

:root {
  --bg-deep: #031614;
  --bg-dark: #052921;
  --green-deep: #003c30;
  --green: #04d48a;
  --green-soft: rgba(4, 212, 138, 0.08);
  --green-glow: rgba(4, 212, 138, 0.2);
  --orange: #ff9700;
  --orange-soft: rgba(255, 151, 0, 0.1);
  --cream: #f7f5ee;
  --paper: #ffffff;
  --ink: #0a1f1c;
  --ink-soft: #4a5a57;
  --ink-mute: #8a9a97;
  --line: #e6e8e5;
  --line-dark: rgba(255, 255, 255, 0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }

.nowrap { white-space: nowrap; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(3, 22, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-dark);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px; max-width: 1440px; margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: 10px; color: white; text-decoration: none; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: rgba(255, 255, 255, 0.7); text-decoration: none; font-size: 14px;
  padding: 8px 14px; border-radius: 6px; transition: all 0.2s;
}
.nav-links a:hover { color: white; background: rgba(255, 255, 255, 0.04); }
.nav-links a.active { color: var(--green); }
.nav-cta {
  background: var(--green); color: var(--bg-deep) !important;
  font-weight: 600 !important; padding: 10px 22px !important;
  border-radius: 999px !important; font-size: 14px !important; white-space: nowrap;
}
.nav-cta:hover { background: white !important; transform: translateY(-1px); }

.nav-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 10px;
  background: transparent; border: 1px solid var(--line-dark);
  border-radius: 10px; cursor: pointer;
}
.nav-burger span { display: block; width: 100%; height: 2px; background: white; border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none; flex-direction: column;
  padding: 6px 24px 22px;
  border-top: 1px solid var(--line-dark);
  background: rgba(3, 22, 20, 0.98);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: rgba(255, 255, 255, 0.8); text-decoration: none; font-size: 15px;
  padding: 14px 2px; border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-mobile .nav-cta { margin-top: 16px; text-align: center; border-bottom: none; }

/* ============ PAGE HERO (interno) ============ */
.page-hero {
  background: var(--bg-deep); color: white;
  padding: 150px 0 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(110deg, transparent 0%, transparent 38%, rgba(4,212,138,0.05) 38.2%, rgba(4,212,138,0.05) 38.4%, transparent 38.6%),
    linear-gradient(110deg, transparent 0%, transparent 64%, rgba(4,212,138,0.04) 64.2%, rgba(4,212,138,0.04) 64.4%, transparent 64.6%);
  pointer-events: none;
}
.page-hero::after {
  content: ''; position: absolute; top: -250px; right: -250px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 2; max-width: 780px; }
.page-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 26px; font-weight: 500;
}
.page-eyebrow .line { width: 28px; height: 1px; background: var(--green); display: inline-block; }
.page-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600; line-height: 1.06; letter-spacing: -0.025em;
  margin-bottom: 20px; text-wrap: balance;
}
.page-hero h1 em { font-style: normal; font-weight: 400; color: var(--green); }
.page-hero-sub {
  font-size: 18px; color: rgba(255, 255, 255, 0.7);
  line-height: 1.55; max-width: 620px;
}

/* ============ TIPOGRAFIA DE SEÇÃO ============ */
.section { padding: 100px 0; }
.section.cream { background: var(--cream); }
.section.dark { background: var(--bg-deep); color: white; }
.section-eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--green-deep); letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 16px;
}
.section.dark .section-eyebrow { color: var(--green); }
.section-title {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08; letter-spacing: -0.025em;
  color: var(--ink); max-width: 720px; text-wrap: balance;
}
.section-title em { font-style: normal; color: var(--green-deep); }
.section.dark .section-title { color: white; }
.section.dark .section-title em { color: var(--green); }
.section-sub { color: var(--ink-soft); font-size: 17px; max-width: 560px; line-height: 1.55; margin-top: 16px; }
.section.dark .section-sub { color: rgba(255,255,255,0.65); }
.section-head { margin-bottom: 56px; }

/* ============ BOTÕES ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 28px; border-radius: 999px;
  font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 15px;
  text-decoration: none; transition: all 0.2s ease; cursor: pointer; border: none;
}
.btn-primary { background: var(--orange); color: var(--bg-deep); }
.btn-primary:hover { background: var(--bg-deep); color: white; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255, 151, 0, 0.3); }
.section.dark .btn-primary:hover, .page-hero .btn-primary:hover { background: white; color: var(--bg-deep); }
.btn-ghost { background: transparent; color: white; border: 1px solid rgba(255, 255, 255, 0.2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--green); color: var(--green); }
.btn-ghost.on-light { color: var(--ink); border-color: var(--line); }
.btn-ghost.on-light:hover { background: var(--green-soft); border-color: var(--green-deep); color: var(--green-deep); }

/* ============ CARDS GENÉRICOS ============ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 18px; padding: 30px 26px;
  display: flex; flex-direction: column;
}
.section.dark .card, .card.on-dark {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}
.card .icon {
  width: 48px; height: 48px;
  background: rgba(4, 212, 138, 0.1);
  border: 1px solid rgba(4, 212, 138, 0.25);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-deep); margin-bottom: 20px; flex-shrink: 0;
}
.section.dark .card .icon, .card.on-dark .icon { color: var(--green); }
.card h3 {
  font-family: 'Space Grotesk', sans-serif; font-size: 19px; font-weight: 600;
  color: var(--ink); margin-bottom: 10px;
}
.section.dark .card h3, .card.on-dark h3 { color: white; }
.card p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
.section.dark .card p, .card.on-dark p { color: rgba(255,255,255,0.6); }

/* ============ LISTA COM CHECK ============ */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  padding: 12px 0; border-top: 1px solid var(--line);
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14.5px; color: var(--ink); line-height: 1.5;
}
.check-list li:last-child { border-bottom: 1px solid var(--line); }
.check-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--green-deep); }
.section.dark .check-list li { color: rgba(255,255,255,0.85); border-color: var(--line-dark); }
.section.dark .check-list li svg { color: var(--green); }

/* ============ FORMULÁRIOS ============ */
.form-wrap {
  background: linear-gradient(135deg, #042c24 0%, #003c30 70%, #052921 100%);
  border-radius: 24px; padding: 48px;
  color: white; position: relative; overflow: hidden;
}
.form-wrap::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(4,212,138,0.15), transparent 70%);
  pointer-events: none;
}
.form-wrap > * { position: relative; z-index: 2; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85); }
.form-field label .req { color: var(--orange); }
.form-field input, .form-field select, .form-field textarea {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 14px 16px;
  color: white;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2304d48a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; cursor: pointer; }
.form-field select option { color: var(--ink); background: white; }
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(4, 212, 138, 0.15);
}
.form-hint { font-size: 12px; color: rgba(255,255,255,0.45); }
.form-privacy { font-size: 12.5px; color: rgba(255,255,255,0.55); line-height: 1.5; margin-top: 16px; }
.form-privacy a { color: var(--green); }
.form-submit { margin-top: 22px; }
.form-success {
  display: none;
  background: rgba(4, 212, 138, 0.1);
  border: 1px solid rgba(4, 212, 138, 0.35);
  border-radius: 12px;
  padding: 18px 20px;
  color: white; font-size: 14.5px; line-height: 1.5;
  margin-top: 18px;
}
.form-success.visible { display: block; }
.form-success strong { color: var(--green); }

/* ============ FAQ ============ */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  padding: 26px 0;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px; font-weight: 500; color: var(--ink);
  transition: color 0.2s; gap: 20px;
}
.faq-q:hover { color: var(--green-deep); }
.faq-q .ic {
  flex-shrink: 0; width: 28px; height: 28px;
  border: 1px solid var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--ink-soft); transition: all 0.3s;
}
.faq-item.open .faq-q .ic {
  background: var(--green-deep); color: white;
  border-color: var(--green-deep); transform: rotate(45deg);
}
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner {
  padding-bottom: 26px; color: var(--ink-soft);
  font-size: 15.5px; line-height: 1.65; max-width: 760px;
}

/* ============ CTA FINAL ============ */
.ctafinal {
  background: var(--bg-deep); color: white;
  padding: 110px 0;
  position: relative; overflow: hidden;
}
.ctafinal::before {
  content: ''; position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(4,212,138,0.15), transparent 60%);
  pointer-events: none;
}
.ctafinal-inner { position: relative; z-index: 2; text-align: center; }
.ctafinal h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 600; line-height: 1.06; letter-spacing: -0.025em;
  margin-bottom: 22px;
  max-width: 880px; margin-left: auto; margin-right: auto;
  text-wrap: balance;
}
.ctafinal h2 em { font-style: normal; color: var(--green); }
.ctafinal p {
  color: rgba(255,255,255,0.65); font-size: 18px;
  max-width: 580px; margin: 0 auto 36px; line-height: 1.55;
}
.ctafinal-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-deep); color: white;
  border-top: 1px solid var(--line-dark);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 60px;
}
.footer-brand-text {
  color: rgba(255,255,255,0.55); font-size: 14px; line-height: 1.6;
  margin: 18px 0; max-width: 280px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid var(--line-dark); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65); transition: all 0.2s;
}
.footer-social a:hover { background: var(--green); color: var(--bg-deep); border-color: var(--green); }
.footer h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; font-weight: 600; color: white;
  margin-bottom: 18px; text-transform: uppercase; letter-spacing: 1px;
}
.footer ul { list-style: none; padding: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: rgba(255,255,255,0.6); font-size: 14px; text-decoration: none; transition: color 0.2s; }
.footer ul li a:hover { color: var(--green); }
.footer-bottom {
  padding-top: 30px; border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.footer-bottom .info { color: rgba(255,255,255,0.5); font-size: 12.5px; line-height: 1.6; }
.footer-bottom .legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom .legal a { color: rgba(255,255,255,0.5); font-size: 12.5px; text-decoration: none; }
.footer-bottom .legal a:hover { color: white; }

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed; bottom: 30px; right: 30px;
  width: 58px; height: 58px;
  background: var(--green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--bg-deep);
  box-shadow: 0 8px 30px rgba(4, 212, 138, 0.4);
  z-index: 50; transition: all 0.2s; text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ============ CONTEÚDO LEGAL (políticas) ============ */
.legal-content { max-width: 800px; }
.legal-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px; font-weight: 600; color: var(--ink);
  margin: 44px 0 14px; letter-spacing: -0.01em;
}
.legal-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px; font-weight: 600; color: var(--ink);
  margin: 28px 0 10px;
}
.legal-content p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; margin-bottom: 14px; }
.legal-content ul, .legal-content ol { margin: 0 0 14px 22px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; }
.legal-content li { margin-bottom: 6px; }
.legal-content strong { color: var(--ink); }
.legal-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 32px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.legal-toc {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 14px; padding: 24px 26px; margin-bottom: 40px;
}
.legal-toc strong { font-family: 'Space Grotesk', sans-serif; font-size: 14px; display: block; margin-bottom: 12px; }
.legal-toc ol { margin: 0 0 0 20px; font-size: 14px; line-height: 2; color: var(--ink-soft); }
.legal-toc a { color: var(--green-deep); text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.draft-banner {
  background: var(--orange-soft);
  border: 1px solid rgba(255, 151, 0, 0.4);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 13.5px; color: var(--ink); line-height: 1.55;
  margin-bottom: 36px;
}
.draft-banner strong { color: #b86d00; }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ MOVIMENTO REDUZIDO ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ============ RESPONSIVE — TABLET (≤980px) ============ */
@media (max-width: 980px) {
  .nav-inner { padding: 14px 20px; gap: 12px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 9px 18px !important; }
  .nav-burger { display: flex; }

  .page-hero { padding: 124px 0 60px; }
  .section { padding: 76px 0; }
  .ctafinal { padding: 80px 0; }

  .card-grid, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .form-wrap { padding: 36px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ============ RESPONSIVE — CELULAR (≤560px) ============ */
@media (max-width: 560px) {
  .container, .container-narrow { padding: 0 20px; }
  .page-hero { padding: 112px 0 50px; }
  .page-hero-sub { font-size: 16px; }
  .section { padding: 60px 0; }

  .card-grid, .card-grid.cols-2, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wrap { padding: 30px 20px; border-radius: 18px; }
  .form-submit .btn { width: 100%; }

  .ctafinal-ctas { flex-direction: column; align-items: stretch; }
  .ctafinal-ctas .btn { width: 100%; }
  .faq-q { font-size: 16px; padding: 20px 0; }

  .footer { padding: 56px 0 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 20px; right: 16px; }
}

/* Upload de arquivo (currículo) */
.form-field input[type="file"] { padding: 10px 12px; cursor: pointer; }
.form-field input[type="file"]::file-selector-button {
  background: var(--green); color: var(--bg-deep);
  border: none; border-radius: 8px;
  padding: 8px 14px; margin-right: 12px;
  font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 13px;
  cursor: pointer;
}
