/* =====================================================================
   AURALLY - Termos de Uso (terms.blade.php): mesmo visual das telas de compra e de acesso.
   Só SOBREPÕE o <style> da página (classes wrap, logo, back, meta, notice, content, empty continuam iguais).
   No Blade: adicionar <link rel="stylesheet" href="{{ asset('css/aurally-termos.css') }}"> depois do <style>.
   Computador/tablet: a página fica do tamanho da tela e SÓ o bloco do texto rola.
   Celular: a página rola normalmente (rolagem dentro de bloco pequeno é ruim de usar no celular).
   ===================================================================== */
body {
  background:
    radial-gradient(60rem 26rem at 50% -8%, rgba(245, 165, 36, .09), transparent 60%),
    #090c11 !important;
  color: #f4f1ea !important;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1180px !important; }

/* Cabeçalho */
header { padding: 14px 0 !important; border-bottom: 1px solid #1b2330 !important; background: rgba(9, 12, 17, .82); }
.logo { font-size: 15px; font-weight: 600 !important; letter-spacing: -.01em; }
.logo img { width: 30px !important; height: 30px !important; border-radius: 50%; }
.back { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .8rem; border: 1px solid #262f3d; border-radius: 10px; font-size: 13px !important; color: #aeb6c3 !important; transition: border-color .15s, color .15s; }
.back:hover { color: #ffd46b !important; border-color: rgba(245, 165, 36, .45); }

main { padding: 28px 0 28px !important; }
h1 { font-size: clamp(24px, 4vw, 32px) !important; letter-spacing: -.02em; color: #fff; margin-bottom: 4px !important; }
.meta { margin-bottom: 18px !important; color: #7d8798 !important; font-size: 13px !important; }
.notice { border-radius: 12px !important; }

/* Bloco do texto: só texto, sem marcações coloridas */
.content { border: 1px solid #262f3d !important; border-radius: 18px !important; background: #0d1118 !important;
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .9); font-size: 15px; line-height: 1.75; }
.content > :first-child { margin-top: 0 !important; }
.content > :last-child { margin-bottom: 0 !important; }
.content p, .content li { color: #c9d1dc !important; }
.content h1, .content h2, .content h3, .content h4 {
  margin: 1.6em 0 .4em !important; font-family: "Inter", system-ui, sans-serif !important;
  font-size: 1em !important; font-weight: 700 !important; letter-spacing: 0; line-height: 1.5 !important; color: #c9d1dc !important;
}
.content ul, .content ol { list-style: none; padding-left: 0 !important; }
.content li + li { margin-top: .35em; }
.content strong { color: #c9d1dc; font-weight: 700; }
.content a { color: #ffd46b !important; }
.content hr { border: 0; border-top: 1px solid #1b2330; margin: 2em 0; }
.content::-webkit-scrollbar { width: 10px; }
.content::-webkit-scrollbar-thumb { background: #262f3d; border-radius: 10px; border: 2px solid #0d1118; }
.content::-webkit-scrollbar-track { background: transparent; }

footer { border-top-color: #1b2330 !important; color: #7d8798 !important; padding: 16px 0 !important; }

/* Computador e tablet: página do tamanho da tela, rolagem só dentro do bloco */
@media (min-width: 700px) {
  html, body { height: 100%; }
  body { display: flex; flex-direction: column; height: 100vh; height: 100dvh; overflow: hidden; }
  header, footer { flex: none; }
  main { flex: 1 1 auto; min-height: 0; display: flex; }
  main > .wrap { flex: 1 1 auto; min-height: 0; width: 100%; display: flex; flex-direction: column; }
  main > .wrap > h1, main > .wrap > .meta, main > .wrap > .notice { flex: none; }
  .content { flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #262f3d transparent; }
}

@media (max-width: 699px) {
  header .wrap { gap: 10px; }
  .back { padding: .4rem .6rem; font-size: 12px !important; }
  .logo { font-size: 14px; }
  .content { font-size: 14.5px; }
}
/* Marca no topo: nome 18px e logo 36px (igual às telas de compra e de acesso) */
.logo { font-size: 18px; gap: 12px !important; }
.logo img { width: 36px !important; height: 36px !important; }
