@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap");

:root {
  --primary-color: #003366; /* Azul escuro TCU */
  --secondary-color: #d4a017; /* Dourado TCU */
  --background-color: #f4f4f4;
  --text-color: #333;
  --header-footer-bg: #ffffff;
  --card-bg: #ffffff;
  --highlight-bg: #e6f7ff;
  --border-color: #ddd;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: var(--background-color);
  color: var(--text-color);
}

header {
  background: var(--header-footer-bg);
  color: var(--primary-color);
  padding: 1.5rem 2rem;
  text-align: center;
  border-bottom: 5px solid var(--primary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

header .logo {
  margin-bottom: 1rem;
}

header h1 {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 700;
}

header p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 300;
}

main {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 2rem;
  display: grid;
  gap: 2rem;
}

section {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 5px solid var(--secondary-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

section h2 {
  color: var(--primary-color);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
  margin-top: 0;
}

.highlight-section {
  background-color: var(--highlight-bg);
  border-left-color: var(--primary-color);
}

.highlight-section strong {
  color: var(--primary-color);
}

ul,
ol {
  padding-left: 20px;
}

ul li,
ol li {
  margin-bottom: 0.8rem;
}

.architecture-diagram {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  text-align: center;
  margin-top: 2rem;
}

.arch-component {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 5px;
  min-width: 150px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s;
}

.arch-component:hover {
  background-color: #004a8d;
}

.arrow {
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: bold;
}

.timeline {
  list-style: none;
  padding: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.timeline li {
  margin-bottom: 1.5rem;
  padding-left: 40px;
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--secondary-color);
  border: 3px solid var(--primary-color);
}

footer {
  text-align: center;
  padding: 1.5rem;
  margin-top: 2rem;
  background: var(--header-footer-bg);
  color: #666;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .architecture-diagram {
    flex-direction: column;
  }
  .arrow {
    transform: rotate(90deg);
  }
}
