/* Balladz — site oficial. Cores e letras iguais às do app. */
:root {
  --noite: #140b3a;
  --noite-2: #21125e;
  --azul: #3f6bff;
  --roxo: #7a3cff;
  --rosa: #ff3d7f;
  --amarelo: #ffd23f;
  --papel: #f6f4ff;
  --tinta: #16123a;
  --cinza: #5d5a7a;
  --linha: #e3def7;
  --neon: linear-gradient(90deg, #22d3ff, #7a3cff 55%, #ff3dd8);
  --titulo: 'Sora', system-ui, sans-serif;
  --texto: 'Plus Jakarta Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--texto);
  font-size: 17px;
  line-height: 1.6;
  color: #fff;
  background: var(--noite);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 3px; border-radius: 6px; }

.miolo { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---------- Topo ---------- */
.topo { position: sticky; top: 0; z-index: 10; background: rgba(20, 11, 58, .82); backdrop-filter: blur(12px); }
.topo .miolo { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--titulo); font-weight: 800; font-size: 22px; letter-spacing: -.5px; }
.marca img { width: 40px; height: auto; }
.menu { display: flex; align-items: center; gap: 22px; font-weight: 700; font-size: 15px; }
.menu a { text-decoration: none; opacity: .85; }
.menu a:hover { opacity: 1; }
.menu .baixar { opacity: 1; padding: 9px 16px; border-radius: 999px; background: #fff; color: var(--noite); }
@media (max-width: 720px) { .menu a:not(.baixar) { display: none; } }

/* ---------- Abertura ---------- */
.abertura { position: relative; overflow: hidden; padding: 56px 0 72px; }
.abertura::before {
  content: '';
  position: absolute; inset: 0;
  background: url('img/noite.webp') center/cover;
  opacity: .18;
}
.abertura::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(60% 70% at 85% 30%, rgba(122, 60, 255, .55), transparent 70%),
              linear-gradient(180deg, transparent 60%, var(--noite));
}
.abertura .miolo { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .abertura .miolo { grid-template-columns: 1fr; } }
.cidade { font-weight: 700; font-size: 15px; color: rgba(255, 255, 255, .75); margin: 0 0 18px; }
.abertura h1 {
  font-family: var(--titulo);
  font-weight: 800;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 0;
}
.role { display: block; min-height: 2.06em; }
.role span {
  display: inline;
  background-image: var(--neon);
  background-size: 100% .12em;
  background-repeat: no-repeat;
  background-position: 0 96%;
  padding-bottom: .06em;
  transition: opacity .35s ease, transform .35s ease;
}
.role span.saindo { opacity: 0; transform: translateY(-.25em); }
.abertura .sub { font-size: clamp(17px, 2vw, 20px); color: rgba(255, 255, 255, .85); max-width: 34ch; margin: 22px 0 30px; }

.lojas { display: flex; flex-wrap: wrap; gap: 12px; }
.loja {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 20px 12px 16px; border-radius: 16px;
  background: #fff; color: var(--noite); text-decoration: none;
  font-weight: 800; line-height: 1.15;
}
.loja small { display: block; font-weight: 600; font-size: 12px; color: var(--cinza); }
.loja svg { width: 26px; height: 26px; flex: none; }
.loja.embreve { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35); }
.loja.embreve small { color: rgba(255, 255, 255, .7); }

