/* Bandeau cookies — Matys, 18/10/2026 (modèle : Projets/toolbox/analytics/bandeau/).
   Le style vient du site : redéfinir les variables --bc-… dans le bloc « Au style du site » en bas. */
.bandeau-cookies {
  --bc-fond: #ffffff;
  --bc-texte: #1d1d1b;
  --bc-doux: #4f4f4a;
  --bc-accent: #1d1d1b;
  --bc-sur-accent: #ffffff;
  --bc-bord: rgba(0, 0, 0, .12);
  --bc-rayon: 12px;
  --bc-rayon-bouton: 999px;
  --bc-police: inherit;
  --bc-police-titre: inherit;
  --bc-ombre: 0 10px 30px rgba(0, 0, 0, .16);
  position: fixed;
  z-index: 2147483000;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding: 16px 20px;
  background: var(--bc-fond);
  color: var(--bc-texte);
  border: 1px solid var(--bc-bord);
  border-radius: var(--bc-rayon);
  box-shadow: var(--bc-ombre);
  font-family: var(--bc-police);
  font-size: 15px;
  line-height: 1.45;
  text-align: left;
  animation: bandeau-cookies-entree .3s ease-out both;
}
.bandeau-cookies[hidden] { display: none; }
.bandeau-cookies *, .bandeau-cookies *::before, .bandeau-cookies *::after { box-sizing: border-box; }
.bandeau-cookies__bloc { flex: 1 1 320px; min-width: 0; }
.bandeau-cookies__titre {
  margin: 0 0 4px;
  font-family: var(--bc-police-titre);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--bc-texte);
  letter-spacing: normal;
  text-transform: none;
}
.bandeau-cookies__texte { margin: 0; font-size: 14px; color: var(--bc-doux); }
.bandeau-cookies__lien { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.bandeau-cookies__lien:hover { color: var(--bc-texte); }
.bandeau-cookies__actions { display: flex; flex: 0 0 auto; gap: 8px; }
.bandeau-cookies__bouton {
  min-width: 112px;
  min-height: 44px;
  margin: 0;
  padding: 0 18px;
  border: 1.5px solid var(--bc-texte);
  border-radius: var(--bc-rayon-bouton);
  background: transparent;
  color: var(--bc-texte);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color .15s cubic-bezier(.4, 0, .2, 1), color .15s cubic-bezier(.4, 0, .2, 1), border-color .15s cubic-bezier(.4, 0, .2, 1);
}
.bandeau-cookies__bouton:hover { background: var(--bc-texte); color: var(--bc-fond); }
.bandeau-cookies__bouton--oui { background: var(--bc-accent); border-color: var(--bc-accent); color: var(--bc-sur-accent); }
.bandeau-cookies__bouton--oui:hover { background: var(--bc-texte); border-color: var(--bc-texte); color: var(--bc-fond); }
.bandeau-cookies__bouton:focus-visible, .bandeau-cookies__lien:focus-visible { outline: 3px solid var(--bc-accent); outline-offset: 2px; }
@keyframes bandeau-cookies-entree { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bandeau-cookies { animation: none; } .bandeau-cookies__bouton { transition: none; } }
@media (max-width: 560px) {
  .bandeau-cookies { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); padding: 14px 16px; gap: 12px; }
  .bandeau-cookies__actions { width: 100%; }
  .bandeau-cookies__bouton { flex: 1 1 0; min-width: 0; }
}

/* Au style du site */

/* Au style de Kiné Maene : Lato, le sarcelle du cabinet (assombri pour que le texte blanc reste lisible : 5,1 pour 1). */
.bandeau-cookies {
  --bc-fond: #FFFFFF;
  --bc-texte: #0D3329;
  --bc-doux: #3E5A52;
  --bc-accent: #277A71;
  --bc-sur-accent: #FFFFFF;
  --bc-bord: rgba(13, 51, 41, .12);
  --bc-rayon: 14px;
  --bc-rayon-bouton: 999px;
  --bc-police: 'Lato', system-ui, sans-serif;
  --bc-police-titre: 'Lato', system-ui, sans-serif;
  --bc-ombre: 0 16px 40px -14px rgba(13, 51, 41, .35);
}
.bandeau-cookies__titre { font-weight: 700; color: #0D3329; }
.bandeau-cookies__lien { color: #277A71; }
.bandeau-cookies__bouton:not(.bandeau-cookies__bouton--oui) { border-color: #3BA59A; color: #1F6B63; }
.bandeau-cookies__bouton:not(.bandeau-cookies__bouton--oui):hover { background: #E1F3DB; }
.bandeau-cookies__bouton--oui:hover { background: #1F6B63; border-color: #1F6B63; }
/* La page /cookies/ */
.maene-cookies { max-width: 760px; margin: 0 auto; padding: 56px 24px 72px; font-family: 'Lato', system-ui, sans-serif; color: #0D3329; }
.maene-cookies h1 { margin: 0 0 24px; font-size: 2.2rem; line-height: 1.2; color: #0D3329; }
.maene-cookies h2 { margin: 36px 0 12px; font-size: 1.35rem; color: #277A71; }
.maene-cookies p { margin: 0 0 14px; line-height: 1.65; }
.maene-cookies .maene-cookies__bouton { display: inline-block; margin-top: 6px; padding: 12px 22px; border: 0; border-radius: 999px; background: #277A71; color: #fff; font: 700 1rem/1 'Lato', system-ui, sans-serif; cursor: pointer; }
.maene-cookies .maene-cookies__bouton:hover { background: #1F6B63; }
.maene-cookies .maene-cookies__bouton:focus-visible { outline: 3px solid #F49145; outline-offset: 3px; }
