/* Interesse em aulas de instrumento — parceria Igreja Videira Lisboa + Os Músicos */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Sora:wght@600;700&display=swap');

:root {
  --bg: #faf8fc;
  --ink: #1b1625;
  --ink-muted: #6b6373;
  --linha: rgba(93, 38, 123, 0.14);
  --roxo: #5d267b;
  --roxo-suave: #766387;
  --turquesa: #1f8983;
  --turquesa-decor: #43bab6;
  --amarelo: #e9b220;
  --erro: #b3261e;
  --raio: 12px;
}

* { box-sizing: border-box; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.pagina {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 20px 56px;
}

/* ---------- Cabeçalho: lockup das duas marcas ---------- */

.marcas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 10px;
}

.marcas img { height: 42px; width: auto; display: block; }
.marcas .osmusicos-icone { height: 38px; }

.marcas .separador {
  width: 1px;
  height: 28px;
  background: var(--linha);
}

.parceria-legenda {
  text-align: center;
  color: var(--ink-muted);
  font-size: 13px;
  margin: 0 0 36px;
}

/* ---------- Hero ---------- */

.hero { margin-bottom: 32px; }

.pauta {
  display: block;
  width: 110px;
  height: 28px;
  margin-bottom: 16px;
}

.pauta line { stroke: var(--roxo); stroke-width: 1.6; opacity: 0.35; }

.hero h1 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 6vw, 36px);
  line-height: 1.18;
  margin: 0 0 12px;
}

.hero p {
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  max-width: 46ch;
}

/* ---------- Formulário ---------- */

form { display: block; }

.secao {
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--linha);
}

.secao h2 {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
}

.secao .secao-nota {
  color: var(--ink-muted);
  font-size: 14px;
  margin: 0 0 16px;
}

.campo { margin-bottom: 16px; }

.campo label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.linha-dupla {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 14px;
}

input[type="text"],
input[type="number"],
input[type="tel"],
input[type="email"],
select {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--linha);
  border-radius: var(--raio);
  padding: 12px 14px;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%236b6373' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--turquesa);
  box-shadow: 0 0 0 3px rgba(31, 137, 131, 0.15);
}

.campo-outro { margin-top: 10px; display: none; }
.campo-outro.visivel { display: block; }

/* ---------- Grelha de horários ---------- */

.dia-linha { margin-bottom: 14px; }

.dia-nome {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.blocos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  position: relative;
}

.chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.chip span {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--linha);
  font-size: 13px;
  color: var(--ink-muted);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  user-select: none;
}

.chip input:checked + span {
  background: var(--turquesa);
  border-color: var(--turquesa);
  color: #fff;
}

.chip input:focus-visible + span {
  outline: 2px solid var(--roxo);
  outline-offset: 2px;
}

/* ---------- Ações ---------- */

.erro {
  display: none;
  align-items: flex-start;
  gap: 8px;
  background: rgba(179, 38, 30, 0.07);
  border-left: 3px solid var(--erro);
  color: var(--erro);
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 6px;
  margin-top: 20px;
}

.erro.visivel { display: flex; }

.botao-submeter {
  display: block;
  width: 100%;
  margin-top: 28px;
  padding: 15px 20px;
  border: none;
  border-radius: 999px;
  background: var(--turquesa);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.botao-submeter:hover { background: #1a7973; }
.botao-submeter:active { transform: scale(0.99); }
.botao-submeter:disabled { opacity: 0.6; cursor: default; }

.botao-submeter:focus-visible {
  outline: 2px solid var(--roxo);
  outline-offset: 2px;
}

.legal {
  text-align: center;
  color: var(--ink-muted);
  font-size: 12px;
  margin-top: 16px;
}

/* honeypot */
.campo-armadilha {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Confirmação ---------- */

.confirmacao {
  display: none;
  text-align: center;
  padding: 40px 12px 8px;
}

.confirmacao.visivel { display: block; }

.confirmacao .nota-musical {
  width: 40px;
  height: 40px;
  margin: 0 auto 18px;
}

.confirmacao h2 {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  margin: 0 0 10px;
}

.confirmacao p {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 42ch;
  margin: 0 auto;
}

/* ---------- Rodapé ---------- */

.rodape {
  text-align: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--linha);
}

.rodape img {
  height: 34px;
  width: auto;
  margin-bottom: 12px;
}

.rodape p {
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.6;
  max-width: 40ch;
  margin: 0 auto;
}
