/* Variables CSS pour les thèmes de packs */
:root {
  /* Thème Principal - Bleu (pour intro et interface) */
  --intro-primary: #0c59db;
  --intro-secondary: #3b82f6;
  --intro-dark: #0a47a8;
  --intro-darker: #17305e;
  --intro-light: #60a5fa;
  --intro-lighter: #93c5fd;
  --intro-bg-start: #0c59db;
  --intro-bg-middle: #3b82f6;
  --intro-bg-end: #60a5fa;
  --intro-shadow: rgba(12, 89, 219, 0.4);
  --intro-shadow-light: rgba(12, 89, 219, 0.15);
  --intro-text-muted: #64748b;
  --intro-text-dark: #1e293b;
  --intro-border: rgba(12, 89, 219, 0.2);
  --intro-border-light: rgba(12, 89, 219, 0.1);
  --intro-hover: rgba(12, 89, 219, 0.08);
  
  /* Thème Essentiel - Vert */
  --essentiel-primary: #2ecc71;
  --essentiel-dark: #27ae60;
  --essentiel-darker: #229954;
  --essentiel-light: rgba(46, 204, 113, 0.1);
  --essentiel-shadow: rgba(46, 204, 113, 0.3);
  --essentiel-shadow-dark: rgba(46, 204, 113, 0.4);
  --essentiel-hover-shadow: rgba(46, 204, 113, 0.15);

  /* Thème Standard - Bleu */
  --standard-primary: #0c59db;
  --standard-dark: #17305e;
  --standard-darker: #001a72;
  --standard-light: rgba(12, 89, 219, 0.1);
  --standard-shadow: rgba(12, 89, 219, 0.3);
  --standard-shadow-dark: rgba(12, 89, 219, 0.4);
  --standard-hover-shadow: rgba(12, 89, 219, 0.15);

  /* Thème Premium - Violet */
  --premium-primary: #9b59b6;
  --premium-dark: #8e44ad;
  --premium-darker: #7d3c98;
  --premium-light: rgba(155, 89, 182, 0.1);
  --premium-shadow: rgba(155, 89, 182, 0.3);
  --premium-shadow-dark: rgba(155, 89, 182, 0.4);
  --premium-hover-shadow: rgba(155, 89, 182, 0.15);
}

