/* LiftLane — bandeau de consentement aux cookies. Complète site.css (tokens, boutons). */

.consent {
  position: fixed;
  z-index: calc(var(--z-header) + 5);
  left: 20px;
  bottom: 20px;
  width: min(440px, calc(100vw - 40px));
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--ll-border);
  border-radius: var(--ll-radius-card);
  background: var(--ll-surface);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
  animation: rise .5s var(--ll-ease) both;
}
.consent[hidden] { display: none; }
.consent__title { font: 700 30px/1 var(--ll-font-heading); letter-spacing: .01em; text-transform: uppercase; }
:lang(fr) .consent__title { line-height: 1.06; }
.consent__text { font-size: 15px; line-height: 1.5; color: #C5C9D0; }
.consent__text a { color: var(--ll-text); font-weight: 600; }
.consent__more { font-size: 14px; color: var(--ll-text-secondary); }
.consent__more summary { display: inline-flex; align-items: center; min-height: 32px; cursor: pointer; color: var(--ll-text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--ll-border); text-underline-offset: 5px; list-style: none; }
.consent__more summary::-webkit-details-marker { display: none; }
.consent__more[open] summary { text-decoration-color: currentColor; }
.consent__more > div { display: flex; flex-direction: column; gap: 8px; max-height: 38vh; overflow-y: auto; padding: 6px 0 2px; line-height: 1.5; }
.consent__more p { margin: 0; }
.consent__more b { color: var(--ll-text); font-weight: 600; }
.consent__more a { color: var(--ll-text); font-weight: 600; }
.consent__actions { display: flex; gap: 10px; margin-top: 4px; }
/* même taille, même poids : refuser doit être aussi simple qu'accepter */
.consent__actions .btn { flex: 1; min-height: 48px; padding: 0 16px; }
.consent .btn--ghost { border-color: #4A5058; }
.consent .btn--ghost:hover { border-color: var(--ll-text-secondary); }

@media (max-width: 700px) {
  .consent {
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    gap: 10px;
    padding: 20px var(--gutter) calc(20px + env(safe-area-inset-bottom));
    border-width: 1px 0 0;
    border-radius: var(--ll-radius-sheet) var(--ll-radius-sheet) 0 0;
  }
  .consent__title { font-size: 26px; }
}
