/*
 * Ipanema Voyages : feuille de style principale
 * Couleurs : bordeaux (couleur historique du client) et taupe clair.
 */

:root {
	--bordeaux: #9f2131;
	--bordeaux-fonce: #7f1a27;
	--taupe-clair: #e9e2da;
	--taupe-pale: #f6f2ee;
	--taupe: #b4a597;
	--taupe-fonce: #6b5f57;
	--texte: #2a2421;
	--ligne: #ddd4ca;
	--blanc: #ffffff;
	--vert: #2f6b3a;

	--serif: "Fraunces", Georgia, "Times New Roman", serif;
	--sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--conteneur: 1200px;
	--marge: 24px;
	--entete-h: 76px;
}

/* ---------- Base ---------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--entete-h) + 16px);
}

body {
	margin: 0;
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--texte);
	background: var(--blanc);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--bordeaux);
	text-decoration-thickness: 1px;
	text-underline-offset: .18em;
}
a:hover { color: var(--bordeaux-fonce); }

h1, h2, h3, h4 {
	font-family: var(--serif);
	font-weight: 450;
	font-variation-settings: "SOFT" 0, "WONK" 0;
	line-height: 1.15;
	color: var(--texte);
	margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.1rem); }
h2 { font-size: clamp(1.7rem, 1.35rem + 1.4vw, 2.35rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.12rem; }

p { margin: 0 0 1em; }

:focus-visible {
	outline: 2px solid var(--bordeaux);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.lien-evitement:focus {
	position: fixed !important;
	top: 8px; left: 8px;
	width: auto; height: auto;
	clip: auto;
	z-index: 100;
	background: var(--blanc);
	padding: 10px 16px;
	color: var(--texte);
}

.conteneur {
	width: min(var(--conteneur), 100% - 2 * var(--marge));
	margin-inline: auto;
}
.etroit { max-width: 760px; }

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

.bouton,
.wp-block-button__link {
	display: inline-block;
	background: var(--bordeaux);
	color: var(--blanc);
	border: 1px solid var(--bordeaux);
	border-radius: 2px;
	padding: .9em 1.55em;
	font-family: var(--sans);
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: .015em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	-webkit-font-smoothing: auto;
	-moz-osx-font-smoothing: auto;
	transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.bouton:hover,
.wp-block-button__link:hover {
	background: var(--bordeaux-fonce);
	border-color: var(--bordeaux-fonce);
	color: var(--blanc);
	transform: translateY(-2px);
	box-shadow: 0 8px 18px -10px rgba(127, 26, 39, .7);
}
.bouton:active { transform: translateY(0); box-shadow: none; }
.bouton--contour {
	background: transparent;
	color: var(--bordeaux);
}
.bouton--contour:hover { background: var(--bordeaux); color: var(--blanc); }
.bouton--contour {
	border-width: 2px;
	padding: calc(.9em - 1px) calc(1.55em - 1px);
}
.bouton--clair {
	background: rgba(30, 22, 20, .35);
	border: 2px solid var(--blanc);
	padding: calc(.9em - 1px) calc(1.55em - 1px);
	color: var(--blanc);
}
.bouton--clair:hover { background: var(--blanc); border-color: var(--blanc); color: var(--texte); }
.bouton--plein { display: block; width: 100%; }
.contenu .bouton,
.bouton--plein { white-space: normal; }

.aide { font-size: .875rem; color: var(--taupe-fonce); }

.lien-fort {
	font-weight: 600;
	color: var(--bordeaux);
}

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

.entete {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--blanc);
	border-bottom: 1px solid var(--ligne);
}
.admin-bar .entete { top: 32px; }
@media (max-width: 782px) { .admin-bar .entete { top: 0; } }

.entete__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: var(--entete-h);
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-right: auto;
	color: var(--texte);
	text-decoration: none;
	flex-shrink: 0;
}
.logo:hover { color: var(--texte); }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo__nom {
	font-family: var(--serif);
	font-size: 1.28rem;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
}
.logo .custom-logo { max-height: 52px; width: auto; }
@media (min-width: 1141px) {
	.logo .custom-logo { max-height: 60px; }
}

.nav-principale .menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 20px;
}
.nav-principale li { position: relative; }
.nav-principale .menu > li > a {
	display: block;
	padding: 8px 0;
	color: var(--texte);
	font-weight: 600;
	font-size: .95rem;
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
}
.nav-principale .menu > li > a:hover,
.nav-principale .menu > .current-menu-item > a,
.nav-principale .menu > .current-menu-ancestor > a,
.nav-principale .menu > .current_page_item > a {
	border-bottom-color: var(--bordeaux);
}
.nav-principale .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
}
.nav-principale .sub-menu {
	list-style: none;
	margin: 0;
	padding: 8px 0;
	position: absolute;
	top: 100%;
	left: -16px;
	min-width: 250px;
	background: var(--blanc);
	border: 1px solid var(--ligne);
	box-shadow: 0 12px 24px -16px rgba(42, 36, 33, .35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-principale li:hover > .sub-menu,
.nav-principale li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}
.nav-principale .sub-menu a {
	display: block;
	padding: 9px 18px;
	color: var(--texte);
	font-weight: 500;
	font-size: .95rem;
	text-decoration: none;
}
.nav-principale .sub-menu a:hover { background: var(--taupe-pale); color: var(--bordeaux); }
.nav-principale__extra { display: none; }

.entete__actions {
	display: flex;
	align-items: center;
	gap: 22px;
}
.entete__devis { font-size: .98rem; padding: .75em 1.2em; }
.entete__tel {
	color: var(--texte);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.entete__tel:hover { color: var(--bordeaux); }

.menu-bouton {
	display: none;
	align-items: center;
	gap: 10px;
	background: none;
	border: 1px solid var(--ligne);
	border-radius: 2px;
	padding: 10px 14px;
	font: inherit;
	font-weight: 600;
	color: var(--texte);
	cursor: pointer;
	min-height: 46px;
}
.menu-bouton__barres,
.menu-bouton__barres::before,
.menu-bouton__barres::after {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	position: relative;
	transition: transform .2s, background-color .2s;
}
.menu-bouton__barres::before,
.menu-bouton__barres::after { content: ""; position: absolute; left: 0; }
.menu-bouton__barres::before { top: -6px; }
.menu-bouton__barres::after { top: 6px; }
.est-ouvert .menu-bouton__barres { background: transparent; }
.est-ouvert .menu-bouton__barres::before { transform: translateY(6px) rotate(45deg); }
.est-ouvert .menu-bouton__barres::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1340px) {
	.entete__tel { display: none; }
}
@media (max-width: 1240px) {
	.nav-principale .menu { gap: 16px; }
	.entete__inner { gap: 20px; }
}

@media (max-width: 1140px) {
	:root { --entete-h: 68px; }
	.menu-bouton { display: inline-flex; }
	.entete__devis { display: none; }
	.nav-principale {
		display: none;
		position: fixed;
		top: var(--entete-h);
		left: 0;
		right: 0;
		bottom: 0;
		background: var(--blanc);
		overflow-y: auto;
		padding: 8px var(--marge) 40px;
		border-top: 1px solid var(--ligne);
	}
	.admin-bar .nav-principale { top: calc(var(--entete-h) + 46px); }
	.est-ouvert .nav-principale { display: block; }
	.nav-principale .menu { flex-direction: column; gap: 0; }
	.nav-principale .menu > li { border-bottom: 1px solid var(--ligne); }
	.nav-principale .menu > li > a {
		padding: 16px 0;
		font-size: 1.15rem;
		border-bottom: 0;
	}
	.nav-principale .menu-item-has-children > a::after { display: none; }
	.nav-principale .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: 0;
		box-shadow: none;
		padding: 0 0 12px;
		min-width: 0;
	}
	.nav-principale .sub-menu a { padding: 8px 0 8px 16px; }
	.nav-principale__extra {
		display: grid;
		gap: 14px;
		margin-top: 28px;
	}
	.nav-principale__tel {
		font-weight: 600;
		color: var(--texte);
		text-align: center;
		text-decoration: none;
		padding: 8px;
	}
	body.menu-ouvert { overflow: hidden; }
}

@media (max-width: 600px) {
	:root { --marge: 16px; --entete-h: 62px; }
	.logo svg { width: 32px; height: 32px; }
	.logo__nom { font-size: 1.2rem; }
	.menu-bouton__texte { display: none; }
	.menu-bouton { padding: 0; width: 46px; height: 46px; justify-content: center; }
}

/* ---------- Hero (accueil) ---------- */

