/* Ajustements SaaSplit au-dessus du thème Dreams LMS (variante violette theme-4). */

/* La couleur secondaire (rose) du thème devient violette : tout le site reste dans la même teinte. */
.theme-4 {
  --secondary: #9946FF;
  --secondary-hover: #442C7D;
}

.theme-4 .breadcrumb-bar {
  background: linear-gradient(90deg, #F7F0FF 0%, #EFE4FF 51.39%, #E9EEFF 100%);
}

.dark-mode .theme-4 .breadcrumb-bar {
  background: var(--light);
}

/* Logo texte : « plit » lisible sur le fond sombre du pied de page. */
.footer .saasplit-logo span {
  color: var(--primary);
}

/* Accueil : icône de catégorie (police iconsax à la place des drapeaux du thème). */
.saasplit-category-icon {
  font-size: 28px;
  color: var(--primary);
}

/* Cartes de catégories : noms longs (« Intelligence artificielle ») sur des cartes étroites. */
.categories-item-eight .categories-icon {
  align-items: flex-start;
}

.categories-item-eight .categories-icon .saasplit-category-icon {
  flex-shrink: 0;
}

.categories-section-eight .categories-item-eight .categories-icon .categories-title {
  font-size: 18px;
  line-height: 1.3;
}

/* Logo texte en mode sombre : « plit » (couleur --dark) serait invisible sur le fond sombre. */
.dark-mode .saasplit-logo span {
  color: #fff;
}

/* Pied de page : liens email / téléphone aussi lisibles que l'adresse. */
.footer-eight .footer-text a {
  color: inherit;
}

/* Images d'outils : proportions variées → même cadre 16:10 recadré, même hauteur pour toutes. */
.course-item .course-img,
.course-item.course-item-two .course-img {
  aspect-ratio: 16 / 10;
  width: 100%;
  max-height: none; /* le thème limite à 200 px, ce qui rétrécit l'image sur les cartes larges */
}

.course-item .course-img > a {
  display: block;
  height: 100%;
}

.course-item .course-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Badges des cartes outils : pastille de type d'accès + fanion d'économie. */
.course-item .course-img { position: relative; }

.tool-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, #6d28d9, #8b3dff);
  box-shadow: 0 4px 14px rgba(109, 40, 217, .5);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.tool-badge--life {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  box-shadow: 0 4px 14px rgba(249, 115, 22, .5);
}

.tool-badge i { font-size: 14px; }

.tool-savings {
  position: absolute;
  top: 0;
  right: 12px;
  z-index: 2;
  padding: 10px 9px 15px;
  background: #e11d48;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .35);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 85%, 0 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
}

.tool-savings small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Accueil : prix sur une seule ligne, même pour « 100 000 FCFA/mois ». */
.course-item.course-item-eight .course-footer .price {
  font-size: 22px;
  white-space: nowrap;
}

/* Fiche outil (course-details-2) : bandeau violet à la place de la photo du thème. */
.saasplit-tool-banner::before {
  background-image: linear-gradient(120deg, #2B1A55 0%, #442C7D 45%, #9946FF 100%);
}

.saasplit-tool-banner .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, .6);
}

.saasplit-tool-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  font-weight: 800;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.saasplit-tool-avatar {
  overflow: hidden;
}

.saasplit-tool-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.saasplit-tool-avatar.saasplit-avatar-lg {
  width: 80px;
  height: 80px;
  font-size: 1.6rem;
}

.course-page-content .saasplit-tool-avatar {
  background: var(--primary);
  color: #fff;
}

.saasplit-tool-cover {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
}

/* Fiche outil : l'image sert d'aperçu à la vidéo, avec un bouton de lecture au centre. */
.saasplit-video-poster {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.saasplit-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
  transition: transform .15s ease;
}
.saasplit-video-play svg { margin-left: 3px; }
.saasplit-video-poster:hover .saasplit-video-play,
.saasplit-video-poster:focus-visible .saasplit-video-play { transform: scale(1.1); }

