/* Studio Saurix Fit — marca do Studio Saurix (manual v1.0).
   Paleta: verde militar #3B4630 · terracota #8F3426 · petróleo #1F3A3D ·
   petróleo claro #A9CDD0 · dourado #C9A45C · marfim #FAF4EC. Nada fora disso.
   Contraste: escura nunca sobre escura, clara nunca sobre clara (manual p. 13).
   Fontes: Outfit SemiBold (títulos), Outfit Light caixa alta (rótulos), Manrope (texto). */

:root, :root[data-theme="light"] {
  --militar: #3B4630; --terracota: #8F3426; --petroleo: #1F3A3D;
  --petroleo-claro: #A9CDD0; --dourado: #C9A45C; --marfim: #FAF4EC;

  --fundo: var(--marfim);
  --texto: var(--petroleo);                       /* 11.1:1 */
  --suave: rgba(31, 58, 61, .74);
  --cartao: rgba(59, 70, 48, .07);
  --cartao-forte: rgba(59, 70, 48, .12);
  --linha: rgba(31, 58, 61, .14);
  --acento: var(--militar);                        /* botão: marfim sobre militar 9.1:1 */
  --acento-texto: var(--marfim);
  --destaque: var(--terracota);                    /* ícones e aba ativa: 7.2:1 */
  --selo-fundo: var(--dourado); --selo-texto: var(--petroleo);   /* 5.2:1 */
  --alerta: var(--terracota);
  --logo-saurix: var(--militar); --logo-studio: var(--dourado); --logo-tag: var(--militar);   /* combinação 08 */
  --sombra: 0 10px 30px rgba(31, 58, 61, .10);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --fundo: var(--petroleo);
  --texto: var(--marfim);                          /* 11.1:1 */
  --suave: rgba(250, 244, 236, .76);
  --cartao: rgba(250, 244, 236, .07);
  --cartao-forte: rgba(250, 244, 236, .12);
  --linha: rgba(250, 244, 236, .16);
  --acento: var(--dourado);                        /* petróleo sobre dourado 5.2:1 */
  --acento-texto: var(--petroleo);
  --destaque: var(--petroleo-claro);               /* 7.1:1 */
  --selo-fundo: var(--petroleo-claro); --selo-texto: var(--petroleo);
  --alerta: var(--dourado);
  --logo-saurix: var(--dourado); --logo-studio: var(--petroleo-claro); --logo-tag: var(--marfim);   /* combinação 05 */
  --sombra: 0 10px 30px rgba(0, 0, 0, .25);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
/* Modo simples: pra quem prefere letra e botão maiores (pedido do áudio: "mais
   facilitado pras pessoas mais velhas"). Tudo é em rem, então escala junto. */
html.simples { font-size: 19px; }
body {
  margin: 0; background: var(--fundo); color: var(--texto);
  font: 400 1rem/1.55 Manrope, system-ui, sans-serif;
  -webkit-tap-highlight-color: transparent;
  min-height: 100dvh;
}
body.travado { overflow: hidden; }
h1, h2, h3 { font-family: Outfit, system-ui, sans-serif; font-weight: 600; line-height: 1.2; margin: 0; letter-spacing: -.01em; }
h1 { font-size: 1.25rem; } h2 { font-size: 1.2rem; } h3 { font-size: 1.02rem; }
p { margin: .25rem 0; }
a { color: inherit; }
img { max-width: 100%; }
svg { width: 1.35em; height: 1.35em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.logo, .simbolo { stroke: none; width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--destaque); outline-offset: 2px; border-radius: 10px; }

.suave { color: var(--suave); }
.pequeno, small { font-size: .82rem; }
.rotulo { font-family: Outfit, sans-serif; font-weight: 300; text-transform: uppercase; letter-spacing: .3em; font-size: .72rem; color: var(--suave); margin: 0 0 .35rem; }
.erro { color: var(--alerta); font-weight: 600; }
[hidden] { display: none !important; }

/* ── Entrada (login) ─────────────────────────────────────────────────────── */
.entrada { min-height: 100dvh; max-width: 440px; margin: 0 auto; padding: max(48px, env(safe-area-inset-top)) 24px 40px;
  display: flex; flex-direction: column; justify-content: center; gap: 14px; text-align: center; }
.entrada-logo { width: min(280px, 78%); margin: 0 auto 8px; }
.entrada h1 { font-size: 1.5rem; margin-bottom: 12px; }
.carregando { color: var(--suave); text-align: center; padding: 40px 0; }

/* ── Estrutura ───────────────────────────────────────────────────────────── */
.faixa-demo { background: var(--dourado); color: var(--petroleo); font-size: .8rem; font-weight: 600; text-align: center;
  padding: calc(6px + env(safe-area-inset-top)) 12px 6px; display: flex; gap: 10px; justify-content: center; align-items: center; }
.faixa-demo button { background: none; border: 1.5px solid currentColor; border-radius: 99px; padding: 2px 10px; font-weight: 700; font-size: .78rem; cursor: pointer; }
.topo { position: sticky; top: 0; z-index: 5; background: var(--fundo); display: flex; align-items: center; gap: 4px;
  padding: 10px 12px; padding-top: max(10px, env(safe-area-inset-top)); border-bottom: 1px solid var(--linha); }
.faixa-demo + .topo { padding-top: 10px; }
.topo h1 { flex: 1; font-size: 1.2rem; padding-left: 4px; }
.topo-marca { width: 8px; }
.icone-botao { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  background: none; border: 0; color: var(--texto); cursor: pointer; text-decoration: none; flex: none; }
.icone-botao:hover { background: var(--cartao); }
.icone-botao:disabled { opacity: .35; cursor: default; }
.bolinha { position: absolute; top: 9px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--alerta); box-shadow: 0 0 0 2px var(--fundo); }
.conteudo { max-width: 640px; margin: 0 auto; padding: 16px 16px calc(96px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 14px; }
.tabbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 5; display: flex; justify-content: space-around;
  background: var(--fundo); border-top: 1px solid var(--linha); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
.tabbar a { flex: 1; max-width: 120px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none;
  color: var(--suave); font-size: .74rem; font-weight: 600; padding: 6px 0; border-radius: 14px; }
.tabbar a svg { width: 1.5em; height: 1.5em; }
.tabbar a[aria-current="page"] { color: var(--destaque); }
.tabbar a[aria-current="page"] svg { stroke-width: 2.2; }

/* ── Peças ───────────────────────────────────────────────────────────────── */
.cartao { background: var(--cartao); border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; border: 0; }
.cartao.destaque { background: var(--cartao-forte); padding: 20px; }
.pilha { display: flex; flex-direction: column; gap: 10px; }
.linha { display: flex; gap: 8px; flex-wrap: wrap; }
.botao { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px;
  border-radius: 99px; border: 1.5px solid var(--linha); background: transparent; color: var(--texto);
  font-weight: 700; text-decoration: none; cursor: pointer; }
.botao.primario { background: var(--acento); color: var(--acento-texto); border-color: var(--acento); }
.botao.perigo { color: var(--alerta); border-color: currentColor; }
.botao.largo { width: 100%; }
.botao.grande { min-height: 54px; font-size: 1.05rem; }
.botao.pilula { min-height: 38px; padding: 6px 16px; font-size: .9rem; }
.botao.pequeno-botao { min-height: 36px; padding: 4px 14px; font-size: .85rem; }
.botao:disabled { opacity: .5; cursor: default; }
.link { color: var(--destaque); font-weight: 700; text-decoration: none; align-self: flex-start; }
.selo { display: inline-block; align-self: flex-start; background: var(--selo-fundo); color: var(--selo-texto); font-size: .76rem; font-weight: 700;
  padding: 3px 10px; border-radius: 99px; }
.selo-alerta { background: var(--alerta); color: var(--marfim); }
:root[data-theme="dark"] .selo-alerta { color: var(--petroleo); }
.selo-linha { display: flex; align-items: center; gap: 6px; color: var(--destaque); font-weight: 700; font-size: .9rem; }
.contador { background: var(--alerta); color: var(--marfim); border-radius: 99px; font-size: .75rem; font-weight: 700; padding: 1px 8px; }
:root[data-theme="dark"] .contador { color: var(--petroleo); }

.lista { display: flex; flex-direction: column; background: var(--cartao); border-radius: 22px; overflow: hidden; }
.item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; min-height: 56px; text-decoration: none; color: inherit;
  background: none; border: 0; border-bottom: 1px solid var(--linha); text-align: left; width: 100%; cursor: pointer; }
