:root {
  --bege: #f6f1eb;
  --marrom: #5e4b3c;
  --preto: #1a1a1a;
  --laranja: #d97243;
}


/* =========================
   BASE
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;

  display: flex;
  flex-direction: column;

  background-color: var(--bege);
  color: var(--preto);

  font-family: Georgia, serif;
}


/* =========================
   CABEÇALHO
========================= */

.cabecalho {
  min-height: 80px;
  padding: 0 6vw;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background-color: var(--preto);
}

.logo a {
  color: var(--bege);
  text-decoration: none;

  font-size: 1.15rem;
  font-weight: normal;
}

.navegacao {
  display: flex;
  gap: 2rem;
}

.navegacao a {
  color: var(--bege);
  text-decoration: none;

  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;

  transition: color 0.2s ease;
}

.navegacao a:hover {
  color: var(--laranja);
}


/* =========================
   CONTEÚDO
========================= */

main {
  flex: 1;
}


/* =========================
   HERO
========================= */

.hero {
  max-width: 900px;
  margin: 0 auto;

  padding: 14vh 6vw 12vh;
}

.rotulo {
  margin: 0 0 1rem;

  color: var(--laranja);

  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: bold;

  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;

  color: var(--marrom);

  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: normal;
  line-height: 0.95;
}

.apresentacao {
  max-width: 680px;
  margin: 2.5rem 0 0;

  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.7;
}


/* =========================
   DESTAQUE
========================= */

.destaque {
  max-width: 1100px;
  margin: 0 auto;

  padding: 6rem 6vw;

  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 5rem;
  align-items: center;

  border-top: 1px solid rgba(94, 75, 60, 0.25);
}

.destaque-texto h2 {
  margin: 0;

  color: var(--marrom);

  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: normal;
  line-height: 1.05;
}

.destaque-texto > p:not(.rotulo) {
  max-width: 620px;
  margin: 1.5rem 0 2rem;

  font-size: 1.05rem;
  line-height: 1.7;
}

.destaque-imagem {
  display: flex;
  justify-content: center;
}

.destaque-imagem img {
  width: 100%;
  max-width: 260px;
  height: auto;

  display: block;

  box-shadow: 12px 12px 0 var(--marrom);
}


/* =========================
   BOTÕES
========================= */

