/* ==========================================================================
   Motorsport Touring Club
   Feuille de style principale
   ========================================================================== */

:root {
	--rouge: #bb3a34;
	--rouge-clair: #d9524b;
	--creme: #f4efd1;
	--noir: #000000;
	--noir-2: #101010;
	--noir-3: #1a1a1a;
	--gris: #808080;
	--gris-clair: #c9c6bd;
	--bleu: #2e6493;
	--max: 1200px;
	--titre: "Bebas Neue", Impact, Haettenschweiler, sans-serif;
	--texte: "Lexend", "Open Sans", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	overflow-x: hidden;
	background: var(--noir);
	color: var(--creme);
	font-family: var(--texte);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--rouge-clair);
	text-decoration: none;
	transition: color .2s ease;
}

a:hover {
	color: var(--creme);
}

h1, h2, h3, h4, h5 {
	font-family: var(--titre);
	font-weight: 400;
	letter-spacing: .02em;
	line-height: 1.05;
	margin: 0 0 .4em;
	text-transform: uppercase;
}

p {
	margin: 0 0 1.1em;
}

.container {
	width: 100%;
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 22px;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- Écran de chargement ---------- */

.preloader {
	position: fixed;
	inset: 0;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--noir);
	transition: opacity .3s ease, visibility .3s ease;
}

.preloader img {
	width: clamp(200px, 34vw, 400px);
	height: auto;
	animation: preloader-pulse 1s ease-in-out infinite;
}

