/*!
Theme Name: Propulse Corner
Theme URI: http://underscores.me/
Author: Flamingo
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: propulse-corner
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Propulse Corner is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
@font-face {
	font-family: 'Glacial Indifference';
	src: url('./assets/fonts/GlacialIndifference-Regular.eot');
	src: url('./assets/fonts/GlacialIndifference-Regular.eot?#iefix') format('embedded-opentype'),
		url('./assets/fonts/GlacialIndifference-Regular.woff2') format('woff2'),
		url('./assets/fonts/GlacialIndifference-Regular.woff') format('woff'),
		url('./assets/fonts/GlacialIndifference-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Glacial Indifference';
	src: url('./assets/fonts/GlacialIndifference-Bold.eot');
	src: url('./assets/fonts/GlacialIndifference-Bold.eot?#iefix') format('embedded-opentype'),
		url('./assets/fonts/GlacialIndifference-Bold.woff2') format('woff2'),
		url('./assets/fonts/GlacialIndifference-Bold.woff') format('woff'),
		url('./assets/fonts/GlacialIndifference-Bold.ttf') format('truetype');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Unbounded';
	src: url('./assets/fonts/Unbounded-Medium.eot');
	src: url('./assets/fonts/Unbounded-Medium.eot?#iefix') format('embedded-opentype'),
		url('./assets/fonts/Unbounded-Medium.woff2') format('woff2'),
		url('./assets/fonts/Unbounded-Medium.woff') format('woff'),
		url('./assets/fonts/Unbounded-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

:root {
	--font-primary: 'Unbounded';
	--font-secondary: 'Glacial Indifference';
	--blue: #3D4C9C;
	--purple: #472F89;
	--light-purple: #734194;
	--background-dark: #010712;
	--white: #ffffff;

	--slate-950: #020617;
	--slate-900: #10182B;
	--slate-800: #1D293D;
	--slate-700: #324155;
	--slate-600: #47566C;
	--slate-500: #637389;
	--slate-400: #92A3BB;
	--slate-300: #CBD5E1;
	--slate-200: #E4E8EF;
	--slate-100: #F0F1F2;
	--slate-50: #F8F8F8;
}

html {
	background-color: var(--background-dark);
}

body {
	font-size: 16px;
	font-family: var(--font-secondary);
	background-color: var(--background-dark);
	color: var(--white);
}

h1 {
	font-size: 4rem;
	font-family: var(--font-primary);
	color: var(--white);
}

h2 {
	font-family: var(--font-primary);
	color: var(--white);
	font-size: 2.5rem;
}


h3 {
	font-family: var(--font-primary);
	color: var(--white);
	font-size: 1.5rem
}



a {
	color: var(--white);
}

.uk-button-primary {
	background-color: var(--light-purple);
	font-family: var(--font-primary);
	transition: all .3s ease-out;
	padding: 0.75rem 1rem;
	line-height: 1;
}


.uk-button-primary:hover {
	background-color: var(--purple);
}

.uk-button-secondary {
	font-family: var(--font-primary);
	padding: 0;
	background: transparent;
	position: relative;
	margin-left: 2rem;
	padding-left: 1rem;
	transition: all .3s ease-out;
}

.uk-button-secondary:before {
	content: '';
	width: 2rem;
	height: 1px;
	position: absolute;
	top: 50%;
	left: -2rem;
	background-color: var(--light-purple);
	transition: all .3s ease-out;
}

.uk-button-secondary:hover {
	background: none !important;
	padding-left: 3rem;
}


.uk-button-secondary:hover:before {
	width: 4rem;
}

.uk-grid-divider>:not(.uk-first-column)::before {
	border-color: var(--slate-800);
}

hr,
.uk-grid-divider.uk-grid-stack>.uk-grid-margin::before {
	border-color: var(--slate-800);
}

/*******HEADER*********/

header .desktop-nav .uk-container {
	border-bottom: solid 1px var(--slate-400);
}

header .logo-header {
	padding: 1rem 0;
}

header .logo-header img {
	height: 54px;
	width: auto;
}

header a {
	font-family: var(--font-primary);
	font-size: 0.875rem;
	text-transform: uppercase;
	transition: all .3s ease-in;
}

header a:hover {
	color: var(--white);
	text-decoration: line-through;
}

header a svg {
	height: 1.25rem;
	width: 1.25rem;
	min-width: 1.25rem;
	margin-right: 0.25rem;
}

