/* Landing page de la bourse aux skis */
:root {
  --bs-navy: #343a40; /* gris foncé Bootstrap (texte des titres du club) */
  --bs-blue: #007bff; /* bleu primaire du club */
  --bs-blue-dark: #0056b3;
  --bs-ice: #f8f9fa; /* bg-light du club */
  --bs-text: #495057;
}

.bs-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cfe3ff;
  margin-bottom: 1rem;
}
.bs-eyebrow-dark {
  color: var(--bs-blue);
  margin-bottom: 0.5rem;
}

/* Boutons */
.bs-btn-primary {
  background: var(--bs-blue);
  border: 2px solid #fff;
  color: #fff;
  font-weight: bold;
  border-radius: 25px;
  padding: 0.7rem 2rem;
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    background 0.15s;
}
.bs-btn-primary:hover {
  background: var(--bs-blue-dark);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.25);
}
.bs-btn-ghost {
  border: 2px solid #fff;
  color: #fff;
  font-weight: bold;
  border-radius: 25px;
  padding: 0.7rem 2rem;
}
.bs-btn-ghost:hover {
  background: #fff;
  color: var(--bs-navy);
}

/* Hero */
.bs-hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    url("/Images/Bourse-aux-skis/ski-credit-agence-photo-urope-05-scaled.webp")
      center / cover;
  color: #fff;
  padding: 5rem 0;
  position: relative;
}
/* Crédit photo discret */
.bs-credit {
  position: absolute;
  right: 0.6rem;
  bottom: 0.3rem;
  font-size: 0.6rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.45);
}
.bs-title {
  font-weight: 800;
  font-size: calc(1.7rem + 1.4vw);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.bs-lead {
  font-size: 1.15rem;
  color: #e9ecef;
  max-width: 34rem;
  margin-bottom: 2rem;
}
.bs-title,
.bs-lead {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}
.bs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.bs-actions .btn {
  margin: 0;
}
.bs-note {
  font-size: 0.88rem;
  color: #ced4da;
  margin: 0.5rem 0 0;
}

/* Aperçu de l'application */
.bs-app {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.35);
  overflow: hidden;
  max-width: 460px;
  margin: 0 auto;
  color: var(--bs-text);
  transform: rotate(1.5deg);
}
.bs-app-bar {
  background: #f1f4f8;
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
}
.bs-app-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c9d2dd;
  margin-right: 6px;
}
.bs-app-bar em {
  margin-left: 0.75rem;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  color: #6c757d;
}
.bs-app-body {
  padding: 1.25rem;
}
.bs-app-stats {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.bs-app-stats div {
  flex: 1;
  background: var(--bs-ice);
  border-radius: 10px;
  padding: 0.7rem;
  text-align: center;
}
.bs-app-stats strong {
  display: block;
  font-size: 1.5rem;
  color: var(--bs-navy);
  line-height: 1.1;
}
.bs-app-stats small {
  color: #6c757d;
}
.bs-app-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bs-app-list li {
  display: flex;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid #e6ebf1;
  font-size: 0.92rem;
}
.bs-app-list li:last-child {
  border-bottom: 0;
}
.bs-app-list i {
  width: 2rem;
  color: var(--bs-blue);
}
.bs-app-list span {
  flex: 1;
}
.bs-app-list b {
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}
.st-sold {
  background: #dcf3e4;
  color: #1b7a3d;
}
.st-sale {
  background: #fff1de;
  color: #b4580a;
}
.bs-app-caption {
  margin: 0.8rem 0 0;
  font-size: 0.72rem;
  color: #8a98a8;
  text-align: right;
}

/* Infos pratiques */
.bs-infos {
  background: #fff;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.06);
  position: relative;
}
.bs-info {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
}
@media (min-width: 768px) {
  .bs-info + .bs-info {
    border-left: 1px solid #dee2e6;
  }
}
.bs-info > div {
  min-width: 7.5rem;
}
.bs-info > i {
  width: 3rem;
  height: 3rem;
  flex: none;
  border-radius: 12px;
  background: var(--bs-ice);
  color: var(--bs-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.15rem;
}
.bs-info small {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: #7b8a9a;
  font-weight: 700;
}
.bs-todo {
  background: #fff3cd;
  border: 1px dashed #d39e00;
  color: #856404;
  border-radius: 4px;
  padding: 0 0.4rem;
  font-style: italic;
  font-size: 0.9rem;
}

/* Sections */
.bs-section {
  padding: 4.5rem 0;
  background: #fff;
  color: var(--bs-text);
}
.bs-section-alt {
  background: var(--bs-ice);
}
.bs-heading {
  text-align: center;
  margin-bottom: 3rem;
}
.bs-heading h2 {
  font-weight: 800;
  color: var(--bs-navy);
  font-size: calc(1.4rem + 0.8vw);
  margin: 0;
}

/* Étapes */
.bs-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.bs-steps li {
  position: relative;
}
.bs-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.65rem;
  left: 3.6rem;
  right: 0.4rem;
  border-top: 2px dashed #b7cbe3;
}
.bs-step-n {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: var(--bs-navy);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.bs-steps small {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--bs-blue);
}
.bs-steps h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bs-navy);
  margin: 0.25rem 0 0.5rem;
}
.bs-steps p {
  margin: 0;
  color: #6c757d;
}