.preloader.termine {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

@keyframes preloader-pulse {
	0%, 100% {
		opacity: .45;
		transform: scale(.97);
	}

	50% {
		opacity: 1;
		transform: scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.preloader img {
		animation: none;
	}
}

/* ---------- En-tête ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(0, 0, 0, .92);
	border-bottom: 1px solid rgba(244, 239, 209, .12);
	backdrop-filter: blur(6px);
}

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 98px;
}

.logo img {
	height: 78px;
	width: auto;
}

.nav-toggle {
	display: none;
	background: none;
	border: 1px solid rgba(244, 239, 209, .35);
	border-radius: 4px;
	padding: 9px 11px;
	cursor: pointer;
}

.nav-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--creme);
	margin: 4px 0;
	transition: transform .3s cubic-bezier(.2, .7, .3, 1), opacity .2s ease;
}

/* Menu ouvert : les trois barres se referment en croix */
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* Ouverture du menu déroulant (voir la section Responsive) */
@keyframes nav-ouvre {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes nav-entree {
	from {
		opacity: 0;
		transform: translateX(-14px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nav-toggle span,
	.main-nav.open,
	.main-nav.open li {
		transition: none;
		animation: none;
	}
}

.main-nav ul {
	display: flex;
	align-items: center;
	gap: 26px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-nav a {
	color: var(--creme);
	font-size: 17px;
	font-weight: 500;
	letter-spacing: .01em;
	padding: 6px 0;
	border-bottom: 2px solid transparent;
	display: block;
}

.main-nav a:hover,
.main-nav li.current > a {
	color: var(--rouge-clair);
	border-bottom-color: var(--rouge);
}

.main-nav .nav-cta a {
	background: var(--rouge);
	color: #fff;
	border: 0;
	border-radius: 3px;
	padding: 11px 20px;
	text-transform: uppercase;
	font-size: 16px;
	letter-spacing: .04em;
}

.main-nav .nav-cta a:hover {
	background: var(--rouge-clair);
	color: #fff;
}

/* ---------- Bannières ---------- */

.hero {
	position: relative;
	min-height: 78vh;
	display: flex;
	align-items: center;
	background: url("../images/fond-header-768x397.jpg") center / cover no-repeat, var(--noir);
	text-align: center;
}

/* Accueil : la vidéo occupe toute la fenêtre, le menu passe par-dessus */
.page-accueil .site-header {
	position: fixed;
	left: 0;
	right: 0;
	background: transparent;
	border-bottom-color: transparent;
	backdrop-filter: none;
	transition: background .3s ease, border-color .3s ease;
}

.page-accueil .site-header.defile {
	background: rgba(0, 0, 0, .92);
	border-bottom-color: rgba(244, 239, 209, .12);
	backdrop-filter: blur(6px);
}

.page-accueil .hero {
	min-height: 100vh;
	min-height: 100svh;
}

.page-accueil .hero .container {
	padding-top: 130px;
}

.hero-video {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .86));
}

.hero .container {
	position: relative;
	z-index: 2;
	padding-top: 70px;
	padding-bottom: 70px;
}

.hero h1 {
	font-size: clamp(2.6rem, 7vw, 5.4rem);
	color: var(--creme);
	margin-bottom: .25em;
}

.hero h1 .accent {
	display: block;
	color: var(--rouge);
}

.hero .baseline {
	font-size: clamp(1rem, 2.2vw, 1.35rem);
	color: var(--gris-clair);
	max-width: 720px;
	margin: 0 auto 2em;
}

.page-banner {
	position: relative;
	overflow: hidden;
	background: url("../images/fond-header-768x397.jpg") center / cover no-repeat, var(--noir);
	padding: 84px 0 70px;
	text-align: center;
}

.page-banner::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(0, 0, 0, .78);
}

.page-banner .container {
	position: relative;
	z-index: 2;
}

.page-banner h1 {
	font-size: clamp(2.2rem, 5.5vw, 4rem);
	color: var(--creme);
	margin: 0;
}

.page-banner p {
	color: var(--gris-clair);
	margin: .6em auto 0;
	max-width: 700px;
}

/* ---------- Boutons ---------- */

.btn {
	display: inline-block;
	background: var(--rouge);
	color: #fff;
	font-family: var(--titre);
	font-size: 1.25rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 13px 34px;
	border: 2px solid var(--rouge);
	border-radius: 3px;
	cursor: pointer;
	transition: background .2s ease, color .2s ease;
}

.btn:hover {
	background: transparent;
	color: var(--creme);
	border-color: var(--creme);
}

.btn-ghost {
	background: transparent;
	color: var(--creme);
	border-color: var(--creme);
}

.btn-ghost:hover {
	background: var(--rouge);
	border-color: var(--rouge);
	color: #fff;
}

/* ---------- Sections ---------- */

.section {
	padding: 86px 0;
}

.section-alt {
	background: var(--noir-2);
}

.section-title {
	font-size: clamp(1.9rem, 4.5vw, 3rem);
	color: var(--creme);
	text-align: center;
	margin-bottom: .15em;
}

.section-subtitle {
	font-size: clamp(1.2rem, 2.6vw, 1.7rem);
	color: var(--rouge);
	text-align: center;
	margin-bottom: 1.4em;
}

.lead {
	font-size: 1.15rem;
	color: var(--creme);
}

.text-center {
	text-align: center;
}

.narrow {
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
}

/* ---------- Bloc intro avec visuel ---------- */

.intro-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 54px;
	align-items: center;
}

.intro-grid img {
	border-radius: 6px;
}

.intro-grid .txt p {
	color: var(--gris-clair);
}

/* ---------- Grille infos (Lieu / Dates / Public / Véhicules) ---------- */

.info-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 26px;
	margin-top: 54px;
}

.info-card {
	background: var(--noir-3);
	border: 1px solid rgba(244, 239, 209, .1);
	border-top: 3px solid var(--rouge);
	border-radius: 4px;
	padding: 30px 26px;
}

.info-card h5 {
	font-size: 1.6rem;
	color: var(--rouge);
	margin-bottom: .35em;
}

.info-card p {
	color: var(--gris-clair);
	font-size: .96rem;
	margin: 0;
}

/* ---------- Affiches activités ---------- */

.poster-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.poster {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 6px;
	background: var(--noir-3);
	border: 1px solid rgba(244, 239, 209, .12);
}

.poster img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	transition: transform .45s ease, opacity .3s ease;
}

.poster:hover img,
.poster.actif img {
	transform: scale(1.05);
	opacity: .82;
}

