/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Source Sans Pro", sans-serif;
  line-height: 1.6;
  color: #374151;
  background-color: #ffffff;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1.2;
}

/* Header */
.header {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
  padding: 0 1rem;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  color: #15803d;
}

.logo-text {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #111827;
}

/* Corrigindo posicionamento dos botões do header */
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-right: 1rem;
}

.nav-link {
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.75rem 1.25rem;
  white-space: nowrap;
  border-radius: 0.375rem;
}

.nav-link:hover,
.nav-link.active {
  color: #15803d;
  background-color: #f0fdf4;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid #d1d5db;
  padding: 0.5rem;
  border-radius: 0.375rem;
  cursor: pointer;
}

.mobile-menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #374151;
}

/* Adicionando estilos para o menu mobile */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-top: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.mobile-menu-link {
  display: block;
  padding: 1rem;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #f3f4f6;
  transition: all 0.3s ease;
}

.mobile-menu-link:hover {
  background-color: #f0fdf4;
  color: #15803d;
}

.mobile-menu-link:last-child {
  border-bottom: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dropdown-toggle::after {
  content: "▼";
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: #374151;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.dropdown-item:hover {
  background-color: #f9fafb;
  color: #15803d;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: 1px solid #d1d5db;
  padding: 0.5rem;
  border-radius: 0.375rem;
  cursor: pointer;
  flex-direction: column;
  gap: 3px;
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  background-color: #374151;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  padding: 5rem 0;
}

.hero-content {
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
}

.hero-title-accent {
  display: block;
  color: #15803d;
}

.hero-description {
  font-size: 1.25rem;
  color: #4b5563;
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background-color: #15803d;
  color: white;
}

.btn-primary:hover {
  background-color: #166534;
}

.btn-secondary {
  background-color: transparent;
  color: #15803d;
  border: 2px solid #15803d;
}

.btn-secondary:hover {
  background-color: #15803d;
  color: white;
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.warning-box {
  background-color: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 0.5rem;
  padding: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
  display: flex;
  gap: 0.75rem;
  text-align: left;
}

.warning-icon {
  width: 1.5rem;
  height: 1.5rem;
  background-color: #fbbf24;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #92400e;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.warning-title {
  font-weight: 600;
  color: #92400e;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.warning-text {
  color: #b45309;
  font-size: 0.875rem;
}

/* Certificate Types */
.certificate-types {
  padding: 5rem 0;
  background-color: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.25rem;
  color: #4b5563;
  max-width: 48rem;
  margin: 0 auto;
}

.accordion {
  max-width: 64rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  transition: background-color 0.3s ease;
}

.accordion-trigger:hover {
  background-color: #f9fafb;
}

.accordion-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.accordion-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accordion-icon.green {
  background-color: #dcfce7;
  color: #15803d;
}

.accordion-icon.blue {
  background-color: #dbeafe;
  color: #1d4ed8;
}

.accordion-icon.purple {
  background-color: #e9d5ff;
  color: #7c3aed;
}

.accordion-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.accordion-title {
  font-weight: 600;
  font-size: 1.125rem;
  color: #111827;
}

.accordion-chevron {
  width: 1.25rem;
  height: 1.25rem;
  color: #6b7280;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0 1.5rem 1.5rem;
  color: #4b5563;
  display: none;
}

.accordion-item.active .accordion-content {
  display: block;
}

/* Process Steps */
.process-steps {
  padding: 5rem 0;
  background-color: #f0fdf4;
}

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

.step-card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.step-card:hover {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.step-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.step-icon.green {
  background-color: #dcfce7;
  color: #15803d;
}

.step-icon.blue {
  background-color: #dbeafe;
  color: #1d4ed8;
}

.step-icon.purple {
  background-color: #e9d5ff;
  color: #7c3aed;
}

.step-icon svg {
  width: 2rem;
  height: 2rem;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.step-description {
  color: #4b5563;
}

/* FAQ */
.faq {
  padding: 5rem 0;
  background-color: #ffffff;
}

.faq-accordion {
  max-width: 64rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  transition: background-color 0.3s ease;
}

.faq-trigger:hover {
  background-color: #f9fafb;
}

.faq-question {
  font-weight: 600;
  color: #111827;
}

.faq-chevron {
  width: 1.25rem;
  height: 1.25rem;
  color: #6b7280;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 1.5rem 1.5rem;
  color: #4b5563;
  display: none;
}

.faq-item.active .faq-content {
  display: block;
}

/* Footer */
.footer {
  background-color: #111827;
  color: #ffffff;
  padding: 4rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 2rem !important;
  height: 2rem !important;
  color: #15803d;
}

.footer-logo-text {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #ffffff;
}

.footer-description {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-title {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #9ca3af;
  font-size: 0.875rem;
}

.footer-icon {
  width: 1rem !important;
  height: 1rem !important;
  flex-shrink: 0;
}

.footer-subtitle {
  font-weight: 600;
  font-size: 1rem;
  margin: 1.5rem 0 0.5rem 0;
  color: #ffffff;
}

.footer-text {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: #4ade80;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  color: #9ca3af;
  font-size: 0.875rem;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #9ca3af;
  font-size: 0.875rem;
}

/* Added styles for contact and legal pages */

/* Contact Page Styles */
.main-content {
  padding: 2rem 0;
  min-height: calc(100vh - 200px);
}

.contact-hero {
  text-align: center;
  margin-bottom: 4rem;
  padding: 3rem 0;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
}

.contact-subtitle {
  font-size: 1.125rem;
  color: #4b5563;
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.6;
}

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

.contact-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.contact-card:hover {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.contact-card-icon {
  width: 3rem;
  height: 3rem;
  background-color: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

/* Garantindo tamanho correto dos ícones dos cards de contato */
.contact-card-icon svg {
  width: 1.5rem !important;
  height: 1.5rem !important;
  color: #15803d;
}

.contact-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.75rem;
}

.contact-card-text {
  color: #4b5563;
  font-weight: 500;
}

.contact-form-section {
  max-width: 48rem;
  margin: 0 auto;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 3rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2rem;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #15803d;
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.1);
}

/* Legal Pages Styles */
.legal-hero {
  text-align: center;
  padding: 3rem 0;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  margin-bottom: 3rem;
}

.legal-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
}

.legal-content {
  max-width: 48rem;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.legal-section {
  margin-bottom: 3rem;
}

.legal-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #dcfce7;
}

.legal-section p {
  color: #4b5563;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal-section ul {
  color: #4b5563;
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.legal-section li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.legal-section strong {
  color: #15803d;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-title,
  .contact-title,
  .legal-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-buttons {
    align-items: stretch;
  }

  .btn {
    width: 100%;
    max-width: 400px;
  }

  .warning-box {
    flex-direction: column;
    text-align: center;
  }

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

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 2rem;
  }

  .footer-bottom {
    text-align: center;
    flex-direction: column;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4rem;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.logo-image {
    height: 200px;
    width: auto;
}

.logo-image-termos {
    height: 100px;
    width: auto;
}

.footer-logo-image {
    height: 50px;
    width: auto;
}