/* Bannière cookies */
.akar-cookie {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 100000;
  padding: 16px;
  pointer-events: none;
}

.akar-cookie__panel {
  pointer-events: auto;
  max-width: 920px;
  margin: 0 auto;
  padding: 22px 24px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(31, 41, 51, 0.18);
  border: 1px solid var(--line, #e7e2dd);
}

.akar-cookie__title {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink, #2f3438);
}

.akar-cookie__lead {
  margin: 0 0 18px;
  color: var(--ink-soft, #5a6166);
  font-size: 0.92rem;
  line-height: 1.55;
}

.akar-cookie__lead a {
  color: var(--teal, #4fab9c);
  font-weight: 600;
}

.akar-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.akar-cookie__btn {
  min-width: 0;
}

.akar-cookie--prefs .akar-cookie__panel {
  max-height: min(80vh, 640px);
  overflow: auto;
}

.akar-cookie__list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.akar-cookie__item {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--beige, #fcf8f5);
  font-size: 0.9rem;
  color: var(--ink-soft, #5a6166);
  line-height: 1.5;
}

.akar-cookie__item p {
  margin: 8px 0 0;
}

.akar-cookie__item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink, #2f3438);
}

.akar-cookie__item-head input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--teal, #4fab9c);
}

.akar-cookie__always {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-dark, #459488);
  white-space: nowrap;
}

.footer__cookies {
  display: inline-block;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.75);
  font: inherit;
  font-size: 0.82rem;
  text-decoration: underline;
  cursor: pointer;
}

.footer__cookies:hover {
  color: #fff;
}

.contact-map__consent {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 32px 24px;
  text-align: center;
  background: var(--beige, #fcf8f5);
  color: var(--ink-soft, #5a6166);
}

.contact-map__consent p {
  max-width: 520px;
  margin: 0 0 16px;
  line-height: 1.6;
}

.akar-cookie__notice {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100001;
  max-width: min(560px, calc(100vw - 32px));
  padding: 14px 18px;
  transform: translateX(-50%);
  border-radius: 12px;
  background: var(--dark-bar, #1c2125);
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.5;
  box-shadow: 0 12px 32px rgba(31, 41, 51, 0.22);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.akar-cookie__notice--hide {
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
}

.footer__consent-status {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
}

@media (max-width: 640px) {
  .akar-cookie__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .akar-cookie__actions .btn {
    width: 100%;
    justify-content: center;
  }
}
