/* cookies.css - Bannière RGPD Dupouy Plâtrerie */

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #0D0D0D;
  border-top: 3px solid #002395;
  padding: 20px 24px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Filet tricolore en haut */
#cookie-banner::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, #002395 33%, #fff 33%, #fff 66%, #ED2939 66%);
}

.cookie-banner__text {
  flex: 1;
  min-width: 200px;
}

.cookie-banner__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  color: #fff;
  letter-spacing: 0.06em;
  margin: 0 0 4px;
}

.cookie-banner__desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  margin: 0;
}

.cookie-banner__desc a {
  color: rgba(255,255,255,0.65);
  text-decoration: underline;
}

.cookie-banner__desc a:hover {
  color: #fff;
}

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

.cookie-btn {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  letter-spacing: 0.06em;
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
  display: inline-block;
  line-height: 1;
}

.cookie-btn:hover {
  opacity: 0.85;
}

.cookie-btn--accept {
  background: #002395;
  color: #fff;
}

.cookie-btn--refuse {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2);
}

.cookie-btn--refuse:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

/* Lien footer */
#cookie-manage-link {
  font-size: 12px;
  color: #888;
  text-decoration: none;
  cursor: pointer;
}

#cookie-manage-link:hover {
  color: #002395;
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 600px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }
  .cookie-banner__actions {
    width: 100%;
  }
  .cookie-btn {
    flex: 1;
    text-align: center;
  }
}
