/* ============================================================
   GALLIC\LAB — Feuille de styles principale
   Stack : Bootstrap 5.3 + variables CSS custom
   ============================================================ */

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --gl-bg:          #0a1628;
  --gl-bg-card:     #111d30;
  --gl-bg-card-h:   #162338;
  --gl-border:      #1e3050;
  --gl-accent:      #3d8bfd;
  --gl-accent-h:    #619dfe;
  --gl-accent-soft: rgba(61,139,253,.12);
  /* Accent LUXE — or / champagne */
  --gl-gold:        #d4af37;
  --gl-gold-h:      #ecc965;
  --gl-gold-soft:   rgba(212,175,55,.12);
  --gl-gold-border: rgba(212,175,55,.38);
  --gl-gold-grad:   linear-gradient(135deg, #f2d479 0%, #d4af37 45%, #b8902a 100%);
  /* Surfaces verre dépoli */
  --gl-glass:       rgba(17,29,48,.72);
  --gl-glass-2:     rgba(14,24,42,.82);
  --gl-glass-border: rgba(255,255,255,.07);
  --gl-text:        #e4ecf7;
  --gl-text-muted:  #7a96b8;
  --gl-success:     #22c55e;
  --gl-warning:     #f59e0b;
  --gl-danger:      #ef4444;
  --gl-nav-h:       64px;
  --gl-radius:      10px;
  --gl-radius-lg:   16px;
  --gl-shadow:      0 4px 24px rgba(0,0,0,.35);
  --gl-shadow-sm:   0 2px 10px rgba(0,0,0,.25);
  --gl-transition:  .22s ease;
}

/* ── Reset / Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--gl-bg);
  color: var(--gl-text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--gl-accent); text-decoration: none; transition: color var(--gl-transition); }
a:hover { color: var(--gl-accent-h); }

img { max-width: 100%; height: auto; }

/* ── Navbar ─────────────────────────────────────────────────── */
.gl-navbar {
  background-color: rgba(10,22,40,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gl-border);
  height: var(--gl-nav-h);
  z-index: 1040;
}

.gl-brand {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.5px;
  line-height: 1;
  text-decoration: none;
}
.gl-brand-main { color: #fff; }
.gl-brand-sep  { color: var(--gl-accent); margin: 0 1px; }
.gl-brand-lab  { color: var(--gl-accent); }

.gl-navbar .nav-link {
  color: var(--gl-text-muted) !important;
  font-size: .9rem;
  font-weight: 500;
  padding: .4rem .8rem !important;
  transition: color var(--gl-transition);
}
.gl-navbar .nav-link:hover { color: var(--gl-text) !important; }

/* ── Boutons ─────────────────────────────────────────────────── */
.gl-btn-accent {
  background: var(--gl-accent);
  color: #fff;
  border: none;
  border-radius: var(--gl-radius);
  font-weight: 600;
  transition: background var(--gl-transition), transform .15s;
}
.gl-btn-accent:hover {
  background: var(--gl-accent-h);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-light {
  border-color: var(--gl-border);
  color: var(--gl-text);
}
.btn-outline-light:hover {
  background: var(--gl-border);
  border-color: var(--gl-border);
  color: #fff;
}

/* ── Hero ────────────────────────────────────────────────────── */
.gl-hero {
  min-height: calc(100vh - var(--gl-nav-h));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

.gl-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(61,139,253,.13) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(61,139,253,.07) 0%, transparent 60%);
  pointer-events: none;
}

.gl-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,48,80,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,48,80,.18) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.gl-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--gl-accent-soft);
  border: 1px solid rgba(61,139,253,.3);
  color: var(--gl-accent);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.gl-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: #fff;
}

.gl-hero h1 .accent { color: var(--gl-accent); }

.gl-hero-sub {
  font-size: 1.15rem;
  color: var(--gl-text-muted);
  max-width: 520px;
  margin-top: 1rem;
}

.gl-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2.2rem;
}

.gl-hero-cta .btn-primary-gl {
  background: var(--gl-accent);
  color: #fff;
  border: none;
  padding: .75rem 1.8rem;
  border-radius: var(--gl-radius);
  font-weight: 700;
  font-size: 1rem;
  transition: background var(--gl-transition), transform .15s, box-shadow .15s;
  box-shadow: 0 4px 20px rgba(61,139,253,.35);
}
.gl-hero-cta .btn-primary-gl:hover {
  background: var(--gl-accent-h);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(61,139,253,.45);
  color: #fff;
}

.gl-hero-cta .btn-ghost-gl {
  background: transparent;
  color: var(--gl-text);
  border: 1px solid var(--gl-border);
  padding: .75rem 1.8rem;
  border-radius: var(--gl-radius);
  font-weight: 600;
  font-size: 1rem;
  transition: border-color var(--gl-transition), background var(--gl-transition);
}
.gl-hero-cta .btn-ghost-gl:hover {
  border-color: var(--gl-accent);
  background: var(--gl-accent-soft);
  color: var(--gl-text);
}

/* ── Section générique ──────────────────────────────────────── */
.gl-section { padding: 4rem 0; }
.gl-section-sm { padding: 2.2rem 0; }

.gl-section-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--gl-accent-soft);
  border: 1px solid rgba(61,139,253,.25);
  color: var(--gl-accent);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.gl-section-title {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
  line-height: 1.2;
}

.gl-section-sub {
  color: var(--gl-text-muted);
  font-size: .96rem;
  max-width: 560px;
}

/* ── Cards services ─────────────────────────────────────────── */
.gl-card {
  background: var(--gl-bg-card);
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-radius-lg);
  padding: 1.45rem;
  transition: border-color var(--gl-transition), transform var(--gl-transition), box-shadow var(--gl-transition);
  box-sizing: border-box;
}
.gl-card:hover {
  border-color: var(--gl-accent);
  transform: translateY(-4px);
  box-shadow: var(--gl-shadow);
}

.gl-card-icon {
  width: 52px;
  height: 52px;
  background: var(--gl-accent-soft);
  border: 1px solid rgba(61,139,253,.25);
  border-radius: var(--gl-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gl-accent);
  margin-bottom: 1.2rem;
}

.gl-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .5rem;
}

.gl-card-text {
  color: var(--gl-text-muted);
  font-size: .92rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Badges "garanties" sur les cards */
.gl-badge-tag {
  display: inline-block;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.25);
  color: var(--gl-success);
  font-size: .72rem;
  font-weight: 600;
  padding: .2rem .6rem;
  border-radius: 50px;
  margin: .15rem .1rem;
}

/* ── Section "Pourquoi" ─────────────────────────────────────── */
.gl-why-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--gl-bg-card);
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-radius-lg);
  transition: border-color var(--gl-transition);
}
.gl-why-item:hover { border-color: rgba(61,139,253,.4); }

.gl-why-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--gl-accent-soft);
  border-radius: var(--gl-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gl-accent);
}

/* ── Section CTA finale ─────────────────────────────────────── */
.gl-cta-block {
  background: linear-gradient(135deg, var(--gl-bg-card) 0%, rgba(61,139,253,.08) 100%);
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-radius-lg);
  padding: 2.4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.gl-cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(61,139,253,.14) 0%, transparent 62%);
  pointer-events: none;
}

#contact {
  position: relative;
  z-index: 1;
  padding-bottom: 2rem;
  overflow: visible;
}

#contact + .gl-section-sm {
  position: relative;
  z-index: 0;
  margin-top: 1rem;
  padding-top: .2rem;
}

/* ── Footer ─────────────────────────────────────────────────── */
.gl-footer {
  position: relative;
  z-index: 0;
  clear: both;
  background: var(--gl-bg-card);
  border-top: 1px solid var(--gl-border);
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}

.gl-contact-shell {
  position: relative;
  z-index: 2;
  overflow: visible;
}

.gl-public-builder {
  overflow: visible;
  position: relative;
}

.gl-public-builder-preview {
  min-height: 0;
}

.gl-preview-screen {
  min-height: 320px;
}

.gl-mini-site-public,
.gl-crm-demo,
.gl-ai-chat-demo,
.gl-app-demo {
  min-height: 320px;
}

.gl-app-frame {
  min-height: 260px;
}

.gl-footer {
  z-index: 1;
}

.gl-footer-hr { border-color: var(--gl-border); }
.gl-footer-link { color: var(--gl-text-muted); font-size: .88rem; }
.gl-footer-link:hover { color: var(--gl-accent); }

/* ── Login / pages auth ─────────────────────────────────────── */
.gl-auth-wrap {
  min-height: calc(100vh - var(--gl-nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.gl-auth-card {
  background: var(--gl-bg-card);
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-radius-lg);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--gl-shadow);
}

/* ── Forms ───────────────────────────────────────────────────── */
.form-control, .form-select {
  background-color: var(--gl-bg) !important;
  border: 1px solid var(--gl-border) !important;
  color: var(--gl-text) !important;
  border-radius: var(--gl-radius) !important;
  min-height: 40px;
  padding: .5rem .8rem !important;
  font-size: .88rem !important;
}
.form-control:focus, .form-select:focus {
  border-color: var(--gl-accent) !important;
  box-shadow: 0 0 0 2px rgba(61,139,253,.18) !important;
  outline: none;
}
.form-control::placeholder { color: var(--gl-text-muted) !important; }
.form-label { color: var(--gl-text); font-size: .8rem; font-weight: 500; margin-bottom: .3rem; }

/* ── Tables admin ────────────────────────────────────────────── */
.gl-table {
  color: var(--gl-text);
  border-color: var(--gl-border);
  --bs-table-bg: var(--gl-bg-card);
  --bs-table-striped-bg: #14253f;
  --bs-table-hover-bg: #182a45;
  --bs-table-color: var(--gl-text);
  --bs-table-border-color: var(--gl-border);
}
.gl-table thead th {
  background: var(--gl-bg);
  color: var(--gl-text-muted);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 600;
  border-color: var(--gl-border);
  padding: .55rem .7rem;
}
.gl-table tbody td {
  background: var(--gl-bg-card);
  border-color: var(--gl-border);
  padding: .52rem .7rem;
  vertical-align: middle;
  font-size: .82rem;
}
.gl-table tbody tr:hover td { background: var(--gl-bg-card-h); }

/* Input groups in dark theme */
.input-group .btn.btn-outline-secondary {
  border-color: var(--gl-border);
  color: var(--gl-text-muted);
  background: var(--gl-bg-card);
}
.input-group .btn.btn-outline-secondary:hover {
  background: var(--gl-bg-card-h);
  color: var(--gl-text);
}

/* Generic admin surface */
.gl-admin-surface {
  background: var(--gl-bg-card);
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-radius-lg);
  box-shadow: var(--gl-shadow-sm);
}

