
body {
  background-color: #F4F1EC;
  margin: 0;
}

.hero {
  min-height: 100vh;
  padding-top: 10px;
  padding-bottom: 60px;
}

.hero__title {
  font-family: 'Fraunces', serif;
  font-size: 64px;
  font-weight: 500;
  color:#424242
}

/* afasta o bloco de texto do título */
.hero__intro {
  margin-top: 120px;
  font-size: 17px;
  line-height: 1.6;
  color: #6B6B6B;
  opacity: 0.8;
}

/* espaço entre cada parágrafo do texto */
.hero__intro + .hero__intro {
  margin-top: 24px;
}

/* a linha decorativa que sai da margem */
.linha {
  width: 170px;
  height: 1px;
  background-color: #2B2B2B;
  opacity: 0.4;
  margin-top: 60px;
  margin-left: -100px; /* mesma medida da margem da página */
}

/* o texto pequeno em baixo */
.hero__tagline {
  margin-top: 250px;
  font-size: 17px;
  line-height: 1.6;
  color: #6B6B6B;
  opacity: 0.7;
}

.page-wrapper {
  padding-left: 100px;
  padding-right: 100px;
}

/* ============================================
   PENSADORES (galeria espalhada)
   ============================================ */

.pensadores {
  display: grid;
  grid-template-columns: repeat(18, 1fr);
  padding-top: 120px;
  padding-bottom: 120px;
  padding-left: 100px;
  align-items: start;
  opacity: 0.9;
}

.retrato {
  display: block;
  text-decoration: none;
}

.retrato img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.retrato:hover img {
  opacity: 0.8;              /* cai 30% */
  transform: translateY(-2px); /* desliza 2px para cima */
}

.retrato__nome {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #6B6B6B;
  opacity: 0.8;
}

/* --- Posições individuais (o "caos controlado") --- */
/* grid-column: coluna inicial / final  |  grid-row: linha  |  margin-top: deslocamento vertical */

.retrato--descartes {
  grid-column: 2 / 5;
  grid-row: 1;
  margin-top: 256px;
  margin-left: 8px;
}

.retrato--buddha {
  grid-column: 7 / 12;
  grid-row: 1;
  margin-left: 24px;
  margin-top: 16px;
}

.retrato--freud {
  grid-column: 13 / 17;
  grid-row: 1;
  margin-top: 120px;
  margin-left: 64px;
}

.retrato--nietzsche {
  grid-column: 9 / 13;
  grid-row: 2;
  margin-top: -120px;
  margin-right: 56px;
}

.retrato--jung {
  grid-column: 3 / 6;
  grid-row: 2;
  margin-top: 96px;
  margin-right: 8px;
}

.retrato--heidegger {
  grid-column: 13 / 16;
  grid-row: 2;
  margin-top: 152px;
  margin-right: 16px;
}

.retrato--beauvoir {
  grid-column: 7 / 11;
  grid-row: 3;
  margin-top: -136px;
  margin-left: 40px;
}

.retrato--camus {
  grid-column: 14 / 18;
  grid-row: 3;
  margin-top: 144px;
  margin-left: 0px;
}

.retrato--sartre {
  grid-column: 2 / 5;
  grid-row: 3;
  margin-top: 80px;
}

/* ============================================
   PÁGINAS DE PENSADORES
   ============================================ */

