/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: #f0f8ff;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* Header */
header {
  background-color: #122e57;
  color: #fff;
  padding: 1rem 0;
  overflow: hidden;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

header h1 {
  margin-left: 1rem;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-right: 1rem;
}

nav ul li {
  display: inline-block;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #a2dfb8;
}

/* Menu hamburguer */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  font-size: 1.2rem;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
}

/* Hero */
.hero {
  background: url('./images/WhatsApp\ Image\ 2025-07-29\ at\ 11.43.35.jpeg') no-repeat center center/cover;
  height: 350px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero .hero-content {
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
  text-shadow: 1px 1px 4px #000;
  margin-top: 0;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  margin-top: 0.25rem;
  text-shadow: 1px 1px 4px #000;
  
}

.hero .cta {
  background-color: #004d1a;
  border: none;
  padding: 0.75rem 1.5rem;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  margin-bottom: 1rem;
  
}

.hero .cta:hover {
  background-color: #002d0b;
}

/* Botão WhatsApp na hero */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  background-color: #25D366;
  color: white;
  text-decoration: none;
  font-weight: 700;
  padding: 0.6rem 1rem;
  border-radius: 5px;
  font-size: 1.1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}

.whatsapp-btn:hover {
  background-color: #1ebe57;
}

.whatsapp-btn img {
  width: 24px;
  height: 24px;
  margin-right: 0.6rem;
}

/* Foco visível */
a:focus,
button:focus {
  outline: 2px solid #a2dfb8;
  outline-offset: 2px;
}

/* Serviços */
.services {
  text-align: center;
  margin-bottom: 3rem;
}

.services h2 {
  margin-bottom: 1.5rem;
  color: #007a33;
}

/* Carrossel */
.carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track-container {
  overflow: hidden;
  position: relative;
}

.carousel-track {
  list-style: none;
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  background: #e6f5e7;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  box-shadow: 1px 1px 8px rgba(0,0,0,0.1);
  text-align: center;
}

/* Ajustar o primeiro slide para se moldar melhor à imagem */
.carousel-track .carousel-slide:first-child {
  background: transparent;
  padding: 1rem 1rem;
}

.carousel-slide img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* Garantir que a primeira imagem (Instalação) apareça inteira, sem recorte */
.carousel-track .carousel-slide:first-child img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Aplicar o mesmo ajuste para os demais slides do carrossel */
.carousel-track .carousel-slide:nth-child(2) img,
.carousel-track .carousel-slide:nth-child(3) img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.carousel-slide h3 {
  color: #004d1a;
  margin-bottom: 0.8rem;
}

.carousel-slide p {
  color: #2f4f2f;
}

/* Botões de navegação do carrossel */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 122, 51, 0.7);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 0 12px;
  cursor: pointer;
  border-radius: 0 5px 5px 0;
  z-index: 10;
  user-select: none;
  transition: background-color 0.3s ease;
}

.carousel-btn:hover {
  background-color: rgba(0, 122, 51, 1);
}

.prev-btn {
  left: 0;
  border-radius: 5px 0 0 5px;
}

.next-btn {
  right: 0;
  border-radius: 0 5px 5px 0;
}

/* Sobre */
.about {
  margin-bottom: 3rem;
  background: #dff0d8;
  padding: 2rem;
  border-radius: 10px;
  color: #204d14;
}

/* Contato - formulário */
.contact {
  background: #e8f5e9;
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact h2 {
  color: #007a33;
  margin-bottom: 1rem;
  text-align: center;
}

form label {
  display: block;
  margin: 0.7rem 0 0.25rem;
  font-weight: 600;
  font-size: 1rem;
}

input[type="number"],
input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  resize: vertical;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input[type="number"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
  border-color: #007a33;
  outline: none;
}

button[type="submit"] {
  margin-top: 1.5rem;
  background-color: #007a33;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  display: block;
  width: 100%;
}

button[type="submit"]:hover {
  background-color: #004d1a;
}

.contact .consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

#form-status {
  margin-top: 0.75rem;
  font-size: 0.95rem;
}
.status-success { color: #136f33; }
.status-error { color: #b00020; }

/* Atendimento Comercial */
.atendimento {
  background: #e8f5e9;
  padding: 2rem 1rem;
  border-radius: 10px;
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.atendimento h2 {
  color: #007a33;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Container dos atendentes */
.sales-team {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Perfil do atendente */
.attendant-profile {
  background: #dff0d8;
  border-radius: 10px;
  padding: 1rem 1.5rem;
  box-shadow: 1px 1px 8px rgba(0,0,0,0.1);
  width: 250px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.attendant-profile img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid #007a33;
}

.attendant-profile h3 {
  margin-bottom: 1rem;
  color: #004d1a;
}

/* Botão whatsapp contato atendente */
.whatsapp-contact-btn {
  background-color: #25D366;
  color: white;
  text-decoration: none;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
  transition: background-color 0.3s ease;
  display: inline-block;
  width: 100%;
  text-align: center;
}

.whatsapp-contact-btn:hover {
  background-color: #1ebe57;
}

/* Footer */
footer {
  background-color: #122e57;
  color: #c7d9c0;
  text-align: center;
  padding: 1rem 0;
}

/* Responsividade */
@media(max-width: 768px) {
  .menu-toggle { display: inline-block; }
  #primary-nav { display: none; }
  #primary-nav.open { display: block; }
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin: 0.75rem 0 0;
  }

  .carousel-btn {
    font-size: 1.8rem;
    padding: 0 10px;
  }

  .sales-team {
    flex-direction: column;
    align-items: center;
  }

  .attendant-profile {
    width: 90%;
    max-width: 320px;
  }

  .contact {
    width: 90%;
  }
}

@media(max-width: 480px) {
  .carousel-slide h3 {
    font-size: 1.2rem;
  }
  .carousel-slide p {
    font-size: 0.9rem;
  }
}