header .gap-left {
	gap: 2.5rem;
}

header .gap-left a {
	position: relative;
}

header .gap-left a:last-child::before {
	content: '';
	width: 1px;
	height: 1.5rem;
	background-color: var(--slate-400);
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: -1.25rem;
}

header .gap-right {
	gap: 2.5rem;
}

header .gap-right a {
	position: relative;
}

header .gap-right a:last-child::before {
	content: '';
	width: 1px;
	height: 1.5rem;
	background-color: var(--slate-400);
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: -1.25rem;
}

header .uk-sticky-fixed {
	background: #01071299;
	backdrop-filter: blur(0.5rem);
}

header .uk-sticky-fixed .uk-container {
	border-bottom: none;
}

/*MENU MOBILE*/

.mobile-nav .uk-navbar-container {
	background: transparent;
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
}

.mobile-nav .fix-logo img {
	height: 2.5rem;
	width: auto;
}


/*MEGAMENU*/

#mega-menu .background {
	background-image: url(https://propulse-corner.com//wp-content/uploads/2025/11/menu-fond.webp);
	background-repeat: no-repeat;
	background-size: cover;
	background-color: transparent;
}

#mega-menu .uk-nav li>a {
	font-size: 7vh;
	font-family: var(--font-primary);
	text-transform: uppercase;
	color: var(--white);
	transition: all .3s ease-out;
}

#mega-menu .uk-nav li>a:hover {
	color: var(--light-purple);
}

#mega-menu .uk-overflow-auto {
	overflow: auto !important;
	overscroll-behavior: contain;
}

@media screen and (max-width:980px) {
	#mega-menu .uk-nav li>a {
		font-size: 1.5rem;
	}
}

#mega-menu .uk-modal-close-full {
	background: transparent !important;
	top: 2rem;
	right: 2rem;
}

#mega-menu .uk-modal-close-full svg line {
	stroke: var(--white);
}

/*****FOOTER*******/

