*{
  scroll-behavior: smooth;
}

/* Packs */
#paks,
#weddings {
  background: #000;
}

#weddings .textCtnr {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* 👈 pas center */
  width: 70%;
  /* 2 colonnes équilibrées */
  padding: 1rem;
  white-space: initial;
}



.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 1rem;
  width: 70%;
}

.textCtnrGrid {
  width: 100% !important;
  padding: .5rem !important;
}

.grid ol {
  width: 100%;
  overflow: hidden;
}

.grid .textCtnr:first-child ol li {
  display: flex;
  align-items: flex-start;
  /* aligne le haut du texte avec l’icône */
  gap: .5rem;
  white-space: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  /* coupe proprement si vraiment trop long */
  font-size: clamp(0.85rem, 1.2vw, 1rem);
}

/* le texte prend toute la place et wrap proprement */
.grid .textCtnr:first-child ol li span {
  display: block;
  flex: 1;
}

#weddings .textCtnr p,
ol li {
  font-size: 1rem;
  font-style: italic;
  color: #f1f1f1;
}

#weddings .textCtnr ol {
  list-style: none;
  padding: .5rem;
}

#weddings .textCtnr ol li {
  margin-bottom: .5rem;
}

#weddings h3 {
  font-weight: 400;
  font-size: clamp(0.85rem, 1.2vw, 2rem) !important;
  color: #f1f1f1;
  padding: 0 0 1rem 0;
  white-space: nowrap;
}

.tags {
  padding: .1rem 1rem;
  background: #363636;
  border: 1px solid rgba(210, 180, 120, .3);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #fff !important;
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 400;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
}

#vehicleCarrousel {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 15rem;
  overflow: hidden;
}

#vehicleCarrousel div {
  position: relative;
  display: flex;
  justify-content: center;
  width: 15%;
  padding: 1rem;
  margin-right: 1rem;

}

.vehInfos {
  display: flex;
  background: red;
  color: #f1f1f1;
}

.page-mariage h2 {
  color: #f1f1f1;
  /* font-family: smooch; */
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 3rem;
  font-weight: 400;
  white-space: nowrap;
}

.wrap {
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: center;

  width: 100%;
  height: 100%;
  /* border: 1px solid crimson; */

}

.section-head {
  padding: 2rem;
}

.packs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
  width: 70%;
  height: auto;
  min-height: 50vh;
  margin-top: 2rem;
}

.pack {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid #363636;
  background: #000;
  overflow: hidden;
  transition: all ease .3s;
}

.pack:hover {
  -webkit-box-shadow: 0px 0px 10px 5px #f1f1f1;
  box-shadow: 0px 0px 10px 5px #f1f1f1;
}

.pack.prestige {
  transform: scale(1.06);
  z-index: 2;
  border: 1px solid #f1f1f1;
}

.packname {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 2rem !important;
  font-weight: 500;
  margin: 0 0 8px;
  color: #f1f1f1;
}

.pack .subtitle {
  font-family: crimson pro;
  min-height: 2.6em;
  color: var(--avocado);
  font-size: .9rem;
  white-space: nowrap;
}

.separator {
  width: 100%;
  height: 1px;
  background: #363636;
  margin: .5rem 0 .5rem;
  opacity: .8;
}

.pack .spec {
  display: grid;
  gap: 8px;
  margin: 14px 0 18px;
  position: relative;
}

.fa-check {
  color: var(--avocado);
  min-width: 16px;
  /* pour un alignement bien net */
  text-align: center;
}

.spec {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec li {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .3rem 12px;
  font-size: 14px;
  color: #f1f1f1;
}

.spec li i {
  color: var(--avocado);
  min-width: 16px;
  text-align: center;
}

.price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 12px;
  font-size: 15px;
  color: #f1f1f1;
}

.price span {
  font-size: 1rem;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.price strong {
  font-size: 1.5rem;
  font-weight: 500;
  color: #f1f1f1;
}

.wrng {
  width: 100%;
  text-align: center;
  padding: 1rem 0 0 0;
  font-style: italic;
  font-size: .7rem;
  font-weight: 200;
  color: #f1f1f1;
}

.pack .actions {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90%;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--darkgreen);
  background: var(--darkgreen);
  color: #f1f1f1;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .2px;
  transition:
    transform 300ms ease,
    box-shadow 300ms ease,
    background 300ms ease,
    border-color 300ms ease,
    filter 300ms ease;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .28);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(0.7);
  /* un peu plus foncé */
  box-shadow: 0 18px 60px rgba(0, 0, 0, .50);
}

/* REVIEWS */
.reviews {
  background: #000;
}

.reviewCntr {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 1rem;
}

