@font-face {
	font-family: "Alex Brush";
	src: url("../polices/alexbrush-regular-webfont.woff2") format("woff2"),
		 url("../polices/alexbrush-regular-webfont.woff") format("woff"),
		 url("../polices/alexbrush-regular-webfont.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* Général */
html, body {
	width: 100%;
	min-height: 100%;
	background-color: #f7f4ef;
	overflow-x: hidden;
	padding: 0;
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	color: #2f2924;
}

* {
	box-sizing: border-box;
}

img {
	max-width: 100%;
	display: block;
}

#arceau {
	width: 100%;
	display: flex;
	flex-direction: column;
}

.site-header {
	width: 100%;
	position: relative;
}

#entete {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 88px;
	padding: 14px 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #b8ab9a;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
	z-index: 1000;
}

.logo-link {
	display: flex;
	align-items: center;
	text-decoration: none;
	flex-shrink: 0;
}

.logo-site {
	height: 58px;
	width: auto;
	object-fit: contain;
}

.site-title-link {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	max-width: calc(100% - 300px);
	padding: 0 16px;
	text-decoration: none;
	font-family: "Alex Brush", cursive;
	font-size: clamp(1.9rem, 2.3vw, 2.9rem);
	line-height: 1;
	letter-spacing: 0.04em;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #f7da72;
	background-image:
		linear-gradient(115deg,
			#7a5400 0%,
			#c9971a 12%,
			#fff2b2 22%,
			#d9ab2e 34%,
			#8a5e08 45%,
			#f8e38a 55%,
			#c69017 66%,
			#fff7c8 74%,
			#b37a0d 86%,
			#f0cf67 100%);
	background-size: 220% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.45))
			drop-shadow(0 2px 10px rgba(74, 51, 7, 0.35));
	animation: titleGoldFlow 6s linear infinite, titleGlow 2.8s ease-in-out infinite;
}

.site-title-link::after {
	display: none;
}

.site-title-link:hover {
	filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.55))
			drop-shadow(0 3px 14px rgba(74, 51, 7, 0.45));
}

@keyframes titleGoldFlow {
	0% {
		background-position: 0% 50%;
	}
	100% {
		background-position: 220% 50%;
	}
}


@keyframes titleGlow {
	0%,
	100% {
		opacity: 0.96;
	}
	50% {
		opacity: 1;
	}
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}



.airbnb-header-link {
	position: relative;
	width: 52px;
	height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	border: 1px solid rgba(122, 84, 0, 0.34);
	background: linear-gradient(180deg, rgba(255, 248, 231, 0.94) 0%, rgba(239, 225, 201, 0.92) 100%);
	box-shadow:
		0 2px 6px rgba(255, 255, 255, 0.45) inset,
		0 -3px 6px rgba(122, 84, 0, 0.08) inset,
		0 10px 22px rgba(74, 51, 7, 0.16);
	transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
	text-decoration: none;
	flex-shrink: 0;
	overflow: hidden;
}

.airbnb-header-link::before {
	content: "";
	position: absolute;
	top: -18%;
	left: -70%;
	width: 44%;
	height: 136%;
	border-radius: 40%;
	background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.18) 35%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.18) 65%, rgba(255,255,255,0) 100%);
	transform: skewX(-22deg);
	opacity: 0.9;
	pointer-events: none;
	animation: airbnbGoldShine 5.8s ease-in-out infinite;
}

.airbnb-header-link:hover,
.airbnb-header-link:focus-visible {
	transform: translateY(-1px) scale(1.04);
	border-color: rgba(201, 151, 26, 0.65);
	box-shadow:
		0 2px 7px rgba(255, 255, 255, 0.55) inset,
		0 -3px 6px rgba(122, 84, 0, 0.1) inset,
		0 14px 28px rgba(74, 51, 7, 0.22),
		0 0 0 1px rgba(248, 227, 138, 0.32),
		0 0 22px rgba(212, 175, 55, 0.28);
}

.airbnb-header-link:hover::before,
.airbnb-header-link:focus-visible::before {
	animation-duration: 1.4s;
	opacity: 1;
}

.airbnb-header-icon {
	width: 30px;
	height: 30px;
	object-fit: contain;
	display: block;
	filter: drop-shadow(0 0 6px rgba(212,175,55,0.35));
}