footer {
	background-image: url(https://propulse-corner.com//wp-content/uploads/2025/11/footer-background.webp);
	background-size: cover;
	background-repeat: no-repeat;
	padding: 2rem 0 4rem 0;
}

footer p.title {
	font-size: 0.875rem;
	text-transform: uppercase;
	font-family: var(--font-primary);
}

footer .contact svg {
	margin-right: 0.25rem;
}

.card-article a {
	text-decoration: none;
	color: var(--white);
}

.card-article h3 {
	font-family: var(--font-primary);
	font-size: 1.25rem;
	margin-bottom: 0;
	color: var(--white);
	margin-top: 1.5rem;
}

.card-article p {
	margin-top: 0.5rem;
	margin-bottom: 0;
}

.card-article {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: transform 0.3s, box-shadow 0.3s;
	text-decoration: none;
	color: inherit;
	/* largeur / hauteur */
	overflow: hidden;
	position: relative;
}

.card-artiste img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* l’image remplit le conteneur sans déformer */
	display: block;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.card-article:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card-article a {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.card-artiste .artiste-infos {
	padding: 2rem;
}

.card-artiste h3 {
	font-family: var(--font-primary);
	font-size: 1.25rem;
	margin-bottom: 0;
	color: var(--white);
	margin-top: 1.5rem;
}

.card-artiste p {
	margin-top: 0.5rem;
	margin-bottom: 0;
}

.card-artiste a {
	text-decoration: none;
	color: var(--white);
}

.card-artiste .artiste-rs {
	gap: 0.25rem;
}



.card-artiste .artiste-rs svg {
	width: 1.5rem;
	height: 1.5rem;
	transform-origin: center;
	transition: all .3s ease-out;
}

.card-artiste .artiste-rs a:hover svg {
	transform: scale(1.2);
}

.artiste-card-image {
	position: relative;
	width: 100%;
	aspect-ratio: 4/5;
	object-fit: cover;
	/* fallback si pas d'image */
}

.artiste-card-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}


.artiste-card-title {
	font-size: 1.25rem;
	font-weight: 600;
}

.artiste-card-excerpt {
	color: var(--slate-200);
}

.cta .background {
	background-color: var(--purple);
	background-image: url(https://propulse-corner.com//wp-content/uploads/2025/11/fond-cta.webp);
	background-size: cover;
	background-repeat: no-repeat;
	padding: 0 0 0 3rem;
	background-blend-mode: multiply;
	transition: all .3s ease-out;
}

@media screen and (max-width:980px) {
	.cta .background {
		padding: 2rem;
	}
}

.cta a:hover .background {
	background-color: var(--blue);
}

.cta a {
	text-decoration: none;
	color: var(--white);
}

.cta .background h2 {
	font-size: 4rem;
	text-transform: uppercase;
	margin-bottom: 0.5rem;
}

.cta .background p {
	font-size: 1.25rem;
	font-family: var(--font-primary);
	text-transform: uppercase;
	margin-left: 0.5rem;
}

@media screen and (max-width:980px) {}

/**********FAQ*********/

.uk-accordion-title {
	font-size: 1.25rem;
	color: var(--white);
	font-family: var(--font-primary);
	padding-top: 1rem;
	cursor: pointer;
	transition: all .3s ease-out;
}

.uk-accordion-title:hover {
	color: var(--light-purple);
}

.faq-item {
	border-bottom: solid 1px var(--slate-700);
	margin-top: 0 !important;
}

.faq-item .uk-accordion-content {
	margin-bottom: 2rem;
	margin-top: 0;
}

@media screen and (max-width:980px) {
	h1 {
		font-size: 2.5rem;
	}

	h2 {
		font-size: 1.75rem;
	}

	h3 {
		font-size: 1.25rem;
	}

	.cta .background h2 {
		font-size: 2.5rem;
		text-transform: uppercase;
		margin-bottom: 0.5rem;
	}

	.cta .background p {
		margin: 0;
	}

	.uk-accordion-title {
		font-size: 1rem;
	}
}

.uk-accordion-title::before {
	content: "";
	width: 1.4em;
	height: 1.4em;
	margin-left: 10px;
	float: right;
	background-image: url(data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2213%22%20height%3D%2213%22%20viewBox%3D%220%200%2013%2013%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Crect%20fill%3D%22%23734194%22%20width%3D%2213%22%20height%3D%221%22%20x%3D%220%22%20y%3D%226%22%20%2F%3E%0A%20%20%20%20%3Crect%20fill%3D%22%23734194%22%20width%3D%221%22%20height%3D%2213%22%20x%3D%226%22%20y%3D%220%22%20%2F%3E%0A%3C%2Fsvg%3E);
	background-repeat: no-repeat;
	background-position: 50% 50%;
}

/***********PDF*********/
/* CONTENEUR modale */
#pdf-modal .uk-modal-dialog {
	background: rgba(0, 0, 0, 0.9);
	backdrop-filter: blur(20px);
}


/* Toolbar */
.toolbar {
	position: absolute !important;
	top: 20px !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	z-index: 9999 !important;
	background: rgba(0, 0, 0, 0.85) !important;
	color: white !important;
	padding: 15px 30px !important;
	border-radius: 50px !important;
	backdrop-filter: blur(20px) !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

.toolbar button {
	background: none !important;
	border: none !important;
	color: white !important;
	font-size: 20px !important;
	padding: 8px 15px !important;
	margin: 0 5px !important;
	border-radius: 50% !important;
	cursor: pointer !important;
	transition: all 0.3s !important;
}

.toolbar button:hover {
	background: rgba(255, 255, 255, 0.2) !important;
	transform: scale(1.1);
}


#flipbook {
	-webkit-transition: margin-left 0.2s ease-in-out;
	-moz-transition: margin-left 0.2s ease-in-out;
	-o-transition: margin-left 0.2s ease-in-out;
	-ms-transition: margin-left 0.2s ease-in-out;
	transition: margin-left 0.2s ease-in-out;
	top: 50%;
	transform: translateX(-50%) translateY(-50%) !important;
}


.pdf-canvas {
	image-rendering: auto;
	max-width: none;
	max-height: none;
	height: 650px !important;
}


#flipbook .pdf-page {
	box-sizing: border-box;
}

#flipbook .pdf-canvas {
	max-width: 100%;
	max-height: 100%;
}

.turnjs-slider {
	width: 200px;
	margin: 0 15px;
}


.magazine-viewport {
	cursor: pointer;
}

.magazine-viewport.zoomed {
	cursor: grab !important;
}

.magazine-viewport.zoomed:active {
	cursor: grabbing !important;
}

.pages-container {
	transform-origin: center center;
}

.toolbar.zoomed {
	background: rgba(0, 0, 0, 0.8);
	color: white;
}

#pdf-modal .uk-modal-close-full {
	background-color: transparent;

}

