.gbc-app{
  --gbc-primary:#062C3D;
  --gbc-accent:#FFE889;
  --gbc-ink:#102A36;
  --gbc-muted:#667982;
  --gbc-soft:#F3F7F8;
  --gbc-line:rgba(6,44,61,.12);
  --gbc-danger:#A63131;
  --gbc-success:#176D48;
  --gbc-font:"Figtree",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  position:fixed;
  z-index:2147483000;
  right:18px;
  bottom:18px;
  color:var(--gbc-ink);
  font-family:var(--gbc-font)!important;
  font-synthesis:none;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  contain:layout style;
}
.gbc-position-left{right:auto;left:18px}
.gbc-app,.gbc-app *{box-sizing:border-box;font-family:var(--gbc-font)!important}
.gbc-app button,.gbc-app input,.gbc-app textarea,.gbc-app select{font:inherit}
.gbc-app button{cursor:pointer}
.gbc-app a{color:inherit}

.gbc-launcher{
  position:relative;
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  border-radius:19px 19px 6px 19px;
  background:var(--gbc-primary);
  color:#fff;
  box-shadow:0 16px 44px rgba(6,44,61,.28);
  transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease;
  -webkit-appearance:none;
  appearance:none;
}
.gbc-position-left .gbc-launcher{border-radius:19px 19px 19px 6px}
.gbc-launcher:hover{transform:translateY(-2px);box-shadow:0 20px 52px rgba(6,44,61,.34)}
.gbc-launcher:active{transform:translateY(0) scale(.97)}
.gbc-launcher:focus-visible,.gbc-app button:focus-visible,.gbc-app input:focus-visible,.gbc-app textarea:focus-visible,.gbc-app select:focus-visible{outline:3px solid rgba(255,232,137,.82);outline-offset:2px}
.gbc-launcher-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;overflow:hidden;background:var(--gbc-accent)}
.gbc-launcher-icon img{width:44px;height:44px;display:block;object-fit:cover}
.gbc-launcher-close{display:none;line-height:0}
.gbc-launcher-tooltip{
  position:absolute;
  right:68px;
  bottom:8px;
  max-width:170px;
  padding:9px 12px;
  border:1px solid var(--gbc-line);
  border-radius:12px;
  background:#fff;
  color:var(--gbc-primary);
  box-shadow:0 10px 30px rgba(6,44,61,.14);
  font-size:12px;
  font-weight:650;
  line-height:1.2;
  white-space:nowrap;
  opacity:0;
  visibility:hidden;
  transform:translateX(6px);
  transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
  pointer-events:none;
}
.gbc-position-left .gbc-launcher-tooltip{right:auto;left:68px;transform:translateX(-6px)}
.gbc-launcher:hover .gbc-launcher-tooltip,.gbc-app.show-launcher-tip .gbc-launcher-tooltip{opacity:1;visibility:visible;transform:none}
.gbc-app.is-open .gbc-launcher-icon,.gbc-app.is-open .gbc-launcher-tooltip{display:none}
.gbc-app.is-open .gbc-launcher-close{display:block}
.gbc-app.is-open .gbc-launcher{width:46px;height:46px;border-radius:15px}

.gbc-panel{
  position:absolute;
  right:0;
  bottom:72px;
  width:min(402px,calc(100vw - 24px));
  height:min(680px,calc(100vh - 106px));
  display:grid;
  grid-template-rows:auto 1fr auto auto;
  overflow:hidden;
  border:1px solid rgba(6,44,61,.11);
  border-radius:22px;
  background:#fff;
  box-shadow:0 28px 86px rgba(6,44,61,.24);
  opacity:0;
  visibility:hidden;
  transform:translateY(14px) scale(.975);
  transform-origin:bottom right;
  transition:opacity .22s cubic-bezier(.2,.8,.2,1),transform .22s cubic-bezier(.2,.8,.2,1),visibility .22s;
  pointer-events:none;
  contain:layout paint style;
}
.gbc-position-left .gbc-panel{right:auto;left:0;transform-origin:bottom left}
.gbc-app.is-open .gbc-panel{opacity:1;visibility:visible;transform:none;pointer-events:auto}

