:root {
  color-scheme: light;

  --azul-escuro: #102a3d;
  --azul-botao: #172743;
  --laranja: #ff6500;
  --fundo: #e6ebf7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;

  color: var(--azul-escuro);
  background: var(--fundo);

  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

.pagina {
  width: 100%;
}

.cartao {
  position: relative;
  isolation: isolate;

  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;

  width: calc(100% - 32px);
  height: calc(100svh - 32px);
  min-height: 620px;
  margin: 16px;

  overflow: hidden;

  border: 3px solid #fff;
  border-radius: 38px;

  background:
    radial-gradient(
      circle at 55% 40%,
      #f5f6fc 0%,
      transparent 48%
    ),
    linear-gradient(
      120deg,
      #e0e9f8 0%,
      #e8eafa 52%,
      #d3e0f7 100%
    );

  box-shadow:
    0 20px 55px rgba(67, 85, 116, 0.08);
}

.topo {
  position: relative;
  z-index: 3;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  min-height: 88px;
  padding: 18px clamp(24px, 4vw, 70px);
}

.topo__identificacao {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topo__atalho {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  font-size: clamp(14px, 1.1vw, 19px);
  font-weight: 600;
  white-space: nowrap;
}

.topo__atalho:hover {
  opacity: 0.7;
}

.cena {
  position: relative;
  min-height: 0;
}

.cena__logo {
  position: absolute;
  z-index: 1;

  top: 2%;
  left: 50%;

  display: block;

  width: min(53vw, 760px);
  max-width: calc(100% - 48px);
  height: auto;

  object-fit: contain;
  transform: translateX(-50%);

  pointer-events: none;
  user-select: none;
}

.visualizador {
  position: absolute;
  z-index: 2;

  top: 22%;
  right: 10%;
  bottom: 0;
  left: 10%;

  cursor: grab;
}

.visualizador:active {
  cursor: grabbing;
}

.visualizador canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.visualizador__status {
  position: absolute;
  z-index: 4;

  bottom: 8%;
  left: 50%;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  width: max-content;
  max-width: 90%;
  padding: 11px 17px;

  transform: translateX(-50%);

  border: 1px solid rgba(16, 42, 61, 0.13);
  border-radius: 99px;

  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 28px rgba(16, 42, 61, 0.06);

  font-size: 13px;
  text-align: center;

  pointer-events: none;
}

.visualizador__indicador {
  flex: 0 0 7px;

  width: 7px;
  height: 7px;

  border-radius: 50%;
  background: var(--laranja);
}

.rodape {
  position: relative;
  z-index: 3;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 18px;

  min-height: 110px;
  padding:
    16px
    clamp(24px, 4vw, 70px)
    28px;
}

.rodape__equipe {
  display: flex;
  align-items: center;
  gap: 12px;

  font-size: clamp(12px, 0.9vw, 16px);
  white-space: nowrap;
}

.rodape__movida {
  padding: 6px 13px;

  border: 1px solid rgba(16, 42, 61, 0.4);
  border-radius: 99px;
}

.botao-entrar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  min-width: 235px;
  min-height: 52px;
  padding: 12px 24px;

  border-radius: 99px;

  color: #fff;
  background: var(--azul-botao);

  font-weight: 700;
  text-align: center;
  white-space: nowrap;

  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.botao-entrar:hover {
  transform: translateY(-2px);
  background: #243b5d;
}

.rodape__descricao {
  justify-self: end;

  max-width: 260px;
  margin: 0;

  font-size: clamp(12px, 0.9vw, 16px);
  line-height: 1.5;
}

.explorador {
  display: grid;
  place-items: center;

  min-height: 70svh;
  padding: 70px 24px;

  background: #f8f9fc;
}

.explorador__conteudo {
  width: min(100%, 900px);
}

.explorador__etiqueta {
  color: var(--laranja);

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.explorador h1 {
  max-width: 750px;
  margin: 20px 0;

  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.explorador p {
  color: #526477;

  font-size: 18px;
  line-height: 1.6;
}

.explorador a {
  display: inline-block;
  margin-top: 20px;

  font-weight: 700;
}

@media (max-width: 950px) {
  .cena__logo {
    top: 10%;
    width: min(70vw, 650px);
  }

  .visualizador {
    top: 25%;
    right: 4%;
    left: 4%;
  }

  .rodape {
    grid-template-columns: 1fr auto;
  }

  .rodape__descricao {
    display: none;
  }
}

@media (max-width: 640px) {
  .cartao {
    width: calc(100% - 20px);
    height: calc(100svh - 20px);
    min-height: 600px;
    margin: 10px;

    border-radius: 26px;
  }

  .topo {
    min-height: 70px;
    padding: 14px 18px;
  }

  .topo__identificacao {
    max-width: 125px;
    font-size: 10px;
    line-height: 1.4;
  }

  .topo__atalho {
    gap: 6px;
    font-size: 11px;
    white-space: normal;
    text-align: right;
  }

  .cena__logo {
    top: 13%;
    width: 88%;
    max-width: none;
  }

  .visualizador {
    top: 29%;
    right: 0;
    left: 0;
  }

  .visualizador__status {
    max-width: calc(100% - 24px);
    font-size: 11px;
  }

  .rodape {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;

    padding: 14px 20px 25px;
  }

  .rodape__equipe {
    order: 2;

    font-size: 11px;
    white-space: normal;
  }

  .botao-entrar {
    order: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .botao-entrar {
    transition: none;
  }
}