/* ==========================================================================
   NÓS · composição dos 6 blocos. As peças vêm de 20-componentes.css; aqui
   fica só onde cada uma senta. Celular primeiro.
   ========================================================================== */

/* ---- 1 · abertura (sol): o Biblinho de avental chama pra conhecer a turma ---- */
.abertura__fala { --rabo-x: calc(50% - 0.62rem); max-width: 19rem; margin: 0.55rem 0 0.75rem; text-align: center; }
@media (min-width: 48rem) {
  .abertura__fala { justify-self: start; max-width: 24rem; margin: 0.25rem 0 0 0.5rem; text-align: left; }
  .abertura__fala::after {                   /* no computador o rabo aponta pro lado, pro Biblinho */
    top: 46%;
    bottom: auto;
    left: -0.72rem;
    transform: rotate(135deg) skew(8deg, 8deg);
  }
}

/* ---- 2 · a fundadora (claro): ela fala em balão, a foto mora na mancha e a história num cartão ---- */
.fundadora__miolo { display: grid; justify-items: center; gap: 2.25rem; }
.fundadora__retrato { display: grid; justify-items: center; width: min(100%, 24rem); }
.fundadora__oi { --rabo-x: calc(50% - 0.62rem); z-index: 1; margin-bottom: 0.55rem; text-align: center; rotate: -2deg; }
.fundadora__retrato .mancha { width: 100%; }
/* quem somos são duas pessoas (pedido dela em 24/11): duas manchas lado a lado, cada uma com o crachá embaixo */
.fundadora__dupla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; width: 100%; margin: 0; padding: 0; list-style: none; }
.fundadora__pessoa { display: grid; justify-items: center; align-content: start; gap: 0.55rem; }
/* a foto de cada um: retrato 4 por 5 com a moldura das capas, um pouco torta, em cima da mancha */
.fundadora__foto { align-self: center; width: 76%; rotate: var(--giro, 0deg); }
.fundadora__foto img { aspect-ratio: 4 / 5; }
.fundadora__cracha { display: grid; justify-items: center; line-height: 1.2; text-align: center; }
.fundadora__cracha strong { font-family: var(--fonte-letreiro); font-size: var(--letreiro-p); font-weight: 400; letter-spacing: 0.01em; }
.fundadora__cracha span { font-size: var(--texto-p); font-weight: 800; color: var(--tinta-suave); }
/* como tudo começou: quatro marcos (2020, de 2020 a 2023, 2023, 2024) em cartões, com o ano na etiqueta */
.fundadora__comeco { display: grid; gap: 1.7rem; grid-column: 1 / -1; width: 100%; }
.fundadora__comeco-titulo { font-family: var(--fonte-letreiro); font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); font-weight: 400; line-height: 1.1; letter-spacing: 0.01em; text-align: center; }
.fundadora__linha { display: grid; gap: 1.9rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.fundadora__marco { position: relative; padding-top: clamp(1.7rem, 1.35rem + 1.4vw, 2.2rem); }
.fundadora__ano { position: absolute; top: -0.95rem; left: 1.15rem; font-family: var(--fonte-letreiro); font-size: 1.05rem; font-weight: 400; letter-spacing: 0.04em; }
.fundadora__porque { max-width: 46rem; margin-inline: auto; text-align: center; }
@media (min-width: 48rem) { .fundadora__linha { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 48rem) { .fundadora__linha--quatro { grid-template-columns: repeat(2, minmax(0, 1fr)); } }   /* quatro marcos: dois por linha, pra o texto respirar */
/* a deixa do Biblinho antes da frase da Jéssica */
.fundadora__deixa { margin-bottom: 0.4rem; font-family: var(--fonte-texto); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); font-weight: 800; line-height: 1.3; }
.fundadora__historia { max-width: 40rem; }

/* a frase em destaque: o Biblinho abraça o balão, e o rabo aponta pro nome dela */
.fundadora__frase { display: grid; justify-items: center; width: 100%; }
.fundadora__biblinho { z-index: 1; width: clamp(7rem, 30vw, 10.5rem); margin-bottom: -2.3rem; }
.fundadora__biblinho::after { content: none; }      /* no celular ele pisa no balão; a sombra oval só entra no computador */
.fundadora__dito {
  --rabo-x: 2.5rem;
  display: block;
  max-width: 44rem;
  padding: 2.9rem 1.3rem 1.25rem;
  font-size: clamp(1.3rem, 1.02rem + 1.35vw, 1.9rem);
  text-align: center;
}
.fundadora__autora {
  display: flex;
  flex-flow: row-reverse wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  width: min(100%, 44rem);
  margin-top: 1.15rem;
  padding-right: 1.1rem;
}
.fundadora__nome { font-family: var(--fonte-letreiro); font-size: var(--letreiro-p); line-height: 1.15; letter-spacing: 0.01em; }
@media (min-width: 48rem) {
  .fundadora__frase { grid-template-columns: auto minmax(0, 44rem); justify-content: center; align-items: end; }
  .fundadora__biblinho { margin: 0 -2.5rem -0.75rem 0; }
  .fundadora__biblinho::after { content: ""; }
  .fundadora__dito { padding: 1.5rem 1.75rem 1.6rem 3.6rem; text-align: left; }
  .fundadora__autora { grid-column: 2; }
}
@media (min-width: 62rem) {
  .fundadora__miolo { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: center; gap: 3rem 3rem; }
  .fundadora__retrato { width: min(100%, 32rem); justify-self: end; }   /* mais largo desde 24/11: são duas fotos lado a lado */
  .fundadora__historia { justify-self: start; }
  .fundadora__frase { grid-column: 1 / -1; }
}

/* ---- 3 · a marca (azul): a logo fala em balão, missão e sonho ao lado, os 4 pilares presos com fita ---- */
.marca__topo { display: grid; justify-items: center; gap: 2.25rem; }
.marca__quem { display: grid; justify-items: center; width: min(100%, 21rem); }
.marca__fala { --rabo-x: calc(50% - 0.62rem); z-index: 1; margin-bottom: 0.55rem; text-align: center; rotate: 2deg; }
.marca__mancha { --mancha-cor: var(--branco); width: 100%; }
.marca__logo { align-self: center; width: 64%; }
.marca__diz { display: grid; gap: 2rem; width: 100%; max-width: 40rem; }
.marca__missao { padding-top: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); }
.marca__rotulo { position: absolute; top: -0.95rem; left: 1.15rem; font-family: var(--fonte-texto); font-size: var(--texto-p); }
.marca__sonho { display: block; max-width: none; padding: 1.8rem 1.35rem 1.2rem; font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.9rem); }
@media (min-width: 62rem) {
  .marca__topo { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; gap: 3.5rem; }
  .marca__quem { order: 2; width: min(100%, 24rem); justify-self: start; }
  .marca__diz { justify-self: end; }
}

