/* Bandeau de cookies : site public et écrans guest. Couleur de la charte TCS (#028A02, texte blanc : 4,5:1). */
.tcs-cc { position: fixed; z-index: 2000; left: 16px; bottom: 16px; width: calc(100% - 32px); max-width: 460px; max-height: calc(100vh - 32px); overflow-y: auto;
  background: #fff; color: #212529; border: 1px solid #d0d5db; border-top: 4px solid #028A02; border-radius: 10px; box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
  padding: 18px 20px; font-size: 14px; line-height: 1.5; text-align: left; }
.tcs-cc[hidden] { display: none; }
.tcs-cc:focus-visible, .tcs-cc :focus-visible { outline: 3px solid #016601; outline-offset: 2px; }
.tcs-cc .tcs-cc-title { font-size: 17px; line-height: 1.3; font-weight: 700; margin: 0 0 8px; padding: 0; color: #016601; }
.tcs-cc .tcs-cc-text, .tcs-cc .tcs-cc-hint, .tcs-cc .tcs-cc-sub { font-size: 14px; line-height: 1.5; margin: 0 0 12px; color: #374151; }
.tcs-cc-text a { color: #016601; text-decoration: underline; font-weight: 600; }
.tcs-cc .tcs-cc-sub { font-weight: 600; margin: 0 0 8px; color: #212529; }
.tcs-cc-panel { border-top: 1px solid #e5e7eb; padding-top: 12px; margin-bottom: 12px; }
.tcs-cc-row { margin-bottom: 10px; }
.tcs-cc-switch { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; margin: 0 0 2px; }
.tcs-cc-switch input { width: 18px; height: 18px; accent-color: #028A02; flex: none; }
.tcs-cc-switch small { font-weight: 400; color: #4b5563; }
.tcs-cc .tcs-cc-hint { font-size: 13px; margin: 0 0 0 28px; }
.tcs-cc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tcs-cc .tcs-cc-btn { flex: 1 1 auto; min-height: 44px; font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 6px; cursor: pointer; line-height: 1.2; }
.tcs-cc .btn-primary { background: #028A02; border: 2px solid #028A02; color: #fff; }
.tcs-cc .btn-primary:hover, .tcs-cc .btn-primary:focus { background: #016601; border-color: #016601; color: #fff; }
.tcs-cc .btn-outline-primary { background: #fff; border: 2px solid #028A02; color: #016601; }
.tcs-cc .btn-outline-primary:hover, .tcs-cc .btn-outline-primary:focus { background: #eaf6ea; color: #016601; border-color: #016601; }
.tcs-cc-panel .tcs-cc-btn { width: 100%; margin-top: 4px; }
@media (max-width: 575.98px) { .tcs-cc { left: 8px; bottom: 8px; width: calc(100% - 16px); max-width: none; padding: 14px 14px; } .tcs-cc .tcs-cc-btn { flex-basis: 100%; } }
@media (prefers-reduced-motion: no-preference) { .tcs-cc:not([hidden]) { animation: tcs-cc-in .25s ease-out; } @keyframes tcs-cc-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } } }
