/* ==============================================
   CSS Single Établissements - Child Theme
   Redesign style lac-annecy.com
   ============================================== */


/* ==============================================
   1. ANIMATIONS
   ============================================== */

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(16px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.animate-on-scroll {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animate-on-scroll.is-visible {
	opacity: 1;
	transform: translateY(0);
}


/* ==============================================
   2. GALERIE PHOTO (style lac-annecy)
   ============================================== */

/* Override le bandeau parent */
.mainBandeau.mainBandeauSingle {
	background-image: none !important;
	background-attachment: scroll;
	height: auto;
	min-height: auto;
	position: relative;
	overflow: visible;
	padding: 0;
	margin-bottom: 24px;
	display: block;
}

.mainBandeau.mainBandeauSingle::before {
	display: none;
}

.mainBandeau.mainBandeauSingle * {
	text-shadow: none;
}

/* Cacher le h1 dans le bandeau (on l'affiche dans .FicheHeader) */
.mainBandeau.mainBandeauSingle>.hTitreSingle {
	display: none;
}

/* Galerie */
.FicheGallery {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 24px;
}

.FicheGallery-main {
	position: relative;
	border-radius: 3px;
	overflow: hidden;
	max-height: 500px;
}

.FicheGallery-main>a {
	display: block;
	line-height: 0;
}

.FicheGallery-main img {
	width: 100%;
	height: 500px;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.FicheGallery-main:hover img {
	transform: scale(1.02);
}

.FicheGallery-more {
	position: absolute;
	top: 20px;
	right: 20px;
	background: #fff;
	border: 1px solid #222;
	border-radius: 3px;
	padding: 10px 22px;
	font-size: 14px;
	font-weight: 600;
	color: #222;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
	z-index: 4;
	display: none;
	align-items: center;
	gap: 8px;
	font-family: inherit;
}

.FicheGallery-more svg {
	flex-shrink: 0;
}

.FicheGallery-more:hover {
	background: #f0f0f0;
	transform: scale(1.03);
}

/* Galerie cachée (pour Fancybox uniquement) */
.FicheGallery-hidden {
	display: none;
}


/* ==============================================
   2c. CHAPEAU OVERLAY (texte sur l'image hero)
   ============================================== */

.chapeau-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 50%;
	z-index: 2;
	background-color: rgba(0, 0, 0, 0.25);
	-webkit-backdrop-filter: blur(8px) saturate(150%);
	backdrop-filter: blur(8px) saturate(150%);
	padding: 16px 20px 14px;
	max-height: 250px;
	border: 1px solid transparent;
	border-radius: 0 3px 0 0;
	box-shadow: none;
	overflow: hidden;
	transition:
		max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
		background-color 0.5s ease,
		padding 0.5s ease,
		-webkit-backdrop-filter 0.4s ease,
		backdrop-filter 0.4s ease;
	pointer-events: none;
}

/* Dégradé assombrissant vers le bas (par-dessus le blur) */
.chapeau-overlay::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
	pointer-events: none;
	z-index: -1;
	transition: opacity 0.5s ease;
}

/* Masquer le dégradé en mode déployé */
.chapeau-overlay.is-expanded::before {
	opacity: 0;
}

.chapeau-overlay-text {
	color: #fff;
	font-family: 'DM Serif Display', Georgia, serif;
	font-size: 1.8rem;
	line-height: 1.5;
	font-weight: 400;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.3);
	text-align: left;
	overflow: hidden;
	pointer-events: auto;
	transition: color 0.4s ease, text-shadow 0.4s ease;
}

.chapeau-overlay-excerpt {
	display: inline;
}

.chapeau-overlay-text p {
	display: inline;
	margin: 0;
}

.chapeau-overlay-toggle {
	display: none;
	white-space: nowrap;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1.4rem;
	font-weight: 600;
	padding: 0;
	margin-left: 6px;
	text-decoration: none;
	font-family: inherit;
	transition: color 0.4s ease, text-shadow 0.4s ease;
	position: relative;
}

.chapeau-overlay-toggle::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 100%;
	height: 2px;
	background: #fff;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}

.chapeau-overlay-toggle:hover::after {
	transform: scaleX(1);
}

.chapeau-overlay-toggle.is-visible {
	display: inline;
}

/* État déployé : même glass sombre, déployé vers le haut */
.chapeau-overlay.is-expanded {
	bottom: 0;
	left: 0;
	max-height: 375px;
	background-color: rgba(0, 0, 0, 0.35);
	-webkit-backdrop-filter: blur(10px) saturate(200%);
	backdrop-filter: blur(10px) saturate(200%);
	border: none;
	border-radius: 0 3px 0 0;
	box-shadow: none;
	padding: 20px 24px;
	overflow-y: auto;
	pointer-events: auto;
}


/* ==============================================
   2b. MOSAÏQUE (1 grande + 4 petites dans singleMain)
   ============================================== */

.FicheGallery-mosaic {
	display: flex;
	gap: 4px;
	height: 280px;
	border-radius: 3px;
	overflow: hidden;
	margin-bottom: 24px;
}

