/*
Theme Name: NEW GLLECHLAND
Template: kalium
*/

/*
vc_custom_* dans le <head> → toujours !important, contourner avec setProperty('important') en JS
Le padding vertical visible vient souvent de .vc_column-inner via .vc_row-has-fill, pas du row lui-même
La variable --k-content-vertical-spacing gère les marges entre sections
 * */
/*correction du gras qui se faisait sur 600*/
b, strong {
    --k-font-weight: 700!important;
}


/* ================================================================
 SOCIAL ICON TOP 
================================================================ */

.social-icons {
    --k-si-hover-color: #F063b6!important;
}
/* ================================================================
 MENU HANDBURGER 
================================================================ */
/* Couleur de la croix de fermeture du menu */
.toggle-bars.exit .toggle-bars__bar-line {
    background-color: #FFFFFF !important; 
}
/* COMPORTEMENT SUR LE MENU MOBILE*/
.mobile-menu {
	font-size:1.9em !important;
	align-items: center;
	justify-content: center;
}
.mobile-menu .list-nav-menu ul li {
	text-align:center !important;
	
}
.mobile-menu-close {
    color: #ffffff !important;
}
/* ================================================================
 PAGE PROJET SINGLE
================================================================ */

.single-portfolio__gallery-container hr {
	margin-top:5px!important;
	margin-bottom:5px!important;
	color:#959595 !important;
	opacity:0.85!important;
}

/* featured image à 100% pour les projets*/
/* Fix full-width featured image — single portfolio uniquement */
body.single-portfolio {
  overflow-x: clip;
}

.single-portfolio__type-columned--full-width-featured-image .single-portfolio__featured-image,
.single-portfolio__type-columned--full-width-gallery .single-portfolio__gallery-container {
  margin-inline-start: calc(50% - 50vw + var(--k-scrollbar-width) / 2) !important;
  width: calc(100vw - var(--k-scrollbar-width)) !important;
  transform: none !important;
  position: static !important;
}

/*PARTIE CARTOUCHE DROITE DE PROJETS*/
.single-portfolio__content-services--default .single-portfolio__services {
    max-width: var(--k-sp-content-services-width, 25%);
    padding: 30px;
    background-color: #eeeeee;
    border-radius: 2%;
}
.single-portfolio__checklist :is(h3) {
    --k-font-size: 1rem;
	 color:#666666;
	text-transform:uppercase;
}
.single-portfolio__checklist ul>li {
 font-size: 0.85em;
}
/* LES ESPACES */
/*Entre chaque <li>*/
.single-portfolio__checklist li {
    margin-bottom: 0.2em;   /* espace sous chaque item */
    line-height: 1.2;       /* interligne si le texte passe sur plusieurs lignes */
	color:#9d9d9d;
}
/*Entre le <h3> et le <ul> :*/
.single-portfolio__checklist ul {
    margin-top: -0.3em;
}
/*Entre chaque bloc div.single-portfolio__checklist :*/
.single-portfolio__checklist {
    margin-bottom: -1em;
}
/* LIEN DE BASE DE CARTOUCHE*/
.single-portfolio__link a,
.single-portfolio__link a:visited {
    display: inline-block !important;
    background-color: #0024fe !important;
	font-size:0.8em!important;
    color: #ffffff !important;
	margin-top: 25px;
    padding: 4px 10px !important;
    text-decoration: none !important;
    transition: background-color 0.4s ease !important;
}

/* Neutralise le système Kalium + applique le hover */
body.single-portfolio .single-portfolio__link a:hover,
body.single-portfolio .single-portfolio__link a:focus {
    --k-ls-hovered: initial !important; /* coupe le système Kalium */
    background-color: #f063b6 !important;
    color: #ffffff !important;
}
/*Vire le share*/
.single-portfolio__like-share {
    display: none;
}
/* PARTIE TEXTE DE PROJET*/
/*H1*/
.single-portfolio__title h1 {
    --k-font-family: "acumin-pro-semi-condensed";
   /* --k-font-style: normal;*/
    --k-font-weight: 800;
	font-size:3.6rem;
	line-height: normal;
}
@media (max-width: 1024px) {
    .single-portfolio__title h1 {  
		font-size:2.6rem;
	}
}
@media (max-width: 768px) {
    .single-portfolio__title h1 {  
		font-size:2.2rem;
		line-height: 1.1em;
	}
}
.single-portfolio__title__subtitle p {
	font-size:2em;
	color:#0024fe !important;
	line-height: 1.2em;
}
@media (max-width: 1024px) {
    .single-portfolio__title__subtitle p {  
		font-size:1.4em;
		line-height: 1.2em;
	}
}
@media (max-width: 768px) {
    .single-portfolio__title__subtitle p {  
		font-size: 1.2em;
		line-height: normal;
	}
}
.single-portfolio__title__subtitle p:last-child {
    margin-block-end: 1em;
}
@media (max-width: 1024px) {
    .single-portfolio__title__subtitle p:last-child {
    	margin-block-end:0.1em;
	}
}
@media (max-width: 768px) {
    .single-portfolio__title__subtitle p:last-child {
    	margin-block-end:-0.8em;
	}
}
.single-portfolio__entry-content p, .single-portfolio__entry-content li {
	font-size:1.3em;
	color:#333333 !important;
}
@media (max-width: 1024px) {
    .single-portfolio__entry-content p, .single-portfolio__entry-content li {  
		font-size:1.2em;
	}
}
@media (max-width: 768px) {
    .single-portfolio__entry-content p, .single-portfolio__entry-content li {  
		font-size: 1em;
	}
}
.single-portfolio__entry-content p a,
.single-portfolio__entry-content p a:visited{
	background-color: #0024fe !important;
    color: #ffffff !important;
    padding: 1px 2px !important;
    text-decoration: none !important;
    transition: background-color 0.4s ease !important;
}

