/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: #1a365d;
  color: white;
  padding: 20px 0;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
}

.brand h1 {
  font-size: 24px;
  margin: 0;
}

.brand p {
  font-size: 14px;
  margin: 0;
  opacity: 0.9;
}

.header-meta {
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.8;
}

/* Navegação */
nav {
  background-color: #2c5282;
  padding: 15px 0;
}

nav a {
  color: white;
  text-decoration: none;
  margin-right: 20px;
  font-size: 14px;
}

nav a:hover {
  text-decoration: underline;
}

nav a.active {
  font-weight: bold;
}

/* Disclaimer bar */
.disclaimer-bar {
  background-color: #ecc94b;
  color: #1a365d;
  padding: 10px 0;
  font-size: 13px;
  text-align: center;
}

/* Main content */
main {
  padding: 40px 0;
}

.hero-section {
  background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.hero-section h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Sections */
section {
  margin-bottom: 40px;
}

h2 {
  color: #1a365d;
  margin-bottom: 20px;
  font-size: 28px;
}

/* Grid systems */
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.requirements-grid,
.disciplines-list,
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* Cards */
.requirement-item,
.discipline-category,
.tip-item {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.requirement-item h4,
.discipline-category h4 {
  color: #1a365d;
  margin-bottom: 10px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #1a365d;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #2c5282;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid #1a365d;
  color: #1a365d;
}

.btn-outline:hover {
  background-color: #1a365d;
  color: white;
}

/* Callouts */
.callout {
  background-color: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 15px;
  margin: 20px 0;
  border-radius: 4px;
}

.sidebar-warn {
  background-color: #f8d7da;
  border-left: 4px solid #dc3545;
}

/* Sidebar */
.sidebar {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sidebar-box {
  margin-bottom: 30px;
}

.sidebar-box h3 {
  color: #1a365d;
  margin-bottom: 15px;
  font-size: 18px;
}

/* Footer */
footer {
  background-color: #1a365d;
  color: white;
  padding: 40px 0;
  margin-top: 60px;
}

footer a {
  color: #ecc94b;
  text-decoration: none;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  margin-top: 20px;
  font-size: 14px;
}

/* Lists */
ul, ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

li {
  margin-bottom: 8px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #1a365d;
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-section h1 {
    font-size: 28px;
  }
  
  nav {
    flex-wrap: wrap;
  }
  
  nav a {
    display: block;
    margin-right: 0;
    margin-bottom: 10px;
  }
}

/* Page header */
.page-header {
  background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
  color: white;
  padding: 40px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.page-lead {
  font-size: 16px;
  opacity: 0.9;
}

/* Search container */
.search-container {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}

.search-input {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
}

.search-button {
  padding: 12px 24px;
  background-color: #ecc94b;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

/* Content blocks */
.content-block {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

.content-block h2 {
  margin-top: 0;
}

/* Quick nav */
.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.quick-nav-item {
  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  color: #1a365d;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.quick-nav-item:hover {
  transform: translateY(-5px);
}

.quick-nav-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

/* Official links */
.official-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.official-links li {
  margin-bottom: 10px;
}

.official-links a {
  color: #1a365d;
  text-decoration: none;
}

.official-links a:hover {
  text-decoration: underline;
}

/* Update list */
.update-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.update-item {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.update-date {
  font-size: 12px;
  color: #666;
  display: block;
  margin-bottom: 5px;
}

/* FAQ section */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.faq-item {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.faq-item h3 {
  color: #1a365d;
  margin-bottom: 10px;
  font-size: 18px;
}

.faq-cta {
  text-align: center;
  margin-top: 30px;
}

/* Ordered list */
.ordered-list {
  list-style: decimal;
  margin-left: 20px;
}

.ordered-list li {
  margin-bottom: 10px;
}

/* Read more link */
.read-more {
  color: #1a365d;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 15px;
}

.read-more:hover {
  text-decoration: underline;
}

/* Alt section background */
.alt {
  background-color: #f8f9fa;
}

/* Tip number */
.tip-number {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-color: #1a365d;
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.story-card {
  background: white;
  padding: 25px;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.story-card:hover {
  transform: translateY(-5px);
}

.kicker {
  color: #1a365d;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.story-card h3 {
  color: #1a365d;
  margin-bottom: 10px;
}

.card-meta {
  color: #666;
  font-size: 14px;
  margin-top: 15px;
}

/* Error page */
.error-page {
  text-align: center;
  padding: 60px 20px;
}

.eyebrow {
  color: #666;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}

.error-page h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.muted-text {
  color: #666;
  font-size: 14px;
}

.mt-sm {
  margin-top: 10px;
}

.mt-lg {
  margin-top: 30px;
}

.mt-md {
  margin-top: 20px;
}

/* Header CTA */
.header-cta {
  margin-top: 10px;
}

/* Form styles */
input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  margin-bottom: 15px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #1a365d;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #1a365d;
}
