
.hl-section-formulaire {padding: 0 0;}

.pl-100 {padding-left: 100px}


/* =====================================================
   CONTENEUR PRINCIPAL
===================================================== */
.hl-form-wrapper {
  margin: 0 auto;
  padding: 40px 40px;
  background: var(--hl-beige);
  border-radius: 32px;
}

.hl-form-wrapper-white {background: var(--hl-blanc) !important;}


/* =====================================================
   PROGRESS BAR
===================================================== */
.hl-progress-container {
  position: relative;
  width: 100%;
  height: 7px;
  margin-bottom: 48px;
}

/* Fond : contour gradient (simulÃ© avec un pseudo-Ã©lÃ©ment) */
.hl-progress-track {
  position: absolute;
  inset: 0;
  border-radius: 3.5px;
  background: transparent;
  border: 1px solid transparent;
  /* Trick pour border gradient */
  background-clip: padding-box;
  box-shadow: 0 0 0 1px rgba(255, 145, 31, 0.25);
}

.hl-progress-track::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 5px;
  background: var(--hl-gradient);
  z-index: -1;
}

.hl-progress-track::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 5px;
  background: #fff;
  z-index: -1;
}

/* Barre de remplissage */
.hl-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 5px;
  background: var(--hl-gradient);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}



/* =====================================================
   BULLE D'AIDE (tooltip informatif sur un label)
===================================================== */
.hl-help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--hl-gradient);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  border: none;
  flex-shrink: 0;
  vertical-align: middle;
  transition: transform .15s, opacity .2s;
}
.hl-help-icon:hover,
.hl-help-icon:focus { opacity: .85; transform: scale(1.08); outline: none; }

.hl-help-popover {
  max-width: 460px;
  border-radius: 16px;
  border: 1px solid var(--hl-rose);
  box-shadow: 0 12px 32px rgba(40,43,62,.15);
}
.hl-help-popover .popover-body {
  font-family: 'Nunito', sans-serif;
  padding: 20px 22px;
  font-size: 16px;
  line-height: 26px;
  color: var(--hl-text);
}
.hl-help-popover .popover-body img {
  display: block;
  width: 100%;
  border-radius: 10px;
  margin-top: 14px;
  border: 1px solid rgba(40,43,62,.08);
}
.hl-help-popover.bs-popover-top > .popover-arrow::before { border-top-color: var(--hl-rose); }
.hl-help-popover.bs-popover-top > .popover-arrow::after  { border-top-color: #fff; }

.hl-help-texte {font-family: 'Nunito', sans-serif; font-size: 13px}


/* =====================================================
   QUESTIONS â€” titres et sous-titres
===================================================== */
.hl-form-question {
  margin-bottom: 20px;

}

.hl-form-question h2 {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 27px;
  line-height: 36px;
  color: var(--hl-bleu);
  margin-bottom: 6px;
}

.hl-form-question .hl-form-hint {
  font-family: 'Nunito', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 20px;
  color: var(--hl-muted);
  font-style: italic;
  margin: 0;
  padding-left: 50px;
}

/* =====================================================
   SECTION DE QUESTION (wrapper)
===================================================== */
.hl-form-section {
  margin-bottom: 20px;
  padding: 0 60px;
  max-width: 1100px
}

.hl-form-section-xl {
  margin-bottom: 20px;
  padding: 0 0;
  max-width: 1100px
}

/* =====================================================
   TOGGLE OUI / NON
===================================================== */
.hl-toggle-group {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-left: 100px;
}

.hl-toggle-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hl-toggle-col-label {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 24px;
  color: var(--hl-bleu);
}

.hl-toggle-options {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* HL TOGGLE â€” radio stylisÃ© */
.hl-toggle-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--hl-bleu);
  user-select: none;
  line-height: 24px;
}

/* Cacher l'input natif */
.hl-toggle-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Bouton circulaire */
.hl-toggle-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid #FF4864;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}