.botao {
  display: inline-block;

  padding: 0.8rem 1.3rem;

  background-color: var(--laranja);
  color: var(--bege);

  text-decoration: none;

  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: bold;

  letter-spacing: 0.04em;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.botao:hover {
  background-color: var(--marrom);
  transform: translateY(-2px);
}


/* =========================
   RODAPÉ
========================= */

footer {
  padding: 2rem 6vw;

  background-color: var(--preto);
  color: var(--bege);

  text-align: center;

  font-family: Arial, sans-serif;
  font-size: 0.8rem;
}


/* =========================
   RESPONSIVO
========================= */

@media (max-width: 700px) {

  .cabecalho {
    padding: 1.2rem 6vw;

    flex-direction: column;
    gap: 1rem;
  }

  .navegacao {
    gap: 1.2rem;
  }

  .hero {
    padding-top: 10vh;
  }

  .destaque {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .destaque-imagem {
    justify-content: flex-start;
  }

  .destaque-imagem img {
    max-width: 220px;
  }

}

/* =========================
   PÁGINA DE LIVROS
========================= */

.pagina-introducao {
  max-width: 900px;
  margin: 0 auto;
  padding: 10vh 6vw 8vh;
}

.pagina-introducao h1 {
  margin: 0;

  color: var(--marrom);

  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: normal;
  line-height: 0.95;
}

.pagina-introducao > p:not(.rotulo) {
  max-width: 650px;
  margin-top: 2rem;

  font-size: 1.2rem;
  line-height: 1.7;
}


/* =========================
   CATÁLOGO
========================= */

.catalogo {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 6vw;

  border-top: 1px solid rgba(94, 75, 60, 0.25);
}

.catalogo-cabecalho {
  margin-bottom: 3rem;
}

.catalogo-cabecalho h2 {
  margin: 0;

  color: var(--marrom);

  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: normal;
}


/* =========================
   LIVRO
========================= */

.livro {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 5rem;
  align-items: stretch;
}

.livro-imagem img {
  width: 100%;
  display: block;

  box-shadow: 12px 12px 0 var(--marrom);
}

.livro-conteudo p:not(.livro-status) {
  max-width: 600px;

  font-size: 1.05rem;
  line-height: 1.7;
}

.descricao-crianca {
  font-size: 1.15rem !important;
  line-height: 1.8 !important;
}

.livro-conteudo .botao {
  align-self: flex-start;
  margin-top: 2rem;
  min-width: 170px;
  text-align: center;
}

.livro-status {
  margin: 0 0 0.8rem;

  color: var(--laranja);

  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: bold;

  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.livro-conteudo h3 {
  margin: 0 0 1.5rem;

  color: var(--marrom);

  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: normal;
  line-height: 1.05;
}

.livro-conteudo p:not(.livro-status) {
  max-width: 600px;

  font-size: 1.05rem;
  line-height: 1.7;
}


/* =========================
   EM DESENVOLVIMENTO
========================= */

.desenvolvimento {
  padding-top: 6rem;
  padding-bottom: 8rem;
}

.projetos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;

  background-color: rgba(94, 75, 60, 0.25);
}

.projeto {
  min-height: 180px;
  padding: 2rem;

  background-color: var(--bege);

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.projeto:hover {
  background-color: #eee6dd;
}

.projeto span {
  display: block;
  margin-bottom: 2rem;

  color: var(--laranja);

  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.1em;
}

.projeto h3 {
  margin: 0;

  color: var(--marrom);

  font-size: 1.7rem;
  font-weight: normal;
}

.projeto p {
  margin-top: 0.7rem;

  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}


/* =========================
   NAVEGAÇÃO ATIVA
========================= */

.navegacao a.ativo {
  color: var(--laranja);
}


/* =========================
   LIVROS — MOBILE
========================= */

@media (max-width: 700px) {

  .pagina-introducao {
    padding-top: 8vh;
  }

  .livro {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .livro-imagem img {
    max-width: 220px;
  }

  .projetos {
    grid-template-columns: 1fr;
  }

}

/* =========================
   PÁGINA SOBRE
========================= */

.sobre-conteudo {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 6vw 8rem;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 6rem;
  align-items: start;
  border-top: 1px solid rgba(94, 75, 60, 0.25);
}

.sobre-imagem img {
  width: 100%;
  display: block;
  box-shadow: 12px 12px 0 var(--marrom);
}

.sobre-texto {
  max-width: 650px;
}

.sobre-texto p {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.sobre-texto p:last-child {
  margin-bottom: 0;
}

@media (max-width: 700px) {

  .sobre-conteudo {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .sobre-imagem img {
    max-width: 260px;
  }

}

/* =========================
   PÁGINA DE CONTATO
========================= */

.contato-conteudo {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 6vw 8rem;
  border-top: 1px solid rgba(94, 75, 60, 0.25);
}

.contato-texto {
  max-width: 700px;
}

.contato-texto > p {
  margin: 0 0 3rem;
  font-size: 1.2rem;
  line-height: 1.8;
}

.contato-links {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background-color: rgba(94, 75, 60, 0.25);
}

.contato-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 1.8rem;
  background-color: var(--bege);
  color: var(--marrom);
  text-decoration: none;
  font-size: 1.05rem;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.contato-links a:hover {
  background-color: #eee6dd;
  color: var(--laranja);
}

.contato-links span {
  color: var(--laranja);
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 700px) {

  .contato-conteudo {
    padding-top: 4rem;
  }

  .contato-links a {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

}

/* =========================
   PÁGINA DA OBRA
========================= */

.obra-apresentacao {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 6vw 7rem;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 6rem;
  align-items: center;
  border-top: 1px solid rgba(94, 75, 60, 0.25);
}

.obra-imagem img {
  width: 100%;
  display: block;
  box-shadow: 12px 12px 0 var(--marrom);
}

.obra-texto {
  max-width: 680px;
}

.obra-texto p {
  margin: 0 0 1.6rem;
  font-size: 1.08rem;
  line-height: 1.8;
}

.obra-texto p:last-child {
  margin-bottom: 0;
}

.obra-frase {
  margin-top: 2.5rem !important;
  padding-left: 1.5rem;
  border-left: 3px solid var(--laranja);
  color: var(--marrom);
  font-size: 1.15rem !important;
  font-style: italic;
}

.obra-sobre {
  max-width: 900px;
  margin: 0 auto;
  padding: 6rem 6vw 9rem;
  border-top: 1px solid rgba(94, 75, 60, 0.25);
}

.obra-sobre h2 {
  max-width: 700px;
  margin: 0;
  color: var(--marrom);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: normal;
  line-height: 1.1;
}

.obra-sobre > p:last-child {
  max-width: 680px;
  margin-top: 2rem;
  font-size: 1.08rem;
  line-height: 1.8;
}

@media (max-width: 700px) {

  .obra-apresentacao {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 4rem;
  }

  .obra-imagem img {
    max-width: 240px;
  }

  .obra-sobre {
    padding-top: 5rem;
  }

}

/* =========================
   BOTÕES DA OBRA
========================= */

.obra-botoes {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* MEMÓRIAS DE VOCÊ */

.memoria-introducao {
  padding-bottom: 7rem;
  background-color: #fff3f6;
}

.memoria-introducao .rotulo {
  color: #d98b9f;
}

.memoria-introducao h1 {
  color: #665b63;
}


/* APRESENTAÇÃO DA OBRA */

.memoria-apresentacao {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 6vw 9rem;

  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 6rem;
  align-items: center;

  background-color: #fff3f6;

  border-top: 1px solid rgba(102, 91, 99, 0.18);
}


/* ESPAÇO DA FUTURA CAPA */

.memoria-capa {
  display: flex;
  justify-content: center;
}

.capa-indisponivel {
  width: 100%;
  aspect-ratio: 2 / 3;

  padding: 2rem;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  background:
    linear-gradient(
      145deg,
      #f7c8d4 0%,
      #f7c8d4 55%,
      #aeb7c2 55%,
      #7d8793 100%
    );

  color: #332f32;

  box-shadow: 12px 12px 0 #68727d;

  position: relative;
  overflow: hidden;
}


/* DETALHES DA MEMÓRIA */

.capa-indisponivel::before {
  content: "";

  position: absolute;

  width: 120px;
  height: 120px;

  top: 35px;
  right: -30px;

  border-radius: 50%;

  background-color: rgba(255, 255, 255, 0.4);
}

.capa-indisponivel::after {
  content: "";

  position: absolute;

  width: 180px;
  height: 180px;

  left: -80px;
  bottom: 80px;

  border-radius: 50%;

  border: 2px solid rgba(255, 255, 255, 0.4);
}


/* TEXTO DA CAPA */

.capa-indisponivel span {
  position: relative;
  z-index: 1;

  margin-bottom: auto;

  font-family: Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: bold;

  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.capa-indisponivel strong {
  position: relative;
  z-index: 1;

  max-width: 220px;

  color: #332f32;

  font-size: 2rem;
  font-weight: normal;
  line-height: 1.05;
}


/* TEXTO DA OBRA */

.memoria-texto {
  max-width: 650px;
}

.memoria-texto p {
  margin: 0 0 1.6rem;

  font-size: 1.08rem;
  line-height: 1.8;
}

.memoria-texto p:last-child {
  margin-bottom: 0;
}


/* MOBILE */

@media (max-width: 700px) {

  .memoria-apresentacao {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 4rem;
  }

  .memoria-capa {
    justify-content: flex-start;
  }

  .capa-indisponivel {
    max-width: 240px;
  }

}

body:has(.memoria-introducao) {
  background-color: #dfe3e7;
}

/* BARTOLOMIAU */

.bartolomiau {
  position: absolute;
  top: 430px;
  right: 8vw;

  width: 70px;
  height: 55px;

  background-color: #332f32;
  border-radius: 50% 50% 45% 45%;

  z-index: 2;
}

.bartolomiau::before,
.bartolomiau::after {
  content: "";

  position: absolute;
  top: -18px;

  width: 30px;
  height: 30px;

  background-color: #332f32;
}

.bartolomiau::before {
  left: 5px;
  transform: rotate(35deg);
  border-radius: 5px 20px 0 20px;
}

.bartolomiau::after {
  right: 5px;
  transform: rotate(-35deg);
  border-radius: 20px 5px 20px 0;
}

.olho {
  position: absolute;
  top: 21px;

  width: 8px;
  height: 8px;

  background-color: #e5b94c;
  border-radius: 50%;

  z-index: 1;
}

.olho-esquerdo {
  left: 20px;
}

.olho-direito {
  right: 20px;
}

/* BOLINHO MÁGICO */

.bolinho-magico {
  position: absolute;
  top: 720px;
  left: 8vw;

  width: 62px;
  height: 58px;

  z-index: 2;
}

.bolinho-base {
  position: absolute;
  left: 8px;
  bottom: 0;

  width: 46px;
  height: 32px;

  background-color: #d99a70;

  border-radius: 5px 5px 14px 14px;

  transform: skew(-3deg);
}

.bolinho-cobertura {
  position: absolute;
  left: 4px;
  bottom: 22px;

  width: 54px;
  height: 30px;

  background-color: #f3a9bb;

  border-radius: 50% 50% 42% 42%;

  z-index: 1;
}

.bolinho-cobertura::before {
  content: "";

  position: absolute;

  width: 18px;
  height: 18px;

  top: -7px;
  left: 18px;

  background-color: #f3a9bb;

  border-radius: 50%;
}

.bolinho-cobertura::after {
  content: "";

  position: absolute;

  width: 7px;
  height: 7px;

  top: 7px;
  left: 12px;

  background-color: #f7d36d;

  border-radius: 50%;

  box-shadow:
    24px 4px 0 #f7d36d,
    14px 14px 0 #e58b9f;
}

.projeto .botao {
  margin-top: 1.5rem;
}

/* TRILOGIA DE AYMA */

.pagina-ayma {
  background-color: #e8e3d8;
  color: #272a25;
}

.ayma-introducao {
  padding-bottom: 7rem;

  background:
    linear-gradient(
      180deg,
      #e8e3d8 0%,
      #ded8c9 100%
    );
}

.ayma-introducao .rotulo {
  color: #68734f;
}

.ayma-introducao h1 {
  color: #4b5141;
}


/* APRESENTAÇÃO */

.ayma-apresentacao {
  max-width: 1100px;
  margin: 0 auto;

  padding: 6rem 6vw 8rem;

  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 6rem;
  align-items: center;

  border-top: 1px solid rgba(75, 81, 65, 0.25);
}


/* =========================
   CAPAS DA TRILOGIA
========================= */

.ayma-capas {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ayma-capa img {
  width: 100%;
  height: auto;
  display: block;

  box-shadow: 10px 10px 0 #6d715f;
}

/* TEXTO */

.ayma-texto {
  max-width: 650px;
}

.ayma-texto h2 {
  margin: 0 0 2rem;

  color: #4b5141;

  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: normal;
  line-height: 1.05;
}

.ayma-texto p:not(.livro-status) {
  font-size: 1.08rem;
  line-height: 1.8;
  margin-bottom: 1.8rem;
}


/* MUNDO */

.ayma-mundo {
  max-width: 900px;
  margin: 0 auto;

  padding: 6rem 6vw 9rem;

  border-top: 1px solid rgba(75, 81, 65, 0.25);
}

.ayma-mundo h2 {
  max-width: 700px;

  margin: 0;

  color: #4b5141;

  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: normal;
  line-height: 1.1;
}

.ayma-mundo > p:last-child {
  max-width: 680px;

  margin-top: 2rem;

  font-size: 1.08rem;
  line-height: 1.8;
}


/* MOBILE */

@media (max-width: 700px) {

  .ayma-apresentacao {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 4rem;
  }

  .ayma-capas {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
  }

  .ayma-capas-secundarias {
    max-width: 280px;
  }

  .ayma-mundo {
    padding-top: 5rem;
  }

}

/* =========================
   TRILOGIA DE AYMA — VOLUMES
========================= */

.ayma-volumes {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 6vw 8rem;
}

.ayma-volume {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 6rem;
  align-items: center;

  padding: 5rem 0;

  border-top: 1px solid rgba(75, 81, 65, 0.25);
}

.ayma-volume:first-child {
  padding-top: 0;
  border-top: none;
}

.ayma-capa img {
  width: 100%;
  display: block;
  box-shadow: 10px 10px 0 #6d715f;
}

.ayma-texto {
  max-width: 650px;
}

.ayma-texto h2 {
  margin: 0 0 2rem;
  color: #4b5141;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: normal;
  line-height: 1.05;
}

.ayma-texto p:not(.livro-status) {
  font-size: 1.08rem;
  line-height: 1.8;
  margin-bottom: 1.8rem;
}