/* Accueil éditorial LBG — maison de marques. Chargé en dernier pour isoler la refonte. */
.brand-gateway.gateway-editorial {
  --gateway-ink: #201f1d;
  --gateway-cream: #f2eee5;
  --gateway-line: rgba(255, 255, 255, .23);
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100dvh;
  padding: 0;
  overflow: auto;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(18, 18, 17, .72) 0%, rgba(22, 21, 19, .42) 45%, rgba(18, 18, 17, .58) 100%),
    linear-gradient(180deg, rgba(14, 15, 14, .16), rgba(13, 13, 12, .72)),
    url('/gateway-coast-desktop.jpeg') center / cover fixed no-repeat;
  opacity: 1;
  transition: opacity .35s ease, transform .35s ease;
}

.brand-gateway.gateway-editorial.hidden {
  display: none;
}

.brand-gateway.gateway-editorial.leaving {
  opacity: 0;
  transform: scale(1.012);
  pointer-events: none;
}

.gateway-editorial .gateway-editorial-shade {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 12%, rgba(220, 172, 120, .13), transparent 28%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 66%, rgba(0, 0, 0, .2));
}

.gateway-editorial .gateway-editorial-head {
  position: relative;
  inset: auto;
  z-index: 4;
  width: min(1420px, calc(100% - 44px));
  max-width: none;
  min-height: 70px;
  margin: 18px auto 0;
  padding: 10px 14px 10px 19px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, .19);
  border-radius: 13px;
  color: #fff;
  background: rgba(29, 28, 26, .28);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .12);
  backdrop-filter: blur(17px) saturate(120%);
  -webkit-backdrop-filter: blur(17px) saturate(120%);
}

.gateway-editorial .gateway-lively {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 15px;
  color: inherit;
  text-decoration: none;
}

.gateway-editorial .gateway-lively img {
  display: block;
  width: 92px;
  height: auto;
  filter: brightness(0) invert(1);
}

.gateway-editorial .gateway-lively span {
  padding-left: 15px;
  border-left: 1px solid rgba(255, 255, 255, .36);
  font-size: 9px;
  line-height: 1.35;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.gateway-editorial .gateway-main-nav {
  display: flex;
  width: auto;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 38px);
}

.gateway-editorial .gateway-main-nav a {
  position: relative;
  padding: 9px 0;
  color: rgba(255, 255, 255, .78);
  font-size: 10px;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease;
}

.gateway-editorial .gateway-main-nav a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform .2s ease;
}

.gateway-editorial .gateway-main-nav a:hover,
.gateway-editorial .gateway-main-nav a:focus-visible { color: #fff; }
.gateway-editorial .gateway-main-nav a:hover::after,
.gateway-editorial .gateway-main-nav a:focus-visible::after { transform: scaleX(1); }

.gateway-editorial .gateway-user-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.gateway-editorial .gateway-team-button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 9px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.gateway-editorial .gateway-team-button:hover { background: rgba(255, 255, 255, .15); }

.gateway-editorial .welcome-user {
  min-height: 44px;
  padding: 4px 7px 4px 5px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  color: #fff;
  background: transparent;
}

.gateway-editorial .welcome-user > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  font-size: 10px;
}

.gateway-editorial .welcome-user div { display: grid; gap: 1px; }
.gateway-editorial .welcome-user small { color: rgba(255, 255, 255, .6); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.gateway-editorial .welcome-user strong { color: #fff; font-size: 11px; font-weight: 600; }
.gateway-editorial .welcome-user i { margin-left: 3px; color: rgba(255, 255, 255, .7); font-style: normal; }

.gateway-editorial .gateway-editorial-main {
  width: min(1420px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(44px, 6vh, 78px) 0 36px;
}

.gateway-editorial .gateway-editorial-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
}

.gateway-editorial .gateway-copy {
  max-width: 820px;
  margin: 0;
  text-align: left;
}

.gateway-editorial .gateway-copy > span {
  display: block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, .76);
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.gateway-editorial .gateway-copy h1 {
  max-width: 800px;
  margin: 0;
  color: #f6f1e8;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(50px, 6.5vw, 96px);
  font-weight: 400;
  line-height: .91;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.gateway-editorial .gateway-copy p {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
  line-height: 1.7;
}

.gateway-editorial .universe-heading {
  max-width: none;
  margin: clamp(46px, 6vh, 72px) 0 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: rgba(255, 255, 255, .68);
}

.gateway-editorial .universe-heading span,
.gateway-editorial .universe-heading b {
  flex: 0 0 auto;
  color: inherit;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.gateway-editorial .universe-heading b { color: rgba(255, 255, 255, .5); }
.gateway-editorial .universe-heading i { height: 1px; flex: 1; background: linear-gradient(90deg, rgba(255,255,255,.45), rgba(255,255,255,.08)); }

.gateway-editorial .gateway-universe-layout {
  display: grid;
  grid-template-columns: minmax(320px, .96fr) minmax(650px, 1.62fr);
  gap: 13px;
}

.gateway-editorial .gateway-universe-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.gateway-editorial .universe-card {
  --card-accent: #b3704e;
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 224px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(105px, 35%) minmax(0, 1fr);
  gap: 17px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 5px;
  color: var(--gateway-ink);
  background: rgba(246, 240, 229, .92);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .17);
  text-align: left;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gateway-editorial .universe-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--card-accent) 20%, transparent), transparent 42%);
  opacity: .75;
}