/* Pastille intÃ©rieure (Ã©tat sÃ©lectionnÃ©) */
.hl-toggle-btn::after {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--hl-gradient);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.2s, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Quand cochÃ© */
.hl-toggle-label input[type="radio"]:checked + .hl-toggle-btn {
  border-color: transparent;
  background: linear-gradient(white, white) padding-box,
  linear-gradient(135deg, #FF921F 0%, #FF0B9E 100%) border-box;
  border: 1.5px solid transparent;
}

.hl-toggle-label input[type="radio"]:checked + .hl-toggle-btn::after {
  opacity: 1;
  transform: scale(1);
}

/* Hover */
.hl-toggle-label:hover .hl-toggle-btn {
  border-color: #FF921F;
}

/* =====================================================
   RADIO CHIPS â€” "RÃ©gime gÃ©nÃ©ral", "RÃ©gime local", etc.
===================================================== */
.hl-chip-group {
  display: flex;
  flex-wrap: wrap;
  row-gap: 20px;
  column-gap: 40px;
  margin-top: 16px;
  /*padding-left: 100px;*/
}

/* pleine largeur  */
.hl-chip-group-full {
  flex-direction: column;
}

.hl-chip-group-full .hl-chip-label {
  display: block;
  width: 100%;
}

.hl-chip-group-full .hl-chip-btn {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}


/* Cacher l'input natif */
.hl-chip-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.hl-chip-label {
  display: inline-block;
  cursor: pointer;
  user-select: none;
  position: relative;
  z-index: 0;
}

.hl-chip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 15px;
  padding: 10px 24px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 24px;
  color: var(--hl-bleu);
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
  background:
          linear-gradient(#fff, #fff) padding-box,
          linear-gradient(90deg, #FF921F 0%, #FF0B9E 100%) border-box;
}

.hl-chip-btn-light { font-weight: 400 !important; }

/* SÃ©lectionnÃ© */
.hl-chip-label input[type="radio"]:checked + .hl-chip-btn {
  background: linear-gradient(90deg, #FF921F 0%, #FF0B9E 100%) border-box;
  color: #fff;
  box-shadow: inset 0 0 0 3px #FFF5ED;
}

/* Hover */
.hl-chip-label:hover .hl-chip-btn {
  background: linear-gradient(90deg, #FF921F 0%, #FF0B9E 100%) border-box;
  color: #fff;
  box-shadow: inset 0 0 0 3px #FFF5ED;
  cursor: pointer;
}

/* VARIANTE INVERSÃ‰E â€” Ã©tat de base */
.hl-chip-label.hl-chip-inverse .hl-chip-btn {
  background: linear-gradient(90deg, #FF921F 0%, #FF0B9E 100%) border-box;
  color: #fff;
  box-shadow: inset 0 0 0 3px #FFF5ED;
}

/* VARIANTE INVERSÃ‰E â€” hover et sÃ©lectionnÃ© */
.hl-chip-label.hl-chip-inverse:hover .hl-chip-btn,
.hl-chip-label.hl-chip-inverse input[type="radio"]:checked + .hl-chip-btn {
  background:
          linear-gradient(#fff, #fff) padding-box,
          linear-gradient(90deg, #FF921F 0%, #FF0B9E 100%) border-box;
  color: var(--hl-bleu);
  box-shadow: none;
}





/* =====================================================
   BOUTON POURSUIVRE
===================================================== */
.hl-form-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}

.btn-hl-suivant {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 24px;
  padding: 12px 28px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 22px;
  color: #fff;
  background: var(--hl-gradient) border-box;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s, background 0.2s, transform 0.15s;
}

.btn-hl-suivant:hover {
  background:
          linear-gradient(#fff, #fff) padding-box,
          var(--hl-gradient) border-box;
  color: var(--hl-bleu);
  transform: translateY(-1px);
}

.btn-hl-suivant svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.btn-hl-suivant:hover svg {
  transform: translateX(3px);
}

.btn-hl-poursuivre {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 24px;
  padding: 12px 28px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 22px;
  color: var(--hl-bleu);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s, background 0.2s, transform 0.15s;
  background:
          linear-gradient(#fff, #fff) padding-box,
          var(--hl-gradient) border-box;
}

.btn-hl-poursuivre:hover {
  background: var(--hl-gradient) border-box;
  color: #fff;
  transform: translateY(-1px);
}

.btn-hl-poursuivre svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.btn-hl-poursuivre:hover svg {
  transform: translateX(3px);
}

/* =====================================================
   INPUTS TEXTE / NUMBER
===================================================== */
.hl-input-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
  padding-left: 100px;
}

.hl-input-label {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 24px;
  color: var(--hl-bleu);
  white-space: nowrap;
}

/* Wrapper pour la bordure gradient */
.hl-input-wrapper {
  position: relative;
  z-index: 0;
  display: inline-block;
  border-radius: 15px;
  padding: 1px;
  background: linear-gradient(90deg, #FF921F 0%, #FF0B9E 100%);
}

.hl-input-wrapper-md { max-width: 280px; }
.hl-input-wrapper-sm { max-width: 140px; }

/* Focus : ombre lÃ©gÃ¨re */
.hl-input-wrapper:focus-within {
  box-shadow: 0 0 0 3px rgba(255, 146, 31, 0.15);
}

.hl-input {
  display: block;
  background: #fff;
  border: none;
  border-radius: 13px;
  padding: 10px 20px;
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  color: var(--hl-bleu);
  outline: none;
  transition: color 0.2s;
}

.hl-input::placeholder {
  color: #D9D9D9;
  font-weight: 400;
}

.hl-input-small {max-width: 6rem}

.hl-input:disabled {
  display: block;
  background: #F3F3F3;
  border: none;
  border-radius: 13px;
  padding: 10px 20px;
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  color: var(--hl-bleu);
  outline: none;
  transition: color 0.2s;
}


.code-inputs{width: 64px;
  font-size: 24px;}


/* =====================================================
   INPUT PASSWORD
===================================================== */

.hl-input-wrapper--pwd {
  display: flex;
  align-items: center;
}

.hl-input-wrapper--pwd .hl-input {
  flex: 1;
  padding-right: 44px; /* Ã©vite que le texte passe sous l'Å“il */
}

.hl-pwd-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #D9D9D9;
  line-height: 0;
  transition: color 0.2s;
}

.hl-pwd-toggle:hover { color: var(--hl-bleu); }

/* =====================================================
   SÃ‰PARATEUR ENTRE SECTIONS
===================================================== */
.hl-form-divider {
  border: none;
  margin: 32px 0;
}

.hl-form-divider-small {
  border: none;
  margin: 16px 0;
}

.hl-divider-gradient {
  width: 80px;
  height: 4px;
  border-radius: 4px;
  background: var(--hl-gradient);
  margin: 24px auto;
}

/* =====================================================
   GRILLE FORMULAIRE
===================================================== */

.hl-form-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px 24px;
  width: 100%;
}

.hl-form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 24px;
  margin-top: 8px;
}

/* Modificateurs de largeur en colonnes */
.hl-form-field        { display: flex; flex-direction: column; gap: 6px; }
.hl-form-field-1col   { grid-column: span 1; }
.hl-form-field-2col   { grid-column: span 2; }
.hl-form-field-3col   { grid-column: span 3; }

/* Champ avec bouton inline (tÃ©lÃ©phone + Je valide) */
.hl-form-field-inline {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  grid-column: span 1;
}

.hl-form-field-inline > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hl-form-field-inline-sm {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex: 0 0 auto; /* ne s'Ã©tire pas */
}

.hl-form-field-inline-sm > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 280px; /* mÃªme largeur que hl-form-field-lg */
}

/* Label â€” au-dessus de l'input */
.hl-form-label {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 24px;
  color: var(--hl-bleu);
  margin-bottom: 0;
}

.hl-form-label .hl-label-light {
  font-weight: 400;
  font-style: italic;
  color: var(--hl-muted);
  font-size: 14px;
}

.hl-form-label .hl-required {
  color: var(--hl-rose);
  margin-left: 2px;
}

/* Input & select pleine largeur dans la grille */
.hl-form-grid.hl-form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 24px;
  margin-top: 8px;
}

.hl-form-field        { display: flex; flex-direction: column; gap: 6px; }

/* Largeurs prÃ©dÃ©finies */
.hl-form-field-xs  { flex: 0 0 100px;}
.hl-form-field-sm  { flex: 0 0 160px; }
.hl-form-field-md  { flex: 1 1 200px; }
.hl-form-field-lg  { flex: 1 1 280px; }
.hl-form-field-xl  { flex: 1 1 100%; }

/* Champ avec bouton inline (tÃ©lÃ©phone + Je valide) */
.hl-form-field-inline {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex: 1 1 200px;
}

.hl-form-field-inline > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Label â€” au-dessus de l'input */
.hl-form-label {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 24px;
  color: var(--hl-bleu);
  margin-bottom: 0;
}

.hl-form-label .hl-label-light {
  font-weight: 400;
  font-style: italic;
  color: var(--hl-muted);
  font-size: 14px;
}

.hl-form-label .hl-required {
  color: var(--hl-rose);
  margin-left: 2px;
}

/* Input & select pleine largeur dans la grille */
.hl-form-grid .hl-input-wrapper { width: 100%; }
.hl-form-grid .hl-input         { width: 100%; }

/* Select stylisÃ© */
.hl-select {
  display: block;
  background: #fff;
  border: none;
  border-radius: 13px;
  padding: 10px 32px 10px 16px;
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  color: var(--hl-bleu);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%23282B3E%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  width: 100%;
  cursor: pointer;
}

/* Bouton action inline (Je valide, Je confirme) */
.btn-hl-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  padding: 10px 24px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 22px;
  color: #fff;
  background: linear-gradient(90deg, #FF921F 0%, #FF0B9E 100%);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
  flex-shrink: 0;
  text-decoration: none;
}

.btn-hl-action:hover { opacity: 0.88; transform: translateY(-1px); }


/* Bouton Ajout documents */
.btn-hl-ajout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  padding: 10px 24px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 22px;
  color: #fff;
  background: var(--hl-rose);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
  flex-shrink: 0;
  text-decoration: none;
}

.btn-hl-ajout:hover { opacity: 0.88;  background: var(--hl-orange); }

/* Ã‰tat "document ajoutÃ©" */
.btn-hl-ajout-done {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  padding: 10px 24px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 22px;
  background: var(--hl-bleu-clair);
  color: white;
  cursor: default;

}

.btn-hl-ajout-done::before {
  font-family: "bootstrap-icons";
  content: "\F272";
  margin-right: 8px;
  font-size: 22px;
}

/* Titre sous-section (ex : 1b) avec mention lÃ©gÃ¨re */
.hl-form-subtitle {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 30px;
  color: var(--hl-bleu);
  margin-bottom: 16px;
}

.hl-form-subtitle .hl-form-subtitle-light {
  font-weight: 400;
  font-size: 13px;
  color: var(--hl-muted);
  font-style: italic;
}

/* Question en texte (sans h2) */
.hl-form-question-text {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: var(--hl-bleu);
  margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 575.98px) {
  .hl-form-row { flex-wrap: wrap; }
  .hl-form-field-xs,
  .hl-form-field-sm,
  .hl-form-field-md,
  .hl-form-field-lg            { flex: 1 1 100%; }
  .hl-form-field-inline        { flex-direction: column; align-items: flex-start; }
}

/* Collapse */
.hl-collapse {
  display: none;
  animation: fadeSlideIn 0.3s ease;
}
.hl-collapse.open,
.hl-collapse.show {
  display: block;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Bloc enfant â€” sÃ©paration visuelle entre chaque enfant */
.hl-enfant-bloc {
  border-top: 1px solid rgba(40, 43, 62, 0.10);
  padding-top: 20px;
  margin-top: 20px;
}

.hl-enfant-bloc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.hl-enfant-bloc:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

/* Label enfant numÃ©rotÃ© */
.hl-enfant-label {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--hl-muted);
}

/* =====================================================
   SYNTHÃˆSE
===================================================== */

/* Ligne inline : label + inputs alignÃ©s sur la mÃªme ligne */
.hl-form-row-inline {
  align-items: center;
  flex-wrap: wrap;
}

/* DÃ©calage gauche pour les sous-lignes (nÃ© le, personnes) */
.hl-form-row-indented {
  padding-left: 32px;
}

/* Label inline horizontal (pas de flex-direction column) */
.hl-label-inline {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Ligne en colonne (texte + liens en dessous) */
.hl-form-row-col {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}



/* Liens documents (orange soulignÃ©) */
.hl-lien-doc {
  color: var(--hl-orange);
  text-decoration: underline;
  font-size: 15px;
  font-family: 'Nunito', sans-serif;
}

.hl-lien-doc:hover {
  opacity: 0.8;
}

/* Paragraphe liens synthÃ¨se */
.hl-synthese-liens {
  font-size: 15px;
  font-family: 'Nunito', sans-serif;
  color: var(--hl-bleu);
  margin: 0;
}

/* =====================================================
   CHECKBOXES â€” documents prÃ©contractuels
===================================================== */
.hl-doc-check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hl-doc-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

/* Cacher l'input natif */
.hl-doc-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* CarrÃ© personnalisÃ© */
.hl-doc-check-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
  transition: background 0.2s;
  background:
          linear-gradient(#fff, #fff) padding-box,
          var(--hl-gradient) border-box;
  border: 1.5px solid transparent;
}

/* Coche (visible quand checked) */
.hl-doc-check-box::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.15s;
}

/* Ã‰tat cochÃ© */
.hl-doc-check input[type="checkbox"]:checked + .hl-doc-check-box {
  background: var(--hl-gradient) border-box;
  border-color: transparent;
}

.hl-doc-check input[type="checkbox"]:checked + .hl-doc-check-box::after {
  opacity: 1;
}

/* Hover */
.hl-doc-check:hover .hl-doc-check-box {
  border-color: transparent;
  background:
          linear-gradient(#fff, #fff) padding-box,
          var(--hl-gradient) border-box;
  box-shadow: 0 0 0 2px rgba(255, 72, 100, .12);
}

/* =====================================================
   CONTRAT
===================================================== */


.hl-alert-info {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 72, 100, .4);
  border-radius: 12px;
  padding: 14px 18px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  color: var(--hl-bleu); font-weight: 700;
  margin-bottom: 16px;
}

.hl-alert-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--hl-gradient);
  color: #fff;
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}