/* Page Catégories : miniatures d'outils carrées et recadrées (images d'origine très larges). */
.course-category .category-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}

/* Page Catégories : pastille d'icône à la place de la photo du thème. */
.course-category .saasplit-category-tile {
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  color: var(--primary);
  font-size: 28px;
}

/* Le thème masque tous les <fieldset> (assistant multi-étapes) : on réaffiche les nôtres. */
fieldset.saasplit-fieldset { display: block; border: 0; padding: 0; margin: 0; min-width: 0; }

/* Page « Devenir propriétaire » : illustration d'un espace propriétaire (à la place des photos du thème). */
.owner-mock {
  position: relative;
  padding: 48px 32px 96px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(76, 52, 140, 0.12) 0%, rgba(76, 52, 140, 0.04) 100%);
}
.owner-mock-tag {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: #fff;
  border-radius: 20px;
  padding: 2px 12px;
}
.owner-mock-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(40, 20, 90, 0.12);
}
.owner-mock-amount {
  font-size: 30px;
  font-weight: 700;
  color: var(--primary);
}
.owner-mock-chip {
  position: absolute;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 24px rgba(40, 20, 90, 0.14);
}
.owner-mock-chip-1 { left: -16px; bottom: 36px; }
.owner-mock-chip-2 { right: -12px; bottom: 8px; }

/* Bande des conditions : la hauteur s'adapte au texte. */
.counter-sec .become-instructor-item-3 { height: auto; min-height: 113px; }

/* Fiche outil : la colonne de droite (prix, inclus, en bref) suit le défilement de la page sur grand écran.
   --saasplit-sidebar-top est calculé par la page : 100px si la colonne tient dans l'écran, sinon une valeur
   négative qui laisse voir le bas de la colonne au fil du défilement avant qu'elle ne se fixe. */
@media (min-width: 992px) {
  .saasplit-tool-sidebar {
    position: sticky;
    top: var(--saasplit-sidebar-top, 100px);
  }
}

/* Accueil : section Catégories (cartes de même hauteur, pastille d'icône teintée, flèche au survol). */
.saasplit-cat-intro {
  margin: 12px auto 0;
  max-width: 520px;
  color: #6b7280;
}

.saasplit-cat-card {
  --tone: #9946FF;
  --tone-bg: rgba(153, 70, 255, 0.12);
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 120px;
  padding: 20px;
  background: #fff;
  border: 1px solid #ece8f7;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(40, 20, 90, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.saasplit-cat-card:hover {
  transform: translateY(-3px);
  border-color: var(--tone);
  box-shadow: 0 14px 30px rgba(60, 30, 140, 0.14);
}

.saasplit-cat-card:focus-within {
  outline: 2px solid #9946FF;
  outline-offset: 2px;
}

