/* Regulariza City SP — Safety Work Engenharia */
:root {
  --ink: #0A1628;
  --ink-2: #102341;
  --ink-3: #1A2E54;
  --paper: #F4F1EA;
  --paper-2: #EDE8DD;
  --paper-pure: #FFFFFF;
  --blueprint: #0F4C81;
  --electric: #2563EB;
  --electric-2: #3B82F6;
  --rule: rgba(10, 22, 40, 0.12);
  --rule-strong: rgba(10, 22, 40, 0.22);
  --rule-light: rgba(255, 255, 255, 0.14);
  --mute: #5B6B82;
  --gold: #C9A961;
  --grid: rgba(120, 168, 220, 0.10);
  --grid-strong: rgba(120, 168, 220, 0.22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.display, h1, h2, h3 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.02;
  text-wrap: balance;
}

.mono, .eyebrow, .tech-num {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--blueprint);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--blueprint);
}

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

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule-light);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  display: block;
  height: 38px;
  width: auto;
}
.logo.logo-footer img { height: 44px; }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 150ms ease;
}
.nav-links a:hover { color: white; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: none;
  border-radius: 2px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 200ms ease, background 200ms ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--electric);
  color: white;
  box-shadow: 0 1px 0 0 rgba(255,255,255,0.18) inset, 0 8px 22px -10px rgba(37, 99, 235, 0.6);
}
.btn-primary:hover { background: var(--electric-2); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.28);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-arrow {
  width: 16px; height: 10px;
  position: relative;
  display: inline-block;
}
.btn-arrow::before {
  content: "→";
  font-family: 'IBM Plex Mono', monospace;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 14px;
  line-height: 1;
}

/* ============ HERO ============ */
.hero {
  background: var(--ink);
  color: white;
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
  border-bottom: 1px solid var(--rule-light);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 80% 20%, rgba(37, 99, 235, 0.18), transparent 60%),
    radial-gradient(600px 300px at 10% 80%, rgba(15, 76, 129, 0.22), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: start;
  z-index: 2;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--rule-light);
  border-radius: 999px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
}
.hero-tag-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.22);
}
.hero h1 {
  font-size: clamp(40px, 5.6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 0.98;
  color: white;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  font-family: 'Manrope', sans-serif;
  color: var(--electric-2);
  position: relative;
  display: inline-block;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 44px;
  border-top: 1px solid var(--rule-light);
  padding-top: 28px;
}
.hero-stat { padding-right: 16px; border-right: 1px solid var(--rule-light); }
.hero-stat:last-child { border-right: none; padding-left: 16px; padding-right: 0; }
.hero-stat:nth-child(2) { padding-left: 16px; }
.hero-stat-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.hero-stat-num span { color: var(--electric-2); }
.hero-stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

/* Hero form card */
.hero-form-wrap {
  position: relative;
}
.hero-form {
  background: var(--paper-pure);
  color: var(--ink);
  padding: 32px;
  border-radius: 4px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
  position: relative;
}
.hero-form::before {
  content: "FORM-01";
  position: absolute;
  top: -10px;
  left: 24px;
  background: var(--ink);
  color: var(--electric-2);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  padding: 2px 10px;
  border: 1px solid var(--rule-light);
}
.form-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 6px;
}
.form-sub {
  font-size: 13.5px;
  color: var(--mute);
  margin-bottom: 22px;
}
.form-row { display: flex; flex-direction: column; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mute);
}
.form-field input, .form-field select {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14.5px;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: border-color 120ms ease, background 120ms ease;
  border-radius: 2px;
}
.form-field input:focus, .form-field select:focus {
  border-color: var(--electric);
  background: white;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.form-field input.invalid {
  border-color: #DC2626;
  background: #FEF2F2;
}
.form-field .err {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  color: #DC2626;
  letter-spacing: 0.04em;
}
.form-submit {
  margin-top: 6px;
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 14.5px;
}
.form-fineprint {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--mute);
  letter-spacing: 0.04em;
  text-align: center;
  margin-top: 12px;
}

/* Form success state */
.form-success {
  text-align: center;
  padding: 24px 8px;
}
.form-success-mark {
  width: 56px; height: 56px;
  border: 2px solid var(--electric);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  color: var(--electric);
  font-size: 24px;
}
.form-success h3 { font-size: 22px; margin-bottom: 8px; }
.form-success p { font-size: 14px; color: var(--mute); }

/* ============ SECTION SHELL ============ */
section.block {
  padding: 110px 0;
  position: relative;
}
section.block.tight { padding: 80px 0; }
section.block.dark {
  background: var(--ink);
  color: white;
}
section.block.dark .eyebrow { color: var(--electric-2); }
section.block.dark .eyebrow::before { background: var(--electric-2); }
.block-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 60px;
}
.block-head h2 {
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -0.025em;
}
.block-head p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--mute);
  max-width: 520px;
}
section.block.dark .block-head p { color: rgba(255,255,255,0.7); }
.block-head .eyebrow { margin-bottom: 18px; }

