/* ============================================================
   Géo dans GéoClic Suite - lanceur bas droite, bleu Suite
   ============================================================ */

:root {
  --geo-suite-blue: #1976d2;
  --geo-suite-blue-dark: #1565c0;
  --geo-suite-blue-deep: #0d47a1;
  --geo-suite-blue-light: #2196f3;
}

.geo-launcher {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: auto;
  z-index: 2147483647;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 36px);
  padding: 7px 15px 7px 7px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--geo-suite-blue, #1976d2), var(--geo-suite-blue-dark, #1565c0));
  box-shadow: 0 14px 34px rgba(13, 71, 161, .32);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.geo-launcher:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 18px 42px rgba(13, 71, 161, .38);
}
.geo-launcher:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .85);
  outline-offset: 3px;
}
.geo-launcher__avatar {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #eaf3ff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .22);
}
.geo-launcher__avatar img {
  display: block;
  width: 34px;
  height: 34px;
}
.geo-launcher__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  white-space: nowrap;
}
.geo-launcher__text strong {
  color: #fff;
  font-size: .82rem;
  font-weight: 850;
}
.geo-launcher__text small {
  color: #d1fae5;
  font-size: .62rem;
  font-weight: 700;
}
.geo-launcher::before {
  content: 'Bonjour, je suis Géo 👋';
  position: absolute;
  right: 0;
  left: auto;
  bottom: calc(100% + 10px);
  padding: 8px 11px;
  border: 1px solid rgba(12, 44, 89, .12);
  border-radius: 12px 12px 4px 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(7, 27, 58, .12);
  color: #08285a;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.geo-launcher:hover::before,
.geo-launcher:focus-visible::before {
  opacity: 1;
  transform: none;
}

@media (max-width: 480px) {
  .geo-launcher {
    right: 14px;
    bottom: 14px;
    padding: 6px 13px 6px 6px;
  }
  .geo-launcher::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .geo-launcher { transition: none; }
}
