/* PROTÓTIPO DESCARTÁVEL — serve para julgar o giro da folha, não é o catálogo. */

@font-face {
  font-family: 'Designer';
  src: url('img/designer.woff2') format('woff2');
  font-display: swap;
}

:root {
  --roxo: #713773;
  --roxo-fundo: #3a1e3c;
  --noite: #1a0c1e;
  --rosa: #f06be0;
  --verde: #7be0ae;
  --papel: #fbfafb;
  --tinta: #2a1430;
  --raio: 16px;
  --raio-p: 8px;
  --canto: 3px;   /* o canto de uma revista: quase vivo */
  --corpo: 'Roboto', 'Segoe UI', system-ui, sans-serif;
  --topo: 40px;
  --base: 60px;
}
body.duplo { --base: 36px; }

* { box-sizing: border-box; margin: 0; }

html, body { height: 100%; }

body {
  overflow: hidden;
  font-family: var(--corpo);
  color: var(--papel);
  background:
    radial-gradient(80vmax 60vmax at 50% 40%, #2b1a2e 0%, #150c17 55%, #0c070d 100%);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

/* grão de papel sobre o fundo */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  opacity: .16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.topo {
  position: fixed; inset: 0 0 auto 0;
  height: var(--topo);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  z-index: 10;
}
.selo { color: var(--noite); background: var(--verde); padding: 4px 9px; border-radius: var(--raio-p); font-weight: 700; }
.dica { opacity: .65; }

.palco {
  position: fixed; inset: var(--topo) 0 var(--base) 0;
  display: grid; place-items: center;
}

/* ───────── o livro ───────── */

.livro {
  position: relative;
  perspective: 2800px;
  perspective-origin: 50% 42%;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)) drop-shadow(0 40px 60px rgba(0, 0, 0, .55));
}

.folha {
  position: absolute; top: 0;
  height: 100%;
  background: var(--papel);
  overflow: hidden;
}
.folha.esq { left: 0; width: 50%; border-radius: var(--canto) 0 0 var(--canto);
  box-shadow: -1px 0 0 rgba(255, 255, 255, .14), -2px 1px 0 rgba(255, 255, 255, .06); }
.folha.dir { right: 0; width: 50%; border-radius: 0 var(--canto) var(--canto) 0;
  box-shadow: 1px 0 0 rgba(255, 255, 255, .14), 2px 1px 0 rgba(255, 255, 255, .06); }
.livro:not(.duplo) .folha.esq { display: none; }
.livro:not(.duplo) .folha.dir { width: 100%; }

/* a dobra: papel couché que escurece e brilha ao chegar à lombada */
.folha.esq::after, .folha.dir::after {
  content: ''; position: absolute; inset: 0;
  pointer-events: none; z-index: 4;
}
.folha.esq::after { background:
  linear-gradient(270deg, rgba(12, 7, 13, .38), rgba(12, 7, 13, .12) 2.2%, rgba(255, 255, 255, .1) 5%, transparent 11%),
  linear-gradient(115deg, rgba(255, 255, 255, .07), transparent 38%); }
.folha.dir::after { background:
  linear-gradient(90deg, rgba(12, 7, 13, .38), rgba(12, 7, 13, .12) 2.2%, rgba(255, 255, 255, .1) 5%, transparent 11%),
  linear-gradient(115deg, transparent 62%, rgba(255, 255, 255, .07)); }

.sombra {
  position: absolute; top: 0; height: 100%; width: 50%;
  pointer-events: none; opacity: 0; z-index: 3;
}
.sombra-e { left: 0; border-radius: var(--canto) 0 0 var(--canto); background: linear-gradient(90deg, transparent 20%, rgba(20, 5, 25, .75)); }
.sombra-d { right: 0; border-radius: 0 var(--canto) var(--canto) 0; background: linear-gradient(270deg, transparent 20%, rgba(20, 5, 25, .75)); }
.livro:not(.duplo) .sombra-e { display: none; }
.livro:not(.duplo) .sombra-d { width: 100%; }

