/**
 * Template Single Enseigne
 * Charte graphique: Jaune #FFD800, Bleu #0B1224, Blanc #FFF
 */

/* === Tableau de classement === */
.qslm-ranking-table-wrapper {
  overflow-x: auto;
  margin: 30px 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(11, 18, 36, 0.08);
}

.qslm-ranking-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.qslm-ranking-table thead th {
  background: #0B1224;
  color: white;
  padding: 16px 12px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.qslm-ranking-table thead th:first-child {
  text-align: center;
  background: #f8fafc;
  color: #0B1224;
  width: 50px;
  font-weight: 700;
  border-right: 2px solid #FFD800;
}

.qslm-ranking-table thead th:nth-child(2) {
  text-align: left;
  background: #e2e8f0;
  color: #0B1224;
}

.qslm-ranking-header-brand {
  background: #0B1224 !important;
  min-width: 120px;
}

.qslm-ranking-header-icon {
  width: 50px;
  font-weight: bold;
  font-size: 18px;
}

.qslm-ranking-plus {
  background: #FFD800 !important;
  color: #0B1224 !important;
}

.qslm-ranking-minus {
  background: #999 !important;
  color: white !important;
}

.qslm-ranking-table tbody tr {
  border-bottom: 1px solid #e2e8f0;
}

.qslm-ranking-table tbody tr:hover {
  background-color: rgba(255, 216, 0, 0.05);
}

.qslm-ranking-table tbody td {
  padding: 14px 12px;
  text-align: center;
  font-size: 14px;
  color: #334155;
  border-right: 1px solid #e2e8f0;
}

.qslm-ranking-numero {
  text-align: center !important;
  font-weight: 700 !important;
  color: #0B1224 !important;
  background: #f8fafc !important;
  width: 50px;
  font-size: 16px !important;
  border-right: 2px solid #FFD800 !important;
}

.qslm-ranking-label {
  text-align: left !important;
  font-weight: 500;
  color: #0B1224;
  background: #f8fafc;
}

.qslm-ranking-value-bold {
  font-weight: 700;
  color: #0B1224;
  font-size: 16px;
}

.qslm-ranking-best {
  background-color: #FFD800 !important;
  color: #0B1224 !important;
  font-weight: 600;
}

/* Mettre en bleu l'en-tête de l'enseigne actuelle */
.qslm-ranking-header-brand.qslm-ranking-current {
  background-color: #0B1224 !important;
  color: #fff !important;
}

.qslm-ranking-row-score td {
  background-color: #f1f5f9;
  font-weight: 600;
}

.qslm-ranking-row-footer td {
  background-color: #e2e8f0;
  font-weight: 500;
}

.qslm-ranking-row-footer:last-child td {
  border-bottom: none;
}

/* Responsive */
@media (max-width: 768px) {
  .qslm-ranking-table {
    font-size: 12px;
  }
  
  .qslm-ranking-table thead th,
  .qslm-ranking-table tbody td {
    padding: 10px 8px;
  }
  
  .qslm-ranking-header-brand {
    min-width: 80px;
  }
}

/* === Section Analyse === */
.qslm-analyse-section {
  background: white;
  border-radius: 12px;
  padding: 30px;
  margin: 40px 0;
  box-shadow: 0 4px 20px rgba(11, 18, 36, 0.08);
  border-left: 4px solid #FFD800;
}

.qslm-analyse-title {
  color: #0B1224;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.qslm-analyse-title::before {
  content: '📊';
  font-size: 28px;
}

.qslm-analyse-content {
  color: #334155;
  font-size: 16px;
  line-height: 1.7;
}

.qslm-analyse-content p {
  margin: 0 0 15px 0;
}

.qslm-analyse-content p:last-child {
  margin-bottom: 0;
}

.qslm-analyse-content ul,
.qslm-analyse-content ol {
  margin: 15px 0;
  padding-left: 25px;
}

.qslm-analyse-content li {
  margin-bottom: 8px;
}

.qslm-analyse-content strong {
  color: #0B1224;
  font-weight: 600;
}

/* === En-tête de l'enseigne === */
.qslm-enseigne-header {
  background: #0B1224;
  padding: 60px 20px;
  margin-bottom: 40px;
  color: white;
  position: relative;
}

.qslm-enseigne-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #FFD800;
}

.qslm-header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 40px;
  align-items: center;
}

.qslm-enseigne-logo {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(255, 216, 0, 0.3);
  border: 2px solid #FFD800;
}

.qslm-enseigne-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.qslm-header-content {
  flex: 1;
}

