/* FloresCER — estilos. Cores e tipos seguem a logo do Projeto FloresCER. */

@font-face {
  font-family: "Fraunces";
  src: url("../fontes/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fontes/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fontes/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --marinho: #0E427D;
  --marinho-forte: #0A3261;
  --azul: #218DCE;
  --folha: #779434;
  --folha-escura: #5E7A2B;
  --ceu: #EEF5FB;
  --ceu-forte: #D9E9F6;
  --branco: #FFFFFF;
  --tinta: #17304F;
  --tinta-suave: #48607D;
  --erro: #A8261C;
  --titulo: "Fraunces", Georgia, "Times New Roman", serif;
  --texto: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --largura: 30rem;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--ceu);
  color: var(--tinta);
  font-family: var(--texto);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
h1, h2 { font-family: var(--titulo); color: var(--marinho); font-weight: 600; line-height: 1.15; margin: 0; text-wrap: balance; }
h1:focus, h2:focus { outline: none; }
p { margin: 0; }
a { color: var(--marinho); }
[hidden] { display: none !important; }

.so-leitor {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.aviso-js { margin: 0; padding: 1rem; background: var(--marinho); color: var(--branco); text-align: center; }

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

/* ------------------------------------------------------------- botões */

.botao {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.5rem; padding: 0 2rem;
  border: 2px solid transparent; border-radius: 999px;
  font: 600 1.125rem/1 var(--texto); text-decoration: none; cursor: pointer;
  transition: background-color .15s, transform .1s;
}
.botao-principal { background: var(--marinho); color: var(--branco); width: 100%; }
.botao-principal:hover { background: var(--marinho-forte); }
.botao-principal:active { transform: scale(.98); }
.botao-principal:disabled, .botao-principal[aria-disabled="true"] {
  background: #B9C8D8; color: #F4F8FB; cursor: not-allowed; transform: none;
}
.botao-secundario { background: transparent; color: var(--marinho); border-color: var(--marinho); }
.botao-secundario:hover { background: var(--ceu); }

.link {
  background: none; border: 0; padding: 0; font: inherit; color: var(--marinho);
  text-decoration: underline; cursor: pointer;
}

/* -------------------------------------------------------------- início */

.tela { width: 100%; margin: 0 auto; padding: 0 1.25rem; }

.tela-inicio {
  display: flex; flex-direction: column; min-height: 100dvh;
  padding-top: 1.5rem; padding-bottom: 7rem;
}
.inicio-grade { max-width: var(--largura); margin: 0 auto; text-align: center; }
.logo { width: min(15rem, 68%); height: auto; margin: 0 auto 1.25rem; }

.inicio-jardim { position: relative; }

/* A janela em arco: o jardim visto de dentro da casa. */
.janela {
  width: min(15rem, 66%); aspect-ratio: 4 / 5; margin: 0 auto;
  border-radius: 999px 999px 1.25rem 1.25rem;
  overflow: hidden; background: var(--ceu-forte);
  border: 6px solid var(--branco);
  box-shadow: 0 0 0 1px var(--ceu-forte);
}
.janela img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }

.provisoria { margin-top: .4rem; font-size: .8125rem; color: var(--tinta-suave); }

.contador {
  margin: .9rem auto 0; max-width: 21rem;
  font-size: 1rem; color: var(--marinho);
}
.contador strong { font-family: var(--titulo); font-size: 1.5rem; font-weight: 700; line-height: 1; }

.inicio-texto { margin-top: 1.75rem; }
.inicio-texto h1 { font-size: clamp(1.9rem, 7.6vw, 2.6rem); font-style: italic; font-weight: 600; letter-spacing: -.01em; }
.inicio-texto > p { margin-top: 1rem; color: var(--tinta); max-width: 34rem; margin-left: auto; margin-right: auto; }

/* No celular, o botão principal fica preso ao pé da tela. */
.inicio-acao {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 5;
  padding: .875rem 1.25rem calc(.875rem + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--ceu) 72%, rgba(238, 245, 251, 0));
}
.inicio-acao .botao { max-width: var(--largura); margin: 0 auto; display: flex; }
.situacao {
  display: none; max-width: var(--largura); margin: 0 auto; padding: 1rem 1.25rem;
  background: var(--branco); border-radius: 1rem; color: var(--marinho); font-weight: 600; text-align: center;
}
.inicio-acao[data-situacao="completo"] .botao, .inicio-acao[data-situacao="pausado"] .botao { display: none; }
.inicio-acao[data-situacao="completo"] #situacao-completo,
.inicio-acao[data-situacao="pausado"] #situacao-pausado { display: block; }