.single-portfolio__entry-content p a:hover,
.single-portfolio__entry-content p a:focus {
    --k-ls-hovered: initial !important; /* coupe le système Kalium */
    background-color: #f063b6 !important;
    color: #ffffff !important;
}
/*LE TOOGLE*/
.single-portfolio__entry-content .vc_toggle_default .vc_toggle_icon, .vc_toggle_default .vc_toggle_icon:after, .vc_toggle_default .vc_toggle_icon:before {
    background: #0024fe!important;
	border:0px!important;
}
.single-portfolio__entry-content .vc_toggle_title h4 {
	font-size:1.3em;
}

/*CITATION*/
/*La couleur du fond est attribuée aléatoirement par une fonction présente dans le fichier function.php : gleech_random_quote_color()*/
.single-portfolio__quote {
    background-color:#F1FF14;
	padding:4% 10%;
}
.single-portfolio__quote p {
    font-weight: 300;
	font-size: 2.6em;	
	line-height:1.3em;
}
@media (max-width: 1024px) {
    .single-portfolio__quote p {  
		font-size: 2.5em;
		line-height:1.1em;
	}
}
@media (max-width: 768px) {
    .single-portfolio__quote p {  
		font-size: 1.6em;
		line-height:1em;
	}
}
.single-portfolio__quote cite:before {
    content: "— ";
}
@media (max-width: 768px) {
	.single-portfolio__quote cite {
		display: block;
		margin-top: 5px;
		font-size: 0.8em;
		line-height: 1em;
	}
}
/* ================================================================
 PAGE PROJET ARCHIVE
================================================================ */
/* VIGNETTES */ 
/* Logique claire :

.thumb-label / .thumb-label__text pour la vignette au repos
.title--short / .title--full pour le split au hover

/* ─── Titre injecté dans le thumbnail ───────────────────────── */
.portfolio-item__thumbnail {
  position: relative;
}

.thumb-label {
  position: absolute;
  bottom: -0.15em;/*0.6em;*/
  left: 0em;/*0.6em;*/
  pointer-events: none;
}

.thumb-label__text {
  	display: inline;
  	background-color: #FFFFFF;
  	color: #0024fe;
  	padding: 0.15em 0.35em;
	font-family: "acumin-pro-semi-condensed";
    font-style: normal;
    font-weight: 800;
  	line-height: 1.7em;
  	box-decoration-break: clone;
  	-webkit-box-decoration-break: clone;
 	font-size: 1.9rem;
}
@media (max-width: 1024px) {
    .thumb-label__text {  
		font-size: 1.5rem;
		line-height: 1.5em;
	}
}
@media (max-width: 768px) {
    .thumb-label__text {  
		font-size: 1.5rem;
		line-height: 1.5em;
		padding: 0.15em 0.15em;
	}
}
.portfolio-item__subtitle.portfolio-item__subtitle--subtitle {
	/* Texte subtitle au hover de la vignette page archive portfolio*/
}
@media (max-width: 1024px) {
    .portfolio-item__subtitle.portfolio-item__subtitle--subtitle {  
		line-height: 1.2em;
	}
}
@media (max-width: 768px) {
    .portfolio-item__subtitle.portfolio-item__subtitle--subtitle { 
		line-height: 1.2em;
	}
}
.portfolio-item:hover .thumb-label {
  display: none;
}

/* ─── Split titre : repos / hover ───────────────────────────── */
.portfolio-item__title .title--full {
  display: none;
}

.portfolio-item:hover .portfolio-item__title .title--short {
  display: none;
}

.portfolio-item:hover .portfolio-item__title .title--full {
  display: inline;
}

/* ================================================================
   FIX GRILLE MASONRY — Sub-pixel overflow 3 colonnes
   3 × outerWidth déborde le container de 0.0001px → 2 colonnes
   Forcer 33.333% garanti que les items ne dépassent jamais
================================================================ */
#portfolio-items .portfolio-item-entry {
    width: 33.333% !important;
}

