/*
Theme Name: Astra Child
Template: astra
Version: 1.0
*/

/*	------------------------------
		NEUTRALISATION GUTENBERG
	------------------------------ */

/* supprime styles des boutons WP */
button{
	background:			transparent;
	border:				none;
	box-shadow:			none;
}

/* supprime marges auto des blocs */
.wp-block-post-content > *{
	margin-top:0;
	margin-bottom:0;
}

/* neutralise styles images Gutenberg */
.wp-block-image img{
	max-width:			100%;
	height:				auto;
	display:			block;
}

/* neutralise styles audio WP */
.wp-block-audio audio{
	width:				auto;
}

/* -----------------------
   POLICES LOCALES
----------------------- */

@font-face {
	font-family:		'Playfair Display';
	src:				url('/wp-content/themes/astra-child/fonts/PlayfairDisplay-Regular.woff2') format('woff2'),
						url('/wp-content/themes/astra-child/fonts/PlayfairDisplay-Regular.woff') format('woff');
	font-weight:		400;
	font-style:			normal;
	font-display:		swap;
}

@font-face {
	font-family:		'Great Vibes';
	src:				url('/wp-content/themes/astra-child/fonts/GreatVibes-Regular.woff2') format('woff2'),
						url('/wp-content/themes/astra-child/fonts/GreatVibes-Regular.woff') format('woff');
	font-weight:		400;
	font-style:			normal;
	font-display:		swap;
}

@font-face {
	font-family:		'Caladea';
	src:				url('/wp-content/themes/astra-child/fonts/Caladea-Regular.woff2') format('woff2'),
						url('/wp-content/themes/astra-child/fonts/Caladea-Regular.woff') format('woff');
	font-weight:		400;
	font-style:			normal;
	font-display:		swap;
}

/*		-------------------------------------------
		===========================================
			01 - TRONC COMMUN À TOUTES LES PAGES
		===========================================
		-------------------------------------------*/

body {
	background:			#FFFEED;
	color:				#000;
}

.ast-container,
.site-content {
	background:			transparent;
}

/* largeur centrale du site */
.ast-container {
	max-width:			1100px;
	margin:				40px auto;
}

/* titres centrés */
h1, h2 {
	text-align:			center;
}


/* neutralise marges Gutenberg */
.wp-block-post-content > *{
	margin-top:			0;
	margin-bottom:		0;
}

.spoiler-warning {
	font-size: 12px;
	font-style: italic;
	opacity: 0.8;
	margin-top: 10px;
	text-align:			center;
	line-height: 0.5;
}

/*	-------------
		LIENS 
	------------- */

a {
	color:				#2b2b2b;		/* anthracite neutre */
	text-decoration:	none;
	transition:			color 0.25s ease, opacity 0.25s ease;
}

a:hover {
	color:				#000;
	opacity:			0.75;
}

.cinema-zone a {
	user-select:		none;
}

/*	---------------------------
		INFOBULLE / TOOLTIP 
	---------------------------- */

/* conteneur */
.tooltip,
.zone-porte,
.zone-popcorn,
.zone-guichet,
.zone-futur {
	position:			relative;
}

/* texte de la bulle */
.tooltip-text,
.zone-porte span,
.zone-popcorn span,
.zone-guichet span,
.zone-futur span {
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	margin-bottom: 8px;
	background: #f8f4e8;
	color: #2b2b2b;
	padding: 3px 8px;
	font-size: 12px;
	line-height: 1;
	display: inline-block;
	border-radius: 4px;
	border: 1px solid #b89b4d;
	box-shadow: 0 4px 12px rgba(0,0,0,0.12);
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
}

/* petite pointe */
.tooltip-text::after,
.zone-porte span::after,
.zone-popcorn span::after,
.zone-guichet span::after{
	content:			"";
	position:			absolute;
	top:				100%;
	left:				50%;
	transform:			translateX(-50%);
	border-width:		6px;
	border-style:		solid;
	border-color:		#f8f4e8 transparent transparent transparent;
}

/* apparition */
.tooltip:hover .tooltip-text,
.zone-porte:hover span,
.zone-popcorn:hover span,
.zone-guichet:hover span,
.zone-futur:hover span {
	opacity: 1;
	transform: translate(-50%);
}

/*	----------------------------
		HALO + ZOOM INTERACTIF
	---------------------------- */

.zone-porte,
.zone-popcorn,
.zone-guichet {
	transition:			transform 0.25s ease,
						box-shadow 0.35s ease,
						background 0.35s ease;
	transform-origin:	center;
}

