.sjef-consent, .sjef-consent-reopen { --sjef-ink: var(--ink, #302234); --sjef-muted: var(--ink-muted, #705d75); --sjef-paper: var(--paper, #fffdfd); --sjef-page: var(--page-bg, #f8f3f9); --sjef-violet: var(--violet-bg, #8f63d8); --sjef-line: var(--line, rgba(48,34,52,.14)); --sjef-display: var(--font-display, "Syne", sans-serif); --sjef-body: var(--font-body, "Plus Jakarta Sans", system-ui, sans-serif); font-family: var(--sjef-body); color: var(--sjef-ink); }
.sjef-consent [hidden], .sjef-consent-reopen[hidden] { display: none !important; }
.sjef-consent__banner { position: fixed; top: 50%; right: 20px; z-index: 10000; display: grid; width: min(470px,calc(100vw - 72px)); max-height: calc(100svh - 40px); overflow: visible; border: 1px solid rgba(154,114,232,.35); background: color-mix(in srgb, var(--sjef-paper) 96%, transparent); box-shadow: 0 32px 90px rgba(46,32,50,.24); backdrop-filter: blur(18px); transform: translate3d(calc(100% + 72px),-50%,0); opacity: 0; transition: opacity .45s ease, transform .75s cubic-bezier(.16,1,.3,1); }
.sjef-consent__banner::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(154,114,232,.055) 1px, transparent 1px), linear-gradient(rgba(154,114,232,.055) 1px, transparent 1px); background-size: 48px 48px; }
.sjef-consent__banner::after { content: "VIE PRIVÉE · PRIVACY"; position: absolute; top: 52px; left: -45px; display: grid; width: 44px; height: 162px; place-items: center; color: #fff; background: var(--sjef-violet); font-size: .6rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); box-shadow: -8px 12px 28px rgba(46,32,50,.18); }
.sjef-consent__banner.is-visible { transform: translate3d(0,-50%,0); opacity: 1; }
.sjef-consent__mark { display: flex; align-items: center; min-height: 116px; padding: 24px 32px 18px; border-bottom: 1px solid var(--sjef-line); background: linear-gradient(125deg,rgba(154,114,232,.12),transparent 62%); }
.sjef-consent__mark img { width: auto; height: 76px; max-width: 210px; object-fit: contain; object-position: left center; }
.sjef-consent__mark strong { font: 650 1.45rem/1 var(--sjef-display); }
.sjef-consent__copy { padding: 28px 32px 12px; }
.sjef-consent__eyebrow { margin: 0 0 8px; color: var(--sjef-violet); font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.sjef-consent__copy h2, .sjef-consent__modal h2 { margin: 0 0 10px; font: 600 clamp(1.35rem,2vw,2rem)/1.05 var(--sjef-display); letter-spacing: -.04em; }
.sjef-consent__copy > p:last-child, .sjef-consent__explain { margin: 0; color: var(--sjef-muted); font-size: .85rem; line-height: 1.65; }
.sjef-consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 32px 32px; }
.sjef-consent__button { min-height: 46px; padding: 11px 18px; border: 1px solid var(--sjef-line); color: var(--sjef-ink); background: transparent; font: 700 .72rem/1.2 var(--sjef-body); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; transition: transform .2s, border-color .2s, background .2s; }
.sjef-consent__button:hover { border-color: var(--sjef-violet); transform: translateY(-1px); }
.sjef-consent__button--primary { border-color: var(--sjef-violet); color: #fff; background: var(--sjef-violet); }
.sjef-consent__button--primary:hover { background: var(--violet-bg-hover, #a77bea); }
.sjef-consent__link { grid-column: 1/-1; padding: 10px 7px 0; border: 0; color: var(--sjef-muted); background: transparent; font-size: .74rem; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.sjef-consent__backdrop { position: fixed; inset: 0; z-index: 10001; background: rgba(30,20,34,.38); backdrop-filter: blur(8px); }
.sjef-consent__modal { position: fixed; top: 50%; left: 50%; z-index: 10002; display: flex; flex-direction: column; width: min(680px,calc(100vw - 32px)); max-height: min(820px,calc(100svh - 32px)); border: 1px solid rgba(154,114,232,.35); background: var(--sjef-paper); box-shadow: 0 35px 90px rgba(30,20,34,.28); transform: translate(-50%,-50%); }
.sjef-consent__modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 28px 30px 18px; border-bottom: 1px solid var(--sjef-line); }
.sjef-consent__modal-head h2 { margin: 0; }
.sjef-consent__close { display: grid; flex: 0 0 40px; width: 40px; height: 40px; padding: 0; place-items: center; border: 1px solid var(--sjef-line); border-radius: 50%; color: var(--sjef-ink); background: var(--sjef-page); font-size: 1.5rem; cursor: pointer; transition: transform .3s; }
.sjef-consent__close:hover { transform: rotate(90deg); }
.sjef-consent__modal-body { overflow: auto; padding: 22px 30px; }
.sjef-consent__explain { margin-bottom: 18px; }
.sjef-consent__category { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; border-top: 1px solid var(--sjef-line); cursor: pointer; }
.sjef-consent__category h3, .sjef-consent__category strong { display: block; margin: 0 0 5px; font: 650 .98rem/1.3 var(--sjef-display); }
.sjef-consent__category p, .sjef-consent__category small { display: block; margin: 0; color: var(--sjef-muted); font-size: .78rem; line-height: 1.5; }
.sjef-consent__always { flex: 0 0 auto; color: var(--sjef-violet); font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sjef-consent__switch { position: relative; flex: 0 0 46px; width: 46px; height: 26px; }
.sjef-consent__switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.sjef-consent__switch i { position: absolute; inset: 0; border: 1px solid var(--sjef-line); border-radius: 20px; background: #d8d1da; transition: .25s; }
.sjef-consent__switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.18); transition: .25s; }
.sjef-consent__switch input:checked + i { border-color: var(--sjef-violet); background: var(--sjef-violet); }
.sjef-consent__switch input:checked + i::after { transform: translateX(20px); }
.sjef-consent__switch input:focus-visible + i { outline: 3px solid color-mix(in srgb,var(--sjef-violet) 35%,transparent); outline-offset: 3px; }
.sjef-consent__policy { display: inline-block; margin-top: 8px; color: var(--sjef-violet); font-size: .8rem; font-weight: 700; }
.sjef-consent__modal-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 18px 30px 24px; border-top: 1px solid var(--sjef-line); }
.sjef-consent-reopen { position: fixed; top: 46%; right: 0; z-index: 9998; display: inline-flex; flex-direction: column; align-items: center; gap: 10px; width: 48px; padding: 12px 8px 14px; border: 1px solid rgba(154,114,232,.42); border-right: 0; color: #fff; background: var(--sjef-violet); box-shadow: -10px 12px 28px rgba(46,32,50,.16); font: 800 .61rem/1 var(--sjef-body); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .25s ease; }
.sjef-consent-reopen img { width: 30px; height: 30px; object-fit: contain; filter: brightness(0) invert(1); }
.sjef-consent-reopen [data-sjef-reopen-label] { writing-mode: vertical-rl; transform: rotate(180deg); }
.sjef-consent-reopen.is-retracted { opacity: 0; pointer-events: none; transform: translateX(105%); }
body.sjef-consent-open { overflow: hidden; }
@media (max-width: 1024px) { .sjef-consent-reopen { display: none !important; } }
@media (max-width: 820px) { .sjef-consent__banner { top: auto; right: 12px; bottom: 12px; width: min(440px,calc(100vw - 24px)); max-height: calc(100svh - 24px); overflow: auto; transform: translate3d(0,calc(100% + 24px),0); } .sjef-consent__banner.is-visible { transform: none; } .sjef-consent__banner::after { display: none; } .sjef-consent__mark { min-height: 88px; padding: 16px 22px 12px; } .sjef-consent__mark img { height: 60px; } .sjef-consent__copy { padding: 22px 22px 10px; } .sjef-consent__actions { padding: 12px 22px 22px; } .sjef-consent-reopen { top: auto; right: 12px; bottom: 12px; flex-direction: row; width: auto; padding: 9px 13px; border-right: 1px solid rgba(154,114,232,.42); } .sjef-consent-reopen img { width: 24px; height: 24px; } .sjef-consent-reopen [data-sjef-reopen-label] { writing-mode: initial; transform: none; } }
@media (max-width: 520px) { .sjef-consent__actions { grid-template-columns: 1fr; } .sjef-consent__link { grid-column: auto; } .sjef-consent__modal-head, .sjef-consent__modal-body { padding-right: 20px; padding-left: 20px; } .sjef-consent__modal-actions { display: grid; padding: 16px 20px 20px; } .sjef-consent__category { gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .sjef-consent *, .sjef-consent-reopen { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
