@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;700&display=swap');

:root {
  --noite: #0D111C;
  --card: #10151F;
  --borda: #2A3142;
  --laranja: #E8842B;
  --laranja-escuro: #C96A12;
  --texto: #F4EFE4;
  --suave: #B9C0CE;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Ubuntu', system-ui, sans-serif;
  background: var(--noite);
  color: var(--texto);
  line-height: 1.85;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 48px 16px;
}

.card {
  width: 100%;
  max-width: 860px;
  background: var(--card);
  border: 1.5px solid var(--laranja);
  border-radius: 22px;
  padding: 40px clamp(24px, 5vw, 64px) 32px;
  display: flex;
  flex-direction: column;
}

header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}
.brand img { width: 38px; height: 38px; display: block; }
.brand span {
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--texto);
}

h1 {
  grid-column: 2;
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  color: var(--laranja);
  text-align: center;
  white-space: nowrap;
}

.content { flex: 1; }

.content h2 {
  color: var(--laranja);
  font-weight: 500;
  font-size: 1.15rem;
  margin: 36px 0 12px;
}
.content h2:first-child { margin-top: 0; }

.content p { margin: 0 0 16px; color: var(--texto); }

.content ul { margin: 0 0 16px; padding-left: 22px; }
.content li { margin-bottom: 8px; }

.content a { color: var(--laranja); text-decoration: none; }
.content a:hover { text-decoration: underline; }

.content strong { color: #fff; font-weight: 500; }

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--borda);
  font-size: 0.9rem;
}
footer a {
  color: var(--laranja);
  text-decoration: none;
  font-weight: 500;
}
footer a:hover { text-decoration: underline; }
footer .atualizado { color: var(--suave); }

@media (max-width: 560px) {
  header {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 18px;
  }
  .brand { justify-self: center; }
  h1 { grid-column: 1; white-space: normal; }
}
