/* Bannière cookies Holey (remplace Axeptio) : toutes les règles sont préfixées .hxc pour ne rien toucher sur la page. */
.hxc { --hy: #FFC21A; --hys: #FFF4D1; --hk: #111111; --hink: #1B1A17; --hmut: #625E55; --hln: #E6E2D8; --hpa: #F7F5EF;
  /* Même place et même taille que la bannière Axeptio : 420 px, à 20 px du bord gauche et 80 px du bas */
  position: fixed; left: 20px; bottom: 80px; width: 420px; max-width: calc(100vw - 40px); z-index: 2147483000;
  background: #fff; color: #000; border-radius: 8px; overflow: hidden; text-align: left;
  font: 400 13px/1.5 "Barlow", "Helvetica Neue", Arial, sans-serif;
  box-shadow: 0 4px 24px rgba(0,0,0,.15), 0 2px 6px rgba(0,0,0,.05);
  animation: hxc-in .45s cubic-bezier(.2,.9,.3,1.2) both; }
@keyframes hxc-in { from { transform: translateY(24px) scale(.97); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hxc { animation: none; } }
.hxc *, .hxc *::before, .hxc *::after { box-sizing: border-box; }
.hxc[hidden], .hxc [hidden] { display: none !important; }
.hxc button { font-family: inherit; }
.hxc label { font-weight: 400; margin: 0; display: revert; }
.hxc label.hxc-row { display: grid; }
.hxc label.hxc-all { display: flex; }

/* Étape 1 */
.hxc-art { position: absolute; top: 0; right: 0; width: 180px; height: 110px; pointer-events: none;
  background: radial-gradient(120% 120% at 100% 0%, var(--hy) 0%, #FFD866 45%, rgba(255,216,102,0) 72%); }
.hxc-av { position: absolute; width: 50px; height: 50px; border-radius: 15px; background: var(--hk); display: grid; place-items: center; box-shadow: 0 6px 14px rgba(17,17,17,.2); }
.hxc-av svg { width: 32px; height: 32px; }
.hxc-av.a1 { right: 88px; top: 30px; transform: rotate(-10deg); }
.hxc-av.a2 { right: 28px; top: 22px; transform: rotate(8deg); width: 58px; height: 58px; }
.hxc-skip { position: relative; display: block; border: 0; background: none; padding: 3px 20px 0; margin: 0; font-size: 13px; line-height: 15px; font-weight: 400; color: #666; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hxc-skip:hover { color: var(--hink); }
.hxc-intro { position: relative; padding: 6px 20px 20px; } /* pas d'espace vide entre le texte et les boutons */
.hxc-intro h2 { font-size: 24px; font-weight: 700; line-height: 30px; margin: 0 0 10px; color: #000; letter-spacing: 0; text-transform: none; }
.hxc-intro h2 span { display: block; font-size: 16.8px; font-weight: 400; line-height: 21px; }
.hxc-intro p { max-width: none; font-size: 13px; line-height: 19.5px; margin: 0; color: #666; }

/* Barre de boutons du bas */
.hxc-bar { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #EDEDED; }
.hxc-bar.three { grid-template-columns: 1fr 1fr 1fr; }
.hxc-bar button { border: 0; background: #fff; height: 42px; padding: 0 10px; font-size: 14px; line-height: 17.5px; font-weight: 500; color: #474747; cursor: pointer; }
.hxc-bar button + button { border-left: 1px solid #EDEDED; }
.hxc-bar button:hover { background: var(--hys); }
.hxc-bar button:focus-visible, .hxc-skip:focus-visible { outline: 3px solid var(--hy); outline-offset: -3px; }
.hxc-bar .strong { font-weight: 700; }

/* Étapes « Je choisis » */
.hxc-pane { padding: 18px 20px 6px; max-height: min(70vh, 620px); overflow: auto; }
.hxc-hero { width: 64px; height: 64px; margin: 0 auto 8px; }
.hxc-hero svg { width: 64px; height: 64px; }
.hxc-pane h3 { font-size: 22px; font-weight: 800; line-height: 1.2; text-align: center; margin: 0 0 6px; color: var(--hink); text-transform: none; letter-spacing: 0; }
.hxc-sub { text-align: center; font-weight: 600; margin: -2px 0 8px; font-size: 15px; }
.hxc-lead { font-size: 14px; color: #3b3934; margin: 0 0 12px; line-height: 1.5; }
.hxc-all { display: flex; justify-content: space-between; align-items: center; padding: 6px 2px 10px; font-size: 15px; cursor: pointer; }
.hxc-rows { border: 1px solid var(--hln); border-radius: 14px; overflow: hidden; margin-bottom: 10px; }
.hxc-row { display: grid; grid-template-columns: 44px 1fr 46px; gap: 12px; align-items: center; padding: 12px 14px; cursor: pointer; }
.hxc-row + .hxc-row { border-top: 1px solid var(--hln); }
.hxc-row b { display: block; font-size: 14.5px; white-space: nowrap; }
.hxc-row small { display: block; font-size: 12.5px; color: var(--hmut); line-height: 1.4; margin-top: 2px; }
.hxc-row abbr { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 4px; background: var(--hpa); font-size: 11px; text-decoration: none; color: var(--hmut); margin-left: 4px; vertical-align: 2px; cursor: help; }
.hxc-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--hk); display: grid; place-items: center; transform: rotate(-5deg); }
.hxc-row:nth-child(even) .hxc-ic { transform: rotate(5deg); }
.hxc-ic svg { width: 26px; height: 26px; }
.hxc-v { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--hln); display: grid; place-items: center; font-weight: 800; color: #4285F4; justify-self: center; }
.hxc-v.h { background: var(--hy); color: var(--hk); border-color: var(--hy); }
.hxc-v.m { color: #0866FF; }

/* Interrupteurs */
.hxc-sw { position: relative; width: 46px; height: 26px; flex: none; }
.hxc-sw input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.hxc-sw i { position: absolute; inset: 0; border-radius: 999px; background: #d9d4c8; transition: background .2s; }
.hxc-sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.hxc-sw input:checked + i { background: var(--hk); }
.hxc-sw input:checked + i::after { transform: translateX(20px); background: var(--hy); }
.hxc-sw input:focus-visible + i { outline: 3px solid var(--hy); outline-offset: 2px; }

/* Mobile, comme Axeptio : toute la largeur, collée en bas de l'écran */
@media (max-width: 500px) {
  .hxc { left: 0; right: 0; bottom: 0; width: 100%; max-width: none; border-radius: 0; padding-bottom: env(safe-area-inset-bottom); animation-name: hxc-up; }
  .hxc-intro p { max-width: none; padding-right: 0; }
  .hxc-intro h2 { max-width: 60%; }
  .hxc-art { width: 150px; }
  .hxc-av.a1 { right: 74px; } .hxc-av.a2 { right: 18px; }
  .hxc-pane { max-height: 72vh; padding: 16px 16px 6px; }
  .hxc-row { grid-template-columns: 40px 1fr 46px; gap: 10px; padding: 11px 12px; }
  .hxc-ic { width: 40px; height: 40px; }
  .hxc-row b { white-space: normal; font-size: 14px; }
  .hxc-bar button { height: 44px; }
}
@keyframes hxc-up { from { transform: translateY(100%); } }
/* Défilement bloqué sur mobile tant que la bannière attend un choix */
html.hxc-lock, html.hxc-lock body { overflow: hidden !important; overscroll-behavior: none; }
html.hxc-lock body { position: fixed; left: 0; right: 0; width: 100%; }
.hxc-veil { position: fixed; inset: 0; z-index: 2147482999; background: rgba(17,17,17,.12); touch-action: none; }