/* ───────── a folha que vira: tiras encadeadas ───────── */

.virar {
  position: absolute; top: 0; height: 100%; width: 0;
  transform-style: preserve-3d;
  z-index: 5;
  pointer-events: none;
}
.tira {
  position: absolute; top: 0; height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}
.face {
  position: absolute; top: 0; bottom: 0; left: -1px; right: -1px;   /* as tiras sobrepõem-se: sem isto vê-se a costura */
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--papel);
}
.face.verso { transform: rotateY(180deg); }
.recorte { position: absolute; top: 0; height: 100%; }
.luz { position: absolute; inset: 0; pointer-events: none; }

.verso-branco {
  width: 100%; height: 100%;
  background: linear-gradient(90deg, #e2dbe3, #f1edf2 40%, #e8e2e9);
}

/* ───────── o fio da lombada ───────── */

.fio {
  position: absolute; top: 0; width: 40px;
  overflow: visible; pointer-events: none; z-index: 6;
}
.fio path { fill: none; stroke-linecap: round; }
/* a lombada é um vinco, não um caderno cosido */
.fio-sombra { stroke: rgba(12, 7, 13, .5); stroke-width: 2; }
.fio-linha { stroke: rgba(255, 255, 255, .22); stroke-width: 1; transform: translateX(1.5px); }

/* ───────── as páginas ─────────
   A letra é pequena e quase fixa: quem cresce com a folha é a fotografia. */

.pagina {
  position: relative;
  width: 100%; height: 100%;
  container-type: size;
  color: var(--tinta);
  background: var(--papel);
  overflow: hidden;
}
.pg-in {
  position: absolute; inset: 0;
  padding: clamp(14px, 3.2cqw, 30px);
  display: flex; flex-direction: column; gap: clamp(10px, 1.8cqw, 16px);
}
.cabeca {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--roxo);
}
h1, h2, h3 { font-family: 'Designer', var(--corpo); font-weight: 400; line-height: 1; }
.pagina p { font-size: clamp(12px, 1.6cqw, 14px); line-height: 1.5; }

/* capa: fotografia a sangrar, cabeçalho de revista */
.capa { color: #fff; background: var(--noite); }
.capa > img.fundo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.capa::before { content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(12, 7, 13, .72), transparent 26%, transparent 58%, rgba(12, 7, 13, .9)); }
.capa .pg-in { z-index: 2; justify-content: space-between; padding: clamp(20px, 5cqw, 48px); }
.capa .marca { display: flex; justify-content: space-between; align-items: flex-start; }
.capa .marca img { width: min(34cqw, 250px); }
.capa .marca span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; text-align: right; line-height: 1.7; }
.capa h1 { font-size: clamp(40px, 11cqw, 104px); letter-spacing: -.01em; }
.capa .linhas { display: flex; gap: clamp(14px, 4cqw, 40px); margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .35); }
.capa .linhas p { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.capa .linhas b { display: block; color: var(--verde); font-weight: 500; }

/* índice: meia página de fotografia, meia de lista */
.indice > img { position: absolute; inset: 0 0 auto 0; width: 100%; height: 46%; object-fit: cover; }
.indice .pg-in { inset: 46% 0 0 0; padding: clamp(18px, 4.6cqw, 44px); gap: 14px; }
.indice .cabeca { position: absolute; inset: auto 0 100% 0; padding: 0 clamp(18px, 4.6cqw, 44px) 14px; color: #fff; }
.indice h2 { font-size: clamp(22px, 3.6cqw, 32px); color: var(--tinta); }
.indice .colunas { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 5cqw, 48px); }
.indice h3 { font: 500 10px var(--corpo); letter-spacing: .18em; text-transform: uppercase; color: var(--roxo); margin-bottom: 6px; padding-bottom: 8px; border-bottom: 1px solid rgba(42, 20, 48, .18); }
.indice ol { list-style: none; padding: 0; }
.indice button {
  all: unset; cursor: pointer; display: flex; width: 100%; justify-content: space-between; align-items: center;
  font-size: 13px; min-height: 28px; box-sizing: border-box;
}
.indice button i { display: none; }
.indice button span:last-child { font-variant-numeric: tabular-nums; font-size: 11px; opacity: .5; }
.indice button:hover { color: var(--roxo); }
.indice .nota { margin-top: auto; color: #6b5a6d; max-width: 52ch; font-size: 11px; }

/* tapa de categoria: a fotografia é a página */
.tapa { color: #fff; background: var(--roxo-fundo); }
.tapa > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tapa::before { content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(12, 7, 13, .35), transparent 30%, transparent 55%, rgba(12, 7, 13, .9)); }
.tapa .pg-in { z-index: 2; justify-content: flex-end; gap: 8px; padding: clamp(18px, 5cqw, 44px); }
.tapa .cap { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--verde); }
.tapa h2 { font-size: clamp(28px, 6.4cqw, 60px); }
.tapa .num {
  position: absolute; top: clamp(14px, 3.6cqw, 34px); right: clamp(18px, 5cqw, 44px);
  font: 400 clamp(64px, 20cqw, 190px)/.8 'Designer', var(--corpo);
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .7);
}
.tapa p { max-width: 42ch; opacity: .9; }