/* Services admin: table + panneau options animé */
.gl-services-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0;
  gap: 1rem;
  align-items: start;
}

.gl-services-main {
  min-width: 0;
}

.gl-services-options-panel {
  width: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(12px);
  pointer-events: none;
  transition: width .28s ease, opacity .22s ease, transform .28s ease;
}

.gl-services-layout.has-options-open {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
}

.gl-services-layout.has-options-open .gl-services-options-panel {
  width: 100%;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.gl-services-table-wrap .gl-table td,
.gl-services-table-wrap .gl-table th {
  vertical-align: top;
}

.gl-service-row-active td {
  background: linear-gradient(180deg, rgba(61,139,253,.13), rgba(61,139,253,.06)) !important;
}

.gl-module-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.gl-module-preview-item {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .18rem .5rem;
  font-size: .72rem;
  border-radius: 999px;
  background: rgba(61,139,253,.12);
  border: 1px solid rgba(61,139,253,.35);
  color: #cfe2ff;
  line-height: 1.2;
}

.gl-module-preview-item i {
  color: #ffb347;
}

.gl-module-preview-item strong {
  color: #ffd6a3;
  font-weight: 700;
}

.gl-module-preview-item.is-inactive {
  opacity: .6;
  border-style: dashed;
}

.gl-module-preview-more {
  font-size: .72rem;
  color: var(--gl-text-muted);
  align-self: center;
}

/* Request studio */
.gl-studio-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.25rem;
}

.gl-studio-preview {
  position: sticky;
  top: 1.2rem;
  overflow: hidden;
}

.gl-mini-site {
  background: #0d192d;
  border: 1px solid var(--gl-border);
  border-radius: 12px;
  padding: .9rem;
  min-height: 360px;
  position: relative;
}

.gl-mini-top {
  height: 28px;
  border-bottom: 1px solid #253758;
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .9rem;
}

.gl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #364b71;
}

.gl-dot.orange { background: #f59e0b; }

.gl-mini-hero {
  height: 78px;
  border: 1px dashed #35507a;
  border-radius: 10px;
  margin-bottom: .8rem;
  position: relative;
}

.gl-line {
  height: 8px;
  border-radius: 6px;
  background: #2b3f63;
}

.gl-line.orange { background: linear-gradient(90deg, #f59e0b, #fb923c); }

.gl-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}

.gl-mini-card {
  border: 1px solid #2a3f62;
  border-radius: 10px;
  min-height: 78px;
  padding: .55rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  background: rgba(16, 32, 56, .85);
}

.gl-mini-module {
  display: none;
  align-items: center;
  gap: .45rem;
  color: #ffb347;
  font-size: .78rem;
}

.gl-mini-module i {
  font-size: .95rem;
}

.gl-mini-module.active {
  display: inline-flex;
  animation: glFadeUp .35s ease;
}

.gl-keyword-bot {
  margin-top: .9rem;
  border-top: 1px dashed #2a3f62;
  padding-top: .7rem;
  color: #ffb347;
  display: none;
  align-items: center;
  gap: .45rem;
  font-size: .86rem;
}

.gl-keyword-bot.active {
  display: flex;
  animation: glFadeUp .35s ease;
}

.gl-keyword-pill {
  margin-left: .35rem;
  padding: .15rem .45rem;
  border-radius: 999px;
  border: 1px solid rgba(251, 146, 60, .45);
  background: rgba(245, 158, 11, .14);
  color: #ffd089;
  min-width: 78px;
  text-align: center;
}

.gl-summary-box {
  font-size: .88rem;
  color: var(--gl-text-muted);
  background: #0d192d;
  border: 1px solid #2a3f62;
  border-radius: 10px;
  padding: .7rem .8rem;
}

.gl-option-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .85rem;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.gl-option-item {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(17, 29, 48, .8), rgba(22, 35, 56, .6));
  border: 1px solid rgba(61, 139, 253, .25);
  border-radius: 12px;
  padding: 1rem;
  min-height: 140px;
  cursor: pointer;
  transition: all .22s ease;
}

.gl-option-item:hover {
  border-color: rgba(61, 139, 253, .6);
  background: linear-gradient(135deg, rgba(22, 35, 56, 1), rgba(30, 45, 70, .8));
  box-shadow: 0 4px 16px rgba(61, 139, 253, .15);
}

.gl-option-item .form-check {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  height: 100%;
}

.gl-option-item .form-check-input {
  margin-top: 0;
  margin-right: 0;
  width: 18px;
  height: 18px;
}

.gl-option-item .form-check-label {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  margin: 0;
  cursor: pointer;
  flex: 1;
}

.gl-module-card-title {
  font-size: .85rem;
  font-weight: 700;
  color: #e7f0ff;
  margin-bottom: .2rem;
}

.gl-module-card-desc {
  font-size: .72rem;
  color: var(--gl-text-muted);
  line-height: 1.4;
  margin-bottom: auto;
  flex: 1;
}

.gl-module-card-price {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid rgba(251, 146, 60, .45);
  background: rgba(245, 158, 11, .14);
  color: #ffd089;
  font-size: .7rem;
  font-weight: 700;
  padding: .15rem .5rem;
  margin-top: .3rem;
}

.gl-price-chip {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid rgba(251, 146, 60, .45);
  background: rgba(245, 158, 11, .14);
  color: #ffd089;
  font-size: .72rem;
  font-weight: 700;
  padding: .12rem .45rem;
}

.gl-total-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(251, 146, 60, .45);
  background: rgba(245, 158, 11, .12);
  color: #ffd089;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  padding: .28rem .7rem;
}

.gl-contact-shell {
  width: 100%;
  max-width: 100%;
  padding: clamp(1rem, 1.8vw, 1.35rem);
  margin: 0 auto;
  box-sizing: border-box;
}

.gl-public-builder-preview,
.gl-public-builder-controls {
  min-width: 0;
}

.gl-public-builder {
  align-items: start;
}

