/* Habillage complémentaire du thème (chargé après le thème Mobirise) :
   typographie chaleureuse, boutons arrondis, cartes et icônes rondes. */

body,
.display-4,
.display-5,
.display-7 {
  font-family: 'Mulish', 'Rubik', sans-serif;
}

.display-1,
.display-2,
h1.mbr-section-title,
h2.mbr-section-title,
.mbr-section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
}

/* Boutons arrondis */
.btn,
.btn-form,
.btn-primary,
.btn-black-outline {
  border-radius: 999px;
}

/* Cartes (utilisées pour les listes de soins et les tarifs) */
.jf-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 34px 30px;
  box-shadow: 0 18px 40px -28px rgba(51, 51, 51, 0.3);
  height: 100%;
}

.jf-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 10px;
  color: #333333;
}

.jf-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #767676;
  margin: 0;
}

.jf-card--dark {
  background: #0d6786;
  color: #ffffff;
}

.jf-card--dark h3,
.jf-card--dark p {
  color: #ffffff;
}

.jf-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #bbe1ed;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 20px;
}

.jf-card--dark .jf-icon-circle {
  background: rgba(255, 255, 255, 0.16);
}

.jf-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

@media (max-width: 991px) {
  .jf-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .jf-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Portrait avec cadre arrondi */
.jf-portrait {
  border-radius: 28px;
  box-shadow: 0 30px 60px -20px rgba(13, 103, 134, 0.35);
}

/* Blocs de quantité sélectionnables (bon de commande) */
.jf-qty-option {
  position: relative;
  display: block;
  cursor: pointer;
  margin: 0;
}

.jf-qty-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.jf-qty-box {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(51, 51, 51, 0.15);
  transition: transform .15s ease, box-shadow .15s ease;
}

.jf-qty-head {
  background: #333333;
  color: #ffffff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 10px 4px;
  text-align: center;
}

.jf-qty-price {
  background: #efefef;
  padding: 16px 4px;
  text-align: center;
}

.jf-qty-price strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1;
  color: #333333;
}

.jf-qty-option input:checked + .jf-qty-box {
  box-shadow: 0 10px 30px -8px rgba(20, 157, 204, 0.5);
  transform: scale(1.06);
  position: relative;
  z-index: 1;
}

.jf-qty-option input:checked + .jf-qty-box .jf-qty-head {
  background: #149dcc;
}

.jf-qty-option input:checked + .jf-qty-box .jf-qty-price {
  background: #eaf6fb;
}

.jf-qty-option input:checked + .jf-qty-box .jf-qty-price strong {
  color: #0d6786;
}

@media (max-width: 480px) {
  .jf-qty-head {
    font-size: .65rem;
    padding: 8px 2px;
  }
  .jf-qty-price {
    padding: 10px 2px;
  }
  .jf-qty-price strong {
    font-size: 1.1rem;
  }
  .jf-qty-option input:checked + .jf-qty-box {
    transform: scale(1.03);
  }
}

/* Menu mobile (burger) : panneau bien visible, liens empilés */
@media (max-width: 991.98px) {
  #navbarSupportedContent.show,
  #navbarSupportedContent.collapsing {
    display: block !important;
    background: #ffffff;
    border-top: 1px solid rgba(51, 51, 51, 0.08);
    box-shadow: 0 16px 30px -16px rgba(51, 51, 51, 0.35);
    padding: 8px 5vw 20px;
    margin-top: 16px;
  }
  #navbarSupportedContent ul {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    margin: 8px 0 0 !important;
  }
  #navbarSupportedContent ul li a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(51, 51, 51, 0.08);
    font-size: 16px !important;
  }
  #navbarSupportedContent > a.btn {
    width: 100%;
    justify-content: center;
    margin: 16px 0 0 !important;
  }
}