/*
 * Deux mises en page (réglage « Mise en page du haut de page ») :
 * - hero--plein : photos en plein écran, texte par-dessus ; avec plusieurs photos,
 *   elles défilent en fondu avec un léger zoom (hero--diaporama, piloté par main.js).
 * - hero--partage : texte à gauche, photo à droite ; photo en haut et texte dessous sur mobile.
 * Chaque photo a son cadrage (variable --pos, réglée dans le personnalisateur).
 * Dans tous les cas, le haut de page tient dans le premier écran.
 */

.hero {
	position: relative;
	height: calc(100vh - var(--entete-h) - 1px);
	height: calc(100svh - var(--entete-h) - 1px);
	min-height: 520px;
	max-height: 1040px;
	overflow: hidden;
}
.admin-bar .hero { height: calc(100svh - var(--entete-h) - 33px); }

.hero__media {
	position: relative;
	overflow: hidden;
	background: var(--taupe-clair);
}
.diapo {
	position: absolute;
	inset: 0;
}
.hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--pos, 50% 50%);
	transform-origin: var(--pos, 50% 50%);
}
.hero__texte > * { max-width: 34rem; }
.hero h1 {
	font-size: clamp(2rem, 1.1rem + 1.9vw + 1.2vh, 3.3rem);
	margin-bottom: .45em;
	max-width: 15ch;
}
.hero__texte p {
	font-size: clamp(1rem, .9rem + .3vw + .2vh, 1.17rem);
	margin-bottom: 1.7em;
}
.hero__boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__legende {
	position: absolute;
	right: 14px;
	bottom: 14px;
	z-index: 1;
	margin: 0;
	padding: 4px 10px;
	font-size: .82rem;
	color: var(--blanc);
	background: rgba(30, 22, 20, .6);
	border-radius: 2px;
	line-height: 1.4;
}
.hero__legende a { color: inherit; text-decoration: none; }
.hero__legende a::after { content: " \2192"; }
.hero__legende a:hover { text-decoration: underline; color: inherit; }