.gl-public-builder-preview {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.gl-preview-screen {
  min-height: 0;
}

.gl-crm-demo,
.gl-ai-chat-demo,
.gl-app-demo {
  min-height: auto;
}

.gl-ai-chat-stream {
  max-height: 260px;
}

.gl-app-frame {
  min-height: 260px;
}

/* Public smart builder */
.gl-public-builder {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: .8rem;
  background:
    radial-gradient(circle at 12% -20%, rgba(61, 139, 253, .22), transparent 42%),
    radial-gradient(circle at 110% 120%, rgba(251, 146, 60, .12), transparent 38%),
    linear-gradient(180deg, rgba(17, 29, 48, .66), rgba(13, 25, 45, .64));
  border: 1px solid rgba(78, 111, 163, .55);
  border-radius: 18px;
  padding: clamp(.75rem, 1.5vw, 1rem);
  box-shadow: 0 10px 35px rgba(2, 8, 20, .42), inset 0 1px 0 rgba(255, 255, 255, .05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.gl-public-builder-controls,
.gl-public-builder-preview {
  min-width: 0;
}

.gl-builder-stepper {
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
}

.gl-step-pill {
  border: 1px solid var(--gl-border);
  background: #0f1f35;
  color: var(--gl-text-muted);
  border-radius: 999px;
  font-size: .72rem;
  padding: .2rem .58rem;
}

.gl-step-pill.is-active {
  color: #e7f0ff;
  border-color: rgba(61,139,253,.45);
  background: rgba(61,139,253,.18);
}

.gl-builder-page {
  display: none;
}

.gl-builder-page.is-active {
  display: block;
  animation: glFadeUp .22s ease;
}

.gl-step-actions {
  display: flex;
  gap: .5rem;
  justify-content: space-between;
  margin-bottom: .55rem;
}

.gl-step-actions .btn {
  min-width: 98px;
}

.gl-preview-screen {
  background: #0d192d;
  border: 1px solid #2a3f62;
  border-radius: 12px;
  padding: .62rem;
}

.gl-preview-mode {
  display: none;
}

.gl-preview-mode.is-active {
  display: block;
  animation: glFadeUp .24s ease;
}

.gl-public-builder .form-control,
.gl-public-builder .form-select {
  min-height: 40px;
  font-size: .88rem;
  border-radius: 12px !important;
}

.gl-public-builder .form-label {
  font-size: .78rem;
  letter-spacing: .01em;
}

.gl-mini-site-public {
  min-height: 320px;
  border-radius: 14px;
}

.gl-public-hero {
  overflow: hidden;
  height: 94px;
  background: linear-gradient(180deg, rgba(15, 28, 49, .76), rgba(14, 25, 44, .58));
}

.gl-public-site-name {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  color: #ffd79e;
  font-weight: 700;
  font-size: .86rem;
  letter-spacing: .015em;
  line-height: 1.25;
  background: rgba(245, 158, 11, .1);
  border: 1px solid rgba(255, 176, 71, .35);
  border-radius: 8px;
  padding: .18rem .42rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}

/* CRM preview */
.gl-crm-demo {
  min-height: 400px;
  border-radius: 10px;
  border: 1px solid #324a73;
  background: linear-gradient(180deg, #10213a, #0f1b2f);
  display: grid;
  grid-template-columns: 110px 1fr;
  overflow: hidden;
}

.gl-crm-sidebar {
  border-right: 1px solid #2f476f;
  padding: .55rem;
  background: rgba(8, 18, 31, .5);
}

.gl-crm-nav-item {
  font-size: .7rem;
  color: #9eb2d2;
  border-radius: 7px;
  padding: .3rem .45rem;
  margin-bottom: .36rem;
}

.gl-crm-nav-item.active {
  color: #e7f0ff;
  background: rgba(61,139,253,.22);
}

.gl-crm-content {
  padding: .65rem;
}

.gl-crm-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .4rem;
}

.gl-crm-stat {
  border: 1px solid #314a74;
  border-radius: 9px;
  padding: .38rem;
  background: rgba(15, 31, 53, .72);
}

.gl-crm-stat span {
  display: block;
  color: #90a7cb;
  font-size: .64rem;
}

.gl-crm-stat strong {
  color: #dce9ff;
  font-size: .82rem;
}

.gl-crm-charts {
  margin-top: .55rem;
  display: grid;
  gap: .5rem;
}

.gl-crm-chart-bars {
  border: 1px solid #314a74;
  border-radius: 9px;
  padding: .42rem;
  min-height: 124px;
  display: flex;
  align-items: end;
  gap: .3rem;
  background: rgba(13, 25, 45, .7);
}

.gl-crm-chart-bars span {
  flex: 1;
  border-radius: 6px 6px 4px 4px;
  background: linear-gradient(180deg, #3d8bfd, #2f65b7);
}

.gl-crm-chart-line {
  border: 1px solid #314a74;
  border-radius: 9px;
  min-height: 82px;
  background: rgba(13, 25, 45, .7);
  position: relative;
  overflow: hidden;
}

.gl-crm-chart-line span {
  position: absolute;
  inset: 18px 10px 18px 10px;
  border-bottom: 2px solid rgba(255,176,71,.75);
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
  border-radius: 40% 60% 45% 55% / 55% 40% 60% 45%;
  animation: glPulseLine 3.2s ease-in-out infinite;
}

/* AI preview */
.gl-ai-chat-demo {
  min-height: 400px;
  border-radius: 10px;
  border: 1px solid #324a73;
  background: linear-gradient(180deg, #0f2139, #0c1a2e);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.gl-ai-chat-head {
  border-bottom: 1px solid #2f476f;
  padding: .44rem .6rem;
  font-size: .72rem;
  color: #dbe8ff;
  display: flex;
  align-items: center;
  gap: .38rem;
}

.gl-ai-chat-stream {
  padding: .6rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  overflow-y: auto;
  min-height: 0;
  max-height: 340px;
}

.gl-ai-bubble {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  max-width: 88%;
  border-radius: 10px;
  padding: .36rem .5rem;
  font-size: .75rem;
  animation: glFadeUp .18s ease;
}

.gl-ai-bubble.is-user {
  margin-left: auto;
  color: #dbe8ff;
  background: rgba(61,139,253,.22);
  border: 1px solid rgba(61,139,253,.5);
}

.gl-ai-bubble.is-ai {
  color: #ffe3b8;
  background: rgba(245,158,11,.18);
  border: 1px solid rgba(245,158,11,.45);
}

/* App preview */
.gl-app-demo {
  min-height: 400px;
  border-radius: 10px;
  border: 1px solid #324a73;
  background: linear-gradient(180deg, #0f223b, #0c1a2d);
  padding: .75rem;
}

.gl-app-frame {
  border: 1px dashed #3c5788;
  border-radius: 10px;
  min-height: 356px;
  position: relative;
  background: rgba(16, 30, 51, .72);
}

.gl-app-topbar {
  height: 26px;
  border-bottom: 1px solid #2f476f;
}

.gl-app-estimator {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(250px, calc(100% - 1rem));
  border: 1px solid rgba(255,176,71,.45);
  border-radius: 10px;
  background: rgba(14, 28, 47, .92);
  padding: .62rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .32);
}

.gl-app-estimator-title {
  color: #ffd79e;
  font-size: .74rem;
  font-weight: 700;
  margin-bottom: .45rem;
}

.gl-app-estimator-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .24rem 0;
  color: #a8bad9;
  font-size: .72rem;
}

.gl-app-estimator-line strong {
  color: #dfe9ff;
  font-size: .78rem;
}

.gl-app-estimator-line.total {
  border-top: 1px dashed #3c5788;
  margin-top: .24rem;
  padding-top: .42rem;
}

.gl-public-blog-block {
  margin-top: .65rem;
  border: 1px dashed rgba(255, 176, 71, .45);
  border-radius: 10px;
  padding: .55rem;
  display: none;
  background: rgba(245, 158, 11, .08);
}

.gl-public-blog-block.active {
  display: block;
  animation: glPop .3s ease;
}

.gl-blog-stars {
  color: #ffb347;
  font-size: .74rem;
  letter-spacing: .08em;
}

.gl-chatbot-btn {
  position: absolute;
  right: 14px;
  bottom: 56px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 176, 71, .45);
  background: rgba(245, 158, 11, .18);
  color: #ffb347;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(245, 158, 11, .2);
}

.gl-chatbot-btn.active {
  display: inline-flex;
  animation: glPop .26s ease;
}

.gl-chatbot-bubble {
  position: absolute;
  right: 64px;
  bottom: 69px;
  background: #152949;
  border: 1px solid #33517f;
  color: #ffd089;
  padding: .28rem .48rem;
  border-radius: 8px;
  font-size: .74rem;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}

.gl-chatbot-bubble.active {
  opacity: 1;
  transform: translateY(0);
  transition: all .22s ease;
}

.gl-seo-panel {
  margin-top: .75rem;
  border-top: 1px dashed #2a3f62;
  padding-top: .55rem;
  display: none;
  color: #ffb347;
  font-size: .83rem;
}

.gl-seo-panel.active {
  display: block;
  animation: glPop .28s ease;
}

.gl-seo-score {
  color: #ffd089;
  font-size: .78rem;
  font-weight: 700;
}

.gl-mini-graph {
  width: 84px;
  height: 7px;
  border-radius: 999px;
  border: 1px solid #324a73;
  overflow: hidden;
  background: #152846;
}

.gl-mini-graph span {
  display: block;
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, #f59e0b, #fb923c);
  transition: width .45s ease;
}

.gl-pop-in {
  animation: glPop .22s ease;
}

#public-modules-list .gl-option-item {
  padding: .7rem .72rem;
  border-color: rgba(61, 139, 253, .24);
}

#public-modules-list .form-check-label {
  font-size: .92rem;
}

#public-modules-list .public-mod-check {
  transform: scale(1.08);
}

#public-summary-box {
  min-height: 92px;
  font-size: .9rem;
}

@keyframes glPop {
  from { opacity: 0; transform: scale(.92) translateY(5px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes glPulseLine {
  0%, 100% { transform: scaleX(1) translateY(0); opacity: .75; }
  50% { transform: scaleX(.97) translateY(-2px); opacity: 1; }
}

@keyframes glFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Status badges ───────────────────────────────────────────── */
.gl-status {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  font-weight: 600;
  padding: .25rem .7rem;
  border-radius: 50px;
}
.gl-status-active    { background: rgba(34,197,94,.12);  color: var(--gl-success); border: 1px solid rgba(34,197,94,.25); }
.gl-status-suspended { background: rgba(245,158,11,.12); color: var(--gl-warning); border: 1px solid rgba(245,158,11,.25); }
.gl-status-expired   { background: rgba(239,68,68,.12);  color: var(--gl-danger);  border: 1px solid rgba(239,68,68,.25); }

/* ── Dashboard admin ─────────────────────────────────────────── */
.gl-admin-sidebar {
  background: var(--gl-bg-card);
  border-right: 1px solid var(--gl-border);
  min-height: calc(100vh - var(--gl-nav-h));
  padding: 1.5rem 0;
  width: 240px;
  flex-shrink: 0;
}
.gl-admin-sidebar .nav-link {
  color: var(--gl-text-muted);
  font-size: .9rem;
  font-weight: 500;
  padding: .6rem 1.4rem;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: .6rem;
  transition: color var(--gl-transition), background var(--gl-transition);
}
.gl-admin-sidebar .nav-link:hover,
.gl-admin-sidebar .nav-link.active {
  color: var(--gl-text);
  background: var(--gl-accent-soft);
}
.gl-admin-sidebar .nav-link.active { color: var(--gl-accent); }

.gl-admin-content {
  flex: 1;
  padding: 2rem;
  max-width: 100%;
  overflow-x: auto;
}

.gl-admin-wrap {
  display: flex;
  min-height: calc(100vh - var(--gl-nav-h));
}

.gl-stat-card {
  background: var(--gl-bg-card);
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-radius-lg);
  padding: 1.5rem;
}
.gl-stat-card .stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gl-accent);
  line-height: 1;
}
.gl-stat-card .stat-label {
  color: var(--gl-text-muted);
  font-size: .85rem;
  margin-top: .3rem;
}

