.tp-form-tabs .tp-tab {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .6rem 1.2rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all .3s ease;
}
.tp-form-tabs .tp-tab.active {
  background: linear-gradient(90deg, var(--brand), #2ee1b5);
  color: #05332a;
  border-color: transparent;
}
.tp-form-tabs .tp-tab:hover {
  opacity: 0.9;
}

.tp-form-pane {
  display: none;
  animation: fadeIn .4s ease;
}
.tp-form-pane.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}


.pill {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(26, 188, 156, 0.15); /* Vert doux et translucide */
  color: #1abc9c; /* Vert principal */
  border: 1px solid rgba(26, 188, 156, 0.4); /* Contour discret */
}


.price-tag {
  font-weight: 700;
  font-size: 1.1rem;
  color: grey;
}

.title {
    text-align: center;
}

.bdg-essential { 
    background: rgba(26, 188, 156, 0.15);
    color: #1abc9c; /* Vert principal */
    border: 1px solid rgba(26, 188, 156, 0.4);
}

.bdg-optimal {
    background: rgba(13, 110, 253, 0.15);
    color: #0d6efd; /* Bleu principal Bootstrap */
    border: 1px solid rgba(13, 110, 253, 0.4);
}

.bdg-signature {
    background: rgba(212, 175, 55, 0.15);
    color: #d4af37; /* Or classique */
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.bdg-prestige {
    background: rgba(111, 66, 193, 0.15);
    color: #6f42c1; /* Violet Bootstrap */
    border: 1px solid rgba(111, 66, 193, 0.4);
}

.form-check-input:checked {
  background-color: #1abc9c; /* ton vert Turboprog */
  border-color: #1abc9c;
}
.form-check-label a {
  color: var(--bs-link-color);
  text-decoration: underline;
}

.status-icon {
  font-size: 1.4rem;
}

.formule-description {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 40px 20px;
  margin-top: 40px;
}

.formule-description h2 {
  font-weight: 600;
  color: var(--bs-body-color);
  padding-bottom: 15px;
}

.formule-text {
  padding-top: 15px;
  max-width: 750px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
  color: #bbb;
  text-align: justify;
}
.btn-submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  background: var(--brand);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}


.btn-loader {
  border: 3px solid rgba(255,255,255,0.3);
  border-top: 3px solid #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 0.8s linear infinite;
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn-submit.loading span { display: none; }
.btn-submit.loading .btn-loader { display: block; }

.form-disabled {
  opacity: 0.6;
  pointer-events: none;
}

/* grisage & blocage quand en loading */
.tp-form.is-busy {
  opacity: .6;
  pointer-events: none;
}

.char-count {
  display: block;
  text-align: right;
  font-size: 0.8rem;
  color: #888;
  margin-top: 4px;
}



.bdg-horizon {
  background: rgba(0, 255, 153, 0.18);   /* vert "électrique" un peu différent */
  color: #00f5a0;                        /* texte vert fluo */
  border: 1px solid rgba(0, 245, 160, 0.5);
}


.tp-prestige-banner{
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(58,167,255,0.12), rgba(124,77,255,0.16));
  border: 1px solid rgba(148,163,184,0.5);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #e5e7eb;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.tp-prestige-badge{
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(59,130,246,0.7);
  color: #93c5fd;
  flex-shrink: 0;
}
.tp-prestige-text{
  font-size: 13px;
  line-height: 1.5;
}
.tp-prestige-title{
  margin: 0 0 2px 0;
  font-weight: 600;
}
.tp-prestige-sub{
  margin: 0;
  color: #9ca3af;
}

/* ===================================
   SECTION OPTIONS - FORMULE
   =================================== */

/* Séparateur stylisé */
.options-separator {
  display: flex;
  align-items: center;
  margin: 2rem 0 1.5rem 0;
  gap: 1rem;
}

.options-separator-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 50%, transparent);
}

.options-separator-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 226, 166, 0.1);
  border: 1px solid rgba(0, 226, 166, 0.25);
  color: var(--brand);
  font-size: 0.9rem;
  animation: rotateGear 8s linear infinite;
}

@keyframes rotateGear {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Conteneur principal de la section options */
.options-section {
  margin: 0 0 1.5rem 0;
}

/* ===================================
   NOUVEAU STYLE V2 - OPTIONS
   =================================== */

/* Item d'option V2 */
.option-item-v2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  transition: all 0.2s ease;
}

.option-item-v2:last-child {
  margin-bottom: 0;
}

.option-item-v2--active {
  background: rgba(0, 226, 166, 0.04);
  border-color: rgba(0, 226, 166, 0.25);
}

