/* ============================================================
   Zapt Service — folha de estilo
   ============================================================ */

:root {
  --navy: #0f3b4c;
  --navy-dark: #0b2f3d;
  --teal: #1f5f75;
  --text: #1f2933;
  --muted: #52606d;
  --line: #dde3e8;
  --bg: #ffffff;
  --bg-alt: #f4f7f9;
  --white: #ffffff;

  --font: "Segoe UI", Helvetica, Arial, sans-serif;
  --container: 820px;
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ---------- Tipografia ---------- */

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  max-width: 34rem;
}

h2 {
  font-size: 1.6rem;
  font-weight: 700;
}

h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

p { margin: 0 0 1em; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.lead,
.section__desc,
.text p {
  color: var(--muted);
  max-width: 34rem;
}

.lead { font-size: 1.05rem; }

/* ---------- Botões ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius);
  border: 2px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  text-decoration: none;
}

.btn--outline {
  background: transparent;
  color: var(--navy);
}

.btn--outline:hover {
  background: var(--bg-alt);
  color: var(--navy);
}

/* ---------- Cabeçalho ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  color: var(--navy);
}

.brand:hover { text-decoration: none; }

.brand__name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand__sub {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.nav a {
  color: var(--text);
  font-weight: 400;
  font-size: 0.9rem;
}

.nav a:hover {
  color: var(--navy);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Seções ---------- */

.hero {
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--alt + .section--alt { border-top: 0; }

/* Estatísticas (Quem somos) */

.stats {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.stats li {
  border-left: 3px solid var(--navy);
  padding-left: 0.9rem;
}

.stats strong {
  display: block;
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.stats span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* Cartões */

.cards {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.25rem;
}

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

.card p a { font-size: 0.95rem; }

/* ---------- Rodapé ---------- */

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.5rem;
  font-size: 0.8rem;
  line-height: 1.7;
}

.footer a { color: var(--white); }

.footer p { margin: 0 0 0.3rem; }

.footer strong { color: var(--white); }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.9fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__title {
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.9rem;
}

.footer__title--gap { margin-top: 1.5rem; }

.footer__bottom {
  padding-top: 1.25rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
}

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

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1rem;
    display: none;
  }

  .nav.is-open { display: flex; }

  .nav a {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .stats,
  .cards--2,
  .cards--3,
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav-toggle span { transition: none; }
}