.rodape {
  margin-top: auto; padding-top: 2.5rem; text-align: center;
  font-size: .9375rem; color: var(--tinta-suave);
}
.rodape p + p { margin-top: .25rem; display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; }

/* -------------------------------------------------------------- etapas */

.tela-etapa { max-width: 40rem; padding-top: 1rem; padding-bottom: 7.5rem; }

.etapa-topo {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 2.75rem; font-size: .9375rem; color: var(--tinta-suave);
}
.voltar {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; padding-right: .75rem;
  font-weight: 600; text-decoration: none;
}
.voltar::before {
  content: ""; width: .6rem; height: .6rem; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.tela-etapa h2 { font-size: clamp(1.6rem, 6.4vw, 2.1rem); margin: .75rem 0 1.25rem; }

.galeria {
  border: 0; margin: 0; padding: 0; min-width: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .625rem;
}
.flor-cartao { position: relative; display: block; cursor: pointer; }
.flor-cartao input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.flor-moldura {
  display: block; padding: .6rem .4rem .2rem; background: var(--branco);
  border: 2px solid transparent; border-radius: 1.1rem 1.1rem .5rem .5rem;
  transition: border-color .12s, background-color .12s;
}
.flor-moldura img { width: 100%; height: auto; aspect-ratio: 120 / 170; }
.flor-nome { display: block; padding: .35rem 0 .2rem; text-align: center; font-size: .875rem; font-weight: 500; line-height: 1.2; }
.flor-cartao input:checked + .flor-moldura { border-color: var(--marinho); background: var(--ceu-forte); }
.flor-cartao input:checked ~ .flor-nome { color: var(--marinho); font-weight: 700; }
.flor-cartao input:focus-visible + .flor-moldura { outline: 3px solid var(--azul); outline-offset: 2px; }

.barra-acao {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 5;
  padding: .875rem 1.25rem calc(.875rem + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--ceu) 72%, rgba(238, 245, 251, 0));
}
.barra-acao .botao { max-width: 37.5rem; margin: 0 auto; display: flex; }

/* ---------------------------------------------------------- sentimento */

.sentimento { text-align: center; }
.sentimento-flor { width: 6.5rem; height: auto; margin: .5rem auto 0; }
.sentimento h2 { margin-top: .75rem; }
.sentimento h2 label { cursor: text; }