.option-item-v2--inactive {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line);
  opacity: 0.85;
}

.option-item-v2--locked {
  cursor: pointer;
}

.option-item-v2--locked:hover {
  background: rgba(255, 255, 255, 0.04);
}

/* Contenu de l'option */
.option-item-v2__content {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex: 1;
}

/* Icône de l'option V2 */
.option-item-v2__icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.option-item-v2__icon--green {
  background: rgba(0, 226, 166, 0.12);
  color: var(--brand);
}

.option-item-v2__icon--muted {
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.option-item-v2__icon--blue {
  background: rgba(13, 110, 253, 0.12);
  color: #5ea7ff;
}

/* Informations de l'option V2 */
.option-item-v2__info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.option-item-v2__title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.option-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
  background: rgba(0, 226, 166, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 226, 166, 0.2);
}

.option-price--free {
  color: #5ea7ff;
  background: rgba(13, 110, 253, 0.1);
  border: 1px solid rgba(13, 110, 253, 0.2);
}

.option-item-v2__desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.3;
}

/* Action (bouton ou badge) */
.option-item-v2__action {
  flex-shrink: 0;
  margin-left: 1rem;
}

/* Badge V2 (Inclus, Indisponible, Non applicable) */
.option-badge-v2 {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.option-badge-v2 i {
  font-size: 0.85rem;
}

.option-badge-v2--included {
  background: rgba(0, 226, 166, 0.12);
  color: var(--brand);
  border: 1px solid rgba(0, 226, 166, 0.25);
}

.option-badge-v2--unavailable {
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border: 1px solid var(--line);
}

/* Bouton Ajouter/Retirer V2 */
.option-btn-v2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  height: 36px;
  padding: 0 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.option-btn-v2:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.option-btn-v2--active {
  background: rgba(255, 92, 98, 0.12);
  border-color: rgba(255, 92, 98, 0.3);
  color: #ff5c62;
}

.option-btn-v2--active:hover {
  background: rgba(255, 92, 98, 0.18);
  border-color: rgba(255, 92, 98, 0.4);
}

/* État loading du bouton */
.option-btn-v2--loading {
  pointer-events: none;
  opacity: 0.7;
}

.option-btn-v2--loading .option-btn-v2__text {
  opacity: 0;
}

.option-btn-v2--loading .option-btn-v2__loader {
  display: block;
}

.option-btn-v2__text {
  transition: opacity 0.2s ease;
}

.option-btn-v2__loader {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spinLoader 0.6s linear infinite;
  display: none;
}

@keyframes spinLoader {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive V2 */
@media (max-width: 576px) {
  .option-item-v2 {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .option-item-v2__action {
    align-self: stretch;
    margin-left: 0;
  }
  
  .option-btn-v2 {
    width: 100%;
  }
}

/* Ancien style (garde pour compatibilité) */
.options-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  font-size: 1rem;
}

.options-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 226, 166, 0.3);
}

.options-toggle.active {
  border-color: rgba(0, 226, 166, 0.4);
  background: rgba(0, 226, 166, 0.08);
}

.options-toggle-content {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.options-toggle-content i {
  font-size: 1.2rem;
  color: var(--brand);
}

.options-toggle-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}

.options-toggle-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(0, 226, 166, 0.15);
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 700;
}

.options-toggle-icon {
  font-size: 1.1rem;
  color: var(--muted);
  transition: transform 0.3s ease;
}

.options-toggle.active .options-toggle-icon {
  transform: rotate(180deg);
}

/* Zone dépliante (collapse) */
.options-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

.options-collapse.open {
  max-height: 500px;
  opacity: 1;
  margin-top: 1rem;
}

/* Liste des options */
.options-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Item d'option individuel */
.option-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.option-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

/* Item inclus */
.option-item--included {
  border-color: rgba(0, 226, 166, 0.25);
  background: rgba(0, 226, 166, 0.05);
}

.option-item--included:hover {
  border-color: rgba(0, 226, 166, 0.35);
  background: rgba(0, 226, 166, 0.08);
}

/* Item indisponible */
.option-item--unavailable {
  opacity: 0.7;
}

/* Header de l'option (icône + info) */
.option-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Icône de l'option */
.option-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.option-icon--green {
  background: rgba(0, 226, 166, 0.15);
  color: var(--brand);
  border: 1px solid rgba(0, 226, 166, 0.3);
}

.option-icon--muted {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  border: 1px solid var(--line);
}

/* Informations de l'option */
.option-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.option-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.option-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.3;
}

