/* Header e Navegação */
header {
  background-color: var(--bg-white);
  box-shadow: 0 2px 8px var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  height: 50px;
}

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

nav a {
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: var(--primary);
}

.nav-cta {
  margin-left: 1rem;
}

/* Mobile menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
  padding: 8rem 0 5rem;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: url('../img/pattern.svg');
  opacity: 0.3;
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-gray);
}

.hero-image img {
  width: 100%;
  border-radius: 12px;
}

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

.service-card {
  background: var(--bg-white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px var(--shadow);
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px var(--shadow);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: var(--bg-white);
}

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

.service-card p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* Testimonials */
.testimonials {
  background-color: var(--bg-light);
}

.testimonial-card {
  background: var(--bg-white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  padding-top: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary);
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--bg-white);
  text-align: center;
  padding: 5rem 0;
}

.cta-section h2 {
  color: var(--bg-white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--bg-white);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-section .btn {
  background-color: var(--bg-white);
  color: var(--primary);
  font-size: 1.1rem;
  padding: 15px 40px;
}

.cta-section .btn:hover {
  background-color: var(--bg-light);
  transform: translateY(-3px);
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: var(--bg-white);
  padding: 3rem 0 1rem;
}

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

.footer-section h3 {
  color: var(--bg-white);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.8;
}

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

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-info-item {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.footer-info-item strong {
  min-width: 80px;
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

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

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.form-checkbox input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
}

.form-checkbox label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.9rem;
}

.form-error {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border-color: #dc3545;
}

.form-group.error .form-error {
  display: block;
}

/* About Page */
.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-main h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.about-sidebar {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

.about-sidebar h3 {
  margin-bottom: 1.5rem;
}

.company-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.company-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.company-info-item strong {
  color: var(--primary);
  font-size: 0.9rem;
}

.company-info-item span {
  color: var(--text-gray);
}

/* Services Page */
.service-detail {
  background: var(--bg-white);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 2px 8px var(--shadow);
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary);
}

.service-detail h3 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.service-detail ul {
  list-style: none;
  margin-top: 1rem;
}

.service-detail li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-gray);
}

.service-detail li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* Thank You Page */
.thank-you-container {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
}

.thank-you-content {
  max-width: 600px;
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2.5rem;
  color: var(--bg-white);
}

.thank-you-content h1 {
  margin-bottom: 1rem;
}

.thank-you-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.thank-you-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Legal Pages */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 0;
}

.legal-content h1 {
  margin-bottom: 1rem;
}

.legal-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal-content ul {
  list-style: disc;
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  color: var(--text-gray);
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-sidebar {
    order: -1;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  nav.mobile-active ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 4px 8px var(--shadow);
    padding: 1rem;
    gap: 0.5rem;
  }
  
  .hero {
    padding: 6rem 0 4rem;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-text p {
    font-size: 1.1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .thank-you-actions {
    flex-direction: column;
  }
}
