/* Bandeau GothamDev — styles partagés (accueil + fixe) */

.lgk-gd-promo {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1rem 1.25rem;
}

.lgk-gd-promo__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgb(99 102 241 / 0.45), rgb(0 212 170 / 0.25));
  border: 1px solid rgb(255 255 255 / 0.15);
  color: #e0e7ff;
  box-shadow: 0 4px 16px rgb(99 102 241 / 0.3);
}

.lgk-gd-promo__body {
  min-width: 0;
}

.lgk-gd-promo__eyebrow {
  margin: 0 0 0.15rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7ef0d8;
}

.lgk-gd-promo__title {
  margin: 0;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.lgk-gd-promo__title strong {
  background: linear-gradient(90deg, #c7d2fe, #a5b4fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
}

.lgk-gd-promo__desc {
  margin: 0.25rem 0 0;
  font-size: clamp(0.8125rem, 1.8vw, 0.9375rem);
  line-height: 1.4;
  color: rgb(255 255 255 / 0.82);
}

.lgk-gd-promo__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #00d4aa, #00b894);
  color: #042f2e !important;
  font-size: 0.9375rem;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow:
    0 4px 20px rgb(0 212 170 / 0.45),
    0 0 0 1px rgb(255 255 255 / 0.15) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lgk-gd-promo__cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 8px 28px rgb(0 212 170 / 0.55),
    0 0 0 1px rgb(255 255 255 / 0.2) inset;
}

.lgk-gd-promo__cta-arrow {
  font-size: 1.1em;
  transition: transform 0.2s ease;
}

.lgk-gd-promo__cta:hover .lgk-gd-promo__cta-arrow {
  transform: translateX(3px);
}

.lgk-gd-promo__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.15);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  color: rgb(255 255 255 / 0.85);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lgk-gd-promo__close:hover {
  background: rgb(255 255 255 / 0.15);
  border-color: rgb(255 255 255 / 0.25);
  color: #fff;
}

.lgk-gd-promo__close:focus-visible,
.lgk-gd-promo__cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ——— Barre accueil (dans le flux, sous le hero) ——— */

.shopify-section--lgk-gothamdev-home-bar {
  display: block !important;
  position: relative;
  z-index: 3;
}

.lgk-gd-home-bar {
  --lgk-gd-home-bar-pad: clamp(1rem, 3vw, 1.35rem);
  color: #fff;
}

.lgk-gd-home-bar__shell {
  position: relative;
  border-block: 2px solid rgb(99 102 241 / 0.45);
  background:
    linear-gradient(135deg, #1e1b4b 0%, #312e81 38%, #1e3a5f 72%, #0f172a 100%);
  box-shadow:
    0 12px 40px rgb(0 0 0 / 0.35),
    inset 0 1px 0 rgb(255 255 255 / 0.06);
}

.lgk-gd-home-bar__shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(0 212 170 / 0.1) 0%, transparent 40%, rgb(99 102 241 / 0.14) 100%);
  pointer-events: none;
}

.lgk-gd-promo--inline {
  position: relative;
  max-width: var(--page-width, 78rem);
  margin-inline: auto;
  padding: var(--lgk-gd-home-bar-pad) clamp(1rem, 3vw, 2rem);
}

/* ——— Bandeau fixe bas de page ——— */

.lgk-gd-cross {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  visibility: hidden;
}

.lgk-gd-cross.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

html.lgk-gd-cross-active {
  scroll-padding-bottom: var(--lgk-gd-cross-offset, 5.5rem);
}

html.lgk-gd-cross-active body {
  padding-bottom: var(--lgk-gd-cross-offset, 5.5rem);
}

.lgk-gd-cross__bar {
  position: relative;
  border-top: 2px solid transparent;
  background:
    linear-gradient(180deg, rgb(99 102 241 / 0.35) 0%, transparent 2px),
    linear-gradient(135deg, #1e1b4b 0%, #312e81 38%, #1e3a5f 72%, #0f172a 100%);
  box-shadow:
    0 -8px 40px rgb(0 0 0 / 0.55),
    0 -2px 0 rgb(99 102 241 / 0.5);
}

.lgk-gd-cross__bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(0 212 170 / 0.08) 0%, transparent 35%, rgb(99 102 241 / 0.12) 100%);
  pointer-events: none;
}

