:root {
  --ceu: #6eadc8;
  --azul: #1e6f94;
  --azul-escuro: #0e3f52;
  --tinta: #1d2a30;
  --suave: #5b6b72;
  --cartao: #ffffff;
  --borda: #c9d6dc;
  --verde: #2e9b48;
  --verde-escuro: #1f7a35;
  --alerta: #b3261e;
  --alerta-fundo: #fdecea;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Ubuntu", "Segoe UI", Roboto, system-ui, sans-serif;
  color: var(--tinta);
  background: var(--ceu) url("/a/assets/images/reception/stretch_blue.png") repeat-x top center;
}

.cena {
  position: fixed;
  inset: auto 0 0 0;
  height: 360px;
  background: url("/a/assets/images/reception/ts.png") no-repeat left bottom;
  pointer-events: none;
  opacity: .55;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 48px 16px 32px;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 380px);
  gap: 40px;
  align-items: start;
}

.intro { display: flex; gap: 24px; align-items: flex-start; }
.placa { flex: none; image-rendering: pixelated; filter: drop-shadow(0 6px 10px rgb(0 0 0 / .18)); }
.texto h1 {
  margin: 28px 0 12px;
  font-size: 34px;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 0 var(--azul-escuro), 0 3px 8px rgb(0 0 0 / .25);
}
.texto p { margin: 0 0 20px; font-size: 17px; line-height: 1.55; color: #fff; text-shadow: 0 1px 2px rgb(0 0 0 / .35); max-width: 44ch; }

.numeros { list-style: none; padding: 0; margin: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.numeros li {
  background: rgb(14 63 82 / .78);
  color: #dfeff6;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
}
.numeros strong { display: block; font-size: 22px; color: #fff; font-variant-numeric: tabular-nums; }

.cartao {
  background: var(--cartao);
  border: 2px solid var(--azul-escuro);
  border-radius: 12px;
  box-shadow: 0 4px 0 var(--azul-escuro), 0 12px 30px rgb(0 0 0 / .18);
  overflow: hidden;
}

.abas { display: flex; background: var(--azul); }
.abas a {
  flex: 1;
  text-align: center;
  padding: 14px 8px;
  color: #cfe6f0;
  text-decoration: none;
  font-weight: 700;
  border-bottom: 3px solid transparent;
}
.abas a.ativa { color: #fff; background: var(--azul-escuro); border-bottom-color: #ffd23f; }
.abas a:hover { color: #fff; }

.formulario { padding: 20px; display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--azul-escuro); }
input[type=text], input:not([type]), input[type=password] {
  font: inherit;
  font-weight: 400;
  padding: 11px 12px;
  border: 2px solid var(--borda);
  border-radius: 8px;
  color: var(--tinta);
  background: #f7fafb;
  min-height: 44px;
  width: 100%;
  min-width: 0;
}
input:focus { outline: none; border-color: var(--azul); background: #fff; }
input::placeholder { color: #8a9aa1; }

.sexo { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sexo legend { font-size: 14px; font-weight: 700; color: var(--azul-escuro); margin-bottom: 6px; padding: 0; }
.opcao {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 2px solid var(--borda);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 400;
  color: var(--tinta);
}
.opcao img { image-rendering: pixelated; flex: none; object-fit: none; object-position: -22px -38px; }
.opcao input { accent-color: var(--azul); }
.opcao:has(input:checked) { border-color: var(--azul); background: #eaf4f8; }

.botao {
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  background: var(--verde);
  border: 0;
  border-radius: 8px;
  padding: 13px 16px;
  min-height: 46px;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--verde-escuro);
}
.botao:hover { filter: brightness(1.06); }
.botao:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--verde-escuro); }
.botao.grande { width: 100%; font-size: 18px; padding: 15px; }

.link { font: inherit; background: none; border: 0; color: var(--suave); text-decoration: underline; cursor: pointer; padding: 8px; }

.dica { margin: 0; font-size: 13px; color: var(--suave); text-align: center; }
.dica a { color: var(--azul); }

.alerta {
  margin: 16px 20px 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--alerta-fundo);
  color: var(--alerta);
  font-size: 14px;
  border: 1px solid #f3c1bd;
}

.bemvindo { padding: 24px 20px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.bemvindo h2 { margin: 0; color: var(--azul-escuro); }
.bemvindo .alerta { margin: 0; width: 100%; }
.bemvindo form { width: 100%; }
.avatar { image-rendering: pixelated; object-fit: none; object-position: -44px -75px; }
.missao { margin: 0; color: var(--suave); font-style: italic; }

footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 16px;
  font-size: 13px;
  color: #e8f3f8;
  text-shadow: 0 1px 2px rgb(0 0 0 / .35);
}

@media (max-width: 820px) {
  main { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
  .intro { gap: 16px; }
  .placa { width: 96px; height: auto; }
  .texto h1 { font-size: 26px; margin-top: 10px; }
  .texto p { font-size: 16px; }
  .cena { opacity: .3; }
}

/* ---- link pra página de diamantes ---- */
.link-diamantes {
  display: inline-block;
  margin-top: 16px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  background: rgb(14 63 82 / .78);
  padding: 9px 14px;
  border-radius: 10px;
}
.link-diamantes:hover { background: var(--azul-escuro); }
.link-diamantes.escuro { margin-top: 0; background: none; color: var(--azul); padding: 4px; text-decoration: underline; }

/* ---- página de diamantes ---- */
main.larga { display: block; max-width: 980px; }
.topo-diamantes { color: #fff; text-shadow: 0 1px 2px rgb(0 0 0 / .35); margin-bottom: 24px; }
.topo-diamantes h1 { margin: 8px 0 12px; font-size: 32px; text-shadow: 0 2px 0 var(--azul-escuro), 0 3px 8px rgb(0 0 0 / .25); }
.topo-diamantes p { max-width: 70ch; font-size: 16px; line-height: 1.55; margin: 0 0 12px; }
.topo-diamantes a { color: #fff; }
.voltar { font-weight: 700; text-decoration: none; }
.saldo { background: rgb(14 63 82 / .78); display: inline-block; padding: 10px 14px; border-radius: 10px; text-shadow: none; }
.aviso-breve {
  display: inline-block;
  background: #fff6d6;
  color: #6b4e00;
  border: 1px solid #f0d27a;
  padding: 8px 12px;
  border-radius: 8px;
  text-shadow: none;
  font-weight: 700;
}

.pacotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
.pacote {
  position: relative;
  background: var(--cartao);
  border: 2px solid var(--azul-escuro);
  border-radius: 12px;
  box-shadow: 0 4px 0 var(--azul-escuro);
  padding: 22px 16px 16px;
  text-align: center;
  display: grid;
  gap: 6px;
  justify-items: center;
}
.pacote.destaque { border-color: #c8971a; box-shadow: 0 4px 0 #8a6510, 0 10px 24px rgb(0 0 0 / .18); }
.selo {
  position: absolute;
  top: -12px;
  background: #ffd23f;
  color: #4a3500;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  border: 2px solid #8a6510;
}
.icone-diamante { image-rendering: pixelated; }
.pacote h3 { margin: 0; font-size: 16px; color: var(--azul-escuro); font-weight: 400; }
.pacote h3 strong { display: block; font-size: 32px; font-variant-numeric: tabular-nums; }
.bonus { margin: 0; color: var(--verde-escuro); font-weight: 700; font-size: 14px; min-height: 1.3em; }
.preco { margin: 4px 0 8px; font-size: 22px; font-weight: 700; color: var(--tinta); font-variant-numeric: tabular-nums; }
.pacote form, .pacote .botao { width: 100%; }
.botao:disabled { background: #9aa9b0; box-shadow: 0 3px 0 #7d8b91; cursor: not-allowed; filter: none; transform: none; }

.faq { padding: 8px 20px 16px; }
.faq h2 { color: var(--azul-escuro); font-size: 20px; margin: 12px 0 8px; }
.faq details { border-top: 1px solid var(--borda); padding: 10px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--azul-escuro); }
.faq details p { margin: 8px 0 0; color: var(--suave); line-height: 1.5; }
