/* Bandeau de consentement (cookies et mesure d'audience). Charte « Encre & papier ». */
.dmc { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; padding: 0 .75rem calc(.75rem + env(safe-area-inset-bottom, 0px)); pointer-events: none; }
.dmc[hidden] { display: none !important; }
.dmc-box { pointer-events: auto; max-width: 40rem; margin: 0 auto; background: #fbf9f3; color: #12293b; border-top: 5px solid var(--kite, #f29a44); border-radius: 6px; padding: 1.1rem 1.15rem 1.15rem; box-shadow: 0 20px 44px -12px rgba(5, 20, 32, .7), 0 0 0 1px rgba(5, 20, 32, .12); font-family: var(--sans, system-ui, sans-serif); font-size: .93rem; line-height: 1.55; }
@media (min-width: 900px) { .dmc { left: auto; right: 1.25rem; bottom: 1.25rem; padding: 0; width: 27rem; } }
.dmc-title { margin: 0 0 .4rem; color: #12293b; font-family: var(--serif, Georgia, serif); font-size: 1.2rem; font-weight: 400; letter-spacing: -.01em; }
.dmc-title i { color: #12293b; font-style: normal; }
.dmc p { margin: 0; color: #12293b; }
.dmc a { color: #1c5a85; text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 3px; }
.dmc-opts { margin: .9rem 0 0; display: grid; gap: .5rem; }
.dmc-opts[hidden] { display: none; }
.dmc-actions [data-dmc="save"] { grid-column: 1 / -1; }
.dmc label, .dmc-opt b, .dmc-opt small { text-transform: none; letter-spacing: 0; }
.dmc-opt { display: flex; gap: .7rem; align-items: flex-start; padding: .65rem .75rem; border: 1px solid #d6d0bf; border-radius: 4px; font-size: .88rem; font-weight: 400; color: #12293b; cursor: pointer; }
.dmc-opt input { width: 1.15rem; height: 1.15rem; margin: .2rem 0 0; flex: none; accent-color: #1c5a85; }
.dmc-opt b { display: block; font-weight: 600; font-size: .92rem; color: #12293b; }
.dmc-opt small { display: block; color: #4c5c6a; font-size: .82rem; }
.dmc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-top: 1rem; }
.dmc-btn { min-height: 46px; padding: .6rem .9rem; border-radius: 4px; font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; border: 1.5px solid #133f5e; background: transparent; color: #133f5e; }
.dmc-btn:hover { background: rgba(19, 63, 94, .08); }
.dmc-btn.is-main { background: #133f5e; color: #fff; }
.dmc-btn.is-main:hover { background: #1d5175; }
.dmc-more { grid-column: 1 / -1; background: none; border: 0; color: #133f5e; font: inherit; font-size: .86rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 36px; padding: 0; }
.dmc-btn:focus-visible, .dmc-more:focus-visible, .dmc a:focus-visible, .dmc-opt input:focus-visible { outline: 2px solid #1c5a85; outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { .dmc-box { animation: dmc-in .35s cubic-bezier(.2, .7, .2, 1); } @keyframes dmc-in { from { transform: translateY(16px); opacity: 0; } } }

/* Liens légaux du pied de page de l'accueil (index.html) */
.foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1.2rem; margin: 0; }
.foot-legal a, .foot-legal button { color: var(--night-ink, #f5eedc); font: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; display: inline-flex; align-items: center; }
.foot-legal a:hover, .foot-legal button:hover { color: var(--accent-night, #e8d2a0); }