.voltar {
  position: fixed;
  top: 40px;
  left: 40px;
  font-size: 20px;
  color: #6b6b6b;
  text-decoration: none;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.voltar--fundo {
  background-color: rgba(244, 241, 236, 0.85);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.voltar:hover { opacity: 0.4; }

.pensador {
  min-height: 100vh;
  padding: 80px 100px 120px 100px;
  position: relative;
  background-color: #F4F1EC;

}

.pensador__nome {
  display: block;
  font-size: 12px;
  color: #6B6B6B;
  margin-bottom: 80px;
}

.bloco {

  margin-bottom: 50px;
}

.pergunta {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 8px;
}

.resposta {
  font-size: 16px;
  color: #6B6B6B;
  line-height: 1.8;
}

.pensador__foto {
  display: block;
  max-width: 180px;
  margin-top: 40px;
}

.frase {
  font-size: 16px;
  color: #6B6B6B;
  font-style: italic;
  margin-top: 80px;
  opacity: 0.7;
}

/* ============================================
   PERGUNTAS
   ============================================ */

.perguntas {
  padding-top: 100px;
  padding-bottom: 80px;
}

.perguntas__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 0;
}

.perguntas__dots {
  font-size: 14px;
  color: rgb(113, 113, 113);
  letter-spacing: 3px;
  flex-shrink: 0;
}

.perguntas__item {
  font-family: 'Lora', serif;
  font-size: 35px;
  font-weight: 100;
  color: #424242;
  margin: 0;
}

.perguntas__divisor {
  margin-top: 0;
  margin-left: -100px;
  width: 200px;
  height: 1px;
  background-color: #2B2B2B;
  opacity: 0.4;
}

.perguntas__divisor2 {
  margin-top: 0;
  margin-left: -100px;
  width: 400px;
  height: 1px;
  background-color: #2B2B2B;
  opacity: 0.4;
}

.perguntas__divisor3 {
  margin-top: 0;
  margin-left: -100px;
  width: 600px;
  height: 1px;
  background-color: #2B2B2B;
  opacity: 0.4;
}

.pensadores__label {
  display: block;
  font-size: 11px;
  color: rgba(107, 107, 107, 0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-left: 100px;
  margin-bottom: 40px;
}


/* ============================================
   CAPA
   ============================================ */

.capa-body {
  background-color: #F4F1EC;
  animation: fadeIn 2s ease forwards;
}

.capa-body.capa-sair {
  animation: fadeOut 1.3s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

.capa {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.capa__conteudo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}



.capa__titulo {
  font-family: 'Fraunces', serif;
  font-size: 100px;
  font-weight: 400;
  color: #2B2B2B;
  margin: 0;
  line-height: 1;
}

.capa__linha {
  width: 120px;
  height: 1px;
  background-color: #2B2B2B;
  opacity: 0.3;
  margin-top: 32px;
  margin-bottom: 20px;
}


/* ============================================
   MARCADOR
   ============================================ */

.marcador {
  position: absolute;
  top: -140px;
  right: 60px;
  width: 36px;
  height: 290px;
  background-color: #9c2d2d;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 50% 100%, 0 82%);
  z-index: 100;
}

.home-body {
  animation: fadeIn 2s ease forwards;
}

.segunda-parte {
  padding-top: 80px;
  padding-bottom: 60px;
}

.entrar {
  display: block;
  margin-top: 60px;
  text-align: center;
  font-size: 24px;
  color: #424242;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.entrar:hover {
  opacity: 1;
}

.pensadores__titulo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10vw;
  font-weight: 800;
  color: #6b6b6b;
  opacity: 0.9;
  margin: 0;
  padding: 0;
  line-height: 0.63;
  width: 100%;
  overflow: hidden;
  text-align: center;
}

.fimp {
  font-size: 16px;
  color: #6B6B6B;
  margin-left: 100px;
  margin-bottom: 50px;
}

/* ============================================
   MOBILE
   ============================================ */

@media (max-width: 1024px) {

  .page-wrapper {
    padding-left: 24px;
    padding-right: 24px;
  }

  .voltar {
    top: 20px;
    left: 20px;
  }

  /* HERO */
  .hero__title { font-size: 40px; }
  .hero__intro { margin-top: 60px; font-size: 16px; }
  .linha { margin-left: -24px; }

  /* PERGUNTAS */
  .perguntas { padding-top: 80px; }
  .perguntas__item { font-size: 24px; }
  .perguntas__divisor,
  .perguntas__divisor2,
  .perguntas__divisor3 {
    margin-left: -24px;
    width: 70%;
  }

  /* GALERIA — abandona o "caos controlado", vai a 2 colunas */
  .pensadores {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .retrato--descartes,
  .retrato--buddha,
  .retrato--freud,
  .retrato--nietzsche,
  .retrato--jung,
  .retrato--heidegger,
  .retrato--beauvoir,
  .retrato--camus,
  .retrato--sartre {
    grid-column: auto;
    grid-row: auto;
    margin: 0;
  }

  /* MARCADOR mais pequeno */
  .marcador {
    right: 24px;
    width: 24px;
    height: 190px;
    top: -90px;
  }

  /* CAPA */
  .capa__titulo { font-size: 56px; }

  /* PÁGINAS INDIVIDUAIS — base comum */
  .pensador {
    padding: 80px 24px 80px 24px;
  }

  .pensador .bloco {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 40px !important;
    max-width: 100%;
  }

  .pensador__foto {
    margin-left: 0 !important;
    margin-top: 40px !important;
    max-width: 70% !important;
    position: static !important;
    transform: none !important;
  }

  .pensador .frase {
    margin-left: 0 !important;
    margin-top: 40px !important;
    text-align: left !important;
  }

  /* CAMUS + HEIDEGGER — desfaz o flex horizontal */
  .pensador > div[style*="flex"] {
    display: block !important;
    position: static !important;
    transform: none !important;
    gap: 0 !important;
    margin-top: 40px !important;
  }

  /* CAMUS — foto e linha decorativa saem do absolute */
  .pensador .pensador__foto,
  .linhacamus {
    position: static !important;
  }

  .linhacamus {
    display: none !important;
  }

  /* JUNG — mandala de fundo mais contida */
  .mandala {
    max-width: 90% !important;
    top: 20% !important;
    opacity: 0.15 !important;
  }

  /* PÁGINA PENSADORES */
  .pensadores__titulo { font-size: 10vw; padding-top: 10px;}
  .fimp { margin-left: 24px; }
  
.hero {
    min-height: 100vh;
  }

.hero__tagline {
    font-size: 16px;
    margin-top: 170px;
  }


  .perguntas__item { font-size: 20px; }

  .perguntas__divisor  { margin-left: -24px; width: 40%; }
  .perguntas__divisor2 { margin-left: -24px; width: 60%; }
  .perguntas__divisor3 { margin-left: -24px; width: 80%; }

  .pensador .bloco[style*="center"] {
    text-align: left !important;
  }
}