:root {
  --primary: #5bb3f1;
  --secondary: #9270ff;
  --text: #1f2937;
  --bg: #f9fafb;
  --font: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}


header {
  background: white;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 140px; /* altura fixa do header */
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

header img {
  height: 120px; /* ocupa 85% da altura */
  display: block;
  object-fit: contain;
  margin: 0;
  padding: 0;
}

nav {
  display: flex;
  align-items: center;
  height: 100%;
}

nav a {
  margin-left: 2rem;
  text-decoration: none;
  color: var(--text, #1f2937);
  font-weight: 600;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
  transition: color 0.2s, border-bottom 0.2s;
  border-bottom: 3px solid transparent;
}

nav a:hover {
  color: var(--primary, #5bb3f1);
  border-bottom: 3px solid var(--primary, #5bb3f1);
}

.hero {
  text-align: center;
  padding: 5rem 2rem 4rem;
  background: linear-gradient(135deg, #5bb3f1, #9270ff);
  color: white;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.header-pagina h1 {
      text-align: center;
      margin-bottom: 2rem;
      color: var(--text);
    }

.hero p {
  font-size: 1.3rem;
  max-width: 720px;
  margin: 0 auto;
}

.section {
  padding: 4rem 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  color: var(--primary);
  border-left: 4px solid var(--secondary);
  padding-left: 0.5rem;
}

.section p {
  font-size: 1.15rem;
  margin-bottom: 1.2rem;
}

.imagem-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  display: flex;
  justify-content: center;
}

.imagem-section img {
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.form-section {
  background: #ffffff;
  padding: 3rem 2rem;
  max-width: 720px;
  margin: 0 auto 4rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.form-section h2 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.form-section form {
  display: grid;
  gap: 1rem;
}

.form-section input,
.form-section textarea {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.form-section button {
  background: var(--primary);
  color: white;
  padding: 0.8rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

.form-section button:hover {
  background: var(--secondary);
}

.footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.95rem;
  color: #666;
  background: #fff;
  border-top: 1px solid #e5e7eb;
}

/* Sugestão de endereço */
#sugestoes {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #fff;
  border: 1px solid #ccc;
  max-height: 150px;
  overflow-y: auto;
  position: absolute;
  z-index: 10;
  display: none;
}

#sugestoes li {
  padding: 0.5rem;
  cursor: pointer;
}

#sugestoes li:hover {
  background: #f0f0f0;
}

.logo {
  text-align: center;
  margin-bottom: 2rem;
}

.logo img {
  max-width: 180px;
  height: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.2s;
}

.card:hover {
  transform: scale(1.02);
}

.card a {
  color: var(--primary);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
}

.card a:hover {
  color: var(--secondary);
}

.footer {
  background-color: #f3f4f6;
  color: #4b5563;
  padding: 2rem;
  font-size: 0.95rem;
  text-align: center;
  border-top: 1px solid #e5e7eb;
}

.footer-content p {
  margin: 0.4rem 0;
}

.checkboxes {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 1rem;
      margin-top: 1.5rem;
    }

.checkbox-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.checkbox-item input[type="checkbox"] {
  transform: scale(1.2);
}

.checkbox-item a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  margin-left: 1rem;
  flex: 1;
  text-align: right;
}

.checkbox-item a:hover {
  text-decoration: underline;
}

.apikey-hint {
  font-size: 0.9rem;
  margin-top: 0.2rem;
  margin-bottom: 1rem;
}
