#toolset {
	display: none;
}

body {
	background-color: #000;
	color: #fff;
}

html {
	background-color: #000;
	color: #fff;
}

a:active {
	opacity: 0.7;
}

.red  {
	
}


.red a {
	color: #c5362e !important;
    font-weight: 700;
    opacity: 1 !important;

}

.red a:hover {
	color: #c5362e !important;
    font-weight: 900!important;
    opacity: 1 !important;

}

.red a.active {
	color: #c5362e !important;
    font-weight: 900!important;
    opacity: 1 !important;

}


.page a.active {
	font-weight: bold;
}

i,
em {
	font-style: italic;
}

b,
strong {
	font-weight: bolder;
}

sub,
sup {
	position: relative;
	vertical-align: baseline;
}

sub {
	top: 0.3em;
}

sup {
	top: -0.4em;
}




s {
	text-decoration: line-through;
}

img {
	border: 0;
	padding: 0;
}

ul,
ol {
	margin: 0;
	padding: 0 0 0 1em;
}

blockquote {
	margin: 0;
	padding: 0 0 0 1em;
}

hr {
	background: rgba(127, 127, 127, 0.2);
	border: 0;
	height: 1px;
	display: block;
}

.content img {
	float: none;
	margin-bottom: 1.5em;
}

.gallery_image_caption {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.25);
	font-family: "Monument Grotesk Mono", Icons;
	font-style: normal;
	line-height: 1.3;	
}

/**
 * Loading Animation
 */

.loading[data-loading] {
	position: fixed;
	bottom: 8px; 
    left: 8px;
}

/**
 * Editor styles
 */

[data-predefined-style="true"] bodycopy {
    margin-top: .8rem;
    margin-bottom: 0.3rem;
    font-size: 1.3rem;
	color: rgba(255, 252, 252, 0.85);
	font-family: "Diatype Variable", Icons;
	line-height: 1.3;
	font-style: normal;
	font-variation-settings: 'slnt' 0, 'MONO' 0;
	font-weight: 400;
}

	


[data-predefined-style="true"] bodycopy a {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
}

[data-predefined-style="true"] bodycopy a:hover {

}

bodycopy a.image-link,
bodycopy a.icon-link,
bodycopy a.image-link:hover,
bodycopy a.icon-link:hover {
	border-bottom: 0;
	padding-bottom: 0;
}


/* ===== Landing overlay ===== */
body.homepage .landing-overlay{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  pointer-events: none; /* on rend seulement le bouton cliquable */
}

body.homepage .landing-card{
  width: min(920px, 88vw);
  padding: 4vh 4vw;
  text-align: center;
  pointer-events: auto;
}

body.homepage .landing-title{
  font-family: "Favorit Variable", Icons;
  font-weight: 520;
  font-size: clamp(48px, 8vw, 120px);
  line-height: .9;
  letter-spacing: .02em;
  color: rgba(255,255,255,.92); /* adapte selon ton fond */
  text-transform: uppercase;
}

body.homepage .landing-sub{
  margin-top: 18px;
  font-family: Karla, Icons;
  font-size: 20px!important;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}

body.homepage .landing-cta{
  margin-top: 28px;
  font-family: Karla, Icons;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.homepage .landing-enter{
  color: rgba(255,255,255,.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.35);
  padding-bottom: 6px;
}

body.homepage .landing-enter:hover{
  color: rgba(255,255,255,1);
  border-bottom-color: rgba(255,255,255,.8);
}


[data-predefined-style="true"] h1 {
	font-family: "Diatype Variable", Icons;
	font-style: normal;
	font-weight: 400;
	padding: 0;
	margin: 0;
	font-size: 3.2rem;
	line-height: 1.1;
	color: rgba(0, 0, 0, 0.75);
	font-variation-settings: 'slnt' 0, 'MONO' 0;
}

[data-predefined-style="true"] h1 a {
	color: rgba(0, 0, 0, 0.75);
}

[data-predefined-style="true"] h2 {
	font-family: "Diatype Variable", Icons;
	font-style: normal;
	font-weight: 400;
	padding: 0;
	margin: 0;
	color: rgba(0, 0, 0, 0.75);
	font-size: 2rem;
	line-height: 1.2;
	font-variation-settings: 'slnt' 0, 'MONO' 0;
	}

[data-predefined-style="true"] h2 a {
	color: rgba(0, 0, 0, 0.75);
}

[data-predefined-style="true"] small {
	display: inline-block;
	font-size: 1.2rem;
	line-height: 1.3;
	font-family: "Monument Grotesk Mono Variable", Icons;
	font-style: normal;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.25);
	font-variation-settings: 'slnt' 0, 'MONO' 1;
}

[data-predefined-style="true"] small a {
	color: rgba(255, 0, 0, 0.75);
	border-bottom-width: 0em;
}

/**
 * Breakpoints
 */

[data-css-preset] .page {
    background-color: initial /*!page_bgcolor*/;
}

.mobile .page,
[data-css-preset].mobile .page {
	position: relative;
	max-width: 100%;
	width: 100%;
	background-color: transparent /*!page_bgcolor*/;
}

[data-css-preset] .container {
	margin-left: auto /*!content_right*/;
	margin-right: 0 /*!content_right*/;
	text-align: left /*!text_left*/;
}

[data-css-preset] body {
	background-color: rgb(0, 0, 0)/*!body_bgcolor*/;
}

[data-css-preset] .container_width {
	width: 80% /*!content_right*/;
}

[data-css-preset] .content_padding {
	padding-top: 2.5rem /*!main_margin*/;
	padding-bottom: 2.5rem /*!main_margin*/;
	padding-left: 2.5rem /*!main_margin*/;
	padding-right: 2.5rem /*!main_margin*/;
}

