/* ── Reset ── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ── Page ── */
html {
  scrollbar-width: none; /* Firefox */
}
html::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

body {
  background: #f5f1f0;
  font-family: 'Times New Roman', Times, serif;
  padding: 20px;
}
.page {
  background: transparent;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 50px 60px;
}

/* ── Titre ── */
.title {
  font-family: Arial Black, 'Arial Bold', Gadget, sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(48px, 12vw, 160px);
  line-height: 0.9;
  letter-spacing: -2px;
  color: rgb(148, 57, 110);
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
}
.subtitle {
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: clamp(11px, 1.2vw, 14px);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgb(148, 57, 110);
  margin-bottom: 40px;
  margin-left: auto;
  margin-right: auto;
}
.text{
  margin-left: auto;
  margin-right: auto;
  font-family: Arial, sans-serif;
  color:rgb(148, 57, 110) ;
  margin-bottom: 40px;
  font-size: clamp(9px, 11.2vw, 12px);
  width: 600px;
}
.textlove{
  margin-left: auto;
  margin-right: auto;
  font-family: Arial, sans-serif;
  color: rgb(148, 57, 110);
  margin-bottom: 40px;
  width: 600px;
  text-align: center;
  font-size: clamp(9px, 11.2vw, 12px);
}
.textmother{
  margin-left: auto;
  margin-right: auto;
   font-family: Arial, sans-serif;
  color: rgb(148, 57, 110);
  margin-bottom: 40px;
  width: 600px;
  text-align: center;
   font-size: clamp(9px, 11.2vw, 12px);
  }
/* ── Sections ── */
.section {
  margin-bottom: 50px;
}
.section-title {
  font-family: Arial Black, 'Arial Bold', Gadget, sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(13px, 2vw, 22px);
  letter-spacing: 0.02em;
  color: rgb(148, 57, 110);
  margin-bottom: 16px;
  text-transform: uppercase;
   margin-left: auto;
  margin-right: auto;
}

/* ── Grille ── */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

/* ── Image ── */
.card {
  position: relative;
  overflow: hidden;
  background: transparent;
  padding-top: 35.36%;
  cursor: pointer;
}
.card-inner {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* ── Image finale ── */
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.card:hover .card-img,
.card.tapped .card-img {
  transform: scale(1.07);
}

/* ── (quand il n'y a pas d'images) ── */
.card-placeholder {
  position: absolute;
  inset: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.card:hover .card-placeholder,
.card.tapped .card-placeholder {
  transform: scale(1.07);
}
.card-label {
  font-family: 'Times New Roman', Times, serif;
  font-size: clamp(9px, 1.2vw, 14px);
  letter-spacing: 0.2em;
  color: rgb(148, 57, 110);
  text-transform: uppercase;
  pointer-events: none;
   margin-left: auto;
  margin-right: auto;
}

/* ── Tablette ── */
@media (max-width: 900px) {
  .page {
    padding: 30px 30px 50px;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* ── mobile ── */
@media (max-width: 480px) {
  body {
    padding: 8px;
  }
  .page {
    padding: 18px 14px 36px;
  }
  .title {
    letter-spacing: -1px;
  }
  .subtitle {
    margin-bottom: 28px;
  }
  .section {
    margin-bottom: 32px;
  }
  .section-title {
    margin-bottom: 10px;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}