/*
 Theme Name: Divi Child-La-Florida
 Theme URI: 
 Description: Divi Child Theme
 Author: Olivier Rochefort
 Author URI: 
 Template: Divi
 Version: 1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

/* ======================================= */
/* FONTS */
/* ======================================= */
@font-face {
	font-family: "VolvoBroad Regular";
	font-style: normal;
	font-weight: normal;
	src: url("w-fonts/VolvoBroad.woff") format("woff");
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "VolvoBroad Regular", sans-serif !important;
}

.et_pb_module_heading .et_pb_text_inner {
	font-family: "VolvoBroad Regular", sans-serif !important;
}

.et_pb_module.et_pb_text.h3-distribution-florida .et_pb_text_inner h3 {
	font-size: clamp(1.5rem, 5vw, 2rem) !important;
	line-height: 1.2 !important;
}

/* ======================================= */
/* MENU DESKTOP (> 980px) */
/* ======================================= */
#hero-florida {
	height: 100% !important;
	min-height: 100vh !important;
	/* 50% est le centre horizontal. 
       60% sur l'axe vertical descend l'image un peu plus bas que le centre. */
	background-position: center calc(50% - 8.5vh) !important;
}
/* Row Menu - État par défaut (Transparent) */
.row-menu-florida {
	background-color: transparent !important;
	padding: 20px 20px !important;
	transition: all 0.4s ease-in-out;
}

/* Row Menu - État Actif (Bleu au scroll) */
.row-menu-florida.header-bleu {
	background-color: #4392c9 !important;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Logo - Réduction de la taille */
.menu-bouton .et_pb_menu__logo {
	border-width: 0px !important;
	padding: 0px !important;
	max-width: 250px !important;
	width: 250px !important;
}

/* Alignement vertical et horizontal des liens */
.menu-bouton .et_pb_menu__menu > nav > ul {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	height: 100% !important;
}

.menu-bouton .et_pb_menu__menu > nav > ul > li {
	height: auto !important;
	white-space: nowrap !important;
}

/* Styles des liens de menu (boutons) */
.menu-bouton .et_pb_menu__menu > nav > ul > li > a {
	padding: 6px 10px;
	border-radius: 5px;
	margin-right: 6px;
	display: flex;
	text-decoration: none !important;
	text-transform: uppercase;
	font-weight: bold;
	color: #ffffff !important;
	font-size: clamp(12px, 1.8vw, 18px) !important;
}

/* Effet au survol (Hover) des liens */
.menu-bouton .et_pb_menu__menu > nav > ul > li > a:hover {
	background-color: #2e5b9d !important;
	color: #ffffff !important;
	border-color: #2e5b9d !important;
	cursor: pointer;
	background: none !important;
}

/* Bouton BILLETTERIE (Desktop) */
.bouton-billetterie .et_pb_button {
	background-color: #2e5b9d !important;
	color: #ffffff !important;
	border-radius: 5px !important;
	border: none !important;
	padding: 10px 20px !important;
	text-transform: uppercase !important;
	font-weight: bold !important;
	font-size: clamp(16px, 3vw, 20px) !important;
	transition: all 0.3s ease;
}

/* Effet au survol du bouton BILLETTERIE */
.bouton-billetterie .et_pb_button:hover {
	background-color: transparent !important;
	color: #2e5b9d !important;
	border: 2px solid #2e5b9d !important;
}

/* ======================================= */
/* ÉCRANS MOYENS (981px à 1315px) */
/* ======================================= */
@media only screen and (min-width: 981px) and (max-width: 1315px) {
	/* Compaction maximale des liens */
	.menu-bouton .et_pb_menu__menu > nav > ul > li > a {
		padding: 4px 8px !important;
		margin-right: 4px !important;
		font-size: clamp(11px, 1.3vw, 13px) !important;
	}

	/* Compacter le bouton BILLETTERIE */
	.bouton-billetterie .et_pb_button {
		padding: 6px 12px !important;
		font-size: 13px !important;
	}
}
/* ======================================= */
/* TABLETTE ET MOBILE (<= 1000 =============== */

/* ======================================= */
/* TABLETTE ET MOBILE (<= 980px) */
/* ======================================= */

@media only screen and (max-width: 980px) {
	/* Z-index et couleurs du menu mobile */
	#hero-florida {
		height: 100% !important;
		/* 50% est le centre horizontal. 
       60% sur l'axe vertical descend l'image un peu plus bas que le centre. */
		background-position: center calc(50% - 3.5vh) !important;
	}
	.menu-bouton .et_mobile_menu {
		z-index: 99999 !important;
		background-color: #2e5b9d !important;
	}

	.menu-bouton .et_mobile_menu ul {
		background-color: #2e5b9d !important;
	}

	/* Conteneur principal (Flexbox) */
	.row-menu-florida {
		display: flex !important;
		flex-wrap: wrap !important;
		align-items: center;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding: 10px 10px !important;
	}

	/* Module Menu (Logo + Hamburger) */
	.menu-bouton {
		width: 100% !important;
		order: 1 !important;
		margin: 0 !important;
		padding: 5px 15px !important;
	}

	/* Logo mobile/tablette */
	.menu-bouton .et_pb_menu__logo {
		max-width: 150px !important;
		order: 1 !important;
		float: left !important;
	}

	/* Hamburger mobile/tablette */
	.menu-bouton .et_pb_menu__menu-button {
		color: #ffffff !important;
		font-size: 35px !important;
		float: right !important;
		line-height: 1.2 !important;
		margin-top: 5px !important;
	}

	/* Nettoyage du flottant */
	.menu-bouton::after {
		content: "";
		display: table;
		clear: both;
	}

	/* Bouton BILLETTERIE mobile */
	.bouton-billetterie {
		width: 95% !important;
		order: 2 !important;
		margin: 10px auto !important;
		padding-top: 0 !important;
	}

	.bouton-billetterie .et_pb_button {
		padding: 12px 0px !important;
		font-size: 16px !important;
		text-align: center !important;
		display: block !important;
	}

	.mobile_menu_bar {
		margin-bottom: 10px !important;
	}

	/* Style du menu ouvert (Liste propre) */
	.menu-bouton #mobile_menu {
		background-color: #2e5b9d !important;
	}

	.menu-bouton #mobile_menu li a {
		border: none !important;
		border-radius: 0 !important;
		margin: 0 !important;
		background-color: transparent !important;
		color: #ffffff !important;
		padding: 15px 20px !important;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		text-transform: uppercase !important;
	}

	.menu-bouton #mobile_menu li a:hover,
	.menu-bouton #mobile_menu li.current-menu-item a {
		background-color: rgba(0, 0, 0, 0.1) !important;
		color: #f8e3a2 !important;
	}

	.menu-bouton .et_mobile_menu_close {
		padding-bottom: 10px !important;
	}
}

