/* Tokens Genvil — rythme haute couture / private bank (FINMA) */
:root {
  --color-bg: #f5f2ed;
  --color-bg-white: #ffffff;
  --color-text: #3b403f;
  /* Muted un cran plus soutenu pour contraste ~4.5:1 sur crème (WCAG AA corps) */
  --color-text-muted: #5c6563;
  --color-heading: #163840;
  --color-teal-dark: #163840;
  --color-teal-deeper: #153741;
  --color-teal-footer: #163840;
  --color-teal-ink: #0a1f24;
  --color-cream-btn: #cdad7d;
  --color-cream-btn-text: #000000;
  --color-brass: #c4a572;
  --page-gutter: 72px;
  --color-nav: #ffffff;
  --color-nav-muted: #c1d4d6;
  --color-border: rgba(22, 56, 64, 0.12);
  --color-newsletter-btn: #9eb8bc;
  --font-body: "Lato", "DM Sans", sans-serif;
  --font-heading: "Outfit", "Lato", sans-serif;
  --font-ui: "Outfit", "DM Sans", sans-serif;
  --container: 1280px;
  --header-h: 115px;
  --radius: 0;
  /* Motion tokens — micro-interactions unifiées (ease-out couture) */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 0.2s;
  --duration: 0.35s;
  --duration-med: 0.45s;
  --duration-slow: 0.6s;
  --transition: var(--duration) var(--ease-out);
  /* Échelle verticale (multiple de 8) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 88px;
  --space-8: 112px;
  --space-section: clamp(72px, 9vw, 120px);
  --space-section-tight: clamp(48px, 6vw, 80px);
  /* Typo — lisibilité : corps ≥16–18px, line-height ≥1.5 (WCAG 1.4.8 / bonnes pratiques) */
  --text-body: 18px;
  --text-lead: 19px;
  --text-small: 15px;
  --text-nav: 16px;
  --leading-body: 1.65;
  --leading-tight: 1.25;
  --tracking-display: -0.025em;
  --tracking-label: 0.12em;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.has-mouse-helper,
body.has-mouse-helper * {
  cursor: none !important;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Focus visible — WCAG 2.4.7 : indicateur clavier net, non invasif à la souris */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--color-brass);
  outline-offset: 3px;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - (var(--page-gutter) * 2), var(--container));
  margin-inline: auto;
}

/* —— Header —— */
/* Toujours fixed : évite le « pop » absolute→fixed ; sticky = fond + hauteur seulement */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: height var(--duration-med) var(--ease-out),
    background var(--duration-med) var(--ease-out),
    border-color var(--duration-med) var(--ease-out),
    box-shadow var(--duration-med) var(--ease-out);
}