/* Status de l'option (Inclus / Indisponible) */
.option-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.option-status i {
  font-size: 0.9rem;
}

/* Status inclus */
.option-status--included {
  background: rgba(0, 226, 166, 0.15);
  color: var(--brand);
  border: 1px solid rgba(0, 226, 166, 0.3);
}

/* Status indisponible */
.option-status--unavailable {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  border: 1px solid var(--line);
}

/* Animation d'apparition */
@keyframes fadeInOptions {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.options-collapse.open .option-item {
  animation: fadeInOptions 0.4s ease forwards;
}

.options-collapse.open .option-item:nth-child(1) {
  animation-delay: 0.05s;
}

.options-collapse.open .option-item:nth-child(2) {
  animation-delay: 0.1s;
}

/* Checkbox personnalisée */
.option-checkbox {
  position: relative;
  flex-shrink: 0;
  margin-right: 0.75rem;
}

.option-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.option-checkbox label {
  display: block;
  width: 22px;
  height: 22px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.option-checkbox input[type="checkbox"]:checked + label {
  background: var(--brand);
  border-color: var(--brand);
}

.option-checkbox input[type="checkbox"]:checked + label::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #05332a;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.option-checkbox input[type="checkbox"]:disabled + label {
  opacity: 0.5;
  cursor: not-allowed;
}

.option-item--selectable {
  cursor: pointer;
}

.option-item--selectable .option-header {
  flex: 1;
}

/* Badge Signature avec dégradé FR */
.signature-badge {
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(90deg, #0055A4 0%, #FFFFFF 50%, #EF4135 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 0.3rem;
  letter-spacing: 0.5px;
}

/* Icône bleue pour USB */
.option-icon--blue {
  background: rgba(13, 110, 253, 0.15);
  color: #0d6efd;
  border: 1px solid rgba(13, 110, 253, 0.3);
}

/* Modal de confirmation */
.option-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.option-modal.show {
  display: flex;
}

.option-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.option-modal-content {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.option-modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.option-modal-header i {
  font-size: 2rem;
  color: #ffc857;
}

.option-modal-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.option-modal-body {
  margin-bottom: 1.5rem;
}

.option-modal-body p {
  margin: 0 0 0.75rem 0;
  color: var(--text);
  line-height: 1.5;
}

.option-modal-warning {
  color: var(--muted);
  font-size: 0.9rem;
}

.option-modal-footer {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.option-modal-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.option-modal-btn--cancel {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--line);
}

.option-modal-btn--cancel:hover {
  background: rgba(255, 255, 255, 0.12);
}

.option-modal-btn--confirm {
  background: var(--brand);
  color: #05332a;
}

.option-modal-btn--confirm:hover {
  background: #2ee1b5;
  transform: translateY(-1px);
}

/* Toast notifications */
.option-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--surface);
  color: var(--text);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 10000;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
  max-width: 350px;
}

.option-toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.option-toast--success {
  background: rgba(0, 226, 166, 0.15);
  border-color: rgba(0, 226, 166, 0.4);
  color: var(--brand);
}

.option-toast--info {
  background: rgba(13, 110, 253, 0.15);
  border-color: rgba(13, 110, 253, 0.4);
  color: #5ea7ff;
}

/* Badge "Disponible" pour les options non incluses */
.option-badge-available {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  margin-left: 0.4rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(13, 110, 253, 0.12);
  color: #5ea7ff;
  border: 1px solid rgba(13, 110, 253, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* État "available" pour l'item */
.option-item--available {
  border-color: rgba(0, 226, 166, 0.2);
  background: rgba(0, 226, 166, 0.03);
}

.option-item--available:hover {
  border-color: rgba(0, 226, 166, 0.35);
  background: rgba(0, 226, 166, 0.06);
  cursor: pointer;
}

/* Responsive */
@media (max-width: 576px) {
  .option-item {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  .option-checkbox {
    order: 1;
  }
  
  .option-header {
    order: 2;
    flex: 1;
    min-width: 200px;
  }
  
  .option-status {
    order: 3;
    margin-left: auto;
  }
  
  .options-toggle-content {
    gap: 0.6rem;
  }
  
  .options-toggle-title {
    font-size: 0.9rem;
  }
  
  .option-modal-content {
    padding: 1.5rem;
  }
  
  .option-toast {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
}

/* Désactiver les animations si l'utilisateur préfère */
@media (prefers-reduced-motion: reduce) {
  .options-collapse,
  .options-toggle-icon,
  .option-item,
  .option-modal-content,
  .option-toast {
    transition: none;
    animation: none;
  }
}