.js-reveal,
.js-text-reveal {
	will-change: transform, opacity;
}

/* Loader : bloque le défilement pendant l’intro (classe ajoutée côté PHP) */
body.has-studio-loader {
	overflow: hidden;
}

/* Gabarit d’accueil de secours (brief client) */
.studio-home-fallback {
	--studio-accent-local: var(--studio-accent, #8b7355);
}

.studio-eyes-catcher {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	background: #0a0a0a;
	color: #fff;
}

.studio-eyes-catcher__media {
	position: absolute;
	inset: 0;
}

.studio-eyes-catcher__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.studio-eyes-catcher__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
	text-align: center;
	padding: 2rem;
}

.studio-eyes-catcher__placeholder-label {
	max-width: 28rem;
	margin: 0;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.7;
}

.studio-eyes-catcher__overlay {
	position: relative;
	z-index: 2;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	align-items: flex-end;
	padding: 2.5rem 0;
	background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.65));
}

.studio-eyes-catcher__kicker {
	margin: 0;
	font-size: 0.75rem;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	opacity: 0.9;
}

.studio-studio-founder__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: center;
}

.studio-studio-founder__photo {
	aspect-ratio: 3 / 4;
	max-height: 520px;
	width: 100%;
	background: linear-gradient(160deg, #d8d3cc, #ece8e2);
	filter: grayscale(100%);
}

.studio-studio-founder__cta.button {
	background: var(--studio-accent-local) !important;
	border: none;
}

.studio-home-fallback__hint {
	font-size: 0.8rem;
	color: var(--color-muted, #666);
	padding-bottom: 2rem;
}

@media (min-width: 768px) {
	.studio-studio-founder__grid {
		grid-template-columns: minmax(240px, 38%) 1fr;
	}
}

/* Gabarits Contact Studio / Services Studio : tout le layout et les fonds viennent d’Elementor */
.studio-elementor-page {
	width: 100%;
}

/* ═══════════════════════════════════════════════════════════════════
   HEADER — transparent overlay sur le hero, dark au scroll
   ═══════════════════════════════════════════════════════════════════ */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9000;
	padding: 1.5rem 3rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
	background: transparent;
}


.site-header .site-title a,
.hello-elementor .site-header .site-title a {
	color: #ffffff;
	font-family: var(--studio-font-heading, "Cormorant Garamond", serif);
	font-size: 1.1rem;
	font-weight: 400;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	text-decoration: none;
}

.site-header .nav-menu a,
.site-header nav a,
.site-header .main-navigation a {
	font-family: var(--studio-font-body, "Outfit", sans-serif);
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.85);
	text-decoration: none;
	transition: color 0.25s ease;
}

.site-header .nav-menu a:hover,
.site-header nav a:hover {
	color: #ffffff;
}

.hello-elementor .site-header {
	background: transparent;
}

/* Décalage du contenu pour les pages avec header fixe transparent */
body:not(.home):not(.page-template-template-services) .elementor {
	padding-top: 80px;
}

@media (max-width: 768px) {
	body:not(.home):not(.page-template-template-services) .elementor {
		padding-top: 64px;
	}
}

