/* Bandeau de consentement à la mesure d'audience (consentement.js), commun aux deux sites :
   carte bleu nuit posée en bas à gauche, deux boutons de même poids (refuser est aussi simple qu'accepter). */
.consentement {
  position: fixed;
  z-index: 200;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  max-width: 27rem;
  padding: 1.35rem 1.5rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--rayon, 8px);
  background: var(--nuit, #091F2C);
  box-shadow: 0 24px 48px -16px rgba(9, 31, 44, .45), 0 2px 6px rgba(9, 31, 44, .2);
  color: rgba(255, 255, 255, .86);
  font-size: .875rem;
  line-height: 1.6;
  animation: consentement-entre .5s cubic-bezier(.2, .7, .2, 1) both;
}
.consentement__titre {
  margin: 0 0 .5rem;
  color: #fff;
  font-family: var(--police-titre, inherit);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
}
.consentement__texte { margin: 0 0 1.1rem; }
.consentement__texte a { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.consentement__choix { display: flex; gap: .75rem; margin: 0; }
.consentement__bouton {
  flex: 1 1 0;
  min-height: 2.75rem;
  padding: .6rem 1rem;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--rayon-bouton, 4px);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.consentement__bouton:hover { border-color: #fff; background: #fff; color: var(--nuit, #091F2C); }
.consentement__bouton:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 29.99rem) {
  .consentement { right: .75rem; bottom: .75rem; left: .75rem; padding: 1rem 1.1rem 1.1rem; font-size: .8125rem; line-height: 1.55; }
  .consentement__titre { font-size: 1rem; }
  .consentement__texte { margin-bottom: .9rem; }
}
@keyframes consentement-entre {
  from { opacity: 0; transform: translateY(1rem); }
}
@media (prefers-reduced-motion: reduce) {
  .consentement { animation: none; }
}
@media print {
  .consentement { display: none; }
}

/* Bouton « Gestion des cookies » du pied de page : remis à zéro, il prend le style des liens voisins
   (règles des pieds de page de chaque site) */
.pied [data-consentement] {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}