.site-header.is-sticky {
  height: 72px;
  background: rgba(22, 56, 64, 0.97);
  border-bottom-color: rgba(196, 165, 114, 0.22);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-header .logo img {
  transition: height var(--duration-med) var(--ease-out);
}

.site-header.is-sticky .logo img {
  height: 40px;
}

.site-header__inner {
  width: 100%;
  padding: 0 var(--page-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  height: 51px;
  width: auto;
}

/* Menu live: class menu_hover_zoom_line — underline 0→100% en 0.2s */
.nav {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav > li {
  position: relative;
}

.nav > li > a {
  display: block;
  color: var(--color-nav);
  font-family: var(--font-ui);
  font-size: var(--text-nav);
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 14px 12px;
  transition: color var(--duration) var(--ease-out);
}

.nav > li > a::after {
  content: "";
  display: block;
  position: relative;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width var(--duration) var(--ease-out);
}

.nav > li > a:hover::after,
.nav > li:hover > a::after,
.nav > li > a.is-active::after {
  width: 100%;
}

.nav__lang {
  padding: 14px 0 14px 12px !important;
}

.nav__lang::after {
  display: none !important;
}

.nav__lang img {
  transition: transform var(--duration) var(--ease-out),
    opacity var(--duration) var(--ease-out);
}

.nav__lang:hover img {
  transform: scale(1.06);
  opacity: 0.88;
}

/* Sous-menus (Clientèle / À propos / Actualités) */
.nav__sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  padding: 12px 0;
  background: #163840;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--duration) var(--ease-out),
    transform var(--duration) var(--ease-out),
    visibility var(--duration);
  z-index: 120;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.nav > li:hover > .nav__sub,
.nav > li:focus-within > .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__sub a {
  display: block;
  padding: 11px 24px;
  color: #c1d4d6;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 400;
  line-height: 1.45;
  transition: color var(--duration-fast) var(--ease-out),
    background var(--duration-fast) var(--ease-out);
}

.nav__sub a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.logo {
  transition: opacity var(--duration) var(--ease-out);
}

.logo:hover {
  opacity: 0.88;
}

.nav__lang img {
  display: block;
  width: 21px;
  height: 15px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

/* —— Hero —— */
/* Mesures live 1920×1080 après anim RS : title top 440 / left 150 / Outfit 112
   CTA top 806 / left 143 / h 56 / w 366 */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: #0a2a32 center center / cover no-repeat;
}

.hero--home {
  /* Full-res pour coller au crop/qualité live (l’optimisée 1536px était trop soft) */
  background-image: url("../images/AdobeStock_611360842-1.jpeg");
}

.hero__title {
  position: absolute;
  left: 150px;
  top: 40.74%; /* 440/1080 */
  margin: 0;
  max-width: calc(100% - 270px);
  font-family: var(--font-ui); /* Live RS-LAYER: Outfit */
  font-size: clamp(40px, 5.4vw, 104px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: var(--tracking-display);
  text-transform: uppercase;
  text-align: left;
  color: #fff;
}

.hero__cta-bar {
  position: absolute;
  left: 143px;
  top: 74.63%; /* 806/1080 */
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  font-family: var(--font-ui);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition), opacity var(--transition);
}

.btn--cream {
  /* Live RS data-frame_hover: c:#051521; bgc:#fff; boc:#fff; bow:2px */
  background: var(--color-cream-btn);
  color: var(--color-cream-btn-text);
  padding: 0 56px;
  height: 56px;
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: background var(--duration) var(--ease-out),
    color var(--duration) var(--ease-out),
    border-color var(--duration) var(--ease-out);
}

.btn--cream:hover {
  background: #fff;
  color: #051521;
  border-color: #fff;
}

.btn--dark {
  background: #2f3538;
  color: #fff;
  padding: 14px 22px;
  font-size: var(--text-small);
  letter-spacing: 0.06em;
  width: 100%;
  transition: background var(--duration) var(--ease-out),
    color var(--duration) var(--ease-out);
}

.btn--dark:hover {
  background: #163840;
  color: #fff;
}

.btn--newsletter {
  background: #50aab2;
  color: #fff;
  padding: 12px 20px;
  font-size: var(--text-small);
  margin-top: 12px;
  transition: background var(--duration) var(--ease-out);
}

.btn--newsletter:hover {
  background: #3d8f96;
}

/* Bouton slide ThemeREX (.sc_button_slide) */
.btn--slide {
  --slide-color: #3b403f;
  --slide-hover-text: #fff;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: none !important;
  color: var(--slide-color) !important;
  padding: 14px 28px;
  border: 0;
}

.btn--slide > span {
  position: relative;
  z-index: 2;
}

.btn--slide::before {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 2px var(--slide-color);
}

.btn--slide::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 120%;
  top: -10%;
  left: 0;
  background: currentColor;
  transform: translateX(-101%);
}

.btn--slide:hover::after {
  animation: button-slide-animation 1.2s cubic-bezier(0.34, 0.43, 0.13, 0.96) forwards;
}

.btn--slide:hover > span {
  animation: button-slide-text-animation 1.2s forwards;
}

@keyframes button-slide-animation {
  0% {
    transform: translateX(-101%);
  }
  50% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(101%);
  }
}

@keyframes button-slide-text-animation {
  0%,
  75%,
  100% {
    color: currentColor;
  }
  30%,
  50% {
    color: var(--slide-hover-text);
  }
}

/* —— Sections communes —— */
.section {
  padding: var(--space-section) 0;
}

.section--tight {
  padding: var(--space-section-tight) 0 var(--space-section);
}

.section__title {
  margin: 0 0 var(--space-4);
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.1vw, 44px);
  font-weight: 500;
  letter-spacing: var(--tracking-display);
  color: var(--color-heading);
  line-height: var(--leading-tight);
}

