/* ============================== */
/* =    cookieBanner.css        = */
/* ============================== */

/* Pour éviter les soucis de débordement */
#customCookieBanner,
#customCookieBanner * {
  box-sizing: border-box;
}

#customCookieBanner {
  position: relative; /* placé sous le footer */
  width: 100%;
  z-index: 10;

  background-color: #111; /* fond noir opaque */
  color: #fff;
  font-family: "Source Sans Pro", Arial, sans-serif;
  padding: 12px 16px;
  margin: 0;
  text-align: center;

  display: flex;
  flex-wrap: wrap;    
  align-items: center;
  justify-content: center;

  border-top: 3px solid #b58e4f; /* fine bordure dorée */
  box-shadow: 0 -4px 20px rgba(181,142,79,0.3); /* halo doré léger */
}

/* Image optionnelle (logo ou escargot) */
#customCookieBanner img {
  height: 40px;
  margin-right: 8px;
}

/* Texte */
#customCookieBanner span {
  margin: 4px;
  white-space: normal;      
  overflow-wrap: break-word; 
  word-wrap: break-word;    
}

/* Lien "En savoir plus" */
#customCookieBanner a {
  color: #f1e9dc; /* beige clair élégant */
  text-decoration: underline;
  margin: 0 8px;
  font-weight: 600;
  transition: color 0.3s;
}

#customCookieBanner a:hover {
  color: #b58e4f; /* doré au survol */
}

/* Bouton "OK" doré luxueux */
#customCookieBanner button {
  background: linear-gradient(135deg, #b58e4f, #e0c178); /* dégradé or */
  color: #111; /* texte noir pour contraste */
  border: none;
  padding: 6px 14px;
  margin: 4px;
  cursor: pointer;
  border-radius: 6px;
  font-weight: 700;
  font-family: "Playfair Display", serif; 
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px rgba(181,142,79,0.6);
  transition: all 0.3s ease;
}

#customCookieBanner button:hover {
  background: linear-gradient(135deg, #e0c178, #b58e4f); /* inverse le dégradé */
  box-shadow: 0 0 15px rgba(224,193,120,0.9);
  transform: translateY(-2px);
}

/* ========================== */
/* =   Responsive mobile    = */
/* ========================== */
@media (max-width: 600px) {
  #customCookieBanner {
    font-size: 14px;
    padding: 10px;
    flex-direction: column; 
  }

  #customCookieBanner img {
    margin: 0 0 8px 0;  
  }

  #customCookieBanner span,
  #customCookieBanner a,
  #customCookieBanner button {
    display: block;
    margin: 6px auto;
  }
}