/* ── Alerts ──────────────────────────────────────────────────── */
.alert {
  border-radius: var(--gl-radius) !important;
  border: 1px solid;
  font-size: .9rem;
}
.alert-success { background: rgba(34,197,94,.1) !important; border-color: rgba(34,197,94,.3) !important; color: #86efac !important; }
.alert-danger   { background: rgba(239,68,68,.1) !important; border-color: rgba(239,68,68,.3) !important; color: #fca5a5 !important; }
.alert-warning  { background: rgba(245,158,11,.1) !important; border-color: rgba(245,158,11,.3) !important; color: #fcd34d !important; }
.alert-info     { background: rgba(61,139,253,.1) !important; border-color: rgba(61,139,253,.3) !important; color: #93c5fd !important; }

/* ── Checkbox module ─────────────────────────────────────────── */
.gl-module-check .form-check-input {
  background-color: var(--gl-bg) !important;
  border-color: var(--gl-border) !important;
}
.gl-module-check .form-check-input:checked {
  background-color: var(--gl-accent) !important;
  border-color: var(--gl-accent) !important;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .gl-admin-wrap { flex-direction: column; }
  .gl-admin-sidebar { width: 100%; min-height: auto; border-right: none; border-bottom: 1px solid var(--gl-border); padding: .5rem 0; }
  .gl-cta-block { padding: 2rem 1.3rem; }
  .gl-services-layout,
  .gl-services-layout.has-options-open { grid-template-columns: 1fr; }
  .gl-services-options-panel,
  .gl-services-layout.has-options-open .gl-services-options-panel {
    width: 100%;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .gl-studio-layout { grid-template-columns: 1fr; }
  .gl-studio-preview { position: static; }
  .gl-public-builder { grid-template-columns: 1fr; gap: 1rem; }
  .gl-mini-site-public { min-height: 280px; }
  .gl-crm-demo,
  .gl-ai-chat-demo,
  .gl-app-demo {
    min-height: auto;
  }
  .gl-ai-chat-stream {
    max-height: 240px;
  }
  .gl-app-frame {
    min-height: 220px;
  }
  .gl-public-builder-preview {
    min-height: auto;
  }
  .gl-contact-shell {
    padding: 1rem;
  }
  #contact { padding-bottom: 2rem; }
}

@media (max-width: 767.98px) {
  .gl-hero { padding: 4rem 0; }
  .gl-section { padding: 3rem 0; }
  .gl-contact-shell { padding: 1rem; }
  .gl-public-builder { border-radius: 14px; padding: .8rem; }
  .gl-public-builder .form-control,
  .gl-public-builder .form-select { min-height: 44px; font-size: .93rem; }
  .gl-public-site-name { font-size: .78rem; bottom: 6px; }
  .gl-mini-site-public { min-height: 240px; }
  #public-summary-box { min-height: 82px; font-size: .86rem; }
  #contact { padding-bottom: 3rem; }
  #contact + .gl-section-sm { margin-top: .35rem; padding-top: 0; }
}

/* ── Service page ────────────────────────────────────────────── */
.gl-service-hero {
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.gl-service-hero-icon {
  width: 60px;
  height: 60px;
  background: var(--gl-accent-soft);
  border: 1px solid rgba(61,139,253,.3);
  border-radius: var(--gl-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gl-accent);
  flex-shrink: 0;
  box-shadow: 0 0 24px rgba(61,139,253,.18), inset 0 1px 0 rgba(255,255,255,.06);
}

.gl-service-hero-deco {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 1px solid rgba(61,139,253,.1);
  background: radial-gradient(circle, rgba(61,139,253,.1) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5.5rem;
  color: rgba(61,139,253,.22);
  position: relative;
}
.gl-service-hero-deco::before {
  content: '';
  position: absolute;
  inset: -22px;
  border: 1px dashed rgba(61,139,253,.08);
  border-radius: 50%;
  animation: glRotateSlow 20s linear infinite;
}
@keyframes glRotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.gl-service-glass-card {
  background: rgba(17,29,48,.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.055);
  box-shadow: 0 8px 32px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.04);
  border-radius: var(--gl-radius-lg);
  padding: 1.6rem;
}

.gl-timeline {
  display: flex;
  flex-direction: column;
}
.gl-timeline-step {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
}
.gl-timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.gl-timeline-dot {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gl-accent-soft);
  border: 1px solid rgba(61,139,253,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 800;
  color: var(--gl-accent);
  box-shadow: 0 0 18px rgba(61,139,253,.14), inset 0 1px 0 rgba(255,255,255,.06);
}
.gl-timeline-line {
  width: 2px;
  flex: 1;
  min-height: 2rem;
  background: linear-gradient(180deg, rgba(61,139,253,.3) 0%, rgba(61,139,253,.05) 100%);
  margin-top: 4px;
}
.gl-timeline-content { padding-top: .55rem; }
.gl-timeline-title {
  font-size: .98rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .3rem;
}
.gl-timeline-text {
  font-size: .87rem;
  color: var(--gl-text-muted);
  line-height: 1.65;
}

.gl-deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: .7rem;
}
.gl-deliverable-item {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .88rem;
  color: var(--gl-text-muted);
  line-height: 1.5;
}
.gl-deliverable-item i {
  color: var(--gl-success);
  font-size: 1rem;
  margin-top: .05rem;
  flex-shrink: 0;
}

.gl-service-sidebar-card {
  background: rgba(14,24,42,.88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,.065);
  box-shadow: 0 10px 40px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.05);
  border-radius: var(--gl-radius-lg);
  padding: 1.5rem;
}
.gl-sidebar-btn {
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.025);
  color: var(--gl-text);
  border-radius: var(--gl-radius);
  padding: .65rem;
  text-decoration: none;
  font-size: .88rem;
  transition: background var(--gl-transition), border-color var(--gl-transition);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.gl-sidebar-btn:hover {
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.12);
  color: var(--gl-text);
}

/* ── Contact form — glassmorphism renforcé ───────────────────── */
.gl-contact-shell {
  background: rgba(8,17,32,.7) !important;
  backdrop-filter: blur(22px) !important;
  -webkit-backdrop-filter: blur(22px) !important;
  border: 1px solid rgba(255,255,255,.065) !important;
  box-shadow: 0 16px 56px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.045) !important;
}

.gl-public-builder {
  background:
    radial-gradient(circle at 14% -18%, rgba(61,139,253,.2), transparent 42%),
    radial-gradient(circle at 108% 118%, rgba(251,146,60,.12), transparent 38%),
    rgba(9,17,32,.75) !important;
  backdrop-filter: blur(26px) !important;
  -webkit-backdrop-filter: blur(26px) !important;
  border: 1px solid rgba(255,255,255,.075) !important;
  box-shadow:
    0 14px 44px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.055),
    inset 0 -1px 0 rgba(0,0,0,.2) !important;
}

.gl-public-builder .form-control,
.gl-public-builder .form-select {
  background: rgba(4,10,22,.75) !important;
  box-shadow: inset 0 2px 5px rgba(0,0,0,.32), inset 0 0 0 1px rgba(30,48,80,.7) !important;
  border-color: transparent !important;
}
.gl-public-builder .form-control:focus,
.gl-public-builder .form-select:focus {
  box-shadow: inset 0 1px 3px rgba(0,0,0,.18), 0 0 0 2px rgba(61,139,253,.22) !important;
  border-color: rgba(61,139,253,.45) !important;
}

.gl-step-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1px solid var(--gl-border);
  background: rgba(15,31,53,.8);
  color: var(--gl-text-muted);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  padding: .28rem .7rem;
  cursor: pointer;
  transition: all .22s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.gl-step-pill.is-active {
  color: #e7f0ff;
  border-color: rgba(61,139,253,.5);
  background: rgba(61,139,253,.2);
  box-shadow: 0 0 12px rgba(61,139,253,.22), inset 0 1px 0 rgba(255,255,255,.06);
}

.gl-btn-accent {
  box-shadow: 0 4px 16px rgba(61,139,253,.3), inset 0 1px 0 rgba(255,255,255,.12) !important;
}
.gl-btn-accent:hover {
  box-shadow: 0 6px 22px rgba(61,139,253,.4), inset 0 1px 0 rgba(255,255,255,.12) !important;
}

.btn-primary-gl {
  box-shadow: 0 4px 20px rgba(61,139,253,.3), inset 0 1px 0 rgba(255,255,255,.1) !important;
}

/* ── Portfolio / Réalisations ────────────────────────────────── */
.gl-portfolio-card {
  background: var(--gl-bg-card);
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-radius-lg);
  overflow: hidden;
  transition: border-color var(--gl-transition), transform var(--gl-transition), box-shadow var(--gl-transition);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.gl-portfolio-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--gl-mx, 50%) var(--gl-my, 50%), rgba(61,139,253,.22) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
}
.gl-portfolio-card:hover {
  border-color: rgba(61,139,253,.55);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.45), 0 0 0 1px rgba(61,139,253,.1);
}
.gl-portfolio-card:hover::before { opacity: 1; }

.gl-pf-screen {
  height: 190px;
  background: #08121f;
  border-bottom: 1px solid var(--gl-border);
  overflow: hidden;
  flex-shrink: 0;
}
.gl-pf-bar {
  height: 26px;
  background: #0f1e35;
  border-bottom: 1px solid #1a2e4a;
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: 0 .6rem;
}
.gl-pf-dot { width: 7px; height: 7px; border-radius: 50%; }
.gl-pf-dot-r { background: rgba(239,68,68,.65); }
.gl-pf-dot-a { background: rgba(245,158,11,.65); }
.gl-pf-dot-g { background: rgba(34,197,94,.65); }
.gl-pf-url {
  flex: 1;
  margin: 0 .5rem;
  height: 14px;
  background: rgba(30,48,80,.5);
  border-radius: 3px;
  display: flex;
  align-items: center;
  padding: 0 .4rem;
  font-size: .6rem;
  color: #4a6a9a;
  overflow: hidden;
  white-space: nowrap;
}
.gl-pf-body {
  height: 164px;
  overflow: hidden;
  position: relative;
}
.gl-portfolio-info {
  padding: 1.15rem 1.3rem 1.3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}
.gl-portfolio-cat {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--gl-accent-soft);
  border: 1px solid rgba(61,139,253,.22);
  color: var(--gl-accent);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: 50px;
  margin-bottom: .75rem;
}
.gl-portfolio-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .35rem;
  line-height: 1.25;
}
.gl-portfolio-desc {
  color: var(--gl-text-muted);
  font-size: .85rem;
  line-height: 1.55;
  flex: 1;
  margin-bottom: .9rem;
}
.gl-portfolio-techs {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-bottom: .9rem;
}
.gl-portfolio-tech {
  background: rgba(30,48,80,.7);
  border: 1px solid rgba(30,48,80,1);
  color: var(--gl-text-muted);
  font-size: .68rem;
  padding: .15rem .5rem;
  border-radius: 4px;
  font-family: monospace;
}
.gl-portfolio-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--gl-accent);
  font-size: .83rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .25s ease, transform .25s ease, color .15s;
}
.gl-portfolio-card:hover .gl-portfolio-cta { opacity: 1; transform: translateY(0); }
.gl-portfolio-cta:hover { color: var(--gl-accent-h); }

