:root {
  --primary: #14565e;
  --primary-dark: #0b3a40;
  --primary-darker: #07292e;
  --accent: #00d9b7;
  --accent-soft: #e0faf5;
  --gold: #d9a441;
  --text: #22333b;
  --muted: #5c727a;
  --bg: #f6fafb;
  --surface: #ffffff;
  --border: #dbe7ea;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(11, 58, 64, 0.08);
  --font-sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  --font-serif: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1080px, 92%);
  margin-inline: auto;
}

/* ===== Header / Navegação ===== */

.site-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  box-shadow: var(--shadow);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface);
  padding: 2px;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.2;
}

.brand-name strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  color: #eaf7f7;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* ===== Conteúdo ===== */

main {
  padding-bottom: 3rem;
}

.hero {
  padding-block: 3.5rem 2.5rem;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.25;
  margin: 0 0 0.8rem;
}

.hero p.lead {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.08rem;
  color: var(--muted);
}

.GODname {
  color: var(--primary);
  font-style: italic;
}

h2 {
  font-family: var(--font-serif);
  color: var(--primary-dark);
  margin: 2.5rem 0 1rem;
}

h2:first-child {
  margin-top: 0;
}

/* ===== Cartões ===== */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.5rem;
  color: var(--primary);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card-featured {
  border-top: 4px solid var(--accent);
}

.card-featured h3,
.card-featured p {
  margin-bottom: 0.75rem;
}

.card-featured .muted {
  font-style: italic;
}

.card p + p {
  margin-top: 0.75rem;
}

.card .highlight {
  color: var(--gold);
}

.card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.card a:hover {
  text-decoration: underline;
}

/* ===== Relógio (UTC) ===== */

.time-box {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  font-variant-numeric: tabular-nums;
  color: var(--primary-dark);
}

.time-box .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

#currentTime {
  font-weight: 600;
}

/* ===== Rodapé ===== */

.site-footer {
  background: var(--primary-darker);
  color: #cfe3e4;
  padding-block: 2rem;
  margin-top: 3rem;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer nav a {
  margin-left: 1rem;
}

.muted {
  color: var(--muted);
}

/* ===== Documento de licença ===== */

.license-doc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.license-title {
  margin-top: 0;
  text-align: center;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gold);
}

.license-doc section {
  margin-top: 2.5rem;
}

.license-doc h3 {
  font-family: var(--font-serif);
  color: var(--primary-dark);
  margin: 0 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.license-doc h4 {
  color: var(--primary);
  margin: 1.75rem 0 0.4rem;
  font-size: 1rem;
}

.license-doc p {
  margin: 0.35rem 0;
  text-align: justify;
}

.license-doc ul {
  margin: 0.35rem 0 0;
  padding-left: 1.4rem;
}

.license-doc li {
  margin-block: 0.3rem;
  text-align: justify;
}

@media print {
  .site-header,
  .site-footer,
  .hero {
    display: none;
  }

  .license-doc {
    border: none;
    box-shadow: none;
    padding: 0;
  }
}

/* ===== Acessibilidade ===== */

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}