.reviews .rv-slider {
  color: #f1f1f1;
  background: #363636;
  border: 1px solid #f1f1f1;
  white-space: nowrap;
}

.page-mariage .rv-stars {
  margin: .5rem;
}

.page-mariage .rv-cntr {
  position: relative;
  width: 100%;
  height: 10rem;
  max-width: 700px;
  margin: auto;
  overflow: hidden;
}

.page-mariage .rv-slider {
  position: absolute;
  inset: 0;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  width: 100%;
  padding: 1.2rem 1.5rem;
  background: linear-gradient(180deg, #1e1e1e, #141414);
  border: 2px solid #363636;
  border-radius: 12px;
  color: #f1f1f1;
  white-space: inherit;

  transform: translateX(100%);
  opacity: 0;
  transition: transform .7s ease, opacity .7s ease;
}

.source {
  display: flex;
  justify-content: right;
  align-items: center;
}

.source a {
  color: #aaa;
  font-size: .8rem;
}

/* Avis visible */
.page-mariage .rv-slider.active {
  transform: translateX(0);
  opacity: 1;
}

/* Avis qui sort à gauche */
.page-mariage .rv-slider.exit {
  transform: translateX(-100%);
  opacity: 0;
}

.page-mariage .btn-more-reviews {
  background: var(--avocado);
  color: #fff;
  width: 15rem;
}

/* Contact */
.page-mariage #contact {
  background: #000;
}

.weddingContact {
  text-align: center;
  font-size: 1rem;
  color: #f1f1f1;
}

.wedding-phone-number {
  display: inline-block;
  text-decoration: none;
  color: #000;
  margin: 2rem;
  padding: 1rem 5rem 1rem 5rem;
  background: #f1f1f1;
  font-size: 1.4rem;
  border-radius: 5px;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  transition: all 0.25s ease;
  position: relative;
}

/* effet hover */
.wedding-phone-number:hover {
  background: #e4e4e4;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

/* effet clic */
.wedding-phone-number:active {
  transform: translateY(0px) scale(0.98);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* ========== MEDIA QUERIES PACKS ========== */

/* ≤ 1200px : on élargit un peu, on garde 3 colonnes si ça passe */
@media (max-width: 1200px) {

  .packs {
    width: 90%;
    padding: 1.5rem;
    gap: 14px;
  }

  .packname {
    font-size: 1.8rem !important;
  }

  .btn {
    width: 85%;
  }
}

/* ≤ 900px : on passe en 2 colonnes */
@media (max-width: 900px) {
  .packs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 95%;
    padding: 1.25rem;
  }

  /* Le prestige ne doit pas pousser les autres */
  .pack.prestige {
    transform: scale(1.03);
    margin-left: 0;
    margin-right: 0;
  }

  .pack .subtitle {
    white-space: normal;
    /* évite les débordements */
  }
}

@media (max-width: 768px) {

  #weddings {
    margin-top: 15vh;
  }

  .page-mariage .sectionTitle {
    padding: .2rem;
  }

  .page-mariage h2 {
    color: #f1f1f1;
    font-size: 2rem;
  }

  .packs {
    margin-top: 0;
  }

  .grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    width: 95%;
  }

  .grid .textCtnr:first-child ol li {
    white-space: normal;
    text-overflow: initial;
  }

  #weddings .textCtnr {
    width: 95%;
  }

  .weddings {
    background: #363636;
  }

  .reviews {
    padding-bottom: .5rem;
  }

  .reviewsRow {
    justify-content: center;
    margin-top: 0;
    padding: 1rem;
  }

  .page-mariage .btn-more-reviews {
    width: 10rem;
  }

  .btn-review {
    width: 7rem;
  }
  .wedding-phone-number{

    font-size: 1rem;
  }
}

/* ≤ 600px : 1 colonne (mobile) */
@media (max-width: 600px) {
  .packs {
    grid-template-columns: 1fr;
    width: 100%;
    padding: 1rem;
    gap: 12px;
  }

  /* Sur mobile, scale = risque de débordement -> on enlève */
  .pack.prestige {
    transform: none;
    margin: 0;
    border-color: #f1f1f1;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  }

  .packname {
    font-size: 1.6rem !important;
  }

  .spec div {
    font-size: 13px;
    padding: 10px 10px;
  }

  .btn {
    width: 100%;
    white-space: normal;
    /* bouton peut passer à la ligne */
    text-align: center;
  }
}

/* ≤ 420px : très petits écrans */
@media (max-width: 420px) {
  .pack {
    padding: 16px;
  }

  .packname {
    font-size: 1.45rem !important;
  }

  .spec div {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}