/* ================================================================
   cookies.css — Bannière de consentement cookies Explora Innovation
   Position fixed bottom, s'adapte dark/light, responsive
   ================================================================ */

.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 9999;
  background: rgba(23, 24, 22, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 128, 62, 0.25);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 128, 62, 0.08);
  color: #fff;
  padding: 20px 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 880px;
  margin: 0 auto;
}
.cookie-banner-visible { opacity: 1; transform: translateY(0); }
.cookie-banner-hiding { opacity: 0; transform: translateY(20px); }

.cookie-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cookie-title {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 6px;
}

.cookie-text p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}
.cookie-text strong { color: #fff; }
.cookie-text a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 128, 62, 0.4);
  transition: border-color 0.3s;
}
.cookie-text a:hover { border-bottom-color: var(--orange); }

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}
.cookie-btn-refuse {
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.cookie-btn-refuse:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.cookie-btn-accept {
  background: var(--orange);
  color: var(--black);
}
.cookie-btn-accept:hover {
  background: #ff9452;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 128, 62, 0.4);
}

/* Responsive mobile */
@media (max-width: 720px) {
  .cookie-banner {
    bottom: 8px; left: 8px; right: 8px;
    padding: 16px 18px;
    border-radius: 12px;
  }
  .cookie-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .cookie-actions {
    justify-content: flex-end;
  }
  .cookie-btn {
    padding: 9px 16px;
    font-size: 13px;
  }
}
