/* ═══════════════════════════════════════
   DRIVTEK — Bandeau de consentement cookies (RGPD)
   ═══════════════════════════════════════ */
.cc-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 500;
  max-width: 640px;
  margin: 0 auto;
  background: #0c0c0e;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  padding: 20px 22px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .35s ease, transform .35s ease;
}
.cc-banner.cc-visible { opacity: 1; transform: translateY(0); }
.cc-banner-inner { display: flex; flex-direction: column; gap: 16px; }
.cc-banner-text {
  font-family: 'Figtree', sans-serif;
  font-size: 13px; line-height: 1.6;
  color: rgba(255,255,255,0.75);
  margin: 0;
}
.cc-banner-link { color: #E8192C; text-decoration: underline; }
.cc-banner-actions { display: flex; gap: 10px; justify-content: flex-end; }
.cc-btn {
  font-family: 'Figtree', sans-serif;
  font-size: 13px; font-weight: 700;
  padding: 11px 20px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer; transition: all .2s;
}
.cc-btn-refuse { background: transparent; color: rgba(255,255,255,0.7); }
.cc-btn-refuse:hover { border-color: rgba(255,255,255,0.4); color: #fff; }
.cc-btn-accept { background: #E8192C; border-color: #E8192C; color: #fff; }
.cc-btn-accept:hover { background: #c9121e; }

@media (max-width: 640px) {
  .cc-banner { left: 10px; right: 10px; bottom: 10px; padding: 16px 18px; }
  .cc-banner-actions { justify-content: stretch; }
  .cc-btn { flex: 1; }
}

/* Reste au-dessus de la barre CTA sticky mobile (index.html) */
@media (max-width: 1024px) {
  .cc-banner-open .cc-banner { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
}
