/* OKR partner banner — shared across lacdoo.fr pages */
.okr-banner {
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(26, 58, 42, 0.10);
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-align: left;
}
.okr-banner:hover,
.okr-banner:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(232, 98, 42, 0.22);
  outline: none;
}
.okr-banner img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 1;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  object-position: 70% center;
}
@media (max-width: 640px) {
  .okr-banner img {
    aspect-ratio: 3 / 1;
    max-height: 160px;
  }
}
.okr-banner__offer {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(4px);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.okr-banner__discount {
  font-size: 1.5rem;
  font-weight: 900;
  color: #e8622a;
  line-height: 1;
  letter-spacing: -0.5px;
}
.okr-banner__code {
  font-size: 0.72rem;
  color: #1a3a2a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.okr-banner__code strong { color: #e8622a; }
@media (max-width: 540px) {
  .okr-banner__offer { top: 10px; right: 10px; padding: 7px 10px; }
  .okr-banner__discount { font-size: 1.2rem; }
  .okr-banner__code { font-size: 0.65rem; }
}

/* Modal */
#okr-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(26, 58, 42, 0.55);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
#okr-modal.is-open { display: flex; }
.okr-modal__card {
  background: #fff;
  border-radius: 14px;
  max-width: 480px;
  width: 100%;
  padding: 30px 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  position: relative;
}
.okr-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: #6b7a78;
}
.okr-modal__title {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #1a3a2a;
}
.okr-modal__intro {
  margin: 0 0 18px;
  color: #3a3a3a;
  font-size: 0.95rem;
  line-height: 1.5;
}
.okr-modal__code {
  background: #fff4ec;
  border: 2px dashed #e8622a;
  border-radius: 8px;
  padding: 14px;
  text-align: center;
  margin: 0 0 18px;
}
.okr-modal__code strong {
  font-size: 1.5rem;
  font-weight: 900;
  color: #1a3a2a;
  letter-spacing: 0.1em;
}
.okr-modal__copy-status {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: #2a7d6f;
}
.okr-modal__cta {
  display: block;
  background: #e8622a;
  color: #fff;
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
}
.okr-modal__note {
  margin: 14px 0 0;
  font-size: 0.78rem;
  color: #6b7a78;
  line-height: 1.5;
  text-align: center;
}