/* Entrée des affiches : l'état masqué n'est posé que si le script est actif */
.poster-grid.anime .poster {
	opacity: 0;
	transform: translateY(34px) scale(.97);
	transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1);
}

.poster-grid.anime .poster.visible {
	opacity: 1;
	transform: none;
}

/* Décalage : les affiches arrivent l'une après l'autre */
.poster-grid.anime .poster:nth-child(2) {
	transition-delay: .12s;
}

.poster-grid.anime .poster:nth-child(3) {
	transition-delay: .24s;
}

.poster-grid.anime .poster:nth-child(4) {
	transition-delay: .36s;
}

@media (prefers-reduced-motion: reduce) {
	.poster-grid.anime .poster {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ---------- Galerie destinations ---------- */

.destination-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 215px;
	grid-auto-flow: row dense;
	gap: 16px;
}

/* Formats de la mosaïque : motif de 7 vignettes pavant 4 colonnes sur 3 rangées */
.destination.grand {
	grid-column: span 2;
	grid-row: span 2;
}

.destination.haut {
	grid-row: span 2;
}

.destination.large {
	grid-column: span 2;
}

.destination.bandeau {
	grid-column: span 4;
}

.destination.grand .nom,
.destination.bandeau .nom {
	font-size: 2rem;
}

.destination {
	position: relative;
	display: block;
	height: 100%;
	border-radius: 6px;
	overflow: hidden;
	background: var(--noir-3);
	border: 1px solid rgba(244, 239, 209, .12);
}

.destination img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease;
}

.destination:hover img,
.destination.actif img {
	transform: scale(1.06);
}

.destination .nom {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 30px 16px 14px;
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .92));
	font-family: var(--titre);
	font-size: 1.5rem;
	letter-spacing: .04em;
	color: var(--creme);
	text-align: center;
}

/* ---------- Pages destination ---------- */

.carte-parcours {
	border-radius: 6px;
	margin: 0 auto;
}

.chiffres {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 20px;
	text-align: center;
}

.chiffre {
	background: var(--noir-3);
	border: 1px solid rgba(244, 239, 209, .1);
	border-top: 3px solid var(--rouge);
	border-radius: 4px;
	padding: 26px 16px;
}

.chiffre h5 {
	font-size: 1.15rem;
	color: var(--gris-clair);
	letter-spacing: .06em;
	margin-bottom: .3em;
}

.chiffre .valeur {
	display: block;
	font-family: var(--titre);
	font-size: clamp(2.2rem, 4vw, 3.2rem);
	line-height: 1;
	color: var(--rouge);
}

.tarifs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
	max-width: 760px;
	margin: 0 auto;
}

.tarif {
	background: var(--noir-3);
	border: 1px solid rgba(244, 239, 209, .12);
	border-radius: 6px;
	padding: 30px 24px;
	text-align: center;
}

.tarif h5 {
	font-size: 1.4rem;
	color: var(--gris-clair);
	margin-bottom: .3em;
}

.tarif strong {
	display: block;
	font-family: var(--titre);
	font-size: 2.4rem;
	font-weight: 400;
	color: var(--rouge);
}

.tarif-titre {
	font-size: 1.5rem;
	color: var(--creme);
	text-align: center;
	margin-bottom: 1em;
}

.liste-inclus {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 10px 30px;
}

.liste-inclus li {
	position: relative;
	padding-left: 24px;
	color: var(--gris-clair);
}

.liste-inclus li::before {
	content: "–";
	position: absolute;
	left: 0;
	color: var(--rouge);
	font-weight: 700;
}

.poi-grid {
	display: grid;
	/* 312px = les 310px de la photo + les 1px de bordure de chaque côté. */
	grid-template-columns: repeat(auto-fill, 312px);
	justify-content: center;
	gap: 22px;
}

.poi {
	position: relative;
	margin: 0;
	background: var(--noir-3);
	border: 1px solid rgba(244, 239, 209, .12);
	border-radius: 6px;
	overflow: hidden;
}

