/* RBS Contábil: proposta de site com movimento. Versão parada primeiro; animação só com .m */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-latin.woff2) format('woff2');
}

:root {
  --marinho: #001A39;
  --marinho-2: #0B2B55;
  --marinho-3: #12396B;
  --dourado: #DBB26E;
  --dourado-claro: #E7C87A;
  --dourado-escuro: #A97F3C;
  --creme: #F4EFE3;
  --azul: #1F44B8;
  --verde: #93B85A;
  --ocre: #C9A35A;
  --tinta: #fff;
  --sombra: 0 18px 40px rgba(0, 10, 30, .35);
  --larga: 125%;
  --topo: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: clip;
  background: var(--marinho); color: #fff;
  font: 400 19px/1.55 'Archivo', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-stretch: var(--larga); font-weight: 800; line-height: 1.02; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Botões ---------- */
.botao {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .85em 1.35em; border-radius: 999px;
  font: 700 17px/1 'Archivo', sans-serif; font-stretch: 112%; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform .25s, background-color .25s, color .25s;
}
.botao svg { width: 20px; height: 20px; flex: none; }
.botao.ouro { background: linear-gradient(135deg, var(--dourado-claro), var(--dourado) 55%, var(--dourado-escuro)); color: var(--marinho); }
.botao.linha { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(231, 200, 122, .8); }
.botao:hover { transform: translateY(-2px); }
.botao.linha:hover { background: rgba(231, 200, 122, .14); }
.botoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Cabeçalho ---------- */
.topo {
  position: fixed; inset: 0 0 auto 0; z-index: 30; height: var(--topo);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 clamp(16px, 3vw, 44px);
  background: var(--marinho);
  transition: background-color .35s, box-shadow .35s;
}
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.marca .ic { width: 30px; height: 30px; }
.marca b { font: 800 22px/1 'Archivo', sans-serif; font-stretch: var(--larga); letter-spacing: .06em; }
.marca small { display: block; font: 500 10.5px/1 'Archivo', sans-serif; letter-spacing: .38em; margin-top: 3px; opacity: .85; }
.menu { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.menu a:not(.botao) { font: 600 13px/1 'Archivo', sans-serif; font-stretch: var(--larga); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; opacity: .85; }
.menu a:not(.botao):hover { opacity: 1; color: var(--dourado-claro); }
.menu .botao { padding: .7em 1.1em; font-size: 15px; }
@media (max-width: 760px) {
  .menu a:not(.botao) { display: none; }
  .menu .botao span { display: none; }
  .menu .botao { padding: .62em; }
  .marca b { font-size: 19px; }
}

/* ---------- Carregamento ---------- */
#loader { display: none; }
.intro #loader {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 45%, #0B2B55, var(--marinho) 60%, #000F24);
  animation: ld-some .6s 5s forwards;
}
#loader .ld-meio { display: grid; justify-items: center; gap: 18px; }
#loader .ld-num { font: 500 13px/1 'Archivo', sans-serif; font-stretch: var(--larga); letter-spacing: .3em; color: var(--dourado-claro); font-variant-numeric: tabular-nums; }
#loader .ld-ic { width: clamp(96px, 13vw, 150px); height: auto; overflow: visible; }
#loader .ld-ic path { fill: none; stroke: url(#ld-ouro); stroke-width: 15; stroke-linejoin: miter; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ld-traco 1.1s .15s cubic-bezier(.6, 0, .2, 1) forwards; }
#loader .ld-nome { font: 800 26px/1 'Archivo', sans-serif; font-stretch: var(--larga); letter-spacing: .1em; text-align: center; opacity: 0; animation: ld-entra .6s .7s forwards; }
#loader .ld-nome small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .5em; margin-top: 6px; }
#loader .ld-borda { position: absolute; left: 0; right: 0; text-align: center; font: 600 10.5px/1 'Archivo', sans-serif; font-stretch: var(--larga); letter-spacing: .32em; text-transform: uppercase; opacity: .7; }
#loader .ld-borda.cima { top: 28px; }
#loader .ld-borda.baixo { bottom: 28px; }
#loader.sai { opacity: 0; transform: scale(1.04); transition: opacity .55s, transform .55s; pointer-events: none; }
@keyframes ld-traco { to { stroke-dashoffset: 0; } }
@keyframes ld-entra { to { opacity: 1; } }
@keyframes ld-some { to { opacity: 0; visibility: hidden; } }

/* ---------- Céu, palco e camadas fixas (só com animação) ---------- */
#ceu, #palco, #setas, #rotulos, #regiao, #hud, .veu { display: none; }
.m #ceu { display: block; position: fixed; inset: 0; z-index: 0; }
#ceu i { position: absolute; inset: 0; opacity: 0; }
#ceu .noite { opacity: 1; background: radial-gradient(ellipse at 62% 42%, #0E3263 0%, #001A39 58%, #000E22 100%); }
#ceu .madrugada { background: radial-gradient(ellipse at 62% 30%, #2B5E9E 0%, #12396B 50%, #06204A 100%); }
#ceu .papel { background: radial-gradient(ellipse at 60% 45%, #FBF8F0 0%, #F4EFE3 60%, #E6DDC7 100%); }
#ceu .royal { background: radial-gradient(ellipse at 62% 40%, #1F44B8 0%, #10296E 55%, #061638 100%); }
#ceu .aurora { background: linear-gradient(180deg, #071E44 0%, #2C3E66 38%, #8C6F45 72%, #E7C87A 100%); }
.m #palco { display: block; position: fixed; inset: 0; z-index: 1; pointer-events: none; }
#mundo { width: 100%; height: 100%; max-width: none; overflow: visible; }
.m #setas { display: block; position: fixed; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
#setas line { stroke: var(--dourado-claro); stroke-width: 1.4; }
#setas circle { fill: var(--dourado-claro); }
.claro #setas line { stroke: var(--marinho); }
.claro #setas circle { fill: var(--marinho); }
.m #rotulos { display: block; position: fixed; inset: 0; z-index: 3; pointer-events: none; }
.rot {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  padding: 7px 12px; border-radius: 8px;
  font: 700 14px/1.15 'Archivo', sans-serif; font-stretch: 110%; letter-spacing: .02em;
  color: #fff; background: rgba(0, 26, 57, .86); box-shadow: inset 0 0 0 1px rgba(231, 200, 122, .55);
  opacity: 0; will-change: transform, opacity;
}
.rot small { display: block; font-weight: 500; font-size: 12px; opacity: .8; margin-top: 2px; }
.rot.lanc { background: none; box-shadow: none; padding: 0; color: var(--marinho); font-size: 15px; font-stretch: 105%; }
.rot.lanc b { display: inline-block; width: 1.1em; color: var(--dourado-escuro); }
.rot.titulo-livro { background: none; box-shadow: none; padding: 0; color: var(--marinho); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; font-stretch: var(--larga); }
.rot.marca-rot { background: none; box-shadow: none; text-align: center; font-size: 26px; font-weight: 800; font-stretch: var(--larga); letter-spacing: .1em; padding: 0; }
.rot.marca-rot small { font-size: 11px; letter-spacing: .5em; font-weight: 500; }
.m #regiao { display: block; position: fixed; visibility: hidden; left: 44vw; right: 3vw; top: calc(var(--topo) + 5vh); bottom: 9vh; }
.m .veu { display: block; position: fixed; left: 0; right: 0; bottom: 0; height: 52svh; z-index: 1; pointer-events: none; opacity: 0; }
.veu.escuro { background: linear-gradient(to top, rgba(0, 18, 42, .96) 55%, rgba(0, 18, 42, 0)); }
.veu.claro { background: linear-gradient(to top, rgba(244, 239, 227, .97) 55%, rgba(244, 239, 227, 0)); }

/* HUD (avisos nos cantos, como num jogo) */
.m #hud {
  display: grid; justify-items: end; gap: 6px;
  position: fixed; right: clamp(16px, 3vw, 44px); bottom: 26px; z-index: 4; pointer-events: none;
  font: 600 11px/1.2 'Archivo', sans-serif; font-stretch: var(--larga); letter-spacing: .16em; text-transform: uppercase;
  transition: opacity .4s;
}
#hud .fase { display: flex; align-items: center; gap: 8px; }
#hud .tag { padding: 5px 8px; border-radius: 4px; color: var(--marinho); background: var(--cor-fase, var(--dourado)); transition: background-color .4s; }
#hud .linha-hud { opacity: .8; }
#hud .barra { width: 150px; height: 2px; background: rgba(255, 255, 255, .22); position: relative; overflow: hidden; }
#hud .barra i { position: absolute; inset: 0; background: var(--cor-fase, var(--dourado)); transform-origin: 0 50%; transform: scaleX(0); }
.claro #hud { color: var(--marinho); }
.claro #hud .barra { background: rgba(0, 26, 57, .2); }
#hud.fora { opacity: 0; }

