/* Músicas e Vídeos Personalizados — pôster vintage: vermelho, creme e preto (cores da logo) */
:root {
  --laranja: #C9372C;
  --laranja-escuro: #A32A20;
  --amarelo: #E2A93B;
  --coral: #E0533D;
  --ameixa: #1E1B18;
  --creme: #F3E8D2;
  --branco: #FFFFFF;
  --texto-suave: #5C5246;
  --borda: #E2D3B5;
  --fundo-chip: #F1E3C6;
  --verde: #1F9D55;
  --raio: 22px;
  --sombra: 0 6px 24px rgba(30, 27, 24, .07);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--creme);
  color: var(--ameixa);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--laranja-escuro); }
button { font: inherit; }
.oculto { display: none !important; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Topo ---------- */
.topo {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--branco); border-radius: var(--raio);
  padding: 12px 24px; box-shadow: var(--sombra); margin-top: 20px;
}
.topo .logo img { height: 46px; width: auto; }
.topo-info { color: var(--texto-suave); font-weight: 700; display: flex; align-items: center; gap: 8px; }

/* ---------- Botões ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  font-weight: 800; font-size: 18px; padding: 15px 34px; transition: transform .12s, box-shadow .12s, opacity .12s;
}
.botao:active { transform: translateY(1px); }
.botao-principal {
  background: linear-gradient(90deg, var(--laranja), var(--laranja-escuro)); color: var(--branco);
  box-shadow: 0 8px 20px rgba(201, 55, 44, .3);
}
.botao-principal:hover { box-shadow: 0 10px 26px rgba(201, 55, 44, .4); }
.botao-principal:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.botao-secundario { background: #EADFC9; color: var(--ameixa); }
.botao-contorno { background: var(--branco); color: var(--laranja-escuro); border: 2px solid var(--laranja); }
.botao-grande { font-size: 22px; padding: 18px 44px; }
.botao-pequeno { font-size: 15px; padding: 10px 20px; }

/* ---------- Cartões ---------- */
.cartao { background: var(--branco); border-radius: var(--raio); box-shadow: var(--sombra); padding: 28px; }

h1, h2, h3 { line-height: 1.15; font-weight: 900; }
.titulo-pagina { text-align: center; font-size: clamp(26px, 4vw, 42px); margin-top: 26px; }
.subtitulo { text-align: center; color: var(--texto-suave); font-weight: 600; font-size: clamp(16px, 2vw, 19px); margin-top: 8px; }

/* ---------- Progresso ---------- */
.progresso { max-width: 640px; height: 14px; margin: 26px auto 0; background: #E6D9BF; border-radius: 99px; overflow: hidden; }
.progresso span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--amarelo), var(--laranja)); transition: width .3s; }

/* ---------- Chips e opções ---------- */
.opcao {
  font: inherit; font-size: 15px; font-weight: 700; color: var(--ameixa);
  background: var(--creme); border: 2px solid var(--borda); border-radius: 99px;
  padding: 8px 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  transition: background .15s, border-color .15s, color .15s;
}
.opcao:hover { border-color: var(--amarelo); }
.opcao[aria-pressed="true"] { background: var(--laranja); border-color: var(--laranja); color: var(--branco); }
.opcao[aria-pressed="true"]::before { content: "✓"; font-weight: 900; }

.icone {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; flex-shrink: 0;
}
.c-laranja { background: #F6E0D0; } .c-amarelo { background: #F6E7C1; }
.c-coral { background: #F7D9D2; } .c-ameixa { background: #E8DCC4; }

/* ---------- Formulários ---------- */
.campo { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; text-align: left; }
.campo label { font-weight: 800; font-size: 16px; }
.campo .dica { color: var(--texto-suave); font-size: 14px; font-weight: 600; }
.entrada {
  font: inherit; font-size: 18px; font-weight: 700; color: var(--ameixa);
  background: var(--branco); border: 2px solid var(--borda); border-radius: 16px; padding: 14px 18px; width: 100%;
}
.entrada:focus { outline: none; border-color: var(--laranja); box-shadow: 0 0 0 4px rgba(201, 55, 44, .15); }
textarea.entrada { resize: vertical; min-height: 110px; }
.contador { align-self: flex-end; font-size: 13px; color: var(--texto-suave); font-weight: 700; }
.aviso-erro { background: #F7D9D2; color: #8E2318; border-radius: 14px; padding: 12px 16px; font-weight: 700; margin-top: 16px; }

/* ---------- Rodapé ---------- */
.rodape { text-align: center; color: var(--texto-suave); font-size: 14px; font-weight: 600; padding: 36px 16px 28px; }
.rodape a { color: var(--texto-suave); }

/* ---------- Carregando ---------- */
.girando { width: 54px; height: 54px; border-radius: 50%; border: 6px solid #EBD9B8; border-top-color: var(--laranja); animation: girar 1s linear infinite; margin: 0 auto; }
@keyframes girar { to { transform: rotate(360deg); } }

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .topo { padding: 10px 16px; margin-top: 14px; }
  .topo .logo img { height: 34px; }
  .topo-info { font-size: 14px; }
  .cartao { padding: 20px; }
  .botao-grande { font-size: 19px; padding: 16px 30px; }
}

/* ---------- Identidade Músicas e Vídeos Personalizados ---------- */
/* Logo redonda + nome; títulos e botões em letra condensada, como na logo (pôster vintage). */
.topo .logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ameixa); }
.topo .logo img { height: 56px; width: 56px; border-radius: 50%; }
.logo-nome { font-family: 'Oswald', 'Arial Narrow', sans-serif; font-weight: 700; font-size: 17px; line-height: 1.05; text-transform: uppercase; letter-spacing: .02em; }
h1, h2, h3, .titulo-pagina { font-family: 'Oswald', 'Arial Narrow', sans-serif; font-weight: 700; letter-spacing: .01em; }
h1, .titulo-pagina { text-transform: uppercase; }
.botao { font-family: 'Oswald', 'Arial Narrow', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.topo { border: 2px solid var(--ameixa); }
@media (max-width: 640px) {
  .topo .logo img { height: 44px; width: 44px; }
  .logo-nome { font-size: 14px; }
}
/* As ilustrações têm fundo creme claro: "multiply" funde esse fundo com o da página (sem quadrado visível). */
.hero-imagem img, img[src="/img/loja.jpg"] { mix-blend-mode: multiply; }
@media (max-width: 480px) {
  .topo { padding: 10px 12px; gap: 8px; }
  .topo .logo { gap: 8px; min-width: 0; }
  .topo .logo img { height: 38px; width: 38px; }
  .logo-nome { font-size: 12.5px; }
  .topo .botao-pequeno { font-size: 13px; padding: 9px 12px; white-space: nowrap; flex-shrink: 0; }
}