/* PORTE – doré cinéma */
.zone-porte:hover {
	transform:			scale(1.08);
	background:			rgba(212,175,55,0.10);
	box-shadow:			0 0 18px rgba(212,175,55,0.8),
						0 0 40px rgba(212,175,55,0.45);
	border-radius:		6px;
}

/* POPCORN – ambre */
.zone-popcorn:hover {
	transform:			scale(1.08);
	background:			rgba(255,193,85,0.10);
	box-shadow:			0 0 16px rgba(255,193,85,0.7),
						0 0 34px rgba(255,193,85,0.35);
	border-radius:		6px;
}

/* GUICHET – rouge cinéma */
.zone-guichet:hover {
	transform:			scale(1.08);
	background:			rgba(180,45,45,0.08);
	box-shadow:			0 0 18px rgba(180,45,45,0.65),
						0 0 36px rgba(180,45,45,0.35);
	border-radius:		6px;
}

/*	-----------------------
		ZONES À VENIR
	----------------------- */

.zone-affiche1 {
	position:			absolute;
	top:				38%;
	left:				28%;
	width:				7%;
	height:				22%;
	z-index:			2;
}

.zone-affiche2 {
	position:			absolute;
	top:				38%;
	left:				66%;
	width:				7%;
	height:				22%;
	z-index:			2;
}

.zone-affiche3 {
	position:			absolute;
	top:				38%;
	left:				89.5%;
	width:				7%;
	height:				22%;
	z-index:			2;
}

/*	----------------------------------
		SCINTILLEMENT ZONE À VENIR
	---------------------------------- */

@keyframes affiche-preparation {
	0%	{ opacity:		0.95; }
	50%	{ opacity:		1; }
	100%{ opacity:		0.95; }
}

.zone-futur {
	animation:			affiche-preparation 5s ease-in-out infinite;
}

/* rétroéclairage affiches "à venir" */

.zone-affiche1,
.zone-affiche2,
.zone-affiche3 {
	box-shadow:			0 0 12px rgba(255,230,160,0.45),
						0 0 30px rgba(255,210,120,0.25);
	transition:			box-shadow 0.4s ease, transform 0.3s ease;
}

/* léger renforcement au survol */

.zone-affiche1:hover,
.zone-affiche2:hover,
.zone-affiche3:hover {
	box-shadow:			0 0 18px rgba(255,235,170,0.6),
						0 0 40px rgba(255,210,120,0.35);
}

/*		------------------------------------------------------
		======================================================
			02 - PAGE ACCUEIL = SORTIE DE SALLE page id 778
		======================================================
		------------------------------------------------------ */

/* Fond spécifique accueil */
body.page-id-778 {
	background:			#EFE3EC;
}

/* Espace au-dessus de la première image (WALL-E & Ève) */
body.page-id-778 .wp-block-image:first-of-type {
	margin-top:			60px;
}

/* HALL CENTRÉ */
body.page-id-778 .cinema-full {
	position:			relative;
	max-width:			1100px;
	margin:				40px auto;
}

body.page-id-778 .cinema-full img {
	width:				100%;
	height:				auto;
	display:			block;
}

/* Effet feutré option C */
body.page-id-778 .cinema-full::after {
	content:			"";
	position:			absolute;
	inset:				0;
	background:			radial-gradient(circle at center,
						rgba(0,0,0,0) 60%,
						rgba(0,0,0,0.4) 100%);
	pointer-events:		none;
}

/* Conteneur interactif */
.cinema-zone {
	position:			relative;
	max-width:			1100px;
	margin:				0 auto;
	height:				0;
	padding-bottom:		44%;	
}

.cinema-zone img{
	width:				100%;
	height:				auto;
	display:			block;
}

.cinema-full {
	position: relative;
	z-index: 1;
}

/*	--------------------------
		ZONE PORTE CENTRALE
	-------------------------- */

.zone-porte {
	position:			absolute;
	top:				42%;
	left:				44%;
	width:				14%;
	height:				40%;
	z-index:			2;
}

/*	----------------------
		ZONE POP-CORN
	---------------------- */

.zone-popcorn {
	position:			absolute;
	top:				65%;
	left:				78%;
	width:				17%;
	height:				18%;
	z-index:			2;
}

/*	---------------------
		ZONE GUICHET
	--------------------- */

.zone-guichet {
	position:			absolute;
	top:				38%;
	left:				8%;
	width:				14%;
	height:				44%;
	z-index:			2;
} 