.FicheGallery-mosaic-main {
	flex: 1;
	min-width: 0;
	overflow: hidden;
}

.FicheGallery-mosaic-main a {
	display: block;
	height: 100%;
}

.FicheGallery-mosaic-main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.FicheGallery-mosaic-main:hover img {
	transform: scale(1.02);
}

.FicheGallery-mosaic-grid {
	flex: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 4px;
}

.FicheGallery-mosaic-thumb {
	position: relative;
	overflow: hidden;
	display: block;
	cursor: pointer;
}

.FicheGallery-mosaic-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.FicheGallery-mosaic-thumb:hover img {
	transform: scale(1.05);
}

/* Overlay "+N photos" sur la dernière vignette */
.FicheGallery-mosaic-count {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	transition: background 0.3s ease;
}

.FicheGallery-mosaic-last:hover .FicheGallery-mosaic-count {
	background: rgba(0, 0, 0, 0.6);
}


/* ==============================================
   3. FICHE HEADER (Breadcrumbs + Catégorie + Titre)
   Au-dessus de la galerie photo
   ============================================== */

.FicheHeader {
	max-width: 1400px;
	margin: 0 auto;
	padding: 20px 24px 24px;
	text-align: left;
}

.FicheHeader-container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

/* Navigation retour */
.FicheHeader-breadcrumbs {
	font-size: 1.3rem;
	color: #b0b0b0;
	margin-bottom: 0;
	padding-bottom: 12px;
	border-bottom: 1px solid #e5e5e5;
	display: flex;
	align-items: center;
	gap: 12px;
}

.FicheHeader-back {
	color: #3a9c92;
	text-decoration: none;
	transition: color 0.2s;
	position: relative;
	font-weight: 600;
}

.FicheHeader-back::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 100%;
	height: 2px;
	background: #2d7d75;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}

.FicheHeader-back:hover {
	color: #2d7d75;
}

.FicheHeader-back:hover::after {
	transform: scaleX(1);
}

.FicheHeader-breadcrumbs-sep {
	width: 1px;
	height: 14px;
	background: #d0d0d0;
}

.FicheHeader-breadcrumbs-current {
	color: #999;
}

/* Catégorie + Localisation (ex: HOTELS - Annot) */
.FicheHeader-category {
	font-size: 1.4rem;
	color: #717171;
	font-weight: 500;
	margin: 0;
	letter-spacing: 0.06em;
	display: flex;
	align-items: center;
	gap: 4px;
	flex-wrap: wrap;
}

.FicheHeader-category-types {
	text-transform: uppercase;
}

.FicheHeader-category-sep {
	color: #b0b0b0;
	margin: 0 2px;
}

a.FicheHeader-category-ville {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #3a9c92;
	text-decoration: none;
	position: relative;
}

a.FicheHeader-category-ville span {
	position: relative;
}

a.FicheHeader-category-ville span::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 100%;
	height: 2px;
	background: #3a9c92;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}

a.FicheHeader-category-ville:hover span::after {
	transform: scaleX(1);
}

a.FicheHeader-category-ville svg {
	width: 1.3rem;
	height: 1.3rem;
	fill: #3a9c92;
	flex-shrink: 0;
}

/* Titre h1 */
.FicheHeader-title {
	font-family: 'DM Serif Display', Georgia, serif;
	font-size: 3.2rem;
	font-weight: 400;
	color: #222;
	padding: 0;
	margin: 4px 0 0;
	line-height: 1.25;
	text-shadow: none;
	text-align: left;
}

.FicheHeader-stars {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	vertical-align: middle;
	margin-left: 8px;
}

.FicheHeader-stars svg {
	width: 1.8rem;
	height: 1.8rem;
	fill: #f7d738;
	filter: none;
}


.singleFerme {
	background: #FFF3CD;
	border: 1px solid #FFEAA7;
	border-radius: 3px;
	padding: 12px 16px;
	color: #856404;
	font-weight: 500;
	margin-bottom: 16px;
}

.singleDate {
	color: #717171;
	font-size: 1.5rem;
	text-transform: none;
	font-weight: 500;
	margin-bottom: 8px;
}

.singleDate svg {
	height: 1.6rem;
	width: 1.6rem;
	fill: #717171;
}


/* ==============================================
   5. LAYOUT DEUX COLONNES
   ============================================== */

.singleContent {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 24px 60px;
	display: flex;
	flex-wrap: nowrap;
	gap: 48px;
	align-items: stretch;
}

.singleMain {
	flex: 1;
	min-width: 0;
}

.singleAside {
	flex-basis: 350px;
	padding: 0;
	border-radius: 3px;
}


/* ==============================================
   6. BLOCS D'INFORMATION (style FicheDescription)
   ============================================== */

.singleDesc {
	border: none;
	border-top: 1px solid #e5e5e5;
	border-radius: 0;
	padding: 28px 0;
	margin: 0;
	font-size: 1.5rem;
	line-height: 1.7;
	color: #484848;
}

.singleDesc p {
	margin-bottom: 12px;
}

.singleInfo {
	border: none;
	margin: 0;
	font-size: 1.5rem;
	border-radius: 0;
}

