/* links.css — a página de links da bio (autocontida: não depende das classes do site.css), na linguagem da parede de cardápios do site (DESIGN.md, "a noite em cena"):
   o damasco preto como parede, os impressos pendurados com plaquinha de latão, e todo o resto em texto,
   linha por linha, como numa carta: título em Swagume, detalhe em versalete, filete dourado entre as linhas.
   Entrada abaixo de 1 s, só CSS: as peças descem de leve, uma depois da outra. */

@font-face { font-family: 'Avenir UNV'; src: url(../assets/fontes/avenir-roman.woff2?v=2652a4e3) format('woff2'); font-weight: 300 450; font-display: swap; }
@font-face { font-family: 'Avenir UNV'; src: url(../assets/fontes/avenir-medium.woff2?v=10df9f82) format('woff2'); font-weight: 451 900; font-display: swap; }
.pagina-links { --avenir: 'Avenir UNV', 'Figtree', sans-serif; font-family: var(--avenir); isolation: isolate; min-height: 100svh; background: linear-gradient(rgba(11,11,11,.9), rgba(11,11,11,.9)), #141012 url(../assets/textura/damasco-preto.webp?v=50bdc786) center top / 720px auto repeat; }
html:has(.pagina-links) { background: #141012; }

/* o logo do brandbook (Drive, Brand Book UNV), centrado no topo */
.marca-topo { margin: 6px 0 30px; text-align: center; line-height: 0; }
.marca-topo a { display: inline-block; }
.marca-topo img { width: clamp(150px, 42vw, 190px); height: auto; filter: drop-shadow(0 4px 18px rgba(0,0,0,.6)); }

/* o que o site.css de 07/11 deixou de trazer: estrela, título de seção e galeria */
.est { width: 1em; height: 1.08em; fill: var(--ouro); flex: none; }

.links { position: relative; isolation: isolate; width: min(100%, 560px); margin: 0 auto;
  padding: calc(18px + env(safe-area-inset-top)) var(--margem) calc(40px + env(safe-area-inset-bottom)); }

/* as linhas: cada link é uma linha da carta */
.linhas { display: grid; border-top: 1px solid rgba(207,174,75,.38); }
.linha { display: grid; grid-template-columns: 1fr auto; grid-template-areas: 't e' 'd e'; align-items: center; column-gap: 16px;
  min-height: 64px; padding: 14px 2px 15px; border-bottom: 1px solid rgba(207,174,75,.38);
  color: var(--creme); text-decoration: none; }
.linha .t { grid-area: t; font: 400 23px/1.05 var(--lora);   /* nome do botão: Lora */ transition: color .35s var(--curva), translate .45s var(--curva); }
.linha small { grid-area: d; margin-top: 5px; font: 700 10.5px/1.3 var(--avenir); text-transform: uppercase; letter-spacing: .14em;
  color: rgba(244,238,230,.62); transition: translate .45s var(--curva); }
.linha .est { grid-area: e; width: 13px; height: 14px; opacity: .75; transition: rotate .5s var(--curva), opacity .35s; }
.linha:hover .t, .linha:focus-visible .t { color: var(--ouro-claro); translate: 4px 0; }
.linha:hover small, .linha:focus-visible small { translate: 4px 0; }
.linha:hover .est, .linha:focus-visible .est { rotate: 90deg; opacity: 1; }
.linha:focus-visible { outline: 1px solid var(--ouro); outline-offset: 2px; }

/* os botões abaixo dos cardápios: título em Lora, detalhe em Avenir (como a plaquinha) */
.mais .linha .t { font: 400 22px/1.1 'Lora', Georgia, serif; }

/* a ação do turno (acao.js) abre a página, em ouro e maior */
.linha.destaque { min-height: 84px; padding-block: 18px 19px; }
.linha.destaque .t { font-size: clamp(32px, 9vw, 40px); color: var(--ouro); }
.linha.destaque small { color: var(--ouro-claro); }
.linha.destaque .est { width: 18px; height: 20px; opacity: 1; }
.linha.destaque:hover .t, .linha.destaque:focus-visible .t { color: var(--ouro-claro); }

/* a parede: os cardápios pendurados (a galeria e a plaquinha vêm do site.css) */
.parede { position: relative; margin-top: 54px; text-align: center; }
.parede .sobrelinha { display: flex; align-items: center; justify-content: center; gap: .3em; margin: 0 0 8px;
  font: 400 clamp(32px, 9vw, 40px)/1.05 var(--titulo); text-transform: none; letter-spacing: 0; color: var(--ouro); }
.parede .sobrelinha .est { width: 18px; height: 20px; }
.parede .linhas { margin-top: 44px; text-align: left; }   /* Menu Kids: cardápio só em PDF, sem miniatura */
.parede .sub { max-width: none; margin: 0 auto; font-size: 14px; color: rgba(244,238,230,.78); }
.galeria { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 16px; align-items: start; }
.galeria li:nth-child(odd) { rotate: -1.4deg; } .galeria li:nth-child(even) { rotate: 1.1deg; translate: 0 22px; }
.peca { display: grid; justify-items: center; gap: 12px; text-decoration: none; color: var(--creme); transition: transform .5s var(--curva); }
.peca img { width: 100%; height: auto; box-shadow: 0 2px 0 rgba(255,255,255,.06), 0 22px 40px rgba(0,0,0,.7), 0 6px 12px rgba(0,0,0,.5); }
.g3 .peca img { width: 72%; }
.peca:hover, .peca:focus-visible { transform: translateY(-8px) scale(1.02); }
.placa { display: grid; gap: 3px; justify-items: center; text-align: center; min-width: 86%; padding: 7px 12px 8px;
  background: var(--ouro); color: var(--preto); }
.placa b { font: 500 17px/1.1 'Lora', Georgia, serif; }
.placa small { font: 800 9.5px/1.25 var(--avenir); text-transform: uppercase; letter-spacing: .07em; }
.parede .galo { position: absolute; z-index: 2; width: 104px; right: -8px; top: -78px; rotate: 8deg; pointer-events: none;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.55)); }