/* Texte à gauche, photo à droite */
.hero--partage {
	display: grid;
	grid-template-columns: minmax(var(--marge), 1fr) minmax(0, 600px) minmax(0, 600px) minmax(0, 1fr);
	background: var(--taupe-pale);
}
.hero--partage .hero__contenu {
	grid-column: 2;
	grid-row: 1;
	display: flex;
	align-items: center;
	padding: 40px clamp(28px, 4vw, 64px) 40px 0;
}
.hero--partage .hero__media { grid-column: 3 / 5; grid-row: 1; }
.hero--partage .hero__texte p { color: var(--taupe-fonce); }
.hero--sans-photo.hero--partage .hero__contenu { grid-column: 2 / 4; }

/* Photos en plein écran */
.hero--plein {
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: var(--texte);
	color: var(--blanc);
}
.hero--plein .hero__media { position: absolute; inset: 0; }
.hero--plein .hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(30, 22, 20, .72) 0%, rgba(30, 22, 20, .42) 50%, rgba(30, 22, 20, .1) 100%),
		linear-gradient(0deg, rgba(30, 22, 20, .45) 0%, rgba(30, 22, 20, 0) 32%);
}
.hero--plein .hero__legende {
	z-index: 3;
	right: max(var(--marge), (100% - var(--conteneur)) / 2);
	bottom: 34px;
}
.hero--plein .hero__contenu { position: relative; z-index: 3; }
.hero--plein h1 { color: var(--blanc); }
.hero--plein .hero__texte p { color: rgba(255, 255, 255, .92); }
.hero--plein :focus-visible { outline-color: var(--blanc); }
.hero--sans-photo.hero--plein { background: var(--bordeaux-fonce); }

/* Diaporama : la photo suivante apparaît en fondu par-dessus la précédente. */
.hero--diaporama .hero__media::after { z-index: 2; }
.hero--diaporama .diapo { opacity: 0; z-index: 0; }
.hero--diaporama .diapo:not(.est-active):not(.est-prete):not(.est-sortante) { display: none; }
.hero--diaporama .diapo.est-sortante { opacity: 1; z-index: 0; }
.hero--diaporama .diapo.est-active { opacity: 1; z-index: 1; transition: opacity 1.4s ease; }
.hero--diaporama .hero__legende { z-index: 3; }
.hero--diaporama .diapo:not(.est-active) .hero__legende { visibility: hidden; }

.diaporama__commandes {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 24px;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 10px;
	pointer-events: none; /* la bande ne masque pas le lien de la légende */
}
.diaporama__commandes > * { pointer-events: auto; }
.diaporama__pause {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	color: var(--blanc);
	background: rgba(30, 22, 20, .35);
	border: 2px solid rgba(255, 255, 255, .8);
	border-radius: 50%;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}
.diaporama__pause:hover { background: var(--blanc); color: var(--texte); }
.diaporama__pause .icone-lecture,
.est-en-pause .diaporama__pause .icone-pause { display: none; }
.est-en-pause .diaporama__pause .icone-lecture { display: block; }
.diaporama__puces {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}
.diaporama__puce {
	position: relative;
	display: flex;
	align-items: center;
	width: 52px;
	height: 44px;
	padding: 0 5px;
	background: none;
	border: 0;
	cursor: pointer;
}
.diaporama__puce::before {
	content: "";
	position: absolute;
	left: 5px;
	right: 5px;
	top: 50%;
	height: 3px;
	margin-top: -1.5px;
	background: rgba(255, 255, 255, .4);
	border-radius: 2px;
	transition: background-color .2s ease;
}
.diaporama__puce:hover::before { background: rgba(255, 255, 255, .7); }
.diaporama__barre {
	position: relative;
	display: block;
	width: 100%;
	height: 3px;
	background: var(--blanc);
	border-radius: 2px;
	transform: scaleX(0);
	transform-origin: left;
}
.est-manuel .diaporama__puce[aria-current="true"] .diaporama__barre { transform: scaleX(1); }
.est-manuel .diaporama__pause { display: none; }