.hl-toggle-switch-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hl-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}

.hl-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.hl-switch-track {
  position: absolute;
  inset: 0;
  background: #D9D9D9;
  border-radius: 22px;
  transition: background .2s;
  cursor: pointer;
}

.hl-switch-track::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
}

.hl-switch input:checked + .hl-switch-track {
  background: var(--hl-gradient);
}

.hl-switch input:checked + .hl-switch-track::before {
  transform: translateX(18px);
}

.hl-alert-danger {
  background: #fdeceb;
  color: #a32d2d;
  border-radius: 12px;
  padding: 12px 18px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
}


/* =====================================================
   RÃ‰CAP â€” "Votre protection idÃ©ale"
===================================================== */
.hl-recap-card {
  border: 1px solid transparent;
  background:
          linear-gradient(var(--hl-beige), var(--hl-beige)) padding-box,
          var(--hl-gradient) border-box;
  border-radius: 20px;
  padding: 28px 32px;
}

/* Badge  avec halo */
.hl-recap-badge {
  position: absolute;
  top: -16px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--hl-gradient);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 18px;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(255, 72, 100, .35);
}

.hl-recap-badge i { font-size: 13px; }

/* Halo  */
.hl-recap-badge::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  background: var(--hl-gradient);
  filter: blur(10px);
  opacity: .45;
  z-index: -1;
}

