/* Canonical Lumen Method - A4 Duplex, Murais Bimestrais e Cards Colecionáveis */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Fredoka:wght@400;500;600;700;800&family=Nunito:ital,wght@0,400;0,600;0,700;0,800;0,900;1,600;1,800&family=Space+Mono:wght@700&family=EB+Garamond:wght@400;600;700&display=swap');

@page {
  size: A4 portrait;
  margin: 0;
}

@page :left {
  margin: 0;
}

@page :right {
  margin: 0;
}

.fita-washi {
  position: absolute;
  width: 42px;
  height: 9px;
  border: 1.8px dashed #0284c7;
  background: #ffffff;
  border-radius: 3px;
  top: -5px;
  left: 28px;
  transform: rotate(-2.5deg);
  z-index: 2;
}

.fita-washi.direita {
  left: auto;
  right: 28px;
  transform: rotate(2.5deg);
  border-color: #0284c7;
}

.tag-colorir {
  font-family: 'Fredoka', cursive;
  font-size: 7pt;
  font-weight: 600;
  color: #0284c7;
  border: 1.2px dashed #38bdf8;
  border-radius: 5px;
  padding: 1.5px 6px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Página A4 Frente e Verso */
.pagina-a4-lumen {
  width: 210mm;
  height: 297mm;
  min-height: 297mm;
  max-height: 297mm;
  box-sizing: border-box;
  page-break-after: always;
  break-after: page;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  font-family: 'Nunito', sans-serif;
  color: #1e293b;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

/* Margem de Furação de Fichário (15mm) */
.pagina-a4-frente {
  padding: 7.5mm 10mm 7.5mm 15mm; /* 15mm à esquerda para furação */
}

.pagina-a4-verso {
  padding: 7.5mm 15mm 7.5mm 10mm; /* 15mm à direita para furação espelhada duplex */
}

@media screen {
  .preview-duplex-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 24px 0;
  }
  .pagina-a4-lumen {
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.25), 0 8px 10px -6px rgba(15, 23, 42, 0.15);
    border-radius: 4px;
    border: 1px solid #cbd5e1;
  }
}

@media print {
  body {
    background-color: #ffffff !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .no-print {
    display: none !important;
  }
  .preview-duplex-container {
    padding: 0 !important;
    gap: 0 !important;
  }
  .pagina-a4-lumen {
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    page-break-after: always !important;
    break-after: page !important;
    break-inside: avoid !important;
  }
  .pagina-a4-lumen:last-child {
    page-break-after: avoid !important;
    break-after: avoid !important;
  }
}

/* 1. CABEÇALHO DA FRENTE */
.cabecalho-lumen-frente {
  border: 2px dashed #0284c7;
  border-radius: 13px;
  padding: 5px 12px;
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  min-height: 18mm;
}

.chapeu-lumen {
  font-family: 'Fredoka', cursive;
  font-size: 8pt;
  font-weight: 700;
  color: #0284c7;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.titulo-lumen {
  font-family: 'Fredoka', cursive;
  font-size: 15pt;
  font-weight: 800;
  color: #0369a1;
  line-height: 1.15;
}

.subtitulo-lumen {
  font-family: 'Nunito', sans-serif;
  font-size: 9pt;
  font-weight: 700;
  color: #475569;
}

.badge-construtora {
  background: #ffffff;
  border: 1.8px solid #0284c7;
  color: #0284c7;
  font-family: 'Fredoka', cursive;
  font-size: 8.5pt;
  font-weight: 700;
  padding: 2.5px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.meta-energia-label {
  font-family: 'Nunito', sans-serif;
  font-size: 8pt;
  font-weight: 800;
  color: #64748b;
}

/* 2. FUNDAMENTAÇÃO MORAL / BÍBLICA */
.secao-fundacao-moral {
  border: 2px dashed #0284c7;
  border-radius: 12px;
  padding: 5px 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 11px;
  position: relative;
}

.versiculo-texto {
  font-family: 'Nunito', sans-serif;
  font-size: 10pt;
  font-weight: 800;
  font-style: italic;
  color: #0369a1;
  line-height: 1.25;
}

.ref-moral {
  font-family: 'Fredoka', cursive;
  font-weight: 700;
  font-size: 8.5pt;
  color: #0284c7;
  margin-left: 4px;
}

.explicacao-moral {
  font-family: 'Nunito', sans-serif;
  font-size: 9pt;
  font-weight: 700;
  color: #334155;
  margin-top: 1.5px;
  line-height: 1.22;
}

/* 3. PAINEL CENTRAL DE INVESTIGAÇÃO (100% Didático, Zero Exercícios) */
.painel-investigacao-lumen {
  border: 2px dashed #0284c7;
  border-radius: 13px;
  padding: 7px 11px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  flex: 1;
}

.dialogo-mentor-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px dashed #0284c7;
  border-radius: 9px;
  padding: 5px 9px;
  background: #ffffff;
}

.balao-mentor-texto {
  font-family: 'Nunito', sans-serif;
  font-size: 9pt;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.28;
}

.card-infografico-central {
  border: 1.6px dashed #0284c7;
  border-radius: 10px;
  padding: 6px 9px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.grid-vocabulario-lumen {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 4px;
}

.item-vocabulo-lumen {
  border: 1.4px dashed #38bdf8;
  border-radius: 7px;
  padding: 3px 6px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.rodape-lumen-frente {
  border: 2px dashed #0284c7;
  border-radius: 12px;
  padding: 4px 10px;
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  min-height: 12mm;
}

/* ========================================================= */
/* PÁGINA 2: VERSO 100% PRÁTICO E ATIVO                      */
/* ========================================================= */
.cabecalho-oficina-lumen {
  border: 2px dashed #0284c7;
  border-radius: 13px;
  padding: 5px 12px;
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  min-height: 15mm;
}

.titulo-oficina-lumen {
  font-family: 'Fredoka', cursive;
  font-size: 14pt;
  font-weight: 800;
  color: #0369a1;
  line-height: 1.15;
}

.grade-missoes-lumen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.missao-card-lumen {
  border: 1.8px dashed #0284c7;
  border-radius: 10px;
  padding: 5px 8px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4px;
  min-height: 38mm;
}

.cabecalho-missao-lumen {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed #bae6fd;
  padding-bottom: 2.5px;
}

.missao-5-laboratorio-lumen {
  border: 2px dashed #0284c7;
  border-radius: 12px;
  padding: 6px 9px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
  min-height: 48mm;
}

.box-enigma-cliffhanger {
  border: 2.5px double #000000;
  background: #ffffff;
  padding: 4px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rodape-condecoracao-lumen {
  border: 2px dashed #0284c7;
  border-radius: 12px;
  padding: 4px 10px;
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  min-height: 15mm;
}

.grade-carimbos-ki {
  display: flex;
  gap: 5px;
}

.carimbo-ki-box {
  width: 24px;
  height: 24px;
  border: 1.5px dashed #0284c7;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fredoka', cursive;
  font-size: 8.5pt;
  font-weight: 700;
  color: #0284c7;
}