.qslm-enseigne-title {
  font-size: 42px;
  font-weight: 800;
  margin: 0 0 15px 0;
  color: white;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.qslm-enseigne-year {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  margin: 0 0 15px 0;
  color: #FFD800;
  font-weight: 600;
}

.qslm-enseigne-year svg {
  fill: #FFD800;
}

.qslm-enseigne-categories {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.qslm-category-tag {
  background: rgba(255, 216, 0, 0.15);
  border: 2px solid #FFD800;
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 6px;
  color: #FFD800;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
}

.qslm-category-tag:hover {
  background: #FFD800;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 216, 0, 0.4);
}

/* === Score Circle === */
.qslm-enseigne-score-circle {
  position: relative;
  width: 120px;
  height: 120px;
}

/* Badge lauréat personnalisé */
.qslm-enseigne-badge {
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: badgeFloat 3s ease-in-out infinite;
}

.qslm-enseigne-badge img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(255, 216, 0, 0.4));
}

@keyframes badgeFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.qslm-score-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.qslm-score-value {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: #FFD800;
  line-height: 1;
}

.qslm-score-max {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2px;
}

/* === Breadcrumb === */
.qslm-breadcrumb {
  max-width: 1200px;
  margin: -20px auto 30px;
  padding: 0 20px;
}

.qslm-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0B1224;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.qslm-back-link:hover {
  color: #FFD800;
  gap: 12px;
}

.qslm-back-link svg {
  transition: transform 0.3s ease;
  stroke: currentColor;
}

.qslm-back-link:hover svg {
  transform: translateX(-4px);
}

/* === Contenu Principal === */
.qslm-enseigne-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  margin-bottom: 60px;
}

.qslm-enseigne-main {
  min-width: 0;
}

.qslm-enseigne-excerpt {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 30px;
  padding: 25px;
  background: #fff;
  border-left: 4px solid #FFD800;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.qslm-enseigne-content {
  margin-bottom: 40px;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  line-height: 1.8;
  color: #333;
}

/* Styles pour le contenu enrichi (éditeur riche) */
.qslm-enseigne-content p {
  margin-bottom: 1.2em;
  line-height: 1.8;
}

.qslm-enseigne-content h1,
.qslm-enseigne-content h2,
.qslm-enseigne-content h3,
.qslm-enseigne-content h4 {
  color: #0B1224;
  margin-top: 1.5em;
  margin-bottom: 0.8em;
  font-weight: 700;
}

.qslm-enseigne-content h1 {
  font-size: 2em;
  border-bottom: 3px solid #FFD800;
  padding-bottom: 0.3em;
}

.qslm-enseigne-content h2 {
  font-size: 1.75em;
}

.qslm-enseigne-content h3 {
  font-size: 1.5em;
}

.qslm-enseigne-content h4 {
  font-size: 1.25em;
}

.qslm-enseigne-content strong,
.qslm-enseigne-content b {
  font-weight: 700;
  color: #0B1224;
}

.qslm-enseigne-content em,
.qslm-enseigne-content i {
  font-style: italic;
}

.qslm-enseigne-content ul,
.qslm-enseigne-content ol {
  margin: 1.5em 0;
  padding-left: 2em;
}

.qslm-enseigne-content ul li {
  list-style-type: disc;
  margin-bottom: 0.5em;
}

.qslm-enseigne-content ol li {
  list-style-type: decimal;
  margin-bottom: 0.5em;
}

.qslm-enseigne-content a {
  color: #0B1224;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.qslm-enseigne-content a:hover {
  color: #FFD800;
}

.qslm-enseigne-content blockquote {
  border-left: 4px solid #FFD800;
  padding-left: 1.5em;
  margin: 1.5em 0;
  font-style: italic;
  color: #555;
  background: #f8f9fa;
  padding: 1em 1.5em;
  border-radius: 4px;
}

.qslm-enseigne-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5em 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.qslm-enseigne-content code {
  background: #f1f3f5;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 0.9em;
}

.qslm-enseigne-content pre {
  background: #f1f3f5;
  padding: 1em;
  border-radius: 6px;
  overflow-x: auto;
  margin: 1.5em 0;
}

.qslm-enseigne-content hr {
  border: none;
  border-top: 2px solid #e2e8f0;
  margin: 2em 0;
}

.qslm-enseigne-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}

.qslm-enseigne-content table th,
.qslm-enseigne-content table td {
  border: 1px solid #e2e8f0;
  padding: 0.75em;
  text-align: left;
}

