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

html, body {
  scroll-behavior: smooth;
  font-family: "Arial", "Helvetica", sans-serif;
  line-height: 1.6;
}

/* Navigation */
nav {
  background-color: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  margin-left: 0;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.menu a {
  color: #bf9d43;
  text-decoration: none;
  margin: 0 12px; /* Diminuído de 20px para 12px */
  position: relative;
  font-size: 15px; /* Diminuído de 18px para 15px */
  font-weight: 300; /* Fonte mais fina */
  font-family: "Calibri Light", "Bahnschrift Light Condensed", "Arial", sans-serif; /* Fontes mais finas */
  padding: 10px 0;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #bf9d43, #d4af37);
  transition: width 0.3s ease;
}

.menu a:hover,
.menu a.active {
  color: #d4af37;
  transform: translateY(-2px);
}

.menu a:hover::after,
.menu a.active::after {
  width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
  z-index: 1001;
  position: absolute;
  left: 0;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background-color: #bf9d43;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  cursor: pointer;
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.whatsapp-btn img {
  width: 200px;
  height: auto;
}

/* Sections */
section {
  min-height: 100vh;
  width: 100%;
  color: white;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  scroll-margin-top: 80px;
  position: relative;
}

/* Overlay apenas para Home e Quem Somos */
.home::before,
.quemsomos::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

section > * {
  position: relative;
  z-index: 2;
}

/* Home Section */
.home {
  background-image: url("back-paghome01.png");
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding: 100px 20px 50px;
  align-items: flex-start;
}

.home-content {
  max-width: 1000px;
  margin-left: 3%;
  margin-right: auto;
}

.home h1 {
  font-size: 3.5rem;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.home .name-line1 {
  display: block;
}

.home .name-line2 {
  display: block;
}

.home p {
  font-size: 1.5rem;
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  margin-top: 20px;
  font-weight: 400;
}

/* Content Sections */
.servicos, .quemsomos, .contato {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #c7a239;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 100px 5% 50px;
  min-height: 100vh;
}

.servicos-left, .contato-left {
  width: 60%;
  padding-right: 40px;
}

.servicos h2, .quemsomos h2, .contato h2 {
  font-size: 3rem;
  margin-bottom: 30px;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: #d4af37;
}

.servicos h3 {
  margin-bottom: 30px;
  padding-left: 2px;
  position: relative;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  text-align: justify; /* Justificado */
}

.servicos h3 p {
  margin-bottom: 10px;
  text-align: justify; /* Justificado */
}

.servicos ul {
  font-size: 1.4rem;
  list-style: none;
  line-height: 1.8;
}

.servicos li {
  margin-bottom: 25px; /* Espaçamento após cada tópico principal */
  padding-left: 20px;
  position: relative;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.servicos li::before {
  position: absolute;
  left: 0;
  color: #d4af37;
  font-size: 0.8em;
}


.servicos dl {
  margin-left: 20px;
  margin-bottom: 5px;
  font-size: 1.2rem;
  color: #c7a239;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.servicos img, .contato img {
  width: 750px;
  height: 600px;
  object-fit: contain;
  align-self: center;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.subitens {
  margin-top: 10px;
  margin-left: 20px;
}

.subitens li {
  margin-bottom: 5px;
  list-style: none;
}

.quemsomos {
  background-image: url("template-page-quemsomos01.png");
  flex-direction: column;
  text-align: center;
  justify-content: flex-start;
  padding: 100px 8% 50px;
}

.quemsomos p {
  font-size: 1.3rem;
  margin-top: 30px;
  color: #c7a239;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  text-align: justify; /* Justificado */
}

.contato {
  background-image: url("template-page-contato.png");
}

.contato p {
  font-size: 1.3rem;
  color: #c7a239;
  line-height: 1.8;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  text-align: justify; /* Justificado */
}

.contato .email {
  font-size: 1.5rem;
  color: #d4af37;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Breakpoint específico para notebook 14" (1366x768) */
@media (max-width: 1366px) and (min-width: 1200px) {
  .servicos h3 p {
    max-width: 500px; /* Controla a largura para melhor quebra de linha */
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  nav {
    padding: 18px 15px; /* Aumentado de 10px para 18px */
  }

  .nav-container {
    margin-left: 0;
  }

  .mobile-menu-btn {
    display: flex;
    left: 0;
    padding: 8px; /* Aumentado de 5px para 8px */
  }

  .mobile-menu-btn span {
    width: 28px; /* Aumentado de 25px para 28px */
    height: 3px;
    margin: 4px 0; /* Aumentado de 3px para 4px */
  }

  .menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.3s ease;
    z-index: 999;
  }

  .menu.active {
    left: 0;
  }

  .menu a {
    margin: 15px 0; /* Diminuído de 20px para 15px */
    font-size: 20px; /* Diminuído de 24px para 20px */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease; /* Animação mais suave */
  }

  .menu.active a {
    opacity: 1;
    transform: translateY(0);
  }

  /* Animações melhoradas para mobile */
  .menu.active a:nth-child(1) { 
    transition-delay: 0.1s;
    animation: slideInFromTop 0.6s ease-out forwards;
  }
  .menu.active a:nth-child(2) { 
    transition-delay: 0.2s;
    animation: slideInFromTop 0.6s ease-out forwards;
  }
  .menu.active a:nth-child(3) { 
    transition-delay: 0.3s;
    animation: slideInFromTop 0.6s ease-out forwards;
  }
  .menu.active a:nth-child(4) { 
    transition-delay: 0.4s;
    animation: slideInFromTop 0.6s ease-out forwards;
  }

  /* Background mais escuro para mobile nas seções serviços e contato */
  .servicos::before,
  .contato::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Overlay mais escuro para mobile */
    z-index: 1;
  }

  /* WhatsApp Button Mobile */
  .whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
  }

  .whatsapp-btn img {
    width: 150px;
  }

  section {
    background-attachment: scroll;
    padding: 80px 15px 30px;
  }

  .home {
    text-align: left;
    padding: 120px 20px 50px;
    align-items: flex-start;
  }

  .home-content {
    margin-left: 3%;
  }

  .home h1 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .home p {
    font-size: 1.1rem;
    margin-top: 15px;
  }

  .servicos, .contato {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 20px 40px;
  }

  .servicos-left, .contato-left {
    width: 100%;
    padding-right: 0;
    margin-bottom: 30px;
  }

  .servicos h2, .contato h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
  }

  .servicos ul {
    font-size: 1.2rem;
    text-align: left;
  }

  .servicos li {
    margin-bottom: 12px;
  }

  .servicos img, .contato img {
    width: 200px;
    height: auto;
    margin-top: 20px;
  }

  .quemsomos {
    padding: 80px 20px 40px;
  }

  .quemsomos h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
  }

  .quemsomos p {
    font-size: 1.1rem;
    margin-top: 20px;
    line-height: 1.7;
  }

  .contato p {
    font-size: 1.1rem;
    line-height: 1.7;
  }

  .contato .email {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .home {
    padding: 100px 15px 40px;
  }

  .home-content {
    margin-left: 3%;
  }

  .home h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .home p {
    font-size: 1rem;
  }

  .servicos, .contato, .quemsomos {
    padding: 70px 15px 30px;
  }

  .servicos h2, .contato h2, .quemsomos h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .servicos ul {
    font-size: 1.1rem;
  }

  .quemsomos p, .contato p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .contato .email {
    font-size: 1.2rem;
  }

  .servicos img, .contato img {
    width: 150px;
    height: auto;
  }

  .menu a {
    font-size: 18px; /* Diminuído para mobile pequeno */
  }

  .whatsapp-btn {
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-btn img {
    width: 50px;
  }
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease-out;
}

/* Overlay for mobile menu */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Smooth transitions */
* {
  transition: all 0.3s ease;
}