.campo { position: relative; max-width: 26rem; margin: 0 auto; }
.campo input {
  width: 100%; padding: .9rem 3.5rem .9rem 3.5rem;
  border: 0; border-bottom: 3px solid var(--marinho); border-radius: .75rem .75rem 0 0;
  background: var(--branco); color: var(--marinho);
  font: italic 600 1.75rem/1.2 var(--titulo); text-align: center;
}
.campo input::placeholder { color: #A9BBD0; font-weight: 400; }
.campo input:focus { outline: none; border-bottom-color: var(--azul); box-shadow: 0 0 0 3px rgba(33, 141, 206, .25); }
.campo input[aria-invalid="true"] { border-bottom-color: var(--erro); }
.campo-contagem {
  position: absolute; right: .75rem; bottom: .7rem;
  font-size: .8125rem; color: var(--tinta-suave); font-variant-numeric: tabular-nums;
}
.campo-erro { min-height: 1.5rem; margin-top: .6rem; color: var(--erro); font-weight: 600; font-size: 1rem; }
.campo-ajuda { max-width: 26rem; margin: .5rem auto 0; font-size: .9375rem; color: var(--tinta-suave); }
.armadilha { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.botao-principal.ocupado { pointer-events: none; opacity: .85; }

/* ------------------------------------------------------------- plantio */

.tela-plantio {
  min-height: 100dvh; max-width: 34rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding-top: 1.5rem; padding-bottom: 2.5rem; text-align: center;
}

.cena { position: relative; width: 100%; max-width: 20rem; height: 19rem; }
.cena-solo { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; }
.cena-planta {
  position: absolute; left: 50%; bottom: 1.75rem; width: 11.3rem; margin-left: -5.65rem; z-index: 1;
}
.cena-planta svg { width: 100%; height: auto; overflow: visible; }
.cena-planta .fc-haste { transform-box: fill-box; transform-origin: 50% 100%; }
.cena-planta .fc-flor { transform-box: fill-box; transform-origin: 50% 60%; }
.cena-semente {
  position: absolute; left: 50%; bottom: 1.9rem; z-index: 2;
  width: .9rem; height: 1.25rem; margin-left: -.45rem;
  background: #6A4324; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  opacity: 0;
}

.resultado { margin-top: .5rem; }
.resultado-palavra {
  font: italic 600 clamp(2.4rem, 11vw, 3.4rem)/1.05 var(--titulo); color: var(--marinho);
  overflow-wrap: anywhere; letter-spacing: -.01em;
}
.resultado h2 { margin-top: 1.1rem; font-size: 1.35rem; font-weight: 500; color: var(--tinta); font-family: var(--texto); line-height: 1.35; }
.resultado-numero {
  display: inline-block; margin-top: 1rem; padding: .45rem 1.1rem;
  background: var(--branco); border-radius: 999px;
  font-weight: 700; color: var(--marinho); font-variant-numeric: tabular-nums;
}
.resultado-detalhe { margin-top: .9rem; font-size: .9375rem; color: var(--tinta-suave); }

/* Estado inicial da animação: nada à vista. */
.cena.preparada .fc-haste { transform: scaleY(0); }
.cena.preparada .fc-flor { transform: scale(0); }
.tela-plantio.preparada .resultado > * { opacity: 0; }

/* A sequência: semente, haste, flor, palavra. Cerca de 4 segundos. */
.cena.rodando .cena-semente { animation: fc-semente 1.1s cubic-bezier(.5, 0, .9, .6) both; }
.cena.rodando .fc-haste { animation: fc-haste 1.4s cubic-bezier(.3, .7, .3, 1) 1s both; }
.cena.rodando .fc-flor { animation: fc-flor 1.1s cubic-bezier(.3, 1.4, .5, 1) 2.3s both; }
.tela-plantio.rodando .resultado-palavra { animation: fc-surgir .7s ease-out 3.3s both; }
.tela-plantio.rodando .resultado h2 { animation: fc-surgir .6s ease-out 3.9s both; }
.tela-plantio.rodando .resultado-numero { animation: fc-surgir .6s ease-out 4.1s both; }
.tela-plantio.rodando .resultado-detalhe { animation: fc-surgir .6s ease-out 4.3s both; }

@keyframes fc-semente {
  0% { opacity: 0; transform: translateY(-15rem) rotate(-20deg); }
  12% { opacity: 1; }
  78% { opacity: 1; transform: translateY(0) rotate(8deg); }
  100% { opacity: 0; transform: translateY(.5rem) rotate(8deg) scale(.7); }
}
@keyframes fc-haste { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes fc-flor { from { transform: scale(0) rotate(-25deg); } to { transform: scale(1) rotate(0); } }
@keyframes fc-surgir { from { opacity: 0; transform: translateY(.6rem); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .cena.rodando .cena-semente { animation: none; }
  .cena.rodando .fc-haste, .cena.rodando .fc-flor,
  .tela-plantio.rodando .resultado > *,
  .tela-plantio.rodando .resultado h2 { animation: fc-aparecer .4s ease-out both; }
  .botao { transition: none; }
}
@keyframes fc-aparecer { from { opacity: 0; } to { opacity: 1; } }

/* ------------------------------------------------------------- diálogo */

.dialogo {
  width: min(32rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem);
  padding: 1.5rem; border: 0; border-radius: 1.25rem; color: var(--tinta); background: var(--branco);
}
.dialogo::backdrop { background: rgba(10, 50, 97, .55); }
.dialogo h2 { font-size: 1.5rem; margin-bottom: .75rem; }
.dialogo p { margin-top: .75rem; font-size: 1rem; }
.dialogo form { margin-top: 1.5rem; text-align: right; }
.dialogo .botao { min-height: 3rem; }

/* ------------------------------------------------------- telas maiores */

@media (min-width: 30rem) {
  .galeria { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
}

@media (min-width: 56rem) {
  .tela-inicio { padding-top: 2.5rem; padding-bottom: 2rem; }
  .inicio-grade {
    max-width: 66rem; text-align: left;
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 4.5rem;
    grid-template-areas: "jardim marca" "jardim texto"; align-content: center; flex: 1;
  }
  .inicio-marca { grid-area: marca; align-self: end; }
  .inicio-jardim { grid-area: jardim; align-self: center; text-align: center; }
  .inicio-texto { grid-area: texto; margin-top: 1.5rem; align-self: start; }
  .logo { width: 15rem; margin: 0; }
  .janela { width: min(26rem, 100%); }
  .inicio-texto h1 { font-size: 3.1rem; }
  .inicio-texto > p { margin-left: 0; font-size: 1.125rem; }
  .inicio-acao { position: static; padding: 0; margin-top: 2rem; background: none; }
  .inicio-acao .botao { display: inline-flex; width: auto; margin: 0; padding: 0 2.75rem; }
  .situacao { margin: 0; text-align: left; }
  .galeria { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .tela-etapa { max-width: 46rem; padding-top: 2rem; }
  .barra-acao .botao { max-width: 20rem; }
}

/* =====================================================================
   ENTREGA 2 — nome de quem planta, card e jardim coletivo
   ===================================================================== */

.ver-jardim { margin-top: .5rem; font-size: 1rem; font-weight: 600; }
.ver-jardim a { display: inline-block; padding: .4rem .25rem; }

/* ------------------------------------------------- nome e sentimento */

.sentimento .sentimento-flor { width: 4.75rem; }
.sentimento .sentimento-titulo { margin: .35rem 0 1.25rem; font-size: 1.25rem; font-family: var(--texto); font-weight: 600; color: var(--tinta-suave); }
.rotulo { display: block; max-width: 26rem; margin: 0 auto .45rem; font-weight: 600; font-size: 1rem; color: var(--tinta); }
.rotulo-pergunta {
  margin-top: .75rem; margin-bottom: .8rem;
  font: 600 clamp(1.45rem, 5.8vw, 1.9rem)/1.18 var(--titulo); color: var(--marinho); text-wrap: balance;
}
.campo-nome input {
  padding: .85rem 1rem; font: 600 1.2rem/1.2 var(--texto); font-style: normal;
  border-bottom-width: 2px;
}
.campo-erro { min-height: 1.4rem; margin-top: .4rem; font-size: .9375rem; }

/* ------------------------------------------------------------ plantio */

.resultado-acao { margin-top: 1.5rem; }
.resultado-acao .botao { max-width: 20rem; }
.tela-plantio.rodando .resultado-acao { animation: fc-surgir .6s ease-out 4.6s both; }
@media (prefers-reduced-motion: reduce) {
  .tela-plantio.rodando .resultado-acao { animation: fc-aparecer .4s ease-out both; }
}

/* --------------------------------------------------------------- card */

.tela-card { max-width: 34rem; padding-top: 1.25rem; padding-bottom: 3rem; text-align: center; }
.logo-pequena { width: 9.5rem; margin: 0 auto 1rem; }
.tela-card h2 { font-size: clamp(1.6rem, 6.4vw, 2rem); font-style: italic; }
.card-texto { margin-top: .85rem; color: var(--tinta); }

.card-formatos {
  display: inline-flex; margin-top: 1.25rem; padding: .25rem;
  background: var(--branco); border-radius: 999px;
}
.formato {
  min-height: 2.5rem; padding: 0 1.25rem; border: 0; border-radius: 999px; background: transparent;
  font: 600 .9375rem/1 var(--texto); color: var(--tinta-suave); cursor: pointer;
}
.formato[aria-pressed="true"] { background: var(--marinho); color: var(--branco); }

.card-previa {
  width: min(12.5rem, 58%); margin: 1rem auto 0; aspect-ratio: 9 / 16;
  background: var(--ceu-forte); border-radius: 1rem; overflow: hidden;
  display: grid; place-items: center;
  box-shadow: 0 .5rem 1.5rem rgba(14, 66, 125, .16);
}
.card-previa[data-formato="quadrado"] { aspect-ratio: 1; width: min(19rem, 86%); }
.card-previa img { width: 100%; height: 100%; object-fit: contain; -webkit-touch-callout: default; }
.card-gerando { padding: 1rem; font-size: .9375rem; color: var(--tinta-suave); }
.card-dica { margin: .75rem auto 0; max-width: 22rem; font-size: .875rem; color: var(--tinta-suave); }

.card-acoes { display: grid; gap: .75rem; max-width: 22rem; margin: 1.25rem auto 0; }
.card-acoes .botao { width: 100%; }
.botao-texto { min-height: 3rem; color: var(--marinho); text-decoration: underline; background: transparent; }
.card-opcional { margin-top: .75rem; font-size: .875rem; color: var(--tinta-suave); }
.card-fecho { margin-top: 1.75rem; font: italic 500 1.25rem/1.3 var(--titulo); color: var(--marinho); }

/* ------------------------------------------------------------- jardim */

body.no-jardim { overflow: hidden; }
.tela-jardim {
  position: fixed; inset: 0; display: flex; flex-direction: column; background: var(--ceu);
  height: 100vh; height: 100dvh;
}
.jardim-topo {
  display: flex; align-items: center; gap: .75rem; flex: none;
  padding: .35rem 1rem; padding-top: calc(.35rem + env(safe-area-inset-top));
  background: var(--ceu);
}
.jardim-topo .voltar { flex: none; }
.jardim-contador { flex: 1; text-align: right; font-size: .9375rem; line-height: 1.25; color: var(--marinho); }
.jardim-contador strong { font-family: var(--titulo); font-size: 1.25rem; font-weight: 700; }

.jardim-palco { position: relative; flex: 1; min-height: 0; background: #C9DDB0; overflow: hidden; }
#jardim-tela { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; display: block; }
#jardim-tela:active { cursor: grabbing; }
#jardim-tela:focus-visible { outline: 3px solid var(--azul); outline-offset: -3px; border-radius: 0; }

.jardim-provisoria {
  position: absolute; left: .75rem; top: .75rem; padding: .3rem .7rem;
  background: rgba(255, 255, 255, .88); border-radius: 999px; font-size: .8125rem; color: var(--tinta);
  pointer-events: none;
}
.jardim-aviso {
  position: absolute; left: 50%; top: 3.25rem; transform: translateX(-50%); width: max-content; max-width: calc(100% - 2rem);
  padding: .5rem 1rem; background: var(--branco); border-radius: .75rem; font-size: .9375rem; color: var(--erro); font-weight: 600;
}
.jardim-aviso:empty { display: none; }

.jardim-controles {
  position: absolute; right: .75rem; top: .75rem;
  display: flex; flex-direction: column; align-items: flex-end; gap: .5rem;
}
.controle {
  width: 2.875rem; height: 2.875rem; border: 0; border-radius: 50%;
  background: var(--branco); color: var(--marinho); font: 600 1.6rem/1 var(--texto); cursor: pointer;
  box-shadow: 0 .15rem .5rem rgba(14, 66, 125, .28);
}
.controle-texto { width: auto; padding: 0 1.1rem; border-radius: 999px; font-size: .9375rem; background: var(--marinho); color: var(--branco); }

.ficha {
  position: absolute; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom));
  max-width: 24rem; margin: 0 auto; padding: .75rem 2.75rem .75rem .75rem;
  display: flex; align-items: center; gap: .9rem;
  background: var(--branco); border-radius: 1.1rem; box-shadow: 0 .4rem 1.5rem rgba(14, 66, 125, .3);
}
.ficha img { width: 3.6rem; height: auto; flex: none; }
.ficha-numero { font-weight: 700; color: var(--marinho); font-variant-numeric: tabular-nums; }
.ficha-linha { font-size: .9375rem; line-height: 1.4; overflow-wrap: anywhere; }
.ficha-linha strong { font: italic 600 1.15rem/1.2 var(--titulo); color: var(--marinho); }
.ficha-linha:empty { display: none; }
.ficha-fechar {
  position: absolute; right: .35rem; top: .35rem; width: 2.5rem; height: 2.5rem;
  border: 0; background: transparent; color: var(--tinta-suave); font-size: 1.6rem; line-height: 1; cursor: pointer;
}

@media (min-width: 56rem) {
  .jardim-topo { padding: .6rem 1.5rem; }
  .jardim-contador { font-size: 1.0625rem; }
  .card-previa { width: 13.5rem; }
  .card-previa[data-formato="quadrado"] { width: 21rem; }
}
.ficha.ficha-topo { bottom: auto; top: .75rem; right: 4.5rem; margin: 0; }
@media (min-width: 56rem) { .ficha.ficha-topo { right: auto; left: 50%; transform: translateX(-50%); width: 24rem; } }

/* Jardim em tela cheia: a fotografia ocupa a tela inteira e os controles flutuam por cima dela. */
.tela-jardim { display: block; background: #1B2B3C; }
.jardim-palco { position: absolute; inset: 0; background: #1B2B3C; }
.jardim-topo {
  position: absolute; z-index: 3; left: 0; right: 0; top: 0; background: none; pointer-events: none;
  align-items: flex-start; justify-content: space-between;
  padding: .75rem; padding-top: calc(.75rem + env(safe-area-inset-top));
}
.jardim-topo > * { pointer-events: auto; }
.jardim-topo .voltar, .jardim-contador {
  background: rgba(255, 255, 255, .94); border-radius: 999px; box-shadow: 0 .15rem .5rem rgba(14, 66, 125, .28);
}
.jardim-topo .voltar { min-height: 2.875rem; padding: 0 1.1rem 0 .95rem; }
.jardim-contador { flex: 0 1 auto; max-width: 64%; margin: 0; padding: .5rem 1rem; text-align: center; border-radius: 1.4rem; }
.jardim-controles { top: auto; bottom: calc(.75rem + env(safe-area-inset-bottom)); right: .75rem; }
.jardim-provisoria { top: auto; bottom: calc(.75rem + env(safe-area-inset-bottom)); left: .75rem; }
.ficha { bottom: calc(4.25rem + env(safe-area-inset-bottom)); }
.ficha.ficha-topo { top: 4.75rem; right: .75rem; }
@media (min-width: 56rem) {
  .jardim-topo { padding: 1rem 1.25rem; }
  .jardim-controles { right: 1.25rem; bottom: 1.25rem; }
  .jardim-provisoria { left: 1.25rem; bottom: 1.25rem; }
  .ficha { bottom: 1.25rem; }
  .ficha.ficha-topo { top: 5rem; right: auto; }
}

/* Marcas do projeto e da comunidade no topo do jardim, em quadro branco para ler bem sobre qualquer fotografia. */
.jardim-marca {
  position: absolute; z-index: 4; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 1.5rem);
  top: calc(.6rem + env(safe-area-inset-top));
  display: flex; align-items: center; gap: .75rem; padding: .5rem 1rem;
  background: rgba(255, 255, 255, .96); border-radius: 1rem; box-shadow: 0 .15rem .6rem rgba(14, 66, 125, .3);
  pointer-events: none;
}
.jardim-marca img { display: block; width: auto; }
.jardim-marca .marca-projeto { height: 2.3rem; }
.jardim-marca .marca-cer { height: 1.65rem; }
.jardim-marca i { display: block; width: 1px; height: 1.8rem; background: #C5D5E5; }
/* No celular, as marcas ficam em uma linha própria e o "Voltar" e o contador descem. */
.jardim-topo { top: 3.85rem; }
.ficha.ficha-topo { top: 8.9rem; }
@media (min-width: 56rem) {
  .jardim-marca { top: .85rem; gap: 1rem; padding: .55rem 1.25rem; }
  .jardim-marca .marca-projeto { height: 2.9rem; }
  .jardim-marca .marca-cer { height: 2.1rem; }
  .jardim-marca i { height: 2.2rem; }
  .jardim-topo { top: 0; }
  .jardim-contador { max-width: 32%; }
  .ficha.ficha-topo { top: 5.6rem; }
}