@media (max-width: 1024px) {
    #portfolio-items .portfolio-item-entry {
        width: 50% !important;
    }
}

@media (max-width: 768px) {
    #portfolio-items .portfolio-item-entry {
        width: 100% !important;
    }
}

/* ══════════════════════════════════════════════════════════════
   PORTFOLIO PAGE ARCHIVE — FILTRES
   ══════════════════════════════════════════════════════════════ */

.portfolio-filters__terms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ─── État repos ─────────────────────────────────────────────── */
.portfolio-filters__term a {
  display: inline-block;
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #000000;
  padding: 1em!important;
 /* font-family: 'Europa', sans-serif;*/
  font-weight: 300;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease;
}
@media (max-width: 1024px) {
    .portfolio-filters__term a {  
		font-size: 0.7rem;
  		letter-spacing: 0.08em;
		padding: 0.75em!important;
	}
}
@media (max-width: 768px) {
    .portfolio-filters__term a {  
		font-size: 0.7rem;
  		letter-spacing:0.08em;
		padding: 0.5em!important;
	}
}

/* ─── Hover ──────────────────────────────────────────────────── */
.portfolio-filters__term a:hover {
  color: #0000ff;           
  border-color: #0024fe;
  background-color: #ffffff;
}

/* ─── Actif ──────────────────────────────────────────────────── */
.portfolio-filters__term--active a {
  background-color: #0024fe!important;
	--k-ls-bg-color: #0024fe!important;
  color: #ffffff;
  border-color: #0024fe!important;
}

/* ─── Hover sur actif : optionnel, on peut l'assombrir légèrement */
.portfolio-filters__term--active a:hover {
  background-color: #0000cc;
  border-color: #0000cc;
  color: #ffffff;
}


/* ================================================================
 STRUCTURE DES PAGES DE CONTENU
   PAGES DE CONTENU GÉNÉRAL — LAYOUT 1296px
   Cible uniquement les pages WP standard (body.page)
   Sans impact sur les pages portfolio
================================================================ */
/**/


