/* =======================
   RESET E BODY
======================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  padding-top: 110px;
  /* espaço suficiente para o cabeçalho fixo */
  background: #f5f5f5;
}

/* =======================
   CABEÇALHO
======================= */
.header {
  background-color: #e6ebf0;
  padding: 20px 30px;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 50px;
  width: auto;
}

/* =======================
   MENU
======================= */
.nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  padding: 10px 12px;
  transition: color 0.3s;
}

.nav ul li a:hover {
  color: #d5006d;
}

/* =======================
   REDES SOCIAIS
======================= */
.social-icons a {
  display: inline-block;
  margin-left: 6px;
}

.social-icons a svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  transition: transform 0.2s, fill 0.2s;
  fill: #333;
}

.social-icons a:hover svg {
  transform: scale(1.1);
  fill: #d5006d;
}

/* =======================
   MENU HAMBURGUER
======================= */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger {
  width: 25px;
  height: 2px;
  background-color: #333;
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 2px;
  background-color: #333;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

/* =======================
   FORMULÁRIO
======================= */
.form-container {
  width: 95%;
  max-width: 700px;
  margin: 40px auto 80px auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.form-container h1 {
  text-align: center;
  color: #00c853;
  margin-bottom: 30px;
}

.form-container input[type=text],
.form-container input[type=email],
.form-container input[type=tel] {
  width: 100%;
  padding: 12px;
  margin: 8px 0 20px 0;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  box-sizing: border-box;
  background-color: #fff !important;
  color: #333 !important;
}

label {
  font-weight: 500;
}

.checkbox-container {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.checkbox-container input {
  margin-right: 10px;
}

.checkbox-container a {
  color: #00c853;
  text-decoration: underline;
  cursor: pointer;
}

button {
  width: 100%;
  padding: 14px;
  background-color: #00c853;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background-color: #00a844;
}

/* Ajuste para autofill do Chrome */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: #333 !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* =======================
   MENU MOBILE
======================= */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  .menu-toggle .hamburger,
  .menu-toggle .hamburger::before,
  .menu-toggle .hamburger::after {
    content: '';
    display: block;
    width: 28px;
    height: 3px;
    background-color: #333;
    margin: 6px 0;
    border-radius: 2px;
    transition: 0.3s ease;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1000;
  }

  .nav.open {
    right: 0;
  }

  .nav ul {
    flex-direction: column;
    gap: 25px;
    text-align: center;
    padding: 0;
  }

  .nav ul li a {
    font-size: 1.2rem;
    padding: 10px 0;
  }

  .nav ul li.social-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 25px;
  }

  .nav ul li.social-icons svg {
    width: 28px;
    height: 28px;
    fill: #333;
    transition: fill 0.3s;
  }

  .nav ul li.social-icons svg:hover {
    fill: #00c67e;
  }
}

/* =======================
   MODAL TERMOS DE SERVIÇO
======================= */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 80px auto;
  padding: 30px;
  border-radius: 12px;
  max-width: 600px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-content h2 {
  margin-bottom: 20px;
  color: #222;
}

.modal-content p {
  margin-bottom: 15px;
  color: #555;
  line-height: 1.5;
}

.modal .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.modal .close:hover {
  color: #000;
}

/* =======================
   ANIMAÇÃO
======================= */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =======================
   PARÁGRAFO DE INSTRUÇÃO
======================= */
.form-container p.intro {
  color: #555;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.6;
}