@media (max-width: 899px) {
	.hero { min-height: 460px; max-height: 1100px; }

	.hero--partage {
		display: flex;
		flex-direction: column;
	}
	.hero--partage .hero__media {
		flex: 1 1 0;
		min-height: 150px;
	}
	.hero--partage .hero__contenu {
		flex: 0 0 auto;
		padding: 24px var(--marge) 28px;
	}
	.hero--sans-photo.hero--partage .hero__contenu { flex: 1 1 auto; }

	.hero--plein { justify-content: flex-end; padding-bottom: 32px; }
	.hero--plein .hero__media::after { background: linear-gradient(0deg, rgba(30, 22, 20, .82) 0%, rgba(30, 22, 20, .5) 55%, rgba(30, 22, 20, .25) 100%); }
	.hero--diaporama { padding-bottom: 12px; }
	.diaporama__commandes {
		position: relative;
		left: auto;
		right: auto;
		bottom: auto;
		margin-top: 14px;
	}

	.hero h1 { font-size: clamp(1.75rem, 1.2rem + 2.6vw, 2.5rem); max-width: 20ch; }
	.hero__texte > * { max-width: 40rem; }
	.hero__boutons .bouton { flex: 1 1 auto; }
	.hero__legende { font-size: .8rem; right: 10px; bottom: 10px; }
	.hero--plein .hero__legende { top: 10px; right: 10px; bottom: auto; }
}
@media (max-width: 420px) {
	.diaporama__puce { width: 42px; }
}
/* Petits écrans en hauteur : le texte d'introduction est raccourci pour que tout tienne. */
@media (max-width: 899px) and (max-height: 720px) {
	.hero__texte p {
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
		margin-bottom: 1.2em;
	}
	.hero h1 { font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2.2rem); }
}

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

.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--pale { background: var(--taupe-pale); }
.section--taupe { background: var(--taupe-clair); }
.section--serree { padding-top: 0; }

.section__entete {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px 40px;
	flex-wrap: wrap;
	margin-bottom: 40px;
}
.section__entete h2 { margin: 0; }
.section__entete p {
	margin: 12px 0 0;
	max-width: 62ch;
	color: var(--taupe-fonce);
}
.section__pied {
	margin-top: 48px;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
	align-items: center;
}

/* Liste de liens régions */
.liens-regions {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
}
.liens-regions a {
	color: var(--texte);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid var(--taupe);
}
.liens-regions a:hover { color: var(--bordeaux); border-bottom-color: var(--bordeaux); }

/* ---------- Publics ---------- */

.publics {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px 28px;
}
.public {
	display: flex;
	flex-direction: column;
	border-top: 3px solid var(--bordeaux);
	padding-top: 20px;
}
.public h3 { margin-bottom: .4em; }
.public h3 a { color: var(--texte); text-decoration: none; }
.public h3 a:hover { color: var(--bordeaux); }
.public p { color: var(--taupe-fonce); font-size: 1rem; }
.public .lien-fort { margin-top: auto; }

.avertissement-groupes {
	margin-top: 40px;
	padding: 18px 22px;
	background: var(--blanc);
	border-left: 3px solid var(--taupe);
	color: var(--taupe-fonce);
	font-size: .98rem;
}
.avertissement-groupes strong { color: var(--texte); }

/* ---------- Cartes voyages ---------- */

.grille-voyages {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px 24px;
}
.grille-voyages--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }

.carte {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.carte__image {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--taupe-clair);
	margin-bottom: 16px;
}
.carte__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.carte:hover .carte__image img { transform: scale(1.03); }
.carte__meta {
	margin: 0 0 6px;
	font-size: .875rem;
	color: var(--taupe-fonce);
}
.carte__titre {
	font-size: 1.3rem;
	line-height: 1.2;
	margin: 0 0 8px;
}
.carte__titre a { color: var(--texte); text-decoration: none; }
.carte__titre a:hover { color: var(--bordeaux); }
.carte__resume {
	margin: 0 0 14px;
	font-size: .97rem;
	color: var(--taupe-fonce);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.carte__lien {
	margin-top: auto;
	font-weight: 600;
	font-size: .95rem;
}

/* ---------- Filtres destinations ---------- */

.filtres {
	display: flex;
	flex-wrap: wrap;
	gap: 0 28px;
	border-bottom: 1px solid var(--ligne);
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
}
.filtres a {
	display: block;
	padding: 12px 0;
	margin-bottom: -1px;
	border-bottom: 2px solid transparent;
	color: var(--taupe-fonce);
	font-weight: 600;
	text-decoration: none;
}
.filtres a:hover { color: var(--texte); }
.filtres a[aria-current="true"],
.filtres a[aria-current="page"] {
	color: var(--texte);
	border-bottom-color: var(--bordeaux);
}
.filtres span { font-weight: 400; color: var(--taupe); }

/* ---------- Étapes ---------- */

.etapes {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px 28px;
	counter-reset: etape;
}
.etapes li {
	counter-increment: etape;
	border-top: 1px solid var(--taupe);
	padding-top: 18px;
}
.etapes li::before {
	content: counter(etape);
	display: block;
	font-family: var(--serif);
	font-size: 1.9rem;
	line-height: 1;
	color: var(--bordeaux);
	margin-bottom: 14px;
}
.etapes h3 { font-size: 1.2rem; margin-bottom: .4em; }
.etapes p { margin: 0; color: var(--taupe-fonce); font-size: 1rem; }

/* ---------- Bloc image + texte ---------- */

.partage {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 80px);
	align-items: center;
}
.partage__image {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--taupe-clair);
}
.partage__image img { width: 100%; height: 100%; object-fit: cover; }
.partage__texte > p { color: var(--taupe-fonce); }