/* ── Page Pourquoi pas l'IA ──────────────────────────────────── */
.gl-ia-hero {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.gl-ia-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(61,139,253,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 90% 60%, rgba(239,68,68,.07) 0%, transparent 50%);
  pointer-events: none;
}
.gl-ia-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,48,80,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,48,80,.12) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.gl-ia-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.25);
  color: #fca5a5;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.gl-ia-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 1.2rem;
}
.gl-ia-strike {
  position: relative;
  color: var(--gl-text-muted);
}
.gl-ia-strike::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 52%;
  height: 3px;
  background: var(--gl-danger);
  border-radius: 2px;
  transform: rotate(-1.5deg);
}
.gl-ia-sub {
  font-size: 1.08rem;
  color: var(--gl-text-muted);
  max-width: 580px;
  line-height: 1.7;
}
.gl-reality-card {
  background: var(--gl-bg-card);
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-radius-lg);
  padding: 1.5rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: border-color var(--gl-transition);
}
.gl-reality-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--gl-radius-lg) var(--gl-radius-lg) 0 0;
}
.gl-reality-card.is-ai::before  { background: linear-gradient(90deg, rgba(239,68,68,.7), rgba(245,158,11,.5)); }
.gl-reality-card.is-us::before  { background: linear-gradient(90deg, var(--gl-accent), #22c55e); }
.gl-reality-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .2rem .6rem;
  border-radius: 50px;
  margin-bottom: .8rem;
}
.gl-reality-badge.ai { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3); color: #fca5a5; }
.gl-reality-badge.us { background: rgba(61,139,253,.1); border: 1px solid rgba(61,139,253,.3); color: #93c5fd; }
.gl-reality-title { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.gl-reality-text  { font-size: .87rem; color: var(--gl-text-muted); line-height: 1.6; }
.gl-moment-card {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.4rem;
  background: var(--gl-bg-card);
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-radius-lg);
  transition: border-color var(--gl-transition), background var(--gl-transition);
}
.gl-moment-card:hover { border-color: rgba(61,139,253,.3); background: var(--gl-bg-card-h); }
.gl-moment-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gl-accent-soft);
  border: 1px solid rgba(61,139,253,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  font-weight: 800;
  color: var(--gl-accent);
}
.gl-moment-title { font-size: .98rem; font-weight: 700; color: #fff; margin-bottom: .3rem; }
.gl-moment-text  { font-size: .87rem; color: var(--gl-text-muted); line-height: 1.6; }
.gl-moment-text strong { color: var(--gl-text); }
.gl-engagement-card {
  background: linear-gradient(135deg, var(--gl-bg-card) 0%, rgba(61,139,253,.06) 100%);
  border: 1px solid rgba(61,139,253,.18);
  border-radius: var(--gl-radius-lg);
  padding: 1.6rem;
  text-align: center;
  transition: border-color var(--gl-transition), transform var(--gl-transition);
}
.gl-engagement-card:hover { border-color: rgba(61,139,253,.4); transform: translateY(-3px); }
.gl-engagement-icon {
  width: 56px;
  height: 56px;
  background: var(--gl-accent-soft);
  border: 1px solid rgba(61,139,253,.25);
  border-radius: var(--gl-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gl-accent);
  margin: 0 auto 1rem;
}
.gl-engagement-title { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.gl-engagement-text  { font-size: .87rem; color: var(--gl-text-muted); line-height: 1.6; }
.gl-ia-cta-block {
  background: linear-gradient(135deg, rgba(61,139,253,.1) 0%, rgba(61,139,253,.04) 100%);
  border: 1px solid rgba(61,139,253,.2);
  border-radius: var(--gl-radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.gl-ia-cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(61,139,253,.15) 0%, transparent 60%);
  pointer-events: none;
}

/* ── Admin Contacts ────────────────────────────────────────── */
.gl-contacts-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.gl-contact-card {
  background: var(--gl-card-bg);
  border: 1px solid var(--gl-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s;
}

.gl-contact-card.gl-contact-unread {
  border-color: rgba(61, 139, 253, .45);
  background: rgba(61, 139, 253, .04);
}

.gl-contact-card.gl-contact-replied {
  opacity: .72;
}

.gl-contact-card-head {
  padding: .7rem 1rem;
  cursor: pointer;
  color: var(--gl-text);
  transition: background .15s;
}

.gl-contact-card-head:hover {
  background: rgba(255, 255, 255, .03);
}

.gl-contact-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(61, 139, 253, .22);
  border: 1px solid rgba(61, 139, 253, .35);
  color: #93c5ff;
  font-weight: 700;
  font-size: .88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gl-contact-tag {
  background: rgba(61, 139, 253, .15);
  border: 1px solid rgba(61, 139, 253, .3);
  color: #93c5ff;
  border-radius: 999px;
  font-size: .68rem;
  padding: .1rem .55rem;
  white-space: nowrap;
}

.gl-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.gl-contact-detail {
  border-top: 1px solid var(--gl-border);
  padding: 1rem;
}

.gl-detail-block {
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--gl-border);
  border-radius: 8px;
  padding: .5rem .75rem;
}

.gl-detail-label {
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gl-text-muted);
  margin-bottom: .2rem;
}

.gl-detail-message {
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--gl-border);
  border-radius: 8px;
  padding: .75rem 1rem;
}

.gl-detail-text {
  color: var(--gl-text);
  font-size: .9rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

/* ══════════════════════════════════════════════════════════════
   CURSEUR PERSONNALISÉ
   dot  : point bleu qui suit exactement
   ring : anneau translucide avec léger lag (lerp JS)
   ══════════════════════════════════════════════════════════════ */
body.gl-custom-cursor,
body.gl-custom-cursor * { cursor: none !important; }

.gl-cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 6px; height: 6px;
  background: var(--gl-accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 99999;
  transition: opacity .18s;
}

.gl-cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 30px; height: 30px;
  border: 1.5px solid rgba(61,139,253,.52);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 99998;
  transition: width .22s ease, height .22s ease,
              border-color .22s, background .22s, opacity .18s;
}

.gl-cursor-ring.is-hover {
  width: 46px; height: 46px;
  border-color: rgba(61,139,253,.8);
  background: rgba(61,139,253,.08);
}

/* ══════════════════════════════════════════════════════════════
   HERO — ILLUSTRATION PARALLAXE
   ══════════════════════════════════════════════════════════════ */
.gl-hero-visual {
  position: relative;
  width: 100%;
  height: 420px;
  user-select: none;
}

.gl-hero-layer {
  position: absolute;
  will-change: transform;
}

/* Entrée décalée par couche */
.gl-hero-layer-browser { animation: glLayerIn .7s .1s both; z-index: 2; }
.gl-hero-layer-stat    { animation: glLayerIn .7s .35s both; z-index: 3; }
.gl-hero-layer-notif   { animation: glLayerIn .7s .5s both;  z-index: 3; }
.gl-hero-layer-code    { animation: glLayerIn .7s .42s both; z-index: 3; }

@keyframes glLayerIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Orbs d'ambiance */
.gl-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  animation: glOrbFloat 7s ease-in-out infinite;
}
.gl-hero-orb-1 {
  width: 280px; height: 280px;
  background: rgba(61,139,253,.13);
  top: -70px; right: -70px;
}
.gl-hero-orb-2 {
  width: 190px; height: 190px;
  background: rgba(34,197,94,.08);
  bottom: -10px; left: -40px;
  animation-delay: -3.5s;
}
.gl-hero-orb-3 {
  width: 110px; height: 110px;
  background: rgba(245,158,11,.07);
  top: 55%; right: 22%;
  animation-delay: -1.8s;
}

@keyframes glOrbFloat {
  0%, 100% { transform: translateY(0) scale(1);    opacity: .65; }
  50%       { transform: translateY(-18px) scale(1.07); opacity: 1; }
}

/* Positions des couches */
.gl-hero-layer-browser { left: 50%; margin-left: -160px; top: 25px; }
.gl-hero-layer-stat    { top: 0; right: 0; }
.gl-hero-layer-notif   { bottom: 90px; left: 0; }
.gl-hero-layer-code    { bottom: 18px; right: 0; }

/* Browser mockup */
.gl-hero-browser {
  width: 320px;
  border-radius: 14px;
  background: rgba(10,20,36,.93);
  border: 1px solid rgba(30,48,80,.9);
  box-shadow:
    0 28px 72px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
}

.gl-hero-browser-bar {
  height: 34px;
  background: rgba(22,35,56,.96);
  border-bottom: 1px solid rgba(30,48,80,.8);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
}

.gl-hero-browser-url {
  flex: 1;
  text-align: center;
  font-size: .62rem;
  color: rgba(122,150,184,.5);
  font-family: 'Consolas', monospace;
  background: rgba(8,16,30,.5);
  border-radius: 20px;
  padding: 2px 8px;
  margin: 0 20px;
}

.gl-hero-browser-body { padding: 10px 10px 12px; }

.gl-hero-site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 9px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(30,48,80,.55);
}
.gl-hero-site-nav span {
  height: 4px; width: 28px;
  background: rgba(30,48,80,.8);
  border-radius: 2px;
}
.gl-hero-site-cta {
  margin-left: auto;
  width: 44px; height: 16px;
  background: rgba(61,139,253,.65);
  border-radius: 4px;
}

.gl-hero-site-h1 {
  height: 9px; width: 78%;
  background: linear-gradient(90deg, rgba(61,139,253,.4), rgba(97,157,254,.2));
  border-radius: 4px;
  margin-bottom: 5px;
}
.gl-hero-site-sub {
  height: 5px; width: 56%;
  background: rgba(30,48,80,.6);
  border-radius: 2px;
  margin-bottom: 9px;
}
.gl-hero-site-btn {
  height: 18px; width: 78px;
  background: rgba(61,139,253,.6);
  border-radius: 5px;
}

