/* V99 — même palette, typographie et composants que le prototype. */
body{padding-bottom:var(--cookie-banner-height,0px)}
.cookie-banner{position:fixed;z-index:70;inset:auto 0 0;margin:0;background:#fff;border-top:1px solid #aaa;box-shadow:0 -5px 30px #0000000d;max-height:70dvh;overflow-y:auto}
.cookie-banner[hidden]{display:none}
.cookie-banner-inner{max-width:1440px;margin:auto;padding:26px 40px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:36px;align-items:center}
.cookie-banner h2{font-size:24px;line-height:1.25;margin:0 0 12px}
.cookie-banner p{font-size:16px;line-height:1.5;margin:8px 0;max-width:850px;text-align:left}
.cookie-banner a{text-decoration:underline;text-underline-offset:3px}
.cookie-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.cookie-actions button{font-size:16px;min-height:46px;padding:12px 18px;background:#fff;color:#222;border:1px solid #777;white-space:nowrap}
.cookie-actions button:hover{background:#eee;border-color:#222}
.cookie-actions button:focus-visible,.cookie-banner a:focus-visible,.cookie-table-scroll:focus-visible{outline:2px solid #222;outline-offset:4px}
#cookieDialog{width:min(760px,calc(100vw - 40px));max-height:calc(100dvh - 40px);padding:30px;border:1px solid #bbb;box-sizing:border-box;overflow-y:auto}
#cookieDialog .dialoghead{align-items:start;gap:16px;margin-bottom:12px}
#cookieDialog .dialoghead h2{font-size:32px;line-height:1.2;margin:0}
#cookieDialog .dialoghead h2:focus{outline:none}
#cookieDialog .dialogclose{flex-shrink:0;min-width:44px;min-height:44px}
.cookie-category{margin:0;padding:24px 0;border-top:1px solid #ddd;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:start}
#cookiePreferencesForm>.cookie-category:first-child{border-top:0}
.cookie-category h3{font-size:21px;line-height:1.3;margin:0 0 12px}
.cookie-category p{font-size:17px;line-height:1.55;margin:0;text-align:justify;hyphens:none}
.cookie-required{font-size:14px;white-space:nowrap;padding-top:5px;color:#555}
.cookie-category-optional{display:block;position:relative}
.cookie-category-optional h3{padding-right:70px;min-height:30px}
.cookie-category-optional .cookie-switch{position:absolute;right:0;top:16px}
.cookie-switch{position:relative;display:flex;align-items:center;justify-content:center;min-width:56px;min-height:44px;cursor:pointer}
.cookie-switch input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.cookie-switch span{display:block;width:48px;height:28px;border:1px solid #666;border-radius:20px;background:#ddd;box-sizing:border-box;pointer-events:none}
.cookie-switch span:before{content:'';display:block;width:20px;height:20px;border-radius:50%;background:#555;transform:translate(3px,3px);transition:transform .15s}
.cookie-switch input:checked+span{background:#222;border-color:#222}
.cookie-switch input:checked+span:before{background:#fff;transform:translate(23px,3px)}
.cookie-switch input:focus-visible+span{outline:2px solid #222;outline-offset:4px}
#cookieDialog .cookie-actions{border-top:1px solid #ddd;padding-top:24px;display:grid;grid-template-columns:1fr 1.25fr 1fr}
#cookieDialog .cookie-actions button{white-space:normal;height:100%}
.cookie-table-scroll{max-width:100%;overflow-x:auto;margin:30px 0}
.cookie-table{border-collapse:collapse;width:100%;min-width:620px;font-size:16px;line-height:1.5;text-align:left}
.cookie-table caption{text-align:left;font-size:24px;font-weight:600;margin-bottom:20px;color:#222}
.cookie-table th,.cookie-table td{padding:14px 12px;border-bottom:1px solid #ddd;vertical-align:top;text-align:left;word-break:normal;hyphens:none}
.cookie-table thead th{background:#f4f4f4;color:#222}
.cookie-table tbody th{font-weight:400}
.cookie-table code{font-size:14px;white-space:nowrap}
.cookies-page-v99 .cgv-content{min-width:0}
.cookies-page-v99 .legal-introduction{margin-bottom:36px}
.cookie-status{position:fixed;left:20px;bottom:20px;z-index:80;max-width:min(520px,calc(100vw - 40px));background:#f4e8d3;color:#2b201d;border-radius:0;padding:14px 20px;font-size:16px;line-height:1.4}
.cookie-status:empty{display:none}
.cookie-status-boules{
 display:inline-block;
 color:transparent;
 background:no-repeat center 55% / 100% .56em url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 11' fill='none' stroke='%232b201d' stroke-width='1.1' stroke-linecap='round'%3E%3Cg id='boule'%3E%3Ccircle cx='5.5' cy='5.5' r='4.75'/%3E%3Cpath d='M2.25 2.05c.3 2.95 2.95 5.8 6.7 6.7M4.4.9c.1 2.65 2.7 5.3 5.7 5.95'/%3E%3C/g%3E%3Cuse href='%23boule' x='11'/%3E%3C/svg%3E")
}
@media(forced-colors:active){.cookie-status-boules{background:none;color:inherit}}
@media(min-width:1101px){.cookie-banner .cookie-actions{display:grid;grid-template-columns:repeat(3,1fr)}}
@media(max-width:1100px){.cookie-banner-inner{grid-template-columns:1fr;gap:16px;padding:24px 30px}.cookie-banner .cookie-actions{display:grid;grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.cookie-banner-inner{padding:20px;gap:12px}.cookie-banner h2{font-size:21px}.cookie-banner p{font-size:15px}.cookie-banner .cookie-actions{grid-template-columns:1fr}.cookie-actions button{width:100%;padding:11px 12px}.cookie-banner{max-height:80dvh}#cookieDialog{padding:24px 20px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}#cookieDialog .dialoghead h2{font-size:27px}.cookie-category{gap:14px;grid-template-columns:1fr auto}.cookie-category:first-child{grid-template-columns:1fr}.cookie-required{padding:0}.cookie-category p{font-size:16px}#cookieDialog .cookie-actions{grid-template-columns:1fr;gap:10px}.cookie-table caption{font-size:21px}}
@media(prefers-reduced-motion:reduce){.cookie-switch span:before{transition:none}}