#pdf-modal .uk-modal-close-full svg line {
	stroke: var(--white);
}

/* PDF Viewer Responsive */
@media (max-width: 768px) {


	#pdf-modal .uk-modal-dialog {
		height: 100vh;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch;
		padding: 0;

	}

	#pdf-modal .pdf-flipbook {
		display: flex;
		flex-direction: column;
		flex: 1 1 auto;
		height: 100%;
		overflow-y: auto !important;
		overflow-x: hidden !important;
		-webkit-overflow-scrolling: touch;
		padding: 0 10px;
		touch-action: pan-y;
		/* permet scroll tactile */
	}

	#pdf-modal #flipbook {
		width: 100% !important;
		height: auto !important;
		transform: none !important;
		/* supprime tout translateY du desktop */
		display: flex;
		flex-direction: column;
		gap: 1.5rem;
		padding-top: 2rem;
	}

	.pdf-canvas-mobile {
		width: 100% !important;
		height: auto !important;
		display: block;
		margin: 0 auto 15px;
		border-radius: 8px;
	}

	.toolbar {
		display: none !important;
		/* toolbar invisible sur mobile */
	}

	/* Supprimer le scroll-snap qui bloque */
	#pdf-modal .pdf-page {
		scroll-snap-align: none !important;
		height: auto !important;
	}



	.toolbar {
		display: none;
	}

}

@media (min-width: 769px) {

	/* Ton style desktop existant */
	#flipbook {
		width: 900px !important;
		height: 650px !important;
	}
}



/* ===== SLIDER PDF ===== */
#slider {
	-webkit-appearance: none;
	appearance: none;
	width: 200px;
	height: 3px;
	border-radius: 3px;
	background: var(--slate-800);
	outline: none;
	cursor: pointer;
}

/* Track Firefox */
#slider::-moz-range-track {
	height: 3px;
	background: var(--slate-800);
	border-radius: 3px;
}

/* Thumb Firefox */
#slider::-moz-range-thumb {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #8a2be2;
	border: 2px solid #fff;
	cursor: pointer;
}

/* Track WebKit */
#slider::-webkit-slider-runnable-track {
	height: 3px;
	background: var(--slate-800);
	border-radius: 3px;
}

/* Thumb WebKit */
#slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: #8a2be2;
	border: 1px solid var(--slate-300);
	margin-top: -1.5px;
	/* centrage vertical */
	transition: transform 0.2s;
	cursor: pointer;
}

/* Hover / active (optionnel mais recommandé) */
#slider::-webkit-slider-thumb:hover,
#slider::-moz-range-thumb:hover {
	transform: scale(1.2);
}






/*mini-player*/

#mini-player {
	background-color: var(--slate-950);
	padding: 0;
}

#mini-player #player-progress {
	margin: 0;
}

#player-progress {
	-webkit-appearance: none;
	width: 100%;
	height: 3px;
	border-radius: 3px;
	background: var(--slate-800);
	/* fond sombre */
	outline: none;
	cursor: pointer;
}

/* Couleur remplie */
#player-progress::-moz-range-thumb {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #8a2be2;
	border: 2px solid #fff;
}

/* Curseur rond */
#player-progress::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: #8a2be2;
	/* violet */
	border: 1px solid var(--slate-300);
	margin-top: 0;
	transition: transform 0.2s;
}

/* Hover du thumb */
#player-progress:hover::-webkit-slider-thumb {
	transform: scale(2);
}

#mini-player .player-controls {
	gap: 0.5rem;
}

#mini-player #player-time-current,
#mini-player #player-time-total {
	color: var(--slate-600);
}

#mini-player .uk-button {
	border: none;
	background-color: var(--slate-900);
	border-radius: 3rem;
	color: var(--slate-300);
	padding: 0;
	width: 2.5rem;
	height: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all .3s ease-out;
}

#mini-player .uk-button:hover {
	background-color: var(--light-purple);
}

#player-show-wrapper {
	bottom: 1rem;
	right: 1rem;
}

#player-show {
	border: 0;
	padding: 0.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
}


#player-show svg {
	width: 1.75rem;
	height: 1.75rem;
}

.player-position {
	right: 2rem;
	top: 2rem;
}

.play-sound {
	background-color: var(--slate-900);
	border-radius: 2rem;
	padding: 0.75rem;
	line-height: 1;
	transition: all .3s ease-out;
}

.play-sound:hover {
	background-color: var(--light-purple);
}