.singleInfo>li {
	padding: 24px 0;
	background: transparent !important;
	border: none;
}

.singleInfo>li:last-child {
	border-bottom: none;
}

.singleInfo>li:nth-child(odd) {
	background: transparent;
}

.singleInfo .singleInfoBlock {
	display: block;
}

.singleInfo h2 {
	font-family: 'DM Serif Display', Georgia, serif;
	color: #222;
	font-size: 2rem;
	font-weight: 400;
	padding: 0;
	margin: 0;
}

.singleInfo .singleInfoContent {
	color: #484848;
}

.singleInfo p {
	line-height: 1.6;
	padding: 0;
	margin-bottom: 6px;
}

/* Collapsible sections */
.singleInfo h2.etaTitre {
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 12px;
	user-select: none;
	-webkit-user-select: none;
}

.singleInfo h2.etaTitre::before {
	content: '';
	order: 1;
	flex: 1;
	height: 1px;
	background: #d5d5d5;
}

.singleInfo h2.etaTitre::after {
	content: '';
	order: 2;
	display: block;
	width: 10px;
	height: 10px;
	border-right: 2px solid #888;
	border-bottom: 2px solid #888;
	transform: rotate(45deg);
	transition: transform 0.3s ease;
	flex-shrink: 0;
}

.singleInfo h2.etaTitre.section-open::after {
	transform: rotate(-135deg);
}

.singleInfo .singleInfoContent {
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: max-height 0.4s ease, opacity 0.3s ease;
	padding-top: 0;
}

.singleInfo .singleInfoContent.section-visible {
	opacity: 1;
	padding-top: 12px;
}

/* Single IList */
.singleIList {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
}

.singleIList li {
	width: 50%;
	padding: 4px 8px 4px 0;
	line-height: 1.5;
	font-size: 1.5rem;
}

.singleIList li svg {
	width: 1.8rem;
	margin-right: 6px;
	vertical-align: middle;
}

.singleIList li svg,
.singleIList li svg * {
	fill: #484848;
}

.singleIList li a svg,
.singleIList li a svg * {
	fill: #3a9c92;
}

.singleIList li a:hover svg,
.singleIList li a:hover svg * {
	fill: #2d7d75;
}


/* ==============================================
   7. ONGLETS (Périodes / Tarifs)
   ============================================== */

.singleTab {
	border: 1px solid #e5e5e5;
	border-radius: 3px;
	margin: 24px 0;
	overflow: hidden;
	font-size: 1.5rem;
	background: #fff;
	flex-direction: column;
	display: flex;
}

.singleTabOnglets {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	border-bottom: 1px solid #e5e5e5;
	padding: 0;
	flex-basis: auto;
	z-index: 0;
}

.singleTabOnglets li {
	background: transparent;
	border: none;
	border-bottom: 2px solid transparent;
	cursor: pointer;
	padding: 14px 20px;
	font-size: 1.4rem;
	font-weight: 500;
	color: #717171;
	transition: color 0.2s, border-color 0.2s;
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
}

.singleTabOnglets li:hover {
	color: #222;
}

.singleTabOnglets li svg {
	display: none;
}

.singleTabOnglets li em {
	position: static;
	color: #b0b0b0;
	font-size: 1.2rem;
	font-weight: 400;
}

.singleTabOnglets li.active {
	color: #222;
	border-bottom: 2px solid #3a9c92;
	background: transparent;
	font-weight: 600;
	border-right: none;
}

.singleTabTargets {
	padding: 0;
	border-left: none;
	margin-left: 0;
	background: #fff;
}

.singleTabTarget {
	display: none;
}

.singleTabTarget.active {
	display: block;
	animation: fadeIn 0.3s ease;
}

.singleTabTarget li,
.singleTabOuverture p {
	border-bottom: 1px solid #f0f0f0;
	padding: 16px 20px;
	display: flex;
	line-height: 1.5;
	color: #484848;
}

.singleTabTarget li:last-child,
.singleTabOuverture p:last-child {
	border-bottom: none;
}

.singleTabTarget li span.singleTabJour {
	width: 35%;
	color: #222;
	font-weight: 500;
}

/* Tarifs */
.singleTabPrice {
	flex-direction: column;
}

.singleTabPrice p {
	display: flex;
	justify-content: space-between;
	color: #717171;
}

.singleTabPrice strong {
	color: #3a9c92;
	font-size: 1.6rem;
	font-weight: 700;
}

.singleTabPriceComplement {
	margin-top: 8px;
}

.singleTabPriceComplement em {
	color: #b0b0b0;
	font-weight: 300;
}

.ouvertureComplementaire {
	padding-top: 12px;
}

.ouvertureComplementaire li {
	border: 0;
	padding: 4px 20px;
	color: #717171;
}


/* ==============================================
   8. PAIEMENTS
   ============================================== */

