:root {
  --navy: #14213d;
  --navy-dark: #0c1526;
  --steel: #eef1f5;
  --steel-line: #d7dde6;
  --yellow: #fca311;
  --yellow-dark: #d88c0a;
  --ink: #1b2438;
  --muted: #5b6478;
  --white: #ffffff;
  --line: #e2e6ed;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: "Familjen Grotesk", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
}

section[id] { scroll-margin-top: 88px; }

.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--yellow-dark);
}

.eyebrow-light { color: var(--yellow); }

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-in {
  min-height: 76px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  height: 2.75rem;
  width: 2.75rem;
  display: grid;
  place-items: center;
  background: var(--navy);
  border-top: 4px solid var(--yellow);
  color: var(--yellow);
  font-family: "Familjen Grotesk", Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.brand-text strong {
  display: block;
  font-family: "Familjen Grotesk", Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.brand-text small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.nav a:not(.btn) {
  padding: 0.5rem 0.8rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s, background 0.15s;
}

.nav a:not(.btn):hover {
  color: var(--navy);
  background: var(--steel);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0 1.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-solid {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 10px 22px rgba(252, 163, 17, 0.28);
}

.btn-solid:hover {
  background: var(--yellow-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: transparent;
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

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

.hero {
  position: relative;
  padding: 5.5rem 0 9.5rem;
  background: var(--navy);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 88%);
}

.hero-in { max-width: 44rem; }

.hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
}

.hero-lead {
  max-width: 34rem;
  margin: 1.25rem 0 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
}

.hero-cta {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ---------- Tag strip ---------- */

.tag-strip {
  margin-top: -3.5rem;
  position: relative;
  z-index: 2;
  background: var(--yellow);
}

.tag-strip-in {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding: 1rem 1.25rem;
  justify-content: center;
}

.tag-strip-in span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--navy);
}

/* ---------- Sections ---------- */

.section { padding: 4.5rem 0; }

.section-steel { background: var(--steel); }

.section-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.head-mark {
  width: 0.6rem;
  height: 1.9rem;
  background: var(--yellow);
  flex-shrink: 0;
}

.head-mark-light { background: var(--yellow); }

.section-head h2 {
  margin: 0;
  font-size: 1.9rem;
}

.contato .section-head h2 { color: var(--white); }

/* ---------- Sobre ---------- */

.sobre-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 46rem;
}

.sobre-grid p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- Atuação ---------- */

.cap-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
}

.cap-card {
  background: var(--white);
  border-left: 6px solid var(--yellow);
  padding: 1.75rem 2rem;
  box-shadow: 0 12px 28px rgba(20, 33, 61, 0.06);
}

.cap-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
}

.cap-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- Como trabalhamos (timeline) ---------- */

.timeline {
  display: grid;
  gap: 2.25rem;
  position: relative;
}

@media (min-width: 860px) {
  .timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .timeline::before {
    content: "";
    position: absolute;
    top: 1.1rem;
    left: calc(100% / 6);
    right: calc(100% / 6);
    height: 2px;
    background: var(--steel-line);
    z-index: 0;
  }
}

.step { position: relative; z-index: 1; }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.2rem;
  width: 2.2rem;
  background: var(--navy);
  color: var(--yellow);
  font-family: "Familjen Grotesk", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
}

.step h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.15rem;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- Dados oficiais ---------- */

.dados-grid {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 640px) { .dados-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .dados-grid { grid-template-columns: repeat(3, 1fr); } }

.dado {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
  padding: 1.4rem 1.5rem;
}

.dado small {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--yellow-dark);
}

.dado span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--navy);
}

.break { word-break: break-all; }

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

.contato {
  background: var(--navy-dark);
  padding: 4.5rem 0;
}

.contato-grid {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 640px) { .contato-grid { grid-template-columns: repeat(2, 1fr); } }

.contato-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 1.4rem;
}

.contato-link:hover { background: rgba(255, 255, 255, 0.1); }

.contato-item .ico {
  height: 2.4rem;
  width: 2.4rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--navy);
  font-size: 1rem;
}

.contato-item small {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
}

.contato-item span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
}

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

.footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
}

.footer-grid {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1.6fr 0.7fr; }
  .footer-links { justify-items: end; }
}

.footer-name {
  font-family: "Familjen Grotesk", Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
  color: var(--navy);
}

.footer-data {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.9;
  color: var(--muted);
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 0.7rem;
}

.footer-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.footer-links a:hover { text-decoration: underline; }

/* ---------- Modal (Política de Privacidade) ---------- */

.modal {
  visibility: hidden;
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 21, 38, 0.72);
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.modal:target {
  visibility: visible;
  opacity: 1;
}

.modal-bg { position: absolute; inset: 0; }

.modal-box {
  position: relative;
  max-height: 80vh;
  width: 100%;
  max-width: 48rem;
  overflow-y: auto;
  background: var(--white);
  border-top: 6px solid var(--yellow);
  padding: 2rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  right: 1.1rem;
  top: 0.8rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--muted);
}

.modal-box h2 {
  margin: 0;
  padding-right: 2rem;
  font-size: 1.6rem;
}

.modal-box h4 {
  margin: 1.5rem 0 0.25rem;
  font-size: 0.95rem;
  color: var(--navy);
}

.modal-box p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- 404 ---------- */

.nf {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem 1.25rem;
}

.nf .brand-mark { margin: 0 auto; }

.nf-code {
  font-family: "Familjen Grotesk", Arial, sans-serif;
  font-size: clamp(5rem, 14vw, 8rem);
  font-weight: 700;
  line-height: 1;
  color: var(--yellow-dark);
  margin: 1.5rem 0 0.5rem;
}

.nf h1 {
  margin: 0;
  font-size: 1.75rem;
}

.nf p {
  max-width: 28rem;
  margin: 1rem auto 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}
