/* Reset básico */
* {

  margin: 0;
  padding: 0;

}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
  
}

/* Containers */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.row {
  display: flex;
  flex-flow: row nowrap;
  gap: 1rem;
}

/* Top Header */
.top-header {
  background: #111;
  color: #f1c40f;
  padding: 0.5rem;
  text-align: center;
  font-size: 0.9rem;
}

.top-header span {
  margin: 0 1rem;
}

.img-logo {
  width: 300px;
  align-self: left ;
  left: 30px;
  top: -60px;
  position:absolute;
}
.img-logo-mobile{
  display:none;
}

/* Navbar */
.navbar {
  background: #000;
  color: #fff;
  padding: 1rem;
  top: 0;
  z-index: 1000;
  text-align: right;
 
}

.navbar ul {
    list-style: none;
  display: flex;
  justify-content: right;
  gap: 1.5rem;
  padding-bottom: 10px;  
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* .navbar a:hover{
  border: 1.4px solid white;
  padding: 8px;
  border-radius: 5px;
} */
.btn-nav{
  
  color:#fff;
  border:none;

}
.insta-btn{
  text-decoration: none;
  color:#f1c40f;
}

.insta-btn:hover{
  color:#fff;
}


.navbar .btn-wpp, .barra {
  margin-left:100px;  
  background: #adff2f;
  color:#000;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  animation: pulseCTA 2s ease-in-out infinite;
  

}
.navbar .img-logo{
  /* position: static; */
display:none;
}

.img-logo-mobile{
  display:block;
  /* position:absolute; */
  width: 200px;
  /* margin-left: 180px; */
  overflow: hidden;
  
}
.navbar .container   {
  display: flex;
  flex-flow: row  nowrap;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  /* background-color: white;   */
}

.btn-wpp{
   /* margin-left:100px;   */
  background: #adff2f;
  color:#000;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  animation: pulseCTA 2s ease-in-out infinite;
}

/* Hero */
.hero, .servicos {
  background: #222;
  color: #fff;
  padding: 4rem 0;
}

.hero-left, .sobre-left, .vantagens-right{
  flex: 0 0 60%;
}

.hero-left h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-left h2 {
  font-size: 1.5rem;
  color: #f1c40f;
  margin-bottom: 1rem;
  animation: keywords 9s infinite;
}

@keyframes keywords {
  0% { content: "Para Obras e Reformas"; }
  33% { content: "Para Construtoras e Empresas"; }
  66% { content: "Para Resíduos e Entulho"; }
  100% { content: "Para Obras e Reformas"; }
}
/* ANIMAÇÃO BOTÃO */
@keyframes pulseCTA {
  0% { transform: scale(1); box-shadow: 0 0 0 0 #1db95499; }
  50% { transform: scale(1.04); box-shadow: 0 0 0 12px #1db95400; }
  100% { transform: scale(1); box-shadow: 0 0 0 0 #1db95400; }
}


.hero-left p {
  margin-bottom: 1rem;
}

.hero-left .btn-wpp {
  display: inline-block;
  margin-top: 1rem;
}

.hero-right, .sobre-right, .vantagens-left{
  flex: 0 0 40%;
}

.hero-right form, .contato-left form {
  background: #fff;
  color: #000;
  padding: 2rem;
  border-radius: 8px;
  flex: 1;
}

.hero-right label, .contato-left label {
  display: block;
  margin-top: 0.5rem;
}

.hero-right input,
.hero-right textarea, .contato-left input, .contato-left textarea  {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.3rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.form-buttons button {
  flex: 1;
  padding: 0.7rem;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
   

}

.form-buttons button:first-child {
  background: #25d366;
  color: #fff;
   animation: pulseCTA 2s ease-in-out infinite;
}

/* .form-buttons button:last-child {
  background: #f1c40f;
  color: #000;
} */

.sobre-right img {
  width: 70%;
  background-image: cover;
  height: auto;
  margin-left: 9%;
}

 .vantagens-left img{
  width: 100%;
 }
 .vantagens-left img:last-child{
  height: 45%;
 }

/* Sections */
section {
  padding: 4rem 0;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.barra {
  display: inline-block;
  width: 4px;
  height: 24px;
  background: #f1c40f;
  margin-right: 0.5rem;
}

/* Cards */
.cards {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: #fff;
  border-radius: 8px;
  padding: 0.5rem;
  flex: 1;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  color:#000
}

.card img {
  /* height: 50%; */
  max-width: 100%;
  border-radius: 4px;
  margin-bottom: 1rem;
  background-image: cover;
}

.card h4 {
  margin-bottom: 0.5rem;
  color: #f1c40f;
}

/* Vantagens */
.vantagens ul {
  list-style: none;
  margin-top: 1rem;
}

.vantagens li {
  margin-bottom: 0.5rem;
}

/* Contato */
.contato form {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
}

.contato-right {
  display: flex;
  flex-flow:column nowrap;
  justify-content: center;
  align-items: center;
  background: #222;
  color: #fff;
  padding: 2rem;
  border-radius: 8px;
}

.contato-right h2 {
  color: #f1c40f;
  margin-bottom: 0rem;
  margin-top: 3rem;
}

.contato-left form{
  background-color: #222;
  color:#fff;
  margin-right: 40px;
}

/* Footer */
.footer {
 
  background: #111;
  color: #fff;
  padding: 2rem 0;
  text-align: center;
}

.footer h4 {
  color: #f1c40f;
  margin-bottom: 0.5rem;
}

.footer p {
  font-size: 0.9rem;
}

.nowrap{
   display: flex;
  flex-flow: column wrap;
 
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s forwards;
}

.fade-out {
  opacity: 1;
  animation: fadeOut 0.5s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}
#hero-keywords {
  display: inline-block;
  font-size: 1.5rem;
  color: #f1c40f;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.slide-up {
  transform: translateY(-20px);
  opacity: 0;
}

.slide-down {
  transform: translateY(20px);
  opacity: 0;
}


/* ==========painel hamburguer========= */
/* Hamburguer escondido no desktop */
.hamburger {
  display: none;
  font-size: 2rem;
  color: #f1c40f;
  cursor: pointer;
}

/* Menu mobile escondido */
.mobile-menu {
  display: none;
  position: absolute;
  top: 70px; /* abaixo da navbar */
  left: 0;
  width: 100%;
  background: #000;
  padding: 1rem;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.footer-btn{
  text-decoration:none;
  color: #fff;
}

.footer-btn:hover{
  color:#f1c40f;
}

/* ============================
   Responsividade para Tablets
   ============================ */
@media (max-width: 992px) {
  html, body { 
    width: 100%; 
    overflow-x: hidden; /* impede rolagem lateral */
  }
 
  .row {
    flex-direction: column;
    gap: 2rem;
  }

  .navbar ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .img-logo {
    position: static;
    margin-bottom: 1rem;
    width: 100px;
  }

  .hero {
    text-align: center;
    padding: 3rem 1rem;
  }

  .hero-left, .hero-right,
  .sobre-left, .sobre-right,
  .vantagens-left, .vantagens-right,
  .contato-left, .contato-right {
    flex: 1 1 100%;
  }

  .cards {
    flex-direction: column;
  }

  .vantagens .row {
    flex-direction: column;
    text-align: center;
  }

  .contato .row {
    flex-direction: column;
  }

  .contato-left form {
    margin-right: 0;
  }
}

/* ============================
   Responsividade para Celulares
   ============================ */
@media (max-width: 991px) {
  html, body { 
    width: 100%; 
    overflow-x: hidden;
  }
  
  body {
    font-size: 0.9rem;
  }

  h1 {
    font-size: 1.4rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  .top-links {
    display: flex;
    flex-flow: column wrap; 
  }

  .navbar ul {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .navbar .btn-nav {
    margin: 0;
  }

  .btn-wpp {
    margin-top: 1rem;
    display: inline-block;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero-right form,
  .contato-left form {
    padding: 1rem;
  }

  .cards {
    gap: 1rem;
  }

  .card {
    padding: 1rem;
  }

  .sobre-right img {
    max-width: 100%; /* garante que não estoure */
    height: auto;
    margin-left: 0;
  }

  .footer {
    text-align: center;
    padding: 1rem;
  }

  .footer .nowrap {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ============================
   Responsivo: ativa hamburguer no mobile
/* ============================
   Responsivo: ativa hamburguer no mobile
   ============================ */
@media (max-width: 768px) {
  html, body { 
    width: 100%; 
    overflow-x: hidden;
  }

  .btn-wpp{
    display: none;
  }

  .hero-left {
    align-items: left;
  }
 
  .navbar ul {
    display: none; /* esconde menu desktop */
  }

  .hamburger {
    display: block;
    text-align: left;
    font-size: 2rem;
    color: #f1c40f;
    cursor: pointer;
    z-index: 1000;
    position: relative;
  }

  /* Painel mobile escondido por padrão */
  .mobile-menu {
    display: none;
    position: absolute;
    top: 70px; /* abaixo da navbar */
    left: 0;   /* mantém à esquerda */
    width: 100%;
    background: #000;
    padding: 1rem;
    z-index: 999;
  }

  .mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
  }

  .mobile-menu.show {
    display: block; /* mostra painel quando clicado */
  }

  .sobre-right {
    display:flex;
    align-items: center;
    justify-content: center;
  }

  .container .barra {
    margin: 10px 30px 0 0 ;
  }

  .img-logo {
    width: 150px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%); /* centraliza corretamente */
    top: -15px; /* ajusta distância do topo */
  }

  .top-links {
    display: none;
  }

  .hero-right label, 
  .hero-right input, 
  .hero-right textarea, 
  .contato label, 
  .contato input, 
  .contato textarea {
    width: 95%;
  }
}