.etaPaiements,
.etaPaiements li {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.etaPaiements svg {
	height: 3.2rem;
	width: auto;
	border-radius: 3px;
}


/* ==============================================
   9. SIDEBAR
   ============================================== */

.posSticky {
	position: sticky;
	top: 148px;
	transition: top 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

body:has(.header-hidden) .posSticky {
	top: 24px;
}

.singleCoord {
	border: none;
	border-radius: 3px;
	margin-bottom: 24px;
	overflow: hidden;
	background: #fff;
	box-shadow:
		0 0 0 1px rgba(0, 0, 0, 0.03),
		0 2px 6px rgba(0, 0, 0, 0.06),
		0 8px 24px rgba(0, 0, 0, 0.10),
		0 24px 48px rgba(0, 0, 0, 0.06);
}

.singleRS {
	border: 1px solid #e5e5e5;
	border-radius: 3px;
	margin-bottom: 24px;
	padding: 20px;
	background: #fff;
}

.singleRS div {
	font-family: 'DM Serif Display', Georgia, serif;
	font-size: 1.6rem;
	font-weight: 400;
	color: #222;
	padding: 0 0 12px;
	text-align: center;
}

.singleRS ul {
	display: flex;
	justify-content: center;
	gap: 16px;
}

.singleRS svg {
	fill: #717171;
	height: 2.6rem;
	width: 2.6rem;
	transition: fill 0.2s ease;
}

.singleRS svg *,
.singleRS svg {
	fill: #717171;
}

.singleRS a:hover svg,
.singleRS a:hover svg * {
	fill: #3a9c92;
}

/* Téléphone */
.SingleLoc.SingleLocTel {
	border-bottom: 1px solid #f0f0f0;
	background: transparent;
	padding: 20px;
}

.SingleLoc.SingleLocTel {
	align-items: center;
}

.SingleLoc.SingleLocTel svg {
	fill: #3a9c92;
	height: 2.2rem;
	width: 2.2rem;
}

.SingleLoc.SingleLocTel svg * {
	fill: #3a9c92;
}

.SingleLoc.SingleLocTel ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.phone-item {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 4px;
	flex-wrap: nowrap;
}

.phone-masked {
	color: #484848;
	font-size: 1.5rem;
	white-space: nowrap;
}

.phone-reveal-btn {
	color: #3a9c92 !important;
	font-weight: 600;
	font-size: 1.4rem;
	text-decoration: none;
	cursor: pointer;
	transition: color 0.2s;
	white-space: nowrap;
	flex-shrink: 0;
	position: relative;
	/* Reset du style bouton de style.css */
	background: none;
	padding: 0;
	border: none;
	border-radius: 0;
	display: inline;
}

.phone-reveal-btn::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 100%;
	height: 2px;
	background: #2d7d75;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}

.phone-reveal-btn:hover {
	color: #2d7d75 !important;
	background: none;
}

.phone-reveal-btn:hover::after {
	transform: scaleX(1);
}

.phone-full {
	color: #222;
	font-weight: 600;
	font-size: 1.6rem;
}

/* CTA Demande d'information */
.singleCoord-cta {
	padding: 16px 20px;
	border-top: 1px solid #f0f0f0;
	text-align: center;
}

.singleCoord-cta .verdon-cta {
	width: 100%;
	font-size: 1.3rem;
	padding: 12px 16px;
}

/* Carte en bas de la colonne principale */
.singleMainMap {
	margin-top: 32px;
	border-radius: 3px;
	overflow: hidden;
}

.singleMainMap > div {
	height: 300px;
	width: 100%;
}

/* Map */
.singleMap {
	padding: 0;
	position: relative;
}

.singleMap>div {
	height: 200px;
	width: 100%;
}

/* Adresse cliquable vers Google Maps */
.singleAddress {
	flex: 1;
	min-width: 0;
}

.SingleLoc a.singleAddressLink {
	display: inline;
	font-size: 1.5rem;
	line-height: 1.5;
	color: #3a9c92;
	text-decoration: none;
	background-image: linear-gradient(#2d7d75, #2d7d75);
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 0% 2px;
	transition: background-size 0.3s ease, color 0.2s;
	padding-bottom: 2px;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.SingleLoc a.singleAddressLink::after {
	display: none;
}

.SingleLoc a.singleAddressLink:hover {
	color: #2d7d75;
	background-size: 100% 2px;
}

/* Adresse */
.SingleLoc {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px 20px;
	border-top: 1px solid #f0f0f0;
}

.SingleLoc:first-child {
	border-top: none;
}

.SingleLocTel {
	border-bottom: none;
	background: transparent;
}

.SingleLocOdd {
	border-top: 1px solid #f0f0f0;
	background: transparent;
}

.SingleLocEven {
	border-top: 1px solid #f0f0f0;
}

.SingleLoc svg {
	fill: #3a9c92;
	height: 2.2rem;
	width: 2.2rem;
	flex-shrink: 0;
	margin-top: 2px;
}

.SingleLoc svg * {
	fill: #3a9c92;
}

.SingleLoc p,
.SingleLoc ul {
	font-size: 1.5rem;
	line-height: 1.5;
	color: #484848;
	margin-top: 0;
}

.SingleLoc ul li {
	line-height: 1.5;
}

.SingleLoc a {
	color: #3a9c92;
	text-decoration: none;
	transition: color 0.2s;
	position: relative;
}

.SingleLoc a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 100%;
	height: 2px;
	background: #2d7d75;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}

.SingleLoc a:hover {
	color: #2d7d75;
}

.SingleLoc a:hover::after {
	transform: scaleX(1);
}


/* ==============================================
   10. BOUTONS
   ============================================== */

.buttonSecondary,
.buttonPrimary,
.wp-block-button__link {
	border-radius: 3px;
	font-weight: 600;
	font-size: 1.5rem;
	padding: 12px 28px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

/* === Bouton CTA Verdon Tourisme === */
/* Neutraliser les pseudo-éléments skew du thème parent */
.verdon-cta::after {
	content: none !important;
	display: none !important;
}

.verdon-cta {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 15px 32px;
	border: none !important;
	border-radius: 3px;
	font-size: 16px;
	font-weight: 600;
	color: #ffffff !important;
	cursor: pointer;
	overflow: hidden;
	background-color: #3A9C92 !important;
	background-image: linear-gradient(
		to right,
		#2D7A72 0%,
		#3A9C92 50%,
		#1F6B64 100%
	) !important;
	background-size: 200% 100% !important;
	background-position: 0% 0%;
	transition: background-position 0.45s ease,
		transform 0.12s ease;
}

.verdon-cta:hover,
.verdon-cta:focus {
	background-position: 100% 0% !important;
	color: #fff !important;
}

.verdon-cta:hover::after,
.verdon-cta:focus::after,
.verdon-cta:active::after {
	content: none !important;
	display: none !important;
	transform: none !important;
}

/* Glow qui suit la souris */
.verdon-cta::before {
	content: '' !important;
	position: absolute;
	inset: 0;
	border-radius: inherit;
	height: 100% !important;
	width: 100% !important;
	transform: none !important;
	background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
			rgba(255, 255, 255, 0.14) 0%,
			transparent 55%) !important;
	box-shadow: none !important;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
	z-index: 0;
}

.verdon-cta:hover::before {
	opacity: 1;
	transform: none !important;
}

/* Feedback tactile au clic */
.verdon-cta:active {
	transform: scale(0.97);
	background-color: #2D7A72 !important;
	background-image: linear-gradient(
		to right,
		#2D7A72 0%,
		#3A9C92 50%,
		#1F6B64 100%
	) !important;
	background-size: 200% 100% !important;
	background-position: 100% 0% !important;
	color: #fff !important;
	filter: brightness(0.88);
}

/* Contenu au-dessus du glow */
.verdon-cta span,
.verdon-cta svg {
	position: relative;
	z-index: 1;
}

.verdon-cta svg,
.verdon-cta svg *,
.verdon-cta:hover svg,
.verdon-cta:hover svg *,
.verdon-cta:focus svg,
.verdon-cta:focus svg * {
	fill: #fff !important;
}

/* Bouton contact/information dans singleMain */
.singleMain>.verdon-cta {
	width: 100%;
	margin: 24px 0;
}

/* Focus clavier */
.verdon-cta:focus-visible {
	outline: 2px solid #3A9C92;
	outline-offset: 3px;
}

/* === Bouton secondaire outline Verdon === */
.verdon-cta-outline::after {
	content: none !important;
	display: none !important;
}

.verdon-cta-outline {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 30px;
	border: 2px solid #3A9C92 !important;
	border-radius: 3px;
	font-size: 1.6rem;
	font-weight: 600;
	color: #2D7A72 !important;
	cursor: pointer;
	overflow: hidden;
	outline: none;
	text-decoration: none;
	background: #ffffff !important;
	transition: background-color 0.3s ease,
		border-color 0.3s ease,
		color 0.3s ease,
		transform 0.12s ease;
}

.verdon-cta-outline:hover,
.verdon-cta-outline:focus {
	background: rgba(58, 156, 146, 0.06) !important;
	border-color: #2D7A72 !important;
	color: #1F5C56 !important;
}

.verdon-cta-outline:hover::after,
.verdon-cta-outline:focus::after,
.verdon-cta-outline:active::after {
	content: none !important;
	display: none !important;
	transform: none !important;
}

/* Glow teal qui suit la souris */
.verdon-cta-outline::before {
	content: '' !important;
	position: absolute;
	inset: 0;
	border-radius: inherit;
	height: 100% !important;
	width: 100% !important;
	transform: none !important;
	background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
			rgba(58, 156, 146, 0.08) 0%,
			transparent 60%) !important;
	box-shadow: none !important;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
	z-index: 0;
}

.verdon-cta-outline:hover::before {
	opacity: 1;
	transform: none !important;
}

/* Feedback tactile au clic */
.verdon-cta-outline:active {
	transform: scale(0.97);
	background: rgba(58, 156, 146, 0.10) !important;
}

/* Focus clavier */
.verdon-cta-outline:focus-visible {
	outline: 2px solid #3A9C92;
	outline-offset: 3px;
}

/* Contenu au-dessus du glow */
.verdon-cta-outline span,
.verdon-cta-outline svg {
	position: relative;
	z-index: 1;
}

.verdon-cta-outline svg,
.verdon-cta-outline svg *,
.verdon-cta-outline:hover svg,
.verdon-cta-outline:hover svg * {
	fill: #2D7A72 !important;
}

.verdon-cta-outline:hover svg,
.verdon-cta-outline:hover svg * {
	fill: #1F5C56 !important;
}

/* Accessibilité : réduire les animations */
@media (prefers-reduced-motion: reduce) {
	.verdon-cta {
		transition: none;
		background-size: 100% 100%;
	}

	.verdon-cta::before {
		display: none !important;
	}

	.verdon-cta-outline {
		transition: none;
	}

	.verdon-cta-outline::before {
		display: none !important;
	}
}


/* ==============================================
   11. ITINERAIRE
   ============================================== */

.itineraireInfos {
	display: flex;
	align-items: stretch;
	gap: 0;
	margin: 0 0 24px;
	padding: 0;
	border: 1px solid #e5e5e5;
	border-radius: 3px;
	overflow: hidden;
	justify-content: stretch;
	text-align: center;
	font-size: 1.5rem;
	color: #222;
}

.itineraireInfos>div {
	flex: 1;
	padding: 20px 16px;
	border-right: 1px solid #e5e5e5;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.itineraireInfos>div:last-child {
	border-right: none;
}

.itineraireInfos svg {
	display: block;
	margin: 0 auto;
	height: 3rem;
	width: auto;
}

.itineraireDistance {
	font-size: 1.6rem;
	font-weight: 500;
}

.itineraireDistance strong {
	font-size: 2.8rem;
	font-weight: 700;
	color: #3a9c92;
}

.itineraireType svg *,
.itineraireBalise svg *,
.itineraireSport svg * {
	fill: #3a9c92;
}

.itineraireDuree svg *,
.itineraireSport svg * {
	stroke: #3a9c92;
}

.itineraireLevel {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 3rem;
	justify-content: center;
}

.itineraireLevel span {
	border-radius: 50%;
	border: 2px solid #3a9c92;
	display: block;
	height: 1.4rem;
	width: 1.4rem;
	transition: background 0.2s;
}

.itineraireLevel span.active {
	background: #3a9c92;
}

.itineraireMap {
	position: relative;
	border-radius: 3px;
	overflow: hidden;
	margin: 24px auto;
	max-width: 1200px;
}

.itineraireMap>div {
	height: 450px;
	width: 100%;
}


/* ==============================================
   12. MODAL CONTACT
   ============================================== */

/* Fancybox : la modal doit rester dans la viewport */
.fancybox__slide:has(.modal-contact-wrapper) .fancybox__content {
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	overflow: hidden;
	padding: 0;
	border-radius: 3px;
	position: relative;
}

/* Le contenu interne scrolle, pas le conteneur fancybox */
.fancybox__slide:has(.modal-contact-wrapper) .fancybox__content > div {
	overflow-y: auto;
	min-height: 0;
}

/* Croix de fermeture : absolue, toujours visible */
.fancybox__slide:has(.modal-contact-wrapper) .fancybox__content > .carousel__button.is-close {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 10;
	color: #666;
	opacity: 0.7;
	transition: opacity 0.2s;
	margin: 0;
}

.fancybox__slide:has(.modal-contact-wrapper) .fancybox__content > .carousel__button.is-close:hover {
	opacity: 1;
	color: #222;
}

.modal-contact-wrapper {
	background: #fff;
	padding: 40px 32px 32px;
	border-radius: 3px;
}

.modal-title {
	margin: 0 0 8px 0;
	font-family: 'DM Serif Display', Georgia, serif;
	font-size: 22px;
	color: #222;
	font-weight: 400;
}

.modal-subtitle {
	margin: 0 0 24px 0;
	font-size: 15px;
	color: #717171;
	padding-left: 0;
}

.modal-subtitle strong {
	color: #222;
}

.modal-contact-wrapper .form-row {
	margin-bottom: 20px;
}

.modal-contact-wrapper label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #222;
	font-size: 14px;
}

.modal-contact-wrapper input[type="text"],
.modal-contact-wrapper input[type="email"],
.modal-contact-wrapper input[type="tel"],
.modal-contact-wrapper textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #b0b0b0;
	border-radius: 3px;
	font-size: 15px;
	transition: border-color 0.2s, box-shadow 0.2s;
	font-family: inherit;
	background: #fff;
	box-sizing: border-box;
}

.modal-contact-wrapper input:focus,
.modal-contact-wrapper textarea:focus {
	outline: none;
	border-color: #3a9c92;
	box-shadow: 0 0 0 2px rgba(58, 156, 146, 0.15);
}

.modal-contact-wrapper textarea {
	resize: vertical;
	min-height: 120px;
}

.modal-contact-wrapper .ctSbt {
	text-align: center;
	margin-top: 24px;
}

.modal-contact-wrapper .wpcf7-submit {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 15px 32px;
	border: none;
	border-radius: 3px;
	color: #fff;
	font-weight: 600;
	font-size: 1.5rem;
	font-family: inherit;
	letter-spacing: 0.01em;
	text-decoration: none;
	cursor: pointer;
	background-color: #3A9C92;
	background-image: linear-gradient(
		to right,
		#3A9C92 0%,
		#2D7A72 50%,
		#1F6B64 100%
	);
	background-size: 200% 100%;
	background-position: 0% 0%;
	transition: background-position 0.45s ease,
		transform 0.12s ease;
}

.modal-contact-wrapper .wpcf7-submit::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
		rgba(255, 255, 255, 0.25) 0%,
		transparent 55%);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
	z-index: 0;
}

