/* Bannière de consentement ironCards. Sources : kit/consentement/ du dépôt de migration.
   « Accepter » et « Refuser » ont exactement le même style (exigence CNIL). */
#swc[hidden], #swc .swc-etat[hidden] { display: none; }
#swc {
	position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100000;
	display: flex; justify-content: center; pointer-events: none;
	font-family: inherit; font-size: 15px; line-height: 1.5;
}
#swc .swc-boite {
	pointer-events: auto; box-sizing: border-box; width: 100%; max-width: 760px;
	background: #1a2437; color: #fff; border-radius: 6px; padding: 20px 24px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .35);
}
#swc .swc-titre { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: #fff; }
#swc .swc-texte, #swc .swc-etat { margin: 0 0 14px; color: #e8ebf0; }
#swc .swc-etat { font-weight: 600; }
#swc .swc-plus, #swc .swc-plus:visited { color: #fff; text-decoration: underline; }
#swc .swc-plus:hover { text-decoration: none; }
#swc .swc-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
#swc .swc-bouton {
	min-width: 140px; min-height: 44px; margin: 0; padding: 10px 22px;
	background: #fff; color: #1a2437; border: 2px solid #fff; border-radius: 4px;
	font: inherit; font-weight: 700; cursor: pointer; box-shadow: none; text-transform: none;
}
#swc .swc-bouton:hover { background: #f5f2ed; border-color: #f5f2ed; color: #1a2437; }
#swc .swc-bouton:focus-visible, #swc .swc-plus:focus-visible { outline: 3px solid #e7002c; outline-offset: 2px; }
@media (max-width: 600px) {
	#swc { left: 0; right: 0; bottom: 0; }
	#swc { font-size: 14px; }
	#swc .swc-titre { font-size: 16px; }
	#swc .swc-boite { border-radius: 0; padding: 16px; }
	#swc .swc-actions { flex-wrap: nowrap; }
	#swc .swc-bouton { flex: 1 1 0; min-width: 0; }
}
/* Lien « Gérer les cookies » du pied de page : un bouton qui a l'air d'un lien. */
.swc-ouvrir {
	display: inline; margin: 0; padding: 0; border: 0; background: none; box-shadow: none;
	font: inherit; color: inherit; text-transform: none; letter-spacing: inherit; cursor: pointer;
}
.swc-ouvrir:hover, .swc-ouvrir:focus { background: none; }
.swc-ouvrir:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media print { #swc { display: none; } }
