/* Propaganda do Arcan Mobile no site da versao PC.
   Obs.: o servidor so entrega png/jpg/css/js e recusa hifen no nome do arquivo. */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&display=swap');

.am,
.am_strip {
  --am_ink: #0c131a;
  --am_gold: #c9ab6f;
  --am_bright: #efd6a0;
  --am_text: #f1efe6;
  --am_soft: #c4d0d8;
  --am_serif: 'Cinzel', Georgia, serif;
  --am_body: 'Manrope', 'Segoe UI', sans-serif;
}

/* ---------- Tela cheia ---------- */

.am { display: none; }

html.am_on,
html.am_on body { overflow: hidden; }

/* Acima dos confetes do tema (z-index 9999). */
html.am_on .am {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 100000;
  isolation: isolate;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--am_ink);
  color: var(--am_text);
  font: 500 16px/1.55 var(--am_body);
  text-align: center;
  outline: none;
}

.am_art {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.am_art::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('hero.jpg') 50% 18% / cover no-repeat;
  animation: am_zoom 2.4s cubic-bezier(.16, 1, .3, 1) both;
}

.am_art::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 46vw 84vh at 50% 52%, rgba(9, 18, 30, .84) 0%, rgba(9, 18, 30, .68) 50%, rgba(9, 18, 30, 0) 100%),
    linear-gradient(180deg, rgba(9, 18, 30, 0) 55%, rgba(9, 18, 30, .8) 100%);
}

.am_frame {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(16px, 3vh, 40px) 24px clamp(12px, 2.2vh, 24px);
}

.am_main {
  width: min(680px, 100%);
  margin-block: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: am_rise .7s cubic-bezier(.16, 1, .3, 1) both;
}

.am_logo {
  display: block;
  width: clamp(230px, 46vh, 500px);
  max-width: 82%;
  height: auto;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, .6));
}

.am_title {
  margin: clamp(10px, 2.4vh, 24px) 0 0;
  max-width: 17em;
  font: 600 clamp(26px, 5.6vh, 56px)/1.14 var(--am_serif);
  letter-spacing: 0;
  color: #fff8e6;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .75);
  text-wrap: balance;
}

.am_lead {
  margin: clamp(8px, 1.6vh, 16px) 0 0;
  max-width: 33em;
  font-size: clamp(15px, 2.2vh, 18px);
  color: var(--am_text);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .8);
  text-wrap: balance;
}

.am_panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-top: clamp(14px, 2.8vh, 30px);
}

.am_actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 320px;
  max-width: 100%;
}

.am_btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 66px;
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  text-align: left;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}

