/* ==========================================================================
   Work IT — estilos do site institucional
   ========================================================================== */

:root {
  --ink: #12151A;
  --graphite: #3A3F47;
  --stone: #6B6F76;
  --ivory: #F5F3EF;
  --gold: #A9824C;
  --white: #FFFFFF;
  --border: #E4E1DA;

  --success: #4B7355;
  --warning: #B8863B;
  --error: #A23B3B;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  --nav-height: 76px;
  --container-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

section {
  scroll-margin-top: var(--nav-height);
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 12px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  line-height: 1.15;
}

h2 {
  font-size: clamp(28px, 3.6vw, 40px);
}

h3 {
  font-size: 20px;
}

p {
  color: var(--stone);
  line-height: 1.7;
  margin: 0;
}

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.btn-primary:hover {
  background: #93703F;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(245, 243, 239, 0.4);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ---------- Navegação ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  backdrop-filter: saturate(180%) blur(6px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand svg {
  width: 34px;
  height: 34px;
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--graphite);
  padding: 6px 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
}

/* ---------- Hero / Home ---------- */

#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--ink);
  color: var(--white);
  position: relative;
  padding-top: var(--nav-height);
  overflow: hidden;
}

#home::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(169, 130, 76, 0.16), transparent 45%),
    radial-gradient(circle at 12% 82%, rgba(169, 130, 76, 0.10), transparent 40%);
  pointer-events: none;
}

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

.hero-content h1 {
  font-size: clamp(36px, 5.2vw, 58px);
  color: var(--white);
  margin-bottom: 22px;
}

.hero-content p {
  color: #C9C6BE;
  font-size: 18px;
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-divider {
  width: 90px;
  height: 1px;
  background: var(--gold);
  margin: 0 0 22px;
}

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #A9A49A;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-hint span.line {
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

/* ---------- Empresa ---------- */

#empresa {
  padding: 120px 0;
  background: var(--white);
}

.empresa-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}

.empresa-text p + p {
  margin-top: 16px;
}

.pillars {
  display: grid;
  gap: 28px;
}

.pillar {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.pillar:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pillar-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.pillar h3 {
  margin-bottom: 6px;
  color: var(--ink);
}

/* ---------- Serviços ---------- */

#servicos {
  padding: 120px 0;
  background: var(--ivory);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 36px 30px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.service-card h3 {
  color: var(--ink);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 15px;
}

/* ---------- Contato ---------- */

#contato {
  padding: 120px 0;
  background: var(--white);
}

.contato-grid {
  display: flex;
  justify-content: center;
}

.contact-form {
  background: var(--ivory);
  border: 1px solid var(--border);
  padding: 40px;
  width: 100%;
  max-width: 640px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: 0.4px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: border-color 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field .field-error {
  color: var(--error);
  font-size: 12px;
  margin-top: 6px;
  display: none;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: var(--error);
}

.form-field.has-error .field-error {
  display: block;
}

/* honeypot: invisível para humanos, presente no DOM para bots */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-wrap {
  margin: 8px 0 22px;
}

.form-feedback {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 2px;
  font-size: 14px;
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(75, 115, 85, 0.12);
  color: var(--success);
  border: 1px solid rgba(75, 115, 85, 0.35);
}

.form-feedback.error {
  display: block;
  background: rgba(162, 59, 59, 0.1);
  color: var(--error);
  border: 1px solid rgba(162, 59, 59, 0.35);
}

.form-field.company-honey {
  display: none;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #A9A49A;
  padding: 48px 0 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(245, 243, 239, 0.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand svg {
  width: 28px;
  height: 28px;
}

.footer-brand span {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  font-size: 16px;
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  font-size: 14px;
  color: #A9A49A;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 22px;
  font-size: 13px;
  color: #75726A;
  text-align: center;
}

/* ---------- Responsivo ---------- */

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

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 16px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 28px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}