/* os 4 pilares: papel colorido nas 4 cores das listras da marca, preso com fita */
.pilares { display: grid; gap: 1.9rem 1.25rem; margin-top: clamp(2.75rem, 2rem + 3vw, 4rem); }
@media (min-width: 40rem) { .pilares { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 68rem) { .pilares { grid-template-columns: repeat(3, minmax(0, 1fr)); } }   /* desde 24/11 são 6 pilares: três por linha */
.pilar {
  --pilar-cor: var(--pessego);
  padding: 1.7rem 1.2rem 1.3rem;
  background: var(--pilar-cor);
  border-radius: var(--raio-m);
  box-shadow: var(--sombra-papel);
  rotate: var(--giro, 0deg);
}
.pilar--menta { --pilar-cor: var(--menta); }
.pilar--agua { --pilar-cor: var(--agua); }
.pilar--rosa { --pilar-cor: var(--rosa); }
.pilar > * + * { margin-top: 0.45rem; }
.pilar__titulo { font-family: var(--fonte-letreiro); font-size: var(--letreiro-p); font-weight: 400; line-height: 1.12; letter-spacing: 0.02em; text-transform: uppercase; }
.pilar__texto { font-weight: 700; line-height: 1.45; }
.marca__botoes { margin-top: clamp(2rem, 4vw, 3rem); }

/* ---- 4 · bastidores (claro): o chef apresenta as fotos presas com fita ---- */
.bastidores__cabeca {
  position: relative;
  display: inline-grid;
  grid-template-columns: auto minmax(0, auto);
  grid-template-areas: "chef fala" "titulo titulo" "chao chao";
  align-items: end;
  justify-items: start;
  column-gap: 0.5rem;
  max-width: 100%;
  text-align: left;
}
.bastidores__chef { grid-area: chef; width: clamp(6.5rem, 26vw, 11rem); }
.bastidores__fala { grid-area: fala; align-self: center; margin-left: 0.4rem; }
.bastidores__cabeca .letreiro { grid-area: titulo; justify-self: center; margin-top: 1.1rem; text-align: center; }
.bastidores__chao { grid-area: chao; width: 100%; height: 1.4rem; margin: 0.35rem 0 0; aspect-ratio: auto; }
.bastidores__frase { margin-top: 1.25rem; }
@media (min-width: 48rem) {
  .bastidores__cabeca { grid-template-areas: "chef fala" "chef titulo" "chao chao"; column-gap: clamp(0.5rem, 2vw, 1.25rem); }
  .bastidores__chef { z-index: 1; margin-bottom: -0.5rem; }
  .bastidores__chef::after { content: none; }       /* no computador o giz é o chão dele e do letreiro */
  .bastidores__fala { align-self: end; margin-bottom: 0.9rem; }
  .bastidores__cabeca .letreiro { justify-self: start; margin-top: 0; padding-bottom: 0.3em; text-align: left; }
  .bastidores__chao { margin-top: 0; }
}

.polaroides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; margin-top: 2.75rem; }
.polaroides > li { display: grid; justify-items: center; }      /* a vaga ocupa a coluna inteira: todas as polaroides do mesmo tamanho */
.polaroides .polaroide__foto .marcador { padding: 0.5rem; font-size: var(--texto-p); }
@media (min-width: 48rem) { .polaroides .polaroide__foto .marcador { font-size: var(--texto-m); } }
@media (min-width: 62rem) { .polaroides { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }

/* ---- 5 · conheça o Biblinho (céu): ele se apresenta e mostra a cartela de adesivos ---- */
.mascote__topo { display: grid; justify-items: center; gap: 1.1rem; text-align: center; }
.mascote__texto { display: contents; }
.mascote__titulo { order: 1; }
.mascote__giz { order: 1; margin-top: -0.55rem; }
.mascote__figura { order: 2; width: min(58%, 14rem); margin-top: 0.5rem; }
.mascote__fala { order: 3; margin-top: 0.4rem; }
.mascote__frase { order: 4; }
.mascote__falta { order: 5; width: min(100%, 30rem); }
.mascote__porque { order: 5; width: min(100%, 36rem); text-align: left; }   /* por que ele é uma Bíblia e o que é a coroa */
.mascote__fala::after {                       /* celular: o rabo aponta pra cima, pro Biblinho */
  top: -0.72rem;
  bottom: auto;
  left: 50%;
  margin-left: -0.62rem;
  transform: rotate(-135deg) skew(8deg, 8deg);
}
@media (min-width: 62rem) {
  .mascote__topo { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; justify-items: stretch; gap: 3rem; text-align: left; }
  .mascote__texto { display: grid; justify-items: start; gap: 1.25rem; }
  .mascote__giz { margin-top: -0.9rem; }
  .mascote__figura { order: 0; width: min(100%, 19rem); margin-top: 0; justify-self: end; }
  .mascote__fala { margin-top: 0.35rem; }
  .mascote__fala::after { top: 52%; left: -0.72rem; margin-left: 0; transform: rotate(135deg) skew(8deg, 8deg); }
}

/* cartela de adesivos: cada pose em pé no seu traço de giz */
.mascote__cartela { margin-top: clamp(2.25rem, 5vw, 3.25rem); }
.poses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 0.75rem; }
@media (min-width: 40rem) { .poses { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 62rem) { .poses { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; } }
.pose figure { display: grid; justify-items: center; }
.pose .vaga { position: relative; z-index: 1; width: min(100%, 9.5rem); }
.pose__chao { width: min(100%, 9.5rem); margin-top: -0.4rem; }
.pose figcaption { max-width: 10rem; margin-top: 0.55rem; font-size: var(--texto-p); font-weight: 900; line-height: 1.25; text-align: center; }
.mascote__botoes { margin-top: clamp(1.75rem, 4vw, 2.5rem); }

/* ---- 6 · no que cremos (coral): o Biblinho, de Bíblia aberta, pisa na borda do cartão ---- */
.cremos__miolo { display: grid; justify-items: center; }
.cremos__cabeca { display: grid; justify-items: center; text-align: center; }
.cremos__fala { margin-top: 1.25rem; }
.cremos__biblinho { position: relative; z-index: 1; justify-self: end; width: clamp(6.5rem, 26vw, 9.5rem); margin: -0.25rem 0.75rem -1.5rem 0; }
.cremos__cartao { width: 100%; padding-top: clamp(2rem, 1.4rem + 2.6vw, 2.75rem); }
.cremos__rascunho { font-size: var(--texto-p); }
.cremos__titulo { font-family: var(--fonte-letreiro); font-size: var(--letreiro-p); font-weight: 400; line-height: 1.15; letter-spacing: 0.01em; }
.cremos__lista { display: grid; gap: 0.85rem; counter-reset: cremos; }
.cremos__lista li {
  position: relative;
  min-height: 2.1rem;
  padding-left: 2.9rem;
  font-size: var(--texto-g);
  font-weight: 700;
  line-height: 1.5;
  counter-increment: cremos;
}
.cremos__lista li::before {                   /* número no mesmo círculo sol do sinal da sanfona */
  content: counter(cremos);
  position: absolute;
  top: 0.05em;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  background: var(--sol);
  font-family: var(--fonte-letreiro);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1;
  border: 2px solid var(--marinho);
  border-radius: 50%;
}
.cremos__ref { color: var(--coral-forte); font-weight: 900; }
.cremos__fim {
  display: grid;
  justify-items: start;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 2px dashed rgb(var(--marinho-rgb) / 0.24);
}
.cremos__fecho { font-size: var(--texto-g); font-weight: 900; line-height: 1.4; }
@media (min-width: 48rem) {
  .cremos__miolo { grid-template-columns: minmax(0, 1fr) auto; justify-items: stretch; align-items: end; width: min(100% - 2 * var(--calha), 56rem); }
  .cremos__cabeca { justify-items: start; padding-bottom: 2.25rem; text-align: left; }
  .cremos__fala { justify-self: end; margin: 0.5rem 0.9rem 0 0; }
  .cremos__fala::after {                      /* o rabo aponta pro lado, pro Biblinho */
    top: 50%;
    right: -0.72rem;
    bottom: auto;
    transform: rotate(-45deg) skew(8deg, 8deg);
  }
  .cremos__biblinho { width: clamp(9.5rem, 16vw, 12.5rem); margin: 0 1.5rem -1.6rem 0; }
  .cremos__cartao { grid-column: 1 / -1; }
  .cremos__fim { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.5rem; }
}
