/* Reset e Configurações Globais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Variáveis CSS - Fácil customização */
:root {
  --primary-color: #4a4a4a;     /* Cinza escuro neutro para destaques */
  --secondary-color: #a0a0a0;   /* Cinza médio para detalhes */
  --text-dark: #1f1f1f;         /* Quase preto, para melhor legibilidade */
  --text-light: #6c6c6c;        /* Texto secundário */
  --white: #ffffff;             /* Branco puro */
  --bg-light: #f4f4f4;          /* Cinza bem claro, usado como fundo */
}

/* Estilos Base */
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

/* ===== HEADER ===== */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1700px;
  margin: 0 auto;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;

}

.nav-links {
  display: flex;
  list-style: none;
  gap: 3rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary-color);
  opacity: 0.5;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
  background-color:var(--secondary-color);
  padding: 4rem 1rem;
  display: flex;
  justify-content: center;
}

.hero-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10rem;
  max-width: 1200px;
  flex-wrap: wrap;
  /* Para mobile responsivo */
  justify-content: center;
  margin-top: 75px;
}

.hero-image-left img {
  width: 250px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 5px 15px var(--bg-light);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 500px;
  text-align: center;
}

.hero-content img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.hero h2 {
  font-size: 1.5rem;
  color: var(--bg-light);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.cta-button {
  background-color:var(--text-light);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 25px;
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: var(--primary-color);
}


/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SERVICES SECTION ===== */
.services {
  padding: 80px 5%;
  background: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--secondary-color);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.548);
}

.service-icon {
  font-size: 3rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.service-card p {
  color: var(--text-dark);
  line-height: 1.8;
}

/* =====  gallery Section ===== */
.gallery {
  padding: 4rem 1rem;
  background-color: var(--secondary-color);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.548);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}


/* ===== Contato ===== */
.contato-section {
  background-color: var(--white);
  padding: 4rem 2rem;
}

.contato-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
}

.info-contato {
  flex: 1;
  min-width: 250px;
  display: grid;
  justify-items: center;
  margin: auto;
  font-size: 20px;
}

.info-contato span {
  display: block;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.info-contato p {
  text-align: center;
  margin: 20px 0;
  color: var(--primary-color);
  font-weight: bold;
}

.form-contato {
  flex: 1;
  min-width: 300px;
  background-color: var(--secondary-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-contato form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-contato input,
.form-contato select,
.form-contato button {
  padding: 0.75rem;
  border-radius: 5px;
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid var(--secondary-color);
  resize: vertical;
  font-size: 1rem;
  font-family: inherit;
  background-color: var(--white);
  color: var(--text-dark);
  margin-bottom: 15px;
}


.form-contato button {
  background-color:var(--primary-color);
  color:var(--white);
  border: none;
  cursor: pointer;
}

.form-contato button:hover {
  background-color: var(--text-light);
}

/* ===== FOOTER ===== */
footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 40px 5%;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.3rem;
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-3px);
}

#button-footer-whatsapp {  /*botâo some em telas Desktop */
  
  display: none;
}

/* -- localizacao -- */
#localizacao {
  padding: 40px 20px;
  background-color: #f7f7f7;
  text-align: center;
}

#localizacao h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #333;
}

#localizacao p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #666;
}

.mapa iframe {
  width: 100%;
  max-width: 800px;
  height: 400px;
  border-radius: 10px;
  border: none;
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: all 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #128c7e;
}




/* ===== RESPONSIVIDADE MOBILE ===== */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    right: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-links.active {
    right: 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero-container {
    display: flex;
    gap: 5rem;
    padding: 0 2rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .cta-content {
    padding: 0 20px;
  }

  .whatsapp-button {
    padding: 15px 30px;
    font-size: 1rem;
  }

  .contact-info {
    gap: 2rem;
  }

  .info-item {
    font-size: 0.9rem;
  }

  #button-footer-whatsapp { /*Botão some em telas Mobile*/
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.3rem;
    transition: all 0.3s;
  }

  #button-footer-whatsapp:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
  }

  .whatsapp-float {
    display: none;
  }
}