.inicio {
  --pedra-3: #2E343C;
  --broto: #6E7F52;
  --suave: cubic-bezier(.2, .7, .3, 1);
  --sombra-1: 0 1px 2px rgba(20, 22, 26, .06), 0 12px 34px rgba(20, 22, 26, .09);
  --sombra-2: 0 4px 10px rgba(20, 22, 26, .14), 0 30px 70px rgba(20, 22, 26, .24);
}

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
main { flex: 1; outline: none; }
section[id] { scroll-margin-top: 8px; }
::selection { background: var(--ouro); color: #17140C; }

.hero :focus-visible,
.topo :focus-visible,
.palestras-secao :focus-visible,
.tambem :focus-visible,
.rodape :focus-visible { outline-color: var(--ouro-claro); }

.inicio .topo { background: var(--pedra); border-bottom: 0; }
.inicio .topo-linha {
  grid-template-areas: "nome idiomas" "nome entrar" "secoes secoes";
  column-gap: 12px;
  min-height: 0;
  padding-top: 6px;
}
.inicio .assinatura { color: #F6F1E7; }
.inicio .assinatura:hover { color: var(--ouro-claro); }
.inicio .idiomas a,
.inicio .entrar { color: var(--pedra-texto); }
.inicio .idiomas a:hover,
.inicio .entrar:hover { color: var(--ouro-claro); }
.inicio .idiomas a[aria-current="page"] { color: #F6F1E7; text-decoration-color: var(--ouro); }
.inicio .entrar::before { border-left-color: rgba(246, 241, 231, .16); }

.secoes {
  grid-area: secoes;
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
}
.secoes a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  font: 500 13px/1 var(--letra-ui);
  letter-spacing: 0.02em;
  color: #C9C3B8;
  text-decoration: none;
}
.secoes a:hover { color: var(--ouro); }

@media (max-width: 619px) {
  .secoes .so-no-computador { display: none; }
}
@media (min-width: 900px) {
  .inicio .topo-linha { grid-template-columns: auto 1fr auto auto; grid-template-areas: "nome secoes idiomas entrar"; min-height: 72px; padding-top: 0; }
  .secoes { justify-content: flex-end; gap: 0 26px; margin-right: 22px; }
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--pedra);
  color: #EDE7DC;
  font-weight: 300;
  --titulo-peso: 400;
  --titulo-opsz: normal;
  padding: 1.6rem 0 4.4rem;
}
@media (min-width: 900px) { .hero { padding: 3.4rem 0 6.4rem; } }

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -14%;
  top: -22%;
  width: 78%;
  height: 130%;
  background: radial-gradient(ellipse 52% 48% at 62% 46%, rgba(233, 201, 137, .30), rgba(201, 162, 75, .12) 42%, transparent 72%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
}

.veia {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 0;
  width: min(1180px, 100%);
  height: 100%;
  transform: translateX(-50%);
  opacity: .9;
  pointer-events: none;
}
.veia path { fill: none; stroke-linecap: round; }
.veia .linha { stroke: url(#veia-ouro); stroke-width: 1.6; }
.veia .brilho { stroke: var(--ouro); stroke-width: 5; opacity: .14; filter: blur(4px); }
@media (prefers-reduced-motion: no-preference) {
  .veia .linha,
  .veia .brilho { stroke-dasharray: 1; animation: desenhar 1.8s var(--suave) 0.2s backwards; }
  .veia .ramo { animation-delay: 0.9s; }
}
@keyframes desenhar { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (max-width: 899px) {
  .veia { left: 2px; width: 56px; transform: none; opacity: .8; }
  .veia .linha,
  .veia .brilho { vector-effect: non-scaling-stroke; stroke-dasharray: none; animation: none; }
  .veia .linha { stroke-width: 1.4; }
  .veia .brilho { stroke-width: 6; }
}

.hero-grade { display: grid; gap: 2.8rem; align-items: center; }
@media (min-width: 900px) { .hero-grade { grid-template-columns: 1.08fr .92fr; gap: 2rem; } }

.chamada {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 0 0 1.4rem;
  font: 600 11px/1.5 var(--letra-ui);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ouro);
}
@media (min-width: 620px) {
  .chamada { font-size: 12px; letter-spacing: .24em; }
  .chamada::after { content: ""; flex: none; width: 3rem; height: 1px; background: linear-gradient(90deg, var(--ouro-escuro), transparent); }
}

.hero h1 {
  font-size: clamp(2.5rem, 7.2vw, 5.3rem);
  line-height: 1.04;
  letter-spacing: -.012em;
  color: #F6F1E7;
}
.hero h1 em { font-style: italic; color: var(--ouro-claro); }

.hero .lede {
  max-width: 46ch;
  margin: 1.6rem 0 0;
  font-size: clamp(1.06rem, 1.7vw, 1.24rem);
  line-height: 1.65;
  color: #B9B3A7;
}
.hero .lede cite { color: #E6DFD2; }

.acoes { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 48px;
  padding: 0 1.6rem;
  border-radius: 2px;
  font: 600 14px/1.2 var(--letra-ui);
  letter-spacing: .01em;
  text-decoration: none;
  transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.botao-ouro { background: var(--ouro); color: #17140C; box-shadow: 0 2px 0 var(--ouro-escuro); }
.botao-ouro:hover { background: var(--ouro-claro); transform: translateY(-1px); box-shadow: 0 4px 0 var(--ouro-escuro); }
.botao-linha { border: 1px solid rgba(233, 201, 137, .42); color: var(--ouro-claro); }
.botao-linha:hover { border-color: var(--ouro-claro); background: rgba(233, 201, 137, .09); }
.botao-tinta { border: 1px solid var(--regua); background: var(--papel-2); color: var(--tinta); }
.botao-tinta:hover { border-color: var(--ouro); color: var(--ouro-tinta); }
@media (max-width: 520px) {
  .hero .acoes .botao,
  .acoes-palestras .botao { flex: 1 1 100%; }
}

.capa-hero { position: relative; justify-self: center; width: min(340px, 72vw); }
.capa-hero:empty { display: none; }
@media (min-width: 900px) { .capa-hero { width: min(340px, 100%); } .capa-hero:empty { display: block; } }
.capa-hero img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 2px 6px 6px 2px;
  box-shadow: var(--sombra-2);
  transform: rotate(1.4deg);
}
.capa-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -14% -18% -10% -8%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 55% 50%, rgba(233, 201, 137, .24), transparent 66%);
  filter: blur(18px);
}
.lombada {
  position: absolute;
  inset: 0 auto 0 0;
  width: 9px;
  background: linear-gradient(90deg, rgba(0, 0, 0, .34), rgba(0, 0, 0, 0));
  border-radius: 2px 0 0 2px;
  transform: rotate(1.4deg);
  pointer-events: none;
}

.faixa-amanhecer {
  height: clamp(110px, 16vw, 220px);
  background: linear-gradient(180deg, var(--pedra) 0%, #3A3226 34%, #8E7A56 62%, var(--amanhecer) 88%, var(--papel) 100%);
}
.faixa-amanhecer:has(+ .livro[hidden]) { display: none; }

.livro,
.palestras-secao,
.historia,
.imprensa,
.tambem,
.escolas { position: relative; padding: 4.4rem 0; }
@media (min-width: 900px) {
  .livro, .palestras-secao, .historia, .imprensa, .tambem, .escolas { padding: 6.4rem 0; }
}

.cabeca { max-width: 56ch; margin-bottom: 2.6rem; }
.cabeca h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); letter-spacing: -.01em; }
.cabeca p:not(.eyebrow) { max-width: 54ch; margin: 1.1rem 0 0; font-size: 1.06rem; color: var(--tinta-2); }
:is(.livro, .historia, .imprensa) .cabeca { max-width: 62ch; }
:is(.livro, .historia, .imprensa) .cabeca p:not(.eyebrow) { font-size: 1.125rem; }

.livros { display: grid; gap: 4.4rem; }
.livro-bloco { display: grid; gap: 2.2rem; }
@media (min-width: 920px) { .livro-bloco { grid-template-columns: 340px 1fr; gap: 4.5rem; align-items: start; } }

.livro-capa { width: min(260px, 70vw); justify-self: center; }
@media (min-width: 920px) { .livro-capa { width: 100%; justify-self: stretch; } }
.livro-capa img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 2px 6px 6px 2px;
  box-shadow: var(--sombra-1);
}

.livro-texto h3 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.subtitulo {
  margin: .6rem 0 1.7rem;
  font: italic 450 1.25rem/1.4 var(--letra-texto);
  color: var(--ardosia);
}
.frase {
  margin: 0 0 1.6rem;
  padding-left: 1.4rem;
  border-left: 2px solid var(--ouro);
}
.frase p { margin: 0; font: 450 clamp(1.25rem, 2.4vw, 1.6rem)/1.35 var(--letra-titulo); font-variation-settings: "opsz" 16; color: var(--tinta); }
.corpo { max-width: 52ch; color: var(--tinta-2); }

.ficha {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.4rem;
  margin: 2rem 0 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--regua);
  font: 400 13px/1.3 var(--letra-ui);
  color: var(--tinta-3);
}
.ficha dt { font-weight: 500; }
.ficha dd { margin: .25rem 0 0; font-size: 15px; font-weight: 600; letter-spacing: .01em; color: var(--tinta); }