.gbc-header{
  min-height:66px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 13px 12px 14px;
  border-bottom:1px solid var(--gbc-line);
  background:#fff;
}
.gbc-brand{min-width:0;display:flex;align-items:center;gap:10px}
.gbc-brand-logo{width:38px;height:38px;display:grid;place-items:center;flex:0 0 auto;border-radius:12px;overflow:hidden;background:var(--gbc-accent)}
.gbc-brand-logo img{width:38px;height:38px;display:block;object-fit:cover}
.gbc-brand-copy{min-width:0;display:grid;gap:2px}
.gbc-brand-copy strong{overflow:hidden;color:var(--gbc-primary);font-size:14px;font-weight:700;line-height:1.2;letter-spacing:-.012em;white-space:nowrap;text-overflow:ellipsis}
.gbc-brand-copy small{overflow:hidden;color:var(--gbc-muted);font-size:10.5px;font-weight:500;line-height:1.25;white-space:nowrap;text-overflow:ellipsis}
.gbc-header-actions{display:flex;align-items:center;gap:4px}
.gbc-header-actions button{width:34px;height:34px;display:grid;place-items:center;padding:0;border:0;border-radius:10px;background:transparent;color:var(--gbc-muted);transition:background-color .16s ease,color .16s ease}
.gbc-header-actions button:hover{background:var(--gbc-soft);color:var(--gbc-primary)}