/**
 * Thumbnails
 */

div[thumbnails] {
	justify-content: flex-start;
}

[data-css-preset] .thumbnails {
   	background-color: transparent/*!thumbnails_bgcolor*/;   
}

[data-css-preset] .thumbnails_width {
    width: 80%/*!thumbnails_width*/;
}

[data-css-preset] [thumbnails-pad] {
    padding: 0.75rem/*!thumbnails_padding*/;
    
}

[data-css-preset] [thumbnails-gutter] {
    margin: -1.5rem/*!thumbnails_padding*/;
}

[data-css-preset] [responsive-layout] [thumbnails-pad] {
    padding: 0.5rem /*!responsive_thumbnails_padding*/; 

}

[data-css-preset] [responsive-layout] [thumbnails-gutter] {
    margin: -1rem/*!responsive_thumbnails_padding*/; 
}

.thumbnails .thumb_image {
	outline: 0px solid rgba(0,0,0,.12);
    outline-offset: -1px;
}

.thumbnails .thumb_image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.6),
    rgba(0,0,0,0)
  );
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

.thumbnails .thumb_image:hover::after {
  opacity: 1;
}


.thumbnails .title {
    margin-top: .8rem;
    margin-bottom: 0.3rem;
    font-size: 1.5rem;
	color: rgba(255, 252, 252, 0.85);
	font-family: "Diatype Variable", Icons;
	line-height: 1.3;
	font-style: normal;
	font-variation-settings: 'slnt' 0, 'MONO' 0;
	font-weight: 400;
}

.thumbnails .tags {
    margin-top: .8rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
	color: rgba(63, 63, 63, 1);
	font-family: Karla, Icons;
    text-transform: uppercase;
	line-height: 1.3;
	font-style: normal;
	font-weight: 500;
}




.thumbnails .tags a {
	border-bottom: 0;
    color: rgba(63, 63, 63, 1);
    text-decoration: none;
}

.thumbnails .has_title .tags {
	margin-top: 0.1rem;
}

.thumbnails .thumbnail .title{
  position: relative;
  display: inline-block;
}

/* autoriser le retour à la ligne dans les titres de vignettes */
.thumbnail .title,
.thumbnail .title-client,
.thumbnail .title-project{
  white-space: normal !important;
  word-break: break-word;
  line-height: 1.15;
}

/* évite que les longs mots cassent la mise en page */
.thumbnail .title{
  max-width: 100%;
}


/* 1) On nettoie complètement la zone tags (virgules/séparateurs inclus) */
.tags{
  display: flex !important;
  gap: 0px !important;
  flex-wrap: nowrap !important;
  font-size: 0 !important;          /* tue les caractères parasites si ce sont des text-nodes */
  line-height: 1 !important;
}

/* 2) On cache absolument tout ce que Cargo peut mettre dedans */
.tags *{
  display: none !important;
}
.tags *::before,
.tags *::after{
  content: none !important;         /* tue les virgules générées en pseudo-element */
}

/* 3) On ré-affiche UNIQUEMENT stills + motion */
.tags a[href*="editorial"],
.tags a[href*="personal"],
.tags a[href*="campaign"]{
  display: inline-block !important;
  font-size: 1.1rem !important;     /* remets ta taille */
  line-height: 1.3 !important;
}


.tags a[href*="editorial"],
.tags a[href*="personal"],
.tags a[href*="campaign"]{
  display: inline-block;
}



/**
 * Site Menu Button
 */


[data-css-preset] #site_menu_button {
    color: rgba(0, 0, 0, 0.75);
    line-height: 1;
    font-size: 28px /*!site_menu_button*/;
    padding: 6px;
    line-height: 1;
    background: rgba(33, 32, 46, 0);
    position: fixed;
	top: 3rem /*!site_menu_button*/;
	left: 3rem /*!site_menu_button*/;
}

body.mobile #site_menu_button {
	margin: -6px;
    font-size: 24px;
}

#site_menu_button.custom_icon {
	width: 40px;
    height: auto;
}

#site_menu_button.active {
	display: none;
}


/**
 * Site Menu
 */

#site_menu {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
	background: rgba(20, 20, 20, 0.95);
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	padding: 20px 30px 90px 30px;
	max-width: 400px;
	min-width: 300px;
	text-align: left;
	display: flex;
	justify-content: flex-start;
}

body.mobile #site_menu {
	width: 100%;
}

#site_menu .page-link a {
	color: rgba(255, 255, 255, 0.75);
}

#site_menu .set-link > a {
	color: rgba(255, 255, 255, 0.75);
	font-weight: bold;
}

#site_menu a:active {
	opacity: .7;
}

#site_menu a.active {
	opacity: .4;
}

#site_menu .close {
	display: none;
	color: rgba(255, 255, 255, 0.4);
	line-height: .85em;
	font-size: 45px;
}

body.mobile #site_menu .close {
	display: block;
	font-size: 50px;
	line-height: 1em;
}

#site_menu .break {
	height: 28px;
}

#site_menu .indent {
	margin-left: 28px;
}

/*
 * Shop Button
 */

[data-css-preset] #shop_button {
	color: rgba(0, 0, 0, 0.85);
    background: transparent;
	font-size: 32px;
    font-style: normal;
	font-weight: 400;
    line-height: 1;
    position: fixed;
	padding: 6px;
	top: 1rem /*!shop_button*/;
	left: 1.5rem /*!shop_button*/;
}

#shop_button.text {
    font-size: 1.3rem;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.75);
	font-family: Diatype, Icons;
    padding: 0;
    line-height: 1.3;
	font-style: normal;
}

#shop_button.custom_icon {
	width: 40px;
    height: auto;
}

body.mobile #shop_button:not(.text) {
	margin: -6px;
    font-size: 40px;
}

