:root {
  --primary-color: #333;
  --accent-color: #007bff;
}

/* Estilos compartilhados para ícones sociais */
.social-links {
  list-style: none;
  display: flex;
  gap: 12px !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px !important;
  height: 32px !important;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.social-links a:hover,
.social-links a:focus {
  transform: scale(1.1);
  filter: brightness(1.15);
}

.social-icon.instagram-icon,
.social-icon.whatsapp-icon {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain;
}

.social-links a[href*='instagram.com'] {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}

.social-links a[href*='whatsapp.com'] {
  background: linear-gradient(45deg, #25d366, #128c7e);
}

/* Estilos do Header */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
}

.main-header {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 2;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Garante espaço para o menu-toggle */
  height: 60px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #c59d5f;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 40px;
}

.contact-item .social-links {
  display: inline-flex;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
  padding: 0;
}

.menu-toggle .bar {
  height: 4px !important; /* Garante visibilidade */
  width: 100% !important;
  background-color: var(--primary-color) !important;
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block !important; /* Garante que as barras sejam visíveis */
}

.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px) !important;
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0 !important;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px) !important;
}

/* Estilos do Footer */
.footer {
  background-color: #f8f8f8;
  padding: 40px 20px;
  font-family: 'Montserrat', sans-serif;
  color: var(--primary-color);
  text-align: center;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.footer-info p {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.footer-info a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-info a:hover,
.footer-info a:focus {
  color: var(--accent-color);
}

.footer-social p {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

/* Media Queries */
@media (max-width: 768px) {
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    width: 100%;
    height: 60px;
  }

  .logo {
    order: -1;
    font-size: 1.2rem;
    margin: 0;
  }

  .menu-toggle {
    display: flex !important; /* Garante visibilidade do menu hamburger */
    order: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .nav {
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 20px;
    gap: 15px;
    pointer-events: auto;
  }

  .nav-links.active {
    display: flex;
    z-index: 1200;
  }

  .nav-links li {
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 15px;
    font-size: 1.2rem;
    pointer-events: auto;
  }

  .contact-item {
    flex-direction: column;
    gap: 15px;
  }

  .contact-item .social-links {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    margin-left: 0 !important;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .social-links {
    justify-content: center;
    margin-left: 20px !important;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0 15px;
    height: 60px;
  }

  .logo {
    font-size: 1.5rem;
    transform: translate(0, 10%);
  }

  .menu-toggle {
    display: flex !important;
    width: 28px;
    height: 20px;
    margin-left: auto;
  }

  .menu-toggle .bar {
    height: 3.5px !important;
  }

  .menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px) !important;
  }

  .menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px) !important;
  }

  .footer {
    padding: 30px 15px;
  }

  .footer-info p,
  .footer-social p {
    font-size: 1.1rem;
  }

  .social-links a {
    width: 32px !important;
    height: 32px !important;
  }

  .social-icon {
    width: 20px !important;
    height: 20px !important;
  }
}