.gl-hero-site-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 10px;
}
.gl-hero-site-grid > div {
  height: 44px;
  background: rgba(17,29,48,.9);
  border: 1px solid rgba(30,48,80,.5);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.gl-hero-site-grid > div::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(61,139,253,.07), transparent);
  transform: translateX(-100%);
  animation: glShimmerHero 3.5s ease infinite;
}
.gl-hero-site-grid > div:nth-child(2)::after { animation-delay: .35s; }
.gl-hero-site-grid > div:nth-child(3)::after { animation-delay: .7s; }

@keyframes glShimmerHero {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

/* Floating cards */
.gl-hero-float-card {
  display: flex;
  align-items: center;
  gap: .72rem;
  padding: .7rem 1.1rem;
  background: rgba(10,20,36,.92);
  border: 1px solid rgba(30,48,80,.9);
  border-radius: 12px;
  box-shadow:
    0 12px 40px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  white-space: nowrap;
}
.gl-hero-float-icon {
  width: 34px; height: 34px;
  background: rgba(61,139,253,.15);
  border: 1px solid rgba(61,139,253,.3);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gl-accent); font-size: 1.1rem; flex-shrink: 0;
}
.gl-hero-float-check {
  width: 34px; height: 34px;
  background: rgba(34,197,94,.13);
  border: 1px solid rgba(34,197,94,.3);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gl-success); font-size: 1.1rem; flex-shrink: 0;
}
.gl-hero-float-value { font-size: 1.15rem; font-weight: 800; color: var(--gl-accent); line-height: 1; }
.gl-hero-float-label { font-size: .7rem; color: var(--gl-text-muted); margin-top: 2px; line-height: 1; }
.gl-hero-float-title { font-size: .78rem; font-weight: 600; color: #fff; line-height: 1.2; }
.gl-hero-float-sub   { font-size: .66rem; color: var(--gl-text-muted); margin-top: 2px; }

/* Code snippet */
.gl-hero-code-card {
  padding: .5rem 1rem;
  background: rgba(6,12,24,.96);
  border: 1px solid rgba(30,48,80,.9);
  border-radius: 8px;
  font-family: 'Consolas', 'Fira Code', 'Courier New', monospace;
  font-size: .68rem;
  box-shadow: 0 8px 28px rgba(0,0,0,.4);
  white-space: nowrap;
}
.gl-code-kw   { color: #bd93f9; }
.gl-code-var  { color: #82cfff; }
.gl-code-op   { color: var(--gl-text-muted); }
.gl-code-fn   { color: #61dafb; }
.gl-code-str  { color: #98c379; }
.gl-code-punc { color: rgba(122,150,184,.55); }

/* ══════════════════════════════════════════════════════════════
   NAVBAR — BADGE PULSE "NOUVEAU"
   ══════════════════════════════════════════════════════════════ */
.gl-nav-new-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: #ef4444;
  border-radius: 50%;
  margin-left: 5px;
  vertical-align: middle;
  position: relative; top: -1px;
  animation: glPulseDot 1.6s ease-in-out infinite;
}
@keyframes glPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(1.6); }
}

/* ══════════════════════════════════════════════════════════════
   SECTION INTERVIEWS IA
   ══════════════════════════════════════════════════════════════ */
.gl-interview-wrap { position: relative; padding-top: 14px; }

.gl-interview-new-badge {
  position: absolute;
  top: 0; left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--gl-accent);
  color: #fff;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  padding: .28rem .85rem;
  border-radius: 50px;
  box-shadow: 0 4px 18px rgba(61,139,253,.45);
}
.gl-interview-new-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: #ff4444;
  border-radius: 50%;
  flex-shrink: 0;
  animation: glPulseDot 1.6s ease-in-out infinite;
}

.gl-interview-thumb {
  position: relative;
  border-radius: var(--gl-radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--gl-bg-card);
  border: 1px solid var(--gl-border);
  box-shadow: var(--gl-shadow);
  cursor: pointer;
  display: block;
}
.gl-interview-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.82);
  transition: transform .4s ease, filter .3s ease;
  display: block;
}
.gl-interview-thumb:hover img { transform: scale(1.04); filter: brightness(.62); }

.gl-interview-play-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; padding: 0;
}
.gl-interview-play-btn .gl-play-circle {
  width: 66px; height: 66px;
  background: rgba(8,16,32,.72);
  border: 2px solid rgba(255,255,255,.28);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  transition: transform .22s, background .22s, border-color .22s;
}
.gl-interview-play-btn .gl-play-circle i { font-size: 1.9rem; color: #fff; margin-left: 5px; }
.gl-interview-thumb:hover .gl-play-circle {
  transform: scale(1.1);
  background: rgba(61,139,253,.55);
  border-color: rgba(61,139,253,.9);
}

.gl-interview-player {
  border-radius: var(--gl-radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 1px solid var(--gl-border);
  box-shadow: var(--gl-shadow);
}
.gl-interview-player iframe { width: 100%; height: 100%; display: block; }

.gl-interview-bullets {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: .6rem;
}
.gl-interview-bullets li {
  display: flex; align-items: center; gap: .65rem;
  font-size: .92rem; color: var(--gl-text-muted);
}
.gl-interview-bullets li .bi-check-circle-fill { color: var(--gl-success); font-size: .85rem; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════
   PROMOTIONS — badge prix barré + nouveau prix
   ══════════════════════════════════════════════════════════════ */

/* Badge promo flottant sur la card */
.gl-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: linear-gradient(135deg, #ff6a00, #ee0979);
  color: #fff;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .28rem .85rem;
  border-radius: 50px;
  margin-bottom: .65rem;
  box-shadow: 0 4px 18px rgba(238,9,121,.35);
  animation: glPromoGlow 2.4s ease-in-out infinite;
}
.gl-promo-badge::before {
  content: '★';
  font-size: .58rem;
  opacity: .9;
}
@keyframes glPromoGlow {
  0%, 100% { box-shadow: 0 4px 18px rgba(238,9,121,.35); }
  50%       { box-shadow: 0 4px 28px rgba(255,106,0,.65); }
}

/* Bloc prix (ancein barré + nouveau) */
.gl-price-wrap {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  flex-wrap: wrap;
  margin-bottom: .35rem;
}
.gl-price-old {
  color: var(--gl-text-muted);
  font-size: .82rem;
  text-decoration: line-through;
  text-decoration-color: rgba(255,100,100,.7);
  opacity: .7;
}
.gl-price-new {
  color: #ff9040;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.5px;
}
.gl-price-base {
  color: #ffd089;
  font-size: .95rem;
  font-weight: 700;
}

/* Badge promo compact pour la sidebar service.php */
.gl-promo-badge-sm {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: linear-gradient(135deg, #ff6a00, #ee0979);
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .2rem .65rem;
  border-radius: 50px;
  box-shadow: 0 2px 12px rgba(238,9,121,.3);
  animation: glPromoGlow 2.4s ease-in-out infinite;
}

/* Colonne promo dans le tableau admin services */
.gl-promo-cell {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

/* ============================================================
   Planning — badges d'échéance & habillage FullCalendar (thème sombre)
   ============================================================ */
.gl-due-badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  padding: .12rem .5rem;
  border-radius: 50px;
  white-space: nowrap;
  line-height: 1.4;
}
.gl-due-danger  { background: rgba(239,68,68,.15);  color: #f88; border: 1px solid rgba(239,68,68,.4); }
.gl-due-warning { background: rgba(245,158,11,.15); color: #f5b34a; border: 1px solid rgba(245,158,11,.4); }
.gl-due-accent  { background: var(--gl-accent-soft); color: var(--gl-accent-h); border: 1px solid rgba(61,139,253,.4); }
.gl-due-muted   { background: rgba(122,150,184,.12); color: var(--gl-text-muted); border: 1px solid var(--gl-border); }

/* Barre d'avancement projet (espace client) */
.gl-progress {
  width: 100%;
  height: 8px;
  background: var(--gl-bg);
  border: 1px solid var(--gl-border);
  border-radius: 50px;
  overflow: hidden;
}
.gl-progress-bar {
  height: 100%;
  border-radius: 50px;
  transition: width .3s ease;
}

/* FullCalendar — variables thème */
#gl-calendar {
  --fc-border-color: var(--gl-border);
  --fc-page-bg-color: transparent;
  --fc-neutral-bg-color: rgba(255,255,255,.02);
  --fc-today-bg-color: var(--gl-accent-soft);
  --fc-list-event-hover-bg-color: var(--gl-bg-card-h);
  --fc-now-indicator-color: var(--gl-danger);
  color: var(--gl-text);
}
#gl-calendar a { color: var(--gl-text); }
#gl-calendar .fc .fc-col-header-cell-cushion,
#gl-calendar .fc .fc-daygrid-day-number { color: var(--gl-text-muted); text-decoration: none; }
#gl-calendar .fc .fc-toolbar-title { color: var(--gl-text); font-size: 1.05rem; font-weight: 800; }
#gl-calendar .fc .fc-button-primary {
  background: var(--gl-bg-card-h);
  border-color: var(--gl-border);
  color: var(--gl-text);
  box-shadow: none;
  text-transform: capitalize;
}
#gl-calendar .fc .fc-button-primary:hover { background: var(--gl-border); }
#gl-calendar .fc .fc-button-primary:not(:disabled).fc-button-active,
#gl-calendar .fc .fc-button-primary:not(:disabled):active {
  background: var(--gl-accent);
  border-color: var(--gl-accent);
}
#gl-calendar .fc .fc-button:focus { box-shadow: 0 0 0 .2rem var(--gl-accent-soft); }
#gl-calendar .fc-event { cursor: pointer; font-size: .74rem; font-weight: 600; border: none; }
#gl-calendar .fc-daygrid-event { padding: 1px 4px; }

/* Légende du calendrier */
.gl-cal-legend { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; }
.gl-cal-legend .gl-legend-item { display: inline-flex; align-items: center; gap: .4rem; font-size: .74rem; color: var(--gl-text-muted); }
.gl-cal-legend .gl-legend-dot { width: 11px; height: 11px; border-radius: 3px; flex-shrink: 0; }
.gl-cal-legend .gl-legend-dash { width: 22px; height: 0; border-top: 2px dashed var(--gl-text-muted); flex-shrink: 0; }
#gl-calendar .fc .fc-list-day-cushion { background: var(--gl-bg-card-h); }
#gl-calendar .fc-theme-standard .fc-list,
#gl-calendar .fc-theme-standard td,
#gl-calendar .fc-theme-standard th { border-color: var(--gl-border); }

/* ============================================================
   LUXE — Or & nuit · refonte Planning (Vague 1)
   ============================================================ */

/* Carte verre dépoli premium */
.gl-card-lux {
  position: relative;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(212,175,55,.06), transparent 42%),
    var(--gl-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--gl-glass-border);
  border-radius: var(--gl-radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.05);
  padding: 1.35rem;
  transition: border-color var(--gl-transition), transform var(--gl-transition), box-shadow var(--gl-transition);
}
.gl-card-lux:hover {
  border-color: var(--gl-gold-border);
  box-shadow: 0 16px 48px rgba(0,0,0,.5), 0 0 0 1px rgba(212,175,55,.12), inset 0 1px 0 rgba(255,255,255,.06);
}

/* En-tête de page premium avec liseré or */
.gl-lux-header {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.4rem;
  border-radius: var(--gl-radius-lg);
  background:
    radial-gradient(90% 180% at 100% 0%, rgba(61,139,253,.10), transparent 55%),
    radial-gradient(80% 160% at 0% 0%, rgba(212,175,55,.10), transparent 55%),
    var(--gl-glass-2);
  border: 1px solid var(--gl-glass-border);
  overflow: hidden;
  box-shadow: var(--gl-shadow);
}
.gl-lux-header::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gl-gold-grad);
  box-shadow: 0 0 18px rgba(212,175,55,.45);
}
.gl-lux-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gl-gold-h);
  margin-bottom: .35rem;
}
.gl-lux-eyebrow i { color: var(--gl-gold); }

