/* Asset Management — "Notre Gouvernance" as an organisation chart. */

.gov {
  max-width: 1180px;
  margin: 0 auto;
}

/* Intro: photo + statement. */
.gov__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  margin-top: clamp(28px, 3.4vw, 48px);
}

.gov__photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 16 / 11;
  box-shadow: 0 30px 70px rgba(16, 43, 79, 0.18);
}

.gov__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  background: linear-gradient(180deg, transparent 60%, rgba(8, 35, 61, 0.28));
  pointer-events: none;
}

.gov__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gov__copy {
  position: relative;
  padding-left: clamp(20px, 2.4vw, 32px);
  border-left: 2px solid #00a3b4;
}

.gov__message {
  margin: 0 0 18px !important;
  color: #1c355e !important;
  font-size: clamp(1.6rem, 2.6vw, 2.25rem) !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  text-align: left !important;
}

.gov__lede {
  margin: 0 !important;
  color: #4d5f7a !important;
  font-size: clamp(1rem, 1.2vw, 1.12rem) !important;
  line-height: 1.75 !important;
  text-align: left !important;
}

/* Chart. */
.gov__chart {
  position: relative;
  margin-top: clamp(48px, 6vw, 80px);
}

.gov__apex {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 640px;
  margin: 0 auto;
  padding: 26px 32px;
  border-radius: 20px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(0, 218, 226, 0.22), transparent 55%),
    linear-gradient(135deg, #173a63 0%, #0b2440 100%);
  box-shadow: 0 26px 60px rgba(8, 35, 61, 0.28);
  color: #ffffff;
}

.gov__apex .gov__icon {
  background: rgba(255, 255, 255, 0.12);
  color: #7fe9ef;
}

.gov__apex .gov__title {
  color: #ffffff !important;
  font-size: clamp(1.3rem, 1.8vw, 1.55rem) !important;
}

.gov__apex .gov__text {
  color: rgba(255, 255, 255, 0.78) !important;
}

/* Connector from the board down to the four branches. */
.gov__nodes {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  margin-top: 64px;
}

.gov__nodes::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -64px;
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, rgba(0, 163, 180, 0.2), #00a3b4);
}

.gov__nodes::after {
  content: "";
  position: absolute;
  top: -32px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: #00a3b4;
  opacity: 0.55;
}

.gov__node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px 28px;
  border: 1px solid rgba(28, 53, 94, 0.09);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(16, 43, 79, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Drop line from the horizontal rail to each card. */
.gov__node::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -32px;
  width: 1px;
  height: 32px;
  background: #00a3b4;
  opacity: 0.55;
}

.gov__node::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00a3b4;
  transform: translateX(-50%);
}

.gov__node:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 163, 180, 0.3);
  box-shadow: 0 26px 56px rgba(16, 43, 79, 0.12);
}

.gov__num {
  position: absolute;
  top: 22px;
  right: 22px;
  color: rgba(28, 53, 94, 0.18);
  font-size: 1.6rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.gov__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: rgba(0, 163, 180, 0.09);
  color: #00a3b4;
}

.gov__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gov__title {
  margin: 4px 0 0 !important;
  color: #1c355e !important;
  font-size: 1.12rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-align: left !important;
}

.gov__text {
  margin: 0 !important;
  color: #4d5f7a !important;
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
  text-align: left !important;
  hyphens: none;
}

@media (max-width: 1080px) {
  .gov__nodes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gov__nodes::after {
    left: 25%;
    right: 25%;
  }

  .gov__node:nth-child(n + 3)::before,
  .gov__node:nth-child(n + 3)::after {
    display: none;
  }
}

/* Mobile: intro stacked, chart as a vertical timeline. */
@media (max-width: 700px) {
  .gov__intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .gov__copy {
    padding-left: 18px;
  }

  .gov__apex {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 22px;
  }

  .gov__nodes {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
    padding-left: 26px;
  }

  .gov__nodes::before {
    left: 6px;
    top: -28px;
    height: calc(100% + 28px - 40px);
    background: linear-gradient(180deg, #00a3b4, rgba(0, 163, 180, 0.25));
  }

  .gov__nodes::after {
    display: none;
  }

  .gov__node {
    padding: 22px 20px 22px;
  }

  .gov__node::before,
  .gov__node:nth-child(n + 3)::before {
    display: block;
    left: -20px;
    top: 36px;
    width: 20px;
    height: 1px;
  }

  .gov__node::after,
  .gov__node:nth-child(n + 3)::after {
    display: block;
    left: -20px;
    top: 33px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gov__node {
    transition: none;
  }
}

/* Asset Management — "Nos clients": client types orbiting the company. */
.clients-orbit {
  max-width: 760px;
  margin: clamp(28px, 3.6vw, 48px) auto 0;
}

.clients-orbit__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.86;
}

.clients-orbit__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.clients-orbit__lines line {
  stroke: #00a3b4;
  stroke-width: 0.18;
  stroke-opacity: 0.45;
  vector-effect: non-scaling-stroke;
}

.clients-orbit__lines line {
  stroke-width: 1;
}

.clients-orbit__ring {
  fill: none;
  stroke: rgba(28, 53, 94, 0.22);
  stroke-width: 1;
  stroke-dasharray: 2 6;
  vector-effect: non-scaling-stroke;
  transform-origin: 50% 50%;
  animation: clients-orbit-spin 90s linear infinite;
}

@keyframes clients-orbit-spin {
  to { transform: rotate(360deg); }
}

/* Centre: the company, in a double-ringed medallion. */
.clients-orbit__core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 30%;
  aspect-ratio: 1;
  padding: 5%;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 163, 180, 0.35);
  box-shadow:
    0 0 0 12px rgba(255, 255, 255, 0.85),
    0 0 0 13px rgba(0, 163, 180, 0.18),
    0 30px 60px rgba(16, 43, 79, 0.14);
  transform: translate(-50%, -50%);
}

