/* ============================================
   gerador.css — Página do Gerador de Nomes
   ============================================ */

:root {
  --blue-50: #e8f0fe;
  --blue-100: #c5d8fd;
  --blue-400: #4285f4;
  --blue-600: #1a73e8;
  --blue-700: #1557b0;
  --blue-900: #0d2b6b;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f4;
  --gray-200: #e8eaed;
  --gray-500: #5f6368;
  --gray-700: #3c4043;
  --gray-900: #202124;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'Google Sans', 'Segoe UI', Arial, sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--gray-900);
}

a {
  text-decoration: none;
  color: inherit;
}

.gerador-page {
  min-height: 100vh;
}

/* ─── HERO ─────────────────────────────────── */
.gerador-hero {
  background: linear-gradient(135deg, #1a73e8 0%, #0d2b6b 100%);
  min-height: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.gerador-hero::before {
  content: '';
  position: absolute;
  top: -140px;
  right: -100px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}
.gerador-hero::after {
  content: '';
  position: absolute;
  bottom: -90px;
  left: 10%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.gerador-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gerador-badge {
  display: inline-flex;
  align-items: center;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.gerador-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

.gerador-hero p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

/* ─── SECTIONS ──────────────────────────────── */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.section-sub {
  font-size: 0.975rem;
  color: var(--gray-500);
  max-width: 520px;
  line-height: 1.75;
}

/* ─── FORM ──────────────────────────────────── */
.gerador-form {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}

.gerador-form:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 115, 232, 0.1);
  border-color: var(--blue-100);
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--gray-700);
}

input,
select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font);
}

.row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: var(--blue-700);
}

/* ─── RESULTADO ─────────────────────────────── */
.resultado {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.nome {
  padding: 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  font-weight: 600;
}

.nome:hover {
  background: var(--blue-50);
  border-color: var(--blue-100);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 115, 232, 0.1);
}