.mais { margin-top: 70px; }
.parede + .mais { margin-top: 0; border-top: 0; }   /* a parede termina na linha do Menu Kids: a lista segue sem buraco */

/* pé: quem é, horário e redes, em texto */
.pe { margin-top: 44px; text-align: center; color: var(--creme); }
.quem { margin: 0 0 14px; font: 400 24px/1.1 var(--lora);   /* nome da casa: Lora */ color: var(--ouro-claro); }
.quem small { display: block; margin-top: 6px; font: 700 10.5px/1.3 var(--avenir); text-transform: uppercase; letter-spacing: .14em; color: rgba(244,238,230,.7); }
.horas { display: grid; grid-template-columns: auto auto; justify-content: center; gap: 4px 16px; margin: 0; font-size: 14px; }
.horas dt { text-align: right; color: rgba(244,238,230,.7); } .horas dd { margin: 0; text-align: left; }
.redes { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 18px; margin-top: 16px; font-size: 13px; }
.icones { display: flex; justify-content: center; gap: 14px; margin: 22px 0 0; }
.icones a { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(207,174,75,.45); border-radius: 50%;
  color: var(--ouro); transition: color .3s, border-color .3s, background-color .3s; }
.icones svg { width: 22px; height: 22px; }
.icones a:hover, .icones a:focus-visible { color: var(--preto); background: var(--ouro); border-color: var(--ouro); }
.redes { margin-top: 8px; }
.redes a { display: inline-flex; align-items: center; min-height: 44px; color: var(--creme); }

@media (min-width: 720px) {
  .links { width: min(100%, 860px); padding-top: 48px; }
  .linhas, .pe { width: min(100%, 560px); margin-inline: auto; }
  .mais { margin-top: 90px; }
  .linha .t { font-size: 26px; }
  .mais .linha .t { font-size: 24px; }
  .linha.destaque .t { font-size: 44px; }
  .parede .sobrelinha { font-size: 44px; }
  .marca-topo { margin-bottom: 40px; }
  .galeria { grid-template-columns: repeat(3, 1fr); gap: 40px 22px; align-items: start; }
  .galeria li:nth-child(even) { translate: 0 0; }
  .galeria li:nth-child(3n+2) { translate: 0 20px; }
  .parede .linhas { margin-top: 80px; }   /* a coluna do meio desce 20px e a etiqueta passa da borda do quadro */
}

/* a entrada: abaixo de 1 s, uma vez, só transform e opacity */
.mf-js .principais .linha, .mf-js .parede > .sobrelinha, .mf-js .parede > .sub, .mf-js .galeria li { animation: descer .7s var(--curva) both; }
.mf-js .principais .linha:nth-child(2) { animation-delay: .06s; }
.mf-js .parede > .sobrelinha, .mf-js .parede > .sub { animation-delay: .1s; }
.mf-js .galeria li:nth-child(1) { animation-delay: .14s; } .mf-js .galeria li:nth-child(2) { animation-delay: .2s; }
.mf-js .galeria li:nth-child(3) { animation-delay: .26s; } .mf-js .galeria li:nth-child(4) { animation-delay: .3s; }
.mf-js .galeria li:nth-child(5) { animation-delay: .32s; } .mf-js .galeria li:nth-child(6) { animation-delay: .34s; }
@keyframes descer { from { opacity: 0; transform: translateY(-14px); } }
.mf-js .parede .galo { animation: pousar .6s .45s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes pousar { from { opacity: 0; transform: translateY(-30px) rotate(-14deg); } }

@media (prefers-reduced-motion: reduce) {
  .mf-js .principais .linha, .mf-js .parede > .sobrelinha, .mf-js .parede > .sub, .mf-js .galeria li, .mf-js .parede .galo { animation: none; }
  .peca:hover, .peca:focus-visible { transform: none; }
  .linha .t, .linha small, .linha .est { transition: none; }
}