.poi img {
	width: 310px;
	height: 340px;
	object-fit: cover;
	transition: transform .45s ease;
}

.poi:hover img,
.poi.actif img {
	transform: scale(1.06);
}

.poi figcaption {
	padding: 14px 14px 16px;
	text-align: center;
}

.poi .lieu {
	display: block;
	font-size: .78rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--gris);
}

.poi .nom {
	display: block;
	font-family: var(--titre);
	font-size: 1.35rem;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: var(--creme);
}

.poi-lien {
	display: block;
	color: inherit;
	text-decoration: none;
}

.poi-cliquable {
	transition: border-color .3s ease;
}

.poi-cliquable:hover,
.poi-cliquable.actif,
.poi-lien:focus-visible {
	border-color: var(--rouge);
}

.poi .poi-site {
	display: inline-block;
	margin-top: 8px;
	font-size: .78rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--rouge);
}

.poi .poi-site::after {
	content: " ↗";
}

/* Sous 380px, une colonne de 312px déborderait : la carte reprend la largeur
   disponible, la hauteur de photo reste inchangée. */
@media (max-width: 380px) {
	.poi-grid {
		grid-template-columns: 1fr;
	}

	.poi img {
		width: 100%;
	}
}

.apps-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 22px;
	align-items: stretch;
}

.app {
	background: var(--noir-3);
	border: 1px solid rgba(244, 239, 209, .12);
	border-radius: 6px;
	padding: 20px;
	text-align: center;
}

.app img {
	width: 84px;
	height: 84px;
	object-fit: contain;
	margin: 0 auto 12px;
	border-radius: 8px;
	background: #fff;
	padding: 6px;
}

.app span {
	display: block;
	font-family: var(--titre);
	font-size: 1.15rem;
	letter-spacing: .04em;
	color: var(--creme);
}

/* ---------- Évènements ---------- */

.event-list {
	list-style: none;
	margin: 0 0 60px;
	padding: 0;
	display: grid;
	gap: 16px;
}

.event-list li {
	background: var(--noir-3);
	border-left: 4px solid var(--rouge);
	border-radius: 4px;
	padding: 22px 26px;
	font-size: 1.06rem;
	color: var(--creme);
	transition: border-color .3s ease;
}

/* Les évènements qui ont leur page : toute la ligne devient cliquable. */
.event-list li:has(a) {
	padding: 0;
}

.event-list a {
	display: block;
	padding: 22px 26px;
	color: inherit;
}

.event-list li:has(a):hover,
.event-list li.actif,
.event-list li:has(a:focus-visible) {
	border-left-color: var(--creme);
}

.event-list a::after {
	content: " →";
	color: var(--rouge-clair);
}

.demande-list {
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
	display: grid;
	gap: 22px;
}

.demande-list li {
	padding-left: 26px;
	position: relative;
	color: var(--gris-clair);
}

.demande-list li::before {
	content: "–";
	position: absolute;
	left: 0;
	color: var(--rouge);
	font-weight: 700;
}

.demande-list strong {
	color: var(--creme);
	display: block;
	font-family: var(--titre);
	font-size: 1.25rem;
	letter-spacing: .03em;
	text-transform: uppercase;
}

/* ---------- Docs techniques ---------- */

.docs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 26px;
}

.doc-card {
	display: block;
	background: var(--noir-3);
	border: 1px solid rgba(244, 239, 209, .12);
	border-radius: 6px;
	overflow: hidden;
	text-align: center;
}

.doc-card img {
	width: 100%;
	height: 175px;
	object-fit: cover;
}

.doc-card span {
	display: block;
	padding: 16px 12px 0;
	font-family: var(--titre);
	font-size: 1.3rem;
	letter-spacing: .04em;
	color: var(--creme);
}

/* Nombre de documents de la monture, sur la carte de l'index */
.doc-card small {
	display: block;
	padding: 2px 12px 16px;
	font-size: .78rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--gris);
}

.doc-card:hover,
.doc-card.actif {
	border-color: var(--rouge);
}