.modal-contact-wrapper .wpcf7-submit:hover::before {
	opacity: 1;
}

.modal-contact-wrapper .wpcf7-submit:hover,
.modal-contact-wrapper .wpcf7-submit:focus {
	background-position: 100% 0%;
}

.modal-contact-wrapper .wpcf7-submit:active {
	transform: scale(0.97);
	filter: brightness(0.88);
}

.modal-contact-wrapper .wpcf7-submit:focus-visible {
	outline: 2px solid #3A9C92;
	outline-offset: 3px;
}

.modal-contact-wrapper .wpcf7-response-output {
	border-radius: 3px;
	padding: 14px;
	margin: 20px 0 0 0;
	font-size: 14px;
}

.modal-contact-wrapper .wpcf7-mail-sent-ok {
	background-color: #d4edda;
	border: 1px solid #c3e6cb;
	color: #155724;
}

.modal-contact-wrapper .wpcf7-validation-errors,
.modal-contact-wrapper .wpcf7-mail-sent-ng {
	background-color: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
}

/* Bloquer le scroll de la page quand la modal est ouverte */
html.with-fancybox {
	overflow: hidden;
}

html.with-fancybox body {
	overflow: hidden;
	overscroll-behavior: none;
}

/* Modal tablette */
@media (max-width: 1023px) {
	.fancybox__slide:has(.modal-contact-wrapper) {
		padding: 16px;
	}

	.modal-contact-wrapper {
		padding: 24px;
	}
}

