* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: #111;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}
header {
  background: #000;
  color: #fff;
  padding: 1rem 0;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  height: 70px;
  width: auto;
  object-fit: contain;
}

header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  margin: 0;
}
header span {
  color: #FFD500;
}
nav a {
  margin-left: 20px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}
nav a:hover {
  color: #FFD500;
}
.btn-header {
  background: #FFD500;
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
}
.hero {
  background: #e8e8e8;
  height: 500px;
  max-height: 500px;
  min-height: 300px;
  margin-top: 4rem;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.hero-content {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  height: 100%;
  max-width: none;
  width: 100%;
  margin: 0;
}
.hero .text {
  text-align: left;
  flex: 0 0 50%;
  padding: 3rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.hero img {
  width: 50vw;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  flex: none;
  margin-right: 0;
  border-left: 3px solid #000;
  border-bottom: 3px solid #000;
}
.hero h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  line-height: 1.2;
  color: #222;
  letter-spacing: -1px;
}
.hero p {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #555;
  font-weight: 400;
}
.btn-main {
  display: inline-block;
  background: #FFD500;
  color: #000;
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 213, 0, 0.3);
  text-align: center;
  vertical-align: middle;
  position: relative;
  z-index: 200;
  min-width: 180px;
}
.btn-main:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 213, 0, 0.4);
}
.servicos {
  padding: 3rem 0;
  background: #fff;
}
.servicos h3 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.2rem;
  font-weight: 600;
  color: #222;
  letter-spacing: -0.5px;
}
.cards {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.card {
  background: #000;
  color: #fff;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  min-width: 220px;
  text-align: center;
  font-weight: 500;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
}
.sobre {
  padding: 3rem 0;
  background: #f1f1f1;
  text-align: center;
}
.sobre h3 {
  margin-bottom: 1.5rem;
  font-size: 2.2rem;
  font-weight: 600;
  color: #222;
  letter-spacing: -0.5px;
}
.sobre p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}
footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 2rem 0;
}
footer h4 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFD500;
}
footer p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
  /* Header responsivo */
  .logo {
    height: 55px;
  }
  
  .logo-title {
    gap: 0.7rem;
  }
  
  header h1 {
    font-size: 1.8rem;
  }
  
  nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  nav a {
    margin-left: 10px;
    font-size: 0.9rem;
  }
  
  .btn-header {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }

  /* Hero responsivo */
  .hero {
    height: auto;
    min-height: 400px;
    margin-top: 2rem;
    padding: 2rem 0;
  }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
    max-width: 90%;
    margin: 0 auto;
    gap: 2rem;
    height: auto;
  }
  
  .hero .text {
    text-align: center;
    flex: none;
    padding: 1.5rem 1rem;
    order: 2;
    z-index: 100;
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    margin: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .btn-main {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    z-index: 150;
    position: relative;
    display: inline-block;
    margin-top: 1rem;
    width: auto;
    min-width: 200px;
  }
  
  .hero h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero img {
    width: 100%;
    max-width: 100%;
    height: 250px;
    order: 1;
    border-radius: 12px;
    border-left: none;
    object-fit: cover;
  }

  /* Serviços responsivo */
  .servicos h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  
  .cards {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .card {
    width: 90%;
    max-width: 300px;
    padding: 1.5rem;
    font-size: 1rem;
  }

  /* Sobre responsivo */
  .sobre h3 {
    font-size: 1.8rem;
  }
  
  .sobre p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  /* Footer responsivo */
  footer {
    padding: 1.5rem 0;
  }
  
  footer h4 {
    font-size: 1.3rem;
  }
  
  footer p {
    font-size: 0.9rem;
  }
}

/* Responsividade para modal */
@media (max-width: 768px) {
  .modal {
    left: 50%;
    top: 50%;
    width: 90%;
    max-width: 400px;
    padding: 1rem;
  }
  
  .modal h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .modal iframe {
    width: 100%;
    height: 300px;
    max-width: 100%;
  }
  
  .contaiiner-q {
    width: 95%;
    padding: 0 1rem;
  }
}

/* Responsividade para telas muito pequenas */
@media (max-width: 480px) {
  header .container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  header h1 {
    font-size: 1.6rem;
  }
  
  .logo {
    height: 50px;
  }
  
  nav {
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  nav a {
    margin-left: 0;
    font-size: 0.9rem;
    padding: 0.5rem;
  }
  
  .btn-header {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .hero {
    margin-top: 1rem;
    min-height: 350px;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero .text {
    padding: 1rem;
  }
  
  .btn-main {
    padding: 0.8rem 1.2rem !important;
    font-size: 0.95rem !important;
    z-index: 200 !important;
    position: relative !important;
    display: inline-block !important;
    margin: 1rem auto 0 auto !important;
    min-width: 200px !important;
    background: #FFD500 !important;
    color: #000 !important;
  }
  
  .servicos h3,
  .sobre h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .card {
    width: 95%;
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .sobre p {
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }
  
  footer {
    padding: 1rem 0;
  }
  
  footer h4 {
    font-size: 1.2rem;
  }
  
  footer p {
    font-size: 0.85rem;
  }
  
  .modal h3 {
    font-size: 1.3rem;
  }
  
  .modal iframe {
    height: 250px;
  }
}

.contaiiner-q {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  background-color: #e8e8e8;
}

.masc {
visibility: hidden;
transition: 1s linear;
z-index: 3;
position: fixed;
inset: 0;
width: 100vw;
height: 100vw;
background: linear-gradient(109deg, rgba(10,12,16,0.99)15%,rgba(10,12,16,0.99)15%,rgba(10,12,16,0.7)50%,rgba(10,12,16,0.99)85%);
}

.modal {

display: flex;
background-color: transparent;
flex-direction: column;    
gap:20px;
z-index: 4;
position: fixed;
top:50%;
left:-50%;
transform: translate(-50%, -50%);
transition: 1s linear;;

}

.modal h3 {
  font-size: 2.2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  color: #fff;
}

.modal h3 span {
  color: #FFD500;
  margin-right: 0.5rem;
}

/* Regra adicional para garantir visibilidade do botão principal */
.hero .btn-main {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  display: inline-block !important;
  position: relative !important;
  z-index: 300 !important;
}