.doc-card:hover span,
.doc-card.actif span {
	color: var(--rouge-clair);
}

/* ---------- Bistronomie ---------- */

.menu-bloc {
	margin-bottom: 70px;
}

.menu-bloc h3 {
	display: block;
	width: 100%;
	font-size: 2rem;
	color: var(--rouge);
	text-align: center;
	margin: 0 auto 1em;
}

/* Bloc famille : galerie accordeon sur une moitie, liste des noms sur l'autre */
.menu-duo {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	background: var(--noir-3);
}

.menu-duo.inverse .gallery-container {
	order: 2;
}

.menu-duo.inverse .plat-liste {
	order: 1;
}

.gallery-container {
	display: flex;
	width: 100%;
	height: 500px;
	overflow: hidden;
}

.gallery-column {
	flex: 1;
	position: relative;
	overflow: hidden;
	transition: flex .4s ease-in-out;
	cursor: pointer;
	margin-right: 20px;
}

.gallery-column:last-child {
	margin-right: 0;
}

.gallery-column img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease-in-out;
	display: block;
}

.gallery-container:hover .gallery-column {
	flex: 1;
}

/*
 * Colonne ouverte. Le survol suffit sur PC ; sur mobile c'est le script
 * (include/footer.php) qui pose .ouvert au premier appui, si bien que
 * l'accordéon s'ouvre de la même façon au doigt et à la souris.
 */
.gallery-column:hover,
.gallery-column.ouvert {
	flex: 3 !important;
	z-index: 2;
}

.gallery-column:hover img,
.gallery-column.ouvert img {
	transform: scale(1.05);
}

/*
 * Le nom d'un plat commande sa photo dans l'accordéon. Le script pose .ouvert
 * sur la colonne et .actif sur le nom : le comportement est donc le même au
 * survol sur PC et à l'appui sur mobile. Remplace l'ancienne écriture en
 * :has() enfermée dans un @media (hover: hover), qui laissait le mobile sans
 * aucune liaison entre la liste et les photos.
 */
.plat-liste li[data-photo] {
	cursor: pointer;
	transition: color .3s ease;
}

.plat-liste li[data-photo]:hover,
.plat-liste li[data-photo].actif {
	color: var(--rouge-clair);
}

/* Plat seul : image sur toute la largeur de la page */
.menu-pleine {
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	overflow: hidden;
}

.menu-pleine img {
	width: 100%;
	height: 460px;
	object-fit: cover;
	transition: transform .5s ease;
}

.menu-pleine:hover img,
.menu-pleine.actif img {
	transform: scale(1.03);
}

.legende {
	margin: 18px 0 0;
	font-family: var(--titre);
	font-size: clamp(1.3rem, 2.4vw, 2rem);
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--creme);
	text-align: center;
}

/* Liste des noms de la famille */
.plat-liste {
	display: flex;
	flex-direction: column;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 40px 7%;
}

.plat-liste li {
	font-family: var(--titre);
	font-size: clamp(1.1rem, 1.8vw, 1.6rem);
	letter-spacing: .03em;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--creme);
	padding: 14px 0;
	border-bottom: 1px solid rgba(244, 239, 209, .12);
}

.plat-liste li:last-child {
	border-bottom: 0;
}

.plat-liste li.sans-photo {
	color: var(--gris-clair);
}

/* ---------- Formulaires ---------- */

.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 54px;
	align-items: start;
}

.form-card {
	background: var(--noir-3);
	border: 1px solid rgba(244, 239, 209, .12);
	border-radius: 6px;
	padding: 34px;
}

.form-card h2 {
	font-size: 1.9rem;
	color: var(--rouge);
}

.champ {
	margin-bottom: 18px;
}

.champ label {
	display: block;
	font-size: .88rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--gris-clair);
	margin-bottom: 6px;
}

.champ .requis {
	color: var(--rouge);
}

.champ input,
.champ select,
.champ textarea {
	width: 100%;
	background: #0a0a0a;
	border: 1px solid rgba(244, 239, 209, .22);
	border-radius: 3px;
	color: var(--creme);
	font-family: var(--texte);
	font-size: 1rem;
	padding: 12px 14px;
}