.lgk-gd-cross__container {
  position: relative;
  max-width: var(--page-width, 78rem);
  margin-inline: auto;
  padding: 1rem clamp(1rem, 3vw, 2rem) calc(1rem + env(safe-area-inset-bottom, 0px));
}

.lgk-gd-cross__container .lgk-gd-promo {
  gap: 1rem 1.25rem;
}

@media screen and (max-width: 749px) {
  .lgk-gd-promo {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      'icon body close'
      'cta cta cta';
    gap: 0.75rem 0.85rem;
  }

  .lgk-gd-promo--inline {
    grid-template-areas:
      'icon body body'
      'cta cta cta';
  }

  .lgk-gd-promo__icon {
    grid-area: icon;
    width: 2.5rem;
    height: 2.5rem;
  }

  .lgk-gd-promo__icon svg {
    width: 22px;
    height: 22px;
  }

  .lgk-gd-promo__body {
    grid-area: body;
  }

  .lgk-gd-promo__cta {
    grid-area: cta;
    width: 100%;
    margin-top: 0.15rem;
    padding-block: 0.85rem;
  }

  .lgk-gd-promo__close {
    grid-area: close;
    justify-self: end;
  }

  .lgk-gd-promo__desc {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lgk-gd-cross,
  .lgk-gd-promo__cta,
  .lgk-gd-promo__cta-arrow {
    transition: none;
  }
}

/* ——— Menu header & navigation ——— */

.lgk-gd-menu-nav-item {
  display: flex;
  align-items: center;
}

.lgk-gd-menu-link {
  text-decoration: none !important;
}

.lgk-gd-menu-link--header {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgb(0 212 170 / 0.55);
  background: linear-gradient(135deg, rgb(0 212 170 / 0.22), rgb(99 102 241 / 0.28));
  color: #fff !important;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgb(0 212 170 / 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lgk-gd-menu-link--header:hover {
  transform: translateY(-1px);
  border-color: rgb(0 212 170 / 0.85);
  box-shadow: 0 6px 22px rgb(0 212 170 / 0.35);
}

.lgk-gd-menu-link--header .lgk-gd-menu-link__icon {
  display: inline-flex;
  color: #7ef0d8;
}

.lgk-gd-menu-link--header strong {
  font-weight: 800;
  color: #c7d2fe;
}

.lgk-gd-menu-link--header-compact {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.5rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgb(0 212 170 / 0.5);
  background: rgb(0 212 170 / 0.15);
  color: #fff !important;
  font-size: 0.75rem;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.lgk-gd-menu-link--header-compact:hover {
  background: rgb(0 212 170 / 0.28);
  border-color: rgb(0 212 170 / 0.75);
}

.lgk-gd-menu-link--header-compact .lgk-gd-menu-link__icon {
  display: inline-flex;
  color: #7ef0d8;
}

.lgk-gd-menu-link--header-compact .lgk-gd-menu-link__short {
  color: #e0e7ff;
}

.lgk-gd-menu-promo--drawer {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  padding: 0.75rem 0.75rem 0.35rem;
}

.lgk-gd-menu-link--drawer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgb(99 102 241 / 0.55);
  background:
    linear-gradient(135deg, rgb(99 102 241 / 0.35) 0%, rgb(0 212 170 / 0.18) 100%),
    rgb(15 23 42 / 0.85);
  color: #fff !important;
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.lgk-gd-menu-link--drawer:hover {
  transform: translateY(-1px);
  border-color: rgb(0 212 170 / 0.65);
}

.lgk-gd-menu-link__drawer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: rgb(255 255 255 / 0.1);
  color: #c7d2fe;
}

.lgk-gd-menu-link__drawer-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.lgk-gd-menu-link__drawer-eyebrow {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7ef0d8;
}

.lgk-gd-menu-link__drawer-title {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.lgk-gd-menu-link__drawer-title strong {
  color: #c7d2fe;
}

.lgk-gd-menu-link__drawer-desc {
  font-size: 0.75rem;
  color: rgb(255 255 255 / 0.78);
}

.lgk-gd-menu-promo--sidebar {
  padding: 0.85rem 0.75rem 0.35rem;
}

@media screen and (min-width: 1000px) {
  .header__gd-web-link--compact {
    display: none;
  }
}

@media screen and (max-width: 999px) {
  .lgk-gd-menu-nav-item {
    display: none;
  }
}

