/* Reset e Estilos Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #003d82;
  --secondary-color: #0066cc;
  --accent-color: #ff6b00;
  --text-color: #333;
  --light-bg: #f5f5f5;
  --white: #ffffff;
  --border-color: #ddd;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
}

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

/* Skip Link para Acessibilidade */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: var(--white);
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

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

/* Header */
header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--white);
}

header nav {
  display: flex;
  gap: 2rem;
}

header nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
}

header nav a:hover,
header nav a:focus {
  color: var(--accent-color);
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero .lead {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.intro-content {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 10px;
  margin-top: 2rem;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.intro-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.intro-content ul {
  list-style-position: inside;
  margin-top: 1rem;
}

.intro-content li {
  margin-bottom: 0.5rem;
  padding-left: 1rem;
}

/* Services Section */
.services {
  padding: 4rem 0;
  background-color: var(--light-bg);
}

.services h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* FAQ Section */
.faq {
  padding: 4rem 0;
}

.faq h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--white);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--secondary-color);
  box-shadow: var(--shadow);
}

.faq-item dt {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.faq-item dd {
  margin-left: 0;
  color: var(--text-color);
}

/* Contact Section */
.contact {
  padding: 4rem 0;
  background-color: var(--light-bg);
}

.contact h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.contact > p {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto 3rem;
  background-color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--primary-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.btn-submit {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  width: 100%;
}

.btn-submit:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-submit:active {
  transform: translateY(0);
}

.contact-info {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background-color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.contact-info h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-info a {
  color: var(--secondary-color);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 2rem 0;
  text-align: center;
}

footer nav {
  margin: 1rem 0;
}

footer nav a {
  color: var(--white);
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

footer nav a:hover {
  color: var(--accent-color);
}

footer small {
  display: block;
  margin-top: 1rem;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 1rem;
  }

  header nav {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    text-align: center;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero .lead {
    font-size: 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .intro-content {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .services h2,
  .faq h2,
  .contact h2 {
    font-size: 1.5rem;
  }

  .contact-form,
  .contact-info {
    padding: 1.5rem;
  }
}

/* Print Styles */
@media print {
  header,
  footer,
  .contact-form {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }
}