/* ============================================================
   Bannière cookies — surcharge tarteaucitron.js (v1.33)
   Charte ProPool Sarl : deep-ocean / aqua, police Montserrat.
   ------------------------------------------------------------
   Carte sobre, coin bas-gauche, sans overlay sombre.
   Boutons "Accepter" / "Refuser" empilés en pills.

   Couleurs (alignées sur assets/CSS/style.css) :
     --deep-ocean #0A2342  · --azure #326295
     --aqua       #3FA7D6  · --crystal #E8F4F8
     --champagne  #C9A86A  · --white  #FFFFFF
   ============================================================ */

/* --- Pas d'overlay sombre derrière la bannière ------------- */
#tarteaucitronBack {
  display: none !important;
}

/* --- La carte --------------------------------------------- */
#tarteaucitronRoot #tarteaucitronAlertBig {
  box-sizing: border-box !important;
  position: fixed !important;
  left: 1.25rem !important;
  right: auto !important;
  top: auto !important;
  bottom: 1.25rem !important;
  transform: none !important;
  width: 320px !important;
  max-width: calc(100vw - 2.5rem) !important;
  margin: 0 !important;
  padding: 1.4rem 1.4rem 1.25rem !important;
  background: #FFFFFF !important;
  color: #0A2342 !important;
  border-radius: 16px !important;
  box-shadow:
    0 14px 44px rgba(10, 35, 66, 0.22),
    0 0 0 1px rgba(10, 35, 66, 0.06) !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 13px !important;
  text-align: left !important;
  border: none !important;
}

.tarteaucitronAlertBigBottom,
.tarteaucitronAlertBigTop {
  border: none !important;
  box-shadow: none !important;
}

/* Tous les enfants en border-box, marges latérales remises à zéro */
#tarteaucitronAlertBig > * {
  box-sizing: border-box !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
}

/* --- Petit titre aqua ------------------------------------- */
#tarteaucitronAlertBig #tarteaucitronDisclaimerAlert::before {
  content: "🍪 Cookies";
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3FA7D6;
  margin-bottom: 0.55rem;
}

/* --- Message ---------------------------------------------- */
#tarteaucitronAlertBig #tarteaucitronDisclaimerAlert {
  display: block !important;
  max-height: none !important;
  overflow: visible !important;
  margin: 0 0 1.1rem !important;
  padding: 0 !important;
  color: rgba(10, 35, 66, 0.72) !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  font-weight: 300 !important;
  font-family: 'Montserrat', sans-serif !important;
}

/* Icônes décoratives check/croix : retirées pour un rendu propre */
#tarteaucitronAlertBig .tarteaucitronCheck,
#tarteaucitronAlertBig .tarteaucitronCross {
  display: none !important;
}

/* --- Boutons Accepter / Refuser : pills empilées ---------- */
#tarteaucitronAlertBig #tarteaucitronPersonalize2,
#tarteaucitronAlertBig #tarteaucitronAllDenied2 {
  display: block !important;
  width: 100% !important;
  margin: 0 0 0.5rem !important;
  padding: 0.65rem 1rem !important;
  border-radius: 9999px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  line-height: 1.2 !important;
  text-align: center !important;
  cursor: pointer !important;
  border: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease !important;
}

/* Accepter : aqua plein */
#tarteaucitronAlertBig #tarteaucitronPersonalize2 {
  background: #3FA7D6 !important;
  color: #FFFFFF !important;
}
#tarteaucitronAlertBig #tarteaucitronPersonalize2:hover {
  background: #326295 !important;
}

/* Refuser : contour discret */
#tarteaucitronAlertBig #tarteaucitronAllDenied2 {
  background: transparent !important;
  color: #0A2342 !important;
  border: 1px solid rgba(10, 35, 66, 0.20) !important;
}
#tarteaucitronAlertBig #tarteaucitronAllDenied2:hover {
  border-color: rgba(10, 35, 66, 0.45) !important;
}

/* --- Liens secondaires : Gérer · En savoir plus ----------- */
#tarteaucitronAlertBig #tarteaucitronCloseAlert,
#tarteaucitronAlertBig #tarteaucitronPrivacyUrl {
  display: inline-block !important;
  width: auto !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0.6rem 0 0 !important;
  padding: 0 0.5rem 0 0 !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

#tarteaucitronAlertBig #tarteaucitronCloseAlert {
  color: rgba(10, 35, 66, 0.45) !important;
}
#tarteaucitronAlertBig #tarteaucitronCloseAlert:hover {
  color: rgba(10, 35, 66, 0.75) !important;
}

#tarteaucitronAlertBig #tarteaucitronPrivacyUrl {
  color: #3FA7D6 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}
#tarteaucitronAlertBig #tarteaucitronPrivacyUrl:hover {
  opacity: 0.8 !important;
}

/* --- Fenêtre détaillée (panneau "Gérer") ------------------ */
#tarteaucitron #tarteaucitronServices .tarteaucitronAllow {
  background-color: #3FA7D6 !important;
}
#tarteaucitron #tarteaucitronServices .tarteaucitronDeny {
  background-color: #9aa7b5 !important;
}
#tarteaucitronRoot #tarteaucitron .tarteaucitronH1,
#tarteaucitronRoot #tarteaucitron #tarteaucitronClosePanel {
  color: #0A2342 !important;
}

/* --- Icône de réouverture (si showIcon: true) ------------- */
/* Désactivée par défaut ; on rouvre via le lien
   <a href="#tarteaucitron">. Conservé au cas où.            */
#tarteaucitronIcon {
  left: 1rem !important;
  right: auto !important;
  bottom: 1rem !important;
  top: auto !important;
  transform: none !important;
  background: #FFFFFF !important;
  border-radius: 10px !important;
  opacity: 0.85 !important;
  padding: 5px 10px !important;
  box-shadow: 0 2px 12px rgba(10, 35, 66, 0.14),
              0 0 0 1px rgba(10, 35, 66, 0.06) !important;
}
#tarteaucitronIcon:hover { opacity: 1 !important; }
#tarteaucitronIcon #tarteaucitronManager {
  color: rgba(10, 35, 66, 0.6) !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 11px !important;
}

/* --- Mobile : bande pleine largeur en bas ----------------- */
@media (max-width: 600px) {
  #tarteaucitronRoot #tarteaucitronAlertBig {
    left: 0.5rem !important;
    right: 0.5rem !important;
    bottom: 0.5rem !important;
    width: auto !important;
    max-width: none !important;
  }
}