.champ textarea {
	min-height: 140px;
	resize: vertical;
}

.champ input:focus,
.champ select:focus,
.champ textarea:focus {
	outline: none;
	border-color: var(--rouge);
}

.champ-duo {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.form-note {
	font-size: .85rem;
	color: var(--gris);
	margin-top: 22px;
}

/* ---------- Contenu légal ---------- */

.legal {
	max-width: 900px;
	margin: 0 auto;
	color: var(--gris-clair);
	font-size: .97rem;
}

.legal h2 {
	font-size: 1.7rem;
	color: var(--rouge);
	margin-top: 2em;
}

.legal h3 {
	font-size: 1.3rem;
	color: var(--creme);
	margin-top: 1.6em;
}

.legal ul {
	padding-left: 22px;
}

.legal li {
	margin-bottom: .5em;
}

.legal a {
	word-break: break-word;
}

/* ---------- Pied de page ---------- */

.site-footer {
	background: var(--noir-2);
	border-top: 1px solid rgba(244, 239, 209, .12);
	padding: 62px 0 26px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: 44px;
	margin-bottom: 46px;
}

.site-footer h4 {
	font-size: 1.35rem;
	color: var(--rouge);
	margin-bottom: .7em;
}

.site-footer img.footer-logo {
	height: 78px;
	width: auto;
	margin-bottom: 16px;
}

.site-footer p,
.site-footer li {
	color: var(--gris-clair);
	font-size: .95rem;
}

.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer ul li {
	margin-bottom: 9px;
}

.site-footer ul a {
	color: var(--gris-clair);
}

.site-footer ul a:hover {
	color: var(--rouge-clair);
}

.socials {
	display: flex;
	gap: 12px;
	margin-top: 18px;
}

.socials a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(244, 239, 209, .28);
	border-radius: 50%;
	color: var(--creme);
}

.socials a:hover {
	background: var(--rouge);
	border-color: var(--rouge);
	color: #fff;
}

.socials svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

.footer-bottom {
	position: relative;
	padding-top: 22px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	font-size: .87rem;
	color: var(--gris);
}

/* Le trait déborde du container pour faire toute la largeur de la fenêtre */
.footer-bottom::before {
	content: "";
	position: absolute;
	top: 0;
	left: calc(50% - 50vw);
	width: 100vw;
	border-top: 1px solid rgba(244, 239, 209, .12);
}

/* ---------- Retour en haut de page ---------- */

.back-top {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 120;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(244, 239, 209, .3);
	border-radius: 50%;
	background: rgba(0, 0, 0, .78);
	color: var(--creme);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background .2s ease;
}

.back-top.visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.back-top:hover {
	background: var(--rouge);
	border-color: var(--rouge);
	color: #fff;
}

.back-top svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

/* ---------- Bouton WhatsApp ---------- */

.whatsapp-float {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 120;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .45);
}

.whatsapp-float:hover {
	background: #1eb857;
	color: #fff;
}

.whatsapp-float svg {
	width: 30px;
	height: 30px;
	fill: currentColor;
}

/* ---------- Responsive ---------- */

/* Tablette paysage : le menu reste horizontal jusqu'à 767px, on resserre */
@media (max-width: 1100px) {
	.main-nav ul {
		gap: 18px;
	}

	.main-nav a {
		font-size: 15px;
	}

	.main-nav .nav-cta a {
		font-size: 14px;
		padding: 10px 16px;
	}

	.logo img {
		height: 64px;
	}

	.site-header .container {
		min-height: 86px;
	}
}