.saasplit-cat-tone-2 { --tone: #E8365A; --tone-bg: rgba(232, 54, 90, 0.11); }
.saasplit-cat-tone-3 { --tone: #D97706; --tone-bg: rgba(245, 158, 11, 0.15); }
.saasplit-cat-tone-4 { --tone: #15803D; --tone-bg: rgba(22, 163, 74, 0.13); }
.saasplit-cat-tone-5 { --tone: #2563EB; --tone-bg: rgba(37, 99, 235, 0.12); }

.saasplit-cat-tile {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 28px;
  color: var(--tone);
  background: var(--tone-bg);
}

.saasplit-cat-body {
  flex: 1 1 auto;
  min-width: 0;
}

.saasplit-cat-name {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: #08131e;
}

.saasplit-cat-count {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tone);
  background: var(--tone-bg);
}

.saasplit-cat-arrow {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 16px;
  color: #08131e;
  background: #f4f2fb;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.saasplit-cat-card:hover .saasplit-cat-arrow {
  color: #fff;
  background: var(--tone);
  transform: translateX(3px);
}

.saasplit-cat-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border: 1px solid #9946FF;
  border-radius: 999px;
  font-weight: 600;
  color: #9946FF;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.saasplit-cat-all:hover {
  color: #fff;
  background: #9946FF;
}

.dark-mode .saasplit-cat-card {
  background: #16122b;
  border-color: #2e2750;
  box-shadow: none;
}

.dark-mode .saasplit-cat-name { color: #fff; }
.dark-mode .saasplit-cat-intro { color: #a8a3c0; }
.dark-mode .saasplit-cat-arrow { color: #fff; background: #241e40; }
.dark-mode .saasplit-cat-tone-2 { --tone: #FF6B88; }
.dark-mode .saasplit-cat-tone-3 { --tone: #FBBF24; }
.dark-mode .saasplit-cat-tone-4 { --tone: #4ADE80; }
.dark-mode .saasplit-cat-tone-5 { --tone: #60A5FA; }

@media (prefers-reduced-motion: reduce) {
  .saasplit-cat-card,
  .saasplit-cat-arrow,
  .saasplit-cat-all { transition: none; }
  .saasplit-cat-card:hover { transform: none; }
}

/* Accueil : section Propriétaires (encart d'offre à gauche, vitrine ou illustration à droite). */
.saasplit-owners-pitch {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(145deg, #2d1b69 0%, #6a35d6 55%, #9946FF 100%);
  box-shadow: 0 18px 40px rgba(80, 40, 170, 0.25);
}

.saasplit-owners-pitch-title {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}

.saasplit-owners-pitch-text {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.82);
}

.saasplit-owners-points {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.saasplit-owners-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: #fff;
  line-height: 1.4;
}

.saasplit-owners-points li i {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.16);
}

.saasplit-owners-points li span {
  padding-top: 5px;
}

.saasplit-owners-cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: auto;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  color: #4b1fa8;
  text-decoration: none;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.saasplit-owners-cta:hover {
  color: #4b1fa8;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.saasplit-owner-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid #ece8f7;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(40, 20, 90, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.saasplit-owner-card:hover {
  transform: translateY(-3px);
  border-color: #9946FF;
  box-shadow: 0 14px 30px rgba(60, 30, 140, 0.14);
}

.saasplit-owner-tile {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #9946FF 0%, #442C7D 100%);
}

.saasplit-owner-tile span {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
}

.saasplit-owner-body {
  min-width: 0;
}

.saasplit-owner-name {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: #08131e;
}

.saasplit-owner-badge,
.saasplit-owner-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.saasplit-owner-badge {
  color: #15803d;
  background: rgba(22, 163, 74, 0.13);
}

.saasplit-owner-count {
  color: #7b3ad8;
  background: rgba(153, 70, 255, 0.12);
}

.saasplit-owners-mock {
  padding-bottom: 40px;
}

.saasplit-owners-showcase {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.saasplit-owners-mock + .saasplit-owner-slot {
  margin-top: 16px;
}

.saasplit-owner-slot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 2px dashed #cdbdf2;
  border-radius: 16px;
  color: #3f4756;
}

.saasplit-owner-slot i {
  font-size: 30px;
  color: #9946FF;
}

.saasplit-owner-slot strong {
  display: block;
  color: #08131e;
}

.dark-mode .saasplit-owner-card {
  background: #16122b;
  border-color: #2e2750;
  box-shadow: none;
}

.dark-mode .saasplit-owner-name,
.dark-mode .saasplit-owner-slot strong { color: #fff; }
.dark-mode .saasplit-owner-count { color: #c4a2ff; }
.dark-mode .saasplit-owner-badge { color: #4ade80; }
.dark-mode .saasplit-owner-slot { color: #c9c4de; border-color: #3b3266; }
.dark-mode .saasplit-owners-mock { background: linear-gradient(135deg, rgba(153, 70, 255, 0.16) 0%, rgba(153, 70, 255, 0.05) 100%); }
.dark-mode .saasplit-owners-mock .owner-mock-card,
.dark-mode .saasplit-owners-mock .owner-mock-tag { background: #1d1838; }
.dark-mode .saasplit-owners-mock .owner-mock-card span { color: #e8e4f7; }
.dark-mode .saasplit-owners-mock .owner-mock-amount { color: #c4a2ff; }

@media (prefers-reduced-motion: reduce) {
  .saasplit-owner-card,
  .saasplit-owners-cta { transition: none; }
  .saasplit-owner-card:hover,
  .saasplit-owners-cta:hover { transform: none; }
}

/* Accueil : section « Pourquoi SaaSplit » (4 cartes d'avantages). */
.saasplit-benefit-card {
  --tone: #9946FF;
  --tone-bg: rgba(153, 70, 255, 0.12);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #fff;
  border: 1px solid #ece8f7;
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(40, 20, 90, 0.04);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.saasplit-benefit-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--tone);
  opacity: 0.85;
}

.saasplit-benefit-card:hover {
  transform: translateY(-3px);
  border-color: var(--tone);
  box-shadow: 0 14px 30px rgba(60, 30, 140, 0.14);
}

.saasplit-benefit-tone-2 { --tone: #E8365A; --tone-bg: rgba(232, 54, 90, 0.11); }
.saasplit-benefit-tone-3 { --tone: #15803D; --tone-bg: rgba(22, 163, 74, 0.13); }
.saasplit-benefit-tone-4 { --tone: #D97706; --tone-bg: rgba(245, 158, 11, 0.15); }

.saasplit-benefit-tile {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 26px;
  color: var(--tone);
  background: var(--tone-bg);
}

.saasplit-benefit-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #08131e;
}

.saasplit-benefit-text {
  margin: 0;
  color: #6b7280;
  line-height: 1.55;
}

.dark-mode .saasplit-benefit-card {
  background: #16122b;
  border-color: #2e2750;
  box-shadow: none;
}

.dark-mode .saasplit-benefit-title { color: #fff; }
.dark-mode .saasplit-benefit-text { color: #a8a3c0; }
.dark-mode .saasplit-benefit-tone-2 { --tone: #FF6B88; }
.dark-mode .saasplit-benefit-tone-3 { --tone: #4ADE80; }
.dark-mode .saasplit-benefit-tone-4 { --tone: #FBBF24; }

@media (prefers-reduced-motion: reduce) {
  .saasplit-benefit-card { transition: none; }
  .saasplit-benefit-card:hover { transform: none; }
}

/* Champ mot de passe avec l'œil « afficher / masquer » */
.pass-with-eye {
  padding-right: 2.9rem;
}
.pass-with-eye.is-invalid {
  background-image: none; /* l'icône d'erreur de Bootstrap passerait sous l'œil */
}
.pwd-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--gray-900, #212529);
  font-size: 18px;
  cursor: pointer;
}
.pwd-toggle:hover,
.pwd-toggle:focus-visible {
  color: var(--primary, #5B4BB5);
  outline: none;
}
.pwd-toggle:focus-visible {
  box-shadow: 0 0 0 2px rgba(153, 70, 255, .35);
}

/* Champ téléphone : indicatif avec drapeau + numéro */
.phone-field {
  position: relative;
  display: flex;
  align-items: stretch;
}
.phone-field > .form-control {
  flex: 1 1 auto;
  min-width: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.phone-country {
  position: relative;
  flex: 0 0 auto;
}
.phone-country-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  width: auto;
  height: 100%;
  white-space: nowrap;
  cursor: pointer;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 0;
  background-color: var(--gray-100, #f8f9fa);
}
.phone-country-btn img,
.phone-country-list img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
  flex: 0 0 auto;
}
.phone-country-btn .isax {
  font-size: 12px;
}
.phone-country-list {
  position: absolute;
  z-index: 1050;
  top: calc(100% + 4px);
  left: 0;
  width: 280px;
  max-width: 85vw;
  max-height: 260px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}
.phone-country-list[hidden] {
  display: none;
}
.phone-country-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 6px;
  cursor: pointer;
}
.phone-country-list li:hover,
.phone-country-list li:focus {
  background: rgba(91, 75, 181, .1);
  outline: none;
}
.phone-country-list li[aria-selected="true"] {
  font-weight: 600;
}
.phone-country-name {
  flex: 1 1 auto;
}
.phone-country-code {
  color: #6c757d;
}
.phone-field.is-invalid .phone-country-btn {
  border-color: var(--bs-form-invalid-border-color, #dc3545);
}

/* Bouton menu (mobile) : trois barres égales, centrées dans le cercle */
header .navbar-header #mobile_btn .bar-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 4px;
  width: 20px;
  height: 16px;
}
header .navbar-header #mobile_btn .bar-icon span,
header .navbar-header #mobile_btn .bar-icon span:nth-child(2),
header .navbar-header #mobile_btn .bar-icon span:nth-child(3) {
  float: none;
  width: 100%;
  height: 2px;
  margin: 0;
}
header.header-eight .navbar-header #mobile_btn:hover .bar-icon span {
  background-color: var(--white, #fff);
}

/* Accueil, section « Outils » : cartes aérées comme le modèle du thème */
.courses-section-eight .row {
  row-gap: 30px;
}
.courses-section-eight .course-item.course-item-eight {
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.courses-section-eight .course-item.course-item-eight .course-img {
  margin-bottom: 24px;
}
.courses-section-eight .course-item.course-item-eight .course-img img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.courses-section-eight .course-item.course-item-eight .course-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.courses-section-eight .course-item.course-item-eight .course-content .title {
  margin-bottom: 16px;
}
/* Plan et places sur une même ligne, séparés par « | » (le thème les empile sous 1400 px) */
.courses-section-eight .course-item.course-item-eight .course-content .course-info {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center !important;
  gap: 8px 14px;
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.courses-section-eight .course-item.course-item-eight .course-content .course-info .line {
  display: inline;
}
.courses-section-eight .course-item.course-item-eight .course-content .course-info p {
  margin-left: 8px;
  font-size: 14px;
}
/* Prix et bouton ne se touchent plus, et restent alignés en bas de carte */
.courses-section-eight .course-item.course-item-eight .course-footer {
  margin-top: auto;
  flex-wrap: nowrap;
  gap: 12px 16px;
}
.courses-section-eight .course-item.course-item-eight .course-footer .price {
  font-size: 22px;
  line-height: 1.2;
}
.courses-section-eight .course-item.course-item-eight .course-footer .price small {
  display: block;
  margin-top: 2px;
  color: var(--gray-500, #6c757d);
}
.courses-section-eight .view-more {
  margin-top: 48px;
}
@media (max-width: 575.98px) {
  .courses-section-eight .row {
    row-gap: 24px;
  }
}

/* Description d un outil (texte mis en forme, images, videos) */
.saasplit-tool-description { line-height: 1.7; overflow-wrap: anywhere; }
.saasplit-tool-description > :first-child { margin-top: 0; }
.saasplit-tool-description > :last-child { margin-bottom: 0; }
.saasplit-tool-description p { margin: 0 0 1rem; }
.saasplit-tool-description h2, .saasplit-tool-description h3, .saasplit-tool-description h4 { margin: 1.5rem 0 .75rem; font-weight: 700; }
.saasplit-tool-description h2 { font-size: 1.35rem; }
.saasplit-tool-description h3 { font-size: 1.15rem; }
.saasplit-tool-description ul, .saasplit-tool-description ol { margin: 0 0 1rem; padding-left: 1.5rem; }
.saasplit-tool-description ul { list-style: disc; }
.saasplit-tool-description ol { list-style: decimal; }
.saasplit-tool-description blockquote { margin: 0 0 1rem; padding: .5rem 1rem; border-left: 4px solid var(--primary, #9946FF); background: rgba(153, 70, 255, .06); border-radius: 0 .5rem .5rem 0; }
.saasplit-tool-description img { max-width: 100%; height: auto; border-radius: .75rem; margin: .25rem 0 1rem; }
.saasplit-tool-description iframe { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: .75rem; margin: .25rem 0 1rem; }
.saasplit-tool-description pre { padding: .75rem 1rem; border-radius: .5rem; background: rgba(0, 0, 0, .06); white-space: pre-wrap; }
.saasplit-tool-description .ql-align-center { text-align: center; }
.saasplit-tool-description .ql-align-right { text-align: right; }
.saasplit-tool-description .ql-align-justify { text-align: justify; }

/* Editeur de description (formulaire outil) */
.saasplit-editor .ql-toolbar.ql-snow { border-radius: .5rem .5rem 0 0; background: #f8f9fb; }
.saasplit-editor .ql-container.ql-snow { border-radius: 0 0 .5rem .5rem; font-family: inherit; font-size: 1rem; }
.saasplit-editor .ql-editor { min-height: 260px; max-height: 640px; overflow-y: auto; line-height: 1.7; }
.saasplit-editor .ql-editor img { max-width: 100%; height: auto; }
.saasplit-editor .ql-editor iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.saasplit-editor.is-invalid .ql-toolbar.ql-snow, .saasplit-editor.is-invalid .ql-container.ql-snow { border-color: #dc3545; }

/* Fiche outil : barre Commander fixee en bas de l ecran (telephone et tablette). */
.saasplit-buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -4px 16px rgba(0, 0, 0, .12); }
.saasplit-buybar-price { line-height: 1.2; white-space: nowrap; }
.saasplit-buybar-price strong { display: block; font-size: 1.25rem; color: #198754; }
.saasplit-buybar-price span { font-size: .8rem; color: #6b7280; }
.saasplit-buybar .btn { flex: 1 1 auto; max-width: 260px; padding: 12px 20px; font-weight: 700; border-radius: 50px; }
@media (max-width: 991.98px) { body:has(.saasplit-buybar) { padding-bottom: 80px; } }

/* Bande promotionnelle fixee en haut du site + compte a rebours. */
.saasplit-promo { position: fixed; top: 0; left: 0; right: 0; z-index: 1060; background: linear-gradient(90deg, #3b1a73, #9946FF); color: #fff; padding: 8px 0; box-shadow: 0 2px 10px rgba(0, 0, 0, .2); }
.saasplit-promo-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 18px; text-align: center; font-weight: 600; font-size: .95rem; }
.saasplit-promo a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.saasplit-promo-timer { display: inline-flex; gap: 6px; }
.saasplit-promo-timer > span { display: inline-flex; align-items: baseline; gap: 2px; background: rgba(255, 255, 255, .18); border-radius: 6px; padding: 2px 8px; font-variant-numeric: tabular-nums; }
.saasplit-promo-timer b { font-size: 1.05rem; }
.saasplit-promo-timer small { font-size: .7rem; opacity: .9; }
body.has-promo { padding-top: var(--saasplit-promo-h, 44px); }
body.has-promo header.fixed { top: var(--saasplit-promo-h, 44px) !important; }

/* Bouton Commander anime : halo qui pulse + reflet qui traverse. Coupe si le visiteur a reduit les animations. */
.saasplit-cta { position: relative; overflow: hidden; animation: saasplit-cta-pulse 2s ease-out infinite; }
.saasplit-cta::after { content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: saasplit-cta-shine 3s ease-in-out infinite; pointer-events: none; }
.saasplit-cta:hover { animation-play-state: paused; transform: translateY(-2px); }
@keyframes saasplit-cta-pulse { 0% { box-shadow: 0 0 0 0 rgba(153, 70, 255, .55); } 70% { box-shadow: 0 0 0 14px rgba(153, 70, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(153, 70, 255, 0); } }
@keyframes saasplit-cta-shine { 0%, 55% { left: -75%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .saasplit-cta, .saasplit-cta::after { animation: none; } }
