/* Nizomenal — small-consultancy facade.
   Warm cream + ink + terracotta. Serif headings, system sans body. */
:root {
  --bg:     #faf7f2;
  --ink:    #1a1a1a;
  --muted:  #6b6660;
  --accent: #c95a3b;
  --line:   #e6e0d6;
  --panel:  #ffffff;
  --serif:  Georgia, "Times New Roman", "Liberation Serif", serif;
  --sans:   -apple-system, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.6 var(--sans);
  color: var(--ink);
  background: var(--bg);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; }
h1 { font-size: 38px; margin: 0 0 16px; letter-spacing: -0.01em; }
h2 { font-size: 26px; margin: 0 0 14px; }
h3 { font-size: 19px; margin: 0 0 8px; }

p { margin: 0 0 14px; }
.muted { color: var(--muted); font-size: 14px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 12px;
}
.lede { font-size: 18px; color: #2b2b2b; max-width: 56ch; }

/* ---------- header ---------- */

.site-head {
  display: flex; align-items: center; gap: 32px;
  padding: 22px 32px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.site-head .brand {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-weight: 700;
}
.site-head nav { display: flex; gap: 22px; margin-left: auto; }
.site-head nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
}
.site-head nav a:hover { color: var(--accent); text-decoration: none; }
.site-head nav a[aria-current=page] { color: var(--accent); }

/* ---------- main layout ---------- */

main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 56px 32px 24px;
}
main > section + section { margin-top: 64px; }

/* ---------- hero ---------- */

.hero { max-width: 720px; }
.hero h1 { font-size: 44px; }
.cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 22px; }

.btn {
  display: inline-block; padding: 12px 22px;
  background: var(--ink); color: var(--bg);
  border-radius: 2px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: background 0.15s;
}
.btn:hover { background: var(--accent); text-decoration: none; }
.btn-link {
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.btn-link:hover { text-decoration: none; }

/* ---------- services ---------- */

.services .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 16px;
}
.services article {
  padding: 24px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.services article h3 { color: var(--accent); }

/* ---------- about / careers / address ---------- */

.about, .careers-cta, .address-card { max-width: 720px; }

.address-card {
  padding: 22px 24px;
  background: var(--panel);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
  margin-bottom: 32px;
}
.address-card h2 { font-size: 16px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 10px; }

/* ---------- page head (equipe / contato) ---------- */

.page-head { max-width: 760px; margin-bottom: 32px; }
.page-head h1 { font-size: 36px; }

/* ---------- team grid ---------- */

.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.member {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
}
.avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.member .role {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.member p:last-child { margin-bottom: 0; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.member p:last-child a { color: var(--ink); border-bottom: 1px solid var(--line); }
.member p:last-child a:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }

/* ---------- contact grid ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 16px;
}
.contact-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 18px 20px;
}
.contact-grid h3 {
  font-family: var(--sans);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
}
.contact-grid ul { list-style: none; padding: 0; margin: 0; }
.contact-grid li {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--line);
}
.contact-grid li:last-child { border-bottom: 0; }
.contact-grid li a { color: var(--ink); }
.contact-grid li a:hover { color: var(--accent); text-decoration: none; }

/* ---------- footer ---------- */

.site-foot {
  border-top: 1px solid var(--line);
  margin-top: 80px;
  padding: 32px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  background: var(--panel);
}
.site-foot a { color: var(--ink); }
.site-foot p { margin: 0 0 8px; }
.site-foot p:last-child { margin: 0; }

/* ---------- responsive ---------- */

@media (max-width: 540px) {
  .site-head { padding: 18px 20px; gap: 16px; flex-wrap: wrap; }
  .site-head nav { gap: 14px; margin-left: 0; }
  main { padding: 36px 20px; }
  h1 { font-size: 30px; }
  .hero h1 { font-size: 32px; }
}
