/* Saggio Educação, versão 6 (19/10/2026): camada de refino por cima da v5.
   Pedido: "deixar o design ainda mais bonito e chique sem poluir". Carregada depois do estilo.css e do celular-mov.css;
   REFINO_V6 = False no gerador/montar.py tira este arquivo e devolve a v5. */

/* ---------- 1. Destaque do título: sem itálico; o rumo traçado da carta náutica (regras 3.5 e 4.9) ---------- */
h1 em, h2 em, .rodape-lema em { font-style: normal; font-weight: inherit; }
.rumo-tit { position: relative; display: inline-block; color: var(--latao); padding: 0 .04em .02em; }
.capitulo .rumo-tit, .rodape .rumo-tit { color: var(--latao-claro); }
.rumo-tit .fixo, .rumo-tit .traco, .rumo-tit .ponta { position: absolute; pointer-events: none; }
/* o ponto de partida: círculo com ponto, como a posição marcada na carta */
.rumo-tit .fixo { font-style: normal; left: -.02em; bottom: -.09em; width: .13em; height: .13em; border: 1.5px solid currentColor; border-radius: 50%; }
.rumo-tit .fixo::after { content: ""; position: absolute; inset: 28%; border-radius: 50%; background: currentColor; }
/* a linha do rumo, que se desenha da esquerda para a direita */
.rumo-tit .traco { left: .11em; right: .1em; bottom: -.075em; width: calc(100% - .21em); height: .1em; overflow: visible; }
.rumo-tit .traco path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
/* a ponta da seta */
.rumo-tit .ponta { right: -.06em; bottom: -.115em; width: .18em; height: .18em; overflow: visible; }
.rumo-tit .ponta path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
h1 .rumo-tit .fixo { border-width: 2px; }
h1 .rumo-tit .traco path, h1 .rumo-tit .ponta path { stroke-width: 2; }

html.mov .anima .rumo-tit .traco path { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
html.mov .anima.visto .rumo-tit .traco path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.25s cubic-bezier(.55, .05, .25, 1) .95s; }
html.mov .anima .rumo-tit .fixo { transform: scale(0); }
html.mov .anima.visto .rumo-tit .fixo { transform: scale(1); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) .7s; }
html.mov .anima .rumo-tit .ponta { opacity: 0; transform: translateX(-.12em); }
html.mov .anima.visto .rumo-tit .ponta { opacity: 1; transform: none; transition: opacity .35s ease 2.05s, transform .55s cubic-bezier(.2, .8, .2, 1) 2.05s; }

/* ---------- 2. Sem sobretítulo em caixa alta espaçada e sem numeração nos cartões (regra 4.9) ---------- */
.porta-n { display: none; }
.porta-rot, .lei-card .lei, .dica-rolar { letter-spacing: .01em; text-transform: none; font-size: 14px; font-weight: 500; }
.porta-rot { font-family: var(--serif); font-style: normal; font-size: 15px; font-weight: 450; }

/* ---------- 3. Sem brilho que segue o mouse (regras 3.12 e 6.4) ---------- */
.abertura .brilho, .brilho-mouse::after { display: none; }

/* ---------- 4. Ritmo: menos vão entre as seções, agora que o rótulo saiu ---------- */
.secao { padding-block: clamp(72px, 8.2vw, 128px); }
.cabeca { gap: 14px; }

/* ---------- 5. Abertura mais limpa: o leitor da bússola sem caixa, só um fio por cima ---------- */
.figura-bussola .leitor { background: var(--papel); border: 0; border-top: 1px solid var(--fio); border-radius: 0; box-shadow: none; padding: 14px 2px 4px; }
.abertura .selos { color: var(--aco); }

/* ---------- 6. Faixa de credenciais aberta, como registro de diário de bordo (cartões não são todos iguais) ---------- */
.credenciais { background: none; border-block: 0; border-top: 1px solid var(--fio); }
.credenciais > div:hover { background: none; }

/* ---------- 7. Letras de 10 px ou mais na bússola do método (regra 11.6) ---------- */
.palco-metodo .bussola .grau { display: none; }
.palco-metodo .bussola .card { font-size: 27px; }

/* ---------- 8. Escala de 90% a partir de 1024 px (regra 3.4). O zoom também encolhe svh e vw no Chrome:
   as medidas que dependem da altura da tela são divididas por --z para continuarem do tamanho da tela. ---------- */
@media (min-width: 1024px) {
  html { zoom: .9; }
  :root { --z: .9; }
  .abertura .grade { min-height: calc(100svh / var(--z) - var(--topo)); }
  .bussola-caixa { width: min(100%, calc(100svh / var(--z) - var(--topo) - 212px), 580px); }
  .palco-metodo { --alt: clamp(460px, calc(100svh / var(--z) - var(--topo) - 36px), 660px); }
}

/* ---------- 9. Celular: selo de uma linha e menos coisa fixa (regra 9.1: até ~16% da altura) ---------- */
.previa-curta { display: none; }
@media (max-width: 700px) {
  .previa-longa { display: none; }
  .previa-curta { display: inline; }
  .previa { padding-block: 4px; font-size: 12px; }
  :root { --topo: 82px; }
  .nav, .topo.rolou .nav { height: 58px; }
  body { padding-bottom: 64px; }
  .barra-cel { padding-top: 5px; padding-bottom: calc(5px + env(safe-area-inset-bottom, 0px)); }
  .barra-cel .botao { min-height: 44px; }
}

/* o título da abertura em três linhas, como na v5 (a palavra em destaque, sem itálico, ficou um pouco mais larga) */
.abertura h1 { max-width: 14.2ch; }