/* Celular de mostruário: moldura, ilha da câmera, barra de status e botões laterais. */
.celular {
  --tela: #f6f4ff;
  --tinta-status: #16123a;
  position: relative;
  justify-self: center;
  width: min(310px, 78vw);
  padding: 11px;
  border-radius: 54px;
  background: linear-gradient(145deg, #3a3560, #0f0c26 40%, #1d1940);
  box-shadow: 0 0 0 1.5px #57527f, -18px 44px 90px rgba(122, 60, 255, .55), inset 0 0 0 2px #0a081c;
}
.celular::before, .celular::after {
  content: '';
  position: absolute;
  width: 4px;
  border-radius: 4px;
  background: #3a3560;
}
.celular::before { left: -4px; top: 118px; height: 34px; box-shadow: 0 52px 0 0 #3a3560, 0 104px 0 0 #3a3560; }
.celular::after { right: -4px; top: 170px; height: 72px; }
.tela { position: relative; overflow: hidden; border-radius: 43px; background: var(--tela); }
.status {
  display: flex; justify-content: space-between; align-items: center;
  height: 42px; padding: 6px 28px 0 30px;
  font-family: var(--texto); font-weight: 800; font-size: 14px;
  color: var(--tinta-status);
}
.status i { display: flex; gap: 5px; align-items: center; font-style: normal; }
.status i::before { content: ''; width: 17px; height: 11px; background: currentColor; clip-path: polygon(0 100%, 22% 100%, 22% 70%, 0 70%, 0 100%, 26% 100%, 26% 0, 48% 0, 48% 100%, 52% 100%, 52% 35%, 74% 35%, 74% 100%, 78% 100%, 78% 55%, 100% 55%, 100% 100%); opacity: .9; }
.status i::after { content: ''; width: 24px; height: 11px; border-radius: 3px; border: 1.5px solid currentColor; background: linear-gradient(90deg, currentColor 70%, transparent 70%) content-box; padding: 1.5px; box-sizing: border-box; }
.ilha { position: absolute; z-index: 1; top: 10px; left: 50%; transform: translateX(-50%); width: 32%; height: 26px; border-radius: 20px; background: #050410; }
.tela img { width: 100%; height: auto; aspect-ratio: 460 / 760; object-fit: cover; object-position: top; }
.celular.pequeno .tela img { aspect-ratio: 460 / 900; }
.celular.escuro { --tela: #1f1448; --tinta-status: #fff; }
/* Inclinado, como se estivesse na mão: dá movimento sem animar. */
.abertura .celular { transform: perspective(1400px) rotateY(-14deg) rotateX(4deg) rotate(6deg); }
.celular.pequeno { transform: perspective(1400px) rotateY(12deg) rotate(-4deg); }
@media (max-width: 860px) {
  .abertura .celular { width: min(230px, 62vw); margin-top: 8px; border-radius: 44px; padding: 9px; }
  .abertura .celular .tela { border-radius: 36px; }
  .abertura .celular .status { padding: 5px 20px 0 22px; font-size: 12px; height: 38px; }
  .abertura .celular .ilha { height: 22px; top: 9px; }
}

/* ---------- Seções ---------- */
.secao { padding: 84px 0; }
.secao h2 { font-family: var(--titulo); font-weight: 800; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 14px; max-width: 20ch; }
.secao .lead { color: rgba(255, 255, 255, .78); max-width: 52ch; margin: 0 0 44px; }

.passos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: passo; }
@media (max-width: 980px) { .passos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .passos { grid-template-columns: 1fr; } .passos figure { max-width: 300px; } }
.passos li { counter-increment: passo; }
.passos figure { margin: 0 0 18px; border-radius: 26px; overflow: hidden; background: #fff; padding: 6px; }
.passos figure img { border-radius: 21px; aspect-ratio: 460 / 700; height: auto; object-fit: cover; object-position: top; width: 100%; }
.passos h3 { font-family: var(--titulo); font-size: 21px; letter-spacing: -.02em; margin: 0 0 6px; display: flex; gap: 10px; align-items: baseline; }
.passos h3::before { content: counter(passo); font-size: 15px; width: 28px; height: 28px; flex: none; display: inline-grid; place-items: center; border-radius: 50%; background: var(--amarelo); color: var(--noite); transform: translateY(-2px); }
.passos p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 16px; }

.faixa { background: var(--noite-2); }
.duas { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .duas { grid-template-columns: 1fr; gap: 36px; } }
.lista { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.lista li { padding-left: 34px; position: relative; }
.lista li::before { content: ''; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--neon); }
.lista b { display: block; font-size: 18px; }
.lista span { color: rgba(255, 255, 255, .75); font-size: 16px; }
.celular.pequeno { width: min(290px, 74vw); }

.chamada { border-radius: 32px; padding: clamp(28px, 5vw, 56px); background: linear-gradient(120deg, var(--azul), var(--roxo) 50%, var(--rosa)); display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: end; }
@media (max-width: 860px) { .chamada { grid-template-columns: 1fr; } }
.chamada h2 { margin-bottom: 10px; }
.chamada p { margin: 0; font-size: 18px; max-width: 46ch; }
.botao { display: inline-block; padding: 14px 24px; border-radius: 999px; background: #fff; color: var(--noite); font-weight: 800; text-decoration: none; text-align: center; }
.botao.escuro { background: var(--noite); color: #fff; }

.perguntas { max-width: 760px; }
.perguntas details { border-bottom: 1px solid rgba(255, 255, 255, .16); padding: 18px 0; }
.perguntas summary { cursor: pointer; font-weight: 800; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary::after { content: '+'; font-family: var(--titulo); font-size: 24px; line-height: 1; transition: transform .2s; }
.perguntas details[open] summary::after { transform: rotate(45deg); }
.perguntas details p { margin: 10px 0 0; color: rgba(255, 255, 255, .8); }

/* ---------- Rodapé ---------- */
.rodape { padding: 48px 0 40px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 15px; color: rgba(255, 255, 255, .75); }
.rodape .miolo { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.rodape nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.rodape nav a { text-decoration: none; }
.rodape nav a:hover { color: #fff; text-decoration: underline; }
.rodape p { margin: 0; }

/* ---------- Páginas de texto (termos, privacidade, etc.) ---------- */
body.papel { background: var(--papel); color: var(--tinta); }
body.papel .topo { background: var(--noite); color: #fff; }
.documento { width: min(760px, 100% - 32px); margin: 0 auto; padding: 48px 0 80px; }
.documento h1 { font-family: var(--titulo); font-weight: 800; font-size: clamp(32px, 5vw, 48px); letter-spacing: -.03em; line-height: 1.08; margin: 0 0 8px; }
.documento .data { color: var(--cinza); font-size: 15px; margin: 0 0 32px; }
.documento h2 { font-family: var(--titulo); font-size: 22px; letter-spacing: -.02em; margin: 40px 0 8px; }
.documento h3 { font-size: 17px; margin: 24px 0 4px; }
.documento p, .documento li { color: #2c2852; }
.documento ul { padding-left: 22px; }
.documento li { margin: 6px 0; }
.documento a { color: var(--roxo); font-weight: 700; }
.resumo { background: #fff; border: 1px solid var(--linha); border-radius: 20px; padding: 20px 24px; margin: 0 0 8px; }
.resumo p { margin: 0; }
.documento .botao { background: var(--roxo); color: #fff; }
body.papel .rodape { background: var(--noite); }