/* Faits (garanties, coordonnées) */
.faits {
	margin: 28px 0;
	border-top: 1px solid var(--ligne);
}
.faits div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--ligne);
}
.faits dt { color: var(--taupe-fonce); }
.faits dd { margin: 0; font-weight: 600; text-align: right; }

/* ---------- Articles ---------- */

.grille-articles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 44px 28px;
}
.article-carte { display: flex; flex-direction: column; min-width: 0; }
.article-carte__image {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--taupe-clair);
	margin-bottom: 16px;
}
.article-carte__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.article-carte:hover .article-carte__image img { transform: scale(1.03); }
.article-carte__meta { margin: 0 0 6px; font-size: .875rem; color: var(--taupe-fonce); }
.article-carte h3 { font-size: 1.25rem; line-height: 1.25; margin: 0 0 8px; }
.article-carte h3 a { color: var(--texte); text-decoration: none; }
.article-carte h3 a:hover { color: var(--bordeaux); }
.article-carte p { font-size: .97rem; color: var(--taupe-fonce); margin: 0; }

/* ---------- Appel à l'action ---------- */

.appel { background: var(--taupe-clair); padding: clamp(48px, 6vw, 72px) 0; }
.appel__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px 48px;
	flex-wrap: wrap;
}
.appel h2 { margin-bottom: .3em; }
.appel p { margin: 0; color: var(--taupe-fonce); max-width: 58ch; }
.appel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.appel__tel { font-weight: 600; color: var(--texte); text-decoration: none; }
.appel__tel:hover { color: var(--bordeaux); }

/* ---------- En-tête des pages intérieures ---------- */

.entete-page {
	background: var(--taupe-pale);
	border-bottom: 1px solid var(--ligne);
	padding: 36px 0 44px;
}
.entete-page h1 { margin: 0 0 .35em; max-width: 24ch; }
.entete-page .chapo {
	margin: 0;
	max-width: 66ch;
	font-size: 1.12rem;
	color: var(--taupe-fonce);
}

.fil-ariane { margin-bottom: 18px; font-size: .875rem; color: var(--taupe-fonce); }
.fil-ariane ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.fil-ariane li + li::before { content: "/"; margin: 0 8px; color: var(--taupe); }
.fil-ariane a { color: var(--taupe-fonce); text-decoration: none; }
.fil-ariane a:hover { color: var(--bordeaux); text-decoration: underline; }

/* ---------- Contenu éditorial ---------- */

.contenu { max-width: 720px; }
.contenu > * + * { margin-top: 0; }
.contenu h2 { margin-top: 1.8em; }
.contenu h3 { margin-top: 1.5em; }
.contenu > :first-child { margin-top: 0; }
.contenu ul,
.contenu ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.contenu li { margin-bottom: .4em; }
.contenu li::marker { color: var(--bordeaux); }
.contenu blockquote {
	margin: 1.6em 0;
	padding-left: 22px;
	border-left: 3px solid var(--bordeaux);
	font-family: var(--serif);
	font-size: 1.15rem;
}
.contenu figure { margin: 1.8em 0; }
.contenu figcaption { font-size: .875rem; color: var(--taupe-fonce); margin-top: 8px; }
.contenu .wp-block-image img { width: 100%; }

.wp-block-details {
	border-bottom: 1px solid var(--ligne);
	padding: 0;
	margin: 0 !important;
}
.wp-block-details:first-of-type { border-top: 1px solid var(--ligne); }
.wp-block-details summary {
	cursor: pointer;
	padding: 16px 32px 16px 0;
	font-weight: 600;
	list-style: none;
	position: relative;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "+";
	position: absolute;
	right: 4px;
	top: 12px;
	font-size: 1.4rem;
	line-height: 1;
	color: var(--bordeaux);
}
.wp-block-details[open] summary::after { content: "\2013"; }
.wp-block-details > :not(summary) { margin-bottom: 16px; color: var(--taupe-fonce); }

/* Mise en page à deux colonnes (page + encart) */
.colonnes {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: clamp(40px, 6vw, 80px);
	align-items: start;
}
.encart {
	position: sticky;
	top: calc(var(--entete-h) + 24px);
	background: var(--taupe-pale);
	border-top: 3px solid var(--bordeaux);
	padding: 28px;
}
.encart h2 { font-size: 1.35rem; }
.encart p { color: var(--taupe-fonce); font-size: 1rem; }
.encart .encart__tel {
	display: block;
	margin-top: 16px;
	text-align: center;
	font-weight: 600;
	color: var(--texte);
	text-decoration: none;
}
.encart .encart__tel:hover { color: var(--bordeaux); }
.encart + .encart { margin-top: 24px; position: static; }

/* ---------- Fiche voyage ---------- */