/* Page Services : le header est overlay, pas de décalage */
.page-template-template-services .studio-services-page {
	padding-top: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER — minimal dark
   ═══════════════════════════════════════════════════════════════════ */

.site-footer {
	background: #0a0a0a;
	color: rgba(255,255,255,0.45);
	padding: 2rem 3rem;
	font-family: var(--studio-font-body, "Outfit", sans-serif);
	font-size: 0.65rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.site-footer a {
	color: rgba(255,255,255,0.45);
	text-decoration: none;
}

.site-footer a:hover {
	color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════════════
   ELEMENTOR — reset boutons verts par défaut
   ═══════════════════════════════════════════════════════════════════ */

.elementor-button {
	background-color: #1a1a1a !important;
	color: #ffffff !important;
	border-radius: 0 !important;
	font-family: var(--studio-font-body, "Outfit", sans-serif) !important;
	font-size: 0.7rem !important;
	letter-spacing: 0.2em !important;
	text-transform: uppercase !important;
}

.elementor-button.elementor-button-link[style*="background-color:rgba(0,0,0,0)"],
.elementor-button[style*="background-color: rgba(0, 0, 0, 0)"] {
	background-color: transparent !important;
}

/* ═══════════════════════════════════════════════════════════════════
   HEADER STUDIO — structure détaillée
   ═══════════════════════════════════════════════════════════════════ */

.studio-header {
	position: fixed !important;
	top: 0;
	left: 0;
	right: 0;
	z-index: 99000 !important;
	background: transparent;
	/* transition sur la couleur uniquement, pas de fond au scroll */
	transition: color 0.35s ease;
}

/* ── Header 3 blocs : Logo | Menu centré | Actions ───────────────────────
   grid 1fr auto 1fr garantit que le menu est TOUJOURS centré
   quelle que soit la largeur du logo ou des boutons d'action.        */

.studio-header__inner {
	display:     grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	padding:     1.75rem 3rem;
}

.studio-header__brand {
	justify-self: start;
}

.studio-header__nav {
	justify-self: center;
}

/* Groupe devise + compte + hamburger alignés à droite */
.studio-header__actions {
	justify-self: end;
	display:      flex;
	align-items:  center;
	gap:          0.75rem;
}

/* ── Couleurs adaptatives : header sur section sombre (défaut) ── */
.studio-header {
	--hdr-text:       rgba(255,255,255,0.88);
	--hdr-text-hover: #ffffff;
	--hdr-bar:        #ffffff;
	--hdr-underline:  #ffffff;
}

/* Header sur section claire → texte sombre */
.studio-header--on-light {
	--hdr-text:       rgba(10,10,10,0.78);
	--hdr-text-hover: #0a0a0a;
	--hdr-bar:        #0a0a0a;
	--hdr-underline:  #0a0a0a;
}

/* Brand / logo */
.studio-header__site-name {
	font-family: var(--studio-font-heading, "Cormorant Garamond", serif);
	font-size: 0.95rem;
	font-weight: 400;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hdr-text);
	text-decoration: none;
	transition: color 0.35s ease, opacity 0.2s;
	white-space: nowrap;
	flex-shrink: 0;
}

.studio-header__site-name:hover { opacity: 0.75; }

/* Nav desktop */
.studio-nav {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.studio-nav__list {
	display: flex !important;
	align-items: center;
	gap: 2rem;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	flex-wrap: nowrap;
}

.studio-nav__list li {
	display: list-item !important;
}

/* ── Tous les liens nav utilisent la variable CSS du header ──────────────
   !important nécessaire pour écraser les styles Elementor Kit / Hello Elementor
   qui injectent des couleurs de lien globales sur <a>. */
.studio-header .studio-nav__list a,
.studio-header .studio-nav__list li a {
	font-family:     var(--studio-font-body, "Outfit", sans-serif) !important;
	font-size:       0.68rem !important;
	font-weight:     400 !important;
	letter-spacing:  0.22em !important;
	text-transform:  uppercase !important;
	color:           var(--hdr-text) !important;   /* ← change avec --on-light */
	text-decoration: none !important;
	opacity:         0.72;                         /* items non-actifs : légèrement atténués */
	position:        relative;
	transition:      color 0.35s ease, opacity 0.35s ease !important;
}

.studio-header .studio-nav__list a::after {
	content:    "";
	position:   absolute;
	bottom:     -4px;
	left:       0;
	width:      0;
	height:     1px;
	background: var(--hdr-underline);
	transition: width 0.3s cubic-bezier(0.4,0,0.2,1), background 0.35s ease;
}

/* Hover : pleine opacité + soulignement */
.studio-header .studio-nav__list a:hover,
.studio-header .studio-nav__list li a:hover {
	color:   var(--hdr-text-hover) !important;
	opacity: 1 !important;
}
.studio-header .studio-nav__list a:hover::after { width: 100%; }

/* Page active : pleine opacité + soulignement permanent (indicateur de position) */
.studio-header .studio-nav__list .current-menu-item > a,
.studio-header .studio-nav__list .current_page_item > a,
.studio-header .studio-nav__list .current-menu-ancestor > a {
	color:   var(--hdr-text-hover) !important;
	opacity: 1 !important;
}
.studio-header .studio-nav__list .current-menu-item > a::after,
.studio-header .studio-nav__list .current_page_item > a::after,
.studio-header .studio-nav__list .current-menu-ancestor > a::after {
	width: 100%;
}

/* ── Bouton hamburger ─────────────────────────────────────────────────────── */
/* Reset complet navigateur : certains mobiles appliquent background, border,
   outline sur <button> même avec background:none */
.studio-header__toggle {
	/* reset navigateur */
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: transparent !important;
	border: 0 !important;
	outline: none !important;
	-webkit-tap-highlight-color: transparent;
	box-shadow: none !important;
	/* structure */
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	cursor: pointer;
	padding: 8px;
	width: 40px;
	height: 40px;
}

.studio-header__toggle-bar {
	display: block;
	width: 24px;
	height: 1.5px;                         /* plus épais = mieux visible */
	background: var(--hdr-bar);
	border-radius: 2px;
	transition: transform 0.32s cubic-bezier(0.4,0,0.2,1),
	            opacity   0.32s ease,
	            background 0.35s ease;
}

/* Animation X quand le menu est ouvert */
.studio-header__toggle[aria-expanded="true"] .studio-header__toggle-bar:nth-child(1) {
	transform: translateY(6.5px) rotate(45deg);
}
.studio-header__toggle[aria-expanded="true"] .studio-header__toggle-bar:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}
.studio-header__toggle[aria-expanded="true"] .studio-header__toggle-bar:nth-child(3) {
	transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Overlay menu mobile ──────────────────────────────────────────────────── */
/* Le menu est en dehors du <header> → z-index propre, au-dessus de tout */
.studio-mobile-menu {
	position: fixed;
	inset: 0;
	background: #0a0a0a;
	z-index: 100000;          /* au-dessus du header (99000) */
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1),
	            visibility 0.4s;
}

.studio-mobile-menu.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

/* Bouton fermeture (croix) */
.studio-mobile-menu__close {
	-webkit-appearance: none;
	appearance: none;
	background: transparent !important;
	border: 0 !important;
	outline: none !important;
	-webkit-tap-highlight-color: transparent;
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}

.studio-mobile-menu__close span {
	position: absolute;
	width: 24px;
	height: 1.5px;
	background: #ffffff;
	border-radius: 2px;
}
.studio-mobile-menu__close span:first-child { transform: rotate(45deg); }
.studio-mobile-menu__close span:last-child  { transform: rotate(-45deg); }

/* Liste liens */
.studio-mobile-menu__list {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
}

.studio-mobile-menu__list li { margin: 1.25rem 0; }

/* !important indispensable : l'Elementor Kit injecte une couleur globale
   sur <a> qui écrase color: #ffffff sans !important */
.studio-mobile-menu__list a,
.studio-mobile-menu .menu-item a,
.studio-mobile-menu a {
	font-family: var(--studio-font-heading, "Cormorant Garamond", serif) !important;
	font-size: clamp(2.2rem, 8vw, 3.8rem) !important;
	font-weight: 300 !important;
	color: #ffffff !important;
	text-decoration: none !important;
	letter-spacing: 0.05em !important;
	opacity: 0.85 !important;
	display: inline-block;
	-webkit-tap-highlight-color: transparent;
	transition: opacity 0.2s ease !important;
}

.studio-mobile-menu__list a:hover,
.studio-mobile-menu__list a:active,
.studio-mobile-menu a:hover {
	opacity: 1 !important;
	color: #ffffff !important;
}

/* Page active dans le menu mobile */
.studio-mobile-menu__list .current-menu-item > a,
.studio-mobile-menu__list .current_page_item > a {
	opacity: 1 !important;
	border-bottom: 1px solid rgba(255,255,255,0.45) !important;
	padding-bottom: 3px !important;
}

/* ── Responsive header (mobile ≤ 768px) ────────────────────────────────── */
@media (max-width: 768px) {
	/* 2 colonnes seulement : logo | actions (hamburger) */
	.studio-header__inner {
		grid-template-columns: 1fr auto;
		padding: 1rem 1.5rem;
	}

	/* Nav dans le menu overlay → masquée ici */
	.studio-header__nav,
	.studio-nav              { display: none !important; }

	/* Devise + compte dans l'overlay → masqués dans le header */
	.studio-header__currency { display: none !important; }
	.studio-header__account  { display: none !important; }

	/* Hamburger toujours visible */
	.studio-header__toggle   { display: flex !important; }
}

/* Tablette */
@media (max-width: 1024px) and (min-width: 769px) {
	.studio-nav__list     { gap: 1.25rem; }
	.studio-header__inner { padding: 1.25rem 2rem; }
}

/* ── Espacement Elementor mobile ────────────────────────────────────────── */
@media (max-width: 767px) {

	/* Conteneur de section : zéro padding horizontal */
	.elementor-section > .elementor-container,
	.e-con > .e-con-inner {
		padding-left:  0 !important;
		padding-right: 0 !important;
		max-width:     100% !important;
		width:         100% !important;
	}

	/* Colonnes : padding latéral réduit (8px de chaque côté) */
	.elementor-column,
	.elementor-col-100,
	.elementor-col-50 {
		padding-left:  0 !important;
		padding-right: 0 !important;
	}

	.elementor-column-wrap,
	.elementor-widget-wrap {
		padding-left:  0.5rem !important;
		padding-right: 0.5rem !important;
	}

	/* Sections : padding vertical réduit */
	.elementor-section.elementor-top-section:not(.elementor-element-studio-hero) {
		padding-top:    2rem !important;
		padding-bottom: 2rem !important;
	}

	/* Widgets : espace vertical inter-blocs réduit */
	.elementor-widget {
		margin-bottom: 0.75rem !important;
	}
	.elementor-widget:last-child { margin-bottom: 0 !important; }

	/* Images : pleine largeur sur mobile */
	.elementor-widget-image .elementor-image,
	.elementor-widget-image img {
		width:     100% !important;
		max-width: 100% !important;
	}

	/* Titres fluides */
	.elementor-widget-heading .elementor-heading-title {
		font-size:   clamp(1.6rem, 7vw, 2.4rem) !important;
		line-height: 1.15 !important;
	}
}

/* ═══════════════════════════════════════════════════════════════════
   SECTION MERCH — cartes produits homepage
   ═══════════════════════════════════════════════════════════════════ */

.studio-merch-card-img img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	object-position: center top;
	display: block;
	filter: grayscale(15%);
	transition: filter 0.5s ease, transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

.studio-merch-card-img a:hover img {
	filter: grayscale(0%);
	transform: scale(1.02);
}

#studio-merch-preview .elementor-image-figure {
	overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════════
   HERO — forcer 100vh sans toucher au data Elementor
   ═══════════════════════════════════════════════════════════════════ */

/* Section héro plein écran — on cible la section et son container uniquement,
   sans toucher aux éléments internes gérés par Elementor (vidéo, iframe, overlay) */
.elementor-element-studio-hero {
	min-height: 100vh !important;
	min-height: 100dvh !important;
}

.elementor-element-studio-hero > .elementor-container {
	min-height: 100vh !important;
	min-height: 100dvh !important;
}

/* ═══════════════════════════════════════════════════════════════════
   SÉLECTEUR DE DEVISE — style luxury minimal
   (dans .studio-header__actions → plus de margin-right nécessaire)
   ═══════════════════════════════════════════════════════════════════ */

.studio-header__currency {
	display:     flex;
	align-items: center;
	flex-shrink:  0;
}

/* Select natif — style luxury transparent */
.studio-currency-select {
	appearance:          none;
	-webkit-appearance:  none;
	background-color:    transparent;
	background-image:    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M0 0l4 5 4-5z' fill='%23ffffff'/%3E%3C/svg%3E");
	background-repeat:   no-repeat;
	background-position: right 0 center;
	background-size:     7px;
	border:              none;
	border-bottom:       1px solid rgba(255,255,255,0.55);
	border-radius:       0;
	box-shadow:          none;
	padding:             0 1.2rem 0.15rem 0;
	font-family:         inherit;
	font-size:           0.62rem;
	font-weight:         500;
	letter-spacing:      0.12em;
	text-transform:      uppercase;
	color:               #fff;
	cursor:              pointer;
	outline:             none;
	transition:          color 0.3s ease, border-color 0.3s ease;
	min-width:           3rem;
}

/* Sur fond clair */
.studio-header--on-light .studio-currency-select {
	background-image:    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M0 0l4 5 4-5z' fill='%230a0a0a'/%3E%3C/svg%3E");
	border-bottom-color: rgba(10,10,10,0.4);
	color:               #0a0a0a;
}

.studio-currency-select option {
	background: #0a0a0a;
	color:      #fff;
}

/* ─── Icône compte utilisateur (header desktop) ───────────────────────── */
.studio-header__account {
	position:    relative;
	display:     flex;
	align-items: center;
	justify-content: center;
	width:       2rem;
	height:      2rem;
	color:       var(--hdr-text, rgba(255,255,255,0.88));
	text-decoration: none;
	flex-shrink: 0;
	margin-right: 0.5rem;
	transition:  color 0.25s ease, opacity 0.25s ease;
}

.studio-header__account:hover {
	color:   var(--hdr-text-hover, #ffffff);
	opacity: 1;
}

/* Pastille verte "connecté" */
.studio-header__account-dot {
	position:      absolute;
	top:           2px;
	right:         2px;
	width:         6px;
	height:        6px;
	border-radius: 50%;
	background:    #22c55e;
	border:        1.5px solid transparent;
}

/* Adaptation sur fond clair */
.studio-header--on-light .studio-header__account {
	color: var(--hdr-text, rgba(10,10,10,0.78));
}

/* Mobile : masqué dans le header, visible dans l'overlay menu */
@media (max-width: 767px) {
	.studio-header__account   { display: none; }
	.studio-header__currency  { display: none; }

	.studio-mobile-menu__currency {
		display:         flex;
		justify-content: center;
		padding:         1.25rem 0;
		border-top:      1px solid rgba(255,255,255,0.15);
		margin-top:      auto;
	}

	.studio-mobile-menu__currency .studio-currency-select {
		font-size: 0.7rem;
	}
}

/* ─── Lien compte dans le menu mobile overlay ──────────────────────────── */
.studio-mobile-menu__account {
	display:         flex;
	align-items:     center;
	gap:             0.6rem;
	padding:         1rem 0;
	border-top:      1px solid rgba(255,255,255,0.15);
	margin-top:      0.5rem;
	font-family:     var(--studio-font-body, "Outfit", sans-serif);
	font-size:       0.68rem;
	font-weight:     500;
	letter-spacing:  0.15em;
	text-transform:  uppercase;
	color:           rgba(255,255,255,0.75);
	text-decoration: none;
	transition:      color 0.2s ease;
}

.studio-mobile-menu__account:hover { color: #fff; }

/* Sur desktop, il ne doit pas apparaître dans le menu overlay */
@media (min-width: 768px) {
	.studio-mobile-menu__account { display: none; }
}