.gbc-messages{
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:18px 14px 12px;
  background:linear-gradient(180deg,#FAFCFC 0%,#FFFFFF 22%);
  scroll-behavior:smooth;
  scrollbar-width:thin;
  scrollbar-color:rgba(6,44,61,.16) transparent;
}
.gbc-messages::-webkit-scrollbar{width:7px}
.gbc-messages::-webkit-scrollbar-thumb{border-radius:99px;background:rgba(6,44,61,.16)}
.gbc-message-row{display:flex;align-items:flex-end;gap:7px;margin:0 0 10px;animation:gbc-in .2s cubic-bezier(.2,.8,.2,1) both}
.gbc-message-row.user{justify-content:flex-end}
.gbc-avatar{width:26px;height:26px;display:grid;place-items:center;flex:0 0 auto;border-radius:9px;overflow:hidden;background:var(--gbc-accent)}
.gbc-avatar img{width:26px;height:26px;display:block;object-fit:cover}
.gbc-bubble{
  max-width:84%;
  padding:10px 12px;
  border-radius:16px;
  font-size:13.5px;
  font-weight:500;
  line-height:1.5;
  letter-spacing:-.004em;
  overflow-wrap:anywhere;
}
.gbc-message-row.assistant .gbc-bubble{border:1px solid rgba(6,44,61,.08);border-bottom-left-radius:5px;background:#F2F7F8;color:var(--gbc-ink)}
.gbc-message-row.user .gbc-bubble{border-bottom-right-radius:5px;background:var(--gbc-primary);color:#fff;box-shadow:0 8px 20px rgba(6,44,61,.14)}
.gbc-bubble p{margin:0}
.gbc-bubble p+p{margin-top:8px}
.gbc-actions{display:flex;flex-wrap:wrap;gap:7px;margin:-1px 0 14px 33px;animation:gbc-in .22s .03s both}
.gbc-action{
  min-height:35px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 11px;
  border:1px solid rgba(6,44,61,.14);
  border-radius:999px;
  background:#fff;
  color:var(--gbc-primary);
  font-size:11.5px;
  font-weight:650;
  line-height:1.25;
  text-decoration:none;
  transition:transform .16s ease,background-color .16s ease,border-color .16s ease,color .16s ease;
  -webkit-appearance:none;
  appearance:none;
}
.gbc-action:hover{transform:translateY(-1px);border-color:rgba(6,44,61,.24);background:#F7FAFA}
.gbc-action.primary{border-color:var(--gbc-primary);background:var(--gbc-primary);color:#fff}
.gbc-action.primary:hover{background:#0B4965}
.gbc-typing{display:flex;align-items:center;gap:4px;min-width:36px;padding:2px 0}
.gbc-typing i{width:5px;height:5px;border-radius:50%;background:#81969E;animation:gbc-type 1s infinite ease-in-out}
.gbc-typing i:nth-child(2){animation-delay:.12s}.gbc-typing i:nth-child(3){animation-delay:.24s}

.gbc-composer{
  display:flex;
  align-items:flex-end;
  gap:7px;
  margin:0;
  padding:10px 11px 8px;
  border-top:1px solid var(--gbc-line);
  background:#fff;
}
.gbc-input{
  flex:1;
  min-width:0;
  min-height:42px;
  max-height:104px;
  resize:none;
  overflow-y:auto;
  padding:10px 12px!important;
  border:1px solid rgba(6,44,61,.14)!important;
  border-radius:14px!important;
  outline:0!important;
  background:#F8FBFB!important;
  color:var(--gbc-ink)!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1.45!important;
  -webkit-appearance:none;
  appearance:none;
}
.gbc-input::placeholder{color:#8B9AA0;opacity:1}
.gbc-input:focus{border-color:rgba(6,44,61,.34)!important;background:#fff!important;box-shadow:0 0 0 3px rgba(6,44,61,.06)!important}
.gbc-send{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;padding:0;border:0;border-radius:13px;background:var(--gbc-primary);color:#fff;transition:transform .16s ease,background-color .16s ease;box-shadow:0 7px 18px rgba(6,44,61,.16)}
.gbc-send:hover{background:#0B4965;transform:translateY(-1px)}
.gbc-send:active{transform:scale(.97)}
.gbc-send:disabled{opacity:.42;cursor:not-allowed;transform:none}
.gbc-footer{min-height:27px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 12px 8px;background:#fff;color:#7A8A91;font-size:9px;font-weight:500;line-height:1.25}
.gbc-footer>span{display:flex;align-items:center;gap:5px;min-width:0}
.gbc-footer a{flex:0 0 auto;color:var(--gbc-primary);font-weight:600;text-decoration:none}
.gbc-footer a:hover{text-decoration:underline;text-underline-offset:2px}
.gbc-privacy-dot{width:6px;height:6px;display:inline-block;flex:0 0 auto;border-radius:50%;background:#25A56A;box-shadow:0 0 0 3px rgba(37,165,106,.10)}

.gbc-form-row{align-items:flex-start}
.gbc-form-bubble{width:min(360px,calc(100vw - 68px));max-width:calc(100% - 33px);padding:0!important;overflow:hidden;border:1px solid rgba(6,44,61,.11)!important;background:#fff!important;box-shadow:0 12px 30px rgba(6,44,61,.08)}
.gbc-inline-contact{display:grid;gap:10px;padding:14px;background:#fff}
.gbc-contact-card-head{padding-bottom:9px;border-bottom:1px solid var(--gbc-line)}
.gbc-contact-card-title{display:block;color:var(--gbc-primary);font-size:14px;font-weight:700;line-height:1.25}
.gbc-contact-card-intro{display:block;margin-top:4px;color:var(--gbc-muted);font-size:10px;font-weight:500;line-height:1.4}
.gbc-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.gbc-inline-contact label{display:grid;gap:4px;color:var(--gbc-primary);font-size:10px;font-weight:650;line-height:1.25}
.gbc-inline-contact label.gbc-full{grid-column:1/-1}
.gbc-inline-contact input:not([type=checkbox]),.gbc-inline-contact select,.gbc-inline-contact textarea{
  width:100%;min-width:0;
  padding:9px 10px!important;
  border:1px solid rgba(6,44,61,.14)!important;
  border-radius:11px!important;
  outline:0!important;
  background:#FAFCFC!important;
  color:var(--gbc-ink)!important;
  box-shadow:none!important;
  font-size:12px!important;
  font-weight:500!important;
  line-height:1.35!important;
}
.gbc-inline-contact textarea{min-height:88px;resize:vertical}
.gbc-inline-contact input:focus,.gbc-inline-contact select:focus,.gbc-inline-contact textarea:focus{border-color:rgba(6,44,61,.38)!important;background:#fff!important;box-shadow:0 0 0 3px rgba(6,44,61,.06)!important}
.gbc-inline-contact select.is-locked{pointer-events:none;background:#F1F5F5!important;color:#53676F!important}
.gbc-field-hint{color:var(--gbc-muted);font-size:8.8px;font-weight:500;line-height:1.35}
.gbc-character-row{display:flex;justify-content:flex-end;margin-top:-4px}
.gbc-character-counter{color:var(--gbc-muted);font-size:9px;font-weight:550}
.gbc-captcha-box{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;padding:9px;border:1px solid var(--gbc-line);border-radius:11px;background:#F8FBFB}
.gbc-captcha-box label{display:grid;grid-template-columns:auto 68px;align-items:center;gap:7px;color:var(--gbc-primary);font-size:9.5px;font-weight:650}
.gbc-captcha-question{grid-column:1/2;color:var(--gbc-ink);font-size:10.5px;font-weight:650}
.gbc-captcha-box input[type=number]{grid-column:2/3;grid-row:1/3;padding:7px 8px!important;text-align:center}
.gbc-captcha-refresh{padding:7px 9px;border:0;border-radius:9px;background:#EAF1F2;color:var(--gbc-primary);font-size:9px;font-weight:650}
.gbc-captcha-refresh:hover{background:#DEE9EB}
.gbc-boundary{padding:9px 10px;border-radius:11px;background:#FFF8D7;color:var(--gbc-primary);font-size:9.2px;font-weight:500;line-height:1.45}
.gbc-consent{display:flex!important;align-items:flex-start;gap:7px!important;color:var(--gbc-ink)!important;font-size:9.2px!important;font-weight:500!important;line-height:1.4!important}
.gbc-consent input{margin:2px 0 0;flex:0 0 auto}
.gbc-form-status{min-height:14px;color:var(--gbc-danger);font-size:9.5px;font-weight:550;line-height:1.35}
.gbc-contact-actions{display:flex;justify-content:flex-end;gap:7px}
.gbc-contact-actions button{min-height:35px;padding:8px 11px;border:0;border-radius:10px;font-size:10.5px;font-weight:650;-webkit-appearance:none;appearance:none}
.gbc-contact-cancel{background:#EDF3F4;color:var(--gbc-primary)}
.gbc-contact-submit{background:var(--gbc-primary);color:#fff}
.gbc-contact-submit:hover{background:#0B4965}
.gbc-contact-submit:disabled{opacity:.5;cursor:not-allowed}
.gbc-contact-success{padding:12px;border-radius:11px;background:#EDF8F2;color:var(--gbc-success);font-size:11.5px;font-weight:600;line-height:1.45}
.gbc-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.gbc-inline-open{border:0;border-radius:999px;padding:10px 14px;background:var(--gbc-primary,#062C3D);color:#fff;font-weight:650;-webkit-appearance:none;appearance:none}
.screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

@keyframes gbc-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes gbc-type{0%,60%,100%{opacity:.38;transform:none}30%{opacity:1;transform:translateY(-3px)}}

@media(max-width:600px){
  .gbc-app{right:10px!important;left:auto!important;bottom:max(10px,env(safe-area-inset-bottom))}
  .gbc-panel{position:fixed;inset:8px 8px calc(72px + env(safe-area-inset-bottom));width:auto;height:auto;border-radius:20px;transform-origin:bottom center}
  .gbc-launcher{width:54px;height:54px;border-radius:18px 18px 6px 18px}
  .gbc-launcher-icon,.gbc-launcher-icon img{width:41px;height:41px}
  .gbc-launcher-tooltip{display:none}
  .gbc-header{min-height:62px;padding:10px 11px 10px 12px}
  .gbc-brand-logo,.gbc-brand-logo img{width:36px;height:36px}
  .gbc-brand-copy strong{font-size:13.5px}
  .gbc-brand-copy small{font-size:10px}
  .gbc-messages{padding:15px 11px 10px}
  .gbc-bubble{max-width:89%;font-size:13px}
  .gbc-actions{margin-left:0}
  .gbc-form-bubble{width:calc(100vw - 52px);max-width:calc(100% - 31px)}
  .gbc-contact-grid{grid-template-columns:1fr}
  .gbc-inline-contact label.gbc-full{grid-column:auto}
  .gbc-footer{font-size:8.4px}
}
@media(prefers-reduced-motion:reduce){.gbc-app *{animation-duration:.001ms!important;transition:none!important;scroll-behavior:auto!important}}

/* v6.1 — indicateur discret du moteur local */
.gbc-footer-status{display:flex!important;align-items:center!important;gap:5px!important;min-width:0;flex-wrap:wrap}
.gbc-mode-label{display:block;max-width:100%;color:#94A2A8;font-size:8px;font-weight:600;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:520px){.gbc-mode-label{font-size:8px}.gbc-privacy-text{display:none}}