/* Modal mobile */
@media (max-width: 767px) {
	.fancybox__slide:has(.modal-contact-wrapper) {
		padding: 8px;
		align-items: stretch;
	}

	.fancybox__slide:has(.modal-contact-wrapper) .fancybox__content {
		max-height: calc(100vh - 16px);
		max-height: calc(100dvh - 16px);
		width: 100% !important;
		max-width: 100% !important;
		border-radius: 3px;
	}

	.modal-contact-wrapper {
		padding: 20px 16px;
	}

	.modal-title {
		font-size: 19px;
	}

	.modal-subtitle {
		font-size: 13px;
		margin-bottom: 16px;
	}

	.modal-contact-wrapper input[type="text"],
	.modal-contact-wrapper input[type="email"],
	.modal-contact-wrapper input[type="tel"],
	.modal-contact-wrapper textarea {
		padding: 10px 12px;
		font-size: 14px;
	}

	.modal-contact-wrapper textarea {
		min-height: 80px;
	}

	.modal-contact-wrapper .form-row {
		margin-bottom: 14px;
	}

	.modal-contact-wrapper label {
		font-size: 13px;
		margin-bottom: 5px;
	}

	.modal-contact-wrapper .ctSbt {
		margin-top: 16px;
	}
}

/* Modal very small mobile */
@media (max-width: 479px) {
	.modal-contact-wrapper {
		padding: 16px 12px;
	}

	.modal-title {
		font-size: 17px;
	}

	.modal-contact-wrapper input[type="text"],
	.modal-contact-wrapper input[type="email"],
	.modal-contact-wrapper input[type="tel"],
	.modal-contact-wrapper textarea {
		padding: 9px 10px;
		font-size: 14px;
	}

	.modal-contact-wrapper textarea {
		min-height: 60px;
	}
}


