/* ============================================================
   STYLEBOITE.CSS — Jeanne Barchilon
   Page : Ma boîte à outils
   ============================================================ */


/* ── H1 (partagé avec autres pages via style.css si besoin) ── */
.h1pages {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--black);
  line-height: 1.2;
  text-align: left;
  word-wrap: break-word;
  margin-bottom: 0;
}
.h1pagesitaclic {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  display: block;
  color: var(--black);
  line-height: 1.15;
  text-align: left;
  margin-top: 0.1em;
}


/* ── SECTION PRINCIPALE ── */
.lecture-section {
  background-color: var(--cream);
  padding: 160px var(--px) 80px;
  position: relative;
  overflow: hidden;
}

/* Étoile décorative */
.lecture-section::after {
  content: "*";
  position: absolute;
  top: 40%; right: -70px;
  font-size: 800px;
  font-weight: bolder;
  color: var(--pink);
  z-index: 0;
  pointer-events: none;
  animation: spinStar 20s linear infinite;
}
.lecture-section > * { position: relative; z-index: 1; }


/* ── GRILLE CARDS ── */
.lecture-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  align-items: center;
  justify-items: center;
  padding-top: 60px;
  padding-bottom: 80px;
}


/* ── CARDS ── */
.lecture-card {
  background: var(--cream);
  border: 1px solid rgba(14,16,15,0.15);
  padding: 24px;
  width: 304px;
  height: auto;
  text-align: left;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}
.lecture-card:hover { transform: scale(1.03) !important; }

.lecture-card p {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: var(--black);
  line-height: 1.8;
}

/* Rotations décalées */
.card-1 { transform: rotate(-3deg) translateY(20px); }
.card-2 { transform: rotate(2deg) translateY(-10px); }
.card-3 { transform: rotate(-2deg) translateY(30px); }
.card-4 { transform: rotate(3deg) translateY(-15px); }


/* ── TITRE CENTRAL ── */
.lecture-h1 {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
  margin: 40px 0;
}


/* ── BOUTON ── */
.lecture-btn-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}


/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .lecture-wrapper {
    grid-template-columns: 1fr 1fr;
    padding-top: 40px;
  }
  .lecture-h1 { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .lecture-section { padding-top: 120px; }
  .lecture-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 20px;
  }
  .lecture-card { width: 100%; }
  .card-1, .card-2, .card-3, .card-4 { transform: none; }
}