.voyage-faits {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 40px;
	margin: 24px 0 0;
}
.voyage-faits div { min-width: 0; }
.voyage-faits dt { font-size: .85rem; color: var(--taupe-fonce); }
.voyage-faits dd { margin: 0; font-weight: 600; }

.voyage-visuel {
	margin-top: 40px;
	aspect-ratio: 21 / 9;
	overflow: hidden;
	background: var(--taupe-clair);
}
.voyage-visuel img { width: 100%; height: 100%; object-fit: cover; }

.points-forts { list-style: none; padding: 0 !important; margin: 0 0 1.4em; }
.points-forts li {
	position: relative;
	padding: 10px 0 10px 22px;
	border-bottom: 1px solid var(--ligne);
	margin: 0;
}
.points-forts li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 1.15em;
	width: 7px;
	height: 7px;
	background: var(--bordeaux);
}

.itineraire { list-style: none; padding: 0 !important; margin: 0 0 1.4em; }
.itineraire li {
	display: grid;
	grid-template-columns: 90px minmax(0, 1fr);
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--ligne);
	margin: 0;
}
.itineraire__jour { font-weight: 700; color: var(--bordeaux); }
.itineraire h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin: 0 0 4px; }
.itineraire p { margin: 0; color: var(--taupe-fonce); }

.inclus {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px;
	margin-bottom: 1.4em;
}
.inclus h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin-top: 0 !important; }
.inclus ul { padding-left: 1.2em; }

.galerie {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 1.4em;
}
.galerie a {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--taupe-clair);
}
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.galerie a:hover img { transform: scale(1.03); }

.note-devis {
	margin-top: 32px;
	padding: 18px 22px;
	background: var(--taupe-pale);
	border-left: 3px solid var(--taupe);
	color: var(--taupe-fonce);
	font-size: .98rem;
}

/* ---------- Article ---------- */

.article-entete { padding: 36px 0 0; }
.article-entete h1 { max-width: 22ch; }
.article-meta { color: var(--taupe-fonce); font-size: .95rem; margin: 0; }
.article-visuel {
	margin: 32px 0 48px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--taupe-clair);
}
.article-visuel img { width: 100%; height: 100%; object-fit: cover; }
.article-corps { padding-bottom: 72px; }
.article-corps .contenu { margin-inline: auto; }
.article-encadre {
	max-width: 720px;
	margin: 48px auto 0;
	padding: 28px;
	background: var(--taupe-pale);
	border-top: 3px solid var(--bordeaux);
}
.article-encadre h2 { font-size: 1.4rem; margin-top: 0; }
.article-encadre p { color: var(--taupe-fonce); }

/* Pagination */
.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
	display: inline-block;
	min-width: 42px;
	padding: 8px 12px;
	border: 1px solid var(--ligne);
	text-align: center;
	color: var(--texte);
	text-decoration: none;
}
.pagination .page-numbers.current { background: var(--bordeaux); border-color: var(--bordeaux); color: var(--blanc); }
.pagination a.page-numbers:hover { border-color: var(--bordeaux); color: var(--bordeaux); }

/* ---------- Formulaire ---------- */