@keyframes airbnbGoldShine {
	0% {
		left: -72%;
		opacity: 0;
	}
	8% {
		opacity: 0.95;
	}
	26% {
		left: 128%;
		opacity: 0;
	}
	100% {
		left: 128%;
		opacity: 0;
	}
}


.language-switcher {
	position: relative;
	padding-bottom: 12px;
	margin-bottom: -12px;
}

.language-current,
.language-option {
	border: none;
	cursor: pointer;
	font: inherit;
	color: #3b2b16;
}

.language-current {
	position: relative;
	min-width: 98px;
	height: 52px;
	padding: 0 18px 0 14px;
	border-radius: 999px;
	border: 1px solid rgba(122, 84, 0, 0.34);
	background:
		linear-gradient(180deg, rgba(255, 248, 231, 0.94) 0%, rgba(239, 225, 201, 0.92) 100%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	box-shadow:
		0 2px 6px rgba(255, 255, 255, 0.45) inset,
		0 -3px 6px rgba(122, 84, 0, 0.08) inset,
		0 10px 22px rgba(74, 51, 7, 0.16);
	transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.language-current::after {
	content: "";
	width: 8px;
	height: 8px;
	margin-left: 2px;
	border-right: 2px solid rgba(122, 84, 0, 0.85);
	border-bottom: 2px solid rgba(122, 84, 0, 0.85);
	transform: rotate(45deg) translateY(-1px);
	transition: transform 0.24s ease;
}

.language-switcher:hover .language-current,
.language-switcher.open .language-current {
	transform: translateY(-1px);
	border-color: rgba(201, 151, 26, 0.65);
	box-shadow:
		0 2px 7px rgba(255, 255, 255, 0.55) inset,
		0 -3px 6px rgba(122, 84, 0, 0.1) inset,
		0 14px 28px rgba(74, 51, 7, 0.22),
		0 0 0 1px rgba(248, 227, 138, 0.32);
}

.language-switcher:hover .language-current::before,
.language-switcher.open .language-current::before {
	opacity: 1;
}

.language-switcher:hover .language-current::after,
.language-switcher.open .language-current::after {
	transform: rotate(225deg) translateY(-1px);
}

.language-current::before {
	content: "";
	position: absolute;
	inset: 1px;
	border-radius: inherit;
	background: linear-gradient(120deg, rgba(255,255,255,0) 18%, rgba(255,255,255,0.55) 36%, rgba(255,255,255,0) 54%);
	background-size: 220% 100%;
	background-position: 130% 50%;
	opacity: 0.72;
	pointer-events: none;
	animation: languageGoldShine 5.5s linear infinite;
}

.language-current img,
.language-option img {
	position: relative;
	z-index: 1;
	width: 24px;
	height: 18px;
	object-fit: cover;
	border-radius: 3px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

#language-current-code,
.language-option span {
	position: relative;
	z-index: 1;
}

.language-options {
	position: absolute;
	top: calc(100% + 4px);
	right: 0;
	min-width: 148px;
	padding: 10px;
	border-radius: 20px;
	border: 1px solid rgba(168, 125, 18, 0.25);
	background:
		linear-gradient(180deg, rgba(255, 251, 244, 0.98) 0%, rgba(245, 236, 221, 0.97) 100%);
	backdrop-filter: blur(10px);
	box-shadow:
		0 18px 36px rgba(60, 41, 7, 0.2),
		0 2px 5px rgba(255, 255, 255, 0.5) inset;
	display: none;
	flex-direction: column;
	gap: 6px;
	overflow: hidden;
}

.language-options::before {
	content: "";
	position: absolute;
	left: 10px;
	right: 10px;
	top: 0;
	height: 1px;
	background: linear-gradient(90deg, rgba(255,255,255,0), rgba(248, 227, 138, 0.9), rgba(255,255,255,0));
}

.language-switcher:hover .language-options,
.language-switcher.open .language-options {
	display: flex;
	animation: languageMenuFade 0.2s ease;
}

.language-option {
	width: 100%;
	padding: 11px 12px;
	border-radius: 14px;
	background-color: transparent;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.language-option:hover {
	background: linear-gradient(180deg, rgba(247, 229, 181, 0.85) 0%, rgba(232, 214, 180, 0.9) 100%);
	transform: translateX(-2px);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset;
}

@keyframes languageGoldShine {
	0% {
		background-position: 130% 50%;
	}
	100% {
		background-position: -120% 50%;
	}
}

@keyframes languageMenuFade {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.burger-nav {
	position: relative;
	padding-bottom: 12px;
	margin-bottom: -12px;
}

.burger-button {
	position: relative;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 1px solid rgba(122, 84, 0, 0.34);
	border-radius: 18px;
	background:
		linear-gradient(180deg, rgba(255, 248, 231, 0.94) 0%, rgba(239, 225, 201, 0.92) 100%);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 6px;
	box-shadow:
		0 2px 6px rgba(255, 255, 255, 0.45) inset,
		0 -3px 6px rgba(122, 84, 0, 0.08) inset,
		0 10px 22px rgba(74, 51, 7, 0.16);
	transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.burger-button::before {
	content: "";
	position: absolute;
	inset: 1px;
	border-radius: inherit;
	background: linear-gradient(120deg, rgba(255,255,255,0) 18%, rgba(255,255,255,0.55) 36%, rgba(255,255,255,0) 54%);
	background-size: 220% 100%;
	background-position: 130% 50%;
	opacity: 0.72;
	pointer-events: none;
	animation: languageGoldShine 5.5s linear infinite;
}

.burger-nav:hover .burger-button,
.burger-nav.open .burger-button {
	transform: translateY(-1px);
	border-color: rgba(201, 151, 26, 0.65);
	box-shadow:
		0 2px 7px rgba(255, 255, 255, 0.55) inset,
		0 -3px 6px rgba(122, 84, 0, 0.1) inset,
		0 14px 28px rgba(74, 51, 7, 0.22),
		0 0 0 1px rgba(248, 227, 138, 0.32);
}

.burger-button span {
	position: relative;
	z-index: 1;
	width: 24px;
	height: 3px;
	background: linear-gradient(90deg, #8a5e08 0%, #c9971a 48%, #6e4b09 100%);
	border-radius: 3px;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger-nav:hover .burger-button span:nth-child(1),
.burger-nav.open .burger-button span:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
}

.burger-nav:hover .burger-button span:nth-child(2),
.burger-nav.open .burger-button span:nth-child(2) {
	opacity: 0;
}

.burger-nav:hover .burger-button span:nth-child(3),
.burger-nav.open .burger-button span:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
}

.burger-menu {
	position: absolute;
	top: calc(100% + 4px);
	right: 0;
	min-width: 220px;
	padding: 10px;
	border-radius: 20px;
	border: 1px solid rgba(168, 125, 18, 0.25);
	background:
		linear-gradient(180deg, rgba(255, 251, 244, 0.98) 0%, rgba(245, 236, 221, 0.97) 100%);
	backdrop-filter: blur(10px);
	box-shadow:
		0 18px 36px rgba(60, 41, 7, 0.2),
		0 2px 5px rgba(255, 255, 255, 0.5) inset;
	display: none;
	flex-direction: column;
	gap: 6px;
	overflow: hidden;
}

.burger-menu::before {
	content: "";
	position: absolute;
	left: 10px;
	right: 10px;
	top: 0;
	height: 1px;
	background: linear-gradient(90deg, rgba(255,255,255,0), rgba(248, 227, 138, 0.9), rgba(255,255,255,0));
}

.burger-nav:hover .burger-menu,
.burger-nav.open .burger-menu {
	display: flex;
	animation: languageMenuFade 0.2s ease;
}

.burger-menu a {
	position: relative;
	z-index: 1;
	text-decoration: none;
	color: #3b2b16;
	font-weight: 700;
	padding: 12px 14px;
	border-radius: 14px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.burger-menu a:hover,
.burger-menu a:focus-visible {
	background: linear-gradient(180deg, rgba(247, 229, 181, 0.85) 0%, rgba(232, 214, 180, 0.9) 100%);
	transform: translateX(-2px);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset;
	outline: none;
}

#diaporama {
	width: 100%;
	height: min(800px, calc(100vh - 88px));
	min-height: 520px;
	margin-top: 88px;
	padding: 24px;
	position: relative;
	overflow: hidden;
	background-color: #d7d0c7;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-logo-overlay {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	perspective: 1400px;
	transform-style: preserve-3d;
	transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-logo-mark {
	position: relative;
	width: min(48vw, 500px);
	aspect-ratio: 728 / 716;
	transform-origin: center center;
	transform-style: preserve-3d;
	will-change: transform, opacity, filter;
	filter: drop-shadow(0 2px 0 rgba(255, 255, 255, 0.28))
			drop-shadow(0 10px 28px rgba(74, 51, 7, 0.32));
	animation:
		heroLogoReveal 1.7s cubic-bezier(0.22, 1, 0.36, 1) 0s 1 both,
		heroLogoBreath 2.8s ease-in-out 1.7s infinite;
}

.hero-logo-fallback {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	opacity: 0.95;
}

@supports ((-webkit-mask-image: url("")) or (mask-image: url(""))) {
	.hero-logo-fallback {
		opacity: 0;
	}

	.hero-logo-mark::before,
	.hero-logo-mark::after {
		content: "";
		position: absolute;
		inset: 0;
		-webkit-mask-image: url("../icones/logo2-mask.png");
		mask-image: url("../icones/logo2-mask.png");
		-webkit-mask-repeat: no-repeat;
		mask-repeat: no-repeat;
		-webkit-mask-position: center;
		mask-position: center;
		-webkit-mask-size: contain;
		mask-size: contain;
	}

	.hero-logo-mark::before {
		background-image:
			linear-gradient(115deg,
				#7a5400 0%,
				#c9971a 12%,
				#fff2b2 22%,
				#d9ab2e 34%,
				#8a5e08 45%,
				#f8e38a 55%,
				#c69017 66%,
				#fff7c8 74%,
				#b37a0d 86%,
				#f0cf67 100%);
		background-size: 220% 100%;
		background-position: 0 50%;
		animation: titleGoldFlow 6s linear infinite;
	}

	.hero-logo-mark::after {
		display: none;
	}
}

@media (hover: hover) and (pointer: fine) {
	#diaporama:hover .hero-logo-overlay,
	#diaporama:focus-within .hero-logo-overlay {
		opacity: 0;
		transform: scale(0.96);
	}
}



@keyframes heroLogoReveal {
	0% {
		opacity: 0;
		transform: rotateY(-140deg) rotateX(10deg) scale(0.82) translateY(10px);
		filter: blur(1.5px) drop-shadow(0 0 0 rgba(255, 255, 255, 0))
				drop-shadow(0 0 0 rgba(74, 51, 7, 0));
	}
	55% {
		opacity: 1;
		transform: rotateY(18deg) rotateX(-2deg) scale(1.03) translateY(-3px);
		filter: drop-shadow(0 2px 0 rgba(255, 255, 255, 0.28))
				drop-shadow(0 18px 34px rgba(74, 51, 7, 0.34));
	}
	78% {
		transform: rotateY(-8deg) rotateX(1deg) scale(0.992) translateY(1px);
	}
	100% {
		opacity: 0.97;
		transform: rotateY(0deg) rotateX(0deg) scale(1) translateY(0);
		filter: drop-shadow(0 2px 0 rgba(255, 255, 255, 0.28))
				drop-shadow(0 10px 28px rgba(74, 51, 7, 0.32));
	}
}

@keyframes heroLogoBreath {
	0%,
	100% {
		opacity: 0.97;
		transform: translateY(0) scale(1);
	}
	50% {
		opacity: 1;
		transform: translateY(-2px) scale(1.008);
	}
}


.diaporama-slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100% 100%;
	opacity: 0;
	transition: opacity 0.6s ease;
	pointer-events: none;
}

.diaporama-slide.is-active {
	opacity: 1;
}

.diaporama-empty {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	text-align: center;
	font-weight: 600;
}

#presentation,
.page-content {
	width: min(1100px, calc(100% - 32px));
	margin: 118px auto 64px auto;
}

#presentation {
	position: relative;
	background-color: #ffffff;
	padding: 36px;
	border-radius: 24px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
	font-size: 1.1rem;
	line-height: 1.8;
	overflow: visible;
}

.presentation-portrait {
	position: absolute;
	top: -39px;
	left: -39px;
	width: 94px;
	height: 94px;
	border-radius: 50%;
	object-fit: cover;
	object-position: center;
	border: 4px solid rgba(212, 175, 55, 0.95);
	box-shadow: 0 0 12px rgba(212, 175, 55, 0.28), 0 10px 26px rgba(0, 0, 0, 0.18);
	background: transparent;
	animation: portraitFadeZoom 1.2s ease both;
	z-index: 2;
}

@keyframes portraitFadeZoom {
	0% {
		opacity: 0;
		transform: scale(0.82);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

.page-simple {
	background: linear-gradient(180deg, #f7f4ef 0%, #efe9e1 100%);
}

.page-simple main {
	position: relative;
	padding-top: 118px;
}

.page-simple main::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 118px;
	background: linear-gradient(180deg, rgba(247, 244, 239, 0.96) 0%, rgba(247, 244, 239, 0.75) 58%, rgba(247, 244, 239, 0) 100%);
	pointer-events: none;
}

.page-content {
	padding-top: 106px;
}

.access-section h1 {
	font-size: 2.2rem;
	margin: 0 0 12px 0;
}

.access-section > p {
	font-size: 1.05rem;
	margin-bottom: 28px;
}

.access-card {
	display: grid;
	grid-template-columns: minmax(260px, 340px) minmax(320px, 1fr);
	gap: 24px;
	align-items: stretch;
}

.access-info,
.map-wrapper {
	background-color: #ffffff;
	border-radius: 24px;
	padding: 28px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.access-info h2 {
	margin-top: 0;
}

.map-wrapper {
	padding: 12px;
	min-height: 460px;
}

.map-wrapper iframe {
	width: 100%;
	height: 100%;
	min-height: 436px;
	border: 0;
	border-radius: 18px;
}

button {
	cursor: pointer;
}

@media screen and (max-width: 768px) {
	#entete {
		padding: 12px 16px;
		height: 80px;
	}

	.logo-site {
		height: 48px;
	}

	.header-actions {
		gap: 10px;
	}

	.language-current {
		min-width: 84px;
		height: 48px;
		padding: 0 12px;
	}

	.language-options {
		right: 0;
		left: auto;
	}

	.burger-menu {
		right: 0;
		width: min(320px, calc(100vw - 32px));
	}

	#diaporama {
		margin-top: 80px;
		height: 60vh;
		min-height: 360px;
	}

	.hero-logo-mark {
		width: min(64vw, 420px);
	}

	#presentation,
	.page-content {
		width: calc(100% - 24px);
		margin: 28px auto 40px auto;
	}

	#presentation,
	.access-info,
	.map-wrapper {
		padding: 22px;
	}

	.presentation-portrait {
		width: 104px;
		height: 104px;
		top: -42px;
		left: -26px;
	}

	.page-simple main {
		padding-top: 96px;
	}

	.page-simple main::before {
		height: 96px;
	}

	.page-content {
		padding-top: 92px;
	}

	.access-card {
		grid-template-columns: 1fr;
	}

	.map-wrapper {
		min-height: 320px;
	}
}


@media (max-width: 900px) {
	#entete {
		padding: 14px 18px;
	}

	.site-title-link {
		max-width: calc(100% - 240px);
		font-size: clamp(1.5rem, 4.2vw, 2.2rem);
	}
}

@media (max-width: 640px) {
	#entete {
		height: auto;
		min-height: 88px;
		padding: 12px 14px;
	}

	.logo-site {
		height: 48px;
	}

	.site-title-link {
		max-width: calc(100% - 190px);
		font-size: clamp(1.15rem, 4.8vw, 1.75rem);
	}

	.hero-logo-mark {
		width: min(78vw, 340px);
	}

	.language-current {
		min-width: 78px;
		height: 46px;
		padding: 0 10px;
		gap: 8px;
	}

	.burger-button {
		width: 46px;
		height: 46px;
	}

	.burger-menu {
		right: 0;
		width: min(300px, calc(100vw - 28px));
	}
}


@media (prefers-reduced-motion: reduce) {
	.site-title-link,
	.site-title-link::after,
	.hero-logo-mark,
	.hero-logo-mark::before,
	.hero-logo-mark::after {
			display: none;
	}
}
