/* Présentation Tempolia de tarteaucitron.js ; bibliothèque MIT conservée intacte. */
#tarteaucitronRoot, .tp-consent-media, .tp-consent-error {
  --tp-consent-pink: #e6006e;
  --tp-consent-dark: #3a3741;
  --tp-consent-muted: #605d67;
  --tp-consent-line: #e1e0e7;
  --tp-consent-soft: #fdf0f5;
  color: var(--tp-consent-dark);
  font: 14px/1.55 'Poppins', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
#tarteaucitronRoot { text-align: left; }
#tarteaucitronRoot *, #tarteaucitronRoot *::before, #tarteaucitronRoot *::after { box-sizing: border-box; }
#tarteaucitronRoot button { border: 1px solid var(--tp-consent-line); border-radius: 999px; padding: 10px 16px; background: #fff; color: var(--tp-consent-dark); font: inherit; font-weight: 600; cursor: pointer; text-transform: none; letter-spacing: normal; box-shadow: none; transition: background .16s ease, border-color .16s ease, box-shadow .16s ease; }
#tarteaucitronRoot button:hover { background: var(--tp-consent-soft); border-color: var(--tp-consent-pink); }
#tarteaucitronRoot a { color: #a80050; text-decoration: underline; text-underline-offset: 3px; }
#tarteaucitronRoot button:focus-visible, #tarteaucitronRoot a:focus-visible { outline: 3px solid var(--tp-consent-pink); outline-offset: 3px; }
#tarteaucitronRoot .tarteaucitronHidden, #tarteaucitronRoot .tarteaucitronStatusInfo { display: none; }
#tarteaucitronRoot .tac_visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
#tarteaucitronIcon { display: none; position: fixed; z-index: 9999; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); }
#tarteaucitronRoot #tarteaucitronManager { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 9px 14px; border-color: #eadfe5; background: #fff; color: var(--tp-consent-dark); font-size: 12px; line-height: 1.4; box-shadow: 0 3px 14px rgba(58,55,65,.1); }
#tarteaucitronRoot #tarteaucitronManager::before { content: ''; flex: 0 0 24px; width: 24px; height: 24px; background: url('../images/logo-tempolia.svg') left center / 122px 24px no-repeat; }
#tarteaucitronRoot #tarteaucitronManager:hover { background: var(--tp-consent-soft); border-color: var(--tp-consent-pink); }
body.tarteaucitron-modal-open #tarteaucitronIcon { opacity: 0; pointer-events: none; }
#tarteaucitronAlertBig { display: none; position: fixed; z-index: 10000; left: 50%; bottom: 24px; transform: translateX(-50%); width: 580px; max-width: calc(100vw - 32px); padding: 20px 24px 0; background: linear-gradient(120deg, #fdf0f5, #fff 52%); border: 1px solid #eadfe5; border-radius: 24px; box-shadow: 0 20px 64px rgba(58,55,65,.18), 0 3px 12px rgba(58,55,65,.06); }
#tarteaucitronAlertBig:focus-visible { outline: 2px solid var(--tp-consent-pink); outline-offset: 3px; }
#tarteaucitronAlertBig h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; padding: 0; font: 600 17px/1.35 'Poppins', Arial, sans-serif; color: var(--tp-consent-dark); }
#tarteaucitronAlertBig h2::before, #tarteaucitronRoot #dialogTitle::before { content: ''; flex: 0 0 32px; width: 32px; height: 32px; background: url('../images/logo-tempolia.svg') left center / 163px 32px no-repeat; }
#tarteaucitronDisclaimerAlert { display: block; color: var(--tp-consent-muted); font-size: 14px; line-height: 1.55; }
#tarteaucitronRoot .tp-consent-actions { display: flex; gap: 8px; margin: 16px 0; }
#tarteaucitronRoot .tp-consent-actions button { flex: 1 1 0; min-width: 0; min-height: 42px; padding: 10px 8px; font-size: 13px; line-height: 1.3; }
#tarteaucitronRoot #tarteaucitronPersonalize2, #tarteaucitronRoot #tarteaucitronAllDenied2,
#tarteaucitronRoot #tarteaucitronAllAllowed, #tarteaucitronRoot #tarteaucitronAllDenied,
#tarteaucitronRoot #tarteaucitronSaveButton { background: var(--tp-consent-pink); border-color: var(--tp-consent-pink); color: #fff; box-shadow: 0 2px 4px rgba(58,55,65,.14); }
#tarteaucitronRoot #tarteaucitronPersonalize2:hover, #tarteaucitronRoot #tarteaucitronAllDenied2:hover,
#tarteaucitronRoot #tarteaucitronAllAllowed:hover, #tarteaucitronRoot #tarteaucitronAllDenied:hover,
#tarteaucitronRoot #tarteaucitronSaveButton:hover { background: var(--tp-consent-dark); border-color: var(--tp-consent-dark); box-shadow: 0 4px 10px rgba(58,55,65,.18); }
#tarteaucitronRoot #tarteaucitronAllDenied2, #tarteaucitronRoot #tarteaucitronAllDenied { background: #ffe7f3; color: #8f0047; }
#tarteaucitronRoot #tarteaucitronAllDenied2:hover, #tarteaucitronRoot #tarteaucitronAllDenied:hover { background: #ffdaed; border-color: var(--tp-consent-pink); color: #8f0047; }
#tarteaucitronRoot .tp-consent-links { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin: 0 -24px; padding: 9px 24px; border-top: 1px solid #f0e5eb; background: rgba(253,240,245,.6); border-radius: 0 0 24px 24px; font-size: 11px; }
#tarteaucitronRoot #tarteaucitronPrivacyUrl { border: 0; border-radius: 0; background: transparent; padding: 0; color: #a80050; text-decoration: underline; text-underline-offset: 3px; font-size: 11px; font-weight: 400; }
#tarteaucitron { display: none; position: fixed; z-index: 10002; left: 50%; top: 24px !important; transform: translateX(-50%); width: 800px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 48px); background: #fff; border: 1px solid #eadfe5; border-radius: 24px; box-shadow: 0 24px 80px rgba(58,55,65,.24); overflow: hidden; }
#tarteaucitronRoot #tarteaucitronBack { display: none; position: fixed; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 0; background: var(--tp-consent-dark); z-index: 10001; }
#tarteaucitronRoot #tarteaucitronBack:hover { background: var(--tp-consent-dark); }
body.tarteaucitron-modal-open #tarteaucitronAlertBig { visibility: hidden; }
html.tp-consent-automatic #tarteaucitronAlertBig:not(.tp-consent-reopened) { display: none !important; }
#tarteaucitronRoot #tarteaucitronClosePanel { position: absolute; top: 20px; right: 24px; z-index: 1; padding: 8px 14px; background: #fff; font-size: 12px; }
#tarteaucitronServices { height: auto !important; max-height: calc(100dvh - 132px); overflow-y: auto !important; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #d8c8d0 transparent; padding: 28px 28px 20px; background: linear-gradient(#fdf0f5, #fff 230px); }
#tarteaucitronServices ul { padding: 0; margin: 0; list-style: none; }
#tarteaucitronServices p { margin: 10px 0; }
#tarteaucitronRoot #dialogTitle { display: flex; align-items: center; gap: 12px; padding-right: 90px; margin-bottom: 14px; font-size: 22px; font-weight: 600; line-height: 1.35; }
#tarteaucitronInfo { margin-bottom: 16px; color: var(--tp-consent-muted); font-size: 13px; line-height: 1.65; }
#tarteaucitronInfo br { display: none; }
#tarteaucitronRoot #tarteaucitronPrivacyUrlDialog { display: block; margin-top: 10px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #a80050; text-decoration: underline; text-underline-offset: 3px; font-size: 12px; font-weight: 500; }
#tarteaucitronMainLineOffset > .tarteaucitronName { display: none; }
#tarteaucitronScrollbarAdjust { display: flex; gap: 10px; padding: 2px 0 4px; }
#tarteaucitronScrollbarAdjust button { flex: 1; }
#tarteaucitronRoot .tarteaucitronTitle { margin: 20px 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #a80050; }
#tarteaucitronRoot .tarteaucitronTitle button { padding: 0; border: 0; }
#tarteaucitronRoot .tarteaucitronDetails { display: none; }
#tarteaucitronRoot .tarteaucitronLine:not(.tarteaucitronMainLine) { display: flex; gap: 20px; justify-content: space-between; align-items: center; margin-bottom: 8px; padding: 18px; border: 1px solid var(--tp-consent-line); border-radius: 16px; background: #fff; }
#tarteaucitronRoot .tarteaucitronName { flex: 1 1 0; min-width: 0; }
#tarteaucitronRoot .tarteaucitronH3 { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; line-height: 1.45; }
#tarteaucitronRoot #tarteaucitronServices_mandatory .tarteaucitronLine { background: #f8f7f9; border-color: #eeedf1; }
#tarteaucitronServices_mandatory .tarteaucitronH3 { margin: 0; font-size: 12px; font-weight: 400; line-height: 1.6; color: var(--tp-consent-muted); }
#tarteaucitronRoot .tarteaucitronServiceDescription { display: block; font-size: 12px; color: var(--tp-consent-muted); line-height: 1.65; }
#tarteaucitronRoot .tarteaucitronAsk { flex: 0 0 auto; display: flex; gap: 6px; }
#tarteaucitronRoot .tarteaucitronAsk button { font-size: 12px; }
#tarteaucitronRoot .tarteaucitronLine:not(.tarteaucitronMainLine) .tarteaucitronAsk { gap: 3px; padding: 3px; background: #f4f3f6; border: 1px solid var(--tp-consent-line); border-radius: 999px; }
#tarteaucitronRoot .tarteaucitronLine:not(.tarteaucitronMainLine) .tarteaucitronAsk button { border-color: transparent; background: transparent; padding: 8px 12px; font-weight: 500; }
#tarteaucitronRoot .tarteaucitronLine:not(.tarteaucitronMainLine) .tarteaucitronAsk button:hover { background: #fff; }
#tarteaucitronRoot .tarteaucitronLine:not(.tarteaucitronMainLine) .tarteaucitronAsk button[aria-pressed="true"] { background: var(--tp-consent-pink); color: #fff; box-shadow: 0 2px 4px rgba(58,55,65,.12); }
#tarteaucitronRoot .tarteaucitronReadmoreInfo, #tarteaucitronRoot .tarteaucitronReadmoreOfficial, #tarteaucitronRoot .tarteaucitronReadmoreSeparator { display: inline-block; margin-top: 8px; font-size: 11px; }
#tarteaucitronRoot .tarteaucitronName > br { display: none; }
#tarteaucitronRoot .tp-consent-panel-footer { padding: 14px 28px; border-top: 1px solid var(--tp-consent-line); background: #fff; box-shadow: 0 -4px 20px rgba(58,55,65,.04); }
#tarteaucitronSave { display: flex; justify-content: flex-end; margin: 0; }
#tarteaucitronRoot #tarteaucitronSaveButton { min-width: 240px; min-height: 44px; padding-inline: 24px; font-size: 13px; }
#tarteaucitronPercentage { display: none !important; }
html.tarteaucitron-modal-open-noscroll { overflow: hidden; }
.tp-cookie-settings { border: 0; padding: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.tp-cookie-settings:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.tp-consent-id { padding: 8px 0 0; overflow-wrap: anywhere; font-size: 11px; color: var(--tp-consent-muted); }
.tp-consent-media { box-sizing: border-box; display: flex; flex-direction: column; gap: 18px; align-items: center; justify-content: center; width: 100%; min-height: 260px; padding: 28px; background: #fff; text-align: center; }
.tp-consent-media strong { font-size: 20px; font-weight: 600; line-height: 1.4; }
.tp-consent-media p { max-width: 600px; margin: 0; font-size: 15px; line-height: 1.5; }
.tp-consent-media a { color: #a80050; text-decoration: underline; text-underline-offset: 3px; font-size: 12px; }
.tp-consent-media button { border: 1px solid var(--tp-consent-pink); border-radius: 999px; padding: 12px 24px; background: var(--tp-consent-pink); color: #fff; font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 2px 4px rgba(58,55,65,.14); }
.tp-consent-media button:hover { background: var(--tp-consent-dark); border-color: var(--tp-consent-dark); }
.tp-consent-media button:focus-visible, .tp-consent-media a:focus-visible { outline: 3px solid var(--tp-consent-pink); outline-offset: 4px; }
.tp-video-dialog:has(.tp-consent-media) { position: fixed; inset: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(720px, calc(100vw - 24px)); height: auto; max-height: calc(100dvh - 24px); margin: 0; overflow: auto; color: #3a3741; font-family: 'Poppins', Arial, sans-serif; }
.tp-video-dialog:has(.tp-consent-media) .tp-video-dialog-shell { display: block; height: auto; padding: 54px 10px 10px; border: 1px solid #eadfe5; border-radius: 24px; background: linear-gradient(120deg, #fdf0f5, #fff 52%); }
.tp-video-dialog:has(.tp-consent-media) .tp-video-dialog-title { color: #3a3741; font-weight: 600; }
.tp-video-dialog:has(.tp-consent-media) .tp-video-dialog-close { color: #3a3741; border-color: #e1e0e7; background: #fff; }
.tp-video-dialog:has(.tp-consent-media) .tp-video-dialog-close:hover { color: #fff; background: #e6006e; border-color: #e6006e; }
.tp-video-dialog:has(.tp-consent-media) .tp-video-dialog-frame { aspect-ratio: auto; flex: none; background: #fff; }
.tp-consent-error { position: fixed; z-index: 10002; left: 50%; bottom: 24px; transform: translateX(-50%); width: 580px; max-width: calc(100vw - 32px); padding: 20px; border: 1px solid #eadfe5; border-radius: 20px; background: #fff; box-shadow: 0 20px 64px rgba(58,55,65,.18); }
.tp-consent-error p { margin: 0 0 8px; }
.tp-consent-error button { padding: 9px 18px; border: 1px solid var(--tp-consent-pink); border-radius: 999px; background: var(--tp-consent-pink); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
#cookies { scroll-margin-top: 100px; }
.tp-legal-page .tp-legal { max-width: 960px; }
.tp-legal-page .tp-legal p, .tp-legal-page .tp-legal li { text-align: left; hyphens: none; font-size: .94rem; line-height: 1.75; }
.tp-legal-page .tp-legal-content > h2 { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--tp-light); }
.tp-legal-page .tp-legal-content > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.tp-cookie-notice { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--tp-light); }
.tp-cookie-notice-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.tp-legal-page .tp-cookie-notice-heading h2 { margin: 0; }
.tp-cookie-notice-heading .tp-btn { min-height: 42px; padding: 9px 18px; font-size: .82rem; }
.tp-cookie-services { margin: 20px 0; }
.tp-cookie-services > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--tp-light); font-size: .9rem; line-height: 1.65; }
.tp-cookie-services dt { font-weight: 600; color: var(--tp-dark); }
.tp-cookie-services dd { margin: 0; }
.tp-legal-page .tp-legal .tp-legal-attributions { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--tp-light); color: #66636d; font-size: .78rem; line-height: 1.65; }

@media (max-width: 640px) {
  #tarteaucitronIcon { left: max(12px, env(safe-area-inset-left)); bottom: max(12px, env(safe-area-inset-bottom)); }
  .tp-cookie-services > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .tp-legal-page .tp-legal h2 { font-size: 1.25rem; }
  #tarteaucitronAlertBig { bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100vw - 24px); max-width: calc(100vw - 24px); padding: 16px 16px 0; border-radius: 20px; }
  #tarteaucitronAlertBig h2 { gap: 10px; font-size: 15px; }
  #tarteaucitronAlertBig h2::before { flex-basis: 28px; width: 28px; height: 28px; background-size: 142px 28px; }
  #tarteaucitronDisclaimerAlert { font-size: 13px; line-height: 1.55; }
  #tarteaucitronRoot .tp-consent-actions { gap: 6px; margin: 14px 0; }
  #tarteaucitronRoot .tp-consent-actions button { padding-inline: 6px; font-size: 12px; }
  #tarteaucitronRoot .tp-consent-links { margin: 0 -16px; padding: 8px 16px; border-radius: 0 0 20px 20px; }
  #tarteaucitron { max-width: calc(100vw - 24px); top: 12px !important; max-height: calc(100dvh - 24px); border-radius: 20px; }
  #tarteaucitronServices { padding: 24px 16px 16px; max-height: calc(100dvh - 112px); }
  #tarteaucitronRoot #dialogTitle { gap: 10px; padding-right: 70px; font-size: 19px; }
  #tarteaucitronRoot #tarteaucitronClosePanel { top: 20px; right: 16px; padding: 7px 10px; font-size: 11px; }
  #tarteaucitronRoot .tarteaucitronLine:not(.tarteaucitronMainLine) { flex-direction: column; align-items: stretch; gap: 12px; }
  #tarteaucitronRoot .tarteaucitronAsk button { flex: 1; }
  #tarteaucitronRoot .tp-consent-panel-footer { padding: 12px 16px; }
  #tarteaucitronRoot #tarteaucitronSaveButton { width: 100%; min-width: 0; }
  .tp-consent-media { min-height: 210px; padding: 18px; gap: 12px; }
  .tp-consent-media p { font-size: 14px; }
}
@media (max-width: 360px) {
  #tarteaucitronRoot .tp-consent-actions { gap: 5px; }
  #tarteaucitronRoot .tp-consent-actions button { padding-inline: 3px; font-size: 11px; }
}
@media print { #tarteaucitronRoot, .tp-consent-error, .tp-cookie-settings { display: none !important; } }
@media (prefers-reduced-motion: reduce) { #tarteaucitronRoot button { transition: none; } }