/* Pastilles statistiques compactes */
.gl-stat-strip { display: flex; flex-wrap: wrap; gap: .6rem; }
.gl-stat-chip {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem .85rem;
  border-radius: 12px;
  background: var(--gl-glass);
  border: 1px solid var(--gl-glass-border);
  min-width: 104px;
  transition: transform var(--gl-transition), border-color var(--gl-transition);
}
.gl-stat-chip:hover { transform: translateY(-2px); border-color: var(--gl-gold-border); }
.gl-stat-chip .ic {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 9px;
  font-size: 1rem;
  background: var(--gl-accent-soft);
  color: var(--gl-accent);
  flex-shrink: 0;
}
.gl-stat-chip.is-gold .ic { background: var(--gl-gold-soft); color: var(--gl-gold-h); }
.gl-stat-chip.is-success .ic { background: rgba(34,197,94,.14); color: var(--gl-success); }
.gl-stat-chip.is-warning .ic { background: rgba(245,158,11,.14); color: var(--gl-warning); }
.gl-stat-chip .v { font-size: 1.25rem; font-weight: 800; color: #fff; line-height: 1; }
.gl-stat-chip .l { font-size: .68rem; color: var(--gl-text-muted); text-transform: uppercase; letter-spacing: .05em; }

/* Bouton or */
.gl-btn-gold {
  background: var(--gl-gold-grad);
  color: #2a2103;
  border: none;
  border-radius: var(--gl-radius);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(212,175,55,.32), inset 0 1px 0 rgba(255,255,255,.4);
  transition: transform .15s, box-shadow var(--gl-transition);
}
.gl-btn-gold:hover {
  color: #2a2103;
  transform: translateY(-1px);
  box-shadow: 0 7px 22px rgba(212,175,55,.45), inset 0 1px 0 rgba(255,255,255,.45);
}

/* Carte projet premium (liseré statut + lift) */
.gl-pcard {
  position: relative;
  height: 100%;
  background: var(--gl-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gl-glass-border);
  border-radius: var(--gl-radius-lg);
  padding: 1.15rem 1.15rem 1.15rem 1.3rem;
  overflow: hidden;
  transition: transform var(--gl-transition), border-color var(--gl-transition), box-shadow var(--gl-transition);
}
.gl-pcard::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--pc, var(--gl-accent));
  box-shadow: 0 0 14px -2px var(--pc, var(--gl-accent));
}
.gl-pcard:hover {
  transform: translateY(-3px);
  border-color: var(--gl-gold-border);
  box-shadow: 0 18px 44px rgba(0,0,0,.45);
}
button.gl-pcard { font: inherit; text-align: left; cursor: pointer; color: var(--gl-text); }
.gl-pcard.is-target { animation: glTargetPulse 1.4s ease; }
@keyframes glTargetPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); }
  30% { box-shadow: 0 0 0 3px rgba(212,175,55,.35), 0 18px 44px rgba(0,0,0,.45); }
}

