
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f8fafc;
  color: #1f2937;
  line-height: 1.7;
  scroll-behavior: smooth;
}


.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}


.header {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  padding: 1.5rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease;
}

.title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.025em;
}

.nav-list {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #facc15;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
  width: 100%;
}

.nav-link:hover {
  color: #facc15;
}

.menu-icon {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.75rem;
  cursor: pointer;
}


.mobile-nav {
  display: none;
  background: #1e40af;
  padding: 1.5rem;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-list li a {
  font-size: 1.2rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.hero {
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  color: #ffffff;
  padding: 8rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.2), transparent);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-top: 35px;
 
}

.hero-description {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  font-weight: 300;
}

#sobre, #servicos, #portfolio, #contato {
  padding-top: 123px;
}

@media (max-width: 768px) {
  #sobre, #servicos, #portfolio, #contato {
    padding-top: 0px;
    margin-bottom: 20px;
  }
}


.contact-description {
text-align: center;
margin-bottom: 10px;
}

.btn-contact {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 15px;
}


.btn-contact:hover {
  background-color: #eab308;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #1f2937;
  position: relative;
}

.section-title::after {
  content: '';
  width: 60px;
  height: 4px;
  background-color: #2563eb;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}


.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.card-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1f2937;
}

.card-description {
  font-size: 1rem;
  color: #4b5563;
  font-weight: 400;
}


.form-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.form-input {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  outline: none;
}

.form-input::placeholder {
  color: #9ca3af;
}


.footer {
  background: linear-gradient(135deg, #1f2937, #374151);
  color: #ffffff;
  padding: 3rem 0;
  text-align: center;
}

.footer-text {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-icon {
  color: #ffffff;
  font-size: 1.75rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
  color: #facc15;
  transform: scale(1.1);
}


@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;

  
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .nav {
    display: none;
  }

  .mobile-nav.hidden {
    display: none;
  }

  .mobile-nav:not(.hidden) {
    display: block;
  }

  .hero {
    padding: 6rem 0 4rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .title {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .card-title {
    font-size: 1.5rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}


.nav-list,
.mobile-nav-list {
  list-style: none; 
  padding: 0;
  margin: 0;
}