.qslm-enseigne-content table th {
  background: #f8f9fa;
  font-weight: 700;
  color: #0B1224;
}

/* === Section Critères === */
.qslm-criteres-section {
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
  border-top: 4px solid #FFD800;
}


/* === Certificat === */
.qslm-certificate-section {
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
  border-top: 4px solid #FFD800;
}

.qslm-certificate-container {
  width: 100%;
}

.qslm-certificate-wrapper {
  background: #F5F1E8;
  padding: 30px;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border: 3px solid #8B8B8B;
}

.qslm-certificate-wrapper svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}


.qslm-section-title {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 30px 0;
  color: #0B1224;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}


/* === CTA Section === */
.qslm-cta-section {
  margin-top: 40px;
}

.qslm-cta-card {
  background: #0B1224;
  color: white;
  padding: 50px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  border: 3px solid #FFD800;
  position: relative;
  overflow: hidden;
}

.qslm-cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 216, 0, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.qslm-cta-card h3 {
  font-size: 32px;
  margin: 0 0 15px 0;
  color: white;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.qslm-cta-card p {
  font-size: 16px;
  margin: 0 0 30px 0;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
}

.qslm-cta-btn {
  display: inline-block;
  background: #FFD800;
  color: #0B1224;
  padding: 18px 50px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 216, 0, 0.3);
  position: relative;
  z-index: 1;
  border: none;
  cursor: pointer;
}

.qslm-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 216, 0, 0.5);
  background: #FFC107;
  color: #0B1224;
}

/* === CTA Premium avec badge et bénéfices === */
.qslm-cta-premium {
  background: linear-gradient(145deg, #0B1224 0%, #1a2540 50%, #0B1224 100%);
  border: 2px solid rgba(255, 216, 0, 0.3);
}

.qslm-cta-badge {
  display: inline-block;
  background: linear-gradient(135deg, #FFD800 0%, #FFC107 100%);
  color: #0B1224;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  animation: qslm-badge-pulse 2s ease-in-out infinite;
}

@keyframes qslm-badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 216, 0, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(255, 216, 0, 0); }
}

/* Old benefits list - kept for backwards compatibility */
.qslm-cta-benefits {
  list-style: none;
  padding: 0;
  margin: 25px 0 30px 0;
  position: relative;
  z-index: 1;
}

.qslm-cta-benefits li {
  color: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.qslm-cta-benefits li:last-child {
  border-bottom: none;
}

/* New benefits grid design */
.qslm-cta-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0 35px 0;
  position: relative;
  z-index: 1;
}

.qslm-benefit-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 216, 0, 0.2);
  border-radius: 16px;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
}

.qslm-benefit-item:hover {
  background: rgba(255, 216, 0, 0.12);
  border-color: rgba(255, 216, 0, 0.4);
  transform: translateY(-3px);
}

.qslm-benefit-icon {
  font-size: 32px;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.qslm-benefit-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.qslm-benefit-title {
  color: #FFD800;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.qslm-benefit-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 400;
}

@media (max-width: 768px) {
  .qslm-cta-benefits-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .qslm-benefit-item {
    flex-direction: row;
    text-align: left;
    padding: 15px 20px;
    gap: 15px;
  }
  
  .qslm-benefit-icon {
    font-size: 28px;
    margin-bottom: 0;
  }
}

.qslm-cta-btn-large {
  padding: 20px 40px;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  text-align: center;
}

.qslm-cta-btn-large:hover {
  transform: translateY(-4px) scale(1.02);
}

/* === Formulaire lead === */
.qslm-lead-form-wrapper {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.qslm-lead-form {
  position: relative;
  z-index: 10;
}

.qslm-lead-form input,
.qslm-lead-form textarea,
.qslm-lead-form button,
.qslm-lead-form select {
  position: relative;
  z-index: 10;
  pointer-events: auto !important;
  cursor: text;
}

.qslm-lead-form button,
.qslm-lead-form input[type="submit"] {
  cursor: pointer !important;
}

.qslm-lead-form input[type="checkbox"] {
  cursor: pointer !important;
}

/* === Sidebar === */
.qslm-enseigne-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.qslm-sidebar-widget {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-top: 3px solid #FFD800;
}

.qslm-widget-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 20px 0;
  color: #0B1224;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.qslm-widget-score {
  background: #0B1224;
  color: white;
  border-top-color: #FFD800;
}

.qslm-widget-score .qslm-widget-title {
  color: #FFD800;
  border-bottom-color: rgba(255, 216, 0, 0.2);
}

.qslm-score-display {
  text-align: center;
  margin-bottom: 15px;
}

.qslm-big-score {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: #FFD800;
}

.qslm-score-denom {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  margin-left: 4px;
}

.qslm-score-description {
  text-align: center;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.qslm-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.qslm-info-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f1;
  color: #333;
  font-weight: 600;
}

.qslm-info-list li:last-child {
  border-bottom: none;
}

.qslm-info-list svg {
  color: #FFD800;
  flex-shrink: 0;
}

.qslm-share-buttons {
  display: flex;
  gap: 10px;
}

.qslm-share-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid transparent;
}

