/* Kohen Avocats - Cookie consent (Google Consent Mode v2) */
/* Kohen Soft Minimal : palette Lato + #1F4FA8 + #E09019, radii 12px, shadow teintee ink */

#kohen-cc-icon {
  position: fixed;
  left: 18px;
  bottom: 88px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(29, 29, 31, 0.06);
  color: #1F4FA8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2147483645;
  padding: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
#kohen-cc-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(29, 29, 31, 0.10);
  border-color: #CFDEF0;
}
#kohen-cc-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* Popover qui s'ouvre au-dessus de l'icone */
#kohen-cc-overlay {
  position: fixed;
  left: 18px;
  bottom: 140px;
  width: 340px;
  max-width: calc(100vw - 36px);
  z-index: 2147483646;
  display: none;
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
#kohen-cc-overlay.kohen-cc-open {
  display: block;
  animation: kohenCCFadeIn 0.2s ease-out;
}

@keyframes kohenCCFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

#kohen-cc-modal {
  background: linear-gradient(135deg, #FFFFFF 0%, #F6FAFF 100%);
  border-radius: 12px;
  box-shadow: 0 14px 38px rgba(29, 29, 31, 0.08), 0 8px 24px rgba(31, 79, 168, 0.06);
  padding: 20px 20px 16px;
  color: #1d1d1f;
  line-height: 1.55;
  border: 1px solid #CFDEF0;
}

#kohen-cc-modal .kohen-cc-title {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #1d1d1f;
  letter-spacing: -0.018em;
}
#kohen-cc-modal .kohen-cc-title em {
  font-style: italic;
  font-weight: 600;
  color: #E09019;
  font-family: 'Lato', sans-serif;
}

#kohen-cc-modal .kohen-cc-text {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  color: #515154;
  margin: 0 0 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
}

.kohen-cc-actions {
  display: flex;
  gap: 8px;
  margin: 0;
}

.kohen-cc-btn {
  flex: 1;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Lato', sans-serif;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
  text-align: center;
  letter-spacing: -0.005em;
  line-height: 1;
}
.kohen-cc-btn:active { transform: translateY(1px); }

.kohen-cc-btn-refuse {
  background: #ffffff;
  border-color: #CFDEF0;
  color: #1d1d1f;
}
.kohen-cc-btn-refuse:hover {
  background: #E6EEF8;
  border-color: #1F4FA8;
  color: #1F4FA8;
  box-shadow: 0 4px 12px rgba(31, 79, 168, 0.12);
}

.kohen-cc-btn-accept {
  background: linear-gradient(135deg, #E09019 0%, #f5a82c 100%);
  border-color: #E09019;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(224, 144, 25, 0.22);
}
.kohen-cc-btn-accept:hover {
  background: linear-gradient(135deg, #c97e15 0%, #e89c20 100%);
  border-color: #c97e15;
  box-shadow: 0 6px 18px rgba(224, 144, 25, 0.30);
}

@media (max-width: 480px) {
  #kohen-cc-overlay {
    left: 12px;
    right: 12px;
    width: auto;
    bottom: 140px;
  }
  #kohen-cc-icon {
    left: 12px;
    bottom: 82px;
  }
}
