:root {
  --primary: #075e66;
  --secondary: #18a875;
  --bg: #eaf2f1;
  --text: #183536;
  --white: #fff;
  --muted: #557071;
  --line: #bfd1cf;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: var(--primary);
}

header {
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 10px #0002;
}

.wrap {
  width: min(100% - 32px, 980px);
  margin: auto;
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
}

.mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

.mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 650;
}

nav a[aria-current=page],
nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero {
  padding: 72px 0 42px;
}

.eyebrow {
  color: var(--secondary);
  font-weight: 800;
  letter-spacing: .08em;
}

.hero h1,
.legal h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.1;
  margin: .2em 0;
}

.hero > p:not(.eyebrow) {
  font-size: 1.2rem;
  max-width: 740px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.button {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 750;
}

.button:hover {
  background: #064d54;
}

.button.secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 18px 0 48px;
}

.card,
.notice,
.warning {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}

.card h2,
.notice h2 {
  margin-top: 0;
}

/* Traço lateral com o mesmo verde escuro do cabeçalho (--primary: #075e66) */
.notice {
  margin: 24px 0 44px;
  border-left: 5px solid var(--primary);
}

/* Texto do contexto do projeto justificado */
.notice p {
  text-align: justify;
  margin-bottom: 0;
}

.warning {
  margin: 24px 0;
  background: #fff8dc;
  border-color: #e2c86f;
}

.legal {
  background: #fff;
  margin-top: 32px;
  margin-bottom: 32px;
  padding: clamp(22px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.legal h2 {
  margin-top: 2em;
  line-height: 1.25;
}

.updated {
  color: var(--muted);
}

footer {
  background: #dce9e7;
  border-top: 1px solid var(--line);
  padding: 26px 0;
  margin-top: 40px;
}

/* Container das 4 logos no rodapé: sempre na mesma linha */
.footer-logos {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  margin-top: 18px;
}

.footer-logos img {
  height: 46px;
  width: auto;
  max-width: calc(25% - 21px);
  object-fit: contain;
  display: block;
}

li {
  margin: .35em 0;
}

@media (max-width: 720px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 46px;
  }
  nav {
    gap: 12px;
    font-size: .92rem;
  }
  .legal {
    width: min(100% - 20px, 980px);
    padding: 20px;
  }
  .footer-logos {
    gap: 12px;
  }
  .footer-logos img {
    height: 34px;
    max-width: calc(25% - 9px);
  }
}