.am_btn svg { flex: 0 0 30px; width: 30px; height: 30px; }
.am_btn span { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.am_btn strong { font: 800 18px/1.2 var(--am_body); letter-spacing: -.2px; }
.am_btn small { font: 600 13px/1.35 var(--am_body); }
.am_btn:hover { transform: translateY(-2px); }

.am_btn_web {
  background: linear-gradient(180deg, #f7e3b3 0%, #d9b870 100%);
  border-color: #fbeecb;
  color: #1c150a;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .5);
}
.am_btn_web:hover { box-shadow: 0 14px 34px rgba(217, 184, 112, .38); }
.am_btn_web small { color: #4a3a1a; }

.am_btn_play {
  background: #000;
  border-color: #a6a6a6;
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .5);
}
.am_btn_play:hover { border-color: var(--am_bright); }
.am_btn_play small { color: #f1f1f1; }
.am_btn_play strong { font-size: 22px; }

.am_qr {
  flex: none;
  width: 144px;
  padding: 0;
  text-decoration: none;
  color: var(--am_text);
}
.am_qr svg {
  display: block;
  width: 144px;
  height: 144px;
  border-radius: 8px;
  background: #fff;
}
.am_qr small {
  display: block;
  margin-top: 8px;
  font: 600 13px/1.35 var(--am_body);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .9);
}

.am_more { margin: clamp(10px, 2vh, 20px) 0 0; }

.am .am_link {
  color: var(--am_bright);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.am .am_link:hover { color: #fff; }

.am_note {
  margin: clamp(6px, 1.2vh, 12px) 0 0;
  max-width: 38em;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--am_soft);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .9);
  text-wrap: balance;
}

.am_close {
  flex: none;
  min-height: 44px;
  margin-top: clamp(8px, 1.6vh, 18px);
  padding: 8px 18px;
  border: 0;
  background: transparent;
  color: var(--am_soft);
  font: 600 14px/1.4 var(--am_body);
  text-decoration: underline;
  text-decoration-color: rgba(196, 208, 216, .5);
  text-underline-offset: 4px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .9);
  cursor: pointer;
}
.am_close:hover { color: #fff; }

.am a:focus-visible,
.am button:focus-visible,
.am_strip a:focus-visible {
  outline: 3px solid var(--am_bright);
  outline-offset: 4px;
  border-radius: 8px;
}

/* ---------- Conteudo certo para cada aparelho ---------- */

.am_for_ios { display: none !important; }
html.am_ios .am_for_ios { display: flex !important; }
html.am_ios .am_for_pc,
html.am_ios .am_btn_play,
html.am_ios .am_qr,
html.am_android .am_btn_web,
html.am_android .am_qr { display: none !important; }

/* ---------- Celular e janelas estreitas ---------- */

@media (max-width: 720px) {
  .am_art::before { background: url('hero_m.jpg') 50% 0 / cover no-repeat; }
  .am_art::after {
    background: linear-gradient(180deg, rgba(9, 18, 30, 0) 18%, rgba(9, 18, 30, .72) 46%, rgba(9, 18, 30, .95) 70%);
  }
  .am_frame { padding: 20px 20px 10px; }
  /* Deixa a arte respirar em cima e o botao perto do polegar. */
  .am_main { margin-block: auto 0; padding-top: 26vh; }
  .am_logo { width: min(290px, 78%); }
  .am_title { font-size: clamp(25px, 7.4vw, 34px); margin-top: 10px; }
  .am_lead { font-size: 16px; }
  .am_panel { width: 100%; margin-top: 18px; }
  .am_actions { width: min(360px, 100%); }
  .am_qr { display: none; }
}

/* Celular deitado / notebook muito baixo. */
@media (max-height: 560px) {
  .am_main { padding-top: 0; }
  .am_logo { width: 210px; }
  .am_title { font-size: 25px; }
  .am_btn { min-height: 56px; }
  .am_qr, .am_qr svg { width: 116px; }
  .am_qr svg { height: 116px; }
}

/* ---------- Faixa que fica no site da versao PC ---------- */

.am_strip {
  width: min(1200px, calc(100% - 32px));
  /* O menu fixo chega a 3 linhas em notebooks; a folga evita que ele cubra a faixa. */
  margin: 56px auto 0;
  border: 1px solid rgba(201, 171, 111, .6);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(9, 18, 30, .95) 0%, rgba(9, 18, 30, .8) 56%, rgba(9, 18, 30, .25) 100%),
    url('hero.jpg') 100% 22% / cover no-repeat;
  color: var(--am_text);
  font: 500 16px/1.5 var(--am_body);
}

.am_strip_in {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 20px 26px;
}

.am_strip img { flex: none; display: block; width: 190px; height: auto; }
.am_strip_text { flex: 1; min-width: 0; text-align: left; }
.am_strip_text strong { display: block; font: 600 21px/1.25 var(--am_serif); color: #fff8e6; }
.am_strip_text span { display: block; margin-top: 4px; max-width: 34em; font-size: 15px; }

.am_strip_go {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 24px;
  border-radius: 10px;
  background: linear-gradient(180deg, #f7e3b3 0%, #d9b870 100%);
  color: #1c150a;
  font: 800 16px/1.2 var(--am_body);
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s;
}
.am_strip_go:hover { transform: translateY(-2px); }

@media (max-width: 820px) {
  .am_strip_in { flex-direction: column; gap: 14px; padding: 20px; }
  .am_strip_text { text-align: center; }
  .am_strip_text span { margin-inline: auto; }
  .am_strip_go { width: min(340px, 100%); justify-content: center; }
}

/* ---------- Movimento ---------- */

@keyframes am_zoom { from { transform: scale(1.07); } to { transform: none; } }
/* So desloca, sem opacidade: o botao nunca fica invisivel se a pagina demorar a carregar. */
@keyframes am_rise { from { transform: translateY(16px); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .am_art::before, .am_main { animation: none; }
  .am_btn, .am_strip_go { transition: none; }
}
