/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* VARIÁVEIS DE CORES */
:root {
  --verde: #4EC723;
  --azul-escuro: #0E2E50;
  --cinza-claro: #f5f5f5;
  --texto-escuro: #222;
  --branco: #fff;
}

/* CONTAINER CENTRALIZADO */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* LINKS */
a {
  color: var(--verde);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #3b9e1a;
}

/* HEADER */
header {
  background-color: var(--azul-escuro);
  padding: 1rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 50px;
}

/* NAV DESKTOP */
.desktop-nav ul {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}

nav ul li a {
  color: var(--branco);
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 4px;
}

nav ul li a:hover,
nav ul li a.active {
  background-color: var(--verde);
  color: var(--branco);
}

/* BANNER (HERO) */
.banner {
  background: url('img/banner.jpg') no-repeat center center/cover;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--branco);
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.banner-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.banner-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  line-height: 1.4;
}

/* SEÇÕES */
.section {
  padding: 4rem 0;
  color: var(--texto-escuro);
  background-color: var(--cinza-claro);
}

.section h2 {
  color: var(--azul-escuro);
  font-size: 2.4rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* CARDS DE SERVIÇOS */
.cards {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

.card {
  background: var(--branco);
  padding: 2rem;
  border-radius: 10px;
  flex: 1 1 280px;
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  color: var(--verde);
  margin-bottom: 1rem;
}

/* RODAPÉ */
footer {
  background-color: var(--azul-escuro);
  padding: 1.5rem 0;
  color: var(--branco);
  text-align: center;
}

footer p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

/* ÍCONES DE REDES SOCIAIS */
.social-icons {
  margin-top: 8px;
}

.social-icons a {
  margin: 0 8px;
  color: var(--branco);
  font-size: 1.4rem;
  display: inline-block;
  transition: transform 0.2s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
  color: var(--verde);
}

/* MENU MOBILE */
.menu-toggle {
  background: none;
  border: none;
  color: var(--branco);
  font-size: 1.8rem;
  cursor: pointer;
  display: none;
}

.mobile-nav {
  display: none;
}

.mobile-nav.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  background-color: var(--azul-escuro);
  padding: 1rem 0;
  z-index: 99;
}

.mobile-nav ul {
  list-style: none;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  display: flex;
}

.mobile-nav ul li a {
  color: var(--branco);
  font-weight: 600;
  font-size: 1.2rem;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
  }
}

@media (max-width: 480px) {
  header {
    padding: 1rem 10px;
  }

  .logo {
    height: 40px;
  }

  .section h2 {
    font-size: 1.8rem;
  }

  .banner {
    height: 300px;
  }

  .banner-content h1 {
    font-size: 2rem;
  }

  .banner-content p {
    font-size: 1rem;
  }
}
/* Esconde o menu mobile no desktop */
.mobile-nav {
  display: none;
}

/* Mostra o menu mobile apenas no mobile */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-nav {
    display: none;
  }

  .mobile-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--azul-escuro);
    padding: 1rem 0;
    z-index: 99;
  }

  .mobile-nav ul {
    list-style: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    display: flex;
  }

  .mobile-nav ul li a {
    color: var(--branco);
    font-weight: 600;
    font-size: 1.2rem;
  }
}

.section.contato {
  padding: 4rem 0;
  background-color: var(--cinza-claro);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.form-grid .form,
.form-grid .info {
  background: var(--branco);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.form input,
.form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form .btn {
  background-color: var(--azul-principal);
  color: var(--branco);
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 600;
}

.info h3 {
  margin-bottom: 1rem;
  color: var(--azul-principal);
}

.info p {
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

/* Responsivo */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.enviar-btn {
   background-color: var(--verde);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  width: 100%;
  transition: background 0.3s;
}

.enviar-btn:hover {
  background-color: #004488;
}
.card-img {
  width: 100%;
  height: 200px; /* altura fixa */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}