/* =========================================================
   A. PAGE POLITIQUE DE COOKIES
   ========================================================= */

body .cmplz-document { width: min(100% - 40px, 860px) !important; margin: 0 auto !important; padding: 44px 0 90px !important; color: #5a342b !important; font-family: var(--font-body, "Open Sans", sans-serif) !important; }
body .cmplz-document h1, body .cmplz-document h2, body .cmplz-document h3 { color: #5a342b !important; font-family: var(--font-title, "Canela Web", serif) !important; font-weight: 400 !important; letter-spacing: -0.02em !important; }
body .cmplz-document h1 { margin: 0 0 28px !important; font-size: clamp(40px, 4.2vw, 56px) !important; line-height: 1.02 !important; text-align: center !important; }
body .cmplz-document h2 { margin: 38px 0 16px !important; font-size: 27px !important; line-height: 1.15 !important; }
body .cmplz-document h3 { margin: 28px 0 12px !important; font-size: 21px !important; line-height: 1.2 !important; }
body .cmplz-document p, body .cmplz-document li { color: rgba(90, 52, 43, 0.82) !important; font-size: 15px !important; line-height: 1.72 !important; }
body .cmplz-document p { margin: 0 0 17px !important; }
body .cmplz-document a { color: #5a342b !important; text-decoration: underline !important; text-underline-offset: 3px !important; }
body .cmplz-document ul, body .cmplz-document ol { margin: 0 0 24px 22px !important; padding: 0 !important; }
body .cmplz-document table { width: 100% !important; margin: 28px 0 !important; border-collapse: collapse !important; font-size: 14px !important; }
body .cmplz-document th, body .cmplz-document td { padding: 14px 12px !important; border-bottom: 1px solid rgba(90, 52, 43, 0.12) !important; text-align: left !important; vertical-align: top !important; }
body .cmplz-document th { color: #5a342b !important; font-weight: 600 !important; }
body.page-id-2537 .standard-page__title { width: 100% !important; margin-left: auto !important; margin-right: auto !important; text-align: center !important; }
body.page-id-2537 .cmplz-document { padding-top: 16px !important; }
body .standard-page .umatatea-cookie-preferences-button { display: inline-flex !important; align-items: center; justify-content: center; appearance: none; box-sizing: border-box; min-height: 40px; margin: 0; padding: 0 21px; border: 1px solid rgba(76, 33, 26, 0.32); border-radius: 999px; background: transparent; color: #4c211a !important; cursor: pointer; font-family: inherit; font-size: 12px; font-weight: 600; letter-spacing: .06em; line-height: 1; text-align: center; text-transform: uppercase; text-decoration: none !important; }
body .standard-page .umatatea-cookie-preferences-button:hover, body .standard-page .umatatea-cookie-preferences-button:focus { border-color: #4c211a; background: rgba(76, 33, 26, 0.06); color: #4c211a !important; text-decoration: none !important; }
body .standard-page .umatatea-cookie-preferences-button:focus:not(:focus-visible) { outline: none; }
body .standard-page .umatatea-cookie-preferences-button:focus-visible { outline: 1px solid rgba(76, 33, 26, 0.45); outline-offset: 3px; }

@media (max-width: 760px) {
  body .cmplz-document { width: min(100% - 32px, 860px) !important; padding: 38px 0 70px !important; }
  body .cmplz-document h1 { margin-bottom: 24px !important; font-size: 38px !important; }
  body .cmplz-document h2 { margin-top: 34px !important; font-size: 24px !important; }
  body .cmplz-document h3 { font-size: 20px !important; }
  body .cmplz-document p, body .cmplz-document li { font-size: 14.5px !important; line-height: 1.65 !important; }
  body .cmplz-document table { display: block !important; overflow-x: auto !important; white-space: nowrap !important; }
}

/* =========================================================
   B. PANNEAU INLINE DE PRÉFÉRENCES
   ========================================================= */

body .standard-page .umatatea-cookie-preferences { width: min(100%, 680px); margin: 24px auto 0; text-align: center; }
#umatatea-cookie-preferences-panel { width: min(100%, 680px); margin: 28px auto 48px; padding: 0; border: 0; border-radius: 0; background: transparent !important; text-align: left; }
#umatatea-cookie-preferences-panel[hidden] { display: none !important; }
#umatatea-cookie-preferences-panel:not([hidden]):not(.is-cmplz-ready) { visibility: hidden; }
#cmplz-manage-consent-container { margin: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
#cmplz-manage-consent-container .cmplz-categories { margin: 0 !important; padding: 0 !important; background: transparent !important; border-top: 1px solid rgba(76, 33, 26, 0.16) !important; border-bottom: 1px solid rgba(76, 33, 26, 0.16) !important; border-radius: 0 !important; box-shadow: none !important; }
#cmplz-manage-consent-container .cmplz-category { margin: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; border-bottom: 1px solid rgba(76, 33, 26, 0.12) !important; border-radius: 0 !important; box-shadow: none !important; }
#cmplz-manage-consent-container .cmplz-category:last-child { border-bottom: 0 !important; }
#cmplz-manage-consent-container .cmplz-category-header { display: flex !important; align-items: center !important; flex-wrap: nowrap !important; gap: 0 !important; min-height: 56px !important; padding: 0 10px !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; grid-template-columns: none !important; grid-template-rows: none !important; grid-template-areas: none !important; grid-gap: 0 !important; }
#cmplz-manage-consent-container .cmplz-category-header > * { grid-column: auto !important; grid-column-start: auto !important; grid-column-end: auto !important; grid-row: auto !important; grid-row-start: auto !important; grid-row-end: auto !important; grid-area: auto !important; justify-self: auto !important; }
#cmplz-manage-consent-container .cmplz-category-title { flex: 1 1 auto; min-width: 0; margin-right: auto; order: 1 !important; color: #4c211a; font-family: var(--font-body, "Open Sans", sans-serif); font-size: 14px; font-weight: 500; line-height: 1.35; }
#cmplz-manage-consent-container .cmplz-always-active, .umatatea-cookie-preferences #cmplz-manage-consent-container .umatatea-cookie-consent-action { display: flex; align-items: center; align-self: center !important; flex: 0 0 auto; min-width: 92px; justify-content: flex-end; margin: 0 12px 0 10px; order: 2 !important; color: rgba(76, 33, 26, 0.55) !important; font-family: var(--font-body, "Open Sans", sans-serif); font-size: 12px; font-weight: 400; line-height: 1.35; text-align: right; white-space: nowrap; }
.umatatea-cookie-preferences #cmplz-manage-consent-container .cmplz-functional .cmplz-always-active { margin-right: 62px !important; color: rgba(76, 33, 26, 0.52) !important; }
.umatatea-cookie-preferences #cmplz-manage-consent-container .cmplz-functional .cmplz-always-active .cmplz-banner-checkbox { display: none !important; }
#cmplz-manage-consent-container .cmplz-banner-checkbox, #cmplz-manage-consent-container .cmplz-category-toggle, #cmplz-manage-consent-container .cmplz-icon { background: transparent !important; border: 0 !important; box-shadow: none !important; }
#cmplz-manage-consent-container .cmplz-banner-checkbox { display: inline-flex; align-items: center; align-self: center; flex: 0 0 auto; min-height: 44px; margin: 0 4px 0 0; order: 3 !important; }
.umatatea-cookie-preferences #cmplz-manage-consent-container .cmplz-preferences .cmplz-banner-checkbox, .umatatea-cookie-preferences #cmplz-manage-consent-container .cmplz-statistics .cmplz-banner-checkbox, .umatatea-cookie-preferences #cmplz-manage-consent-container .cmplz-marketing .cmplz-banner-checkbox { position: relative; inline-size: 38px; block-size: 22px; min-height: 22px; margin: 0 12px 0 0; }
#cmplz-manage-consent-container .cmplz-consent-checkbox { inline-size: 16px; block-size: 16px; margin: 0; accent-color: #4c211a; }
.umatatea-cookie-preferences #cmplz-manage-consent-container .cmplz-preferences .cmplz-consent-checkbox, .umatatea-cookie-preferences #cmplz-manage-consent-container .cmplz-statistics .cmplz-consent-checkbox, .umatatea-cookie-preferences #cmplz-manage-consent-container .cmplz-marketing .cmplz-consent-checkbox { position: absolute; inset: 0; z-index: 1; inline-size: 100%; block-size: 100%; margin: 0; opacity: 0; cursor: pointer; }
.umatatea-cookie-preferences #cmplz-manage-consent-container .cmplz-preferences .cmplz-label, .umatatea-cookie-preferences #cmplz-manage-consent-container .cmplz-statistics .cmplz-label, .umatatea-cookie-preferences #cmplz-manage-consent-container .cmplz-marketing .cmplz-label { position: relative; display: block; inline-size: 100%; block-size: 100%; border: 1px solid rgba(76, 33, 26, 0.24); border-radius: 999px; background: rgba(76, 33, 26, 0.08); cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease; }
.umatatea-cookie-preferences #cmplz-manage-consent-container .cmplz-preferences .cmplz-label::after, .umatatea-cookie-preferences #cmplz-manage-consent-container .cmplz-statistics .cmplz-label::after, .umatatea-cookie-preferences #cmplz-manage-consent-container .cmplz-marketing .cmplz-label::after { position: absolute; top: 3px; left: 3px; inline-size: 14px; block-size: 14px; border-radius: 50%; background: #fff; content: ""; transition: transform 160ms ease; }
.umatatea-cookie-preferences #cmplz-manage-consent-container .cmplz-preferences .cmplz-consent-checkbox:checked + .cmplz-label, .umatatea-cookie-preferences #cmplz-manage-consent-container .cmplz-statistics .cmplz-consent-checkbox:checked + .cmplz-label, .umatatea-cookie-preferences #cmplz-manage-consent-container .cmplz-marketing .cmplz-consent-checkbox:checked + .cmplz-label { border-color: #4c211a; background: #4c211a; }
.umatatea-cookie-preferences #cmplz-manage-consent-container .cmplz-preferences .cmplz-consent-checkbox:checked + .cmplz-label::after, .umatatea-cookie-preferences #cmplz-manage-consent-container .cmplz-statistics .cmplz-consent-checkbox:checked + .cmplz-label::after, .umatatea-cookie-preferences #cmplz-manage-consent-container .cmplz-marketing .cmplz-consent-checkbox:checked + .cmplz-label::after { transform: translateX(16px); }
.umatatea-cookie-preferences #cmplz-manage-consent-container .cmplz-consent-checkbox:focus-visible + .cmplz-label { outline: 1px solid rgba(76, 33, 26, 0.55); outline-offset: 3px; }

/* One shared CSS chevron; hide Complianz's native SVG in both contexts. */
#cmplz-manage-consent-container .cmplz-category-toggle .cmplz-icon, .cmplz-cookiebanner .cmplz-category-toggle .cmplz-icon { display: none !important; }
#cmplz-manage-consent-container .cmplz-category-toggle, .cmplz-cookiebanner .cmplz-category-toggle { display: inline-flex !important; align-items: center !important; justify-content: center !important; align-self: center !important; padding: 0 !important; color: var(--cmplz-umt-brown, #5a342b) !important; cursor: pointer; }
#cmplz-manage-consent-container .cmplz-category-toggle { flex: 0 0 44px !important; min-height: 44px !important; margin: 0 !important; order: 4 !important; }
.cmplz-cookiebanner .cmplz-category-toggle { flex: 0 0 30px !important; min-height: 30px !important; margin: 0 6px 0 0 !important; }
#cmplz-manage-consent-container .cmplz-category-toggle::after, .cmplz-cookiebanner .cmplz-category-toggle::after { content: ""; display: block; inline-size: 7px; block-size: 7px; border-right: 1.5px solid var(--cmplz-umt-brown, #5a342b); border-bottom: 1.5px solid var(--cmplz-umt-brown, #5a342b); transform: rotate(45deg); transform-origin: center; transition: transform 160ms ease, border-color 160ms ease; }
#cmplz-manage-consent-container .cmplz-category-toggle[aria-expanded="true"]::after, .cmplz-cookiebanner .cmplz-category-toggle[aria-expanded="true"]::after { transform: rotate(225deg); }
#cmplz-manage-consent-container .cmplz-category-toggle:focus { outline: none; }
#cmplz-manage-consent-container .cmplz-category-toggle:focus-visible, #cmplz-manage-consent-container .cmplz-consent-checkbox:focus-visible { outline: 1px solid rgba(76, 33, 26, 0.45); outline-offset: 4px; border-radius: 2px; }
#cmplz-manage-consent-container .cmplz-description { margin: 0 !important; padding: 0 10px 10px !important; color: rgba(76, 33, 26, 0.68); font-family: var(--font-body, "Open Sans", sans-serif); font-size: 13px; line-height: 1.58 !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
#cmplz-manage-consent-container .cmplz-description > :first-child { margin-top: 0 !important; }
#cmplz-manage-consent-container .cmplz-description > :last-child { margin-bottom: 0 !important; }

@media (max-width: 760px) {
  #umatatea-cookie-preferences-panel { width: 100%; margin-bottom: 44px; }
  #cmplz-manage-consent-container .cmplz-category-header { min-height: 52px !important; padding: 0 8px !important; }
  .umatatea-cookie-preferences #cmplz-manage-consent-container .umatatea-cookie-consent-action { margin-left: 8px; font-size: 11px; }
  #cmplz-manage-consent-container .cmplz-always-active { margin-right: 6px; margin-left: 6px; }
  #cmplz-manage-consent-container .cmplz-description { padding-right: 8px !important; padding-bottom: 12px !important; }
}

/* =========================================================
   C. BANNIÈRE COMPLIANZ
   ========================================================= */

html body .cmplz-manage-consent, html body button.cmplz-manage-consent, html body > .cmplz-manage-consent-container, html body .cmplz-cookiebanner .cmplz-close, html body .cmplz-cookiebanner button.cmplz-close, html body .cmplz-cookiebanner .cmplz-close-button { display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
html body .cmplz-cookiebanner.cmplz-show { position: fixed !important; z-index: 999999 !important; left: 50% !important; right: auto !important; bottom: 42px !important; display: flex !important; flex-direction: column !important; width: 780px !important; max-width: calc(100vw - 48px) !important; min-width: 0 !important; height: auto !important; min-height: 0 !important; max-height: calc(100vh - 84px) !important; margin: 0 !important; padding: 26px 38px 28px !important; transform: translateX(-50%) !important; overflow: visible !important; color: var(--cmplz-umt-brown, #5a342b) !important; background: var(--cmplz-umt-bg, #fbfaf9) !important; border: 1px solid rgba(90, 52, 43, 0.14) !important; border-radius: 16px !important; box-shadow: 0 18px 42px rgba(43, 28, 22, 0.18), 0 2px 8px rgba(43, 28, 22, 0.08) !important; grid-template-columns: none !important; grid-template-rows: none !important; grid-template-areas: none !important; gap: 0 !important; }
html body .cmplz-cookiebanner.cmplz-show::before { content: "" !important; position: absolute !important; inset: 5px !important; z-index: 0 !important; border: 1px solid rgba(226, 216, 209, 0.88) !important; border-radius: inherit !important; pointer-events: none !important; }
html body .cmplz-cookiebanner.cmplz-show > * { position: relative !important; z-index: 1 !important; }
html body .cmplz-cookiebanner .cmplz-header, html body .cmplz-cookiebanner .cmplz-body, html body .cmplz-cookiebanner .cmplz-buttons { width: 100% !important; min-width: 0 !important; max-width: none !important; height: auto !important; min-height: 0 !important; max-height: none !important; margin: 0 !important; padding: 0 !important; float: none !important; clear: both !important; grid-column: auto !important; grid-row: auto !important; grid-area: auto !important; }
html body .cmplz-cookiebanner .cmplz-title { display: block !important; margin: 0 34px 7px !important; padding: 0 !important; color: var(--cmplz-umt-brown, #5a342b) !important; font-family: var(--font-title, "Canela Web", serif) !important; font-size: 22px !important; font-weight: 400 !important; line-height: 1.12 !important; letter-spacing: -0.012em !important; text-align: center !important; }
html body .cmplz-cookiebanner .cmplz-message { display: block !important; width: 690px !important; max-width: 100% !important; margin: 0 auto 25px !important; padding: 0 !important; color: var(--cmplz-umt-text, rgba(90, 52, 43, 0.82)) !important; font-family: var(--font-body, "Open Sans", sans-serif) !important; font-size: 13.4px !important; font-weight: 400 !important; line-height: 1.5 !important; text-align: left !important; }
html body .cmplz-cookiebanner .cmplz-links, html body .cmplz-cookiebanner .cmplz-documents { display: none !important; }
html body .cmplz-cookiebanner .cmplz-buttons { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 26px !important; width: 690px !important; max-width: 100% !important; margin: 0 auto !important; }
html body .cmplz-cookiebanner .cmplz-btn.cmplz-accept, html body .cmplz-cookiebanner .cmplz-btn.cmplz-deny, html body .cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences, html body .cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences { display: inline-flex !important; align-items: center !important; justify-content: center !important; width: 100% !important; min-width: 0 !important; min-height: 46px !important; margin: 0 !important; padding: 0 20px !important; border-radius: 999px !important; box-shadow: none !important; font-family: var(--font-body, "Open Sans", sans-serif) !important; font-size: 13.2px !important; font-weight: 600 !important; line-height: 1 !important; text-align: center !important; white-space: nowrap !important; }
html body .cmplz-cookiebanner:not(.umatatea-preferences-open) .cmplz-btn.cmplz-deny { order: 1 !important; }
html body .cmplz-cookiebanner:not(.umatatea-preferences-open) .cmplz-btn.cmplz-view-preferences { order: 2 !important; }
html body .cmplz-cookiebanner:not(.umatatea-preferences-open) .cmplz-btn.cmplz-accept { order: 3 !important; }
html body .cmplz-cookiebanner:not(.umatatea-preferences-open) .cmplz-btn.cmplz-save-preferences { display: none !important; }
html body .cmplz-cookiebanner.umatatea-preferences-open .cmplz-btn.cmplz-deny { order: 1 !important; }
html body .cmplz-cookiebanner.umatatea-preferences-open .cmplz-btn.cmplz-save-preferences { display: inline-flex !important; order: 2 !important; }
html body .cmplz-cookiebanner.umatatea-preferences-open .cmplz-btn.cmplz-accept { order: 3 !important; }
html body .cmplz-cookiebanner.umatatea-preferences-open .cmplz-btn.cmplz-view-preferences { display: none !important; }
html body .cmplz-cookiebanner .cmplz-btn.cmplz-accept { border: 1px solid var(--cmplz-umt-brown, #5a342b) !important; background: var(--cmplz-umt-brown, #5a342b) !important; color: #fffdfb !important; }
html body .cmplz-cookiebanner .cmplz-btn.cmplz-deny { border: 1px solid var(--cmplz-umt-border, #e2d8d1) !important; background: var(--cmplz-umt-bg, #fbfaf9) !important; color: var(--cmplz-umt-brown, #5a342b) !important; }
html body .cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences, html body .cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences { border: 1px solid var(--cmplz-umt-accent, #b97b56) !important; background: var(--cmplz-umt-bg, #fbfaf9) !important; color: var(--cmplz-umt-brown, #5a342b) !important; }
html body .cmplz-cookiebanner .cmplz-categories { display: none !important; }
html body .cmplz-cookiebanner.umatatea-preferences-open .cmplz-categories { display: grid !important; grid-template-columns: 1fr !important; width: 690px !important; max-width: 100% !important; margin: 22px auto !important; padding: 16px 0 0 !important; border-top: 1px solid rgba(90, 52, 43, 0.12) !important; }
html body .cmplz-cookiebanner .cmplz-category-header { display: flex !important; align-items: center !important; box-sizing: border-box !important; flex-wrap: nowrap !important; gap: 0 !important; min-height: 44px !important; padding-inline: 16px !important; }
html body .cmplz-cookiebanner .cmplz-category-header > .cmplz-category-title { flex: 1 1 auto !important; min-width: 0 !important; margin: 0 auto 0 0 !important; white-space: nowrap; }
html body .cmplz-cookiebanner .cmplz-category-header > .umatatea-cookie-consent-action, html body .cmplz-cookiebanner .cmplz-category-header > .cmplz-always-active { display: inline-flex !important; align-items: center !important; align-self: center !important; flex: 0 0 auto !important; min-width: 0 !important; margin: 0 8px 0 6px !important; padding: 0 !important; color: rgba(76, 33, 26, 0.58) !important; font-family: var(--font-body, "Open Sans", sans-serif) !important; font-size: 12px !important; font-weight: 400 !important; line-height: 1.35 !important; text-align: right !important; white-space: nowrap !important; }
html body .cmplz-cookiebanner .cmplz-category-header > .cmplz-banner-checkbox { display: inline-flex !important; align-items: center !important; align-self: center !important; flex: 0 0 auto !important; margin: 0 !important; padding: 0 !important; }
html body .cmplz-cookiebanner .cmplz-body { column-gap: 48px !important; }
html body .cmplz-cookiebanner.umatatea-preferences-open .cmplz-message {
  box-sizing: border-box;
  padding-right: 0 !important;
  align-self: center !important;
}
html body .cmplz-cookiebanner .cmplz-banner-checkbox .cmplz-label { background: rgba(90, 52, 43, 0.05) !important; border-color: rgba(90, 52, 43, 0.18) !important; }
html body .cmplz-cookiebanner .cmplz-banner-checkbox input:checked + .cmplz-label { background: var(--cmplz-umt-brown, #5a342b) !important; border-color: var(--cmplz-umt-brown, #5a342b) !important; }

@media (min-width: 761px) and (max-width: 1024px) {
  html body .cmplz-cookiebanner .cmplz-body { column-gap: 32px !important; }
  html body .cmplz-cookiebanner.umatatea-preferences-open .cmplz-message { padding-right: 8px !important; }
}

@media (max-width: 760px) {
  html body .cmplz-cookiebanner.cmplz-show { left: 14px !important; right: 14px !important; bottom: 14px !important; width: calc(100% - 28px) !important; max-width: calc(100% - 28px) !important; padding: 19px 20px 18px !important; border-radius: 22px !important; transform: none !important; max-height: calc(100vh - 28px) !important; overflow-y: auto !important; }
  html body .cmplz-cookiebanner.cmplz-show::before { inset: 5px !important; border-radius: 18px !important; }
  html body .cmplz-cookiebanner .cmplz-title { margin: 0 0 10px !important; font-size: 24px !important; line-height: 1.05 !important; }
  html body .cmplz-cookiebanner .cmplz-message { width: 100% !important; margin: 0 auto 15px !important; font-size: 13.8px !important; line-height: 1.42 !important; }
  html body .cmplz-cookiebanner .cmplz-buttons { grid-template-columns: 1fr !important; gap: 7px !important; width: 100% !important; max-width: 100% !important; }
  html body .cmplz-cookiebanner .cmplz-btn.cmplz-accept, html body .cmplz-cookiebanner .cmplz-btn.cmplz-deny, html body .cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences, html body .cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences { min-height: 43px !important; padding: 0 16px !important; font-size: 13.8px !important; }
  html body .cmplz-cookiebanner.umatatea-preferences-open .cmplz-categories { width: 100% !important; margin: 15px auto !important; padding-top: 10px !important; }
  html body .cmplz-cookiebanner .cmplz-category-header { min-height: 42px !important; }
  html body .cmplz-cookiebanner .cmplz-category-header > .umatatea-cookie-consent-action, html body .cmplz-cookiebanner .cmplz-category-header > .cmplz-always-active { margin-left: 6px !important; margin-right: 8px !important; font-size: 11px !important; }
  html body .cmplz-cookiebanner .cmplz-body { column-gap: 18px !important; }
}