.section__lead {
  margin: 0 0 var(--space-3);
  max-width: 34em;
  font-size: var(--text-lead);
  line-height: var(--leading-body);
  color: var(--color-text-muted);
}

.section__lead strong {
  font-weight: 500;
  color: var(--color-text);
}

/* —— Univers —— */
.univers {
  padding: var(--space-section) 0 var(--space-section-tight);
}

.univers__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.univers__photos {
  display: grid;
  grid-template-columns: 300px 300px;
  gap: 30px;
  align-items: start;
  /* Live: 1er portrait ~29px au-dessus du titre « Notre univers » */
  margin-top: -29px;
}

.univers__photos figure {
  margin: 0;
  overflow: hidden;
  width: 300px;
  height: 450px;
}

/* Live: 2e portrait décalé de +20px */
.univers__photos figure:nth-child(2) {
  margin-top: 20px;
}

.univers__photos img {
  width: 300px;
  height: 450px;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--duration-slow) var(--ease-out);
}

.univers__photos figure:hover img {
  transform: scale(1.02);
}

.univers .section__title {
  margin-bottom: var(--space-3);
}

/* —— Valeurs —— */
.valeurs {
  padding-top: var(--space-3);
  padding-bottom: 0;
}

.valeurs > .container .section__title {
  margin-bottom: var(--space-5);
}

/* Valeurs = sc_services_qw-panel :
   - fond mosaïque
   - couches .valeurs__thumbs en mix-blend-mode:hue → hover d’une colonne teinte TOUTE la bande
   - overlay sombre + texte sur la colonne active */
.valeurs__band {
  position: relative;
  margin-top: 0;
  height: 600px;
  background: #0a2a32 center / cover no-repeat;
  background-image: url("../images/AdobeStock_611360842-1.jpeg");
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

/* Live: .sc_services_qw_panel_thumbs — teinte globale via hue blend */
.valeurs__thumbs {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #000;
  mix-blend-mode: hue;
}

.valeurs__thumb {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.valeurs__thumb.is-active {
  opacity: 1;
}

.valeur {
  position: relative;
  z-index: 2;
  height: 600px;
  padding: 44px 41px 44px;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  cursor: pointer;
}

.valeur:first-child {
  border-left: 0;
}

.valeur::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #3b403f;
  opacity: 0;
  transition: opacity var(--duration-med) var(--ease-out);
  z-index: -1;
}

.valeur:hover::after,
.valeur:focus-within::after,
.valeur.is-hot::after {
  opacity: 0.9;
}

.valeur__icon-wrap {
  transition: transform var(--duration-med) var(--ease-out),
    opacity var(--duration-med) var(--ease-out);
}

.valeur:hover .valeur__icon-wrap,
.valeur:focus-within .valeur__icon-wrap,
.valeur.is-hot .valeur__icon-wrap {
  transform: translateY(-15px);
  opacity: 0;
}

.valeur__icon {
  display: block;
  font-size: 29.33px;
  line-height: 1;
  color: #fff;
  width: 1em;
  height: 1em;
}

.valeur__bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 300px;
}

.valeur h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(22px, 1.7vw, 30px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #fff;
}

.valeur__text {
  margin: 0.75rem 0 0;
  font-size: var(--text-small);
  line-height: 1.6;
  color: #fff;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity var(--duration-med) var(--ease-out),
    max-height var(--duration-med) var(--ease-out),
    margin var(--duration-med) var(--ease-out);
}

.valeur:hover .valeur__text,
.valeur:focus-within .valeur__text,
.valeur.is-hot .valeur__text {
  opacity: 0.85;
  max-height: 220px;
}

/* —— Services —— */
/* Rythme private bank : filets fins, grille aérée, hover discret */
/* Surface crème (corps de page) — contraste avec Processus blanc qui suit */
.services {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section-tight);
  background: var(--color-bg);
}

.services > .container:first-child {
  margin-bottom: var(--space-6);
}

.services__intro {
  max-width: 34em;
  margin: 0;
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-text-muted);
}

.services__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(22, 56, 64, 0.14);
}

