/* SmartGeek -- ultracompact banner mobile. Independent cache-busted sheet. */
:root{--sgc-blue:#2679c8;--sgc-ink:#102642}
.sg-consent-layer,.sg-consent-layer *{box-sizing:border-box}
.sg-consent-layer[hidden],.sg-consent-intro[hidden],.sg-consent-prefs[hidden]{display:none!important}
.sg-consent-layer{position:fixed;inset:0;display:flex;align-items:flex-end;justify-content:center;z-index:2147483200;pointer-events:none;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--sgc-ink)}
.sg-consent-scrim{display:none!important}
.sg-consent-sheet{position:relative;pointer-events:auto;width:min(480px,calc(100vw - 16px));max-height:min(80svh,590px);overflow-y:auto;overscroll-behavior:contain;padding:10px 14px 12px;margin:0 0 max(6px,env(safe-area-inset-bottom));background:#fff;border:1px solid #dde9f3;border-radius:15px;box-shadow:0 7px 30px rgba(9,34,68,.18);outline:none}
.sg-consent-top{display:flex;align-items:center;margin-bottom:3px;min-height:28px}
.sg-consent-brand{display:flex;align-items:center;gap:8px;min-width:0}
.sg-consent-mascot{display:flex;align-items:center;justify-content:center;width:29px;height:29px;flex-shrink:0;border-radius:8px;background:#f1f7ff;border:1px solid #e3ebf6}
.sg-consent-mascot img{display:block;width:20px;height:23px;object-fit:contain}
.sg-consent-wordmark{display:none!important}
.sg-consent-eyebrow{display:none!important}
.sg-consent-brand-title{display:block;font-size:.94rem;font-weight:820;color:#132d4b;letter-spacing:-.02em;line-height:1.2}
.sg-consent-intro h2{display:none!important}
.sg-consent-intro p{font-size:.76rem!important;line-height:1.28!important;color:#58697d!important;margin:0 0 7px!important;max-width:none!important}
.sg-consent-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}
.sg-consent-btn{min-height:35px;display:flex;align-items:center;justify-content:center;padding:7px 10px;border-radius:9px;font-family:inherit;font-weight:770;font-size:.84rem;line-height:1.15;cursor:pointer;transition:background .12s;text-align:center}
.sg-consent-yes{background:#1475c9;border:2px solid #1475c9;color:#fff}
.sg-consent-no{background:#fff;border:2px solid #1475c9;color:#1263a8}
.sg-consent-btn:focus-visible{outline:3px solid #8ec8fa;outline-offset:2px}
.sg-consent-facts,.sg-consent-legal,.sg-consent-dismiss,.sg-consent-personalize{display:none!important}
.sg-consent-prefs h2{font-size:1.05rem!important;line-height:1.25!important;margin:9px 0!important;color:var(--sgc-ink)}
.sg-consent-prefs p{font-size:.78rem!important;line-height:1.42!important;margin:0 0 9px!important;color:#596c82!important}
.sg-consent-settings{display:grid;gap:9px;margin:10px 0}
.sg-consent-setting{background:#f7fbff;border:1px solid #e3ecf5;padding:11px;border-radius:11px}
.sg-consent-setting-head{display:flex;align-items:center;justify-content:space-between;gap:9px}
.sg-consent-setting strong{display:block;font-size:.84rem;color:#132b4b}
.sg-consent-setting small{display:block;font-size:.71rem;color:#708096}
.sg-consent-setting p{font-size:.73rem!important;margin-top:5px!important}
.sg-consent-toggle{appearance:none;flex-shrink:0;width:39px;height:23px;border-radius:50px;background:#aab9c9;position:relative;cursor:pointer}
.sg-consent-toggle:after{content:'';position:absolute;left:3px;top:3px;width:17px;height:17px;background:#fff;border-radius:50%;transition:transform .2s}
.sg-consent-toggle:checked{background:#1475c9}
.sg-consent-toggle:checked:after{transform:translateX(16px)}
.sg-consent-prefs-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.sg-consent-prefs-actions [data-consent-save]{grid-column:1/-1;display:flex!important;background:#edf5fe;border:1px solid #d9e8f6;color:#165e9e}
.sg-consent-notice{font-size:.74rem!important;margin-top:8px!important}
.sg-cookie-settings-link{font:inherit;cursor:pointer;border:0;background:none;padding:0;text-decoration:underline;color:inherit;font-size:.85rem}
body.sg-consent-open .bottom-call{display:none!important}
@media(max-width:420px){.sg-consent-sheet{padding:9px 12px 10px;width:calc(100vw - 14px);margin-bottom:max(4px,env(safe-area-inset-bottom))}.sg-consent-intro p{font-size:.73rem!important;line-height:1.25!important}}
@media(prefers-reduced-motion:reduce){.sg-consent-btn{transition:none}}

/* V6 : bannière de consentement plus lisible sur grand écran uniquement. */
@media(min-width:800px){
 .sg-consent-sheet{width:min(720px,calc(100vw - 48px));padding:21px 26px 23px;border-radius:21px;margin-bottom:23px;box-shadow:0 17px 53px rgba(9,34,68,.19)}
 .sg-consent-top{min-height:42px;margin-bottom:8px}
 .sg-consent-brand{gap:12px}
 .sg-consent-mascot{width:42px;height:42px;border-radius:12px}
 .sg-consent-mascot img{width:29px;height:34px}
 .sg-consent-brand-title{font-size:1.16rem;line-height:1.2}
 .sg-consent-intro p{font-size:.93rem!important;line-height:1.45!important;margin-bottom:16px!important}
 .sg-consent-actions{gap:12px}
 .sg-consent-btn{min-height:49px;border-radius:11px;font-size:1rem;padding:12px 16px}
}


/* V7 : bannière discrète en bas à gauche sur ordinateur. Mobile v6 inchangé. */
@media (min-width: 800px) {
  .sg-consent-layer { justify-content:flex-start!important; align-items:flex-end!important; }
  .sg-consent-sheet {
    width:min(600px,calc(100vw - 40px))!important;
    max-height:min(75svh,600px);
    padding:12px 17px 14px!important;
    margin:0 0 20px 20px!important;
    border-radius:16px!important;
    border:1px solid #dae8f5;
    box-shadow:0 12px 35px rgba(10,34,65,.16)!important;
  }
  .sg-consent-top { min-height:26px!important; margin-bottom:5px!important; }
  .sg-consent-brand { gap:9px!important; }
  .sg-consent-mascot { width:29px!important; height:29px!important; border-radius:9px!important; }
  .sg-consent-mascot img { width:20px!important; height:24px!important; }
  .sg-consent-brand-title { font-size:.95rem!important; line-height:1.2!important; }
  .sg-consent-intro { display:grid; grid-template-columns:minmax(0,1fr) 208px; align-items:center; column-gap:16px; }
  .sg-consent-intro p {
    grid-column:1;
    font-size:.81rem!important;
    line-height:1.36!important;
    margin:0!important;
    color:#556579!important;
  }
  .sg-consent-actions { grid-column:2; gap:8px!important; margin:0!important; }
  .sg-consent-btn {
    min-height:40px!important;
    border-radius:9px!important;
    font-size:.84rem!important;
    padding:8px 9px!important;
  }
  .sg-consent-prefs { padding-top:5px; }
}