/* Fonctionnalités */
.bs-feature {
  border-radius: 15px;
  background: #fff;
  border-radius: 14px;
  padding: 1.75rem;
  height: 100%;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.175);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.bs-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.25);
}
.bs-feature i {
  display: block;
  font-size: 1.75rem;
  color: var(--bs-blue);
  margin-bottom: 1rem;
}
.bs-feature h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bs-navy);
}
.bs-feature p {
  margin: 0;
  color: #6c757d;
  font-size: 0.95rem;
}

/* FAQ */
.bs-faq-wrap {
  max-width: 800px;
}
.bs-faq-item {
  border: 1px solid #dbe4ee;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: #fff;
}
.bs-faq-q {
  width: 100%;
  text-align: left;
  background: #fff;
  border: 0;
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--bs-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bs-faq-q:focus {
  outline: 0;
}
.bs-faq-q i {
  color: var(--bs-blue);
  margin-left: 1rem;
  transition: transform 0.2s;
}
.bs-faq-q:not(.collapsed) i {
  transform: rotate(180deg);
}
.bs-faq-a {
  padding: 1rem 1.25rem;
  border-top: 1px solid #e9ecef;
  color: #6c757d;
  line-height: 1.6;
}

/* Appel final */
.bs-cta {
  background:
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    url("/Images/Home/Slider/bg4-1.webp") center / cover;
  color: #fff;
  text-align: center;
  padding: 4.5rem 0;
}
.bs-cta h2 {
  font-weight: 800;
}
.bs-cta p {
  color: #e9ecef;
  font-size: 1.1rem;
}
.bs-cta a:not(.btn) {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 991px) {
  .bs-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .bs-steps li::after {
    display: none;
  }
  .bs-app {
    transform: none;
  }
}
@media (max-width: 575px) {
  .bs-hero {
    padding: 3rem 0;
  }
  .bs-steps {
    grid-template-columns: 1fr;
  }
  .bs-section {
    padding: 3rem 0;
  }
}

/* Détail des horaires */
.bs-info > div {
  min-width: 0;
}
.bs-info strong {
  display: block;
  color: var(--bs-navy);
  font-size: 0.95rem;
  line-height: 1.3;
}
.bs-info strong:not(:first-of-type) {
  margin-top: 0.35rem;
}
.bs-info span {
  display: block;
  color: var(--bs-text);
  font-size: 0.9rem;
}
.bs-info {
  align-items: flex-start;
}
.bs-info > i {
  margin-top: 0.15rem;
}
@media (min-width: 768px) and (max-width: 991px) {
  .bs-info:nth-child(3) {
    border-left: 0;
  }
}
@media (min-width: 992px) {
  .bs-info {
    justify-content: flex-start;
    padding-left: 1.5rem;
  }
}
.bs-infos-note {
  text-align: center;
  margin: 0;
  padding: 0.9rem 0 1.1rem;
  border-top: 1px solid #dee2e6;
  color: #6c757d;
  font-size: 0.9rem;
}

/* Timeline Fonctionnement : contenu centré, trait reliant le centre des pastilles */
.bs-steps li {
  text-align: center;
  padding: 0 0.5rem;
}
.bs-step-n {
  margin: 0 auto 1rem;
}
.bs-steps li:not(:last-child)::after {
  top: 1.4rem;
  left: calc(50% + 1.9rem);
  right: auto;
  width: calc(100% - 2.3rem);
}
@media (max-width: 991px) {
  .bs-steps li:not(:last-child)::after {
    display: none;
  }
  .bs-steps li {
    padding-bottom: 0.5rem;
  }
}

/* Icône chaussure de ski (SVG maison) */
.bs-ico-boot {
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.15em;
}

.bs-faq-q {
  line-height: 1.4;
}

/* Horaires sur téléphone : lignes alignées à gauche, séparées par un trait */
@media (max-width: 767px) {
  .bs-infos {
    padding: 0.5rem 0 0;
  }
  .bs-info {
    justify-content: flex-start;
    padding: 1rem 0.5rem;
    border-bottom: 1px solid #e9ecef;
  }
  .bs-info > i {
    margin-right: 1rem;
  }
  .bs-info > div {
    flex: 1;
  }
  .bs-info small {
    margin-bottom: 0.15rem;
  }
  .bs-infos-note {
    border-top: 0;
    padding-top: 1rem;
  }
}
