/* Grosses Ondes — consentement Analytics : discret, accessible, responsive */
.footer-nav .go-cookie-settings-button {
  appearance:none;border:0;background:transparent;color:#aeb7bb;
  font:inherit;font-size:10px;letter-spacing:.05em;text-transform:uppercase;
  padding:0;margin:0;cursor:pointer;text-align:left;
}
.footer-nav .go-cookie-settings-button:hover {color:#fff;text-decoration:underline}
.footer-nav .go-cookie-settings-button:focus-visible,
.go-consent-panel :focus-visible {outline:2px solid #ff5962;outline-offset:3px}
.go-consent-panel {
  position:fixed;right:20px;bottom:20px;z-index:1600;
  width:min(530px,calc(100vw - 40px));box-sizing:border-box;
  max-height:calc(100dvh - 36px);overflow-y:auto;
  background:#0e1316;color:#e8edef;
  border:1px solid #465157;border-top:3px solid #db2935;border-radius:14px;
  box-shadow:0 20px 70px rgba(0,0,0,.75);
  padding:22px 23px 18px;font-family:Inter,system-ui,sans-serif;
}
.go-consent-head {margin-bottom:10px}
.go-consent-eyebrow {display:block;margin-bottom:6px;color:#f16b73;letter-spacing:.14em;font-weight:800;font-size:10px}
.go-consent-panel h2 {color:#f7f8f9;font:800 28px/1.12 'Barlow Condensed',Impact,sans-serif;margin:0;text-transform:uppercase}
.go-consent-panel p {font-size:13px;line-height:1.65;color:#b8c1c5;margin:0 0 13px}
.go-consent-panel .go-consent-current {font-size:12px;color:#d5dde0;margin:0 0 12px}
.go-consent-panel .go-consent-current:empty {display:none}
.go-consent-actions {display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0 12px}
.go-consent-choice {min-height:44px;appearance:none;border:1px solid #707b80;
  border-radius:8px;background:#192125;color:#f3f6f7;font:700 13px Inter,system-ui,sans-serif;
  padding:10px 12px;cursor:pointer}
.go-consent-choice:hover {background:#2a353a;border-color:#cdd5d8}
.go-consent-privacy {color:#d5dce0;text-decoration:underline;text-underline-offset:3px;
  font-size:11px;line-height:1.5}
.go-consent-privacy:hover {color:#fff}
@media(max-width:760px) {
  .go-consent-panel {left:12px;right:12px;bottom:90px;width:auto;
    max-height:calc(100dvh - 110px);padding:17px 16px 15px}
  .go-consent-panel h2 {font-size:25px}
  .go-consent-panel p {font-size:12px}
  .go-consent-actions {gap:9px}
  .go-consent-choice {font-size:12px;padding:9px 7px}
}
@media(prefers-reduced-motion:reduce) {
  .go-consent-panel *, .go-consent-panel {scroll-behavior:auto}
}

/* Correctif V2 : position ancrée au viewport même en présence de règles concurrentes.
   Le dialogue reste non modal : le contenu du site demeure utilisable. */
.go-consent-panel {
  position: fixed !important;
  top: auto !important;
  bottom: max(16px, env(safe-area-inset-bottom)) !important;
  z-index: 2147483000 !important;
  isolation: isolate;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
@media (max-width: 760px) {
  .go-consent-panel {
    left: 12px !important;
    right: 12px !important;
    top: auto !important;
    bottom: max(12px, env(safe-area-inset-bottom)) !important;
    width: auto !important;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    padding: 17px 16px 15px;
  }
}
@media (max-width: 345px) {
  .go-consent-panel { left: 8px !important; right: 8px !important; }
}