@media (max-width: 991px) {
	.intro-grid,
	.form-grid {
		grid-template-columns: 1fr;
		gap: 38px;
	}

	.info-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.poster-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.destination-grid {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: 190px;
	}

	.destination.grand,
	.destination.large,
	.destination.bandeau {
		grid-column: span 2;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	/* Galerie + liste : les colonnes deviennent trop étroites côte à côte */
	.menu-duo {
		grid-template-columns: 1fr;
	}

	.menu-duo.inverse .gallery-container,
	.menu-duo.inverse .plat-liste {
		order: 0;
	}

	.gallery-container {
		height: 420px;
	}

	.menu-pleine img {
		height: 380px;
	}

	.page-banner {
		padding: 68px 0 56px;
	}
}

@media (max-width: 767px) {
	.nav-toggle {
		display: block;
	}

	.main-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: rgba(0, 0, 0, .98);
		border-bottom: 1px solid rgba(244, 239, 209, .14);
		padding: 14px 22px 22px;
		max-height: calc(100vh - 86px);
		overflow-y: auto;
	}

	.main-nav.open {
		display: block;
		animation: nav-ouvre .3s cubic-bezier(.2, .7, .3, 1);
	}

	/* Les entrées arrivent l'une après l'autre, comme les affiches de l'accueil */
	.main-nav.open li {
		animation: nav-entree .34s ease backwards;
	}

	.main-nav.open li:nth-child(2) {
		animation-delay: .05s;
	}

	.main-nav.open li:nth-child(3) {
		animation-delay: .1s;
	}

	.main-nav.open li:nth-child(4) {
		animation-delay: .15s;
	}

	.main-nav.open li:nth-child(5) {
		animation-delay: .2s;
	}

	.main-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
	}

	.main-nav a {
		font-size: 17px;
		padding: 12px 0;
		border-bottom: 1px solid rgba(244, 239, 209, .1);
	}

	.main-nav .nav-cta a {
		text-align: center;
		margin-top: 10px;
	}

	/* Sur mobile, l'en-tête de l'accueil reste opaque : le menu déroulant doit rester lisible */
	.page-accueil .site-header.ouvert {
		background: rgba(0, 0, 0, .96);
	}

	.section {
		padding: 58px 0;
	}

	.page-banner {
		padding: 54px 0 46px;
	}

	.info-grid,
	.poster-grid,
	.footer-grid,
	.champ-duo {
		grid-template-columns: 1fr;
	}

	.destination-grid {
		grid-template-columns: 1fr;
		grid-auto-rows: 230px;
	}

	.destination.grand,
	.destination.haut,
	.destination.large,
	.destination.bandeau {
		grid-column: auto;
		grid-row: auto;
	}

	.form-card {
		padding: 24px;
	}

	/*
	 * L'accordéon est conservé au doigt : le script ouvre la colonne touchée,
	 * exactement comme le survol le fait sur PC. Seules les proportions
	 * changent, la galerie occupant ici toute la largeur de l'écran.
	 */
	.gallery-container {
		height: 360px;
	}

	.gallery-column {
		margin-right: 8px;
	}

	.menu-pleine img {
		height: 260px;
	}

	.plat-liste {
		padding: 26px 22px;
	}

	/*
	 * La vidéo de fond n'est plus coupée sur mobile : elle tourne comme sur PC.
	 * Le script de include/footer.php la retire uniquement si le téléphone est
	 * en mode économie de données ou sur un réseau lent ; l'image de poster
	 * prend alors le relais.
	 */

	.back-top,
	.whatsapp-float {
		width: 46px;
		height: 46px;
		left: auto;
		bottom: 14px;
	}

	.back-top {
		left: 14px;
	}

	.whatsapp-float {
		right: 14px;
	}

	.whatsapp-float svg {
		width: 26px;
		height: 26px;
	}

	.footer-bottom {
		justify-content: flex-start;
		gap: 6px;
	}
}

@media (max-width: 479px) {
	.container {
		padding: 0 16px;
	}

	.logo img {
		height: 54px;
	}

	.site-header .container {
		min-height: 74px;
	}

	.btn {
		font-size: 1.1rem;
		padding: 12px 22px;
	}

	.gallery-container {
		height: 300px;
	}

	.gallery-column {
		margin-right: 6px;
	}

	.menu-bloc {
		margin-bottom: 46px;
	}

	.form-card {
		padding: 18px;
	}
}
