/* ============================================
   APP LIPOMONSTER - identidade visual
   Rosa #FF3E8E · Fundo escuro · Dourado #C9B96A
   ============================================ */

:root {
  --rosa: #FF3E8E;
  --rosa-escuro: #B3235F;
  --rosa-claro: #FFD6E7;
  --dourado: #C9B96A;
  --fundo: #16121C;
  --card: #211B2B;
  --card-borda: #3A3245;
  --texto: #FFFFFF;
  --texto-suave: #B8AFC4;
  --texto-fraco: #8E8598;
  --verde: #6FCF97;
  --raio: 14px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--fundo);
  color: var(--texto);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  min-height: 100dvh;
}

.topo-gota { line-height: 0; }

.tela {
  max-width: 460px;
  margin: 0 auto;
  padding: 20px 20px 96px;
}

h1, h2, h3, .marca {
  font-family: 'Baloo 2', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 26px; }
h2 { font-size: 20px; }

.marca { font-size: 24px; color: var(--texto); }
.marca span { color: var(--rosa); }

.subtitulo { color: var(--dourado); font-size: 14px; margin-top: 2px; }

.centro { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }

/* ---------- Formularios ---------- */
.campo { margin-bottom: 14px; }

.campo label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--texto-suave);
  margin-bottom: 6px;
}

input[type="text"], input[type="email"], input[type="password"],
input[type="tel"], input[type="number"], select {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--card-borda);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--texto);
  outline: none;
  transition: border-color .15s;
}

input:focus, select:focus { border-color: var(--rosa); }

input::placeholder { color: var(--texto-fraco); }

.botao {
  display: block;
  width: 100%;
  background: var(--rosa);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 15px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: filter .15s, transform .1s;
}

.botao:active { transform: scale(.98); }
.botao:hover { filter: brightness(1.08); }

.botao-contorno {
  background: transparent;
  border: 1.5px solid var(--rosa);
  color: var(--rosa);
}

.botao-dourado { background: transparent; border: 1.5px solid var(--dourado); color: var(--dourado); }

.link { color: var(--rosa); text-decoration: none; font-weight: 500; }

.consentimento {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--texto-fraco);
  margin: 14px 0;
  line-height: 1.5;
}

.consentimento input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--rosa); flex-shrink: 0; }

.erro {
  background: rgba(255, 62, 142, .12);
  border: 1px solid var(--rosa);
  color: var(--rosa-claro);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 14px;
}

.ok {
  background: rgba(111, 207, 151, .1);
  border: 1px solid var(--verde);
  color: var(--verde);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 14px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--card-borda);
  border-radius: var(--raio);
  padding: 16px;
  margin-bottom: 14px;
}

.card-rosa { background: var(--rosa); border: none; }
.card-rosa .rotulo { color: var(--rosa-claro); }
.card-rosa h2, .card-rosa p { color: #fff; }

.card-oferta { border: 1px solid var(--dourado); }

.rotulo { font-size: 12.5px; color: var(--texto-fraco); }

.valor { font-size: 22px; font-weight: 600; }

.grade-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #2A2118;
  border: 1px solid var(--dourado);
  color: var(--dourado);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 500;
}

/* ---------- Anamnese / quiz ---------- */
.pergunta-opcoes { display: flex; flex-direction: column; gap: 10px; }

.opcao {
  display: block;
  background: var(--card);
  border: 1px solid var(--card-borda);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--texto);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}

.opcao:has(input:checked) { border-color: var(--rosa); background: rgba(255, 62, 142, .1); }

.opcao input { display: none; }

.progresso-quiz {
  height: 6px;
  background: var(--card);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 20px;
}

.progresso-quiz > div { height: 100%; background: var(--rosa); border-radius: 999px; transition: width .3s; }

/* ---------- Check-in ---------- */
.opcoes-linha { display: flex; gap: 8px; flex-wrap: wrap; }

.opcao-mini {
  flex: 1;
  min-width: 70px;
  text-align: center;
  background: var(--fundo);
  border: 1px solid var(--card-borda);
  border-radius: 10px;
  padding: 10px 6px;
  font-size: 13px;
  cursor: pointer;
  color: var(--texto-suave);
}

.opcao-mini:has(input:checked) { border-color: var(--rosa); color: var(--texto); background: rgba(255, 62, 142, .12); }

.opcao-mini input { display: none; }

/* ---------- Navegacao inferior ---------- */
.barra-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(22, 18, 28, .96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--card-borda);
  display: flex;
  justify-content: space-around;
  padding: 8px 0 max(10px, env(safe-area-inset-bottom));
  z-index: 10;
}

.barra-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--texto-fraco);
  text-decoration: none;
  font-size: 11px;
  min-width: 72px;
}

.barra-nav a.ativo { color: var(--rosa); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