/* ============ VIDEO ============ */
.video-wrap {
  position: relative;
  background: var(--ink-2);
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--rule-light);
}
.video-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-strong) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-strong) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.6;
}
.video-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  flex-direction: column;
}
.video-play {
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--electric);
  display: grid;
  place-items: center;
  color: white;
  font-size: 26px;
  padding-left: 6px;
  box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.18), 0 20px 40px -10px rgba(37, 99, 235, 0.6);
  transition: transform 200ms ease;
}
.video-wrap:hover .video-play { transform: scale(1.06); }
.video-meta {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.video-meta .dot { color: var(--electric-2); }
.video-corner {
  position: absolute;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.14em;
}
.video-corner.tl { top: 16px; left: 18px; }
.video-corner.tr { top: 16px; right: 18px; }
.video-corner.br { bottom: 16px; right: 18px; }

/* ============ AUDIENCE CARDS ============ */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.aud-card {
  background: var(--paper-pure);
  border: 1px solid var(--rule);
  padding: 36px 32px;
  position: relative;
  transition: transform 200ms ease, border-color 200ms ease;
}
.aud-card:hover {
  border-color: var(--blueprint);
  transform: translateY(-3px);
}
.aud-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--blueprint);
  margin-bottom: 14px;
}
.aud-card h3 {
  font-size: 24px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.aud-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--mute);
}
.aud-card-bar {
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--electric);
  transition: width 250ms ease;
}
.aud-card:hover .aud-card-bar { width: 100%; }

/* ============ MODULES ============ */
.modules {
  background: var(--ink);
  color: white;
}
.modules-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 64px;
}
.modules-head h2 {
  color: white;
  font-size: clamp(34px, 4.6vw, 64px);
  letter-spacing: -0.028em;
}
.modules-head p {
  color: rgba(255,255,255,0.72);
  font-size: 18px;
  max-width: 520px;
}
.modules-list {
  border-top: 1px solid var(--rule-light);
}
.module {
  display: grid;
  grid-template-columns: 80px 1fr 1.6fr 80px;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule-light);
  cursor: pointer;
  transition: background 200ms ease, padding 200ms ease;
  text-decoration: none;
  color: inherit;
}
.module:hover {
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.06), transparent);
  padding-left: 12px;
}
.module-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--electric-2);
  letter-spacing: 0.1em;
}
.module-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.018em;
  color: white;
  line-height: 1.15;
}
.module-desc {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
}
.module-arrow {
  justify-self: end;
  width: 44px; height: 44px;
  border: 1px solid var(--rule-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.7);
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.module:hover .module-arrow {
  background: var(--electric);
  border-color: var(--electric);
  color: white;
}

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
}
.about-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.about-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 14px,
      rgba(15, 76, 129, 0.06) 14px,
      rgba(15, 76, 129, 0.06) 15px
    );
}
.about-portrait-label {
  position: relative;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--blueprint);
  text-align: center;
  padding: 16px 24px;
  background: var(--paper);
  border: 1px solid var(--rule);
}
.about-portrait-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}
.about-portrait-corner {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--blueprint);
}
.about-content h2 {
  font-size: clamp(32px, 4vw, 50px);
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.about-content p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.about-credits {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}
.about-credit { padding-right: 16px; border-right: 1px solid var(--rule); }
.about-credit:last-child { border-right: none; padding-left: 16px; padding-right: 0; }
.about-credit:nth-child(2) { padding-left: 16px; }
.about-credit-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--blueprint);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.about-credit-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mute);
  line-height: 1.4;
}

/* ============ FINAL CTA ============ */
.final-cta {
  background: var(--ink);
  color: white;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.final-cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.final-cta h2 {
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: -0.028em;
  color: white;
  margin-bottom: 24px;
}
.final-cta h2 em {
  font-style: normal;
  color: var(--electric-2);
}
.final-cta p {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  max-width: 520px;
}
.final-cta-points { list-style: none; padding: 0; }
.final-cta-points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--rule-light);
  font-size: 15.5px;
  color: rgba(255,255,255,0.85);
}
.final-cta-points li:last-child { border-bottom: 1px solid var(--rule-light); }
.final-cta-check {
  width: 22px; height: 22px;
  border: 1px solid var(--electric-2);
  display: grid;
  place-items: center;
  color: var(--electric-2);
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============ FOOTER ============ */
footer {
  background: #06101F;
  color: rgba(255,255,255,0.6);
  padding: 56px 0 28px;
  border-top: 1px solid var(--rule-light);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.78); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--electric-2); }
.footer-bot {
  border-top: 1px solid var(--rule-light);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
}
.footer-tag { font-size: 14px; color: rgba(255,255,255,0.78); max-width: 360px; line-height: 1.5; margin-top: 8px; }

/* ============ STICKY CTA BAR ============ */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 60;
  background: var(--ink);
  color: white;
  border: 1px solid var(--rule-light);
  border-radius: 999px;
  padding: 8px 8px 8px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.4);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  max-width: calc(100vw - 32px);
}
.sticky-cta.visible { transform: translateX(-50%) translateY(0); }
.sticky-cta-text {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.sticky-cta-text strong {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}
.sticky-cta .btn { padding: 10px 18px; font-size: 13px; }

/* ============ SECTION DIVIDER MARKS ============ */
.tech-marker {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mute);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.tech-marker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--rule-strong);
}
section.block.dark .tech-marker { color: rgba(255,255,255,0.55); }
section.block.dark .tech-marker::before { background: var(--rule-light); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .block-head, .modules-head, .about-grid, .final-cta-grid { grid-template-columns: 1fr; gap: 32px; }
  .audience-grid { grid-template-columns: 1fr; }
  .module { grid-template-columns: 60px 1fr 60px; }
  .module .module-desc { display: none; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  section.block { padding: 72px 0; }
  .container { padding: 0 20px; }
  .nav-inner { padding: 12px 20px; }
}