.item:last-child { border-bottom: 0; }
.item > svg:first-child { color: var(--destaque); }
.item > span:not(.chave):not(.contador):not(.estrela):not(.avatar) { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.item small { color: var(--suave); }
.item > svg:last-child { color: var(--suave); width: 1.1em; }
.item.sair { margin-top: 10px; background: var(--cartao); border-radius: 22px; color: var(--alerta); }

.secao-titulo { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.ola { font-family: Outfit, sans-serif; font-weight: 600; font-size: 1.6rem; line-height: 1.1; }
.data-hoje { margin-top: -10px; }

.vazio { text-align: center; padding: 28px 16px; color: var(--suave); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.vazio .simbolo { width: 120px; color: var(--destaque); opacity: .55; }

.abas { display: flex; gap: 4px; background: var(--cartao); border-radius: 99px; padding: 4px; }
.abas a { flex: 1; text-align: center; padding: 9px 6px; border-radius: 99px; text-decoration: none; font-weight: 700; font-size: .92rem; color: var(--suave); }
.abas a[aria-selected="true"] { background: var(--acento); color: var(--acento-texto); }

/* Formulários */
.campo { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--suave); }
.campo input, .campo select, .campo textarea, .busca input, .serie input {
  min-height: 46px; border: 1.5px solid var(--linha); border-radius: 14px; background: var(--fundo); color: var(--texto);
  padding: 10px 12px; font-size: 1rem; font-weight: 400; width: 100%; }
.campo input:disabled { opacity: .75; background: var(--cartao); }
.campo textarea { resize: vertical; }
.duas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tres-campos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
fieldset { border: 0; margin: 0; }
legend { font-weight: 700; padding: 0; margin-bottom: 8px; }
.marcar-linha { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.marcar-linha input { width: 22px; height: 22px; accent-color: var(--acento); flex: none; margin-top: 1px; }
.busca { display: flex; align-items: center; gap: 8px; position: relative; }
.busca svg { position: absolute; left: 14px; color: var(--suave); }
.busca input { padding-left: 44px; border-radius: 99px; }
.rodape-acoes { display: flex; gap: 10px; position: sticky; bottom: calc(70px + env(safe-area-inset-bottom)); background: var(--fundo); padding: 10px 0; }
.rodape-acoes .botao { flex: 1; }

/* Início */
.checkin h2, .destaque h2 { font-size: 1.3rem; }
.cartao.alerta { flex-direction: row; align-items: center; gap: 12px; border: 1.5px solid var(--alerta); background: transparent; }
.cartao.alerta > svg:first-child { color: var(--alerta); }
.cartao.alerta span { flex: 1; display: flex; flex-direction: column; }
.aviso-simples { flex-direction: row; gap: 12px; align-items: flex-start; }
.aviso-simples > svg { color: var(--destaque); width: 1.8em; height: 1.8em; }
.grade-atalhos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.atalho { background: var(--cartao); border-radius: 22px; padding: 16px 8px; min-height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center; text-decoration: none; font-weight: 600; font-size: .86rem; line-height: 1.25; }
.atalho svg { color: var(--destaque); width: 1.7em; height: 1.7em; }

.carrossel-trilho { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; scrollbar-width: none; border-radius: 22px; }
.carrossel-trilho::-webkit-scrollbar { display: none; }
.banner { flex: 0 0 100%; scroll-snap-align: start; border-radius: 22px; padding: 22px 20px 26px; min-height: 160px; position: relative; overflow: hidden;
  color: var(--marfim); display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.banner h3 { font-size: 1.3rem; max-width: 72%; position: relative; }
.banner p { max-width: 70%; position: relative; color: rgba(250, 244, 236, .9); }
.banner-militar { background: var(--militar); }
.banner-terracota { background: var(--terracota); }
.banner-petroleo { background: var(--petroleo); }
:root[data-theme="dark"] .banner-petroleo { background: var(--militar); }
.banner-ri { position: absolute; right: -22px; top: -14px; width: 124px; color: var(--dourado); opacity: .9; }
.pontos { display: flex; gap: 6px; justify-content: center; margin-top: 10px; }
.pontos span { width: 7px; height: 7px; border-radius: 99px; background: var(--linha); transition: width .2s; }
.pontos span.ativo { width: 20px; background: var(--destaque); }

/* Grade */
.data-destaque { display: flex; align-items: center; gap: 6px; }
.data-destaque h2 { flex: 1; text-align: center; font-size: 1.1rem; }
.semana { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.dia { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0; border-radius: 99px; border: 0; background: var(--cartao); cursor: pointer; }
.dia small { font-size: .7rem; color: var(--suave); font-weight: 700; }
.dia b { font-family: Outfit, sans-serif; font-size: 1.05rem; }
.dia.hoje { box-shadow: inset 0 0 0 1.5px var(--destaque); }
.dia.ativo { background: var(--acento); color: var(--acento-texto); }
.dia.ativo small { color: inherit; }
.grade-barra { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.filtro { display: flex; align-items: center; gap: 6px; border: 1.5px solid var(--linha); border-radius: 99px; padding: 0 12px; color: var(--destaque); }
.filtro select { border: 0; background: none; min-height: 38px; color: var(--texto); font-weight: 600; max-width: 160px; }
.aula { flex-direction: row; align-items: center; gap: 12px; }
.aula-hora { display: flex; flex-direction: column; align-items: center; min-width: 58px; font-family: Outfit, sans-serif; }
.aula-hora b { font-size: 1.15rem; }
.aula-hora small { color: var(--suave); font-family: Manrope, sans-serif; }
.aula-info { flex: 1; min-width: 0; }
.aula-acao { flex: none; text-align: right; max-width: 120px; }
.aula.reservada { box-shadow: inset 4px 0 0 var(--destaque); }
.aula.passada { opacity: .6; }

/* Perfil */
.perfil-cartao { flex-direction: row; align-items: center; gap: 14px; }
.avatar { position: relative; width: 76px; height: 76px; border-radius: 50%; background: var(--acento); color: var(--acento-texto);
  display: grid; place-items: center; font-family: Outfit, sans-serif; font-weight: 600; font-size: 1.5rem; flex: none; cursor: pointer; overflow: visible; }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.avatar-cam { position: absolute; right: -2px; bottom: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--dourado); color: var(--petroleo);
  display: grid; place-items: center; box-shadow: 0 0 0 3px var(--fundo); }
.avatar-cam svg { width: 16px; height: 16px; }
.avatar.mini { width: 40px; height: 40px; font-size: .9rem; cursor: inherit; }
.grade-atalhos.tres .atalho { min-height: 88px; }
.chave { width: 46px; height: 28px; border-radius: 99px; background: var(--linha); position: relative; flex: none; transition: background .2s; }
.chave::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--fundo); transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.chave.on { background: var(--acento); }
.chave.on::after { transform: translateX(18px); }
.sair-botao { color: var(--alerta); }

/* Planos e medidas */
.plano h2 { font-size: 1.4rem; }
.valor { font-family: Outfit, sans-serif; font-weight: 600; font-size: 1.6rem; color: var(--destaque); }
.dados-lista { margin: 0; display: flex; flex-direction: column; }
.dados-lista div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--linha); }
.dados-lista div:last-child { border-bottom: 0; }
.dados-lista dt { color: var(--suave); }
.dados-lista dd { margin: 0; font-weight: 700; text-align: right; }
.medidas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 4px 0; }
.medidas div { background: var(--cartao); border-radius: 14px; padding: 10px; }
.medidas dt { font-size: .75rem; color: var(--suave); }
.medidas dd { margin: 0; font-weight: 700; font-family: Outfit, sans-serif; font-size: 1.05rem; display: flex; flex-direction: column; }
.medidas small { font-family: Manrope, sans-serif; font-weight: 600; font-size: .72rem; color: var(--suave); }
.medidas small.baixou, .medidas small.subiu { color: var(--destaque); }
.obs { border-left: 3px solid var(--dourado); padding-left: 10px; color: var(--suave); }

/* Treino */
.treino-cartao { flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; }
.treino-cartao > div { display: flex; flex-direction: column; gap: 4px; }
.exercicio-topo { display: flex; align-items: center; gap: 12px; }
.exercicio-topo h3 { flex: 1; }
.num { width: 32px; height: 32px; border-radius: 50%; background: var(--acento); color: var(--acento-texto); display: grid; place-items: center; font-weight: 700; flex: none; font-family: Outfit, sans-serif; }
.exercicio.feito .num { background: var(--dourado); color: var(--petroleo); }
details summary { cursor: pointer; font-weight: 700; color: var(--destaque); }
.series { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.serie { display: grid; grid-template-columns: 34px 1fr 1fr 48px; gap: 8px; align-items: end; }
.serie label { display: flex; flex-direction: column; font-size: .72rem; color: var(--suave); font-weight: 600; gap: 2px; }
.serie input { min-height: 44px; text-align: center; font-weight: 700; }
.serie-n { font-weight: 700; align-self: center; color: var(--suave); }
.marcar { width: 48px; height: 46px; border-radius: 14px; border: 1.5px solid var(--linha); background: none; color: var(--suave); display: grid; place-items: center; cursor: pointer; }
.marcar.on { background: var(--acento); border-color: var(--acento); color: var(--acento-texto); }
.serie.feita input { opacity: .7; }
.historico { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }

/* Biblioteca */
.grupo summary { list-style: none; display: flex; align-items: center; gap: 12px; color: var(--texto); }
.grupo summary::-webkit-details-marker { display: none; }
.grupo summary > span:last-child { display: flex; flex-direction: column; }
.grupo summary small { color: var(--suave); font-weight: 400; }
.mini { width: 46px; height: 46px; border-radius: 14px; background: var(--acento); color: var(--acento-texto); display: grid; place-items: center;
  font-family: Outfit, sans-serif; font-weight: 600; flex: none; }
.grupo ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.grupo li { border-top: 1px solid var(--linha); padding-top: 10px; }

/* PAR-Q, termos, unidade */
.pergunta legend { font-weight: 600; line-height: 1.45; }
.sim-nao { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sim-nao label { position: relative; }
.sim-nao input { position: absolute; opacity: 0; inset: 0; }
.sim-nao span { display: block; text-align: center; padding: 12px; border-radius: 99px; border: 1.5px solid var(--linha); font-weight: 700; cursor: pointer; }
.sim-nao input:checked + span { background: var(--acento); color: var(--acento-texto); border-color: var(--acento); }
.sim-nao input:focus-visible + span { outline: 3px solid var(--destaque); outline-offset: 2px; }
.alerta-texto { border: 1.5px solid var(--alerta); background: transparent; }
.texto-longo p { margin: 0 0 10px; }
.unidade { align-items: center; text-align: center; padding: 24px; }
.unidade-logo { width: min(240px, 80%); }
.parq-respostas { margin: 8px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: .9rem; }
.dias-escolha { display: flex; flex-wrap: wrap; gap: 6px; }
.dias-escolha label { position: relative; }
.dias-escolha input { position: absolute; opacity: 0; inset: 0; }
.dias-escolha span { display: block; padding: 8px 12px; border-radius: 99px; border: 1.5px solid var(--linha); font-weight: 700; cursor: pointer; }
.dias-escolha input:checked + span { background: var(--acento); color: var(--acento-texto); border-color: var(--acento); }
.acoes-mini { display: flex; }
.acoes-mini .icone-botao { width: 38px; height: 38px; font-weight: 700; }
.estrela { color: var(--linha); }
.estrela.on { color: var(--dourado); }
.estrela.on svg { fill: currentColor; }
.contagem { text-align: center; }

/* Folha (de baixo) e menu lateral */
.folha { position: fixed; inset: 0; z-index: 20; }
.folha-fundo { position: absolute; inset: 0; background: rgba(31, 58, 61, .45); }
.folha-corpo { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88dvh; overflow: auto; background: var(--fundo); border-radius: 26px 26px 0 0;
  padding: 18px 16px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; box-shadow: var(--sombra); max-width: 640px; margin: 0 auto; }
.folha-corpo.lateral { left: auto; top: 0; bottom: 0; width: min(340px, 88vw); max-height: none; border-radius: 26px 0 0 26px; padding-top: max(18px, env(safe-area-inset-top)); }
.menu-topo { display: flex; align-items: center; justify-content: space-between; }
.rolavel { max-height: 55dvh; overflow: auto; }
.grupo-rotulo { padding: 12px 16px 4px; margin: 0; }

.aviso { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 30;
  background: var(--petroleo); color: var(--marfim); padding: 12px 18px; border-radius: 16px; font-weight: 600; max-width: min(92vw, 520px); box-shadow: var(--sombra); }
:root[data-theme="dark"] .aviso { background: var(--marfim); color: var(--petroleo); }
.aviso.erro { background: var(--terracota); color: var(--marfim); }

/* Modo simples: menos detalhe, alvo maior. */
html.simples .grade-atalhos { grid-template-columns: repeat(2, 1fr); }
html.simples .atalho { min-height: 110px; font-size: .95rem; }
html.simples .banner p { font-size: .95rem; }
html.simples .semana { gap: 4px; }
html.simples .tres-campos { grid-template-columns: 1fr; }

@media (min-width: 720px) {
  .grade-atalhos { grid-template-columns: repeat(4, 1fr); }
  html.simples .grade-atalhos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 360px) {
  .duas { grid-template-columns: 1fr; }
  .medidas { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