.clients-orbit__core img {
  width: 100%;
  height: auto;
}

.clients-orbit__nodes {
  margin: 0;
  padding: 0;
  list-style: none;
}

.clients-orbit__node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  padding: 12px 20px 12px 14px !important;
  border: 1px solid rgba(28, 53, 94, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(16, 43, 79, 0.1);
  backdrop-filter: blur(6px);
  white-space: nowrap;
  /* "translate" composes with the reveal animation's transform. */
  translate: -50% -50%;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.clients-orbit__node::before {
  content: none !important;
}

.clients-orbit__node:hover {
  border-color: rgba(0, 163, 180, 0.4);
  box-shadow: 0 18px 40px rgba(16, 43, 79, 0.16);
}

.clients-orbit__dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00a3b4;
  box-shadow: 0 0 0 4px rgba(0, 163, 180, 0.14);
}

.clients-orbit__name {
  color: #1c355e;
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Mobile: the company on top, clients along a vertical line. */
@media (max-width: 700px) {
  .clients-orbit__stage {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .clients-orbit__lines {
    display: none;
  }

  .clients-orbit__core {
    position: relative;
    left: auto;
    top: auto;
    width: 150px;
    transform: none;
  }

  .clients-orbit__nodes {
    position: relative;
    display: grid;
    gap: 14px;
    width: 100%;
    max-width: 320px;
    margin-top: 34px;
    padding-left: 26px;
  }

  .clients-orbit__nodes::before {
    content: "";
    position: absolute;
    left: 6px;
    top: -34px;
    bottom: 24px;
    width: 1px;
    background: linear-gradient(180deg, rgba(0, 163, 180, 0.2), #00a3b4);
  }

  .clients-orbit__node {
    position: relative;
    left: auto;
    top: auto;
    translate: none;
    white-space: normal;
  }

  .clients-orbit__node::after {
    content: "";
    position: absolute;
    left: -20px;
    top: 50%;
    width: 20px;
    height: 1px;
    background: #00a3b4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clients-orbit__ring {
    animation: none;
  }
}

/* Detailed orbit (Corporate Finance): each client is a small card with a description. */
.clients-orbit--detailed {
  max-width: 1120px;
}

.clients-orbit--detailed .clients-orbit__stage {
  aspect-ratio: 1 / 0.72;
}

.clients-orbit--detailed .clients-orbit__core {
  width: 22%;
}

.clients-orbit--detailed .clients-orbit__node {
  align-items: flex-start;
  gap: 12px;
  width: clamp(220px, 24%, 270px);
  padding: 16px 18px 18px 16px !important;
  border-radius: 18px;
  white-space: normal;
}

.clients-orbit--detailed .clients-orbit__dot {
  margin-top: 6px;
}

.clients-orbit__body {
  display: grid;
  gap: 6px;
}

.clients-orbit--detailed .clients-orbit__name {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.clients-orbit__desc {
  color: #4d5f7a;
  font-size: 0.86rem;
  line-height: 1.55;
}

@media (max-width: 960px) and (min-width: 701px) {
  .clients-orbit--detailed .clients-orbit__node {
    width: 200px;
  }

  .clients-orbit__desc {
    font-size: 0.8rem;
  }
}

@media (max-width: 700px) {
  .clients-orbit--detailed .clients-orbit__stage {
    aspect-ratio: auto;
  }

  .clients-orbit--detailed .clients-orbit__core {
    width: 150px;
  }

  .clients-orbit--detailed .clients-orbit__nodes {
    max-width: 360px;
  }

  .clients-orbit--detailed .clients-orbit__node {
    width: auto;
  }

  .clients-orbit--detailed .clients-orbit__node::after {
    top: 26px;
  }
}

/* Four clients: wider stage so left/right cards clear the centre. */
.clients-orbit--detailed .clients-orbit__stage:has(.clients-orbit__node:nth-child(4):last-child) {
  aspect-ratio: 1 / 0.66;
}

/* Dark sections (Real Estate video background). */
.clients-orbit--dark .clients-orbit__ring {
  stroke: rgba(255, 255, 255, 0.35);
}

.clients-orbit--dark .clients-orbit__lines line {
  stroke: #7fe9ef;
  stroke-opacity: 0.6;
}

.clients-orbit--dark .clients-orbit__core {
  box-shadow:
    0 0 0 12px rgba(255, 255, 255, 0.12),
    0 0 0 13px rgba(127, 233, 239, 0.35),
    0 30px 60px rgba(0, 0, 0, 0.35);
}

@media (max-width: 700px) {
  .clients-orbit--dark .clients-orbit__nodes::before {
    background: linear-gradient(180deg, rgba(127, 233, 239, 0.25), #7fe9ef);
  }

  .clients-orbit--dark .clients-orbit__node::after {
    background: #7fe9ef;
  }
}

.clients-orbit--dark .clients-orbit__node {
  border-color: rgba(255, 255, 255, 0.6);
  background: #ffffff !important;
}

.clients-orbit .clients-orbit__node .clients-orbit__name {
  color: #1c355e !important;
  font-weight: 600 !important;
}

.clients-orbit .clients-orbit__node .clients-orbit__desc {
  color: #4d5f7a !important;
}

/* Asset Management — investment philosophy: interactive tabs. */
.am-tabs { width: min(1080px, calc(100% - 48px)); margin: 0 auto; }
.am-tabs__head { text-align: center; }
body .am-tabs h2.am-tabs__title { margin: 0 !important; color: #1c355e !important; font-size: clamp(2rem, 4vw, 3.1rem) !important; font-weight: 300 !important; line-height: 1.1 !important; text-align: center !important; }
body .am-tabs p.am-tabs__intro { margin: 14px 0 0 !important; color: #5b6b82 !important; font-size: 1.08rem !important; text-align: center !important; }
.am-tabs__list {
  display: flex; justify-content: center; gap: 6px; width: fit-content; max-width: 100%; margin: clamp(30px, 3.6vw, 44px) auto 0; padding: 6px;
  border: 1px solid #e3e9f0; border-radius: 999px; background: #fff; box-shadow: 0 10px 30px rgba(16, 43, 79, .06); overflow-x: auto;
}
.am-tabs__tab {
  flex: none; padding: 12px 24px; border: 0; border-radius: 999px; background: transparent; color: #4d5f7a;
  font: inherit; font-size: .98rem; font-weight: 500; white-space: nowrap; cursor: pointer; transition: background-color .25s, color .25s;
}
.am-tabs__tab:hover { color: #1c355e; }
.am-tabs__tab.is-active { background: #1c355e; color: #fff; }
.am-tabs__tab:focus-visible { outline: 2px solid #00a3b4; outline-offset: 2px; }
.am-tabs__panels { position: relative; margin-top: clamp(26px, 3vw, 40px); }
.am-tabs__panel {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(30px, 4vw, 56px); border: 1px solid #e3e9f0; border-radius: 24px; background: #fff; box-shadow: 0 30px 70px rgba(16, 43, 79, .08);
}
.js .am-tabs__panel:not(.is-active) { display: none; }
.am-tabs__panel.is-active { animation: am-tabs-in .45s ease; }
@keyframes am-tabs-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.am-tabs__art {
  display: grid; place-items: center; aspect-ratio: 1; width: min(100%, 300px); margin-inline: auto; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #ffffff, #e6f6f8 60%, #d3eff2);
  box-shadow: inset 0 0 0 1px rgba(0, 163, 180, .15), 0 0 0 18px rgba(0, 163, 180, .05);
}
.am-tabs__art .cf-positioning-card__icon-art { width: 46% !important; height: 46% !important; margin: 0 !important; background-size: contain !important; }
.am-tabs__count { margin: 0 0 10px !important; color: #00a3b4 !important; font-size: .78rem !important; font-weight: 600; letter-spacing: .22em; text-align: left !important; font-variant-numeric: tabular-nums; }
body .am-tabs h3.am-tabs__name { margin: 0 0 16px !important; color: #1c355e !important; font-size: clamp(1.6rem, 2.8vw, 2.2rem) !important; font-weight: 400 !important; line-height: 1.15 !important; text-align: left !important; }
body .am-tabs p.am-tabs__text { margin: 0 !important; max-width: 34em; color: #4d5f7a !important; font-size: clamp(1.02rem, 1.3vw, 1.14rem) !important; line-height: 1.8 !important; text-align: left !important; text-align-last: left !important; hyphens: none; }
@media (max-width: 760px) {
  .am-tabs__list { justify-content: flex-start; width: 100%; border-radius: 16px; }
  .am-tabs__tab { padding: 10px 16px; font-size: .9rem; }
  .am-tabs__panel { grid-template-columns: 1fr; text-align: left; }
  .am-tabs__art { width: 160px; }
}
@media (prefers-reduced-motion: reduce) { .am-tabs__panel.is-active { animation: none; } }
body .am-tabs .am-tabs__head p.am-tabs__intro, body .am-tabs .am-tabs__head h2.am-tabs__title { text-align: center !important; text-align-last: center !important; margin-inline: auto !important; }

/* Governance: board and committees without connecting lines. */
body .gov .gov__nodes { margin-top: clamp(28px, 3vw, 40px) !important; }
body .gov .gov__nodes::before,
body .gov .gov__nodes::after,
body .gov .gov__node::before,
body .gov .gov__node::after { display: none !important; content: none !important; }