.image-accueil{
	display:			block;
	margin:				auto;
	max-width:			100%;
	height:				auto;
}

.titre-accueil{
	text-align:			center;
	margin-top:			20px;
}

.texte-accueil{
	font-size:			18px;
	line-height:		2;
	max-width:			900px;
	margin:				20px auto;
	text-align:			center;
}

.texte-accueil-2{
	font-size:			20px;
	max-width:			900px;
	margin:				20px auto 5px auto;
	text-align:			center;
}

.texte-accueil-3{
	font-size:			18px;
	max-width:			900px;
	margin-top:			-40px;
	margin-bottom:		30px;
	text-align:			center;
	font-style:			italic;
	opacity:			0.9;
}

/*		--------------------------------------------------------
		========================================================
			03 - DERRIERE LA PORTE = SNACK DU JOUR page id 780
		========================================================
		-------------------------------------------------------- */

body.page-id-780 {
	background:			#F5EDFF;
}

body.page-id-780 a:hover {
	color:				#b89b4d;
	opacity:			1;
}

/* Bannière */
.banniere-snack img {
	width:				650px;
	height:				210px;
	object-fit:			cover;
	display:			block;
	margin:				60px auto 10px auto;
}

.tip-musique {
	text-align:			center;
	font-size:			20px;
	margin:				0;
	line-height:		1.2;
}

/* Tip du bas uniquement */
.titre-film + .tip-musique {
	margin-top:			20px;
}

/*	--------------------
		TITRE DU FILM  
	-------------------- */

.titre-film {
	text-align:			center;
	font-family:		'Great Vibes', cursive;
	font-style:			italic;
	font-weight:		600;
	font-size:			60px;
	letter-spacing:		-0.01em;
	color:				#000;
	margin:				0 0 18px 0;
	line-height:		0.9;
	transform:			translateY(-10px);
	white-space: normal;
	word-break: break-word;
}

.sous-titre-film{
	font-family:		'Great Vibes', cursive;
	font-size:			42px;
	margin-right:		10px;
	line-height:		1;

}

.liste-suites{
	font-style:			italic;
	list-style:			none;
	padding-left:		0;
}

.liste-suites li::before{
	content: "-> ";
}

/*	--------------------
		ZONE MUSIQUE
	-------------------- */

/* conteneur */
.music-toggle {
	display:			flex;
	justify-content:	center;
	align-items: 		center;
	margin:				0;
	padding:			0;
	line-height:		0;
}

/* bouton invisible */
.musicBtn{
	all:				unset;
	cursor:				pointer;
	display:			block;
}

/* neutralise styles WP au survol / focus */
.musicBtn:hover,
.musicBtn:focus{
	background:			transparent;
	outline:			none;
	box-shadow:			none;
}

/* image musique */
.musicBtn img {
	width:				180px;
	height:				auto;
	display:			block;
}

/* effet quand musique active */
.musicBtn.active img {
	filter:				drop-shadow(0 0 8px rgba(212,175,55,0.7))
						drop-shadow(0 0 18px rgba(212,175,55,0.4));
	transform:			scale(1.05);
}
/*	-----------------------
		ZONE DATE DE MAJ
	----------------------- */ 

.projection-zone {
	display:			flex;
	justify-content:	center;
	align-items:		flex-start;		/* aligne en haut au lieu de centrer */
	gap:				90px;
	margin:				60px 0 50px 0;		/* réduit fortement l'espace vertical */
}

/* AFFICHE */
.affiches-zone img {
	width:				900px;
	height:				auto;
	box-shadow:			0 15px 35px rgba(0,0,0,0.25);
}

/* CAMÉRA */
.camera-zone {
	position:			relative;
	transform:			translateX(80px);		/* décale légèrement vers la droite */
	margin-top:			40px;		/* descend légèrement la caméra pour l'équilibrer visuellement */
}

.page-id-780 .camera-zone img{
	width:				600px;
}

.camera-zone img{
	width:				350px;
}

/* DATE */
.date-projection {
	position:			absolute;
	top:				37%;
	left:				-35px;
	transform:			rotate(-6deg);
	font-size:			16px;
	font-style:			italic;
	color:				#4a4030;
	white-space:		nowrap;
}

body:not(.page-id-780) .date-projection{
	top:				36.5%;
	left:				8px;
}

/*	----------------------------
		TEXTE PRINCIPAL — SNACK
	---------------------------- */ 