.qslm-share-facebook {
  background: #0B1224;
  color: #FFD800;
  border-color: #FFD800;
}

.qslm-share-twitter {
  background: #0B1224;
  color: #FFD800;
  border-color: #FFD800;
}

.qslm-share-linkedin {
  background: #0B1224;
  color: #FFD800;
  border-color: #FFD800;
}

.qslm-share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(255, 216, 0, 0.3);
  background: #FFD800;
  color: #0B1224;
}

/* === Autres enseignes du classement === */
.qslm-other-enseignes-section {
  max-width: 1200px;
  margin: 60px auto 40px;
  padding: 0 20px;
}

.qslm-other-enseignes-section .qslm-section-title {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 20px;
}

.qslm-other-enseignes-section .qslm-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #FFD800;
}

.qslm-other-enseignes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.qslm-other-enseigne-card {
  background: white;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
  border: 2px solid #e5e7eb;
}

.qslm-other-enseigne-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-color: #FFD800;
}

.qslm-other-enseigne-header {
  background: linear-gradient(135deg, #0B1224 0%, #1a2942 100%);
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.qslm-other-enseigne-rank {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #FFD800;
  color: #0B1224;
  font-size: 18px;
  font-weight: 700;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qslm-other-enseigne-logo {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.qslm-other-enseigne-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.qslm-other-enseigne-content {
  padding: 30px;
  text-align: center;
}

.qslm-other-enseigne-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 15px 0;
  color: #0B1224;
}

.qslm-other-enseigne-title a {
  color: #0B1224;
  text-decoration: none;
  transition: color 0.3s ease;
}

.qslm-other-enseigne-title a:hover {
  color: #FFD800;
}

.qslm-other-enseigne-score {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin: 15px 0;
  font-weight: 700;
}

.qslm-other-enseigne-score .qslm-score-num {
  font-size: 36px;
  color: #FFD800;
}

.qslm-other-enseigne-score .qslm-score-sep {
  font-size: 20px;
  color: #64748b;
}

.qslm-other-enseigne-score .qslm-score-max {
  font-size: 20px;
  color: #64748b;
}

.qslm-other-enseigne-year {
  font-size: 14px;
  color: #64748b;
  margin: 10px 0 20px;
  font-style: italic;
}

.qslm-other-enseigne-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.qslm-btn-affiliation {
  background: linear-gradient(135deg, #0B1224 0%, #1a2942 100%);
  color: white;
}

.qslm-btn-affiliation:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 18, 36, 0.3);
  color: white;
}

.qslm-btn-lead {
  background: linear-gradient(135deg, #FFD800 0%, #f5c200 100%);
  color: #0B1224;
}

.qslm-btn-lead:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 216, 0, 0.4);
}

/* === Responsive === */
@media (max-width: 1024px) {
  .qslm-header-container {
    grid-template-columns: 100px 1fr auto;
    gap: 25px;
  }

  .qslm-enseigne-title {
    font-size: 32px;
  }

  .qslm-enseigne-content-wrapper {
    grid-template-columns: 1fr;
  }

  .qslm-enseigne-sidebar {
    order: 2;
  }

  .qslm-other-enseignes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .qslm-charts-wrapper {
    gap: 30px;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .qslm-header-container {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .qslm-enseigne-logo {
    max-width: 120px;
  }

  .qslm-enseigne-title {
    font-size: 24px;
  }

  .qslm-enseigne-categories {
    justify-content: center;
  }

  .qslm-other-enseignes-grid {
    grid-template-columns: 1fr;
  }

  .qslm-cta-card {
    padding: 30px 20px;
  }

  .qslm-criteres-section {
    padding: 25px;
  }

  .qslm-section-title {
    font-size: 22px;
  }

  .qslm-big-score {
    font-size: 42px;
  }
  
  .qslm-certificate-section {
    padding: 25px 15px;
  }
  
  .qslm-certificate-wrapper {
    padding: 15px;
  }
}