/* ======================================= */
/* MOBILE PAYSAGE 620 */
/* ======================================= */
@media only screen and (max-width: 730px) {
	#hero-florida {
		height: 100% !important;

		background-position: top center !important;
	}
}
/* ======================================= */
/* MOBILE PAYSAGE (Landscape) */
/* ======================================= */
@media only screen and (max-height: 550px) and (orientation: landscape) {
	#hero-florida {
		height: 900px !important;
		min-height: auto !important;
		padding-top: 50px !important;
		padding-bottom: 50px !important;
	}

	.section-hero-fix .et_pb_row {
		height: auto !important;
		min-height: 0 !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
}

/* ======================================= */
/* IPHONE MINI & PETITS ÉCRANS (<= 479px) */
/* ======================================= */
@media only screen and (max-width: 479px) {
	#hero-florida {
		height: 100% !important;
		background-position: top center !important;
	}
	/* Réduction du logo */
	.menu-bouton .et_pb_menu__logo {
		max-width: 120px !important;
	}

	/* Ajustement du hamburger */
	.menu-bouton .et_pb_menu__menu-button {
		font-size: 30px !important;
		margin-top: 8px !important;
	}

	/* Optimisation de l'espace latéral */
	.row-menu-florida {
		padding: 5px 5px !important;
	}

	/* Bouton Billetterie pleine largeur */
	.bouton-billetterie {
		width: 100% !important;
		padding-left: 10px !important;
		padding-right: 10px !important;
	}
}

/* ======================================= */
/* ÉQUIPE DE PRODUCTION */
/* ======================================= */
#equipe .et_pb_column.equipe-production-name .et_pb_module:last-child {
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}

.et_pb_column.equipe-production-name div {
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* ======================================= */
/* FILTRES ET TAXONOMIES */
/* ======================================= */
.tx-ville.dmach-postmeta-value span {
	text-align: center !important;
}

.divi-engine-grid-list-view-switcher {
	display: none !important;
}

/* Paramètres de filtre (Bouton machine) */
#ma_liste_spectacles.et_pb_module_inner.filter-param-tags .param-ville {
	background-color: #ff0000 !important;
}

/* ======================================= */
/* STATUTS DE SPECTACLES */
/* ======================================= */
.et_pb_de_mach_acf_item.statut-select-activator .en_vente,
.et_pb_de_mach_acf_item.statut-select-activator .prevente,
.et_pb_de_mach_acf_item.statut-select-activator .a_venir {
	display: none !important;
}

.et_pb_de_mach_acf_item.statut-select-activator .annule {
	border: 2px solid #ff0000 !important;
	border-radius: 25px !important;
	padding: 1rem 0.6rem !important;
	color: #ff0000 !important;
	background: none !important;
}
