/* PlayDepth — site. Cores do logótipo (azul-marinho e verde-azulado); modo escuro automático. Contrastes AA. */
:root {
  --fundo: #ffffff;
  --fundo-2: #f4f6f9;
  --texto: #0d1b2e;
  --texto-2: #46536a;
  --linha: #e1e6ee;
  --acento: #087a70;
  --acento-texto: #ffffff;
  --acento-suave: #e5f4f2;
  --sombra: 0 24px 60px -24px rgba(13, 27, 46, 0.35), 0 2px 8px rgba(13, 27, 46, 0.08);
  --raio: 12px;
  --letra:
    'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue',
    Arial, sans-serif;
  --letra-titulo:
    'Segoe UI Variable Display', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue',
    Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fundo: #0b1018;
    --fundo-2: #111823;
    --texto: #e9eef5;
    --texto-2: #a7b2c3;
    --linha: #1f2a38;
    --acento: #3cc7b4;
    --acento-texto: #06211e;
    --acento-suave: #0f2a2a;
    --sombra: 0 24px 60px -24px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(0, 0, 0, 0.4);
  }
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--letra);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Ao saltar para uma secção pelo menu, o título fica abaixo do topo fixo. */
[id] {
  scroll-margin-top: 80px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--acento);
  text-underline-offset: 0.18em;
}

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

h1,
h2,
h3 {
  font-family: var(--letra-titulo);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  font-weight: 700;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

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

.saltar {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--acento);
  color: var(--acento-texto);
  font-weight: 600;
  text-decoration: none;
}

.saltar:focus {
  top: 12px;
}

/* Topo */
.topo {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--fundo) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--linha);
}

.topo .contentor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--texto);
  font-family: var(--letra-titulo);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.marca img {
  width: 34px;
  height: 34px;
}

.navegacao {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.97rem;
}

.navegacao a {
  color: var(--texto-2);
  text-decoration: none;
}

.navegacao a:hover {
  color: var(--texto);
}

.navegacao a.botao {
  color: var(--acento-texto);
}

.navegacao a.idioma {
  color: var(--texto);
  font-weight: 600;
  letter-spacing: 0.04em;
}

@media (max-width: 760px) {
  .navegacao a:not(.botao):not(.idioma) {
    display: none;
  }
}

/* Botões */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--acento);
  color: var(--acento-texto);
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.15s ease;
}

.botao:hover {
  filter: brightness(1.08);
}

.botao-pequeno {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.95rem;
}

.botao-secundario {
  background: transparent;
  border-color: var(--linha);
  color: var(--texto);
}

.botao-secundario:hover {
  filter: none;
  background: var(--fundo-2);
}

.botao-indisponivel {
  background: transparent;
  border-color: var(--linha);
  color: var(--texto-2);
  cursor: default;
}

.botao-indisponivel:hover {
  filter: none;
}

/* Abertura */
.abertura {
  padding: clamp(56px, 9vw, 112px) 0 0;
  text-align: center;
}

.abertura .etiqueta {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--acento-suave);
  color: var(--acento);
  font-size: 0.9rem;
  font-weight: 600;
}

.abertura h1 {
  max-width: 15ch;
  margin-inline: auto;
}

.abertura .resumo {
  max-width: 62ch;
  margin: 0 auto 32px;
  color: var(--texto-2);
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.25rem);
}

.acoes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.acoes-esquerda {
  justify-content: flex-start;
}

.nota {
  margin-top: 14px;
  color: var(--texto-2);
  font-size: 0.92rem;
}

.janela {
  margin: clamp(48px, 7vw, 80px) auto 0;
  overflow: hidden;
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  background: #0c0e11;
  box-shadow: var(--sombra);
}

/* Secções */
.secao {
  padding: clamp(72px, 10vw, 128px) 0;
}

.secao-alternada {
  background: var(--fundo-2);
}

.cabecalho {
  max-width: 64ch;
  margin-bottom: 48px;
}

.cabecalho p {
  color: var(--texto-2);
  font-size: 1.15rem;
}

.sobretitulo {
  margin-bottom: 10px;
  color: var(--acento);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.funcionalidade {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.funcionalidade + .funcionalidade {
  margin-top: clamp(72px, 9vw, 120px);
}

.funcionalidade.invertida .texto {
  order: 2;
}

.funcionalidade .janela {
  margin: 0;
}

.funcionalidade ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.funcionalidade li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 28px;
  color: var(--texto-2);
}

.funcionalidade li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--acento);
  border-bottom: 2px solid var(--acento);
  transform: rotate(-45deg);
}

@media (max-width: 880px) {
  .funcionalidade {
    grid-template-columns: minmax(0, 1fr);
  }

  .funcionalidade.invertida .texto {
    order: 0;
  }
}

/* Cartões */
.cartoes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.cartao {
  padding: 28px;
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  background: var(--fundo);
}

.cartao p {
  margin: 0;
  color: var(--texto-2);
}

.icone {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: var(--acento-suave);
  color: var(--acento);
}

.icone svg {
  width: 22px;
  height: 22px;
}

/* Requisitos */
.requisitos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0 48px;
  margin: 0;
}

.requisitos div {
  padding: 18px 0;
  border-top: 1px solid var(--linha);
}

.requisitos dt {
  font-weight: 600;
}

.requisitos dd {
  margin: 4px 0 0;
  color: var(--texto-2);
}

/* Transferir */
.transferir .cartao {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
}

.transferir .cartao h3 {
  margin: 0;
}

.transferir .cartao .botao {
  align-self: flex-start;
  margin-top: auto;
}

/* Perguntas */
.perguntas {
  max-width: 800px;
}

.perguntas details {
  border-top: 1px solid var(--linha);
}

.perguntas details:last-child {
  border-bottom: 1px solid var(--linha);
}

.perguntas summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.perguntas summary::-webkit-details-marker {
  display: none;
}

.perguntas summary::after {
  content: '+';
  color: var(--acento);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.perguntas details[open] summary::after {
  content: '−';
}

.perguntas details p {
  margin: 0 0 20px;
  color: var(--texto-2);
}

/* Páginas de texto (privacidade, licenças) */
.documento {
  max-width: 760px;
  padding: clamp(48px, 8vw, 96px) 0;
}

.documento h1 {
  font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
}

.documento h2 {
  margin-top: 2em;
  font-size: 1.5rem;
}

.documento .data {
  color: var(--texto-2);
}

.documento li {
  margin-bottom: 8px;
}

.documento table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.documento th,
.documento td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--linha);
  text-align: left;
  vertical-align: top;
}

.documento code {
  font-size: 0.9em;
}

.tabela {
  overflow-x: auto;
}

/* Rodapé */
.rodape {
  padding: 40px 0;
  border-top: 1px solid var(--linha);
  color: var(--texto-2);
  font-size: 0.93rem;
}

.rodape .contentor {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.rodape nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.rodape a {
  color: var(--texto-2);
}

.rodape a:hover {
  color: var(--texto);
}
