/* Bandeau de consentement tarteaucitron.js aux couleurs de Nourris-Toi.
   « Tout accepter » et « Tout refuser » ont volontairement le même style (recommandation CNIL). */
html body #tarteaucitronRoot {
  --tac-or: #8b672e;
  --tac-marine: #082754;
  --tac-creme: #faf7f1;
  --tac-filet: #d7bc85;
}
html body #tarteaucitronRoot,
html body #tarteaucitronRoot * {
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif !important;
}
html body #tarteaucitronRoot * { color: var(--tac-marine); }

/* Bandeau bas */
html body #tarteaucitronRoot #tarteaucitronAlertBig {
  background: var(--tac-creme) !important;
  color: var(--tac-marine) !important;
  border-top: 1px solid var(--tac-filet) !important;
  box-shadow: 0 -8px 24px rgba(8, 39, 84, .08) !important;
}
html body #tarteaucitronRoot #tarteaucitronDisclaimerAlert { color: var(--tac-marine) !important; }

/* Boutons Accepter / Refuser / Autoriser / Interdire : même apparence */
html body #tarteaucitronRoot .tarteaucitronAllow,
html body #tarteaucitronRoot .tarteaucitronDeny,
html body #tarteaucitronRoot #tarteaucitronAllAllowed,
html body #tarteaucitronRoot #tarteaucitronAllDenied {
  background: var(--tac-or) !important;
  color: #fff !important;
  border: 1px solid var(--tac-or) !important;
  border-radius: 999px !important;
  padding: 7px 18px !important;
  font-weight: 600 !important;
}
html body #tarteaucitronRoot .tarteaucitronAllow *,
html body #tarteaucitronRoot .tarteaucitronDeny *,
html body #tarteaucitronRoot .tarteaucitronCheck::before,
html body #tarteaucitronRoot .tarteaucitronCross::before { color: #fff !important; }
html body #tarteaucitronRoot .tarteaucitronAllow:hover,
html body #tarteaucitronRoot .tarteaucitronDeny:hover { filter: brightness(1.1); }

/* « Personnaliser » et « Politique de confidentialité » : liens discrets */
html body #tarteaucitronRoot #tarteaucitronCloseAlert,
html body #tarteaucitronRoot #tarteaucitronPrivacyUrl,
html body #tarteaucitronRoot #tarteaucitronPrivacyUrlDialog {
  background: transparent !important;
  color: var(--tac-marine) !important;
  border: 0 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* Panneau de personnalisation : état du choix pour chaque service */
html body #tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsAllowed { border-color: var(--tac-or) !important; }
html body #tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsDenied { border-color: var(--tac-marine) !important; }
html body #tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsDenied .tarteaucitronDeny {
  background: var(--tac-marine) !important;
  border-color: var(--tac-marine) !important;
}
html body #tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsAllowed .tarteaucitronDeny,
html body #tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsDenied .tarteaucitronAllow {
  background: transparent !important;
  color: var(--tac-or) !important;
}
html body #tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsAllowed .tarteaucitronDeny *,
html body #tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsDenied .tarteaucitronAllow *,
html body #tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsAllowed .tarteaucitronDeny .tarteaucitronCross::before,
html body #tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsDenied .tarteaucitronAllow .tarteaucitronCheck::before { color: var(--tac-or) !important; }
html body #tarteaucitronRoot .tarteaucitronH1,
html body #tarteaucitronRoot .tarteaucitronH2 { color: var(--tac-marine) !important; }