/* ─── Héro image 100% largeur et 100% ht visible───────────────────────────────────────────────────── */
body.page .gleech-hero {
   min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Blindage background — l'image est injectée par gleech_random_hero_image() */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* ─── Container interne 1296px ───────────────────────────────── */
/* Cible le wpb_wrapper direct de la colonne outer sm-12          */
body.page .gleech-content-row > .wpb_column > .vc_column-inner > .wpb_wrapper {
    max-width: 1296px;
    margin-inline: auto;
    box-sizing: border-box;
	/* padding vertical retiré d'ici → déplacé sur le row */
}
/*Autre pages que HOMEPAGE*/
body.page .gleech-content-row2 > .wpb_column > .vc_column-inner  {
    max-width: 1296px;
    margin-inline: auto;
    box-sizing: border-box;
	padding-top: 0px!important;
    padding-bottom: 0px!important;
}


body.page .gleech-content-row {
    padding-top: 50px;
    padding-bottom: 50px;
}

/* ─── Padding horizontal quand l'écran est plus étroit ──────── */
/*ATTENTION LA VARIABLE EST EN DUR : si changement de padding dans le header, il faudra modifier cette valeur de 12px
pour la modifier coller ceci dans la console devTools
// Padding gauche du logo
const logo = document.querySelector('.header-logo, .site-logo, .kalium-logo, header .logo');
console.log('Logo padding-left:', getComputedStyle(logo?.parentElement).paddingLeft);

// Padding du header lui-même
const header = document.querySelector('#site-header, .site-header, header');
console.log('Header padding-left:', getComputedStyle(header).paddingLeft);
console.log('Header padding-right:', getComputedStyle(header).paddingRight);

// Padding du container interne du header
const headerInner = document.querySelector('.header-inner, .header-container, .header-wrapper');
console.log('Header inner padding:', getComputedStyle(headerInner).paddingLeft, getComputedStyle(headerInner).paddingRight);*/

@media (max-width: 1024px) {
	 /* 1 — Le row lui-même (parent) */
    body.page .gleech-content-row {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        margin-block-end: 0 !important;
    }

    /* 2 — Le column-inner (enfant direct) */
     body.page .gleech-content-row.vc_row-has-fill > .vc_column_container > .vc_column-inner {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* 3 — Le wpb_wrapper (petit-enfant) */
    body.page .gleech-content-row > .wpb_column > .vc_column-inner > .wpb_wrapper {
        padding-inline: 12px;
    }
}

@media (max-width: 768px) {
	 /* 1 — Le row lui-même (parent) */
	body.page .gleech-content-row {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
		margin-block-end: 0 !important;
    }
	  /* 2 — Le column-inner (enfant direct) */
	 body.page .gleech-content-row.vc_row-has-fill > .vc_column_container > .vc_column-inner {
       padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
	 /* 3 — Le wpb_wrapper (petit-enfant) */
    body.page .gleech-content-row > .wpb_column > .vc_column-inner > .wpb_wrapper {
        padding-inline:  12px;;
    }
	
    body.page .gleech-hero {
        align-items: flex-end;
        padding-bottom: 2rem;
    }
}

/*
 * FORMAT : Gauche 3 ligne // droite paragraphe deux niveaux de hierarchie
gleech-content-section-titre 
gleech-content-section-txt
*/
.gleech-content-section-titre h2::before {
	 content: '';
    display: block;
    width: 60px;   /* longueur du trait */
    height: 2px;
    background-color: #000000;
    /*flex-shrink: 0; *//* empêche le trait de se réduire si le titre est long */
}
.gleech-content-section-titre h2{
	display: flex;
    align-items: center;
    gap: 0.6em;
	font-size: 1.5em;
    margin-bottom: 1.5em;
    font-weight: 400;
}
.gleech-content-section-titre h3{
	font-size: 3.5em;
	font-family: "acumin-pro-semi-condensed";
	font-weight: 800;
    margin-bottom: 0.5em;
	color:#0024fe;
	box-decoration-break: clone;
  	-webkit-box-decoration-break: clone;
	word-wrap:normal!important;
	hyphens: none;
    word-break: keep-all;
}
.gleech-content-section-titre a{
	display: inline-block;
  	background-color: #ffffff;
	color: #000000;
	border: 1px solid #000000;
	padding: 1em!important;
	font-size: 0.9rem;
	letter-spacing: 0.06em;
	font-weight: 300;
	text-decoration: none;
  	transition: color 0.3s ease, border-color 0.3s ease;
}
.gleech-content-section-titre a:hover{
	color: #0000ff;           
  border-color: #0024fe;
  background-color: #ffffff;
}
.gleech-content-section-txt strong {
	font-size: 1.9rem;
	line-height:1.8rem;
	text-wrap: balance;
}
.gleech-content-section-txt ul {
	 list-style: none;
    padding-left: 0;
}
.gleech-content-section-txt li {
	text-wrap: balance;
    position: relative;
    padding-left: 1.2em;   /* espace pour le carré */
    margin-bottom: 0.6em;  /* écart entre items*/
}
/* ─── Carré bleu ─────────────────────────────────────────────── */
.gleech-content-section-txt li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.525em;            /* alignement vertical par rapport au texte */
    width: 0.45em;
    height: 0.45em;
    background-color: #0024fe;
    flex-shrink: 0;
}

/* ─── Trait séparateur sous chaque item (sauf le dernier) ─────── */
.gleech-content-section-txt li::after {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background-color: #0024fe;
    margin-top: 0.6em;     /* espace entre le texte et le trait */
}

.gleech-content-section-txt li:last-child::after {
    display: none;         /* pas de trait sous le dernier item */
}

@media (max-width: 1024px) {
	.gleech-content-section-titre h3{
		font-size: 2.9em;
		line-height:1em;
	}
	.gleech-content-section-titre h2{
		margin-bottom: 0.75em;
	}
	.gleech-content-section-txt strong {
		font-size: 1.35rem;
		line-height:1.3rem;
	}
}
@media (max-width: 768px) {
	.gleech-content-section-titre h3{
		font-size: 2.5em;
		line-height:1em;
	}
	.gleech-content-section-txt strong {
		font-size: 1.3rem;
		line-height:1.3rem;
	}
	.gleech-content-section-titre h2{
		margin-bottom: 0.75em;
	}
	.gleech-content-section-titre h2::before {
    	width: 25px;  
	}
	.gleech-content-section-txt li::after {
        display: none;
    }
	.gleech-content-section-txt li {
		margin-bottom: 1em;
	}
}
/* ====================================================*/
/* H1 PAGE
/* ====================================================*/
.gleech-page-h1 .vc_column-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.gleech-page-h1 h1 {
	font-family: "acumin-pro-semi-condensed";
    font-style: normal;
    font-weight: 800;
  	line-height: 3.8rem;
  	box-decoration-break: clone;
  	-webkit-box-decoration-break: clone;
 	font-size: 3.6rem;	
	text-wrap: balance;
	 padding-top: 30px;
    color: white;
}
@media (max-width: 1024px) {
	.gleech-page-h1 h1 {
		padding-left: 20px;
		padding-right: 20px;
	}
}
@media (max-width: 768px) {
	.gleech-page-h1 h1 {
		font-size: 2.4rem;
        line-height: 1em;
        text-align: center;
		word-break:keep-all!important;
	}
}
/* ====================================================*/
/*SECTIONS EXPERTISES DE LA PAGE SERVICE*/
/* ====================================================*/
.gleech-content-section-expertise strong {
	color: #0024fe;
    display: flex;        /* icon + texte sur la même ligne */
    align-items: center;
    gap: 0.6em;
    margin-left: 50px;    /* remplace padding-left — l'ensemble démarre à 50px */
}
.gleech-content-section-expertise ul {
	 list-style: none;
    padding-left: 50px;
}
.gleech-content-section-expertise li {
	text-wrap: balance;
	color: #0024fe;
    position: relative;
    padding-left: 1.2em;   /* espace pour le carré */
    margin-bottom: 0.3em;  /* écart entre items*/
}
/* ─── Carré bleu ─────────────────────────────────────────────── */
.gleech-content-section-expertise li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.525em;            /* alignement vertical par rapport au texte */
    width: 0.45em;
    height: 0.45em;
    background-color: #0024fe;
    flex-shrink: 0;
}
@media (max-width: 1024px) {
	.gleech-content-section-expertise ul {
    	padding-left: 25px;
	}
}
@media (max-width: 768px) {
	.gleech-content-section-expertise ul {
	 	padding-left: 0px;
	}
	.gleech-content-section-expertise strong {
	 	padding-left: 0px;
	}
}
/* ====================================================*/
/* SECTIONS EXPERTISES — ICÔNE SVG AU-DESSUS DU TITRE */
/* ====================================================*/

/* ─── Bloc commun : réserve l'espace pour l'icône ─────────── */
.gleech-content-section-expertise strong::before {
    content: '';
    flex-shrink: 0;       /* l'icône ne se réduit pas */
    width: 32px;
    height: 32px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: invert(9%) sepia(97%) saturate(7482%) hue-rotate(238deg) brightness(98%) contrast(110%);
}

/* ─── Icône spécifique par bloc ─────────────────────────────── */
.gleech-expertise--catalyseur strong::before {
    background-image: url('https://icono.gleech.me/2026/03/service1.svg');
}

.gleech-expertise--editorial strong::before {
    background-image: url('https://icono.gleech.me/2026/03/service2.svg');
}

.gleech-expertise--grafika strong::before {
    background-image: url('https://icono.gleech.me/2026/03/service3.svg');
}
.gleech-expertise--motion strong::before {
    background-image: url('https://icono.gleech.me/2026/03/service4.svg');
}

.gleech-expertise--museo strong::before {
    background-image: url('https://icono.gleech.me/2026/03/service5.svg');
}

/* ─── Ajustement mobile ──────────────────────────────────────── */
@media (max-width: 1024px) {
    .gleech-content-section-expertise strong {
        margin-left: 25px;
    }
}
@media (max-width: 768px) {
    .gleech-content-section-expertise strong {
        margin-left: 0;
    }
    .gleech-content-section-expertise strong::before {
        width: 24px;
        height: 24px;
    }
}




/* Image full-width au ratio naturel */
/* ================================================================
   IMAGES FULL-WIDTH RATIO RESPECTÉ — base commune aux 3 classes (1 fixe et 2 animées)
   MODIFIER LA CLASSE DANS WPBAKERY AU NIVEAU DU ROW PARENT
================================================================ */

/* ─── Reset marges/padding sur tous les intermédiaires ──────── */
body.page .gleech-img-ratio .wpb_column,
body.page .gleech-img-ratio .vc_column-inner,
body.page .gleech-img-ratio .vc_inner,
body.page .gleech-img-ratio .vc_figure,
body.page .gleech-img-ratio .vc_single_image-wrapper,
body.page .gleech-img-kenburns .wpb_column,
body.page .gleech-img-kenburns .vc_column-inner,
body.page .gleech-img-kenburns .vc_inner,
body.page .gleech-img-kenburns .vc_figure,
body.page .gleech-img-kenburns .vc_single_image-wrapper,
body.page .gleech-img-drift .wpb_column,
body.page .gleech-img-drift .vc_column-inner,
body.page .gleech-img-drift .vc_inner,
body.page .gleech-img-drift .vc_figure,
body.page .gleech-img-drift .vc_single_image-wrapper {
    padding: 0 !important;
    margin: 0 !important;
}

/* ─── Suppression border Kalium ─────────────────────────────── */
body.page .gleech-img-ratio .vc_box_border_grey,
body.page .gleech-img-kenburns .vc_box_border_grey,
body.page .gleech-img-drift .vc_box_border_grey {
    border: none !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block;
}

/* ─── Wrapper image pleine largeur ──────────────────────────── */
body.page .gleech-img-ratio .vc_single_image-wrapper,
body.page .gleech-img-kenburns .vc_single_image-wrapper,
body.page .gleech-img-drift .vc_single_image-wrapper {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    line-height: 0;
}

/* ─── overflow:hidden sur le conteneur direct de l'image ─────
   Posé ici (et non sur le row) pour que le zoom/dérive
   soit coupé au plus près de l'image, sans affecter les
   éléments parents                                          */
body.page .gleech-img-kenburns .vc_single_image-wrapper,
body.page .gleech-img-drift .vc_single_image-wrapper {
    overflow: hidden;
}

/* ─── Image pleine largeur, ratio respecté ──────────────────── */
body.page .gleech-img-ratio img,
body.page .gleech-img-kenburns img,
body.page .gleech-img-drift img {
    width: 100%;
    height: auto;
    display: block;
}

/* ================================================================
   ANIMATIONS — spécifique à chaque classe
================================================================ */

/* ─── Ken Burns (zoom lent depuis le centre) ────────────────── */
@keyframes gleech-ken-burns {
    from { transform: scale(1); }
    to   { transform: scale(1.03); }
}

body.page .gleech-img-kenburns img {
    transform-origin: center center;
    will-change: transform;
    animation: gleech-ken-burns 8s ease-in-out infinite alternate;
}

/* ─── Dérive horizontale douce ───────────────────────────────── */
@keyframes gleech-drift {
    from { transform: translateX(0); }
    to   { transform: translateX(-2%); }
}

body.page .gleech-img-drift img {
    width: 102% !important; /* légère surlargueur pour masquer le bord lors de la dérive */
    will-change: transform;
    animation: gleech-drift 10s ease-in-out infinite alternate;
}

/* ================================================================
   PAGE ACCUEIL
================================================================ */
.gleech-content-exergue-home {
	/**/
}
.gleech-content-exergue-home h1 {
	color:#ffffff;
	font-family: "acumin-pro-semi-condensed";
	font-weight: 800;
	font-size:5.8em;
	text-wrap: balance;
}

.gleech-content-exergue-home h2 {
	color:#ffffff;
	font-size:2.6em;
    text-wrap: balance;
}
.gleech-content-exergue-home h3 {
	color: #ffffff;
    font-size: 1.1em;
    font-weight: 300;
    letter-spacing: 0.22em;
    text-transform: uppercase;
	 text-wrap: balance;
}
.gleech-content-exergue-home h3::before {
    content: "";
    display: block;
    width: 100px;
    height: 1px;
    background-color: #ffffff;
    margin: 1.2em auto 0.6em auto; /* plus d'espace au-dessus qu'en dessous */
}
@media (max-width: 1024px) {
    .gleech-content-exergue-home h1 {
        font-size:5em;
		line-height:1em;
    }
	.gleech-content-exergue-home h2 {
        font-size: 2em;
        line-height: 1em;
        padding-top: 0.5em;
    }
	.gleech-content-exergue-home h3 {
        font-size:1.1em;
		line-height:1em;
    }
}

@media (max-width: 768px) {
   .gleech-content-exergue-home h1 {
       font-size:3.1em;
		line-height:1em;
	   word-break: keep-all;
    }
	.gleech-content-exergue-home h2 {
        font-size:1.5em;
		line-height:1em;
    }
	.gleech-content-exergue-home h3 {
        font-size:1em;
		line-height:1em;
    }
}
/* ================================================================
   HOME PAGE - PROJETS MIS EN AVANT
================================================================ */
/* ================================================================
   LISTE PROJETS MIS EN AVANT
================================================================ */

.gleech-projects-list {
    width: 100%;
}

/* ─── Ligne projet ───────────────────────────────────────────── */
.gleech-project-item {
    display: block;
    text-decoration: none;
    border-top: 2px solid #0024fe;
    padding: 1em 0;
    transition: background-color 0.3s ease, color 0.3s ease;
    color: #000000;
	position: relative;
}

/* Dernière ligne a aussi un trait en bas */
.gleech-project-item:last-child {
    border-bottom: 2px solid #0024fe;
}
/* ─── Flèche cachée au repos ─────────────────────────────────── */
.gleech-project-item::after {
    content: '';
    position: absolute;
    right: 1em;
    top: 50%;
    transform: translateY(-50%);
    width: 1.8em;
    height: 1.8em;
    background-image: url('https://icono.gleech.me/2026/03/fleche-rd.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    /* Si le SVG n'est pas blanc nativement : */
    filter: brightness(0) invert(1);
}

/* ─── Hover — inversion ──────────────────────────────────────── */
.gleech-project-item:hover {
    background-color: #0024fe;
    padding-inline: 0.8em 3.5em; /* gauche 0.8em / droite réservée pour la flèche */
}

.gleech-project-item:hover .gleech-project-item__year,
.gleech-project-item:hover .gleech-project-item__client,
.gleech-project-item:hover .gleech-project-item__title {
    color: #ffffff;
}
.gleech-project-item:hover::after {
    opacity: 1;
}
/* ─── Ligne meta : année + client ───────────────────────────── */
.gleech-project-item__meta {
    display: flex;
    gap: 2em;
    align-items: baseline;
    margin-bottom: 0.2em;
}

.gleech-project-item__year {
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: #0024fe;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.gleech-project-item__client {
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: #0024fe;
    text-transform: uppercase;
    transition: color 0.3s ease;
}
@media (max-width: 768px) {
    .gleech-project-item__client {
        font-weight: 400!important;
    }
	.gleech-project-item__year {
        font-weight: 400!important;
    }
}

/* ─── Titre du projet ────────────────────────────────────────── */
.gleech-project-item__title {
    font-family: "acumin-pro-semi-condensed";
    font-weight: 800;
    font-size: 2rem;
    line-height: 1.1em;
    color: #000000;
    transition: color 0.3s ease;
}

@media (max-width: 1024px) {
    .gleech-project-item__title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .gleech-project-item__meta {
        gap: 1em;
    }
    .gleech-project-item__title {
        font-size: 1.3rem;
    }
}

/*================================================================*/
/*=========================   PAGE GLEECHLAND ==================*/
/*================================================================*/
/* 0024fe*/
/* ================================================================
   SÉPARATEUR TITRE CLIENT — .gleech-sep-client
================================================================ */

/* ─── Trait gauche : fixe 50px ──────────────────────────────── */
.gleech-sep-client .vc_sep_holder_l {
    flex: 0 0 50px !important;
    width: 50px !important;
}
/* ─── Propriété du trait ───────────────────────────────────── */
.gleech-sep-client .vc_sep_line {
    border-top: 2px solid #0024fe !important;
}

/* ─── Le H4 ─────────────────────────────────────────────────── */
.gleech-sep-client h4 {
    flex-shrink: 0;          /* empêche le titre de se comprimer */
    font-size: 1.4rem;
    font-weight: 400;
    /*letter-spacing: 0.15em;
    text-transform: uppercase;*/
    color: #0024fe;
    margin: 0;
    white-space: nowrap;     /* évite le retour à la ligne */
}
.gleech-ref-client h5 {
	 font-size: 0.9rem;
	padding-bottom:5px;
	color:#666666;
}
.gleech-ref-client h5:not(:first-child) {
    padding-top: 25px;
}
.gleech-ref-client ul {
    list-style-type: none;
    padding-inline-start: 0px;
}

.gleech-ref-client li {
    font-size: 0.85rem;
    line-height: 1rem;
    padding-bottom: 5px;
	color:#666666;
}

/* ─── C'est le <a> qui devient flex ─────────────────────────── */
.gleech-ref-client li a {
    display: inline-flex;
    align-items: baseline;
    color: #666666 !important;
    text-decoration: none;
}

.gleech-ref-client li a:hover {
    color: #FFFFFF !important;
}

.gleech-ref-client li a::before {
    content: "→";
    flex-shrink: 0;
    margin-right: 0.4em;
    display: inline-block;
    transition: transform 0.2s ease;
}

.gleech-ref-client li a:hover::before {
    transform: translateX(3px);
}

/* ================================================================
   FORMULAIRE DE CONTACT — .gleech-form
================================================================ */

/* ─── Champs texte et textarea ───────────────────────────────── */
.gleech-form input[type="text"],
.gleech-form input[type="email"],
.gleech-form textarea {
    border: 1px solid #0024fe !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}
.gleech-form input[type="text"]:valid,
.gleech-form input[type="email"]:valid,
.gleech-form textarea:valid {
    border-color: #0024fe !important;
    box-shadow: none !important;
}
.gleech-form input[type="text"]:valid:focus,
.gleech-form input[type="email"]:valid:focus,
.gleech-form textarea:valid:focus {
    border-color: #0024fe !important;
    box-shadow: 0 0 0 3px rgba(0, 36, 254, 0.15) !important;
}
.gleech-form input[type="text"]:hover,
.gleech-form input[type="email"]:hover,
.gleech-form textarea:hover {
    border-color: #f063b6 !important;
}

.gleech-form input[type="text"]:focus,
.gleech-form input[type="email"]:focus,
.gleech-form textarea:focus {
    border-color: #0024fe !important;
    box-shadow: 0 0 0 3px rgba(0, 36, 254, 0.15) !important;
    outline: none !important;
}

/* ─── Checkbox ───────────────────────────────────────────────── */
.gleech-form input[type="checkbox"] {
    accent-color: #0024fe;
    outline: 1px solid #0024fe;
    transition: outline-color 0.3s ease;
}

.gleech-form input[type="checkbox"]:hover {
    outline-color: #f063b6;
}

/* ─── Lien politique de confidentialité ─────────────────────── */
.gleech-form .contact-form-privacy-policy a,
.gleech-form .contact-form-privacy-policy a:visited {
    background-color: #FFFFFF;
    color: #0024fe !important;
    padding: 1px 3px;
    text-decoration: none !important;
    transition: background-color 0.3s ease;
}

.gleech-form .contact-form-privacy-policy a:hover {
    background-color: #0024fe;
    color: #ffffff !important;
}

/* ─── Bouton ─────────────────────────────────────────────────── */
.gleech-form button[type="submit"] {
    background-color: #0024fe !important;
    color: #ffffff !important;
    border: none !important;
    transition: background-color 0.3s ease !important;
}

.gleech-form button[type="submit"]:hover {
    background-color: #f063b6 !important;
    color: #ffffff !important;
}
/*RS*/
/* ─── Icônes sociales inline — bloc contact ─────────────────── */
.gleech-social-inline {
    display: flex;
    gap: 0.8em;
    align-items: center;
}

.gleech-social-inline a {
    display: inline-flex;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.gleech-social-inline a svg {
    fill: currentColor;  /* hérite la couleur du <a> */
    transition: fill 0.3s ease;
}

.gleech-social-inline a:hover svg {
    fill: #0024fe;
}

/* ================================================================
   MENTIONS LEGALES (basées sur gleech-content-row)
================================================================ */
/* ─── Variante contact ───────────────────────────────────────── */
.gleech-content-row--legal h2 {
    color:#0024fe;
	font-size:3em;
}
.gleech-content-row--legal h3 {
    color:#333333;
	font-size:1.8em;
}
.gleech-content-row--legal p {
    color:#333333;
}
/* ================================================================
   FOOTER
================================================================ */
.site-footer {
	background-color: #0024fe!important;
}

/* ================================================================
   MOSAÏQUE GLEECHLAND
================================================================ */
/*
FORMAT VIDEO DE SORTIE : 960x540
VIGNETTES VIDEOS ET PAIRES DE RECTANGLE : 960x540
VIGNETTE ALLONGEES : 800x1050
VIGNETTES CARREES : 900x900
*/

/*
//AVANT Même formattage que portfolio au niveau de la largeur et div après blabla text
.gleech-mosaic {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

*/
.gleech-mosaic {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    max-width: 1296px;   /* ← même valeur que gleech-content-row */
    margin-inline: auto; /* ← centrage */
}

.gleech-mosaic__row {
    display: flex;
    gap: 5px;
    width: 100%;
}

/* Chaque case occupe sa part égale de la rangée */
/* La règle de base reste inchangée avec son aspect-ratio par défaut */
.gleech-mosaic__case {
    flex: 1;
    overflow: hidden;
    position: relative;
    background-color: #e8e8e8;
    aspect-ratio: 16 / 9;
}

/* Surcharges par rangée */
.gleech-mosaic__row--3 .gleech-mosaic__case {
    aspect-ratio: 800 / 1050;
}

.gleech-mosaic__row--4 .gleech-mosaic__case {
    aspect-ratio: 1 / 1;
}

/* Numéro de case visible pendant le dev — à retirer à l'étape finale */
.gleech-mosaic__case::before {
    content: "CASE " attr(data-case);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "acumin-pro-semi-condensed";
    font-weight: 800;
    font-size: 1.4rem;
    color: #0024fe;
    opacity: 0.35;
    pointer-events: none;
}

/* Transition d'apparition au scroll */
.gleech-mosaic__case {
    opacity: 0;
    transition: opacity 0.5s ease;
}
.gleech-mosaic__case--visible {
    opacity: 1;
}
/* ── Vidéo ───────────────────────────────────────────────────── */
.gleech-mosaic__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Hover swap ─────────────────────────────────────────────── */
.gleech-mosaic__swap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    will-change: transform;
}

/* Image A — au repos centrée, au survol sort à gauche */
.gleech-mosaic__swap--a {
    transform: translateX(0);
    z-index: 1;
}
.gleech-mosaic__case--hovered .gleech-mosaic__swap--a {
    transform: translateX(-100%);
}

/* Image B — au repos cachée à droite, au survol entre par la gauche */
.gleech-mosaic__swap--b {
    transform: translateX(100%);
    z-index: 2;
}
.gleech-mosaic__case--hovered .gleech-mosaic__swap--b {
    transform: translateX(0);
}
/* ── Images aléatoires ──────────────────────────────────────── */
.gleech-mosaic__random {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    /* Rangée 4 → 2×2 */
    .gleech-mosaic__row--4 {
        flex-wrap: wrap;
    }
    .gleech-mosaic__row--4 .gleech-mosaic__case {
        flex: 0 0 calc(50% - 2.5px);
    }
}

@media (max-width: 768px) {
    .gleech-mosaic {
        padding-inline: 12px;
		gap: 24px;
    }

    .gleech-mosaic__row {
        flex-wrap: wrap;
		gap: 24px;
    }

    .gleech-mosaic__case,
    .gleech-mosaic__row--4 .gleech-mosaic__case {
        flex: 0 0 100%;
    }
}