.texte-snack {
	font-family:		'Caladea', serif;
	max-width:			760px;
	margin:				80px 20px 20px 240px;
	padding:			0 20px;
	font-size:			19px;
	line-height:		1.95;
	color:				#2c2c2c;
	letter-spacing:		0.3px;
	text-indent:		22px;
}

.texte-snack p {
	margin-bottom:		28px;
}

.texte-snack p:first-child {
	text-indent:		0;
	font-size:			20px;
	margin-bottom:		40px;
}

.texte-snack p:last-child {
	margin-bottom:		0;
}

/*	------------------
		ZONE DE SEL
	------------------ */

.grain-sel {
	position:			relative;
	font-family:		'Comic Sans MS', cursive;
	font-size:			16px;
	line-height:		1.7;
	background:			rgba(255,255,255,0.45);
	backdrop-filter:	blur(3px);
	padding:			20px;
	border-left:		4px solid #a8893a;
	border-radius:		6px;	
	margin:				10px auto;
	max-width:			700px;
	transform:			rotate(-3deg);
	box-shadow:			0 12px 28px rgba(0,0,0,0.25);
}

/* Titre */
.sel-titre {
	font-size:			18px;
	font-weight:		bold;
	margin-bottom:		12px;
}

/* demi-bordure dorée supérieure */
.grain-sel::before {
	content:			"";
	position:			absolute;
	top:				-12px;
	left:				50%;
	transform:			translateX(-50%);
	width:				140px;		/* longueur de la demi-ligne */
	height:				2px;
	background:			linear-gradient(
						to right,
						transparent,
						#b89b4d,
						transparent);
}

.saliere-sel{
	width:				50px;
	float:				left;
	margin:				0 16px 8px 0;
	opacity:			0.9;
	transition:			transform 0.3s ease;
}

.saliere-sel:hover{
	transform:			rotate(60deg);
}

/*	------------------------
		MENU DES SALLES
	------------------------ */

.plan-hall{
	font-family:		'Playfair Display', serif;
	font-size:			18px;
	margin-bottom:		6px;
	color:				#5a4a2f;
	letter-spacing:		1px;
}

.menu-salles {
	width:				190px;
	max-height:			35vh;
	overflow-y:			auto;
	padding:			10px 0;
	margin:				0;
	list-style:			none;
	text-align:			center;
	scrollbar-width:	auto;
	scrollbar-color:	#8c7a4f #e8e4d8;
}

/* lignes */
.menu-salles li {
	margin:				3px 0;
}

/* liens */
.zone-link {
	text-decoration:	none;
	font-family:		'Georgia', serif;
	font-size:			16px;
	color:				#5a4a2f;
	transition:			all 0.2s ease;
}

/* survol doré */
.zone-link:hover {
	color:				#a8893a;
	transform:			scale(1.2);
}

/* compteur auto */
.zone-count {
	font-size:			14px;
	opacity:			0.6;
	margin-left:		4px;
}

/* compteur total */
.menu-zones-container{
	position:			fixed;
	left:				80px;
	top:				180px;
	width:				130px;
}

.compteur-films{
	margin-bottom:		12px;
	font-size:			14px;
	opacity:			0.85;
}

.page-id-780 .wp-block-post-content{
	padding-left:		320px;
}

.plan-hall a {
	color: inherit;
	text-decoration: none;
}

.plan-hall a:hover {
	color: #a8893a;
}

/* -----------------------
    ZONES VIDES (éteintes)
   ----------------------- */

.zone-empty {
	opacity:			0.35;
	filter:				grayscale(40%);
}

/* au survol même une zone vide s'allume */

.zone-empty:hover {
	opacity:			1;
}

/*	-------------------------
		SECTIONS FILMS
	------------------------- */

.zone-titre {
	font-family:		'Great Vibes', cursive;
	font-size:			48px;
	text-align:			center;
	margin:				120px 0 30px 0;
	color:				#5a4a2f;
	position:			relative;
	scroll-margin-top:	140px;
}

/* Ligne décorative */

