/* ============================================================
   GÉOGRILLE — Bandeau de consentement cookies (RGPD)
   ============================================================ */

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1C1A16;
  color: #F5F0E8;
  padding: 16px 20px;
  z-index: 9999;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
  font-family: 'DM Sans', sans-serif;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(.25,.8,.25,1);
}
#cookie-banner.visible {
  transform: translateY(0);
}
.cookie-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-text {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(245,240,232,0.85);
}
.cookie-text a {
  color: #52B788;
  text-decoration: underline;
}
.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-btn-accept {
  background: #2D6A4F;
  color: #fff;
  border: none;
  border-radius: 99px;
  padding: 9px 22px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.cookie-btn-accept:hover { background: #235c40; }

.cookie-btn-refuse {
  background: transparent;
  color: rgba(245,240,232,0.45);
  border: none;
  padding: 9px 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
  white-space: nowrap;
}
.cookie-btn-refuse:hover {
  color: rgba(245,240,232,0.75);
}

@media (min-width: 520px) {
  .cookie-inner { flex-direction: row; align-items: center; }
  .cookie-text  { flex: 1; }
  .cookie-buttons { flex-shrink: 0; }
}
