/* ==========================================================================
   Shanghai Free Shop — página de inauguração (em construção)
   Cores e proporções do Manual da Marca (set/2026).
   ========================================================================== */

:root {
  /* Marca (manual: RGB 171 22 2 · 247 182 32 · 250 219 145) */
  --vermelho: #AB1602;
  --vermelho-claro: #C4260F;
  --vermelho-escuro: #7E1002;
  --vermelho-fundo: #5E0C01;
  --amarelo: #F7B620;
  --creme: #FADB91;
  --branco: #FFFFFF;

  /* Tipografia: Sushi Sans e Ashley Medium não existem para web.
     Jost (geométrica) e Barlow Condensed (condensada) são as mais próximas. */
  --fonte: 'Jost', 'Segoe UI', system-ui, sans-serif;
  --fonte-condensada: 'Barlow Condensed', 'Arial Narrow', sans-serif;

  --raio: 14px;
  --moldura: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--fonte);
  font-size: 17px;
  line-height: 1.6;
  color: var(--branco);
  background-color: var(--vermelho);
  background-image:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(232, 64, 28, .55) 0%, transparent 70%),
    radial-gradient(ellipse 90% 60% at 50% 110%, rgba(94, 12, 1, .75) 0%, transparent 70%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
p { margin: 0; }
a { color: inherit; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

:focus-visible {
  outline: 3px solid var(--amarelo);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Estrutura ---------- */

.pagina {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 78px 32px 28px;
  overflow: hidden;
}

/* Moldura dourada com cantos em grega, como no cartaz da loja */
.moldura {
  position: absolute;
  inset: var(--moldura);
  border: 1.5px solid rgba(247, 182, 32, .42);
  border-radius: 4px;
  pointer-events: none;
  z-index: 1;
}

.canto {
  position: absolute;
  width: 52px;
  height: 52px;
  color: rgba(247, 182, 32, .75);
}
.canto--se { top: -1.5px; left: -1.5px; }
.canto--sd { top: -1.5px; right: -1.5px; transform: scaleX(-1); }
.canto--ie { bottom: -1.5px; left: -1.5px; transform: scaleY(-1); }
.canto--id { bottom: -1.5px; right: -1.5px; transform: scale(-1, -1); }

/* Lanternas */
.lanterna {
  position: absolute;
  top: var(--moldura);
  width: 82px;
  height: 164px;
  z-index: 1;
  transform-origin: 50% 0;
  filter: drop-shadow(0 0 22px rgba(255, 168, 60, .45));
  animation: balanco 4.6s ease-in-out infinite alternate;
}
.lanterna--esq { left: 9%; height: 196px; }
.lanterna--dir { right: 9%; animation-delay: -2.3s; animation-duration: 5.2s; }

@keyframes balanco {
  from { transform: rotate(-3.5deg); }
  to   { transform: rotate(3.5deg); }
}

/* Seletor de idioma */
.idiomas {
  position: absolute;
  top: calc(var(--moldura) + 18px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--fonte-condensada);
  font-size: 15px;
  letter-spacing: .12em;
  color: rgba(250, 219, 145, .55);
}
.idiomas button {
  background: none;
  border: 0;
  padding: 6px 8px;
  font: inherit;
  letter-spacing: inherit;
  color: rgba(250, 219, 145, .7);
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.idiomas button[aria-pressed="true"] {
  color: var(--amarelo);
  border-bottom-color: var(--amarelo);
}

/* ---------- Conteúdo ---------- */

.conteudo {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 620px;
  text-align: center;
}

/* brilho dourado atrás do logo */
.conteudo::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -60px;
  left: 50%;
  width: 560px;
  max-width: 120%;
  height: 380px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(247, 182, 32, .22), transparent);
  pointer-events: none;
}

.logo {
  margin: 0 auto;
  width: min(390px, 80vw);
}
.logo img { width: 100%; height: auto; }

.selo {
  display: inline-block;
  margin-top: 24px;
  padding: 9px 22px;
  border: 1px solid rgba(247, 182, 32, .55);
  border-radius: 999px;
  background: rgba(94, 12, 1, .32);
  font-family: var(--fonte-condensada);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amarelo);
}

.chamada {
  margin-top: 16px;
  font-size: clamp(27px, 5.2vw, 38px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.texto {
  margin: 16px auto 0;
  max-width: 520px;
  color: rgba(255, 255, 255, .86);
  text-wrap: pretty;
}

/* Botões */
.botoes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.1;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }

.btn--principal {
  background: var(--amarelo);
  color: var(--vermelho-fundo);
  box-shadow: 0 10px 26px rgba(60, 6, 0, .35);
}
.btn--principal:hover { background: #FFC53A; transform: translateY(-2px); }

.btn--secundario {
  border: 1.5px solid rgba(250, 219, 145, .7);
  color: var(--branco);
}
.btn--secundario:hover { background: rgba(250, 219, 145, .12); transform: translateY(-2px); }

.arroba {
  margin-top: 12px;
  font-family: var(--fonte-condensada);
  font-size: 16px;
  letter-spacing: .1em;
  color: rgba(250, 219, 145, .8);
}

/* Endereço */
.endereco {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(247, 182, 32, .3);
  font-style: normal;
  font-size: 15.5px;
  line-height: 1.55;
  text-align: left;
  color: rgba(255, 255, 255, .88);
}
.endereco svg { width: 22px; height: 22px; margin-top: 1px; flex: none; color: var(--amarelo); }
.endereco a {
  display: inline-block;
  margin-top: 4px;
  font-weight: 600;
  color: var(--amarelo);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Rodapé */
.rodape {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  margin-top: 40px;
  font-size: 13px;
  color: rgba(250, 219, 145, .7);
}
.rodape a { color: rgba(250, 219, 145, .9); }

/* ---------- Entrada ---------- */

.logo, .selo, .chamada, .texto, .botoes, .arroba, .endereco {
  animation: subir .8s cubic-bezier(.2, .7, .2, 1) both;
}
.selo { animation-delay: .12s; }
.chamada { animation-delay: .2s; }
.texto { animation-delay: .28s; }
.botoes { animation-delay: .36s; }
.arroba, .endereco { animation-delay: .44s; }

@keyframes subir {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Telas menores ---------- */

@media (max-width: 720px) {
  .lanterna { width: 50px; height: 100px; }
  .lanterna--esq { left: 7%; height: 122px; }
  .lanterna--dir { right: 7%; }
}

@media (max-width: 560px) {
  :root { --moldura: 10px; }
  body { font-size: 16px; }
  .pagina { padding: 76px 22px 24px; }
  .canto { width: 40px; height: 40px; }
  .lanterna { width: 40px; height: 80px; }
  .lanterna--esq { left: 22px; height: 98px; }
  .lanterna--dir { right: 22px; }
  .logo { width: min(330px, 74vw); margin-top: 26px; }
  .selo { font-size: 15px; letter-spacing: .14em; padding: 8px 18px; }
  .botoes { flex-direction: column; align-items: stretch; }
}

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