/* Puce méta (client / service / produit) */
.gl-chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 600;
  padding: .15rem .55rem;
  border-radius: 50px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--gl-glass-border);
  color: var(--gl-text-muted);
  max-width: 100%;
}
.gl-chip i { font-size: .78rem; }
.gl-chip.is-client { color: #cfe0ff; border-color: rgba(61,139,253,.3); background: rgba(61,139,253,.1); }
.gl-chip.is-client i { color: var(--gl-accent-h); }
.gl-chip.is-service i { color: var(--gl-gold-h); }
.gl-chip.is-product i { color: #7ee0c6; }
.gl-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Bulles d'événement FullCalendar enrichies ───────────────── */
#gl-calendar .fc-daygrid-event { padding: 0; }
#gl-calendar .fc-event {
  border-radius: 7px;
  box-shadow: 0 1px 3px rgba(0,0,0,.3);
  transition: transform .12s ease, box-shadow .15s ease, filter .15s ease;
}
#gl-calendar .fc-event:hover { filter: brightness(1.08); box-shadow: 0 4px 12px rgba(0,0,0,.45); z-index: 5; }
.gl-ce {
  display: flex;
  align-items: center;
  gap: .32rem;
  padding: 1px 5px;
  min-width: 0;
  line-height: 1.35;
}
.gl-ce-ic {
  flex-shrink: 0;
  font-size: .72rem;
  opacity: .95;
  display: inline-flex;
}
.gl-ce-txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.gl-ce-sub {
  flex-shrink: 0;
  font-size: .62rem;
  font-weight: 600;
  opacity: .82;
  padding-left: .15rem;
}

/* Popover riche au survol d'un événement */
.gl-ce-pop {
  position: fixed;
  z-index: 1080;
  width: 268px;
  max-width: calc(100vw - 24px);
  padding: .85rem .9rem;
  border-radius: 14px;
  background: var(--gl-glass-2);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--gl-glass-border);
  box-shadow: 0 20px 56px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06);
  opacity: 0;
  transform: translateY(6px) scale(.98);
  transition: opacity .16s ease, transform .16s ease;
  pointer-events: none;
}
.gl-ce-pop.is-show { opacity: 1; transform: translateY(0) scale(1); }
.gl-ce-pop::before {
  content: '';
  position: absolute;
  left: 0; top: 14px; bottom: 14px;
  width: 3px;
  border-radius: 3px;
  background: var(--pc, var(--gl-accent));
  box-shadow: 0 0 12px -1px var(--pc, var(--gl-accent));
}
.gl-ce-pop .pop-kind {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--pc, var(--gl-accent)); margin-bottom: .3rem;
}
.gl-ce-pop .pop-title { color: #fff; font-weight: 800; font-size: .94rem; line-height: 1.25; margin-bottom: .55rem; }
.gl-ce-pop .pop-row {
  display: flex; align-items: center; gap: .5rem;
  font-size: .78rem; color: var(--gl-text); padding: .16rem 0;
}
.gl-ce-pop .pop-row i { width: 15px; text-align: center; flex-shrink: 0; color: var(--gl-text-muted); }
.gl-ce-pop .pop-row.is-gold i { color: var(--gl-gold-h); }
.gl-ce-pop .pop-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gl-ce-pop .pop-foot {
  margin-top: .55rem; padding-top: .5rem;
  border-top: 1px solid var(--gl-glass-border);
  font-size: .68rem; color: var(--gl-text-muted);
  display: flex; align-items: center; gap: .35rem;
}

/* Légende — pastille de durée or */
.gl-cal-legend .gl-legend-dash { border-top-color: var(--gl-gold); opacity: .8; }

/* En-tête compact (réduit la hauteur) */
.gl-lux-header.is-compact { padding: .85rem 1.15rem; }
.gl-lux-header.is-compact .gl-stat-chip { padding: .4rem .7rem; min-width: 0; }
.gl-lux-header.is-compact .gl-stat-chip .ic { width: 30px; height: 30px; font-size: .9rem; }
.gl-lux-header.is-compact .gl-stat-chip .v { font-size: 1.05rem; }
.gl-lux-header.is-compact .gl-stat-chip .l { text-transform: none; letter-spacing: 0; font-size: .72rem; }

/* ── Grille planning : sidebar | calendrier ──────────────────── */
.gl-planning-grid {
  display: grid;
  grid-template-columns: 296px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.gl-planning-side { display: flex; flex-direction: column; gap: 1rem; }
.gl-cal-card {
  padding: 1rem;
  height: calc(100vh - 200px);
  min-height: 540px;
  display: flex;
  flex-direction: column;
}
.gl-cal-card #gl-calendar { flex: 1 1 auto; min-height: 0; }
/* Hauteur de ligne homogène quand expandRows étire la grille */
#gl-calendar .fc-daygrid-day-frame { min-height: 0; }

/* ── Mini-calendrier ─────────────────────────────────────────── */
.gl-mini-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .55rem; }
.gl-mini-label {
  color: #fff; font-weight: 700; font-size: .86rem; text-transform: capitalize;
  background: none; border: none; cursor: pointer; padding: .15rem .4rem; border-radius: 7px;
  transition: background var(--gl-transition), color var(--gl-transition);
}
.gl-mini-label:hover { color: var(--gl-gold-h); background: rgba(255,255,255,.05); }
.gl-mini-months { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.gl-mini-month {
  border: none; background: rgba(255,255,255,.03); color: var(--gl-text);
  border-radius: 8px; padding: .55rem .2rem; font-size: .76rem; font-weight: 600; cursor: pointer;
  transition: background var(--gl-transition), color var(--gl-transition);
}
.gl-mini-month:hover { background: rgba(255,255,255,.08); }
.gl-mini-month.is-today { color: var(--gl-gold-h); box-shadow: inset 0 0 0 1px var(--gl-gold-border); }
.gl-mini-month.is-sel { background: var(--gl-gold-grad); color: #2a2103; box-shadow: 0 3px 12px rgba(212,175,55,.4); }
.gl-mini-nav {
  width: 26px; height: 26px; border-radius: 7px;
  background: rgba(255,255,255,.04); border: 1px solid var(--gl-glass-border);
  color: var(--gl-text-muted); display: grid; place-items: center; cursor: pointer;
  transition: all var(--gl-transition); font-size: .78rem;
}
.gl-mini-nav:hover { color: var(--gl-gold-h); border-color: var(--gl-gold-border); }
.gl-mini-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.gl-mini-wd {
  text-align: center; font-size: .6rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .03em; color: var(--gl-text-muted); padding-bottom: 4px;
}
.gl-mini-day {
  aspect-ratio: 1 / 1; min-height: 30px;
  border: none; background: transparent; color: var(--gl-text);
  border-radius: 8px; font-size: .76rem; font-weight: 600; cursor: pointer;
  display: grid; place-items: center;
  transition: background var(--gl-transition), color var(--gl-transition);
}
.gl-mini-day:hover { background: rgba(255,255,255,.06); }
.gl-mini-day.is-out { color: rgba(122,150,184,.4); cursor: default; pointer-events: none; }
.gl-mini-day.is-today { color: var(--gl-gold-h); box-shadow: inset 0 0 0 1px var(--gl-gold-border); }
.gl-mini-day.is-sel {
  background: var(--gl-gold-grad); color: #2a2103;
  box-shadow: 0 3px 12px rgba(212,175,55,.4);
}

/* ── Interrupteurs (switch) ──────────────────────────────────── */
.gl-switch { position: absolute; opacity: 0; width: 0; height: 0; }
.gl-switch-ui {
  position: relative; flex-shrink: 0;
  width: 34px; height: 19px; border-radius: 50px;
  background: rgba(122,150,184,.25); border: 1px solid var(--gl-glass-border);
  transition: background var(--gl-transition);
}
.gl-switch-ui::after {
  content: ''; position: absolute; top: 1px; left: 1px;
  width: 15px; height: 15px; border-radius: 50%;
  background: #cdd9ea; transition: transform var(--gl-transition), background var(--gl-transition);
}
.gl-switch:checked + .gl-switch-ui { background: rgba(212,175,55,.45); }
.gl-switch:checked + .gl-switch-ui::after { transform: translateX(15px); background: var(--gl-gold-h); }
.gl-switch:focus-visible + .gl-switch-ui { box-shadow: 0 0 0 2px var(--gl-gold-soft); }
.gl-cat-all { display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; margin: 0; }
.gl-cat-all span:first-child { font-size: .72rem; color: var(--gl-text-muted); }

/* ── Liste des catégories ────────────────────────────────────── */
.gl-cat-list { display: flex; flex-direction: column; gap: .15rem; }
.gl-cat-row {
  display: flex; align-items: center; gap: .55rem;
  padding: .4rem .15rem; margin: 0; cursor: pointer; border-radius: 8px;
  transition: background var(--gl-transition);
}
.gl-cat-row:hover { background: rgba(255,255,255,.03); }
.gl-cat-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 6px -1px currentColor; }
.gl-cat-name { flex: 1; font-size: .82rem; color: var(--gl-text); min-width: 0; }
.gl-cat-metric { font-size: .72rem; color: var(--gl-text-muted); font-weight: 600; }

/* ── Liste « à venir » ───────────────────────────────────────── */
.gl-up-list { display: flex; flex-direction: column; gap: .3rem; }
.gl-up-item {
  position: relative; width: 100%; text-align: left;
  background: rgba(255,255,255,.02); border: 1px solid transparent;
  border-left: 3px solid var(--pc, var(--gl-accent));
  border-radius: 9px; padding: .5rem .6rem .5rem .7rem; cursor: pointer; color: var(--gl-text);
  transition: background var(--gl-transition), border-color var(--gl-transition);
}
.gl-up-item:hover { background: rgba(255,255,255,.05); border-color: var(--gl-gold-border); border-left-color: var(--pc, var(--gl-accent)); }
.gl-up-title {
  font-size: .82rem; font-weight: 600; color: #fff;
  display: flex; align-items: center; gap: .35rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gl-up-meta { font-size: .7rem; color: var(--gl-text-muted); margin-top: .15rem; }
.gl-up-meta i { margin-right: .25rem; }

/* ── Pastilles d'événement (vue grille) : point coloré ───────── */
#gl-calendar .fc-event { border-left-width: 2px; }
.gl-ce-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  margin-right: 5px; flex-shrink: 0; vertical-align: middle;
}
#gl-calendar .fc-daygrid-event .fc-event-title { display: inline-flex; align-items: center; }

/* ── Filtres : masquage par catégorie ────────────────────────── */
#gl-calendar.cat-off-rdv         .gl-cat-rdv,
#gl-calendar.cat-off-event       .gl-cat-event,
#gl-calendar.cat-off-planned     .gl-cat-planned,
#gl-calendar.cat-off-in_progress .gl-cat-in_progress,
#gl-calendar.cat-off-blocked     .gl-cat-blocked,
#gl-calendar.cat-off-done        .gl-cat-done { display: none !important; }

/* ── Todo en grille multi-colonnes ───────────────────────────── */
.gl-todo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: .6rem;
}

/* ── Nav admin : libellés de section ─────────────────────────── */
.gl-nav-group {
  font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--gl-text-muted); opacity: .65;
  padding: .9rem 1.4rem .25rem;
}
.gl-admin-sidebar .nav-link:first-child + .gl-nav-group { padding-top: 0; }

/* ── Sous-navigation espace client ───────────────────────────── */
.gl-client-subnav {
  background: rgba(10,22,40,.6);
  border-bottom: 1px solid var(--gl-border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  position: sticky; top: 56px; z-index: 1030;
}
.gl-client-subnav .container { display: flex; gap: .4rem; }
.gl-subnav-link {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .7rem .9rem; font-size: .85rem; font-weight: 600;
  color: var(--gl-text-muted); border-bottom: 2px solid transparent;
  transition: color var(--gl-transition), border-color var(--gl-transition);
}
.gl-subnav-link:hover { color: var(--gl-text); }
.gl-subnav-link.active { color: var(--gl-gold-h); border-bottom-color: var(--gl-gold); }

/* ── Kanban projets ──────────────────────────────────────────── */
.gl-kanban {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  overflow-x: auto;
  padding-bottom: .5rem;
}
.gl-kcol {
  flex: 1 1 0;
  min-width: 264px;
  background: rgba(10,18,32,.5);
  border: 1px solid var(--gl-glass-border);
  border-radius: var(--gl-radius-lg);
  display: flex;
  flex-direction: column;
}
.gl-kcol-head {
  display: flex; align-items: center; gap: .5rem;
  padding: .8rem .9rem;
  border-bottom: 1px solid var(--gl-glass-border);
  position: sticky; top: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(17,29,48,.95), rgba(17,29,48,.85));
  border-radius: var(--gl-radius-lg) var(--gl-radius-lg) 0 0;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.gl-kcol-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--kc, var(--gl-accent)); box-shadow: 0 0 8px -1px var(--kc, var(--gl-accent)); }
.gl-kcol-title { flex: 1; color: #fff; font-weight: 700; font-size: .86rem; }
.gl-kcol-count {
  font-size: .72rem; font-weight: 700; color: var(--gl-text-muted);
  background: rgba(255,255,255,.06); border-radius: 50px; padding: .05rem .5rem; min-width: 24px; text-align: center;
}
.gl-kcol-body {
  padding: .7rem; display: flex; flex-direction: column; gap: .7rem;
  min-height: 90px; flex: 1; border-radius: 0 0 var(--gl-radius-lg) var(--gl-radius-lg);
  transition: background var(--gl-transition);
}
.gl-kcol-body.is-over { background: var(--gl-gold-soft); box-shadow: inset 0 0 0 2px var(--gl-gold-border); }
.gl-kcol-empty {
  text-align: center; color: var(--gl-text-muted); font-size: .76rem;
  border: 1px dashed var(--gl-glass-border); border-radius: var(--gl-radius);
  padding: 1rem .5rem;
}
.gl-kcard {
  position: relative;
  background: var(--gl-glass);
  border: 1px solid var(--gl-glass-border);
  border-left: 3px solid var(--pc, var(--gl-accent));
  border-radius: var(--gl-radius);
  padding: .8rem .85rem;
  cursor: grab;
  transition: transform var(--gl-transition), box-shadow var(--gl-transition), border-color var(--gl-transition);
}
.gl-kcard:hover { box-shadow: 0 10px 28px rgba(0,0,0,.4); border-color: var(--gl-gold-border); }
.gl-kcard:active { cursor: grabbing; }
.gl-kcard.is-dragging { opacity: .45; transform: rotate(1deg) scale(.98); }
.gl-kcard.is-target { animation: glTargetPulse 1.4s ease; }
.gl-kcard-actions { opacity: 0; transition: opacity var(--gl-transition); }
.gl-kcard:hover .gl-kcard-actions { opacity: 1; }

@media (max-width: 1199.98px) {
  .gl-planning-grid { grid-template-columns: 1fr; }
  .gl-planning-side { order: 2; }
}

@media (max-width: 767.98px) {
  .gl-lux-header { padding: 1rem; }
  .gl-lux-header.is-compact { flex-direction: column; align-items: flex-start; }
  .gl-stat-chip { min-width: 0; flex: 1 1 calc(50% - .6rem); }
}
