/* Cookie Consent BY FLYDEV */
.fcc-banner[hidden], .fcc-overlay[hidden], .fcc-float[hidden] { display: none !important; }

.fcc-banner, .fcc-panel, .fcc-float { font-family: inherit; font-size: 15px; line-height: 1.5; color: #1d2327; box-sizing: border-box; }
.fcc-banner *, .fcc-panel * { box-sizing: border-box; }

.fcc-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2147483000;
  max-width: 760px; margin: 0 auto; background: #fff; border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .22);
}
.fcc-banner__inner { position: relative; padding: 22px 24px 20px; }
.fcc-title { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.fcc-text { margin: 0 0 16px; font-size: 14px; }
.fcc-text a { color: var(--fcc-color, #1c63ad); text-decoration: underline; }

.fcc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
/* Les trois boutons ont exactement le même poids visuel (exigence CNIL : refuser aussi simple qu'accepter) */
.fcc-btn {
  flex: 1 1 150px; min-height: 44px; padding: 10px 16px; border: 2px solid var(--fcc-color, #1c63ad);
  border-radius: 8px; background: var(--fcc-color, #1c63ad); color: #fff; font: inherit; font-weight: 600;
  cursor: pointer; text-align: center;
}
.fcc-btn:hover { filter: brightness(1.1); }
.fcc-btn:focus-visible, .fcc-link:focus-visible, .fcc-x:focus-visible, .fcc-float:focus-visible, .fcc-switch input:focus-visible + span {
  outline: 3px solid #f0b849; outline-offset: 2px;
}

.fcc-link { background: none; border: 0; padding: 0; color: #50575e; font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.fcc-close { position: absolute; top: 10px; right: 16px; }

.fcc-overlay {
  position: fixed; inset: 0; z-index: 2147483001; background: rgba(0, 0, 0, .5);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.fcc-panel {
  position: relative; width: 100%; max-width: 640px; max-height: 90vh; overflow: auto;
  background: #fff; border-radius: 12px; padding: 24px; outline: none;
}
.fcc-x { position: absolute; top: 8px; right: 12px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: #50575e; }

.fcc-cat { border: 1px solid #dcdcde; border-radius: 8px; padding: 12px 14px; margin-bottom: 10px; }
.fcc-cat__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fcc-cat__name { font-weight: 700; }
.fcc-cat__desc { margin: 6px 0 0; font-size: 13px; color: #50575e; }
.fcc-always { font-size: 13px; color: #00a32a; font-weight: 600; }
.fcc-cat details { margin-top: 8px; font-size: 13px; }
.fcc-cat summary { cursor: pointer; color: var(--fcc-color, #1c63ad); }

.fcc-switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: none; }
.fcc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.fcc-switch span[aria-hidden] { position: absolute; inset: 0; background: #a7aaad; border-radius: 26px; transition: background .2s; }
.fcc-switch span[aria-hidden]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: transform .2s; }
.fcc-switch input:checked + span { background: var(--fcc-color, #1c63ad); }
.fcc-switch input:checked + span::after { transform: translateX(20px); }
.fcc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.fcc-table { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 13px; }
.fcc-table th, .fcc-table td { border: 1px solid #dcdcde; padding: 6px 8px; text-align: left; vertical-align: top; }
.fcc-table th { background: #f6f7f7; }

.fcc-float {
  position: fixed; left: 16px; bottom: 16px; z-index: 2147482999; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--fcc-color, #1c63ad); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}

html.fcc-lock { overflow: hidden; }

@media (max-width: 600px) {
  .fcc-banner { left: 8px; right: 8px; bottom: 8px; }
  .fcc-banner__inner { padding: 36px 16px 16px; }
  .fcc-btn { flex-basis: 100%; }
}