.hl-recap-price-old {
  text-decoration: line-through;
  color: var(--hl-muted);
  font-size: 15px;
  font-weight: 700;
}

.bg-white-rounded {
  border: 1px solid transparent;
  border-radius: 20px;
  padding: 1rem 1rem;
  background:
          linear-gradient(#fff, #fff) padding-box,
          var(--hl-gradient) border-box;
}

/* =====================================================
   SECTION RÃ‰CAP â€” VOS BESOINS DE COUVERTURE
===================================================== */

.besoins-inner	{padding-bottom: 40px}

.hl-besoins-card {
  border: 1px solid transparent;
  border-radius: 32px;
  padding: 8px 32px;
  background:
          linear-gradient(#fff, #fff) padding-box,
          var(--hl-gradient) border-box;
}

.hl-besoin-row {
  display: flex;
  align-items: center;
  padding: 8px 0;
}
.hl-besoin-row:first-child { border-top: none; }

.hl-souscat-besoin-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--hl-rose);
}

.hl-besoin-label {
  flex: 0 0 150px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--hl-orange);
}

.hl-besoin-text {
  flex: 1;
  font-size: 13px;
  line-height: normal;
}

@media (max-width: 575.98px) {
  .hl-besoin-row { flex-direction: column; gap: 6px; }
  .hl-besoin-label { flex: none; }
}
