/* LCM Consent Banner - glassmorph 20vh, bottom */
.lcm-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: 20vh;
  min-height: 140px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.08);
  font-family: inherit;
  color: #1a1a1a;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lcm-consent-banner[data-visible="true"] {
  transform: translateY(0);
}

.lcm-consent-banner__text {
  flex: 1 1 auto;
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 65ch;
}

.lcm-consent-banner__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 0 0 auto;
}

.lcm-consent-banner__mascot-wrapper {
  display: contents;
}

.lcm-consent-banner__mascot {
  flex: 0 0 auto;
  width: 308px;
  height: 56px;
  user-select: none;
  pointer-events: none;
}

.lcm-consent-banner__accept {
  background: #1a1a1a;
  color: #ffffff;
  border: none;
  padding: 0.85rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  letter-spacing: 0.02em;
}

.lcm-consent-banner__accept:hover {
  background: #5e3f17;
}

.lcm-consent-banner__accept:active {
  transform: scale(0.98);
}

.lcm-consent-banner__prefs {
  background: none;
  border: none;
  color: #6b6b6b;
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.lcm-consent-banner__prefs:hover {
  color: #1a1a1a;
}

/* Modal */
.lcm-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.lcm-consent-modal[data-visible="true"] {
  display: flex;
}

.lcm-consent-modal__dialog {
  background: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.lcm-consent-modal__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.lcm-consent-modal__text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #4a4a4a;
  margin: 0 0 1.5rem 0;
}

.lcm-consent-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.lcm-consent-modal__deny,
.lcm-consent-modal__cancel {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #1a1a1a;
  background: #ffffff;
  color: #1a1a1a;
  transition: background 0.2s ease;
}

.lcm-consent-modal__cancel:hover {
  background: #f5f5f5;
}

.lcm-consent-modal__deny:hover {
  background: #1a1a1a;
  color: #ffffff;
}

/* Sous 1080px : stack vertical (au lieu de row), padding réduit.
   Seuil dicté par le contenu : texte + mascot 308px + actions ~250px
   ne rentrent en row que au-delà de ~1070px. */
@media (max-width: 1080px) {
  .lcm-consent-banner {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    min-height: 0;
    padding: 1rem;
    gap: 0.75rem;
  }
  .lcm-consent-banner__text {
    font-size: 0.85rem;
    max-width: none;
    text-align: center;
  }
  .lcm-consent-banner__actions {
    justify-content: space-between;
  }
  .lcm-consent-banner__accept {
    padding: 0.7rem 1.5rem;
  }
  .lcm-consent-banner__mascot {
    width: 220px;
    height: 40px;
    align-self: center;
  }
}