.gateway-editorial a.universe-card:hover,
.gateway-editorial button.universe-card:hover {
  z-index: 2;
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, .68);
  box-shadow: 0 28px 64px rgba(0, 0, 0, .27);
}

.gateway-editorial .universe-card:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.gateway-editorial .universe-arrow {
  position: absolute;
  top: 15px;
  right: 16px;
  z-index: 2;
  color: color-mix(in srgb, var(--card-accent) 86%, #111);
  font-size: 18px;
  font-weight: 400;
}

.gateway-editorial .universe-logo {
  min-width: 0;
  min-height: 150px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(31, 30, 28, .07);
  border-radius: 3px;
  background: rgba(255, 255, 255, .46);
}

.gateway-editorial .universe-logo img {
  --logo-scale: 1;
  --logo-hover: 1.04;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
  object-position: center;
  transform: scale(var(--logo-scale));
  transform-origin: center;
  filter: none;
  transition: transform .35s ease;
}

.gateway-editorial a.universe-card:hover .universe-logo img,
.gateway-editorial button.universe-card:hover .universe-logo img { transform: scale(var(--logo-hover)); }

.gateway-editorial .universe-copy {
  min-width: 0;
  padding: 19px 15px 7px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.gateway-editorial .universe-copy small {
  min-height: 21px;
  padding-right: 22px;
  color: color-mix(in srgb, var(--card-accent) 85%, #393632);
  font-size: 7px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.gateway-editorial .universe-copy h2 {
  margin: 9px 0 7px;
  color: #292723;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(21px, 1.55vw, 28px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.025em;
}

.gateway-editorial .universe-copy p {
  margin: 0 0 12px;
  color: #746f68;
  font-size: 10px;
  line-height: 1.55;
}

.gateway-editorial .universe-copy strong {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--card-accent) 24%, transparent);
  color: #423e38;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.gateway-editorial .universe-copy strong i { margin-left: 4px; color: var(--card-accent); font-style: normal; }

.gateway-editorial .universe-card > em {
  position: absolute;
  right: 15px;
  bottom: 12px;
  color: rgba(40, 38, 35, .35);
  font-size: 6px;
  font-style: normal;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.gateway-editorial .universe-feature {
  --card-accent: #a86443;
  min-height: 461px;
  padding: 26px;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(190px, 1fr) auto;
  gap: 20px;
  background: rgba(239, 229, 214, .94);
}

.gateway-editorial .universe-feature .universe-logo {
  min-height: 200px;
  padding: 32px;
  background: linear-gradient(145deg, rgba(255,255,255,.66), rgba(210,180,145,.2));
}

.gateway-editorial .universe-feature .universe-logo img { --logo-scale: 1.22; --logo-hover: 1.27; max-height: 230px; }
.gateway-editorial .universe-feature .universe-copy { padding: 0 56px 5px 4px; }
.gateway-editorial .universe-feature .universe-copy h2 { max-width: 390px; font-size: clamp(31px, 2.4vw, 43px); }
.gateway-editorial .universe-feature .universe-copy p { max-width: 420px; font-size: 11px; }

.gateway-editorial .casa-choice { --card-accent: #b55c36; background: rgba(240, 219, 199, .94); }
.gateway-editorial .casa-choice .universe-logo { background: #e5cfb4; }
.gateway-editorial .casa-choice .universe-logo img { --logo-scale: 1.48; --logo-hover: 1.54; }

.gateway-editorial .studio-choice { --card-accent: #242220; background: rgba(241, 236, 225, .95); }
.gateway-editorial .studio-choice .universe-logo { background: rgba(255, 255, 255, .58); }
.gateway-editorial .studio-choice .universe-logo img { --logo-scale: 1.54; --logo-hover: 1.60; }

.gateway-editorial .clean-choice { --card-accent: #2f6577; background: rgba(229, 240, 241, .95); }
.gateway-editorial .clean-choice .universe-logo { background: rgba(255, 255, 255, .62); }
.gateway-editorial .clean-choice .universe-logo img { --logo-scale: 2.62; --logo-hover: 2.68; }

.gateway-editorial .msce-choice { --card-accent: #745f58; background: rgba(232, 215, 208, .95); }
.gateway-editorial .msce-choice .universe-logo { background: #e5d2cc; }
.gateway-editorial .msce-choice .universe-logo img { --logo-scale: 1.24; --logo-hover: 1.30; }

.gateway-editorial .alta-choice { --card-accent: #314858; background: rgba(220, 229, 229, .93); }
.gateway-editorial .alta-choice .universe-logo { background: #252b36; }
.gateway-editorial .alta-choice .universe-logo img { --logo-scale: 1.48; --logo-hover: 1.54; }
.gateway-editorial .journeys-choice { --card-accent: #785d40; background: rgba(237, 226, 207, .94); }
.gateway-editorial .journeys-choice .universe-logo { background: #35463d; }
.gateway-editorial .journeys-choice .universe-logo img { --logo-scale: 1.78; --logo-hover: 1.84; }

.gateway-editorial .universe-card.is-coming {
  cursor: default;
}

.gateway-editorial .universe-card.is-coming .universe-arrow {
  top: 17px;
  padding: 5px 8px;
  border: 1px solid color-mix(in srgb, var(--card-accent) 28%, transparent);
  border-radius: 99px;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.gateway-editorial .universe-card.is-coming .universe-copy strong { color: #847e75; }

.gateway-editorial .gateway-editorial-footer {
  position: relative;
  inset: auto;
  width: min(1420px, calc(100% - 44px));
  min-height: 63px;
  margin: auto auto 0;
  padding: 19px 0 24px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-top: 1px solid var(--gateway-line);
  color: rgba(255, 255, 255, .55);
  font-size: 7px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.gateway-editorial .gateway-editorial-footer > i { width: 3px; height: 3px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.gateway-editorial .gateway-editorial-footer > b { margin-left: auto; color: rgba(255,255,255,.72); font-family: Georgia, serif; font-size: 10px; font-weight: 400; letter-spacing: .09em; }
.gateway-editorial .gateway-editorial-footer nav { display: flex; flex-direction: row; gap: 15px; margin-left: 18px; }
.gateway-editorial .gateway-editorial-footer a { color: inherit; text-decoration: none; }
.gateway-editorial .gateway-editorial-footer a:hover { color: #fff; }

@media (max-width: 1160px) {
  .gateway-editorial .gateway-editorial-head,
  .gateway-editorial .gateway-editorial-main,
  .gateway-editorial .gateway-editorial-footer { width: min(100% - 36px, 980px); }

  .gateway-editorial .gateway-main-nav { gap: 17px; }
  .gateway-editorial .gateway-main-nav a { font-size: 8px; }
  .gateway-editorial .gateway-universe-layout { grid-template-columns: 1fr; }
  .gateway-editorial .universe-feature { min-height: 340px; grid-template-columns: 38% 1fr; grid-template-rows: 1fr; align-items: stretch; }
  .gateway-editorial .universe-feature .universe-logo { min-height: 285px; }
  .gateway-editorial .universe-feature .universe-copy { justify-content: center; padding: 30px 65px 30px 8px; }
}

@media (max-width: 840px) {
  .gateway-editorial .gateway-editorial-head { grid-template-columns: auto 1fr; }
  .gateway-editorial .gateway-main-nav { display: none; }
  .gateway-editorial .gateway-copy h1 { font-size: clamp(52px, 11vw, 78px); }
  .gateway-editorial .gateway-editorial-footer > b { display: none; }
  .gateway-editorial .gateway-editorial-footer nav { margin-left: auto; }
}

@media (max-width: 700px) {
  .brand-gateway.gateway-editorial {
    background:
      linear-gradient(180deg, rgba(16, 17, 16, .48) 0%, rgba(20, 19, 17, .55) 38%, rgba(17, 16, 15, .8) 100%),
      url('/gateway-coast-mobile.jpeg') center top / cover fixed no-repeat;
  }

  .gateway-editorial .gateway-editorial-head,
  .gateway-editorial .gateway-editorial-main,
  .gateway-editorial .gateway-editorial-footer { width: calc(100% - 28px); }

  .gateway-editorial .gateway-editorial-head {
    min-height: 62px;
    margin-top: max(10px, env(safe-area-inset-top));
    padding: 8px 9px 8px 13px;
    gap: 8px;
    border-radius: 11px;
  }

  .gateway-editorial .gateway-lively { gap: 9px; }
  .gateway-editorial .gateway-lively img { width: 77px; }
  .gateway-editorial .gateway-lively span { padding-left: 9px; font-size: 6px; letter-spacing: .13em; }
  .gateway-editorial .gateway-user-actions { gap: 3px; }
  .gateway-editorial .gateway-team-button { width: 38px; min-height: 38px; padding: 0; overflow: hidden; color: transparent; font-size: 0; }
  .gateway-editorial .gateway-team-button span { color: #fff; font-size: 16px; }
  .gateway-editorial .welcome-user { min-height: 38px; padding: 2px; }
  .gateway-editorial .welcome-user > span { width: 32px; height: 32px; }
  .gateway-editorial .welcome-user div,
  .gateway-editorial .welcome-user i { display: none; }

  .gateway-editorial .gateway-editorial-main { padding: 54px 0 27px; }
  .gateway-editorial .gateway-copy > span { margin-bottom: 11px; font-size: 8px; letter-spacing: .22em; }
  .gateway-editorial .gateway-copy h1 { max-width: 520px; font-size: clamp(44px, 15.2vw, 68px); line-height: .94; letter-spacing: -.055em; }
  .gateway-editorial .gateway-copy p { margin-top: 18px; font-size: 11px; line-height: 1.62; }
  .gateway-editorial .universe-heading { margin: 44px 0 13px; gap: 8px; }
  .gateway-editorial .universe-heading span,
  .gateway-editorial .universe-heading b { font-size: 6px; letter-spacing: .14em; }
  .gateway-editorial .universe-heading b { max-width: 125px; line-height: 1.4; text-align: right; }

  .gateway-editorial .gateway-universe-grid { grid-template-columns: 1fr; gap: 10px; }
  .gateway-editorial .gateway-universe-layout { gap: 10px; }
  .gateway-editorial .universe-card,
  .gateway-editorial .universe-feature {
    min-height: 210px;
    padding: 14px;
    grid-template-columns: minmax(100px, 36%) minmax(0, 1fr);
    grid-template-rows: 1fr;
    gap: 14px;
    border-radius: 5px;
  }

  .gateway-editorial .universe-logo,
  .gateway-editorial .universe-feature .universe-logo { min-height: 178px; padding: 9px; }
  .gateway-editorial .universe-logo img,
  .gateway-editorial .universe-feature .universe-logo img { max-height: 160px; }
  .gateway-editorial .universe-feature .universe-logo img { --logo-scale: 2.12; --logo-hover: 2.18; }
  .gateway-editorial .universe-copy,
  .gateway-editorial .universe-feature .universe-copy { justify-content: center; padding: 18px 16px 11px 0; }
  .gateway-editorial .universe-copy small { min-height: 0; padding-right: 0; font-size: 6px; }
  .gateway-editorial .universe-copy h2,
  .gateway-editorial .universe-feature .universe-copy h2 { margin: 7px 0 6px; font-size: clamp(19px, 6.3vw, 27px); }
  .gateway-editorial .universe-copy p,
  .gateway-editorial .universe-feature .universe-copy p { font-size: 9px; line-height: 1.45; }
  .gateway-editorial .universe-copy strong { padding-top: 8px; font-size: 6px; }
  .gateway-editorial .universe-card > em { display: none; }
  .gateway-editorial .universe-arrow { top: 11px; right: 12px; }
  .gateway-editorial .universe-card.is-coming .universe-arrow { top: 11px; right: 11px; }

  .gateway-editorial .gateway-editorial-footer {
    min-height: 0;
    padding: 18px 0 calc(24px + env(safe-area-inset-bottom));
    flex-wrap: wrap;
    gap: 7px 10px;
    font-size: 6px;
  }

  .gateway-editorial .gateway-editorial-footer nav { width: 100%; margin: 6px 0 0; flex-wrap: wrap; gap: 10px; }
}

@media (max-width: 430px) {
  .gateway-editorial .gateway-editorial-main { padding-top: 47px; }
  .gateway-editorial .universe-card,
  .gateway-editorial .universe-feature { min-height: 194px; grid-template-columns: 34% minmax(0, 1fr); gap: 11px; }
  .gateway-editorial .universe-logo,
  .gateway-editorial .universe-feature .universe-logo { min-height: 164px; }
  .gateway-editorial .universe-copy,
  .gateway-editorial .universe-feature .universe-copy { padding-right: 7px; }
  .gateway-editorial .universe-copy p { margin-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .gateway-editorial *,
  .gateway-editorial *::before,
  .gateway-editorial *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