/* ==============================================
   13. RESPONSIVE
   ============================================== */

/* Tablette large */
@media (max-width: 1279px) {

	.FicheGallery-main,
	.FicheGallery-main img {
		max-height: 420px;
	}

	.chapeau-overlay {
		max-height: 210px;
	}
	.chapeau-overlay.is-expanded {
		max-height: 315px;
	}

	.FicheGallery-mosaic {
		height: 240px;
	}

	.singleIList li {
		width: 100%;
	}

	.singleContent {
		gap: 32px;
	}

	.singleAside {
		flex-basis: 320px;
	}

	/* Forcer le sticky (le thème parent le désactive à 1279px) */
	.posSticky {
		position: sticky;
		top: 148px;
		transition: top 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	}

	body:has(.header-hidden) .posSticky {
		top: 24px;
	}

}

/* Tablette */
@media (max-width: 1023px) {
	.FicheGallery {
		padding: 0 16px;
	}

	.FicheGallery-main,
	.FicheGallery-main img {
		max-height: 360px;
	}

	.FicheHeader {
		padding: 20px 16px 0;
	}

	.singleContent {
		flex-wrap: wrap;
		padding: 0 16px;
	}

	.singleMain,
	.singleAside {
		width: 100%;
		flex-basis: auto;
	}

	/* Sidebar en dessous : désactiver sticky */
	.posSticky {
		position: relative;
		top: auto;
	}

	.FicheGallery-mosaic {
		height: 200px;
	}

	.chapeau-overlay {
		max-height: 180px;
		padding: 14px 18px 12px;
	}
	.chapeau-overlay.is-expanded {
		max-height: 270px;
		padding: 16px 20px;
	}
}

