/* Estilos Gerais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f8f8;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

section {
  padding: 80px 0;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  color: #1a1a1a;
  position: relative;
}

h2:after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #e41e26;
  margin: 15px auto;
}

.btn {
  display: inline-block;
  background-color: #e41e26;
  color: #fff;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #c01017;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Header */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo img {
  display: block;
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #e41e26;
}

/* Hero Section */
.hero {
  background-image: linear-gradient(
      rgba(30, 43, 105, 0.85),
      rgba(30, 43, 105, 0.85)
    ),
    url("images/ParmecMecanica1.webp");
  background-size: cover;
  background-position: top center;
  color: #fff;
  text-align: center;
  padding: 150px 0;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #fff;
}

.hero-content h2:after {
  background-color: #fff;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Sobre Section */
.sobre-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

.sobre-text {
  flex: 1;
}

.sobre-img {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sobre-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.sobre-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.diferenciais {
  margin-top: 30px;
}

.diferenciais li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.diferenciais i {
  color: #e41e26;
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Serviços Section */
.servicos {
  background-color: #f1f1f1;
}

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

.servico-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servico-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.servico-icon {
  font-size: 3rem;
  color: #e41e26;
  margin-bottom: 20px;
}

.servico-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

/* CTA Section */
.cta {
  background-image: linear-gradient(
      rgba(30, 43, 105, 0.9),
      rgba(30, 43, 105, 0.9)
    ),
    url("images/ParmecMecanica1.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  text-align: center;
  padding: 100px 0;
}

.cta h2 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta h2:after {
  background-color: #fff;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Contato Section */
.contato-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

.contato-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.contato-item i {
  font-size: 1.5rem;
  color: #e41e26;
  margin-right: 15px;
  margin-top: 5px;
}

.contato-item h3 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.mapa-container {
  margin-top: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mapa-container iframe {
  width: 100%;
  height: 200px;
  border: none;
  display: block;
}

.social-media {
  margin-top: 30px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #e41e26;
  color: #fff;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: #c01017;
  transform: translateY(-3px);
}

.contato-whatsapp {
  background-color: #fff;
  padding: 30px 30px 20px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.contato-whatsapp h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #1e2b69;
}

.contato-whatsapp p {
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.btn-whatsapp {
  background-color: #25d366;
  font-size: 1.2rem;
  padding: 15px 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-whatsapp:hover {
  background-color: #128c7e;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e41e26;
}

/* Footer */
footer {
  background-color: #1e2b69;
  color: #fff;
  padding: 60px 0 20px;
}

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

.footer-logo img {
  display: block;
  max-width: 200px;
  margin-bottom: 15px;
  background-color: transparent;
  object-fit: contain;
}

.footer-logo:after {
  display: none;
}

.footer-links h3,
.footer-social h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-links h3:after,
.footer-social h3:after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background-color: #e41e26;
  margin-top: 10px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #e41e26;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 0.9rem;
  color: #999;
}

/* Responsividade */
@media (max-width: 992px) {
  .sobre-content {
    flex-direction: column;
  }

  .sobre-img {
    order: -1;
    margin-bottom: 30px;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-content h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
  }

  .logo img {
    margin: 0 auto 15px;
  }

  nav ul {
    margin-top: 20px;
    justify-content: center;
  }

  nav ul li {
    margin: 0 15px;
  }

  section {
    padding: 60px 0;
  }

  .hero {
    padding: 100px 0;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

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

@media (max-width: 576px) {
  nav ul li {
    margin: 0 10px;
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  h2 {
    font-size: 1.8rem;
  }
}