/*
 * Shop Product Widget
 */

.shop_product {
    width: 100%;
	max-width: 22rem;
    position: relative;
    display: block;
}

.shop_product .price {
	font-family: Diatype, Icons;
	font-size: 1.3rem;
	line-height: 1.3;
	color: rgba(0, 0, 0, 0.75);
    display: block;
    margin-bottom: 1rem;
	font-style: normal;
	font-weight: 400;
}

.shop_product .dropdown {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
    font-size: 1.3rem;
    display: inline-block;
	width: 100%;
    border: 1px solid rgba(0,0,0,.2);
    background:  white url(https://static.cargo.site/assets/images/select-line-arrows.svg) no-repeat right;
    margin-bottom: 1rem;
    line-height: 1.3;
    padding: .7rem 2.5rem .7rem 1rem;
	font-style: normal;
	font-weight: 400;
    color: rgba(0, 0, 0, 0.75);
}

.shop_product .button {
	font-family: Diatype, Icons;
	font-size: 1.3rem;
    background: rgba(0, 0, 0, 0.75);
    color: rgba(255,255,255,1);
    flex: 0 0 50%;
    text-align: left;
    display: inline-block;
	line-height: 1.3;
    padding: .8rem 1rem .9rem;
	font-style: normal;
	font-weight: 700;
}

/*
 * Image Zoom
 */

.content img.image-zoom:active {
	opacity: .7;
}

/**
 * Quick View
 */

[data-css-preset] .quick-view {
    padding-top: 2.5rem /*!quick_view_padding*/;
    padding-bottom: 2.5rem /*!quick_view_padding*/;
    padding-left: 2.5rem /*!quick_view_padding*/;
    padding-right: 2.5rem /*!quick_view_padding*/;
    height: 100% /*!quick_view_height*/;
    width: 100% /*!quick_view_width*/;
}

body.mobile .quick-view {
    width: 100%;
    height: 100%;
    margin: 0;
}

[data-css-preset] .quick-view-background {
	background: rgba(0, 0, 0, 0.8) /*!quick_view_bgcolor*/;
}

.quick-view-caption {
	font-family: "Monument Grotesk Mono", Icons;
    transition: 100ms opacity ease-in-out;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 3.5rem 0;
    text-align: center;
    font-size: 1.2rem;
	font-style: normal;
	font-weight: 400;
    line-height: 1.3;
}

.quick-view-caption span {
    padding: 0.5rem 1rem;
    display: inline-block;
    background: rgba(0,0,0,0.4);
    color: white;
}

/**
 * Quick View Navigation 
 */

.quick-view-navigation .left-arrow {
    left: 10px;
}

.quick-view-navigation .right-arrow {
    right: 10px;
}

.quick-view-navigation .left-arrow,
.quick-view-navigation .right-arrow {
    /* Change height/width together to scale */
    height: 36px;
    width: 36px;
}

.quick-view-navigation .left-arrow .inner-color,
.quick-view-navigation .right-arrow .inner-color {
    stroke: #fff;
    stroke-width: 0px;
}

.quick-view-navigation .left-arrow .outer-color,
.quick-view-navigation .right-arrow .outer-color {
    stroke: rgba(0, 0, 0, 0.85);
    stroke-width: 2px;
}

.quick-view-navigation .close-button {  
    top: 10px;
    right: 10px;
    /* Change height/width together to scale */
    width: 36px;
    height: 36px;
}

.quick-view-navigation .close-button .inner-color {
    stroke: #fff;
    stroke-width: 0px;
}

.quick-view-navigation .close-button .outer-color {
    stroke: rgba(0, 0, 0, 0.85);
    stroke-width: 2px;
}

/** 
 * Image Gallery Navigation Arrows 
 */
 
.image-gallery-navigation .left-arrow,
.image-gallery-navigation .right-arrow {
    /* Change height/width together to scale */
    height: 36px;
    width: 36px;
}

.image-gallery-navigation .left-arrow .inner-color,
.image-gallery-navigation .right-arrow .inner-color {
    stroke: #fff;
    stroke-width: 1.5px;
}

.image-gallery-navigation .left-arrow .outer-color,
.image-gallery-navigation .right-arrow .outer-color {
    stroke: rgba(0, 0, 0, 0.6);
    stroke-width: 2.5px;
}

/**
 * Wallpaper Backdrop Navigation Arrows 
 */

.wallpaper-navigation .left-arrow,
.wallpaper-navigation .right-arrow {
   /* Change height/width together to scale */
   width: 36px;
   height: 36px;
}

.wallpaper-navigation .left-arrow .inner-color,
.wallpaper-navigation .right-arrow .inner-color {
   stroke: #fff;
    stroke-width: 1.5px;
}

.wallpaper-navigation .left-arrow .outer-color,
.wallpaper-navigation .right-arrow .outer-color {
    stroke: rgba(0, 0, 0, 0.6);
    stroke-width: 2.5px;
}

/**
 * Feed
 */

.feed .content_container .page {
    border-top: 0px dashed rgba(0, 0, 0, 0.2);
}

.feed .content_container .page_container:first-child .page {
	border-top: 0;
}

/*
 * Audio Player
 */

.audio-player {
    max-width: 36rem;
    height: 3.3rem;
    outline: 1px solid rgba(0,0,0,0.15);
    color: rgba(0, 0, 0, 0.6);
    background: #fff;
    font-size: 1.3rem;
    line-height: 1.6;
    font-family: Diatype, Icons;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    margin: 1px 1px 1em 1px;
}

body.mobile .audio-player {
    max-width: 100%;
}

.audio-player .separator {
    width: 1px;
    background-color: rgba(0,0,0,0.15);
}

.audio-player .button {
    background: transparent;
    cursor: pointer;
    fill: rgba(0, 0, 0, 0.85);
}

.audio-player .icon {
    fill: rgba(0, 0, 0, 0.85);
    padding: 30%;
    width: 100%;
    margin: auto;
}

.audio-player .buffer {
    background: rgba(0,0,0,0.03);
}

.audio-player .progress {
    background: rgba(0,0,0,0.1);
}

.audio-player .progress-indicator {
    border: 1px solid rgba(0, 0, 0, 0.7);
    width: 1px;
    height: 100%;
    right: 0;
    position: absolute;
    cursor: ew-resize;
}

.audio-player .note-icon {
    height: 100%;
    width: 3.8rem;
    padding: 1rem;
    fill: rgba(0, 0, 0, 0.5);
}

.audio-player .current-time {
    padding-left: 1rem;
}

.audio-player .total-time {
    padding-right: 1rem;
}

/* =========================================================
   CUSTOM ONLY (SAFE) — À COLLER TOUT EN BAS DU CSS
   ========================================================= */

/* ---------- Globals light overrides ---------- */
html{ background-color:#000 !important; } /* tu peux enlever le !important si Cargo gère déjà */
body{ background:#000; color:#fff; }

body.homepage .pinned_top .page_content{
  display:none !important;
  opacity:0;
  pointer-events:none;
}

.pinned_top .page_content{
  transition: opacity .4s ease;
}


/* =========================================================
   PROJECT TOP TITLE (barre sticky au-dessus des images)
   ========================================================= */

.project-top-title{
  position: sticky;
  top: 0;
  z-index: 50;
      margin-top: 10px;
  margin-bottom: 32px;
  padding: 28px 40px 18px;

  background: #000;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);

  text-align: right;
  font-family: Karla, Icons;
  font-weight: 200;
  color: rgba(255,255,255,.85);
}

.project-top-title .pt-client{
  font-weight: 600;
  font-size: 26px;
  line-height: .8;
}

.project-top-title .pt-project{
  font-weight: 300;
  font-size: 26px;
  line-height: .8;
  margin-top: 6px;
}


/* =========================================================
   PROJECT META (titre centré + nav)
   ========================================================= */

.project-meta{
  width: 100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  margin-top: 80px;
}

.project-title{
  font-weight: 200;
  font-size: 2em;
  
  padding: 20px;
  padding-right: .3em;
  margin-bottom: 32px;
  text-align: right;
}

.project-title .pt-client{
  font-size: 38px;
  font-weight: 520;
  line-height: 1.1;
}

.project-title .pt-project{
  font-size: 32px;
  font-weight: 300;
  line-height: 1.2;
  opacity: .85;
}

.project-nav{
  display:flex;
  gap: 20px;
  font-size: 18px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .75;
}

.project-nav a{
  color:#fff;
  opacity:1;
  text-decoration:none;
}

.project-nav a:hover{ opacity:1; }


/* =========================================================
   LEFT MENU / INFO PAGE
   ========================================================= */

.info-page{
  background:#000;
  color:#fff;
  text-align:right !important;
  font-family: Karla, Icons;
}

.info-header{ margin-bottom: 20px; }

.info-name{
  font-family: "Gravity Variable", Icons;
  font-size: 18px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-style: normal;
  font-variation-settings: 'wdth' 115.501, 'slnt' 0;
}

.info-role{
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: 1;
}

.info-section{
  margin-bottom: 20px;
  max-width: 560px;
}

.info-title{
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .5;
  margin-bottom: 10px;
}

.info-section a{
  display:flex;
  justify-content:flex-end;
  margin-bottom:2px;

  color:#fff;
  text-transform: uppercase;

  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;

  font-size: 13px;
  letter-spacing: .04em;
}

.info-section a:hover{
  opacity: 1;
  font-weight: 700;
}


/* =========================================================
   TOP SWITCH (MOTION / STILLS / ALL)
   ========================================================= */

:root{
  --topbar-h: 44px;
  --thumbs-left: 0px;
  --thumbs-width: 100vw;
}

.top-switch{
  position: fixed;
  top: 0;
  left: var(--thumbs-left);
  width: var(--thumbs-width);
  height: var(--topbar-h);
  z-index: 9999;

  background: #000;
  transition: background .2s ease, transform .2s ease;

  display:flex;
  align-items:center;
  justify-content:center;
}

.top-switch__inner{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 16px;
  padding: 0 20px;
}

.top-switch a,
.top-switch .top-sep{
  font-family: Karla, Icons;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  text-decoration: none;
}

.top-switch a{
  position: relative;
  opacity: .65;
  transition: opacity .2s ease, color .2s ease;
}

.top-switch a:hover{ opacity:1; color:#fff; }
.top-switch a.active{ opacity:1; color:#fff; }

.top-switch a::after{
  content:"";
  position:absolute;
  left:0; right:0;
  bottom:-5px;
  height:1px;
  background: rgba(255,255,255,.8);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}

.top-switch a.active::after{
  transform: scaleX(1);
}


/* =========================================================
   THUMBNAILS — transitions + hover underline title
   ========================================================= */

.thumbnails{
  transition: opacity .25s ease, transform .25s ease;
  will-change: opacity, transform;
}

.is-switching .thumbnails{
  opacity: 0;
  transform: translateY(6px);
}

body.is-leaving .thumbnails{ opacity:0; }

.thumbnails .thumbnail .title{
  position: relative;
  display: inline-block;
}

.thumbnails .thumbnail .title::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:100%;
  height:1px;
  background: rgba(255,255,255,.4);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.thumbnails .thumbnail:hover .title::after{
  transform: scaleX(1);
}

.thumbnails .thumbnail .title-space{
  display:inline-block;
  width:.35em;
}

.title-client{ font-weight: 520; padding-right: .3em; }
.title-project{ font-weight: 200; }
.title-sep{ opacity: .6; display:none; }


/* =========================================================
   TAGS CLEANUP (Cargo) — garder seulement certains tags
   ========================================================= */

.tags{
  display:flex !important;
  gap: 0px !important;
  flex-wrap: nowrap !important;
  font-size: 0 !important; /* tue les text-nodes parasites */
  line-height: 1 !important;
}

/* cache tout */
.tags *{ display:none !important; }
.tags *::before,
.tags *::after{ content:none !important; }

/* ré-affiche seulement ces tags */
.tags a[href*="editorial"],
.tags a[href*="personal"],
.tags a[href*="campaign"]{
  display:inline-block !important;
  font-size: 1rem !important;
  line-height: 1.3 !important;
}


/* =========================================================
   LANDING OVERLAY (homepage)
   ========================================================= */

body.homepage .landing-overlay{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  pointer-events: none;
}

body.homepage .landing-card{
  width: min(920px, 88vw);
  padding: 4vh 4vw;
  text-align: center;
  pointer-events: auto;
}

body.homepage .landing-title{
  font-family: "Favorit Variable", Icons;
  font-weight: 520;
  font-size: clamp(48px, 8vw, 120px);
  line-height: .9;
  letter-spacing: .02em;
  color: rgba(255,255,255,.92);
  text-transform: uppercase;
}

body.homepage .landing-sub{
  margin-top: 18px;
  font-family: Karla, Icons;
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}

body.homepage .landing-cta{
  margin-top: 28px;
  font-family: Karla, Icons;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.homepage .landing-enter{
  color: rgba(255,255,255,.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.35);
  padding-bottom: 6px;
}

body.homepage .landing-enter:hover{
  color: rgba(255,255,255,1);
  border-bottom-color: rgba(255,255,255,.8);
}

/* Positionnement du logo Melo */
.landing-title{
  position: relative;
  display: inline-block;
}

.landing-melo{
  position: absolute;
  left: 55%;
  top: 100%;
  transform: translate(-52%, -22%);
  width: clamp(120px, 18vw, 240px);
  height: auto;
  pointer-events: none;
}

/* Sous-titre devant */
.landing-sub{
  position: relative;
  z-index: 2;   /* devant */
}



/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px){
  .project-top-title{ 
      padding:54px 18px 14px;
            text-align: center;}

  :root{ --topbar-h: 52px; }

  .pinned.pinned_top{
    height: var(--topbar-h) !important;
  }

  .top-switch__inner{
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 768px){
  .project-title .pt-client{ font-size: 32px; }
  .project-title .pt-project{ font-size: 28px; }

  .project-nav{
    gap: 18px;
    font-size: 12px;
  }

}


/* =========================================================
   FIX — MOBILE MENU (mnav) + HIDE TOP SWITCH on About/Contact
   + ABOUT 2-COLS DESKTOP / 1-COL MOBILE
   (COLLER TOUT EN BAS DU CSS)
   ========================================================= */


/* -------------------------
   1) MENU MOBILE OVERLAY (mnav)
   ------------------------- */
@media (max-width: 768px){

  .mnav{ display:block !important; }

  .mnav__panel{
    padding: 44px 20px 12px !important;
    text-align: center !important;
  }

  .mnav nav.mnav__links{
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
  }

  .mnav nav.mnav__links > a.mnav__link{
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    white-space: nowrap !important;
    letter-spacing: .20em !important;
    font-family: Karla, Icons !important;
    font-size: 22px !important;
    line-height: 1.1 !important;
    color: rgba(255,255,255,.78) !important;
    text-decoration: none !important;
    padding: 6px 0 !important;
  }

  .mnav nav.mnav__links > a.mnav__link.active{
    color: #fff !important;
    font-weight: 700 !important;
    opacity: 1 !important;
  }

  .mnav__spacer{
    display: block !important;
    height: 22px !important;
  }

  /* Instagram plus petit + centré */
  .mnav nav.mnav__links > a.mnav__ig{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 8px !important;
    margin-top: 6px !important;
    text-decoration: none !important;
  }

  .mnav__igicon{
    display: inline-block !important;
    font-size: 12px !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
  }

  /* si tu mets une <img> dans .mnav__igicon */
  .mnav__igicon img{
    width: 40px !important;
    height: 40px !important;
    display: block !important;
    margin: 0 !important;
  }
}


/* -------------------------
   2) HIDE TOP SWITCH (MOTION/STILLS/ALL) sur About + Contact
   IMPORTANT: remplace le page-id du contact si besoin
   ------------------------- */

/* ABOUT (tu as déjà celui-là) */
body[data-page-id="38172726"] .top-switch{
  display: none !important;
}

/* CONTACT → remplace XXXXXXXX par le data-page-id de ta page contact */
body[data-page-id="XXXXXXXX"] .top-switch {
  display: none !important;
}


/* =========================================================
   ABOUT — DESKTOP 2 COLONNES + MOBILE 1 COLONNE (TES CLASSES)
   À COLLER TOUT EN BAS DU CSS
   ========================================================= */

/* ---------- Desktop (par défaut) ---------- */
.about-wrap{ width:100%; }

.about-shell{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 2 colonnes */
.about-shell .about-two{
  display:flex !important;
  align-items:flex-start !important;
  justify-content:center !important;
  gap:56px !important;
  flex-wrap:nowrap !important;
}

/* Colonnes (tes valeurs) */
.about-shell .about-left{
  flex: 0 0 640px !important;
  width: 640px !important;
  max-width: 640px !important;
  min-width: 0 !important;
}

.about-shell .about-right{
  flex: 0 0 480px !important;
  width: 480px !important;
  max-width: 480px !important;
  min-width: 0 !important;
}

/* Image */
.about-photo img{
  width:100% !important;
  height:auto !important;
    margin-bottom: 12px;
  display:block !important;
}

/* Contacts (desktop : en colonne, comme ton ref) */
.about-contact{
  display:flex !important;
  align-items: flex-start !important;
  gap: 80px !important;
}

.about-contact a{
  display:inline-block !important;
  font-size:12px !important;
  letter-spacing:.08em !important;
  color:rgba(255,255,255,.65) !important;
  text-decoration:none !important;
  border-bottom:1px solid rgba(255,255,255,.18) !important;
  padding-bottom:3px !important;
  white-space:nowrap !important;
}

.about-contact a:hover{
  color: rgba(255,255,255,.9) !important;
  border-bottom-color: rgba(255,255,255,.45) !important;
}

/* Texte */
.about-right{
  color:rgba(255,255,255,.88) !important;
  font-size:19px !important;
    font-family: karla;
    font-weight: 400;
  line-height:1.6 !important;
    text-align: justify;
}

.about-bio p{
  margin:0 0 18px 0 !important;
  max-width:56ch !important;
}

/* Clients */
.about-clients{ margin-top:36px !important; }

.about-clients h2{
  margin:0 0 12px 0 !important;
  font-size:28px !important;
  color:rgba(255,255,255,.92) !important;
}

.about-clients-list{
  font-size:16px !important;
  line-height:1.2 !important;
  color:rgba(255,255,255,.72) !important;
  text-decoration-color: rgba(255,255,255,.18) !important;
}

/* ---------- Responsive desktop (optionnel) ---------- */
@media (max-width:1100px){
  .about-shell .about-two{ gap:44px !important; }

  .about-shell .about-left{
    flex-basis:600px !important;
    width:600px !important;
    max-width:600px !important;
  }
  .about-shell .about-right{
    flex-basis:420px !important;
    width:420px !important;
    max-width:420px !important;
  }
}

/* ---------- Mobile (1 colonne comme ta capture) ---------- */
@media (max-width:780px){

  .about-shell{
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 24px !important;
  }

  .about-shell .about-two{
    display:block !important;        /* stop flex */
  }

  .about-shell .about-left,
  .about-shell .about-right{
    width:100% !important;
    max-width:100% !important;
    flex:none !important;
  }

  .about-photo img{
    margin: 0 0 18px 0 !important;
  }

  /* Contacts sous l’image (colonne) */
/* CONTACTS — mobile uniquement */
@media (max-width: 780px){

  .about-contact{
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
      margin-bottom: 30px;
  }

  .about-contact a{
    font-size: 20px !important;   /* plus gros texte */
    line-height: 1.4 !important;
    white-space: normal !important;
  }

}
  /* Typo mobile comme ta capture */
  .about-right{
    font-size:20px !important;
    line-height:1.6 !important;
  }

  .about-bio p{
    margin:0 0 28px 0 !important;
  }

  .about-clients{ margin-top:40px !important; }

  .about-clients h2{
    font-size:56px !important; /* gros “Clients” */
    line-height:1 !important;
    margin:0 0 18px 0 !important;
  }

  .about-clients-list{
    font-size:16px !important;
  }
}

/* Clients list layout */
#clients-auto{
  column-count: 2;
  column-gap: 48px;
}

#clients-auto .client-item{
  break-inside: avoid;
  margin: 0 0 6px 0;
}

/* Mobile = 1 colonne */
@media (max-width: 780px){
  #clients-auto{
    column-count: 1;
  }
}


/* =========================================================
   ABOUT — aligner sur la grille thumbnails (80% aligné à droite)
   DESKTOP ONLY
   ========================================================= */

body:not(.mobile) .about-shell{
  /* même comportement que .container_width / .thumbnails_width */
  max-width: none !important;

  margin-left: auto !important;
  margin-right: 0 !important;

  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* garde ton layout 2 colonnes (tes valeurs) */
body:not(.mobile) .about-shell .about-two{
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important; /* important: on part du bord gauche */
  gap: 56px !important;
  flex-wrap: nowrap !important;
}

body:not(.mobile) .about-shell .about-left{
  flex: 0 0 640px !important;
  width: 640px !important;
  max-width: 640px !important;
  min-width: 0 !important;
}

body:not(.mobile) .about-shell .about-right{
   flex: 0 0 680px !important;
  width: 680px !important;
  max-width: 680px !important;
  min-width: 0 !important;
}

/* =========================
   ABOUT — responsive desktop + mobile
   (override tes widths fixes 640/480)
   ========================= */

/* conteneur */
@media (max-width:780px){

  .about-shell{
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 24px !important;
  }

  .about-shell .about-two{ display:block !important; }

  .about-shell .about-left,
  .about-shell .about-right{
    width:100% !important;
    max-width:100% !important;
    flex:none !important;
  }

  .about-photo img{ margin: 0 0 18px 0 !important; }

  .about-right{
    font-size:20px !important;
    line-height:1.6 !important;
  }

  .about-bio p{ margin:0 0 28px 0 !important; }

  .about-clients{ margin-top:40px !important; }

  .about-clients h2{
    font-size:56px !important;
    line-height:1 !important;
    margin:0 0 18px 0 !important;
  }

  .about-clients-list{ font-size:16px !important; }
}

/* CONTACTS — mobile uniquement (séparé, pas imbriqué) */
@media (max-width: 780px){
  .about-contact{
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
    margin-bottom: 30px;
  }

  .about-contact a{
    font-size: 20px !important;
    line-height: 1.4 !important;
    white-space: normal !important;
  }
}


/* blocs de droite prennent toute la largeur */
.about-right > *{
  width: 100% !important;
  box-sizing: border-box !important;
}

/* breakpoint: quand ça devient serré → 1 colonne */
@media (max-width: 980px){
  .about-shell .about-two{
    flex-direction: column !important;
  }
  .about-shell .about-left,
  .about-shell .about-right{
    max-width: 100% !important;
  }
}

/* mobile (si Cargo ajoute .mobile) */
body.mobile .about-shell .about-two{
  display: block !important;
}
body.mobile .about-shell .about-left,
body.mobile .about-shell .about-right{
  max-width: 100% !important;
  width: 100% !important;
}
/* =========================================================
   VIDEO PROJECT — grande vidéo sans scroll
   ========================================================= */

:root{
  --menuW: 260px;   /* largeur estimée de ton menu gauche */
  --padX: 48px;
  --padY: 64px;
  --maxW: 1320px;
}



.video-stage{
  max-width:1320px;
  margin:0 auto;
}

.video-stage video{
  width:100%;
  height:auto;
  display:block;
}

/* =========================
   PROJECT NAV
   ========================= */
/* =========================================================
   PROJECT NAV — colonne gauche (NEXT / PREVIOUS) like ref
   ========================================================= */

/* le conteneur nav (ton HTML: .project-meta > .project-nav) */
.project-meta{
  position: relative;
}

/* on vire HOME ici (tu le gardes ailleurs si tu veux) */
.project-nav .nav-home{
  display: none !important;
}

/* bloc NEXT/PREV fixé en bas à gauche */
.project-nav {
    position: absolute;
    bottom: 5rem !important;
    z-index: 50 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    width: 118px !important;
    text-align: center !important;
}

/* liens */
.project-nav a{
  display: block !important;
      /* même largeur pour wrap propre */
  white-space: normal !important;

  font-family: Karla, Icons !important;
  font-size: 16px !important;
  letter-spacing: .22em !important;
  text-transform: uppercase !important;
  line-height: 1.25 !important;
font-weight: 700;
  color: rgba(255,255,255,1) !important;
  text-decoration: none !important;
}

/* hover */
.project-nav a:hover{
  color: rgba(255,255,255,.75) !important;
}

/* optionnel: un peu plus “air” entre les mots */
.project-nav .nav-next,
.project-nav .nav-prev{
  word-spacing: .12em !important;
}

/* mobile: tu peux le masquer si besoin */
@media (max-width: 780px){
  .project-nav{
    position: static !important;
    width: auto !important;
    margin-top: 18px !important;
  }
  .project-nav a{
    width: auto !important;
  }
}

/* =========================================
   PROJECT NAV — aligné sur le bord (ligne rouge)
   ========================================= */

/* Desktop only */
html:not(.mobile) .project-meta {
    position: fixed !important;
    left: var(--thumbs-left, 260px) !important;
    bottom: 72px !important;
    transform: translateX(-100%) !important;
    width: 220px !important;
    padding-right: 0 !important;
    padding-left: 54px;
    z-index: 20 !important;
}
html:not(.mobile) .project-meta .project-nav{
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important; /* texte aligné à droite */
  gap: 18px !important;
}

html:not(.mobile) .project-meta .project-nav a{
  display: block !important;
  text-align: right !important;
}

/* Mobile: on laisse Cargo gérer / ton layout existant */
html.mobile .project-meta{
  position: static !important;
  transform: none !important;
  width: auto !important;
  padding-right: 0 !important;
}


.video-full,
.video-embed{
  position: relative !important;
  width: 100% !important;
  overflow: hidden !important;
}


/* wrapper commun */
.video-embed__inner{
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* iframe */
.video-embed__inner iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* MOBILE */
@media (max-width: 768px){
  .video-embed__inner{
    padding-top: 80%;   /* ratio mobile */
  }
}

/* DESKTOP */
@media (min-width: 769px){
  .video-embed__inner{
    padding-top: 50.25%;   /* ratio desktop */
  }
}

body[data-page-id="38172723"] #backToTop{
  display: none !important;
}



#backToTop {
    position: fixed;
    right: 189px;
    bottom: 39px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgb(0 0 0);
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
  display: none;
}

/* uniquement mobile */
@media (max-width: 768px){
  #backToTop{
    display: block;
  }
}



/* ===== MOBILE MENU (avec TON HTML) ===== */
@media (max-width: 768px){

  /* le wrapper couvre l’écran mais reste "invisible" tant que fermé */
  .mnav{
    position: fixed !important;
    inset: 0 !important;
    z-index: 10000 !important;
    pointer-events: none !important; /* on ne clique rien sauf le bouton */
  }

  /* backdrop noir (uniquement quand open) */
  .mnav::before{
    content:"";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.96);
    opacity: 0;
    transition: opacity .25s ease;
  }

  /* le panneau sert juste à centrer le contenu */
  .mnav__panel{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  /* liens : CACHÉS par défaut */
  .mnav__links{
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    pointer-events: none; /* pas cliquable quand fermé */
  }

  /* bouton burger : toujours cliquable et AU-DESSUS */
  .mnav__toggle{
    position: fixed !important;
    top: 36px !important;             /* ajuste si besoin */
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 54px !important;
    height: 54px !important;
    padding: 0 !important;
    border: 0 !important;
      width: 100%!important;
    background: black !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;

    z-index: 10002 !important;
    pointer-events: auto !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .mnav__bar{
    display:block !important;
    width: 28px !important;
    height: 2px !important;
    background: rgba(255,255,255,.92) !important;
    border-radius: 2px !important;
    transition: transform .25s ease, opacity .2s ease !important;
  }

  /* ===== OPEN STATE ===== */
  .mnav.is-open{
    pointer-events: auto !important; /* overlay cliquable */
  }
  .mnav.is-open::before{
    opacity: 1;
  }
  .mnav.is-open .mnav__links{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* croix */
  .mnav.is-open .mnav__bar:nth-child(1){
    transform: translateY(8px) rotate(45deg) !important;
  }
  .mnav.is-open .mnav__bar:nth-child(2){
    opacity: 0 !important;
  }
  .mnav.is-open .mnav__bar:nth-child(3){
    transform: translateY(-8px) rotate(-45deg) !important;
  }

  /* optionnel : empêcher le scroll quand menu ouvert */
  body.mnav-lock{
    overflow: hidden !important;
    touch-action: none !important;
  }
}

/* =========================================================
   MOBILE — NEXT/PREV SOUS LES PROJETS (FIX OVERLAP)
   ========================================================= */
@media (max-width: 768px){

  html.mobile .project-meta,
  body.mobile .project-meta{
    position: static !important;
    transform: none !important;
    width: 100% !important;
    margin: 24px 0 0 0 !important;
    padding: 0 20px 28px !important;
    z-index: auto !important;
    pointer-events: auto !important;
  }

  /* -> Grille 2 colonnes, plus stable qu'un flex + width% */
  html.mobile .project-nav,
  body.mobile .project-nav{
    position: static !important;
    width: 100% !important;

    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;

    background: #000 !important;
    align-items: center !important;
  }

  /* chaque lien est un bloc qui ne se chevauche pas */
  html.mobile .project-nav a,
  body.mobile .project-nav a{
    display: block !important;
    width: auto !important;          /* important : on enlève le 48% */
    padding: 10px 0 !important;

    text-align: center !important;
    white-space: nowrap !important;  /* empêche NEXT / PROJECT de passer sur 2 lignes */
    line-height: 1 !important;

    font-size: 12px !important;
    letter-spacing: .22em !important;
  }

  /* si Cargo met des <br> dans le lien, on les neutralise */
  html.mobile .project-nav a br,
  body.mobile .project-nav a br{
    display: none !important;
  }
}

/* =========================================================
   PATCH — empêcher les règles desktop (html:not(.mobile)) de s'appliquer sur mobile
   + mettre NEXT/PREV SOUS LE BLOC PHOTOS
   ========================================================= */
@media (max-width: 768px){

  /* Cargo met souvent body.mobile (pas html.mobile) */
  html:not(.mobile) body.mobile .content.clearfix{
    display: flex !important;
    flex-direction: column !important;
  }

  /* on force les thumbnails avant, puis la meta/nav en dernier */
  html:not(.mobile) body.mobile .thumbnails{
    order: 1 !important;
  }

  html:not(.mobile) body.mobile .project-meta{
    order: 999 !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    margin: 24px 0 0 !important;
    padding: 0 20px 28px !important;
    z-index: 1 !important;
  }

  html:not(.mobile) body.mobile .project-nav{
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;

    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    align-items: center !important;
  }

  html:not(.mobile) body.mobile .project-nav a{
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 10px 0 !important;
    font-size: 12px !important;
    letter-spacing: .22em !important;
    white-space: nowrap !important;
  }

  /* si Cargo injecte des <br> */
  html:not(.mobile) body.mobile .project-nav a br{ display:none !important; }
}

/* =========================================================
   FIX iOS/Cargo — mini scroll homepage mobile (sans svh)
   ========================================================= */
@media (max-width: 768px){

  body[data-page-id="38172723"],
  body[data-page-id="38172723"] .page,
  body[data-page-id="38172723"] .page_container{
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
  }

  /* Cargo met souvent un padding-top inline sur .page_container */
  body[data-page-id="38172723"] .page_container{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Hauteur “safe” iOS : 100vh + -webkit-fill-available */
  body[data-page-id="38172723"] .page,
  body[data-page-id="38172723"] .page_container,
  body[data-page-id="38172723"] .landing-overlay{
    height: 100vh !important;
    height: -webkit-fill-available !important;
  }

  /* Si le scroll vient d’un enfant qui dépasse de 1px */
  body[data-page-id="38172723"] .page_container{
    overflow: hidden !important;
  }
}


/* =========================================================
   MOBILE — FIX TOP GAP + PROJECT NAV FIXED BOTTOM (Cargo safe)
   ========================================================= */
@media (max-width: 768px){

  /* ---------- A) FIX : gros espace en haut (padding-top inline Cargo) ---------- */
  body.mobile .page_container[data-container="page"]{
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  /* parfois Cargo ajoute un padding sur bodycopy */
  body.mobile bodycopy{
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* on garde le pinned_top visible (top-switch + burger) */
  body.mobile .pinned_top,
  body.mobile .pinned.pinned_top{
    height: var(--topbar-h, 52px) !important;
    overflow: visible !important;
  }

  /* ---------- B) PROJECT NAV : barre FIXED en bas (fiable) ---------- */

  /* 1) on remet .project-meta en flux normal */
  body.mobile .project-meta{
    position: static !important;
    transform: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: auto !important;
  }

  /* 2) barre nav FIXED */
  body.mobile .project-nav{
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    width: 100% !important;
    padding: 14px 0px calc(16px + env(safe-area-inset-bottom)) !important;
    background: rgba(0, 0, 0, .92) !important;
    margin-bottom: 10px;
    border-top: 1px solid rgba(255,255,255,.08) !important;

    z-index: 999999 !important;

    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 16px !important;
  }

  /* 3) les 2 boutons */
  body.mobile .project-nav a{
    flex: 0 0 48% !important;
    max-width: 48% !important;
    text-align: center !important;
    white-space: normal !important;
  }

  /* 4) on ajoute de l’air en bas pour que la barre ne cache pas la fin */
  body.mobile .page_content,
  body.mobile .page_container[data-container="page"]{
    padding-bottom: calc(20px + env(safe-area-inset-bottom)) !important;
  }
}