.zone-titre::after {
	content:			"";
	display:			block;
	width:				120px;
	height:				2px;
	margin:				10px auto 0 auto;
	background:			linear-gradient(to right, transparent, #a8893a, transparent);
}

/*	----------------
		CLAP DE FIN
	---------------- */

.clap-fin {
	display:			inline-block;
	position:			relative;
	margin:				10px 0;
}

.clap-fin img {
	width:				120px;
	height:				auto;
	display:			block;
	background:			transparent;
	transition:			transform 0.2s ease;
}

.clap-fin:hover img {
	transform:			scale(1.08) rotate(-2deg);
}

/*	-------------------
		PILE BOBINES
	------------------- */

.retour-bobines {
	display: inline-block;
	margin-left: 20px;
	position: relative;
	transform: translateY(10px);
}

.retour-bobines img {
	width: 110px;
	height: auto;
	display: block;
	transition: transform 0.25s ease, filter 0.25s ease;
	filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

/* hover léger et propre */
.retour-bobines:hover img {
	transform: scale(1.08) rotate(-3deg);
	filter: drop-shadow(0 6px 10px rgba(0,0,0,0.4));
}

.bloc-fin {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 100px;
	margin-bottom: 20px;
}

.retour-bobines .tooltip-text {
	bottom: 95%; /* au lieu de 110% */
}

/*		-----------------------------------------
		=========================================
			04 - SALLES = ARCHIVES page id 813
		=========================================
	--------------------------------------------- */

body:has(.carton-salle){
	background:			#EDEEFF;
}

body.page-id-813 h1,
body.page-id-813 h2 {
	font-style:			italic;
}

body.page-id-813 .zone-titre {
	scroll-margin-top:	140px;
	font-family:		'Playfair Display', serif;
	font-size:			56px;
	font-weight:		500;
	letter-spacing:		3px;
	text-align:			left;
	margin:				10px 0 0 0;
	color:				#5a4a2f;
	border-bottom:		2px solid #c8b27a;
	display:			inline-block;
	padding-bottom:		6px;
}

.carton-salle{
	position:			relative;
	width:				35%;
	margin:				80px auto 40px auto;
}

.carton-salle img{
	width:				100%;
	display:			block;
}

.numero-salle{
	position:			absolute;
	top:				50%;
	left:				50%;
	transform:			translate(-50%,-50%);
	font-family:		"Playfair Display", serif;
	font-size:			40px;
	color:				#e6d3a3;
	letter-spacing:		3px;
	white-space:		nowrap;
	text-shadow:		0 0 6px rgba(230,211,163,0.4),
						0 0 12px rgba(230,211,163,0.2);
}

.images-salle{
	display:			flex;
	flex-wrap:			wrap;
	justify-content:	center;
	align-items:		flex-start;
	gap:				30px;
	max-width:			900px;
	margin:				40px auto 60px auto;
}

.images-salle img{
	max-height:			420px;
	width:				auto;
	display:			block;
}

body:not(.page-id-780) .camera-zone{		/* s’applique à toutes les pages sauf snack.*/
	margin-top:			-100px;
	margin-bottom:		-30px;
}

/*	----------------------
		CONTENU ZONES
	---------------------- */

.zone-contenu {
	max-width:			800px;
	margin:				8px auto 30px auto;
	font-size:			18px;
	line-height:		1.7;
	border-left:		3px solid #c8b27a;
	padding-left:		18px;
	padding-top:		4px;
}

/*	-------------------------------
		ZONE ACTIVE DANS LE MENU
	------------------------------- */

.zone-link.active {
	color:				#a8893a;
	font-weight:		600;
	transform:			scale(1.15);
	text-shadow:		0 0 4px rgba(200,178,122,0.6);
}

/*		--------------------------------------------------
		==================================================
			05 - DRAMAS WEBS = PETITS PLAISIRS COUPABLES
		==================================================
		-------------------------------------------------- */

/*		----------------------------------------------
		==============================================
			06 - LIVRE D'OR = VOTRE GRAIN DE SEL
		==============================================
		---------------------------------------------- */

body.page-id-1255{
	background:			#EEFFED;
}

/* conteneur du texte */

body.page-id-1255 .livre-or-zone{
	max-width:			700px;
	margin:				0 auto 15px auto;
	text-align:			center;
}

/* texte d'introduction */

body.page-id-1255 .intro-livre-or{
	margin:				0;
	margin-top:			40px;
	line-height:		1.4;
}

body.page-id-1255 .intro-livre-or-2{
	margin:				4px 0 12px 0;
	line-height:		1.4;
}

/*	-----------------------------------
		MENU NAVIGATION DU LIVRE D'OR
	-----------------------------------*/

body.page-id-1255 .clap-fin,
body.page-id-1255 .retour-bobines {
	position: absolute;
	left: 150px; /* décale vers la droite */
	z-index: 10;
}

/* bobine AU-DESSUS */
body.page-id-1255 .retour-bobines {
	top: 60px;
	left: 135px; /* ou 85 / 95 */
}

/* clap EN DESSOUS */
body.page-id-1255 .clap-fin {
	top: 230px;
}

/* taille cohérente */
body.page-id-1255 .clap-fin img,
body.page-id-1255 .retour-bobines img {
	width: 90px;
}

/*	--------------------------------
		POPCORN ACCÊS LIVRE D'OR
	--------------------------------*/

.retour-popcorn {
	position: fixed;
	top: 520px;   /* descend vers la zone centrale */
	right: 650px; /* le rapproche du contenu */
	width: 90px;
	height: 90px;
	z-index: 999;
	background-image: url("https://sortiedesalle.crealyve.com/wp-content/uploads/2026/03/pop-corn.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	cursor: pointer;
	filter: drop-shadow(0 6px 8px rgba(0,0,0,0.4));
	transition: transform 0.2s ease;
}

/* explosion au survol */
.retour-popcorn:hover{
	background-image: url("https://sortiedesalle.crealyve.com/wp-content/uploads/2026/03/pop-corn2.png");
	background-position: center;
	transform: scale(1.08);
}

.menu-popcorn {
	margin-top: 15px;
	padding-top: 25px;
	text-align: center;
	position: relative;
}

.menu-popcorn::before,
.menu-popcorn::after {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	height: 2px;
	background:linear-gradient(to right, transparent, #a8893a, transparent);
}

/* ligne principale */
.menu-popcorn::before {
	width: 90px;
	top: 0;
}

/* ligne secondaire */
.menu-popcorn::after {
	width: 60px;
	top: 8px;
	opacity: 0.7;
}

.popcorn-link {
	display: block;
	width: 200px;
	height: 200px;
	margin: 0 auto;
	background-image: url("https://sortiedesalle.crealyve.com/wp-content/uploads/2026/03/pop-corn.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	cursor: pointer;
	filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
	transition: transform 0.2s ease;
/* correction visuelle */
	transform: translate(-40px, -30px);
}

.popcorn-link:hover {
	background-image: url("https://sortiedesalle.crealyve.com/wp-content/uploads/2026/03/pop-corn2.png");
	transform: translate(-40px, -30px)  rotate(18deg) scale(1.08);
}

/*	------------------------------------
		GRAINS DE POPCORN QUI TOMBENT
	------------------------------------*/

.popcorn-link {
	position: relative;
	z-index: 1;
}

/* ===== GRAINS MULTIPLES ===== */
.grain{
	position: absolute;
	width: 6px;
	height: 6px;
	background: #f6d77c;
	border-radius: 50%;
	opacity: 0;
}

/* positions de base */
.g1{ left: 60px; top: 30px; }
.g2{ left: 80px; top: 20px; }
.g3{ left: 40px; top: 25px; }
.g4{ left: 70px; top: 35px; }

/* animations déclenchées */
.popcorn-link:hover .g1{ animation: pop1 1.6s ease-out forwards; }
.popcorn-link:hover .g2{ animation: pop2 1.8s ease-out forwards; }
.popcorn-link:hover .g3{ animation: pop3 1.7s ease-out forwards; }
.popcorn-link:hover .g4{ animation: pop4 1.9s ease-out forwards; }

/* ===== KEYFRAMES AVEC REBOND ===== */
/*monte plus haut -> 25% -> -25px → plus grand
rebond plus fort ->	75% + 85% -> écart plus grand
effet fun -> 25% (et 55%) -> ajouter rotate()*/

@keyframes pop1{
	0%{ transform: translate(0,0); opacity:1;}
	30%{ transform: translate(10px,-50px);}
	70%{ transform: translate(20px,60px);}
	85%{ transform: translate(18px,45px);}
	100%{ transform: translate(25px,65px); opacity:0;}
}

@keyframes pop2{
	0%{ transform: translate(0,0); opacity:1;}
	25%{ transform: translate(-15px,-40px);}
	65%{ transform: translate(-25px,55px);}
	85%{ transform: translate(-20px,40px);}
	100%{ transform: translate(-30px,65px); opacity:0;}
}

@keyframes pop3{
	0%{ transform: translate(0,0); opacity:1;}
	20%{ transform: translate(5px,-35px);}
	60%{ transform: translate(15px,50px);}
	80%{ transform: translate(12px,35px);}
	100%{ transform: translate(18px,55px); opacity:0;}
}

@keyframes pop4{
	0%{ transform: translate(0,0); opacity:1;}
	35%{ transform: translate(-8px,-45px);}
	75%{ transform: translate(-18px,60px);}
	90%{ transform: translate(-15px,45px);}
	100%{ transform: translate(-20px,70px); opacity:0;}
}

/*	-----------------------------
		INFOBULLE DU POPCORN
	-----------------------------*/

.popcorn-link .tooltip-text{
	position:			absolute;
	left:				50%;
	bottom:				110%;
	transform:			translateX(-50%);
	background:			#f8f4e8;
	color:				#2b2b2b;
	font-size:			12px;
	padding:			4px 8px;
	border-radius:		4px;
	border:				1px solid #b89b4d;
	box-shadow:			0 3px 10px rgba(0,0,0,0.15);
	white-space:		nowrap;
	opacity:			0;
	pointer-events:		none;
	transition:			opacity .2s ease;
}

/* flèche */
.popcorn-link .tooltip-text::after{
	content:			"";
	position:			absolute;
	top:				100%;
	left:				50%;
	transform:			translateX(-50%);
	border-width:		6px;
	border-style:		solid;
	border-color:		#f8f4e8 transparent transparent transparent;
}

/* apparition */
.popcorn-link:hover .tooltip-text{
	opacity:			1;
}

/*	---------------------
		IMAGE DU LIVRE
	--------------------- */

body.page-id-1255 .comment-respond{
	max-width:			1100px;
	margin:				-20px auto;
	padding:			0;
	background:			url("https://sortiedesalle.crealyve.com/wp-content/uploads/2026/03/livre_dor.png") center/contain no-repeat;
	height:				700px;
	position:			relative;
}

/*	----------------------
		ZONE D'ÉCRITURE
	---------------------- */

body.page-id-1255 .comment-form-comment{
	position:			absolute;
	top:				255px;
	left:				220px;
	width:				650px;
	transform:			rotate(-8.6deg);
	transform-origin:	left top;
}

/* label */

body.page-id-1255 .comment-form-comment label{
	font-family:		'Caladea', serif;
	font-size:			17px;
	color:				#6b5a3a;
	display:			block;
	margin-bottom:		10px;
}

/* textarea */

body.page-id-1255 textarea{
	background:			transparent;
	border:				none;
	font-family:		'Caladea', serif;
	font-size:			19px;
	line-height:		29px;
	color:				#3e3426;
	width:				100%;
	height:				200px;
	resize:				none;
	outline:			none;

}

/*	-------------------------
		ELEMENTS WP CACHÉS
	------------------------- */

body.page-id-1255 .comment-reply-title{
	display:			none;
}

body.page-id-1255 .logged-in-as{
	display:			none;
}

/*	--------------
		BOUTON
	--------------*/

body.page-id-1255 .form-submit{
	position:			absolute;
	bottom:				85px;
	left:				260px;
	transform:			rotate(-10deg);
	transform-origin:	left top;
}

body.page-id-1255 .form-submit input[type="submit"]{
	background:			rgba(140,107,59,0.5) !important;
	color:				#fff !important;
	border:				none !important;
	padding:			8px 16px;
	font-family:		'Caladea', serif;
	font-size:			15px;
	border-radius:		3px;
	cursor:				pointer;
}

body.page-id-1255 .form-submit input[type="submit"]:hover{
	background:			rgba(140,107,59,1) !important;
}

/*	-------------------------------------------
		LIVRE D'OR – messages visiteurs
	-------------------------------------------*/

body.page-id-1255 .comment-list{
	list-style:			none;
	padding:			0;
	margin-top:			30px;
}

body.page-id-1255 .comment-body{
	background:			rgba(255,255,255,0.6);
	border-left:		3px solid #8c6b3b;
	padding:			12px 18px;
	margin-bottom:		18px;
	font-family:		'Caladea', serif;
	font-size:			16px;
	line-height:		1.5;
}

/* nom du visiteur */
body.page-id-1255 .comment-author{
	font-weight:		bold;
	color:				#6b5a3a;
}

/* date */
body.page-id-1255 .comment-meta{
	font-size:			12px;
	opacity:			0.6;
	margin-bottom:		6px;
}

/* texte du message */
body.page-id-1255 .comment-content{
	margin-top:			6px;
}

/* FORMULAIRE SIMPLIFIÉ */
body.page-id-1255 .comment-form {
	display:			block;
	max-width:			900px;
	margin:				0 auto 30px auto;
	text-align:			center;
}

/* on garde uniquement le champ commentaire */
body.page-id-1255 .comment-form-author,
body.page-id-1255 .comment-form-email,
body.page-id-1255 .comment-form-url,
body.page-id-1255 .comment-form-cookies-consent {
	display:			none;
}

/*	-------------
		MOBILES
	------------- */

.menu-mobile {
	display: none;
}

@media (max-width: 900px) {
	/* ===== MENU BURGER ===== */
	.menu-mobile {
		display: block;
		position: fixed;
		top: 10px;
		right: 10px;
		z-index: 9999;
	}

	.burger {
		font-size: 28px;
		cursor: pointer;
		background: #b89b4d;
		color: white;
		padding: 6px 10px;
		border-radius: 5px;
	}

	.menu-mobile-list {
		display: none;
		list-style: none;
		background: #fff;
		padding: 10px;
		margin-top: 10px;
		box-shadow: 0 5px 15px rgba(0,0,0,0.2);
		position: absolute;
		right: 0;
		top: 100%;
	}

	.menu-mobile-list.open {
		display: block;
	}

	/* masque ancien menu */
	.menu-zones-container,
	.menu-zones-container * {
		display: none !important;
	}

	/* ===== BASE MOBILE SAFE ===== */

	body {
		overflow-x: hidden;
	}

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

	* {
		box-sizing: border-box;
	}

	/* ===== LIVRE D'OR FIX ===== */

	body.page-id-1255 .comment-respond {
		max-width: 100%;
		width: 100%;
		height: auto;
		background-size: contain;
		background-position: center top;
	}

	body.page-id-1255 .comment-form-comment {
		position: static;
		width: 100%;
		transform: none;
		margin-top: 20px;
	}

	body.page-id-1255 textarea {
		width: 100%;
		max-width: 100%;
		transform: none;
		margin: 10px 0;
		display: block;
	}

	body.page-id-1255 .form-submit {
		position: static;
		transform: none;
		width: 100%;
		max-width: 300px;
		margin: 20px auto;
		display: block;
	}

	/* ===== SALLES ===== */

	.carton-salle {
		max-width: 260px;
		margin: 40px auto;
	}

/* on vire le faux carnet */
	body.page-id-1255 .comment-respond {
		background: none !important;
		height: auto !important;
	}

	/* on remet un formulaire NORMAL */
	body.page-id-1255 .comment-form-comment {
		position: static !important;
		transform: none !important;
		margin: 20px 0 !important;
	}

	body.page-id-1255 textarea {
		background: #fff !important;
		border: 1px solid #ccc !important;
		padding: 10px;
		line-height: normal;
		height: 150px;
	}
}

@media (max-width: 900px) {
	.menu-mobile {
		position: fixed;
		top: 12px;
		right: 12px;
		left: auto !important;
		transform: none !important;
	}
}

@media (max-width: 900px) {
	html, body {
		max-width: 100%;
		overflow-x: hidden;
	}

	.ast-container,
	.site-content {
		max-width: 100%;
		overflow-x: hidden;
	}

}

/*	----------------------------
		ANNIVERSAIRE FACEBOOK
	---------------------------- */

.facebook-anniversaire{
	max-width:			700px;
	margin:				40px auto;
	text-align:			center;
}

.fb-texte{
	font-family:		'Caladea', serif;
	font-size:			18px;
	line-height:		1.7;
	color:				#2c2c2c;
	margin-bottom:		18px;
}

.fb-video{
	display:			flex;
	justify-content:	center;
}

.fb-video iframe{
	width:				100%;
	max-width:			560px;
	height:				315px;
}

@media (min-width: 901px) {

	.titre-film {
		white-space: nowrap;
		word-break: normal;
	}

}

/*	==============================
		DEBUG – ZONES CLIQUABLES
	=============================== */

/*
body.page-id-778 .zone-porte {
	outline:			3px solid red;
	background:			rgba(255, 0, 0, 0.15);
}

body.page-id-778 .zone-popcorn {
	outline:			3px solid blue;
	background:			rgba(0, 0, 255, 0.15);
}

body.page-id-778 .zone-guichet {
	outline:			3px solid green;
	background:			rgba(0, 128, 0, 0.15);
}
*/

/*	=============================
		DEBUG POSITION AFFICHES
	============================= */

/*
.zone-affiche1,
.zone-affiche2,
.zone-affiche3 {
	outline:			3px dashed cyan;
	background:			rgba(0,255,255,0.15);

}
*/