.service-row {
  display: grid;
  grid-template-columns: 48px minmax(200px, 0.9fr) minmax(280px, 1.4fr) 52px;
  column-gap: clamp(24px, 3vw, 40px);
  align-items: start;
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
}

.service-row__icon {
  color: #163840;
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 6px;
  opacity: 0.85;
  transition: opacity var(--duration-slow) var(--ease-out),
    color var(--duration-slow) var(--ease-out);
}

.service-row__title {
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #163840;
  padding-top: 2px;
  transition: color var(--duration-slow) var(--ease-out);
}

.service-row__text {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: #5a676f;
  max-width: 40em;
}

.service-row__text p {
  margin: 0 0 0.65em;
}

.service-row__text p:last-child {
  margin-bottom: 0;
}

.service-row__text strong {
  font-weight: 500;
  color: #3b403f;
}

.service-row__arrow {
  width: 44px;
  height: 44px;
  margin-left: auto;
  margin-top: 0;
  border: 1px solid rgba(22, 56, 64, 0.28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #163840;
  fill: currentColor;
  background: transparent;
  transition: background var(--duration-slow) var(--ease-out),
    color var(--duration-slow) var(--ease-out),
    border-color var(--duration-slow) var(--ease-out);
}

.service-row__arrow svg {
  width: 16px;
  height: auto;
  fill: currentColor;
  transition: transform var(--duration-slow) var(--ease-out);
}

/* Hover maîtrisé : seulement accent titre + flèche, aucun fond de ligne */
.service-row:hover .service-row__icon {
  opacity: 1;
  color: #0e2a31;
}

.service-row:hover .service-row__title {
  color: #0e2a31;
}

.service-row:hover .service-row__arrow {
  background: #163840;
  border-color: #163840;
  color: #fff;
}

.service-row:hover .service-row__arrow svg {
  transform: translateX(3px);
}

/* —— Processus —— */
/* Pause visuelle : blanc papier entre deux bandes crème — layout inchangé */
.process {
  overflow-x: clip;
  padding-top: var(--space-section-tight);
  padding-bottom: var(--space-section);
  background: var(--color-bg-white);
  border-block: 1px solid var(--color-border);
}

.process__intro {
  max-width: 34em;
  margin-bottom: var(--space-6);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-text-muted);
}

.process__steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-bottom: 0;
}

.process__step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 30px;
  align-items: center;
  min-height: 60px;
  opacity: 0;
  transform: translate3d(-18px, 0, 0);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.process__steps.is-in .process__step {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.process__steps.is-in .process__step:nth-child(1) {
  transition-delay: 0ms;
}
.process__steps.is-in .process__step:nth-child(2) {
  transition-delay: 90ms;
}
.process__steps.is-in .process__step:nth-child(3) {
  transition-delay: 180ms;
}
.process__steps.is-in .process__step:nth-child(4) {
  transition-delay: 270ms;
}
.process__steps.is-in .process__step:nth-child(5) {
  transition-delay: 360ms;
}

.process__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 60px;
  background: var(--num-bg, #25606e);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.process__step[data-num-color="#25606e"] {
  --num-bg: #25606e;
}
.process__step[data-num-color="#000000"] {
  --num-bg: #000000;
}
.process__step[data-num-color="#c4bd97"] {
  --num-bg: #c4bd97;
}
.process__step[data-num-color="#8bc2bc"] {
  --num-bg: #8bc2bc;
}

.process__step p {
  margin: 0;
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .process__step {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* —— Équipe —— */
/* Retour crème : les portraits respirent, transition douce vers Stats teal */
.team {
  padding-top: var(--space-section-tight);
  padding-bottom: var(--space-section);
  background: var(--color-bg);
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
  margin-top: var(--space-2);
}

/* Team: trx_addons_hover_style_info → scale(1.1) + mask */
.team-card {
  position: relative;
}

.team-card__media {
  position: relative;
  overflow: hidden;
}

.team-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(22, 56, 64, 0.22);
  opacity: 0;
  transition: opacity var(--duration-med) var(--ease-out);
}

.team-card:hover .team-card__media::after {
  opacity: 1;
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--duration-slow) var(--ease-out);
}

.team-card:hover img {
  transform: scale(1.025);
}

.team-card h3 {
  margin: var(--space-3) 0 var(--space-1);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-heading);
  transition: color var(--duration) var(--ease-out);
}