/* Mobile */
@media (max-width: 767px) {
	.FicheGallery {
		padding: 0 16px;
	}

	.FicheGallery-main {
		border-radius: 3px;
		max-height: 280px;
	}

	.FicheGallery-main img {
		max-height: 280px;
		height: 280px;
	}

	/* Mosaïque mobile : masquer entièrement */
	.FicheGallery-mosaic {
		display: none;
	}

	/* Bouton galerie sur l'image principale */
	.FicheGallery-more {
		display: inline-flex;
		top: 12px;
		right: 12px;
		padding: 8px 16px;
		font-size: 13px;
	}

	/* Chapeau overlay mobile */
	.chapeau-overlay {
		right: 30%;
		max-height: 140px;
		padding: 3px;
	}
	.chapeau-overlay-text {
		font-size: 1.3rem;
	}
	.chapeau-overlay-toggle {
		font-size: 1.1rem;
	}
	.chapeau-overlay.is-expanded {
		max-height: 210px;
		padding: 3px;
	}

	/* Header mobile */
	.mainBandeau.mainBandeauSingle {
		height: auto;
		margin-bottom: 16px;
		min-height: auto;
		overflow: visible;
		padding-bottom: 0;
	}

	.FicheHeader {
		padding: 16px 16px 0;
	}

	.FicheHeader-title {
		font-size: 2.4rem;
	}

	.FicheHeader-breadcrumbs {
		font-size: 1.2rem;
	}

	.FicheHeader-category {
		font-size: 1.3rem;
	}

	/* Layout mobile : aside en premier, main ensuite */
	.singleContent {
		gap: 16px;
		padding: 0 16px;
		flex-direction: column;
		padding-bottom: 48px;
	}

	.singleAside {
		order: -1;
	}

	/* Cacher la carte dans l'aside sur mobile */
	.singleMap {
		display: none;
	}

	/* Info blocks mobile */
	.singleTab {
		flex-wrap: wrap;
	}

	.singleInfo h2 {
		font-size: 1.8rem;
	}

	.singleInfo>li {
		padding: 16px 0;
	}

	/* Tabs mobile */
	.singleTab {
		margin: 16px 0;
	}

	.singleTabOnglets {
		overflow-x: auto;
		flex-wrap: nowrap;
		-webkit-overflow-scrolling: touch;
	}

	.singleTabOnglets li {
		white-space: nowrap;
		padding: 12px 16px;
		font-size: 1.3rem;
	}

	.singleTabTarget li,
	.singleTabOuverture p {
		padding: 12px 16px;
	}

	/* Sidebar mobile : garder l'ombre flottante */
	.singleCoord {
		box-shadow:
			0 0 0 1px rgba(0, 0, 0, 0.03),
			0 2px 6px rgba(0, 0, 0, 0.06),
			0 8px 24px rgba(0, 0, 0, 0.08);
	}

	/* Téléphone mobile : numéro + bouton sur une ligne */
	/* Le thème parent force flex-direction: column à 480px → on contrecarre */
	.phone-item {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: center;
	}

	.phone-masked {
		font-size: 1.3rem;
	}

	.phone-reveal-btn {
		font-size: 1.2rem;
		flex-shrink: 0;
		margin-top: 0;
	}

	.phone-full {
		font-size: 1.4rem;
	}

	/* Boutons mobile */
	.buttonPrimary,
	.wp-block-button__link,
	.buttonSecondary,
	.singleInfo,
	.singleTab {
		margin: 12px 0;
	}

	/* Share icons color on mobile */
	.mainBandeau .shareRS svg * {
		fill: #3a9c92;
	}

	/* Itinéraire mobile */
	.itineraireInfos {
		flex-wrap: wrap;
	}

	.itineraireInfos>div {
		flex-basis: 50%;
		border-bottom: 1px solid #e5e5e5;
	}

	.itineraireInfos>div:nth-child(even) {
		border-right: none;
	}

	.itineraireMap>div {
		height: 300px;
	}
}

/* Small mobile */
@media (max-width: 479px) {

	.FicheGallery-main,
	.FicheGallery-main img {
		max-height: 220px;
		height: 220px;
	}

	.FicheHeader-title {
		font-size: 2rem;
	}

	.FicheGallery-more {
		top: 10px;
		right: 10px;
		padding: 6px 12px;
		font-size: 12px;
	}

	.chapeau-overlay {
		right: 20%;
		max-height: 110px;
		padding: 3px;
	}
	.chapeau-overlay-text {
		font-size: 1.2rem;
	}
	.chapeau-overlay-toggle {
		font-size: 1rem;
	}
	.chapeau-overlay.is-expanded {
		max-height: 165px;
		padding: 3px;
	}
}