/* ---------- Cenas ---------- */
main { position: relative; z-index: 5; }
.cena { position: relative; padding: calc(var(--topo) + 40px) clamp(16px, 6vw, 96px) 40px; }
.cena .fixo { display: grid; gap: 34px; max-width: 760px; }
.bloco { max-width: 640px; }
.chapeu { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font: 600 12.5px/1 'Archivo', sans-serif; font-stretch: var(--larga); letter-spacing: .22em; text-transform: uppercase; color: var(--dourado-claro); }
.chapeu::before { content: ''; width: 28px; height: 1.5px; background: currentColor; }
.bloco h1 { font-size: clamp(36px, 4.3vw, 64px); }
.bloco h2 { font-size: clamp(32px, 3.6vw, 56px); }
.bloco h2 em, .bloco h1 em { font-style: normal; color: var(--dourado-claro); }
.bloco > p:not([class]) { font-size: clamp(20px, 1.55vw, 25px); line-height: 1.5; margin-top: 18px; max-width: 34ch; }
.bloco .menor { font-size: clamp(17px, 1.2vw, 20px); line-height: 1.55; margin-top: 14px; opacity: .88; max-width: 40ch; }
.bloco .ano { font-size: clamp(76px, 10vw, 150px); font-weight: 800; font-stretch: var(--larga); line-height: .9; color: var(--dourado-claro); letter-spacing: -.02em; }
.lista-mini { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lista-mini li { padding: 7px 12px; border-radius: 999px; font: 600 14px/1 'Archivo', sans-serif; font-stretch: 110%; box-shadow: inset 0 0 0 1px rgba(231, 200, 122, .6); }
.linha-tempo { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; max-width: 30ch; }
.linha-tempo li { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: baseline; padding-top: 12px; border-top: 1px solid rgba(231, 200, 122, .45); font-size: 18px; line-height: 1.35; }
.linha-tempo b { font-size: 30px; font-stretch: var(--larga); color: var(--dourado-claro); }

/* Cartões (posts e fotos): na versão parada ficam no fluxo */
.fotos { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.foto { position: relative; display: block; padding: 0; border: 0; background: none; cursor: zoom-in; width: min(220px, 42vw); border-radius: 10px; overflow: hidden; box-shadow: var(--sombra); }
.foto img { width: 100%; height: auto; }
.foto figcaption, .foto .leg { position: absolute; left: 8px; bottom: 8px; padding: 4px 8px; border-radius: 6px; background: rgba(0, 26, 57, .85); color: #fff; font: 600 11.5px/1.2 'Archivo', sans-serif; letter-spacing: .03em; text-align: left; }
.poster { width: min(640px, 100%); height: auto; margin: 10px auto 0; }
@media (min-width: 761px) and (min-aspect-ratio: 4/5) {
  html:not(.m) .cena .fixo { max-width: 1280px; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); column-gap: 6vw; align-items: start; }
  html:not(.m) .cena .fixo > .bloco { grid-column: 1; }
  html:not(.m) .cena .fixo > .fotos, html:not(.m) .cena .fixo > .poster { grid-column: 2; grid-row: 1 / span 3; align-self: center; margin: 0; }
}

/* ---------- Com animação: palco único, cenas presas ---------- */
.m .cena { padding: 0; pointer-events: none; }
.m .cena .fixo { position: sticky; top: 0; height: 100svh; max-width: none; display: block; }
.m .bloco {
  position: absolute; left: clamp(16px, 6vw, 96px); top: 50%; width: min(36vw, 600px);
  transform: translateY(-50%); opacity: 0; pointer-events: none;
}
.m .bloco.ativo { pointer-events: auto; }
.m .poster { display: none; }
.m #c-abertura { height: 170vh; }
.m #c-raizes { height: 330vh; }
.m #c-perto { height: 260vh; }
.m #c-produtor { height: 440vh; }
.m #c-patrimonio { height: 320vh; }
.m #c-empresas { height: 420vh; }
.m #c-hoje { height: 300vh; }
.claro .m .bloco, .m.claro .bloco { color: var(--marinho); }
.m.claro .chapeu, .m.claro .bloco h2 em, .m.claro .bloco .ano, .m.claro .linha-tempo b { color: var(--dourado-escuro); }
.m.claro .lista-mini li, .m.claro .linha-tempo li { box-shadow: inset 0 0 0 1px rgba(0, 26, 57, .35); border-color: rgba(0, 26, 57, .3); }
.m.claro .botao.linha { color: var(--marinho); box-shadow: inset 0 0 0 1.5px var(--marinho); }
.m.claro .topo { background: transparent; color: var(--marinho); }
.m.claro .marca { color: var(--marinho); }
.m .topo { background: transparent; }
.m .topo.solido { background: var(--marinho); box-shadow: 0 1px 0 rgba(231, 200, 122, .25); }
.m.claro .topo.solido { background: var(--marinho); color: #fff; }
.m.claro .topo.solido .marca { color: #fff; }

/* fotos flutuantes sobre o palco */
.m .fotos { position: fixed; inset: 0; margin: 0; display: block; pointer-events: none; z-index: 4; }
.m .fotos .foto { position: absolute; opacity: 0; width: clamp(150px, 13vw, 210px); transform: translate3d(0, 30px, 0); will-change: transform, opacity; }
.m .fotos .foto.ativo { pointer-events: auto; }
.m .fotos .foto.alto { width: clamp(170px, 14vw, 230px); }

/* ---------- Leitura (texto longo, fora da animação) ---------- */
.leitura { position: relative; z-index: 6; background: var(--creme); color: var(--marinho); padding: clamp(80px, 11vw, 150px) clamp(16px, 6vw, 96px); }
.leitura .grade { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 6vw, 96px); max-width: 1280px; margin: 0 auto; align-items: start; }
.leitura .chapeu { color: var(--dourado-escuro); }
.leitura h2 { font-size: clamp(36px, 4.4vw, 68px); margin-bottom: 36px; }
.leitura .texto p { font-size: clamp(20px, 1.6vw, 25px); line-height: 1.6; margin-bottom: 1.1em; max-width: 36ch; }
.leitura .texto p.forte { font-weight: 700; font-stretch: 110%; }
.leitura .texto p.forte:last-child { color: var(--dourado-escuro); }
.leitura figure { margin: 0; position: sticky; top: calc(var(--topo) + 24px); }
.leitura .foto { width: 100%; border-radius: 14px; }
.leitura figcaption.legenda { margin-top: 12px; font-size: 15px; opacity: .8; }

/* ---------- Interativo ---------- */
.servicos { position: relative; z-index: 6; background: var(--marinho); padding: clamp(80px, 10vw, 140px) clamp(16px, 6vw, 96px); overflow: hidden; }
.servicos .grade { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); align-items: center; max-width: 1280px; margin: 0 auto; }
.servicos h2 { font-size: clamp(36px, 4.4vw, 68px); }
.servicos .texto p { font-size: clamp(20px, 1.5vw, 24px); margin-top: 18px; max-width: 30ch; }
.servicos .dica-toque { display: none; }
@media (hover: none) { .servicos .dica-mouse { display: none; } .servicos .dica-toque { display: block; } }
.campo { position: relative; aspect-ratio: 1 / .78; max-width: 720px; width: 100%; justify-self: center; }
.campo img { position: absolute; left: 6%; right: 6%; bottom: 0; width: 88%; height: auto; }
.icones { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.icones li { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.icone {
  display: grid; justify-items: center; gap: 8px; text-decoration: none; color: #fff;
  transform: translateY(40px); opacity: 0; transition: transform .7s cubic-bezier(.2, .9, .2, 1.2), opacity .5s;
  transition-delay: calc(var(--i) * 90ms);
}
.icone .disco {
  width: clamp(64px, 6.4vw, 92px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #12396B, var(--marinho) 70%);
  box-shadow: inset 0 0 0 2px var(--dourado), 0 14px 30px rgba(0, 8, 24, .55);
  transition: transform .3s, box-shadow .3s;
}
.icone .disco svg { width: 50%; height: 50%; fill: none; stroke: var(--dourado-claro); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icone .nome { position: absolute; top: 100%; margin-top: 8px; white-space: nowrap; padding: 6px 10px; border-radius: 6px; background: var(--creme); color: var(--marinho); font: 700 14px/1 'Archivo', sans-serif; font-stretch: 110%; opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .25s; pointer-events: none; }
.icone:hover .disco, .icone:focus-visible .disco { transform: translateY(-10px) scale(1.06); box-shadow: inset 0 0 0 2px var(--dourado-claro), 0 24px 40px rgba(0, 8, 24, .6); }
.icone:hover .nome, .icone:focus-visible .nome { opacity: 1; transform: translateY(0); }
.icone:focus-visible { outline: none; }
.icone:focus-visible .disco { outline: 3px solid var(--dourado-claro); outline-offset: 4px; }
.no-ar .icone, html:not(.js) .icone { transform: none; opacity: 1; }
@media (hover: none) {
  .icone .nome { position: static; opacity: 1; transform: none; margin-top: 0; background: none; color: #fff; font-size: 12.5px; padding: 0; white-space: normal; text-align: center; width: 92px; line-height: 1.2; }
}

/* ---------- Contato ---------- */
.contato { position: relative; z-index: 6; background: var(--creme); color: var(--marinho); padding: clamp(80px, 10vw, 140px) clamp(16px, 6vw, 96px) 60px; }
.contato .larga { max-width: 1280px; margin: 0 auto; }
.contato .chapeu { color: var(--dourado-escuro); }
.contato h2 { font-size: clamp(36px, 4.4vw, 68px); margin-bottom: 40px; }
.linhas { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--marinho); }
.linhas a { display: grid; grid-template-columns: 170px 1fr auto; gap: 16px; align-items: baseline; padding: 20px 0; border-bottom: 1.5px solid rgba(0, 26, 57, .25); text-decoration: none; transition: color .25s, padding .25s; }
.linhas a:hover { color: var(--azul); padding-left: 10px; }
.linhas .rot-c { font: 600 12.5px/1 'Archivo', sans-serif; font-stretch: var(--larga); letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.linhas .val { font-size: clamp(26px, 3.6vw, 56px); font-weight: 800; font-stretch: var(--larga); line-height: 1.05; letter-spacing: -.01em; }
.linhas .seta { font-size: clamp(22px, 2.4vw, 36px); }
.contato .baixo { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 4vw, 56px); margin-top: 56px; align-items: stretch; }
.contato .horas h3 { font-size: 22px; margin-bottom: 14px; }
.contato .horas p { font-size: 19px; }
.contato .status { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 14px; border-radius: 999px; background: var(--marinho); color: #fff; font: 600 14px/1 'Archivo', sans-serif; }
.contato .status::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #9aa5b5; }
.contato .status.aberto::before { background: #7BD389; box-shadow: 0 0 0 4px rgba(123, 211, 137, .25); }
.contato .foto { width: min(320px, 100%); margin-top: 28px; }
.mapa { min-height: 380px; border-radius: 14px; overflow: hidden; box-shadow: var(--sombra); background: #e7e1d2; }
.mapa iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

.rodape { position: relative; z-index: 6; background: var(--marinho); color: #fff; padding: 44px clamp(16px, 6vw, 96px); }
.rodape .larga { max-width: 1280px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.rodape p { font-size: 15px; opacity: .8; }

/* ---------- Galeria ---------- */
.galeria { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; background: rgba(0, 10, 26, .92); cursor: zoom-out; }
.galeria img { max-width: min(92vw, 1100px); max-height: 86svh; width: auto; height: auto; border-radius: 10px; box-shadow: var(--sombra); }
.galeria button { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--creme); color: var(--marinho); font: 700 24px/1 'Archivo', sans-serif; cursor: pointer; }

/* ---------- Celular e telas estreitas ---------- */
@media (max-width: 760px), (max-aspect-ratio: 4/5) {
  body { font-size: 18px; }
  .m #regiao { left: 4vw; right: 4vw; top: calc(var(--topo) + 1svh); bottom: auto; height: 44svh; }
  .m .bloco { left: 18px; right: 18px; width: auto; top: auto; bottom: 22px; transform: none; }
  .bloco h1 { font-size: clamp(32px, 8.4vw, 44px); }
  .bloco h2 { font-size: clamp(27px, 7vw, 38px); }
  .bloco > p:not([class]) { font-size: 19px; margin-top: 12px; }
  .bloco .menor { font-size: 16.5px; margin-top: 10px; }
  .bloco .ano { font-size: 74px; }
  .chapeu { font-size: 11.5px; margin-bottom: 12px; }
  .botoes { margin-top: 18px; }
  .linha-tempo li { grid-template-columns: 70px 1fr; font-size: 16px; padding-top: 8px; }
  .linha-tempo b { font-size: 24px; }
  .m #hud { right: 12px; left: auto; bottom: auto; top: calc(var(--topo) + 8px); gap: 4px; }
  #hud .linha-hud, #hud .barra { display: none; }
  .m .fotos .foto { width: clamp(96px, 26vw, 140px); }
  .m .fotos .foto.alto { width: clamp(100px, 28vw, 150px); }
  .rot { font-size: 12px; padding: 5px 8px; }
  .rot small { font-size: 10.5px; }
  .rot.lanc { font-size: 12.5px; }
  .rot.marca-rot { font-size: 20px; }
  .leitura .grade, .servicos .grade, .contato .baixo { grid-template-columns: 1fr; }
  .leitura figure { position: static; }
  .linhas a { grid-template-columns: 1fr auto; gap: 6px 12px; padding: 16px 0; }
  .linhas .rot-c { grid-column: 1 / -1; }
  .campo { aspect-ratio: 1 / 1.42; }
  .campo img { bottom: 0; }
  .icones li:nth-child(1) { --x: 17% !important; --y: 5% !important; }
  .icones li:nth-child(2) { --x: 50% !important; --y: 5% !important; }
  .icones li:nth-child(3) { --x: 83% !important; --y: 5% !important; }
  .icones li:nth-child(4) { --x: 17% !important; --y: 31% !important; }
  .icones li:nth-child(5) { --x: 50% !important; --y: 31% !important; }
  .icones li:nth-child(6) { --x: 83% !important; --y: 31% !important; }
  .icones li { transform: translate(-50%, 0); }
}
@media (max-height: 820px) and (min-width: 761px) {
  #hud .linha-hud.extra { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
