/* Rede SSU — institutional site
   One stylesheet for every page. No build step, no external dependency. */

:root {
  --ink: #12161d;
  --ink-soft: #4a5464;
  --ink-faint: #737f90;
  --paper: #ffffff;
  --paper-alt: #f4f6f9;
  --line: #e2e7ee;
  --brand: #0f2f5c;
  --brand-soft: #e8eef8;
  --accent: #c8102e;
  --radius: 14px;
  --shell: 1120px;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); }

h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.12rem; }

p { margin: 0 0 1.1em; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── header ───────────────────────────────────────────────────────────── */

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

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  flex-wrap: wrap;
}

.brand-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--brand);
  text-decoration: none;
}

.brand-mark span {
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.site-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.94rem;
  color: var(--ink-soft);
  text-decoration: none;
}

.site-nav a:hover { background: var(--paper-alt); color: var(--ink); }

.site-nav a[aria-current="page"] {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
}

/* ── hero ─────────────────────────────────────────────────────────────── */

.hero {
  background: linear-gradient(160deg, #0f2f5c 0%, #17416f 55%, #0b2445 100%);
  color: #fff;
  padding: clamp(56px, 9vw, 104px) 0;
}

.hero .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9fc0ea;
  margin-bottom: 18px;
}

.hero h1 { color: #fff; max-width: 18ch; }

.hero p {
  max-width: 56ch;
  font-size: 1.08rem;
  color: #d7e3f3;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
  border: 1px solid transparent;
}

.button-primary { background: #fff; color: var(--brand); }
.button-primary:hover { background: #eaf1fb; }

.button-ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.button-ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* ── page header (inner pages) ────────────────────────────────────────── */

.page-head {
  background: var(--paper-alt);
  border-bottom: 1px solid var(--line);
  padding: clamp(40px, 6vw, 72px) 0;
}

.page-head p {
  max-width: 62ch;
  color: var(--ink-soft);
  margin: 0;
}

/* ── sections ─────────────────────────────────────────────────────────── */

section { padding: clamp(48px, 7vw, 88px) 0; }

section.tinted { background: var(--paper-alt); }

.section-head { max-width: 62ch; margin-bottom: 40px; }

.section-head p { color: var(--ink-soft); margin: 0; }

.eyebrow-dark {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.card h3 { margin-bottom: 8px; }

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

.card .tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 10px;
}

/* lista de cidades */

.city-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.city-list li {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

.card .city-list li { background: var(--paper-alt); }

/* definições (dados da empresa, contato) */

.facts {
  display: grid;
  gap: 18px 32px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 0;
}

.facts dt {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 4px;
}

.facts dd { margin: 0; font-weight: 500; }

/* texto longo (política de privacidade) */

.prose { max-width: 68ch; }

.prose h2 { margin-top: 2em; font-size: 1.3rem; }

.prose h2:first-of-type { margin-top: 0; }

.prose .updated {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--ink-faint);
}

/* ── footer ───────────────────────────────────────────────────────────── */

.site-footer {
  background: #0b1420;
  color: #b8c4d4;
  padding: 56px 0 28px;
  font-size: 0.95rem;
}

.site-footer a { color: #cfe0f5; }

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.site-footer h3 {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }

.site-footer li { margin-bottom: 8px; }

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: #8496ab;
}

/* ── dark mode ────────────────────────────────────────────────────────── */

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e9eef6;
    --ink-soft: #aab6c6;
    --ink-faint: #8593a5;
    --paper: #0f141c;
    --paper-alt: #151c26;
    --line: #26303d;
    --brand: #9cc2f2;
    --brand-soft: #1b2839;
  }

  .site-header { background: rgba(15, 20, 28, 0.92); }

  .button-primary { background: #9cc2f2; color: #0b1420; }
  .button-primary:hover { background: #b9d4f7; }
}