.formulaire {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 22px 24px;
}
.formulaire fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.formulaire legend,
.formulaire label.etiquette {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	font-size: .95rem;
	padding: 0;
}
.champ--large { grid-column: 1 / -1; }
.formulaire__titre {
	font-size: 1.25rem;
	margin: 14px 0 0;
	padding-top: 22px;
	border-top: 1px solid var(--ligne);
}
.requis { color: var(--bordeaux); }
.formulaire input[type="text"],
.formulaire input[type="email"],
.formulaire input[type="tel"],
.formulaire select,
.formulaire textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #cdc2b6;
	border-radius: 2px;
	background: var(--blanc);
	font: inherit;
	font-size: 1rem;
	color: var(--texte);
}
.formulaire textarea { min-height: 150px; resize: vertical; }
.formulaire input:focus,
.formulaire select:focus,
.formulaire textarea:focus {
	outline: 2px solid rgba(159, 33, 49, .25);
	outline-offset: 0;
	border-color: var(--bordeaux);
}
.formulaire .aide { margin: 6px 0 0; font-size: .875rem; color: var(--taupe-fonce); }
.choix { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.choix label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.choix input,
.consentement input { accent-color: var(--bordeaux); width: 18px; height: 18px; margin: 0; }
.consentement { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--taupe-fonce); }
.consentement input { margin-top: 3px; flex: none; }
.champ--erreur input,
.champ--erreur select,
.champ--erreur textarea { border-color: var(--bordeaux); }
.message-erreur { margin: 6px 0 0; color: var(--bordeaux); font-size: .9rem; font-weight: 600; }
.champ-piege { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formulaire__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.formulaire__actions p { margin: 0; font-size: .9rem; color: var(--taupe-fonce); }

.notice {
	padding: 18px 22px;
	border-left: 3px solid;
	margin-bottom: 28px;
}
.notice p:last-child { margin-bottom: 0; }
.notice--succes { border-color: var(--vert); background: #eef5ef; }
.notice--erreur { border-color: var(--bordeaux); background: #f9eced; }
.notice h2 { font-size: 1.4rem; margin-bottom: .3em; }

.coordonnees { font-style: normal; }
.coordonnees p { margin: 0 0 14px; }
.coordonnees strong { display: block; font-size: .85rem; font-weight: 600; color: var(--taupe-fonce); }

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

.pied {
	background: var(--taupe-clair);
	border-top: 3px solid var(--bordeaux);
	padding: 64px 0 0;
	font-size: .97rem;
}
.pied__grille {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
	gap: 40px;
}
.pied .logo { margin-bottom: 16px; }
.pied h2 {
	font-family: var(--sans);
	font-size: 1rem;
	font-weight: 700;
	margin: 6px 0 14px;
}
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 8px; }
.pied a { color: var(--texte); text-decoration: none; }
.pied a:hover { color: var(--bordeaux); text-decoration: underline; }
.pied__presentation p { color: var(--taupe-fonce); max-width: 38ch; }
.pied__mentions { font-size: .875rem; color: var(--taupe-fonce); }
.pied__bas {
	margin-top: 48px;
	padding: 20px 0 24px;
	border-top: 1px solid #d3c8bc;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px 24px;
	font-size: .875rem;
	color: var(--taupe-fonce);
}
.pied__bas ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.pied__bas li { margin: 0; }
.pied__bas a { color: var(--taupe-fonce); }

/* Bouton d'appel à l'action du pied de page : plus discret que le bouton plein,
   pour ne pas écraser les coordonnées qui l'entourent. */
.bouton--pied {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-radius: 999px;
	padding: .6em 1.2em;
	font-size: .9375rem;
}
.bouton--pied svg { width: 14px; height: 14px; flex: none; }

/* Barre d'action mobile */
.barre-mobile { display: none; }
@media (max-width: 760px) {
	.barre-mobile {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 40;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: var(--blanc);
		border-top: 1px solid var(--ligne);
	}
	.barre-mobile .bouton { padding: .75em .5em; }
	.barre-mobile--differee { transform: translateY(110%); transition: transform .25s ease; }
	.barre-mobile--differee.est-visible { transform: none; }
	body.a-barre-mobile { padding-bottom: 68px; }
}

/* ---------- 404 / recherche ---------- */

.recherche-form { display: flex; gap: 8px; max-width: 520px; margin: 24px 0; }
.recherche-form input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid #cdc2b6;
	border-radius: 2px;
	font: inherit;
}

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

@media (max-width: 1100px) {
	.grille-voyages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.publics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pied__grille { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	.grille-voyages,
	.grille-voyages--3,
	.grille-articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.partage,
	.colonnes { grid-template-columns: minmax(0, 1fr); }
	.encart { position: static; }
	.voyage-visuel { aspect-ratio: 16 / 9; }
}

@media (max-width: 600px) {
	body { font-size: 1rem; }
	.grille-voyages,
	.grille-voyages--3,
	.grille-articles,
	.publics,
	.etapes,
	.formulaire,
	.inclus,
	.pied__grille { grid-template-columns: minmax(0, 1fr); }
	.galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.voyage-visuel { aspect-ratio: 4 / 3; margin-inline: calc(-1 * var(--marge)); }
	.itineraire li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
	.faits div { flex-direction: column; gap: 2px; }
	.faits dd { text-align: left; }
	.entete-page { padding: 24px 0 32px; }
	.appel__actions .bouton { width: 100%; }
}

/* ---------- Animations ---------- */

@keyframes ipa-monter {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}
@keyframes ipa-zoom {
	from { transform: scale(1.08); }
	to { transform: scale(1); }
}
@keyframes ipa-fondu {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* Haut de page : la photo se pose doucement, le texte apparaît ligne par ligne. */
.hero__image { animation: ipa-zoom 12s cubic-bezier(.2, .7, .2, 1) both; }
.hero__texte > * { animation: ipa-monter .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero__texte > :nth-child(1) { animation-delay: .05s; }
.hero__texte > :nth-child(2) { animation-delay: .18s; }
.hero__texte > :nth-child(3) { animation-delay: .3s; }
.hero__legende { animation: ipa-fondu 1s .8s both; }
.diaporama__commandes { animation: ipa-fondu 1s .6s both; }

/* Diaporama : zoom lent et continu (effet « Ken Burns »), dans un sens différent à chaque photo.
   Le zoom part du point de cadrage de la photo (--pos). */
@keyframes ipa-kb-avant {
	from { transform: scale(1.02) translate3d(0, 0, 0); }
	to { transform: scale(1.16) translate3d(-1.2%, -.8%, 0); }
}
@keyframes ipa-kb-arriere {
	from { transform: scale(1.16) translate3d(1.2%, .6%, 0); }
	to { transform: scale(1.03) translate3d(0, 0, 0); }
}
@keyframes ipa-kb-glisse {
	from { transform: scale(1.1) translate3d(-2%, 0, 0); }
	to { transform: scale(1.14) translate3d(2%, -.6%, 0); }
}
@keyframes ipa-progression {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}
.hero--diaporama .hero__image { animation: none; }
.hero--diaporama .diapo.est-active .hero__image,
.hero--diaporama .diapo.est-sortante .hero__image {
	animation: ipa-kb-avant calc(var(--duree, 7s) + 2s) linear both;
	will-change: transform;
}
.hero--diaporama .diapo:nth-child(3n+2).est-active .hero__image,
.hero--diaporama .diapo:nth-child(3n+2).est-sortante .hero__image { animation-name: ipa-kb-arriere; }
.hero--diaporama .diapo:nth-child(3n).est-active .hero__image,
.hero--diaporama .diapo:nth-child(3n).est-sortante .hero__image { animation-name: ipa-kb-glisse; }
.hero--diaporama .diapo.est-active .hero__legende { animation: ipa-fondu .8s .5s both; }
.hero--diaporama:not(.est-manuel) .diaporama__puce[aria-current="true"] .diaporama__barre {
	animation: ipa-progression var(--duree, 7s) linear both;
}
/* En pause (bouton), hors de l'écran ou pendant la navigation au clavier : tout s'arrête. */
.est-en-pause .hero__image,
.est-en-pause .diaporama__barre,
.est-suspendu .hero__image,
.est-suspendu .diaporama__barre,
.est-hors-champ .hero__image,
.est-hors-champ .diaporama__barre { animation-play-state: paused !important; }

/* Apparition au défilement (classes ajoutées par main.js) */
.anim-cache { opacity: 0; transform: translateY(24px); }
.anim-visible {
	opacity: 1;
	transform: none;
	transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
	transition-delay: var(--delai, 0s);
}

/* En-tête : ombre légère après défilement */
.entete { transition: box-shadow .3s ease; }
.entete.est-defile { box-shadow: 0 8px 24px -18px rgba(42, 36, 33, .45); }

/* Menu : soulignement qui se dessine */
@media (min-width: 1141px) {
	.nav-principale .menu > li > a { position: relative; border-bottom: 0; }
	.nav-principale .menu > li > a::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 2px;
		height: 2px;
		background: var(--bordeaux);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform .3s cubic-bezier(.2, .7, .2, 1);
	}
	.nav-principale .menu > li:hover > a::before,
	.nav-principale .menu > li > a:focus-visible::before,
	.nav-principale .menu > .current-menu-item > a::before,
	.nav-principale .menu > .current-menu-ancestor > a::before,
	.nav-principale .menu > .current_page_item > a::before { transform: scaleX(1); }
}

/* Menu mobile */
@media (max-width: 1140px) {
	.est-ouvert .nav-principale { animation: ipa-fondu .25s ease both; }
	.est-ouvert .nav-principale .menu > li { animation: ipa-monter .4s cubic-bezier(.2, .7, .2, 1) both; }
	.est-ouvert .nav-principale .menu > li:nth-child(2) { animation-delay: .04s; }
	.est-ouvert .nav-principale .menu > li:nth-child(3) { animation-delay: .08s; }
	.est-ouvert .nav-principale .menu > li:nth-child(4) { animation-delay: .12s; }
	.est-ouvert .nav-principale .menu > li:nth-child(5) { animation-delay: .16s; }
	.est-ouvert .nav-principale .menu > li:nth-child(6) { animation-delay: .2s; }
}

/* Liens : le soulignement s'écarte au survol */
a { transition: color .2s ease, text-underline-offset .2s ease, text-decoration-color .2s ease; }
.contenu a:hover,
.lien-fort:hover,
.carte__lien:hover { text-underline-offset: .3em; }

/* Cartes */
.carte__image img,
.article-carte__image img,
.galerie img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.carte:hover .carte__image img,
.article-carte:hover .article-carte__image img { transform: scale(1.05); }
.carte.apparait { animation: ipa-monter .5s cubic-bezier(.2, .7, .2, 1) both; }

/* Publics : le filet bordeaux s'épaissit au survol */
.public { transition: border-top-width .2s ease; }
.public:hover { border-top-width: 5px; padding-top: 18px; }

/* Étapes : le filet se dessine à l'apparition */
.etapes li { position: relative; border-top: 0; }
.etapes li::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--taupe);
	transform-origin: left;
}
.etapes li.anim-cache::after { transform: scaleX(0); }
.etapes li.anim-visible::after { transform: scaleX(1); transition: transform 1s cubic-bezier(.2, .7, .2, 1) calc(var(--delai, 0s) + .15s); }

/* Questions fréquentes : ouverture en douceur (navigateurs récents) et « + » qui pivote */
.wp-block-details { interpolate-size: allow-keywords; }
.wp-block-details::details-content {
	block-size: 0;
	overflow: hidden;
	transition: block-size .35s ease, content-visibility .35s allow-discrete;
}
.wp-block-details[open]::details-content { block-size: auto; }
.wp-block-details summary::after { transition: transform .3s ease; }
.wp-block-details[open] summary::after { content: "+"; transform: rotate(45deg); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.anim-cache { opacity: 1; transform: none; }
}
