:root {
  --accent: #0ea5e9;  /* optional */
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --border: #e5e7eb;
  --brand: #24324C;   /* STN blue */
  --brand-2: #111827; /* dark */
  --card: #ffffff;
  --muted: #475569;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  --text: #0f172a;
}

/* Base */
* { box-sizing: border-box; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
}

html, body { margin: 0; padding: 0; }

/* Layout */
.container {
  margin: 0 auto;
  width: min(1120px, calc(100% - 40px));
}

/* Header */
.brand { flex: 0 0 auto; }

.brand-logo {
  display: block;
  height: 56px;
  max-width: 170px;
  width: auto;
}

.header-inner {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 28px;
  justify-content: space-between;
  min-height: 64px;  /* força altura mínima elegante */
}

.nav {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  gap: 22px;
  justify-content: flex-end;
  white-space: nowrap;
}

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

.nav-cta {
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-left: 6px;
  padding: 10px 14px;
}

.nav-toggle {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  display: none;
  padding: 10px 12px;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;   /* aumenta altura */
}


/* Hero */
.eyebrow {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
  border-bottom: 1px solid var(--border);
  padding: 64px 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-content { max-width: 920px; }

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-inner {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}

.pill {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 10px;
}

.subhead {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 22px;
  max-width: 60ch;
}

h1 {
  font-size: 40px;
  line-height: 1.05;
  margin: 0 0 14px;
}

/* Offset para âncoras com header sticky */
section[id] {
  scroll-margin-top: 90px; /* ajuste fino conforme altura real do header */
}

/* opcional: melhora quando você clica em links internos em geral */
:target {
  scroll-margin-top: 90px;
}

/* Buttons */
.btn {
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  justify-content: center;
  padding: 11px 16px;
}

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

.btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.btn.secondary { background: transparent; }

/* Sections */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
  padding: 18px;
}

.card h3 {
  font-size: 16px;
  margin: 0 0 10px;
}

.card p { color: var(--muted); margin: 0; }

.cta-band {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
}

.cta-band .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cta-text { color: var(--muted); }
.cta-title { font-weight: 800; margin-bottom: 6px; }

.grid { display: grid; gap: 16px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.lead { color: var(--muted); font-size: 16px; margin: 0; }

.list {
  color: var(--muted);
  margin: 0;
  padding-left: 18px;
}

.note {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  margin-top: 18px;
  padding: 14px 16px;
}

.section { padding: 56px 0; }

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

.section-head {
  margin-bottom: 22px;
  max-width: 80ch;
}

h2 {
  font-size: 28px;
  margin: 0 0 10px;
}

/* Forms */
.form label {
  color: var(--muted);
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
}

input, textarea {
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
  margin-top: 6px;
  padding: 10px 12px;
  width: 100%;
}

.muted { color: var(--muted); }
.small { font-size: 12px; }

.contact-info { padding: 24px; }

.contact-tagline{
  margin: 8px 0 10px;
  font-weight: 600;
  color: var(--text);
}

.contact-copy{
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 62ch;
}

.contact-block{
  margin: 14px 0 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 10px;
}

.contact-row{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  align-items: baseline;
}

.contact-label{
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-value{ color: var(--text); }

.contact-footnote{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.contact-info h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 14px;
}

.contact-info .tagline {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.contact-meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.contact-meta div {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.contact-meta span {
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 80px;
}

.form button {
  display: block;
  margin: 18px auto 0 auto;
}

.form .small {
  margin-top: 20px;
  text-align: center;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.cta-mini{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.cta-note{
  margin-top: 10px;
  max-width: 60ch;
}

/* Contact card spacing refinements */
.contact-tagline{
  margin: 10px 0 14px;
  font-weight: 650;
  color: var(--text);
}

.contact-copy{
  margin: 0 0 12px;
  color: var(--muted);
  max-width: 62ch;
}

.contact-copy:last-of-type{
  margin-bottom: 16px;
}

.contact-block{
  margin: 16px 0 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 10px;
}

.contact-info p {
  margin-bottom: 14px;
}

.contact-info p:last-of-type {
  margin-bottom: 0;
}

.contact-copy {
  margin-bottom: 16px;
}

.cta-mini{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.contact-footnote{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  max-width: 62ch;
}

/* Footer */
.footer-inner {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 13px;
  gap: 12px;
  justify-content: space-between;
}

.footer-links { display: flex; gap: 14px; }
.footer-links a { color: var(--muted); }

.site-footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 22px 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .nav { gap: 14px; }
}

@media (max-width: 900px) {
  .grid.three, .grid.two { grid-template-columns: 1fr; }

  .nav {
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    padding: 12px;
    position: absolute;
    right: 20px;
    top: 62px;
    width: min(320px, calc(100% - 40px));
  }

  .nav.open { display: flex; }
  .nav-toggle { display: inline-flex; }

  h1 { font-size: 36px; }
}