/* Reset e configurações básicas */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

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

.hero .container {
  display: flex;
  align-items: center;
  height: 100%;
  justify-content: flex-start;
  padding-left: 0;
  margin-left: 0;
  max-width: none;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header-content {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: #1a1a1a;
}

.logo-img {
  height: 40px;
  width: auto;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.header.scrolled .nav-link {
  color: #1a1a1a;
  text-shadow: none;
}

.nav-link:hover {
  color: #6366f1;
}

.mobile-menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: color 0.3s ease;
}

.header.scrolled .mobile-menu-toggle {
  color: #1a1a1a;
  text-shadow: none;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 600px;
  padding-left: 60px;
}

.hero-logo {
  margin-bottom: 20px;
}

.hero-logo-img {
  height: 80px;
  width: auto;
}

.hero-card {
  background: rgba(255, 255, 255, 0.85);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  min-width: 650px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 30px;
  font-weight: 400;
}

.cta-button {
  background: #3b82f6;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.cta-button:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Features Section */
.features {
  padding: 80px 0;
  background: #f8fafc;
}

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

.feature-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 24px;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.feature-description {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.6;
}

/* Services Section */
.services {
  padding: 80px 0;
  background: white;
}

.services-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 60px;
}

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

.service-card {
  text-align: center;
  padding: 30px 20px;
}

.service-image {
  width: 230px;
  height: 350px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-label {
  font-size: 1.25rem;
  font-weight: 400;
  color: #1a1a1a;
}

/* About Section */
.about {
  padding: 80px 0;
  background: #f8fafc;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-logo {
  margin-bottom: 30px;
}

.about-logo .logo-img {
  height: 70px;
  width: auto;
}

.about-title {
  font-size: 3rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
}

.about-image {
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 1000px;
}

.card-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.card-image:hover {
  transform: scale(1.05);
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background: white;
}

.testimonials-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 60px;
}

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

.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.testimonial-text {
  font-size: 1.1rem;
  color: #374151;
  margin-bottom: 20px;
  line-height: 1.6;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: #1a1a1a;
  text-align: right;
  display: block;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 60px 0 30px;
}

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

.footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.footer-text {
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-logo .logo-img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: #374151;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: background 0.3s ease;
}

.social-link:hover {
  background: #6366f1;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.newsletter-input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #374151;
  border-radius: 8px;
  background: #374151;
  color: white;
  font-size: 14px;
}

.newsletter-input::placeholder {
  color: #9ca3af;
}

.newsletter-button {
  background: #3b82f6;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-button:hover {
  background: #2563eb;
}

/* Responsividade */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .nav {
    display: none;
  }

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

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

  .hero .container {
    justify-content: flex-start;
    padding: 0 15px;
  }

  .hero-content {
    max-width: 100%;
    align-items: flex-start;
    text-align: left;
    padding-left: 20px;
  }

  .hero-card {
    padding: 30px 25px;
    max-width: 100%;
  }

  .hero-logo-img {
    height: 40px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .about-title {
    font-size: 2.5rem;
  }

  .services-title,
  .testimonials-title {
    font-size: 2rem;
  }

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

  .newsletter-form {
    flex-direction: column;
  }

  .card-image {
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero .container {
    padding: 0 10px;
  }

  .hero-content {
    align-items: flex-start;
    text-align: left;
    padding-left: 15px;
  }

  .hero-card {
    min-width: 300px;

    padding: 25px 20px;
  }

  .hero-logo-img {
    height: 50px;
  }

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

  .services-title,
  .testimonials-title {
    font-size: 1.75rem;
  }

  .feature-card,
  .testimonial-card {
    padding: 25px 20px;
  }

  .card-image {
    max-width: 200px;
  }
}

/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card,
.service-card,
.testimonial-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Melhorias de acessibilidade */
.nav-link:focus,
.cta-button:focus,
.newsletter-button:focus {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

/* Estados de loading */
.cta-button:active {
  transform: translateY(0);
}

/* Melhorias visuais */
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.05),
    rgba(139, 92, 246, 0.05)
  );
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before {
  opacity: 1;
}