.rotulo-compra { margin-bottom: .8rem; color: var(--tinta-3); }
.compras { display: grid; gap: .7rem; }
@media (min-width: 560px) { .compras { grid-template-columns: 1fr 1fr; } }
.compra {
  display: block;
  min-height: 44px;
  padding: 1rem 1.1rem;
  border: 1px solid var(--regua);
  background: var(--papel-2);
  text-decoration: none;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.compra:hover { border-color: var(--ouro); transform: translateY(-2px); box-shadow: var(--sombra-1); }
.compra .edicao { display: block; font: 600 12px/1.3 var(--letra-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--tinta-3); }
.compra .acao { display: flex; align-items: center; gap: .45rem; margin-top: .3rem; font: 600 15px/1.3 var(--letra-ui); color: var(--tinta); }
.compra .acao svg { width: 14px; height: 14px; fill: none; stroke: var(--ouro-tinta); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.compra .loja { display: block; margin-top: .2rem; font: 500 13px/1.4 var(--letra-ui); color: var(--tinta-3); }

.claro { background: var(--papel-2); border-block: 1px solid var(--regua); }
.claro .eyebrow { color: #3A4628; }
.claro .frase { border-left-color: var(--broto); }
.claro .compra .acao svg { stroke: var(--broto); }
.claro .compra:hover { border-color: var(--broto); }

.compra-ebook { background: var(--ouro); border-color: var(--ouro-escuro); box-shadow: 0 2px 0 var(--ouro-escuro); color: #17140C; }
.compra-ebook:hover { background: var(--ouro-claro); border-color: var(--ouro-escuro); box-shadow: 0 4px 0 var(--ouro-escuro); }
.compra-ebook .edicao,
.compra-ebook .loja,
.compra-ebook .acao { color: #17140C; }
.compra-ebook .acao svg,
.claro .compra-ebook .acao svg { stroke: #17140C; }
.claro .compra-ebook:hover { border-color: var(--ouro-escuro); }

.palestras-secao { background: var(--pedra); color: #DDD7CB; font-weight: 300; --titulo-peso: 400; --titulo-opsz: normal; }
.palestras-secao h2,
.palestras-secao h3 { color: #F6F1E7; }
.palestras-secao .eyebrow { color: var(--ouro); }
.palestras-secao .cabeca p:not(.eyebrow) { color: #A9A296; }

.palestras {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: tema;
  border-top: 1px solid rgba(233, 201, 137, .2);
}
.palestras li {
  counter-increment: tema;
  display: grid;
  gap: .5rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid rgba(233, 201, 137, .2);
}
.palestras li::before {
  content: counter(tema, decimal-leading-zero);
  font: italic 400 1.05rem/1.2 var(--letra-titulo);
  color: var(--ouro-escuro);
}
.palestras h3 { font-size: 1.5rem; }
.palestras p { max-width: 56ch; margin: 0; font-size: 1rem; color: #A9A296; }
@media (min-width: 820px) {
  .palestras li { grid-template-columns: 5rem 1fr; column-gap: 2rem; row-gap: .4rem; }
  .palestras li::before { grid-column: 1; grid-row: 1 / span 2; }
  .palestras h3 { grid-column: 2; }
  .palestras p { grid-column: 2; }
}

.formatos-rotulo { margin-top: 2.8rem; margin-bottom: .9rem; }
.formatos { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.formatos li {
  padding: .45rem .85rem;
  border: 1px solid rgba(233, 201, 137, .28);
  border-radius: 2px;
  font: 400 13px/1.4 var(--letra-ui);
  color: #C8C0B2;
}
.acoes-palestras { margin-top: 2.8rem; }

.contato { margin: 1rem 0 0; font: 400 15px/1.5 var(--letra-ui); color: #A9A296; }
.contato .email {
  display: inline-block;
  padding: 12px 0;
  line-height: 20px;
  color: var(--ouro-claro);
  overflow-wrap: anywhere;
}
.contato .email:hover { color: var(--papel-2); }

.historia-grade { display: grid; gap: 2.6rem; align-items: center; }
.prosa { max-width: 56ch; }
.prosa p { font-size: 1.15rem; color: var(--tinta-2); }
.prosa p:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .prosa { max-width: none; columns: 2; column-gap: clamp(2.6rem, 5vw, 4.5rem); }
  .prosa p { orphans: 3; widows: 3; }
}
.prosa p:first-child::first-letter {
  float: left;
  padding: .04em .12em 0 0;
  font: 450 4.1em/.78 var(--letra-titulo);
  font-variation-settings: "opsz" 20;
  color: var(--ouro-tinta);
}
.retrato { width: 100%; margin: 0 0 2.6rem; }
@media (max-width: 639px) { .retrato { width: 100vw; margin-inline: calc(50% - 50vw); } }
.retrato img { display: block; width: 100%; height: auto; box-shadow: var(--sombra-1); }
@media (min-width: 640px) { .retrato img { border-radius: 2px; } }

.fases { position: relative; padding: 4.4rem 0; }
@media (min-width: 900px) { .fases { padding: 6.4rem 0; } }
.fases-grade { display: grid; gap: 2.2rem; }
@media (min-width: 900px) {
  .fases-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.2rem, 5vw, 4.5rem); align-items: center; }
}
.fases-texto { max-width: 52ch; }
.fases-texto p { font-size: 1.15rem; color: var(--tinta-2); }
.fases-texto p:last-child { margin-bottom: 0; }
.fases-foto { width: min(100%, 560px); margin: 0; }
.fases-foto img { display: block; width: 100%; height: auto; border-radius: 2px; box-shadow: var(--sombra-1); }

.arco { margin: 3.2rem 0 0; }
.arco div {
  display: grid;
  grid-template-columns: 4.6rem 1fr;
  gap: 1.3rem;
  align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--regua);
}
.arco div:first-child { border-top: 1px solid var(--regua); }
.arco dt { font: 450 1.45rem/1 var(--letra-titulo); font-variation-settings: "opsz" 16; font-variant-numeric: tabular-nums; color: var(--ouro-tinta); }
.arco dd { margin: 0; font: 400 15px/1.55 var(--letra-ui); color: var(--tinta-2); }
@media (min-width: 900px) {
  .arco { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem; margin-top: 4.4rem; padding-top: 1.8rem; border-top: 1px solid var(--regua); }
  .arco div { display: block; padding: 0; border: 0; }
  .arco div:first-child { border-top: 0; }
  .arco dt { margin-bottom: .6rem; font-size: 1.9rem; }
}

.imprensa { background: var(--papel-2); border-block: 1px solid var(--regua); }
.recorte {
  display: block;
  max-width: 720px;
  padding: 2rem;
  border: 1px solid var(--regua);
  background: var(--papel-2);
  text-decoration: none;
  transition: border-color .25s, box-shadow .25s;
}
.recorte:hover { border-color: var(--ouro); box-shadow: var(--sombra-1); }
.recorte .fonte { font: 600 12px/1.4 var(--letra-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--ouro-tinta); }
.recorte h3 { margin: .7rem 0 .9rem; font-size: 1.4rem; }
.recorte q {
  display: block;
  quotes: "\201C" "\201D";
  font: italic 450 1.2rem/1.5 var(--letra-texto);
  color: var(--tinta-2);
}
.recorte .autoria { display: block; margin-top: 1.1rem; font: 500 13.5px/1.5 var(--letra-ui); color: var(--tinta-3); }
.recorte .ler {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--ouro);
  font: 600 14px/1.4 var(--letra-ui);
  color: var(--ouro-tinta);
}
.recortes { display: grid; gap: 1.2rem; }
.recortes .recorte { max-width: none; }
.recorte.escuta .resumo { margin: 0; font: italic 450 1.15rem/1.5 var(--letra-texto); color: var(--tinta-2); }
.recorte.escuta .resumo em { font-style: normal; }
@media (min-width: 900px) {
  .recortes { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
  .recortes .recorte:first-child { grid-column: 1 / -1; }
  .recortes .recorte.escuta { display: flex; flex-direction: column; align-items: flex-start; padding: 2.2rem 2.4rem; }
  .recorte.escuta h3 { font-size: 1.5rem; }
}
.nota-do-recorte { margin: .9rem 0 0; font: 400 13px/1.5 var(--letra-ui); color: var(--tinta-3); }
@media (min-width: 900px) {
  .recorte {
    max-width: none;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    grid-template-rows: auto auto auto 1fr;
    grid-template-areas: "fonte frase" "titulo frase" "autoria frase" "ler frase";
    column-gap: 4rem;
    padding: 2.6rem 3rem;
  }
  .recorte .fonte { grid-area: fonte; }
  .recorte h3 { grid-area: titulo; font-size: 1.7rem; }
  .recorte q { grid-area: frase; align-self: center; font-size: 1.45rem; }
  .recorte .autoria { grid-area: autoria; }
  .recorte .ler { grid-area: ler; align-self: start; justify-self: start; }
}

.tambem { background: var(--pedra-2); color: #B7B0A4; font-weight: 300; --titulo-peso: 400; --titulo-opsz: normal; }
.tambem h2 { color: #F6F1E7; }
.tambem .eyebrow { color: var(--ouro); }

.estante-grade {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem .9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 600px) { .estante-grade { grid-template-columns: repeat(5, 1fr); gap: 1.8rem 1.2rem; } }
@media (min-width: 1000px) {
  .estante-grade {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: minmax(104px, 1fr);
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
  }
}
.mini { display: block; text-decoration: none; color: inherit; }
.mini img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 1px 4px 4px 1px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .4);
  filter: saturate(.85);
  transition: transform .28s var(--suave), filter .28s;
}
.mini:hover img { transform: translateY(-6px); filter: saturate(1); }
.legenda { display: block; margin-top: .6rem; font: 400 12px/1.4 var(--letra-ui); color: #A39C90; }
.mini:hover .legenda { color: var(--ouro-claro); }
.mini-ebook {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: .6rem;
  padding: 6px 4px;
  border-radius: 2px;
  background: var(--ouro);
  color: #17140C;
  font: 600 12.5px/1.3 var(--letra-ui);
  text-align: center;
  text-decoration: none;
  transition: background .25s;
}
.mini-ebook:hover { background: var(--ouro-claro); }
.mini-preco { font-weight: 700; }
.sem-quebra { white-space: nowrap; }

.escolas { background: var(--papel-2); border-top: 1px solid var(--regua); }
.escolas-grade { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .escolas-grade { grid-template-columns: 1fr auto; } }
.escolas h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.escolas p:not(.eyebrow) { max-width: 54ch; margin: 1rem 0 0; color: var(--tinta-2); }
@media (max-width: 520px) { .escolas .botao { width: 100%; } }

.inicio .rodape { padding: 3.6rem 0 1rem; }
.rodape-colunas { display: grid; gap: 2.4rem; margin-bottom: 2.4rem; }
@media (min-width: 760px) { .rodape-colunas { grid-template-columns: 2fr 1fr; gap: 4rem; } }
.rodape h2 { margin: 0 0 .9rem; font: 500 17px/1.3 var(--letra-titulo); color: #F6F1E7; }
.rodape-bio p { max-width: 44ch; margin: 0; color: #8E877C; }
.rodape-links { display: flex; flex-direction: column; align-items: flex-start; }
.rodape-links a {
  display: inline-block;
  padding: 12px 0;
  line-height: 20px;
  color: #A39C90;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.rodape-links a:hover { color: var(--ouro-claro); }
.rodape-links h2 { margin-bottom: .3rem; }
.contato-rodape a { color: var(--ouro-claro); }
.inicio .credito {
  margin-top: 0;
  padding-top: .6rem;
  border-top: 1px solid rgba(255, 255, 255, .09);
  text-align: left;
  color: #878178;
}

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