/* produtos: mosaico a sangrar. A fotografia É a página; a letra pousa em cima dela. */
.mosaico { background: #1a0c1e; }
.mosaico::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 110px; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(12, 7, 13, .5), transparent); }
.cartas {
  position: absolute; inset: 0;
  display: grid; gap: 0;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1.9fr 1fr;
  grid-template-areas: "h h h" "a b c";
}
.cartas.b { grid-template-rows: 1fr 1.9fr; grid-template-areas: "a b c" "h h h"; }
.carta { position: relative; min-width: 0; min-height: 0; overflow: hidden; cursor: pointer; background: #1a0c1e; }
.carta:nth-child(1) { grid-area: h; }
.carta:nth-child(2) { grid-area: a; }
.carta:nth-child(3) { grid-area: b; }
.carta:nth-child(4) { grid-area: c; }
.carta .foto { position: absolute; inset: 0; }
.carta .foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s cubic-bezier(.16, 1, .3, 1); }
.carta:hover .foto img { transform: scale(1.05); }
.rotulo {
  position: absolute; inset: auto 0 0 0;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
  padding: 44px clamp(10px, 1.8cqw, 16px) clamp(10px, 1.6cqw, 14px);
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(12, 7, 13, .55) 55%, rgba(12, 7, 13, .86));
}
.rotulo h3 { font-size: clamp(12px, 1.7cqw, 14px); white-space: nowrap; }
.rotulo .preco { display: block; margin-top: 5px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; opacity: .85; white-space: nowrap; }
.rotulo .preco b { font-weight: 500; }
.carta:nth-child(1) .rotulo { padding: 70px clamp(16px, 3cqw, 28px) clamp(14px, 2.6cqw, 24px); }
.carta:nth-child(1) .rotulo h3 { font-size: clamp(20px, 3.8cqw, 34px); }
.carta:nth-child(1) .rotulo .preco { font-size: 11px; margin-top: 8px; }
.mini {
  flex: none; display: inline-flex; align-items: center; height: 28px; padding: 0 12px;
  border-radius: var(--raio-p); border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; font: 500 10px var(--corpo); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  transition: background .25s, color .25s;
}
.mini:hover { background: #fff; color: var(--tinta); }
.mosaico .cabeca {
  position: absolute; inset: 0 0 auto 0; z-index: 2; pointer-events: none;
  padding: clamp(12px, 2.4cqw, 22px) clamp(16px, 3cqw, 28px);
  color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}

/* na folha estreita o mosaico empilha: a grande em cima, três em fila */
@container (max-width: 520px) {
  .cartas, .cartas.b { grid-template-columns: 1fr; grid-template-rows: 1.7fr 1fr 1fr 1fr; grid-template-areas: "h" "a" "b" "c"; }
  .indice .colunas { gap: 16px; }
  .indice > img { height: 30%; }
  .indice .pg-in { inset: 30% 0 0 0; gap: 10px; }
  .indice .nota { display: none; }
}

/* contracapa */
.contra { background: var(--roxo-fundo); color: #fff; }
.contra .pg-in { justify-content: center; gap: 18px; padding: clamp(24px, 8cqw, 72px); }
.contra img { width: 72px; }
.contra h2 { font-size: clamp(24px, 5cqw, 44px); }
.contra .estrelas { color: var(--verde); }
.contra p { opacity: .9; }

/* botão a sério */
.pedir {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--raio);
  background: var(--tinta); color: #fff; text-decoration: none;
  font: 700 14px var(--corpo); letter-spacing: .02em;
  transition: background .2s;
}
.pedir::before { content: ''; width: 9px; height: 9px; border-radius: 3px; background: var(--verde); }
.pedir:hover { background: var(--roxo); }
.contra .pedir { background: var(--verde); color: var(--noite); align-self: flex-start; }
.contra .pedir::before { background: var(--noite); }

/* ───────── a ficha: a peça cresce do seu sítio ───────── */

.ficha {
  position: fixed; inset: 0; z-index: 20;
  display: grid; place-items: center; padding: 16px;
  background: rgba(26, 12, 30, .72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.ficha[hidden] { display: none; }
.ficha-caixa {
  position: relative;
  width: min(1040px, 100%); max-height: 100%;
  display: grid; grid-template-columns: 1.5fr 1fr;
  background: var(--papel); color: var(--tinta);
  border-radius: var(--raio); overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .5);
}
.ficha-foto { min-height: 0; aspect-ratio: 16 / 11; background: #ddd; }
.ficha-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ficha-dados { padding: 28px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.ficha-dados h2 { font-size: 28px; color: var(--roxo); }
.ficha-dados .preco { font-size: 13px; color: #5c3a5c; }
.ficha-dados .preco b { font-size: 18px; color: var(--tinta); }
.ficha-dados .campo { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #5c3a5c; margin-bottom: 8px; }
.cores, .qtds { display: flex; gap: 8px; flex-wrap: wrap; }
.cores button {
  width: 36px; height: 36px; border-radius: var(--raio-p);
  border: 1px solid rgba(42, 20, 48, .25); cursor: pointer; padding: 0;
  transition: box-shadow .2s;
}
.cores button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--papel), 0 0 0 4px var(--roxo); }
.qtds button {
  min-width: 52px; height: 36px; padding: 0 10px;
  border-radius: var(--raio-p); border: 1px solid rgba(113, 55, 115, .4);
  background: none; color: var(--roxo); font: 600 13px var(--corpo); cursor: pointer;
}
.qtds button[aria-pressed="true"] { background: var(--roxo); color: #fff; border-color: var(--roxo); }
.ficha-fechar {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px;
  border-radius: var(--raio-p); border: 0; cursor: pointer;
  background: rgba(26, 12, 30, .7); color: #fff; font-size: 20px; line-height: 1;
}
@media (max-width: 720px) {
  .ficha-caixa { grid-template-columns: 1fr; overflow-y: auto; }
  .ficha-dados { padding: 18px; gap: 14px; }
  .ficha-dados h2 { font-size: 22px; }
}

/* ───────── comando ───────── */

.comando {
  position: fixed; inset: auto 0 0 0; height: var(--base);
  display: flex; align-items: center; justify-content: center; gap: 20px;
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 10;
}
.comando button {
  width: 44px; height: 44px; border-radius: var(--raio);
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06);
  color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
  transition: background .2s, opacity .2s;
}
.comando button:hover { background: rgba(240, 107, 224, .3); }
.comando button:disabled { opacity: .25; cursor: default; }
#conta { min-width: 86px; text-align: center; font-size: 11px; letter-spacing: .14em; font-variant-numeric: tabular-nums; opacity: .8; }

/* no pliego as setas saem para as margens e deixam a altura toda ao livro */
body.duplo .comando button { position: fixed; top: 50%; margin-top: -28px; width: 56px; height: 56px; }
body.duplo #antes { left: 20px; }
body.duplo #depois { right: 20px; }

:focus-visible { outline: 2px solid var(--rosa); outline-offset: 2px; }

@media (max-width: 520px) { .dica { display: none; } }

/* ───────── os artigos: a pausa entre produtos ───────── */

.sobre { font-size: 10px !important; letter-spacing: .2em; text-transform: uppercase; color: var(--roxo); }

/* página inteira, só tipografia: «Como encomendar» */
.artigo .pg-in { padding: clamp(20px, 6cqw, 60px); gap: clamp(10px, 2cqw, 18px); }
.artigo h2 { font-size: clamp(34px, 9cqw, 88px); color: var(--tinta); margin-bottom: clamp(4px, 2cqw, 20px); }
.passos { list-style: none; padding: 0; flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: space-between; }
.passos li { display: grid; grid-template-columns: clamp(52px, 12cqw, 110px) 1fr; align-items: center; gap: clamp(10px, 2.4cqw, 24px);
  padding: clamp(8px, 1.8cqw, 18px) 0; border-top: 1px solid rgba(42, 20, 48, .16); }
.passos .n { font: 400 clamp(30px, 7cqw, 68px)/1 'Designer', var(--corpo); color: transparent; -webkit-text-stroke: 1px var(--roxo); }
.passos h3 { font-size: clamp(13px, 2.1cqw, 19px); color: var(--tinta); margin-bottom: 5px; }
.passos p { color: #6b5a6d; }
.artigo .fecho { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: clamp(10px, 2cqw, 18px); border-top: 1px solid var(--tinta); }
.artigo .fecho p { font-size: clamp(13px, 1.9cqw, 16px); color: var(--tinta); max-width: 24ch; line-height: 1.35; }

/* meia página na horizontal: fotografia em cima, artigo em baixo */
.meia { background: var(--noite); color: #fff; }
.meia > img { position: absolute; inset: 0 0 auto 0; width: 100%; height: 54%; object-fit: cover; }
.meia .pg-in { inset: 54% 0 0 0; padding: clamp(18px, 4.6cqw, 44px); gap: clamp(8px, 1.6cqw, 14px); justify-content: center; }
.meia .cabeca { position: absolute; inset: auto 0 100% 0; padding: 0 clamp(18px, 4.6cqw, 44px) 14px; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.meia .sobre { color: var(--verde); }
.meia h2 { font-size: clamp(22px, 4.6cqw, 42px); max-width: 16ch; }
.dicas { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2.6cqw, 26px); margin-top: clamp(6px, 1.6cqw, 14px); }
.dicas li { padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .3); font-size: clamp(12px, 1.5cqw, 13px); line-height: 1.45; opacity: .92; }
.dicas b { display: block; font: 400 clamp(12px, 1.7cqw, 14px) 'Designer', var(--corpo); margin-bottom: 6px; color: #fff; }

/* a marca: fotografia, números e uma citação */
.pagina.marca > img { position: absolute; inset: 0 0 auto 0; width: 100%; height: 44%; object-fit: cover; }
.pagina.marca .pg-in { inset: 44% 0 0 0; padding: clamp(18px, 4.6cqw, 44px); gap: clamp(8px, 1.6cqw, 14px); }
.pagina.marca .cabeca { position: absolute; inset: auto 0 100% 0; padding: 0 clamp(18px, 4.6cqw, 44px) 14px; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.pagina.marca h2 { font-size: clamp(24px, 5cqw, 46px); color: var(--tinta); }
.pagina.marca .lead { max-width: 54ch; color: #4a3a4c; }
.numeros { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 2cqw, 20px); margin-top: auto; padding-top: 14px; border-top: 1px solid var(--tinta); }
.numeros b { display: block; font: 400 clamp(20px, 4cqw, 38px)/1 'Designer', var(--corpo); color: var(--roxo); margin-bottom: 6px; }
.numeros span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #6b5a6d; line-height: 1.4; display: block; }
.pagina.marca blockquote { font-size: clamp(14px, 2.2cqw, 20px); line-height: 1.35; color: var(--tinta); max-width: 34ch; margin-top: clamp(6px, 1.6cqw, 14px); }
.pagina.marca blockquote cite { display: block; margin-top: 8px; font-style: normal; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #6b5a6d; }

@container (max-width: 520px) {
  .dicas { grid-template-columns: 1fr 1fr; }
  .meia > img { height: 40%; }
  .meia .pg-in { inset: 40% 0 0 0; }
  .numeros { grid-template-columns: 1fr 1fr; }
  .pagina.marca > img { height: 32%; }
  .pagina.marca .pg-in { inset: 32% 0 0 0; }
}

/* o cabeçalho pousa na base da fotografia: precisa de um véu para se ler sobre claro */
.meia .cabeca, .marca .cabeca, .indice .cabeca { padding-top: 60px; background: linear-gradient(180deg, transparent, rgba(12, 7, 13, .6)); }


/* a pesquisa vive na barra de cima, à direita */
.topo { z-index: 15; }
#buscaSitio { display: flex; align-items: center; }
.topo .busca-campo { height: 32px; }

/* a barra de cima escreve em maiúsculas; a pesquisa não */
.topo .busca { text-transform: none; letter-spacing: normal; }

/* ═════════ a texturaPO, pela receita do sítio ═════════
   A fotografia é tecido BRANCO. Sobre claro pousa-se tal e qual (aqui
   multiplicada, para herdar o tom do papel); sobre roxo vai em `multiply`
   a meio, e o roxo tem de ter luz que chegue (#3A1B3B) para a trama se ver:
   pousada em branco sobre escuro lê como véu leitoso. */

body {
  background:
    radial-gradient(85vmax 65vmax at 50% 42%, rgba(12, 7, 13, 0) 0%, rgba(12, 7, 13, .55) 60%, rgba(12, 7, 13, .9) 100%),
    linear-gradient(rgba(58, 27, 59, .12), rgba(58, 27, 59, .12)),
    url('img/texturaPO.jpg') center / cover, url('img/texturaPO.jpg') center / cover, url('img/texturaPO.jpg') center / cover,
    #46234a;
  background-blend-mode: normal, normal, multiply, multiply, multiply;
}

.pagina.indice, .pagina.artigo, .pagina.marca, .ficha-caixa {
  background:
    linear-gradient(rgba(251, 250, 251, .38), rgba(251, 250, 251, .38)),
    url('img/texturaPO.jpg') center / cover,
    #fbfafb;
  background-blend-mode: normal, multiply;
}

.pagina.contra, .pagina.meia {
  background:
    linear-gradient(rgba(58, 27, 59, .12), rgba(58, 27, 59, .12)),
    url('img/texturaPO.jpg') center / cover, url('img/texturaPO.jpg') center / cover, url('img/texturaPO.jpg') center / cover,
    #46234a;
  background-blend-mode: normal, multiply, multiply, multiply;
}

@media (max-width: 760px) {
  body { background-image:
    radial-gradient(85vmax 65vmax at 50% 42%, rgba(12, 7, 13, 0) 0%, rgba(12, 7, 13, .55) 60%, rgba(12, 7, 13, .9) 100%),
    linear-gradient(rgba(58, 27, 59, .12), rgba(58, 27, 59, .12)),
    url('img/texturaPO-390.jpg'), url('img/texturaPO-390.jpg'), url('img/texturaPO-390.jpg'); }
}
