:root {
  --primary: #0747d6;
  --text: #222222;
  --bg-light: #f4f3fa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  position: relative;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background-color: var(--bg-light);
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/pipa.png") no-repeat left center;
  background-size: 1000px auto;
  opacity: 0.2;
  pointer-events: none;
  z-index: -1;
}

a {
  text-decoration: none;
}

input[type="checkbox"] {
  accent-color: var(--primary);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-container h1 {
  width: 70%;
  font: bold;
  font-size: clamp(1rem, 5vw, 1.2rem);
  margin-bottom: 2rem;
}
/* Header */
.header {
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem 0;
  background: transparent;
  z-index: 10;
}

.nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

/* Hero */
.hero {
  display: flex;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 2rem 0;
}

.hero img {
  display: flex;
}

.image-logo {
  width: 250px;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero-subtitle {
  font-size: clamp(0.8rem, 5vw, 1.125rem);
  margin-bottom: 2rem;
  opacity: 0.8;
}

/* Formulário */
.form {
  margin: auto;
  width: 100%;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.8);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}
.form-group label {
  display: block;
  font-weight: 600;
}

.form img {
  max-width: 200px;
  margin-bottom: 2rem;
}

.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  background: #fff;
  appearance: none; /* remove seta padrão em alguns navegadores */
}

/* Se quiser uma seta customizada, pode adicionar um ícone via background-image */

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}
.form-group.checkbox {
  display: flex;
}
.form-group.checkbox input {
  width: auto;
  margin-right: 0.5rem;
}
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  width: 100%;
}

/* Shapes vetoriais */
.shape {
  position: absolute;
  pointer-events: none;
}
.shape--1 {
  top: 10%;
  left: -5%;
  width: 200px;
}
.shape--2 {
  bottom: 5%;
  right: -5%;
  width: 250px;
}

.eye-control {
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1.2rem;
  color: #666;
  z-index: 10;
  pointer-events: auto;
}

.form-group.position-relative {
  position: relative;
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  padding-right: 3rem; /* Adiciona espaço para o ícone */
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.eye-control {
  position: absolute;
  top: 70%;
  right: 1rem; /* Alinha o ícone à direita */
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1.2rem;
  color: #666;
  z-index: 10;
  pointer-events: auto;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(0, 0, 0, 0.55);
  padding: 16px;
  z-index: 9999;
}
.modal-overlay.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
}
.modal-close {
  border: none;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}
.modal-body {
  padding: 16px;
}
.modal-subtitle {
  margin: 0 0 12px 0;
  color: #444;
  font-size: 14px;
}
#whatsappModalInput {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 2px solid #25d366;
  outline: none;
  margin-bottom: 12px;
  font-size: 16px;
}
.btn--whatsapp {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 12px;
}
.modal-actions {
  padding: 16px;
  border-top: 1px solid #eee;
}