/* Quiz Animated Styles */
.quiz-wrapper {
  background: var(--white, #fff);
  border-radius: 20px;
  box-shadow: 0 20px 60px var(--shadow-color, rgba(0, 0, 0, 0.1));
  padding: 40px;
  margin-top: 50px;
  position: relative;
  overflow: hidden;
}

/* Progress Bar */
.progress-container {
  text-align: center;
  margin-bottom: 30px;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--border-color, #e0e0e0);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 15px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--primary-color, #c01a40),
    var(--primary-dark, #8d1430)
  );
  border-radius: 10px;
  width: 11.11%;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-text {
  font-size: 14px;
  color: var(--text-dark, #000);
  font-weight: 600;
}

/* Back Button */
.back-button {
  position: absolute;
  top: 80px;
  left: 20px;
  background: none;
  border: 2px solid var(--primary-color, #c01a40);
  color: var(--primary-color, #c01a40);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.back-button:hover {
  background: var(--primary-color, #c01a40);
  color: var(--white, #fff);
  transform: scale(1.1);
}

/* Quiz Container */
.quiz-container {
  position: relative;
  min-height: 500px;
}

/* Question Slides */
.question-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.question-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  position: static;
}

.question-slide.exiting {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-100px);
}

/* Question Icon */
.question-icon {
  margin-bottom: 30px;
}

.question-icon i {
  font-size: 80px;
  color: var(--primary-color, #c01a40);
  background: linear-gradient(
    45deg,
    var(--primary-color, #c01a40),
    var(--primary-dark, #8d1430)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Question Title */
.question-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark, #333);
  margin-bottom: 10px;
  line-height: 1.3;
}

.question-subtitle {
  font-size: 16px;
  color: var(--text-light, #666);
  margin-bottom: 40px;
}

/* Question Header with Help Widget */
.question-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

/* Help Widget */
.help-widget {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.help-widget i {
  font-size: 20px;
  color: var(--primary-color, #c01a40);
  transition: all 0.3s ease;
  opacity: 0.7;
}

.help-widget:hover i {
  opacity: 1;
  transform: scale(1.1);
}

.help-tooltip {
  position: absolute;
  bottom: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-dark, #333);
  color: var(--white, #fff);
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
  max-width: 320px;
  width: max-content;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  font-weight: 400;
}

.help-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--text-dark, #333);
}

.help-widget:hover .help-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}

/* Answer Options */
.answer-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.categories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.answer-option {
  cursor: pointer;
  display: block;
  transition: all 0.3s ease;
}

.answer-option input {
  display: none;
}

.answer-content {
  background: var(--white, #fff);
  border: 3px solid var(--border-color, #e0e0e0);
  border-radius: 15px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.answer-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  transition: left 0.5s ease;
}

.answer-option:hover .answer-content::before {
  left: 100%;
}

.answer-content i {
  font-size: 24px;
  color: var(--primary-color, #c01a40);
  min-width: 30px;
}

.answer-content span {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark, #333);
  flex: 1;
  text-align: left;
}

.answer-content small {
  font-size: 12px;
  color: var(--text-light, #666);
  display: block;
  margin-top: 5px;
}

.answer-option:hover .answer-content {
  border-color: var(--primary-color, #c01a40);
  background: var(--primary-light, rgba(192, 26, 64, 0.05));
  transform: translateY(-3px);
  box-shadow: 0 10px 25px var(--primary-shadow, rgba(192, 26, 64, 0.15));
}

.answer-option input:checked + .answer-content {
  border-color: var(--primary-color, #c01a40);
  background: linear-gradient(
    45deg,
    var(--primary-color, #c01a40),
    var(--primary-dark, #8d1430)
  );
  color: var(--white, #fff);
  transform: scale(1.02);
}

.answer-option input:checked + .answer-content i,
.answer-option input:checked + .answer-content span,
.answer-option input:checked + .answer-content small {
  color: var(--white, #fff);
}

/* Number Input */
.number-input-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.number-input {
  width: 120px;
  height: 80px;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  border: 3px solid var(--primary-color, #c01a40);
  border-radius: 15px;
  background: var(--white, #fff);
  color: var(--primary-color, #c01a40);
  outline: none;
}

.number-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.number-btn {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: var(--primary-color, #c01a40);
  color: var(--white, #fff);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.number-btn:hover {
  background: var(--primary-dark, #8d1430);
  transform: scale(1.1);
}

/* Text Input */
.text-input-container {
  max-width: 400px;
  margin: 0 auto 40px;
}

.input-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark, #333);
  margin-bottom: 10px;
  text-align: left;
}

.input-label i {
  color: var(--primary-color, #c01a40);
  margin-right: 8px;
}

.text-input {
  width: 100%;
  height: 60px;
  padding: 0 20px;
  font-size: 18px;
  border: 3px solid var(--border-color, #e0e0e0);
  border-radius: 15px;
  background: var(--white, #fff);
  outline: none;
  transition: all 0.3s ease;
}

.text-input:focus {
  border-color: var(--primary-color, #c01a40);
  box-shadow: 0 0 0 5px var(--primary-light, rgba(192, 26, 64, 0.1));
}

.contact-inputs {
  max-width: 600px;
  margin: 0 auto 40px;
}

.contact-inputs .row {
  margin: 0 -10px;
}

.contact-inputs .col-md-6 {
  padding: 0 10px;
}

@media (max-width: 768px) {
  .contact-inputs {
    max-width: 400px;
  }

  .contact-inputs .row {
    margin: 0;
  }

  .contact-inputs .col-md-6 {
    padding: 0;
  }
}

/* Buttons */
.next-button,
.submit-button {
  background: var(
    --gradient-color-1,
    linear-gradient(
      45deg,
      var(--primary-color, #c01a40),
      var(--primary-dark, #8d1430)
    )
  );
  color: var(--white, #fff);
  border: none;
  padding: 15px 40px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 5px 15px var(--primary-shadow, rgba(192, 26, 64, 0.3));
}

.next-button:hover,
.submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px var(--primary-shadow-dark, rgba(192, 26, 64, 0.4));
}

.next-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.submit-button {
  font-size: 20px;
  padding: 18px 50px;
}

/* Results Section */
.results-content {
  margin: 30px 0;
}

.audit-section {
  background: var(--white, #fff);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px var(--shadow-color, rgba(0, 0, 0, 0.1));
  border-left: 5px solid var(--primary-color, #c01a40);
}

.audit-title {
  color: var(--primary-color, #c01a40);
  font-weight: 700;
  margin-bottom: 25px;
  font-size: 24px;
  border-bottom: 3px solid var(--primary-color, #c01a40);
  padding-bottom: 15px;
}

.audit-details {
  margin-bottom: 25px;
}

.audit-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light, #eee);
}

.audit-item:last-child {
  border-bottom: none;
}

.audit-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.audit-item-label {
  font-weight: 600;
  color: var(--text-dark, #333);
  margin-bottom: 8px;
  font-size: 18px;
}

.audit-item-details {
  margin-top: 8px;
}

.audit-detail {
  font-size: 14px;
  color: var(--text-light, #666);
  background: var(--primary-light, rgba(192, 26, 64, 0.1));
  padding: 6px 12px;
  border-radius: 20px;
  display: inline-block;
  font-weight: 500;
}

.audit-item-value {
  font-weight: 700;
  color: var(--primary-color, #c01a40);
  text-align: right;
  min-width: 140px;
  font-size: 20px;
  margin-left: 20px;
  align-self: center;
}

.audit-resume {
  background: var(
    --gradient-color-1,
    linear-gradient(
      45deg,
      var(--primary-color, #c01a40),
      var(--primary-dark, #8d1430)
    )
  );
  color: var(--white, #fff);
  padding: 25px;
  border-radius: 15px;
  margin-top: 20px;
}

.resume-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.resume-item:last-child {
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  margin-top: 15px;
  padding-top: 20px;
  font-size: 20px;
  font-weight: 700;
}

.resume-label {
  font-weight: 500;
}

.resume-value {
  font-weight: 600;
}

/* Results Navigation */
.results-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid var(--border-light, #f0f0f0);
}

.results-navigation .btn {
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
}

.results-navigation .btn-secondary {
  background: var(--secondary-color, #6c757d);
  color: var(--white, #fff);
}

.results-navigation .btn-secondary:hover {
  background: var(--secondary-dark, #5a6268);
  transform: translateY(-2px);
}

/* Loading State */
.loading-spinner {
  text-align: center;
  padding: 60px;
  color: var(--text-light, #666);
  font-size: 18px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Error State */
.error {
  background: var(--error-bg, #f8d7da);
  color: var(--error-text, #721c24);
  padding: 20px;
  border: 1px solid var(--error-border, #f5c6cb);
  border-radius: 15px;
  margin-top: 20px;
  font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .quiz-wrapper {
    padding: 25px;
    margin-top: 30px;
  }

  .question-icon i {
    font-size: 60px;
  }

  .question-title {
    font-size: 24px;
  }

  .question-header {
    flex-direction: column;
    gap: 10px;
  }

  .help-tooltip {
    max-width: 280px;
    font-size: 13px;
    padding: 12px 16px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .answer-content {
    padding: 15px;
    text-align: center;
  }

  .answer-content span {
    text-align: center;
  }

  .number-input-container {
    flex-direction: column;
    gap: 15px;
  }

  .number-controls {
    flex-direction: row;
    gap: 20px;
  }

  .back-button {
    width: 45px;
    height: 45px;
    top: 75px;
    left: 15px;
  }

  .audit-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .audit-item-value {
    text-align: left;
    min-width: auto;
  }

  .results-navigation {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .quiz-wrapper {
    padding: 20px;
  }

  .question-icon i {
    font-size: 50px;
  }

  .question-title {
    font-size: 20px;
  }

  .help-tooltip {
    max-width: 250px;
    font-size: 12px;
    padding: 10px 14px;
    bottom: calc(100% + 10px);
  }

  .help-widget i {
    font-size: 18px;
  }

  .answer-content {
    padding: 12px;
  }

  .number-input {
    width: 100px;
    height: 70px;
    font-size: 28px;
  }

  .text-input {
    height: 50px;
    font-size: 16px;
  }

  .next-button,
  .submit-button {
    padding: 12px 30px;
    font-size: 16px;
  }

  .submit-button {
    padding: 15px 40px;
    font-size: 18px;
  }
}

/* Introduction Section Styles */
.intro-wrapper {
  background: linear-gradient(135deg, var(--intro-bg-start) 0%, var(--intro-bg-middle) 50%, var(--intro-bg-end) 100%);
  border-radius: 24px;
  box-shadow: 0 30px 90px var(--intro-shadow), 
              0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  padding: 50px 60px;
  margin-top: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.intro-wrapper::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
  border-radius: 24px;
  z-index: -1;
  filter: blur(20px);
}

.intro-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
              0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

/* Titre principal */
.intro-title {
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  text-align: center;
  position: relative;
}

.intro-title h1 {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--intro-primary) 0%, var(--intro-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 20px var(--intro-shadow-light);
  position: relative;
}

.intro-title h1::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--intro-primary), var(--intro-secondary));
  border-radius: 2px;
  box-shadow: 0 2px 10px var(--intro-shadow);
}

/* Statistics */
.intro-stats {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 25px;
  margin: 35px 0 30px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat-item {
  text-align: center;
  background: linear-gradient(135deg, var(--intro-hover), var(--intro-border-light));
  padding: 20px 35px;
  border-radius: 16px;
  border: 1px solid var(--intro-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--intro-border-light), var(--intro-hover));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px var(--intro-shadow-light);
  border-color: var(--intro-border);
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-number {
  display: block;
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--intro-primary) 0%, var(--intro-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
  position: relative;
}

.stat-label {
  font-size: 13px;
  color: var(--intro-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  display: none;
}

/* Disclaimer */
.intro-disclaimer {
  margin-bottom: 30px;
  font-size: 14px;
  color: var(--intro-text-muted);
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.8s both;
  font-style: italic;
  padding: 15px 25px;
  background: linear-gradient(135deg, var(--intro-border-light), var(--intro-hover));
  border-left: 3px solid var(--intro-primary);
  border-radius: 8px;
}

/* CTA Button */
.intro-cta-button {
  background: linear-gradient(135deg, var(--intro-primary) 0%, var(--intro-dark) 100%);
  color: #fff;
  border: none;
  padding: 20px 50px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 35px var(--intro-shadow),
              0 0 0 0 var(--intro-shadow);
  margin-bottom: 35px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  animation: fadeInUp 0.8s ease-out 1s both, pulse 2s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.intro-cta-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.intro-cta-button:hover::before {
  width: 400px;
  height: 400px;
}

.intro-cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 50px var(--intro-shadow),
              0 0 0 8px var(--intro-border);
}

.intro-cta-button:active {
  transform: translateY(-1px) scale(0.98);
}

.intro-cta-button i {
  font-size: 18px;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.intro-cta-button:hover i {
  transform: translateX(5px);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 12px 35px var(--intro-shadow),
                0 0 0 0 var(--intro-shadow);
  }
  50% {
    box-shadow: 0 12px 35px var(--intro-shadow),
                0 0 0 8px transparent;
  }
}

/* Testimonials Section */
.testimonials-section {
  margin: 25px 0 0;
  text-align: center;
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.testimonials-title {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--intro-primary) 0%, var(--intro-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: -0.5px;
}

.testimonials-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 5px 15px 15px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--intro-primary) var(--intro-border-light);
  flex: 1;
  align-items: stretch;
}

.testimonials-grid::-webkit-scrollbar {
  height: 8px;
}

.testimonials-grid::-webkit-scrollbar-track {
  background: var(--intro-border-light);
  border-radius: 4px;
}

.testimonials-grid::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--intro-primary), var(--intro-secondary));
  border-radius: 4px;
  transition: all 0.3s ease;
}

.testimonials-grid::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, var(--intro-secondary), var(--intro-dark));
  box-shadow: 0 0 10px var(--intro-shadow);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 8px 32px var(--intro-shadow-light),
              0 0 0 1px var(--intro-border-light) inset;
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  position: relative;
  overflow: hidden;
  min-width: 300px;
  max-width: 340px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px var(--intro-shadow-light),
              0 0 0 1px var(--intro-border) inset;
  border-color: var(--intro-border);
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--intro-primary), var(--intro-secondary), var(--intro-light));
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover::before {
  transform: scaleX(1);
}

.testimonial-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--intro-border-light) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.testimonial-card:hover::after {
  opacity: 1;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 15px;
  justify-content: flex-start;
}

.testimonial-stars .star {
  color: #fbbf24;
  font-size: 16px;
  text-shadow: 0 2px 4px rgba(251, 191, 36, 0.3);
  transition: transform 0.2s ease;
}

.testimonial-card:hover .testimonial-stars .star {
  transform: scale(1.1);
}

.testimonial-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--intro-text-dark);
  margin-bottom: 12px;
  position: relative;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  padding: 0 8px;
}

.testimonial-text::before {
  content: '"';
  position: absolute;
  left: -6px;
  top: -8px;
  font-size: 40px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--intro-primary), var(--intro-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text::after {
  content: '"';
  position: absolute;
  right: -4px;
  bottom: -12px;
  font-size: 40px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--intro-secondary), var(--intro-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-date {
  font-size: 11px;
  color: var(--intro-text-muted);
  font-weight: 600;
  text-align: right;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-light, #f0f0f0);
}

/* Responsive Design for Testimonials */
@media (max-width: 768px) {
  .testimonials-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonial-text {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .testimonials-title {
    font-size: 22px;
  }

  .testimonial-card {
    padding: 18px;
  }

  .testimonial-text {
    font-size: 13px;
    line-height: 1.5;
  }

  .testimonial-stars .star {
    font-size: 16px;
  }
}

/* Responsive Design for Introduction */
@media (max-width: 768px) {
  .intro-wrapper {
    padding: 40px 25px;
    margin-top: 30px;
  }

  .intro-title h1 {
    font-size: 24px;
  }

  .intro-stats {
    gap: 20px;
  }

  .stat-number {
    font-size: 24px;
  }

  .intro-cta-button {
    padding: 18px 40px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .intro-wrapper {
    padding: 30px 20px;
  }

  .intro-title h1 {
    font-size: 20px;
  }

  .intro-stats {
    flex-direction: column;
    gap: 15px;
  }

  .stat-divider {
    display: none;
  }

  .intro-cta-button {
    padding: 15px 30px;
    font-size: 16px;
  }
}

/* Extended Contact Form Styles */
.input-help {
  display: block;
  font-size: 12px;
  color: var(--text-light, #666);
  margin-top: 5px;
  font-style: italic;
}

/* Availability Message */
.availability-message {
  margin-top: 10px;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.availability-message.show {
  opacity: 1;
  transform: translateY(0);
}

.availability-message.danger {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.availability-message.warning {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.availability-message.success {
  background: #d1e7dd;
  color: #0f5132;
  border: 1px solid #badbcc;
}

/* Checkbox Group */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 30px 0;
}

.checkbox-option {
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transition: all 0.3s ease;
}

.checkbox-option input {
  display: none;
}

.checkbox-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  position: relative;
}

.checkbox-content i {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border-color, #e0e0e0);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: transparent;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-content span {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-dark, #333);
}

.checkbox-option:hover .checkbox-content i {
  border-color: var(--primary-color, #c01a40);
  background: var(--primary-light, rgba(192, 26, 64, 0.05));
}

.checkbox-option input:checked + .checkbox-content i {
  background: var(--primary-color, #c01a40);
  border-color: var(--primary-color, #c01a40);
  color: var(--white, #fff);
  transform: scale(1.1);
}

.required-checkbox .checkbox-content span::after {
  content: " *";
  color: var(--primary-color, #c01a40);
}

/* Loading Animation */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

.loading-spinner {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 30px;
}

.spinner-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 4px solid transparent;
  border-radius: 50%;
  animation: spinRing 2s linear infinite;
}

.spinner-ring:nth-child(1) {
  border-top-color: var(--primary-color, #c01a40);
  animation-delay: 0s;
}

.spinner-ring:nth-child(2) {
  border-right-color: var(--primary-dark, #8d1430);
  animation-delay: -0.5s;
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
}

.spinner-ring:nth-child(3) {
  border-bottom-color: var(--primary-light, rgba(192, 26, 64, 0.6));
  animation-delay: -1s;
  width: 40%;
  height: 40%;
  top: 30%;
  left: 30%;
}

@keyframes spinRing {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-text {
  color: var(--text-dark, #333);
}

.loading-message {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color, #c01a40);
}

.loading-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.loading-dots span {
  width: 8px;
  height: 8px;
  background: var(--primary-color, #c01a40);
  border-radius: 50%;
  animation: loadingDots 1.4s ease-in-out infinite both;
}

.loading-dots span:nth-child(1) {
  animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes loadingDots {
  0%,
  80%,
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* Enhanced Submit Button */
.submit-button {
  position: relative;
  overflow: hidden;
}

.submit-button.loading {
  pointer-events: none;
  opacity: 0.8;
}

.submit-button.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: buttonShimmer 1.5s infinite;
}

@keyframes buttonShimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Responsive adjustments for new fields */
@media (max-width: 768px) {
  .checkbox-group {
    gap: 20px;
  }

  .checkbox-content {
    gap: 10px;
  }

  .checkbox-content span {
    font-size: 14px;
  }

  .loading-container {
    padding: 40px 15px;
  }

  .loading-message {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .checkbox-content i {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }

  .loading-spinner {
    width: 60px;
    height: 60px;
  }

  .loading-message {
    font-size: 14px;
  }
}

/* Pack Selection Styles */
.pack-selection-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.pack-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark, #333);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}

.pack-description {
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.pack-description p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-dark, #333);
  margin-bottom: 15px;
}

.pack-description strong {
  color: var(--primary-color, #c01a40);
}

.audit-duration {
  background: var(--white, #fff);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-left: 5px solid var(--primary-color, #c01a40);
}

.audit-duration h3 {
  color: var(--primary-color, #c01a40);
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.duration-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 15px;
}

.duration-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: var(--primary-light, rgba(192, 26, 64, 0.05));
  border-radius: 10px;
  border: 1px solid var(--border-light, #f0f0f0);
}

.duration-label {
  font-weight: 600;
  color: var(--text-dark, #333);
}

.duration-value {
  font-weight: 700;
  color: var(--primary-color, #c01a40);
  font-size: 18px;
}

.duration-note {
  grid-column: 1 / -1;
  margin-top: 10px;
}

.duration-note small {
  color: var(--text-light, #666);
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Informations importantes des packs */
.pack-important-info {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  border: 1px solid var(--border-light, #e0e0e0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-section {
  margin-bottom: 15px;
}

.info-section:last-child {
  margin-bottom: 0;
}

.travel-costs {
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-light, #e0e0e0);
}

.info-text {
  font-size: 14px;
  color: var(--text-dark, #333);
  margin: 0 0 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.info-text i {
  color: var(--primary-color, #c01a40);
  margin-top: 2px;
  flex-shrink: 0;
}

.info-estimate {
  font-size: 13px;
  color: var(--text-dark, #333);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 20px;
}

.info-estimate i {
  color: #ffc107;
  font-size: 12px;
}

.info-estimate strong {
  color: var(--primary-color, #c01a40);
}

.info-estimate small {
  color: var(--text-light, #666);
  font-style: italic;
}

.info-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark, #333);
  margin: 0 0 10px 0;
}

.no-fees-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
}

.no-fee-item {
  font-size: 13px;
  color: var(--text-dark, #333);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.no-fee-item i {
  color: #dc3545;
  font-size: 12px;
  flex-shrink: 0;
}

/* Responsive pour les informations importantes */
@media (max-width: 768px) {
  .pack-important-info {
    padding: 15px;
    margin: 15px 0;
  }

  .no-fees-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .info-text,
  .info-estimate {
    font-size: 13px;
  }

  .info-estimate {
    padding-left: 16px;
  }
}

/* Styles pour les avantages communs */
.common-benefits {
  padding-top: 15px;
  border-top: 1px solid var(--border-light, #e0e0e0);
}

.benefits-list {
  margin: 0;
}

.benefit-item {
  font-size: 14px;
  color: var(--text-dark, #333);
  margin: 0 0 12px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.benefit-item:last-of-type {
  margin-bottom: 15px;
}

.benefit-item i {
  color: #28a745;
  margin-top: 2px;
  flex-shrink: 0;
  font-size: 14px;
}

.transparency-note {
  font-size: 13px;
  color: var(--text-dark, #666);
  margin: 0;
  padding: 12px 15px;
  background: rgba(255, 193, 7, 0.1);
  border-radius: 8px;
  border-left: 4px solid #ffc107;
  font-style: italic;
}

.transparency-note strong {
  color: var(--text-dark, #333);
  font-weight: 600;
}

/* Responsive pour les avantages communs */
@media (max-width: 768px) {
  .benefit-item {
    font-size: 13px;
    gap: 8px;
  }

  .transparency-note {
    font-size: 12px;
    padding: 10px 12px;
  }
}

.pack-features {
  background: var(--white, #fff);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.pack-features h3 {
  color: var(--primary-color, #c01a40);
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.features-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark, #333);
}

.features-list li i {
  color: var(--primary-color, #c01a40);
  font-size: 18px;
}

.packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

/* Responsive grid for larger screens */
@media (min-width: 768px) {
  .packs-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    max-width: 1400px;
    margin: 0 auto 40px;
  }
}

@media (min-width: 1200px) {
  .packs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

.pack-card {
  background: var(--white, #fff);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 3px solid var(--border-light, #f0f0f0);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pack-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color, #c01a40);
}

.pack-popular {
  border-color: var(--primary-color, #c01a40);
  transform: scale(1.05);
}

.pack-popular:hover {
  transform: scale(1.05) translateY(-5px);
}

.pack-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  background: var(--primary-color, #c01a40);
  color: var(--white, #fff);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pack-header {
  text-align: center;
  margin-bottom: 20px;
}

.pack-name {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color, #c01a40);
  margin-bottom: 15px;
}

.pack-price {
  margin-bottom: 15px;
}

.price-breakdown {
  background: var(--primary-light, rgba(192, 26, 64, 0.05));
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.price-item:last-child {
  margin-bottom: 0;
}

.price-label {
  font-size: 14px;
  color: var(--text-dark, #333);
  font-weight: 500;
}

.price-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color, #c01a40);
}

.total-price {
  text-align: center;
  border-top: 2px solid var(--primary-color, #c01a40);
  padding-top: 15px;
}

.total-amount {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark, #333);
  line-height: 1;
  margin-bottom: 5px;
}

.price-detail {
  font-size: 14px;
  color: var(--text-light, #666);
  font-weight: 500;
}

/* Nouveaux styles pour prix unitaire */
.price-unit {
  text-align: center;
  padding: 20px 15px;
}

.price-unit .price-amount {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color, #c01a40);
  line-height: 1;
  margin-bottom: 8px;
}

.price-unit .price-detail {
  font-size: 16px;
  color: var(--text-light, #666);
  font-weight: 500;
}

.pack-subtitle {
  font-size: 16px;
  color: var(--text-dark, #333);
  font-weight: 600;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.4;
}

.pack-advantages {
  flex: 1;
  margin-bottom: 30px;
}

.pack-advantages h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark, #333);
  margin-bottom: 15px;
}

.pack-advantages ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.pack-advantages li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text-dark, #333);
  width: 100%;
}

.pack-advantages li i {
  color: var(--primary-color, #c01a40);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.pack-select-btn {
  background: var(--primary-color, #c01a40);
  color: var(--white, #fff);
  border: none;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  box-shadow: 0 5px 15px var(--primary-shadow, rgba(192, 26, 64, 0.3));
}

.pack-select-btn:hover {
  background: var(--primary-dark, #8d1430);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px var(--primary-shadow-dark, rgba(192, 26, 64, 0.4));
}

.pack-navigation {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid var(--border-light, #f0f0f0);
}

.selected-pack-info {
  background: linear-gradient(
    135deg,
    var(--primary-color, #c01a40) 0%,
    var(--primary-dark, #8d1430) 100%
  );
  color: var(--white, #fff);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
}

.pack-summary h4 {
  margin-bottom: 15px;
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pack-summary p {
  margin-bottom: 8px;
  font-size: 16px;
}

/* Thèmes de couleur pour chaque pack */
/* Pack Essentiel - Thème Vert */
.pack-essentiel .pack-name {
  color: var(--essentiel-primary);
}

.pack-essentiel .price-unit .price-amount {
  color: var(--essentiel-primary);
}

.pack-essentiel .pack-advantages li i {
  color: var(--essentiel-primary);
}

.pack-essentiel .pack-select-btn {
  background: linear-gradient(
    135deg,
    var(--essentiel-primary) 0%,
    var(--essentiel-dark) 100%
  );
  box-shadow: 0 5px 15px var(--essentiel-shadow);
}

.pack-essentiel .pack-select-btn:hover {
  background: linear-gradient(
    135deg,
    var(--essentiel-dark) 0%,
    var(--essentiel-darker) 100%
  );
  box-shadow: 0 10px 25px var(--essentiel-shadow-dark);
}

.pack-essentiel:hover {
  border-color: var(--essentiel-primary);
  box-shadow: 0 15px 40px var(--essentiel-hover-shadow);
}

/* Variantes supplémentaires Pack Essentiel */
.pack-essentiel .pack-subtitle {
  color: var(--essentiel-dark);
}

.pack-essentiel .pack-badge {
  background: var(--essentiel-primary);
  color: white;
}

.pack-essentiel::before {
  background: var(--essentiel-light);
}

/* Pack Standard - Thème Bleu */
.pack-standard .pack-name {
  color: var(--standard-primary);
}

.pack-standard .price-unit .price-amount {
  color: var(--standard-primary);
}

.pack-standard .pack-advantages li i {
  color: var(--standard-primary);
}

.pack-standard .pack-select-btn {
  background: linear-gradient(
    135deg,
    var(--standard-primary) 0%,
    var(--standard-dark) 100%
  );
  box-shadow: 0 5px 15px var(--standard-shadow);
}

.pack-standard .pack-select-btn:hover {
  background: linear-gradient(
    135deg,
    var(--standard-dark) 0%,
    var(--standard-darker) 100%
  );
  box-shadow: 0 10px 25px var(--standard-shadow-dark);
}

.pack-standard:hover {
  border-color: var(--standard-primary);
  box-shadow: 0 15px 40px var(--standard-hover-shadow);
}

/* Variantes supplémentaires Pack Standard */
.pack-standard .pack-subtitle {
  color: var(--standard-dark);
}

.pack-standard .pack-badge {
  background: var(--standard-primary);
  color: white;
}

.pack-standard::before {
  background: var(--standard-light);
}

/* Pack Premium - Thème Violet */
.pack-premium .pack-name {
  color: var(--premium-primary);
}

.pack-premium .price-unit .price-amount {
  color: var(--premium-primary);
}

.pack-premium .pack-advantages li i {
  color: var(--premium-primary);
}

.pack-premium .pack-select-btn {
  background: linear-gradient(
    135deg,
    var(--premium-primary) 0%,
    var(--premium-dark) 100%
  );
  box-shadow: 0 5px 15px var(--premium-shadow);
}

.pack-premium .pack-select-btn:hover {
  background: linear-gradient(
    135deg,
    var(--premium-dark) 0%,
    var(--premium-darker) 100%
  );
  box-shadow: 0 10px 25px var(--premium-shadow-dark);
}

.pack-premium:hover {
  border-color: var(--premium-primary);
  box-shadow: 0 15px 40px var(--premium-hover-shadow);
}

/* Variantes supplémentaires Pack Premium */
.pack-premium .pack-subtitle {
  color: var(--premium-dark);
}

.pack-premium .pack-badge {
  background: var(--premium-primary);
  color: white;
}

.pack-premium::before {
  background: var(--premium-light);
}

/* Variantes communes pour tous les packs */
.pack-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pack-card:hover::before {
  opacity: 1;
}

/* Styles pour les badges avec thèmes */
.pack-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Effets de focus pour l'accessibilité */
.pack-essentiel .pack-select-btn:focus {
  outline: 3px solid var(--essentiel-light);
  outline-offset: 2px;
}

.pack-standard .pack-select-btn:focus {
  outline: 3px solid var(--standard-light);
  outline-offset: 2px;
}

.pack-premium .pack-select-btn:focus {
  outline: 3px solid var(--premium-light);
  outline-offset: 2px;
}

/* Avantage mis en valeur pour le pack premium */
.pack-premium .featured-advantage {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--premium-light) 0%,
    rgba(155, 89, 182, 0.05) 100%
  );
  border: 2px solid var(--premium-primary);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 16px 0;
  transform: scale(1.02);
  animation: premium-pulse 2s ease-in-out infinite;
}

.pack-premium .featured-advantage::before {
  content: "★";
  position: absolute;
  top: -8px;
  left: -8px;
  background: var(--premium-primary);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 2px 8px var(--premium-shadow);
}

.pack-premium .featured-advantage::after {
  content: "EXCLUSIF";
  position: absolute;
  top: -6px;
  right: 12px;
  background: var(--premium-primary);
  color: white;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px var(--premium-shadow);
}

.pack-premium .featured-advantage i {
  color: var(--premium-primary);
  font-size: 18px;
  margin-right: 12px;
  animation: premium-icon-glow 1.5s ease-in-out infinite alternate;
}

.pack-premium .featured-advantage:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px var(--premium-shadow-dark);
  border-color: var(--premium-dark);
}

/* Animation pour l'effet de pulsation */
@keyframes premium-pulse {
  0%,
  100% {
    box-shadow: 0 4px 15px var(--premium-shadow);
  }
  50% {
    box-shadow: 0 6px 20px var(--premium-shadow-dark);
  }
}

/* Animation pour l'icône */
@keyframes premium-icon-glow {
  0% {
    text-shadow: 0 0 5px var(--premium-shadow);
  }
  100% {
    text-shadow: 0 0 10px var(--premium-shadow), 0 0 15px var(--premium-shadow);
  }
}

/* Responsive Design for Pack Selection */
@media (max-width: 768px) {
  .pack-selection-container {
    padding: 30px 15px;
  }

  .pack-title {
    font-size: 28px;
  }

  .pack-description p {
    font-size: 16px;
  }

  .packs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pack-card {
    padding: 25px;
  }

  .pack-popular {
    transform: none;
  }

  .pack-popular:hover {
    transform: translateY(-5px);
  }

  .duration-details {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .duration-item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .total-amount {
    font-size: 28px;
  }

  .price-breakdown {
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .pack-title {
    font-size: 24px;
  }

  .pack-name {
    font-size: 24px;
  }

  .total-amount {
    font-size: 24px;
  }

  .pack-card {
    padding: 20px;
  }

  .pack-select-btn {
    padding: 12px 25px;
    font-size: 16px;
  }

  .price-breakdown {
    padding: 10px;
  }

  .price-item {
    flex-direction: column;
    text-align: center;
    gap: 4px;
  }
}

/* mt-sm-3 */
@media (max-width: 576px) {
  .mt-sm-3 {
    margin-top: 1rem !important;
  }
}
