/* ============================================================
   COOKIE NOTICE — PANNEAU LATÉRAL DÉPLIANT
============================================================ */

.cookie-notice {
  position: fixed;
  right: 16px;
  bottom: 1px;
  z-index: 99999;

  width: min(340px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  box-sizing: border-box;

  padding: 12px 15px 10px 15px;

  background: rgba(0, 31, 63, 0.97);
  color: #ffffff;

  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px 0 0 8px;

  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  font-family: "Poppins", Arial, sans-serif;
  font-size: clamp(0.68rem, 0.72vw, 0.78rem);
  line-height: 1.25;

  opacity: 0;
  transform: translateX(calc(100% + 24px));
  pointer-events: none;

  transition:
    opacity 0.35s ease,
    transform 0.45s ease;
}

.cookie-notice.show {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.cookie-notice-title {
  margin: 0 24px 6px 0;
  color: #00ff66;

  font-size: clamp(0.78rem, 0.82vw, 0.88rem);
  line-height: 1.15;
  font-weight: 500;
}

.cookie-notice p {
  margin: 0 0 5px 0;
  font-weight: 300;
  line-height: 1.25;
}

.cookie-notice a {
  color: #00ff66;
  text-decoration: none;
}

.cookie-notice a:hover {
  text-decoration: underline;
}

.cookie-notice-close {
  position: absolute;
  top: 6px;
  right: 8px;

  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);

  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.cookie-notice-close:hover {
  color: #ffffff;
}

.cookie-notice-ok {
  margin-top: 3px;
  padding: 4px 10px;

  border: 1px solid #00ff66;
  border-radius: 6px;

  background: transparent;
  color: #00ff66;

  font-family: "Poppins", Arial, sans-serif;
  font-size: clamp(0.68rem, 0.72vw, 0.78rem);
  line-height: 1.15;
  cursor: pointer;

  transition:
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.cookie-notice-ok:hover {
  background: rgba(0, 255, 102, 0.10);
  box-shadow: 0 0 8px rgba(0, 255, 102, 0.25);
}

/* ============================================================
   RESPONSIVE — MOBILE
============================================================ */

@media (max-width: 600px) {
  .cookie-notice {
    right: 8px;
    bottom: 8px;

    width: min(300px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    box-sizing: border-box;

    padding: 10px 12px 9px 12px;

    border-radius: 8px 0 0 8px;

    font-size: 0.68rem;
    line-height: 1.22;

    transform: translateX(calc(100% + 18px));
  }

  .cookie-notice.show {
    transform: translateX(0);
  }

  .cookie-notice-title {
    margin: 0 22px 5px 0;
    font-size: 0.76rem;
    line-height: 1.15;
  }

  .cookie-notice p {
    margin-bottom: 4px;
    line-height: 1.22;
  }

  .cookie-notice-close {
    top: 6px;
    right: 7px;
    font-size: 17px;
  }

  .cookie-notice-ok {
    margin-top: 3px;
    padding: 3px 9px;
    font-size: 0.68rem;
  }
}
.cookie-notice-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 10px;

  margin-top: 14px;
}

.cookie-notice-button {
  min-width: 92px;

  padding: 7px 14px;

  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 3px;

  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 400;

  cursor: pointer;

  transition:
    opacity 0.2s ease,
    background-color 0.2s ease;
}

.cookie-notice-refuse {
  background: transparent;
  color: #ffffff;
}

.cookie-notice-accept {
  border-color: #00ff66;
  background: #00ff66;
  color: #07120c;
}

.cookie-notice-button:hover,
.cookie-notice-button:focus-visible {
  opacity: 0.8;
  outline: none;
}

.cookie-notice[hidden] {
  display: none !important;
}

@media (max-width: 700px) {
  .cookie-notice-actions {
    justify-content: stretch;
  }

  .cookie-notice-button {
    flex: 1 1 0;
  }
}