.team-card:hover h3 {
  color: var(--color-teal-ink);
}

.team-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-small);
  letter-spacing: 0.04em;
}

/* —— Stats —— */
/* Live: sc_skills_counter_modern — grand chiffre en absolute derrière le libellé */
.stats {
  background: #153741;
  color: #fff;
  padding: var(--space-6) 0;
  overflow: hidden;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.stats__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 24px 16px;
}

.stats__item + .stats__item {
  border-left: 1px solid rgba(246, 243, 238, 0.18);
}

.stats__num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(64px, 7.5vw, 140px);
  font-weight: 500;
  line-height: 1;
  color: #255f6d;
  z-index: 0;
  pointer-events: none;
}

.stats__num--year {
  font-size: clamp(48px, 5.5vw, 100px);
}

.stats__item span {
  position: relative;
  z-index: 1;
  font-family: var(--font-ui);
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: #f6f3ee;
  max-width: 14ch;
}

/* —— Reveal (stratego-fadeinup) —— */
.reveal-up {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Honeypot anti-spam formulaires */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* —— Contact band —— */
.contact-band {
  position: relative;
  /* Live Elementor eb88ac5 : AdobeStock_611360842 (mosaïque teal) */
  background: #0a2a32 center / cover no-repeat;
  background-image: url("../images/AdobeStock_611360842-1.jpeg");
  padding: var(--space-section) 0;
}

.contact-band__grid {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  justify-content: end;
}

.contact-card {
  background: #fff;
  padding: var(--space-5) var(--space-5) var(--space-4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
  width: 100%;
  justify-self: end;
}

.contact-card__eyebrow {
  margin: 0 0 var(--space-2);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.contact-card__title {
  margin: 0 0 var(--space-5);
  font-family: var(--font-heading);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 500;
  letter-spacing: var(--tracking-display);
  color: var(--color-heading);
  line-height: var(--leading-tight);
}

.contact-card label {
  display: block;
  font-size: var(--text-small);
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.contact-card .field {
  margin-bottom: 16px;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  padding: 10px 0;
  color: var(--color-text);
  resize: vertical;
}

.contact-card input:focus,
.contact-card textarea:focus {
  outline: none;
  border-bottom-color: var(--color-teal-dark);
}

.contact-card .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-card .check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: var(--text-small);
  line-height: 1.5;
  margin: 8px 0 18px;
}

.contact-card .check input {
  width: auto;
  margin-top: 4px;
}

.contact-card .check a {
  text-decoration: underline;
}

/* —— Partners strip —— */
.partners {
  background: #fff;
  padding: var(--space-6) 0 var(--space-7);
  border-bottom: 1px solid var(--color-border);
}

.partners__label {
  margin: 0 0 var(--space-5);
  text-align: center;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Grille 6 colonnes → 18 logos = 3 rangées régulières (exhaustif live) */
.partners__track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: clamp(28px, 3.5vw, 44px) clamp(20px, 2.5vw, 36px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.partners__track li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 72px;
}

.partners__track a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 72px;
}

.partners__logo {
  display: block;
  width: auto;
  max-width: min(100%, 170px);
  max-height: 52px;
  height: auto;
  object-fit: contain;
  /* Monochrome discret — crédibilité private bank */
  filter: grayscale(1) contrast(1.08);
  opacity: 0.78;
  transition: opacity var(--duration) var(--ease-out),
    filter var(--duration) var(--ease-out),
    transform var(--duration) var(--ease-out);
}

.partners__track a:hover .partners__logo {
  filter: grayscale(0) contrast(1);
  opacity: 1;
  transform: translateY(-1px);
}

/* Assets à fond sombre (Mirabaud, Reyl Dubai) */
.partners__logo--boxed {
  max-height: 48px;
  max-width: min(100%, 190px);
  filter: none;
  opacity: 0.92;
  border-radius: 2px;
}

.partners__track a:hover .partners__logo--boxed {
  opacity: 1;
  filter: none;
}

@media (max-width: 1100px) {
  .partners__track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .partners__logo {
    max-height: 48px;
    max-width: min(100%, 160px);
  }
}

@media (max-width: 640px) {
  .partners__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .partners__track li,
  .partners__track a {
    min-height: 56px;
  }

  .partners__logo {
    max-height: 44px;
  }
}

/* —— Footer —— */
.site-footer {
  background: var(--color-teal-footer);
  color: #fff;
  padding: var(--space-6) 0 var(--space-4);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  margin-bottom: var(--space-5);
}

.site-footer .logo img {
  height: 48px;
  margin-bottom: 18px;
}

.site-footer address {
  font-style: normal;
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: #e4ecee;
}

.site-footer__reg {
  margin: var(--space-3) 0 0;
  max-width: 28em;
  font-size: var(--text-small);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer a {
  color: #e4ecee;
}

.site-footer h6 {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 500;
}

.newsletter .field {
  margin-bottom: 10px;
}

.newsletter input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  padding: 10px 0;
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.newsletter input:focus {
  outline: none;
  border-bottom-color: #fff;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.site-footer__bottom a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out);
}

.site-footer__bottom a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.55);
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: #2f3538;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity var(--duration-med) var(--ease-out),
    transform var(--duration-med) var(--ease-out),
    background var(--duration) var(--ease-out);
  z-index: 90;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top:hover {
  background: #163840;
}

.site-footer a {
  transition: color 0.25s ease, opacity 0.25s ease;
}

.site-footer address a:hover,
.site-footer__bottom a:hover {
  color: #fff;
  text-decoration: underline;
}

.contact-card a:hover {
  color: #163840;
}

/* Cards Actualités (prêtes pour la page news) */
.news-card {
  display: block;
  color: inherit;
}

.news-card__media {
  position: relative;
  overflow: hidden;
}

.news-card__media img {
  width: 100%;
  aspect-ratio: 650 / 572;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.3s ease;
}

.news-card:hover .news-card__media img {
  transform: scale(1.02);
}

.news-card__title {
  transition: color 0.25s ease;
}

.news-card:hover .news-card__title {
  color: #163840;
}

.news-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-card__more .link-text {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: opacity 0.35s ease, max-width 0.35s ease, margin 0.3s ease;
}

.news-card:hover .news-card__more .link-text {
  opacity: 1;
  max-width: 140px;
  margin-right: 6px;
}

/* Curseur custom live (trx_addons_mouse_helper) */
.mouse-helper {
  position: fixed;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate3d(-100px, -100px, 0) scale(1);
  transition: width 0.25s ease, height 0.25s ease, margin 0.25s ease,
    background 0.25s ease, border-color 0.25s ease, opacity 0.2s ease;
  opacity: 0;
}

.mouse-helper.is-active {
  opacity: 1;
}

.mouse-helper.is-hover {
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

@media (pointer: coarse) {
  .mouse-helper {
    display: none;
  }
}

/* —— Page intérieur (layout live Elementor) —— */
.page-hero {
  position: relative;
  min-height: clamp(280px, 42vh, 500px);
  display: grid;
  grid-template-columns: 1fr minmax(280px, 50%);
  align-items: center;
  background: #153741 center / cover no-repeat;
  background-image: url("../images/AdobeStock_611360842-1.jpeg");
  padding: calc(var(--header-h) + var(--space-5)) var(--page-gutter) var(--space-6);
}

.page-hero__panel {
  grid-column: 2;
  position: relative;
  z-index: 1;
  background: rgba(21, 55, 65, 0.78);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
  padding: clamp(28px, 4vw, 48px) clamp(24px, 3.5vw, 44px);
  color: #fff;
}

.page-hero__title {
  margin: 0;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(27px, 3.6vw, 49px);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
}

.page-hero__lead {
  margin-top: var(--space-3);
  max-width: 36em;
}

.page-hero__lead p {
  margin: 0 0 0.85em;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.page-hero__lead p:last-child {
  margin-bottom: 0;
}

.page-hero__eyebrow {
  margin: 0 0 var(--space-2);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.page-content {
  padding: var(--space-section) 0;
  background: var(--color-cream, #f5f2ed);
}

.page-content--cream {
  background: #fff;
}

.page-content .prose {
  max-width: 48em;
}

.page-content .prose p,
.approach-blocks p {
  margin: 0 0 1.1em;
  color: var(--color-text);
  font-size: var(--text-body);
  line-height: var(--leading-body);
}

.page-content .prose p:last-child {
  margin-bottom: 0;
}

/* Cartes mandats live (#153741 / #255F6D) */
.mandate-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: var(--space-5);
}

.mandate-card {
  background: #153741;
  color: #fff;
  padding: clamp(22px, 2.5vw, 32px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

.mandate-card--alt {
  background: #255f6d;
}

.mandate-card h3 {
  margin: 0;
  font-family: "Lato", var(--font-heading);
  font-size: 25px;
  font-weight: 500;
  color: #fff;
}

.mandate-card hr {
  border: 0;
  border-top: 1px solid #fff;
  margin: 15px 0;
}

.mandate-card p {
  margin: 0 0 0.9em;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
}

.mandate-card p:last-child {
  margin-bottom: 0;
}

.mandate-card strong {
  font-weight: 700;
}

.quote-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 64px);
}

.quote-block {
  margin: 0;
  padding: 20px 0 0;
}

.quote-block h2 {
  margin: 0 0 var(--space-3);
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  font-style: italic;
  color: #153741;
  line-height: 1.2;
}

.quote-block p {
  margin: 0;
  color: var(--color-text);
  line-height: var(--leading-body);
}

.approach-blocks {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-6);
  max-width: 824px;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.about-story__photo {
  margin: 0;
}

.about-story__photo img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.partner-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.partner-cat-stack {
  display: grid;
  gap: var(--space-5);
}

.partner-cat h3 {
  margin: 0 0 var(--space-3);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  color: var(--color-heading);
}

.partner-rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner-rows li {
  border-bottom: 1px solid var(--color-border);
}

.partner-rows a {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  color: var(--color-heading);
  text-decoration: none;
}

.partner-rows img {
  width: 88px;
  height: 44px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
  transition: filter 0.35s ease, opacity 0.35s ease;
}

.partner-rows a:hover img {
  filter: none;
  opacity: 1;
}

.partner-rows span {
  font-size: var(--text-small);
  line-height: 1.4;
}

.contact-card--plain {
  box-shadow: 0 8px 28px rgba(22, 56, 64, 0.08);
  justify-self: stretch;
}

.contact-aside .contact-card__eyebrow {
  margin-bottom: var(--space-3);
}

.contact-map {
  margin-top: var(--space-6);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: min(480px, 55vh);
  border: 0;
  filter: grayscale(0.15);
}

.legal-list {
  margin: 0 0 1.1em;
  padding-left: 1.2em;
  color: var(--color-text);
  font-size: var(--text-body);
  line-height: var(--leading-body);
}

.legal-list li {
  margin: 0.35em 0;
}

.prose.legal strong {
  display: block;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 var(--space-5);
}

.news-filters a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--color-border);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-heading);
  transition: background var(--duration) var(--ease-out),
    color var(--duration) var(--ease-out),
    border-color var(--duration) var(--ease-out);
}

.news-filters a:hover,
.news-filters a.is-active {
  background: #163840;
  border-color: #163840;
  color: #fff;
}

.affil-list {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.affil-item {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
}

.affil-item h3 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  color: var(--color-heading);
}

.affil-item p {
  margin: 0;
  max-width: 48em;
  color: var(--color-text-muted);
  line-height: var(--leading-body);
}

.about-grid,
.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

/* —— Responsive —— */

@media (max-width: 1100px) {
  .valeurs__band,
  .team__grid,
  .stats__grid,
  .mandate-cards,
  .news__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mandate-cards .mandate-card:last-child {
    grid-column: 1 / -1;
  }

  .stats__num {
    font-size: clamp(48px, 10vw, 96px);
  }

  .stats__item span {
    font-size: 18px;
  }

  .service-row {
    grid-template-columns: 40px 1fr 48px;
    grid-template-areas:
      "icon title arrow"
      ". text text";
    column-gap: 20px;
    row-gap: 10px;
    padding: 28px 0;
  }

  .service-row__icon {
    grid-area: icon;
    font-size: 22px;
    padding-top: 4px;
  }

  .service-row__title {
    grid-area: title;
    font-size: 22px;
  }

  .service-row__text {
    grid-area: text;
  }

  .service-row__arrow {
    grid-area: arrow;
  }

  .valeurs__band {
    min-height: auto;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    z-index: 110;
  }

  .nav {
    position: fixed;
    inset: 0 0 auto;
    top: 0;
    padding: calc(72px + var(--space-3)) var(--page-gutter) var(--space-5);
    max-height: 100dvh;
    overflow-y: auto;
    background: rgba(10, 31, 36, 0.98);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity var(--duration-med) var(--ease-out),
      transform var(--duration-med) var(--ease-out),
      visibility var(--duration-med);
    z-index: 99;
    display: flex;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav > li > a {
    padding: 14px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav > li > a::after {
    display: none;
  }

  .nav__sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 8px 4px;
    display: none;
  }

  .nav > li:hover > .nav__sub,
  .nav > li:focus-within > .nav__sub,
  .nav > li.is-sub-open > .nav__sub {
    display: block;
  }

  .univers__grid,
  .contact-band__grid,
  .site-footer__grid,
  .about-story,
  .contact-page-grid,
  .quote-pair,
  .partner-split,
  .page-hero {
    grid-template-columns: 1fr;
  }

  .page-hero__panel {
    grid-column: 1;
  }

  .contact-band__grid {
    justify-content: stretch;
  }

  .contact-card {
    justify-self: stretch;
  }

  .about-story__photo {
    max-width: 420px;
  }

  .univers__grid {
    gap: 32px;
  }

  .univers__photos {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .univers__photos figure,
  .univers__photos img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
  }

  .univers__photos figure:nth-child(2) {
    margin-top: 12px;
  }

  .valeurs__band,
  .valeur {
    height: auto;
    min-height: 280px;
  }

  .valeur h3 {
    font-size: 22px;
    line-height: 1.25;
  }

  .hero {
    min-height: 78vh;
    min-height: 78dvh;
  }

  .hero__title {
    left: var(--page-gutter);
    top: 38%;
    max-width: calc(100% - (var(--page-gutter) * 2));
    font-size: clamp(32px, 9vw, 56px);
    line-height: 1.15;
  }

  .hero__cta-bar {
    left: var(--page-gutter);
    top: auto;
    bottom: 18%;
  }

  .btn--cream {
    height: 48px;
    padding: 0 28px;
    font-size: 15px;
  }

  .univers__photos {
    margin-top: 0;
  }

  .valeurs__band {
    grid-template-columns: 1fr 1fr;
  }

  .mandate-cards {
    grid-template-columns: 1fr;
  }

  .mandate-cards .mandate-card:last-child {
    grid-column: auto;
  }

  :root {
    --page-gutter: 24px;
    --header-h: 88px;
  }

  .site-header {
    height: 88px;
  }
}

@media (max-width: 640px) {
  .valeurs__band {
    grid-template-columns: 1fr;
  }

  .valeurs__band,
  .valeur {
    height: auto;
    min-height: 0;
  }

  .valeur {
    min-height: 220px;
    padding: 28px 24px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .valeur:first-of-type {
    border-top: 0;
  }

  .team__grid,
  .stats__grid,
  .univers__photos,
  .contact-card .row,
  .news__grid,
  .mandate-cards {
    grid-template-columns: 1fr;
  }

  .stats__item + .stats__item {
    border-left: 0;
    border-top: 1px solid rgba(246, 243, 238, 0.18);
  }

  .process__step {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }

  .process__num {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .service-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "icon arrow"
      "title title"
      "text text";
  }

  .hero__title {
    top: 36%;
    font-size: clamp(28px, 8.5vw, 40px);
  }

  .hero__cta-bar {
    bottom: 14%;
  }

  .btn--cream {
    width: auto;
    max-width: 100%;
  }

  .partners__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .partners__track li {
    min-height: 56px;
  }

  .page-hero {
    min-height: 240px;
    padding-bottom: var(--space-5);
  }

  .page-hero__panel {
    padding: 24px 20px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .to-top {
    right: 14px;
    bottom: 14px;
  }
}
