/*
Theme Name: Riad Tamarrakecht
Theme URI: https://www.riadtamarrakecht.com/
Author: Riad Tamarrakecht
Description: Thème sur mesure pour le Riad Tamarrakecht, maison d'hôtes dans la médina de Marrakech. Direction artistique 2a « Mix ». Chambres, expériences et points d'intérêt gérés depuis le back-office, carte interactive alimentée en JSON, site publié en six langues sans extension.
Version: 1.5.5
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: riad-tamarrakecht
Tags: custom-colors, custom-menu, custom-logo, featured-images, translation-ready, block-styles, wide-blocks
*/

/* ==========================================================================
   1. Jetons de charte
   ========================================================================== */

:root {
	/* Couleurs */
	--rt-creme: #f6f3ec;
	--rt-encre: #17211d;
	--rt-vert: #2f6b57;
	--rt-vert-fonce: #224f40;
	--rt-vert-clair: #e9efe9;
	--rt-vert-pale: #8fc3ae;
	--rt-terre: #c96a3f;
	--rt-texte: #3f4a45;
	--rt-gris: #6b746f;
	--rt-gris-clair: #c9d2cd;
	--rt-ligne: #dcd9cd;
	--rt-ligne-pale: #e8e4d9;
	--rt-bord-champ: #e0ddd2;
	--rt-blanc: #fff;
	--rt-nuit: #0a120f;

	/* Typographie */
	--rt-titre: Newsreader, Georgia, "Times New Roman", serif;
	--rt-texte-police: Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

	/* Rythme */
	--rt-marge: 4vw;
	--rt-rayon-pilule: 999px;
	--rt-rayon-carte: 22px;
	--rt-rayon-tuile: 16px;
	--rt-rayon-media: 18px;

	/* Ombres */
	--rt-ombre-carte: 0 18px 40px -32px rgba(23, 33, 29, .5);
	--rt-ombre-panneau: 0 26px 60px -44px rgba(23, 33, 29, .6);
}

/* ==========================================================================
   2. Réinitialisation et base
   ========================================================================== */

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--rt-creme);
	color: var(--rt-encre);
	font-family: var(--rt-texte-police);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.6;
	/* « clip » et non « hidden » : hidden ferait du corps de page le
	   conteneur de défilement, ce qui met window.scrollY à zéro et prive la
	   barre collante comme le bouton de retour en haut de leur signal. */
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a {
	color: var(--rt-encre);
	text-decoration: none;
	transition: color .25s ease;
}

a:hover,
a:focus {
	color: var(--rt-vert);
}

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

input,
select,
button,
textarea {
	font-family: inherit;
}

::selection {
	background: var(--rt-vert);
	color: var(--rt-blanc);
}

:focus-visible {
	outline: 2px solid var(--rt-vert);
	outline-offset: 3px;
}

/* Lien d'évitement pour les lecteurs d'écran */
.rt-skip {
	position: absolute;
	left: -9999px;
	z-index: 9999;
	padding: 14px 22px;
	background: var(--rt-encre);
	color: var(--rt-blanc);
	border-radius: 0 0 var(--rt-rayon-tuile) 0;
	font-size: 14px;
}

.rt-skip:focus {
	left: 0;
	top: 0;
	color: var(--rt-blanc);
}

.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;
}

/* ==========================================================================
   3. Typographie
   ========================================================================== */

.rt-eyebrow {
	margin: 0 0 20px;
	font-size: 12px;
	letter-spacing: .22em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--rt-vert);
}

.rt-eyebrow--clair {
	color: var(--rt-vert-pale);
}

.rt-eyebrow--blanc {
	color: var(--rt-blanc);
}

.rt-eyebrow--petit {
	margin-bottom: 8px;
	font-size: 11px;
	letter-spacing: .18em;
}


.rt-titre-hero {
	margin: 0;
	font-family: var(--rt-titre);
	font-weight: 300;
	font-style: italic;
	font-size: clamp(46px, 7.2vw, 108px);
	line-height: .96;
	letter-spacing: -.02em;
	max-width: 16ch;
	text-wrap: balance;
}

.rt-titre-page {
	margin: 0;
	font-family: var(--rt-titre);
	font-weight: 300;
	font-style: italic;
	font-size: clamp(44px, 6.4vw, 96px);
	line-height: .98;
	letter-spacing: -.02em;
	text-wrap: balance;
}

.rt-titre-fiche {
	margin: 0;
	font-family: var(--rt-titre);
	font-weight: 300;
	font-style: italic;
	font-size: clamp(42px, 6vw, 88px);
	line-height: .98;
	letter-spacing: -.02em;
}

.rt-titre-legal {
	margin: 0 0 20px;
	font-family: var(--rt-titre);
	font-weight: 300;
	font-style: italic;
	font-size: clamp(40px, 5.4vw, 80px);
	line-height: 1;
	letter-spacing: -.02em;
}

.rt-titre-2 {
	margin: 0;
	font-family: var(--rt-titre);
	font-weight: 400;
	font-size: clamp(32px, 3.6vw, 54px);
	line-height: 1.1;
	letter-spacing: -.015em;
	text-wrap: balance;
}

.rt-titre-2--grand {
	font-size: clamp(34px, 4vw, 58px);
	line-height: 1.05;
}

.rt-titre-2--rang {
	font-size: clamp(32px, 3.6vw, 50px);
	line-height: 1.05;
}

.rt-titre-2--petit {
	font-size: clamp(30px, 3.4vw, 48px);
	line-height: 1.05;
}

.rt-titre-2--section {
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1.1;
}

.rt-titre-2--italique {
	font-weight: 300;
	font-style: italic;
	font-size: clamp(34px, 4.2vw, 62px);
	line-height: 1;
	letter-spacing: -.02em;
}

.rt-titre-2--large {
	font-size: clamp(28px, 3.2vw, 44px);
	line-height: 1.08;
}

.rt-titre-3 {
	margin: 0 0 8px;
	font-family: var(--rt-titre);
	font-weight: 400;
	font-size: 27px;
	line-height: 1.1;
}

.rt-lede {
	margin: 0;
	max-width: 520px;
	font-size: 17px;
	line-height: 1.7;
	color: var(--rt-texte);
}

.rt-lede--clair {
	color: var(--rt-gris-clair);
	max-width: 520px;
}

.rt-lede--gris {
	color: var(--rt-gris);
	max-width: 620px;
	font-size: 16px;
}

.rt-prose {
	font-size: 17px;
	line-height: 1.7;
	color: var(--rt-texte);
	max-width: 560px;
}

.rt-prose p {
	margin: 0 0 18px;
}

.rt-prose p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   4. Structure
   ========================================================================== */

.rt-section {
	padding: 130px var(--rt-marge);
}

.rt-section--serre {
	padding: 0 var(--rt-marge) 130px;
}

.rt-section--sombre {
	background: var(--rt-encre);
	color: var(--rt-creme);
}

.rt-section--sombre a {
	color: var(--rt-creme);
}

.rt-section--sombre a:hover {
	color: var(--rt-vert-pale);
}

.rt-section--centre {
	text-align: center;
}

/* Deux colonnes, quel que soit le nombre d'enfants : un bloc en pleine
   largeur (grid-column: 1/-1) ne doit pas ajouter une troisième piste. */
.rt-duo {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 56px 6vw;
	align-items: start;
}

/* Variante large : le titre prend la place qui reste, la colonne de texte
   est calée à droite et garde une longueur de ligne confortable.
   Le bloc s'arrête aux environs des trois quarts de la page — la marge de
   droite est une respiration, pas un oubli. Le plancher de 860px évite
   qu'il devienne étroit sur les écrans moyens. */
.rt-duo--large {
	grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
	gap: 44px 5vw;
	/* 76 % de la largeur utile, marges de page déduites : le bloc occupe
	   environ 70 % de l'écran. Le plancher évite qu'il se resserre trop sur
	   les écrans moyens. */
	max-width: max(76%, 800px);
	/* Les deux colonnes se posent sur la même ligne de base basse. */
	align-items: end;
}

.rt-duo--large .rt-prose {
	max-width: none;
}

.rt-duo--large .rt-titre-2 {
	max-width: 22ch;
}

.rt-duo--centre {
	align-items: center;
}

.rt-duo--bas {
	align-items: end;
}

.rt-grille {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 14px;
}

.rt-grille--200 {
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}


.rt-grille--230 {
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 28px 20px;
}

.rt-grille--240 {
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 24px;
}

.rt-grille--260 {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 36px 24px;
}

.rt-grille--300 {
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 44px 24px;
}

.rt-pleine-largeur {
	grid-column: 1 / -1;
}

/* Rang de titre : filet supérieur, intitulé à gauche, titre à droite */
.rt-rang {
	border-top: 1px solid var(--rt-ligne);
	padding-top: 26px;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 40px;
}

.rt-rang .rt-eyebrow {
	margin: 0;
}

.rt-rang--bas {
	align-items: flex-end;
	border-top: 0;
	border-bottom: 1px solid var(--rt-ligne);
	padding-top: 0;
	padding-bottom: 24px;
}

.rt-rang__lien {
	font-size: 14px;
	font-weight: 500;
	color: var(--rt-vert);
}

/* En-tête de page intérieure */
.rt-entete {
	padding: 90px var(--rt-marge) 60px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 40px 6vw;
	align-items: end;
}

.rt-entete--haut {
	padding-bottom: 70px;
}

.rt-entete--fiche {
	padding: 40px var(--rt-marge) 0;
	gap: 28px 6vw;
}

.rt-entete--legal {
	display: block;
	padding: 80px var(--rt-marge) 40px;
	max-width: 820px;
}

/* ==========================================================================
   5. Navigation
   ========================================================================== */

.rt-nav {
	position: sticky;
	top: 0;
	/* Au-dessus de tout le contenu de page, y compris la carte. */
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	padding: 24px var(--rt-marge);
	background: var(--rt-vert);
	color: var(--rt-creme);
	border-bottom: 1px solid transparent;
	transition: padding .3s ease, background .3s ease, box-shadow .3s ease;
}

.rt-nav a {
	color: var(--rt-creme);
}

.rt-nav a:hover,
.rt-nav a:focus {
	color: var(--rt-vert-pale);
}

/* Sur le vert, le bouton « Réserver » s'inverse : fond crème, texte encre. */
.rt-nav .rt-btn--encre,
.rt-nav .rt-btn--blanc {
	background: var(--rt-creme);
	color: var(--rt-encre);
}

.rt-nav .rt-btn--encre:hover,
.rt-nav .rt-btn--encre:focus,
.rt-nav .rt-btn--blanc:hover,
.rt-nav .rt-btn--blanc:focus {
	background: var(--rt-vert-pale);
	color: var(--rt-encre);
}

/* Les entrées du menu sont légèrement en retrait… */
.rt-nav__menu > li > a {
	position: relative;
	color: rgba(246, 243, 236, .78);
}

.rt-nav__menu > li > a:hover,
.rt-nav__menu > li > a:focus {
	color: var(--rt-creme);
}

/* …et celle de la page en cours passe en pleine lumière, soulignée d'un
   filet : l'état ne repose pas sur la seule couleur. */
.rt-nav__menu .current-menu-item > a,
.rt-nav__menu .current_page_item > a,
.rt-nav__menu .current-menu-parent > a,
.rt-nav__menu .current-menu-ancestor > a,
.rt-nav__menu .rt-actif > a {
	color: var(--rt-creme);
}

.rt-nav__menu .current-menu-item > a::after,
.rt-nav__menu .current_page_item > a::after,
.rt-nav__menu .current-menu-parent > a::after,
.rt-nav__menu .current-menu-ancestor > a::after,
.rt-nav__menu .rt-actif > a::after {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -7px;
	height: 1px;
	background: var(--rt-vert-pale);
	content: "";
}

/* Resserrée dès que la page défile, pour rendre de la hauteur à la lecture. */
.rt-nav--defilee {
	padding-top: 14px;
	padding-bottom: 14px;
	box-shadow: 0 10px 30px -24px rgba(23, 33, 29, .8);
}

/* La barre de la page d'accueil flotte au-dessus du bandeau. */
.rt-nav--flottante {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: transparent;
	border-bottom-color: transparent;
}

/* Passé le bandeau, elle prend le fond crème et redevient lisible. */
.rt-nav--flottante.rt-nav--defilee {
	background: rgba(47, 107, 87, .96);
	border-bottom-color: transparent;
	backdrop-filter: blur(10px);
}

/* La barre d'administration de WordPress ne doit pas recouvrir la
   navigation — mais elle n'est fixe qu'au-dessus de 782px. En dessous, elle
   défile avec la page : lui réserver de la place y laisserait une bande vide
   sous le haut de l'écran. */
body.admin-bar .rt-nav {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .rt-nav {
		top: 0;
	}
}

.rt-nav__marque {
	font-family: var(--rt-titre);
	font-size: 25px;
	letter-spacing: .01em;
	white-space: nowrap;
}

.rt-nav__marque img {
	display: block;
	max-height: 46px;
	width: auto;
}

.rt-nav__menu {
	display: flex;
	gap: 26px;
	flex-wrap: wrap;
	font-size: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rt-nav__menu li {
	margin: 0;
}

/* Sur grand écran, le nom du riad ramène déjà à l'accueil, le bouton
   « Réserver » est dans la barre, et les réseaux sociaux vivent dans le pied
   de page : ces trois entrées n'existent que dans le panneau du mobile. */
.rt-nav__accueil,
.rt-nav__social,
.rt-nav__resa {
	display: none;
}

/* Sous-menus */
.rt-nav__menu li {
	position: relative;
}

.rt-nav__menu .sub-menu {
	position: absolute;
	top: 100%;
	left: -18px;
	z-index: 40;
	display: none;
	min-width: 220px;
	margin: 0;
	padding: 12px 0;
	list-style: none;
	background: var(--rt-vert-fonce);
	border-radius: var(--rt-rayon-tuile);
	box-shadow: var(--rt-ombre-panneau);
}

.rt-nav__menu li:hover > .sub-menu,
.rt-nav__menu li:focus-within > .sub-menu {
	display: block;
}

.rt-nav__menu .sub-menu a {
	display: block;
	padding: 9px 20px;
	color: var(--rt-creme);
}

.rt-nav__actions {
	display: flex;
	align-items: center;
	gap: 20px;
}

/* Sélecteur de langue.

   Le bouton « Réserver » est la seule pastille pleine de la barre : le
   sélecteur reste donc discret — un drapeau, deux lettres, un chevron, sans
   contour — et ne se donne un fond qu'au survol. Six langues tiennent mal en
   ligne, d'où le menu, ouvert par <details>, sans script. */
.rt-langues {
	position: relative;
	font-size: 13px;
	font-weight: 500;
}

.rt-langues__boite {
	position: relative;
}

.rt-langues__actuelle {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px 8px 10px;
	border-radius: var(--rt-rayon-pilule);
	color: inherit;
	cursor: pointer;
	list-style: none;
	transition: background .25s ease;
}

.rt-langues__actuelle::-webkit-details-marker {
	display: none;
}

.rt-langues__actuelle:hover,
.rt-langues__actuelle:focus-visible,
.rt-langues__boite[open] .rt-langues__actuelle {
	background: rgba(246, 243, 236, .14);
}

.rt-langues__code {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .12em;
}

.rt-langues__chevron {
	width: 6px;
	height: 6px;
	margin-left: -1px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	opacity: .65;
	transform: translateY(-2px) rotate(45deg);
	transition: transform .25s ease, opacity .25s ease;
}

.rt-langues__boite[open] .rt-langues__chevron {
	opacity: 1;
	transform: translateY(1px) rotate(-135deg);
}

/* Les drapeaux sont dessinés en SVG. Un filet sombre leur rend leur bord,
   y compris quand la bande du bord est blanche — France, Italie. */
.rt-drapeau {
	display: block;
	flex: none;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(23, 33, 29, .22);
}

/* Le panneau reprend celui des sous-menus de la barre : même vert sombre,
   même arrondi, même ombre. */
.rt-langues__liste {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	z-index: 60;
	min-width: 196px;
	margin: 0;
	padding: 10px 0;
	list-style: none;
	background: var(--rt-vert-fonce);
	border-radius: var(--rt-rayon-tuile);
	box-shadow: var(--rt-ombre-panneau);
}

.rt-langues__liste li {
	margin: 0;
}

.rt-langues__liste a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 20px;
	color: rgba(246, 243, 236, .74);
	font-size: 14px;
	transition: color .2s ease, background .2s ease;
}

.rt-langues__liste a:hover,
.rt-langues__liste a:focus-visible {
	background: rgba(246, 243, 236, .08);
	color: var(--rt-creme);
}

/* La langue affichée : un trait vert pâle plutôt qu'un fond, pour ne pas
   alourdir le panneau. */
.rt-langues .rt-langue-active a {
	position: relative;
	color: var(--rt-creme);
}

.rt-langues .rt-langue-active a::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 8px;
	width: 3px;
	height: 16px;
	margin-top: -8px;
	border-radius: 2px;
	background: var(--rt-vert-pale);
}

/* Bouton d'ouverture du menu mobile */
.rt-burger {
	position: relative;
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid currentColor;
	border-radius: var(--rt-rayon-pilule);
	background: transparent;
	color: inherit;
	cursor: pointer;
}

/* Trois traits qui se replient en croix. Les deux traits extrêmes sont
   positionnés en absolu pour tourner autour du même centre que le trait
   du milieu : en flux, ils s'empileraient et dessineraient un chevron. */
.rt-burger__trait {
	position: relative;
	display: block;
	width: 17px;
	height: 1px;
	background: currentColor;
	transition: background .2s ease;
}

.rt-burger__trait::before,
.rt-burger__trait::after {
	position: absolute;
	left: 0;
	width: 17px;
	height: 1px;
	background: currentColor;
	content: "";
	transition: transform .3s ease;
}

.rt-burger__trait::before {
	top: -5px;
}

.rt-burger__trait::after {
	top: 5px;
}

/* Une fois le panneau ouvert, les traits laissent place à une vraie croix,
   plus lisible en grand format sur le fond sombre. */
.rt-burger__croix {
	position: absolute;
	font-size: 30px;
	line-height: 1;
	opacity: 0;
	transform: rotate(-45deg) scale(.7);
	transition: opacity .25s ease, transform .3s cubic-bezier(.2, .7, .2, 1);
	pointer-events: none;
}

.rt-burger[aria-expanded="true"] {
	border-color: rgba(246, 243, 236, .6);
}

.rt-burger[aria-expanded="true"] .rt-burger__trait,
.rt-burger[aria-expanded="true"] .rt-burger__trait::before,
.rt-burger[aria-expanded="true"] .rt-burger__trait::after {
	background: transparent;
}

.rt-burger[aria-expanded="true"] .rt-burger__croix {
	opacity: 1;
	transform: rotate(0) scale(1);
}

/* Le panneau plein écran fige la page derrière lui. */
body.rt-menu-ouvert {
	overflow: hidden;
}

/* ==========================================================================
   6. Boutons
   ========================================================================== */

.rt-btn {
	display: inline-block;
	padding: 15px 30px;
	border: 0;
	border-radius: var(--rt-rayon-pilule);
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.rt-btn--vert {
	background: var(--rt-vert);
	color: var(--rt-blanc);
}

.rt-btn--vert:hover,
.rt-btn--vert:focus {
	background: var(--rt-vert-fonce);
	color: var(--rt-blanc);
}

.rt-btn--encre {
	background: var(--rt-encre);
	color: var(--rt-blanc);
	padding: 12px 22px;
}

.rt-btn--encre:hover,
.rt-btn--encre:focus {
	background: var(--rt-vert);
	color: var(--rt-blanc);
}

.rt-btn--blanc {
	background: var(--rt-blanc);
	color: var(--rt-encre);
	padding: 12px 22px;
}

.rt-btn--blanc:hover,
.rt-btn--blanc:focus {
	background: var(--rt-vert);
	color: var(--rt-blanc);
}

.rt-btn--creme {
	background: var(--rt-creme);
	color: var(--rt-encre);
}

.rt-btn--creme:hover,
.rt-btn--creme:focus {
	background: var(--rt-vert-pale);
	color: var(--rt-encre);
}

.rt-btn--ligne {
	background: transparent;
	border: 1px solid var(--rt-encre);
	color: var(--rt-encre);
}

.rt-btn--ligne:hover,
.rt-btn--ligne:focus {
	background: var(--rt-vert-clair);
	color: var(--rt-encre);
}

.rt-btn--ligne-vert:hover,
.rt-btn--ligne-vert:focus {
	background: var(--rt-vert);
	border-color: var(--rt-vert);
	color: var(--rt-blanc);
}

.rt-btn-groupe {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.rt-btn-groupe--centre {
	justify-content: center;
}

/* ==========================================================================
   7. Filtres et onglets
   ========================================================================== */

.rt-filtres {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	padding: 0 var(--rt-marge) 40px;
	margin: 0;
	list-style: none;
}

.rt-filtres--onglets {
	gap: 10px;
	padding-bottom: 30px;
}

.rt-filtres--compact {
	gap: 8px;
	padding: 16px var(--rt-marge) 0;
}

.rt-filtre {
	display: inline-block;
	padding: 11px 22px;
	border: 1px solid var(--rt-ligne);
	border-radius: var(--rt-rayon-pilule);
	background: transparent;
	color: var(--rt-encre);
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.rt-filtre:hover,
.rt-filtre:focus {
	border-color: var(--rt-encre);
	color: var(--rt-encre);
}

.rt-filtre[aria-pressed="true"],
.rt-filtre[aria-selected="true"],
.rt-filtre.rt-actif {
	background: var(--rt-encre);
	border-color: var(--rt-encre);
	color: var(--rt-blanc);
}

.rt-filtre--compact {
	padding: 9px 18px;
	font-size: 13px;
}

/* ==========================================================================
   8. Accueil — bandeau plein écran
   ========================================================================== */

.rt-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 640px;
	height: min(94vh, 920px);
	background: var(--rt-encre);
}

.rt-hero__media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	/* Un mouvement lent, presque imperceptible : la photo respire au lieu
	   de rester figée. */
	animation: rt-respire 26s ease-out both;
	transform-origin: 52% 48%;
}

@keyframes rt-respire {
	from {
		transform: scale(1.085);
	}

	to {
		transform: scale(1);
	}
}

/* Le voile ne travaille qu'aux deux extrémités — sous la barre de
   navigation et au-dessus du module de réservation — et laisse le cœur de
   la photo presque intact. La lisibilité du titre vient de son ombre, pas
   d'un assombrissement général. */
.rt-hero__voile {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg,
			rgba(12, 30, 24, .50) 0%,
			rgba(12, 30, 24, .16) 18%,
			rgba(12, 30, 24, .04) 38%,
			rgba(12, 30, 24, .10) 58%,
			rgba(12, 30, 24, .40) 80%,
			rgba(12, 30, 24, .74) 100%);
}

/* Une vignette très douce recentre le regard sans salir les tons. */
.rt-hero__voile::after {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 96% 82% at 50% 46%, rgba(12, 30, 24, 0) 52%, rgba(12, 30, 24, .34) 100%);
	content: "";
}

.rt-nav--flottante {
	color: var(--rt-blanc);
}

.rt-nav--flottante a {
	color: var(--rt-blanc);
}

.rt-nav--flottante a:hover,
.rt-nav--flottante a:focus {
	color: var(--rt-vert-pale);
}

/* Le bouton « Réserver » garde son texte encre sur son fond blanc :
   la règle ci-dessus ne doit pas le rendre illisible. */
.rt-nav--flottante a.rt-btn--blanc {
	color: var(--rt-encre);
}

.rt-nav--flottante a.rt-btn--blanc:hover,
.rt-nav--flottante a.rt-btn--blanc:focus {
	color: var(--rt-blanc);
}

/* Le fond vert posé, les liens restent clairs : rien à changer, sinon
   rendre au bouton son fond crème. */
.rt-nav--flottante.rt-nav--defilee a.rt-btn--blanc {
	background: var(--rt-creme);
	color: var(--rt-encre);
}

.rt-nav--flottante.rt-nav--defilee a.rt-btn--blanc:hover,
.rt-nav--flottante.rt-nav--defilee a.rt-btn--blanc:focus {
	background: var(--rt-vert-pale);
	color: var(--rt-encre);
}

.rt-hero__contenu {
	position: relative;
	z-index: 2;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--rt-blanc);
	padding: 120px 5vw 72px;
}

/* Trois ombres superposées : une serrée pour détacher la lettre, deux
   larges pour poser le texte sur la photo sans la voiler. */
.rt-hero__contenu .rt-eyebrow,
.rt-hero__contenu .rt-titre-hero {
	text-shadow:
		0 1px 2px rgba(8, 22, 18, .45),
		0 6px 24px rgba(8, 22, 18, .5),
		0 16px 60px rgba(8, 22, 18, .4);
	animation: rt-entree 1.1s cubic-bezier(.2, .7, .2, 1) both;
}

.rt-hero__contenu .rt-eyebrow {
	animation-delay: .15s;
}

.rt-hero__contenu .rt-titre-hero {
	animation-delay: .28s;
}

@keyframes rt-entree {
	from {
		opacity: 0;
		transform: translateY(22px);
	}

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

/* Un filet lumineux sous le titre : discret, il donne de la tenue au bloc. */
.rt-hero__contenu::after {
	width: min(120px, 24vw);
	height: 1px;
	margin-top: 34px;
	background: linear-gradient(90deg, transparent, rgba(246, 243, 236, .75), transparent);
	content: "";
	animation: rt-entree 1.1s cubic-bezier(.2, .7, .2, 1) .45s both;
}

.rt-hero__contenu .rt-eyebrow {
	margin-bottom: 22px;
	color: var(--rt-blanc);
}

/* ==========================================================================
   9. Emplacement du module de réservation
   --------------------------------------------------------------------------
   Le thème n'habille pas le module de réservation : fond, couleurs, bordures,
   arrondis et ombres viennent de son propre plugin. On ne lui pose donc
   aucun style — la seule chose que le thème garde en main, c'est la place
   du bloc sur la page d'accueil, que le plugin ne peut pas connaître.
   ========================================================================== */

/* Sous le bandeau de l'accueil : marges latérales, et la barre chevauche le
   bandeau. Placement seulement — rien qui se voie.

   Le « top » descend le module pour qu'il se pose à cheval sur la ligne du
   bas du bandeau. Il décale sans rien pousser : la place réservée dans le
   flux ne bouge pas, la section suivante non plus. */
.rt-resa--accueil {
	position: relative;
	top: 10px;
	z-index: 3;
	margin: 0 var(--rt-marge) -64px;
}

/* Repère affiché aux éditeurs quand aucun code court n'est renseigné. */
.rt-resa--vide {
	padding: 30px clamp(22px, 3vw, 38px);
	border: 1px dashed var(--rt-vert);
	background: var(--rt-vert-clair);
}

.rt-resa__repere-titre {
	margin: 0 0 8px;
	font-size: 11px;
	letter-spacing: .18em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--rt-vert);
}

.rt-resa__repere-texte {
	margin: 0 0 18px;
	max-width: 62ch;
	font-size: 15px;
	line-height: 1.6;
	color: var(--rt-texte);
}

.rt-resa__repere-note {
	margin: 16px 0 0;
	font-size: 13px;
	line-height: 1.55;
	color: var(--rt-gris);
}

/* Mentions sous l'emplacement, dans les fiches. */
.rt-resa__mentions {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 14px;
	font-size: 13px;
	color: var(--rt-gris);
}

.rt-resa__mentions a {
	color: var(--rt-vert);
}

/* ==========================================================================
   10. Tuiles, cartes et médias
   ========================================================================== */

.rt-tuile {
	background: var(--rt-vert-clair);
	border-radius: var(--rt-rayon-tuile);
	padding: 26px 24px;
}

.rt-tuile__chiffre {
	margin: 0 0 8px;
	font-family: var(--rt-titre);
	font-size: 32px;
	line-height: 1;
}

.rt-tuile__texte {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--rt-texte);
}

.rt-tuile--texte {
	padding: 24px 22px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--rt-texte);
}

.rt-tuile--texte p:first-child {
	margin: 0 0 6px;
	font-family: var(--rt-titre);
	font-size: 22px;
	color: var(--rt-encre);
}

.rt-tuile--large {
	border-radius: var(--rt-rayon-media);
	padding: 28px 26px;
}

.rt-tuile--large h3 {
	margin: 0 0 10px;
	font-family: var(--rt-titre);
	font-weight: 400;
	font-size: 26px;
	line-height: 1.1;
}

.rt-tuile--large p {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: var(--rt-texte);
}

.rt-carte {
	display: flex;
	flex-direction: column;
	background: var(--rt-blanc);
	border-radius: var(--rt-rayon-carte);
	overflow: hidden;
	box-shadow: var(--rt-ombre-carte);
}

.rt-carte__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--rt-vert-clair);
}

.rt-carte__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}

.rt-carte__media:hover img,
.rt-carte__media:focus img {
	transform: scale(1.04);
}

.rt-carte__sur-titre {
	margin: 22px 24px 8px;
	font-size: 12px;
	letter-spacing: .2em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--rt-vert);
}

.rt-carte__titre {
	margin: 0 24px 10px;
	font-family: var(--rt-titre);
	font-weight: 400;
	font-size: 28px;
	line-height: 1.1;
}

.rt-carte__titre a {
	color: inherit;
}

.rt-carte__extrait {
	margin: 0 24px 16px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--rt-texte);
}

.rt-carte__chips {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin: 0 24px 22px;
}

.rt-carte__pied {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	padding: 16px 24px 22px;
	border-top: 1px solid var(--rt-ligne-pale);
}

.rt-carte__pied p {
	margin: 0;
	font-size: 14px;
	color: var(--rt-gris);
}

.rt-carte__lien {
	font-size: 14px;
	font-weight: 500;
	color: var(--rt-vert);
}

.rt-chip {
	background: var(--rt-vert-clair);
	border-radius: var(--rt-rayon-pilule);
	padding: 6px 14px;
	font-size: 12px;
	color: var(--rt-texte);
}

/* Panneau blanc générique */
.rt-panneau {
	background: var(--rt-blanc);
	border-radius: 20px;
	padding: 28px 26px;
	box-shadow: 0 18px 40px -36px rgba(23, 33, 29, .5);
}

.rt-panneau--large {
	border-radius: 24px;
	padding: 36px clamp(24px, 4vw, 56px) 40px;
	box-shadow: var(--rt-ombre-panneau);
}

/* Vignette compacte cliquable (autres chambres / expériences) */
.rt-vignette {
	display: block;
	text-align: left;
	background: var(--rt-blanc);
	border: 0;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 18px 40px -34px rgba(23, 33, 29, .5);
}

.rt-vignette__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--rt-vert-clair);
}

.rt-vignette__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.rt-vignette__corps {
	padding: 18px 20px 22px;
}

.rt-vignette__cat {
	margin: 0 0 6px;
	font-size: 12px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--rt-vert);
}

.rt-vignette__titre {
	margin: 0 0 4px;
	font-family: var(--rt-titre);
	font-size: 24px;
	line-height: 1.1;
}

.rt-vignette__meta {
	margin: 0;
	font-size: 14px;
	color: var(--rt-gris);
}

/* Médias */
.rt-media {
	display: block;
	width: 100%;
	object-fit: cover;
	border-radius: var(--rt-rayon-media);
}

.rt-media--bandeau {
	aspect-ratio: 21 / 9;
	border-radius: 24px;
}

.rt-media--16-9 {
	aspect-ratio: 16 / 9;
	border-radius: 24px;
}

.rt-media--4-3 {
	aspect-ratio: 4 / 3;
}

.rt-media--3-2 {
	aspect-ratio: 3 / 2;
}

.rt-media--3-4 {
	aspect-ratio: 3 / 4;
}

.rt-media--4-5 {
	aspect-ratio: 4 / 5;
}


.rt-media--decale {
	margin-bottom: 56px;
}


.rt-diptyque {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	align-items: end;
}

/* Un cadre qui laisse la photo s'agrandir doucement au survol. */
.rt-media-cadre {
	overflow: hidden;
	border-radius: 24px;
}

.rt-media-cadre img {
	transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}

.rt-media-cadre:hover img {
	transform: scale(1.03);
}

/* La photo du toit descend un peu, pour casser l'alignement des deux
   colonnes et donner du rythme à la page. */
.rt-media--plafond {
	max-width: 560px;
	border-radius: var(--rt-rayon-carte);
}

/* Prose sur fond sombre. */
.rt-prose--clair {
	color: var(--rt-gris-clair);
	max-width: 500px;
}

/* La bande de photos de bas de page. */
.rt-bande {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 14px;
}

.rt-bande__vue {
	display: block;
	overflow: hidden;
	border-radius: var(--rt-rayon-media);
	background: var(--rt-vert-clair);
}

.rt-bande__vue img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	transition: transform 1s cubic-bezier(.2, .7, .2, 1);
}

.rt-bande__vue:hover img,
.rt-bande__vue:focus img {
	transform: scale(1.05);
}


/* Galerie d'une fiche : une grande photo, quatre vignettes à sa droite.
   Toutes ouvrent la visionneuse. */
.rt-galerie-fiche {
	padding: 36px var(--rt-marge) 0;
}

.rt-galerie-fiche__grille {
	display: grid;
	/* 1.2fr / 1fr : à ce partage, la colonne de droite tient deux vignettes
	   en 4/3 par rang, comme les cartes de liste. */
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 12px;
	align-items: stretch;
}

/* Sans vignette, ou avec une ou deux seulement, la grande photo prend toute
   la largeur : une colonne de droite à moitié vide se verrait trop. */
.rt-galerie-fiche__grille--seule,
.rt-galerie-fiche__grille--bande {
	grid-template-columns: minmax(0, 1fr);
}

.rt-galerie-fiche__principale,
.rt-galerie-fiche__vignette {
	position: relative;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	overflow: hidden;
	background: var(--rt-vert-clair);
	cursor: zoom-in;
}

/* Le format de la grande photo quand elle est seule sur son rang ; à côté
   des vignettes, c'est leur colonne qui lui donne sa hauteur. */
.rt-galerie-fiche__principale {
	aspect-ratio: 16 / 10;
	border-radius: var(--rt-rayon-carte);
}

.rt-galerie-fiche__principale img,
.rt-galerie-fiche__vignette img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 1s cubic-bezier(.2, .7, .2, 1);
}

.rt-galerie-fiche__principale:hover img,
.rt-galerie-fiche__principale:focus-visible img,
.rt-galerie-fiche__vignette:hover img,
.rt-galerie-fiche__vignette:focus-visible img {
	transform: scale(1.04);
}

.rt-galerie-fiche__suite {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	min-height: 0;
}

/* Trois ou quatre vignettes : la colonne se donne un format fixe, et c'est
   elle — non la hauteur naturelle des images — qui règle le rang. */
.rt-galerie-fiche__suite--3,
.rt-galerie-fiche__suite--4 {
	grid-template-rows: repeat(2, minmax(0, 1fr));
	aspect-ratio: 4 / 3;
}

/* À trois, la première occupe toute la hauteur de la première colonne. */
.rt-galerie-fiche__suite--3 .rt-galerie-fiche__vignette:first-child {
	grid-row: span 2;
}

.rt-galerie-fiche__vignette {
	height: 100%;
	min-height: 0;
	border-radius: var(--rt-rayon-media);
}

/* Sous la grande photo, les vignettes reprennent le 4/3 des cartes. */
.rt-galerie-fiche__grille--bande .rt-galerie-fiche__vignette {
	height: auto;
	aspect-ratio: 4 / 3;
}

/* Le compte des photos qui restent, sur la dernière vignette. */
.rt-galerie-fiche__plus {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(10, 18, 15, .5);
	color: var(--rt-blanc);
	font-size: 15px;
	font-weight: 500;
	text-align: center;
	padding: 8px;
	transition: background .3s ease;
}

.rt-galerie-fiche__vignette:hover .rt-galerie-fiche__plus,
.rt-galerie-fiche__vignette:focus-visible .rt-galerie-fiche__plus {
	background: rgba(10, 18, 15, .65);
}

.rt-galerie-fiche__toutes {
	display: inline-block;
	margin-top: 14px;
	font-size: 14px;
	font-weight: 500;
	color: var(--rt-vert);
	border-bottom: 1px solid var(--rt-ligne);
	padding-bottom: 2px;
}

.rt-galerie-fiche__toutes:hover,
.rt-galerie-fiche__toutes:focus {
	border-bottom-color: currentColor;
}

/* ==========================================================================
   11. Listes de définitions
   ========================================================================== */

.rt-dl {
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 0 32px;
	border-top: 1px solid var(--rt-ligne);
}

.rt-dl--large {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}


.rt-dl__ligne {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid var(--rt-ligne);
}

.rt-dl__ligne dt {
	font-size: 15px;
	color: var(--rt-gris);
}

.rt-dl__ligne dd {
	margin: 0;
	font-size: 15px;
	text-align: right;
}

/* Variante empilée : le libellé en petites capitales, la valeur en Newsreader.
   Sert aux repères du quartier, sur « La maison ». */
.rt-dl--etroit {
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.rt-dl--empile .rt-dl__ligne {
	display: block;
	padding: 20px 0;
}

.rt-dl--empile .rt-dl__ligne dt {
	margin-bottom: 8px;
	font-size: 11px;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.rt-dl--empile .rt-dl__ligne dd {
	font-family: var(--rt-titre);
	font-size: 22px;
	text-align: left;
}

/* Bandeau de caractéristiques d'une fiche */
.rt-caracs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 24px 32px;
	padding-bottom: 26px;
	border-bottom: 1px solid var(--rt-ligne);
	margin-bottom: 40px;
}

.rt-caracs__cle {
	margin: 0 0 4px;
	font-size: 11px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--rt-gris);
}

.rt-caracs__valeur {
	margin: 0;
	font-family: var(--rt-titre);
	font-size: 24px;
}

/* ==========================================================================
   12. Citations
   ========================================================================== */

.rt-cite-phare {
	margin: 0 auto;
	max-width: 960px;
	font-family: var(--rt-titre);
	font-weight: 300;
	font-style: italic;
	font-size: clamp(28px, 3.4vw, 50px);
	line-height: 1.2;
	letter-spacing: -.01em;
	text-wrap: balance;
}

.rt-cite-source {
	margin: 28px 0 0;
	font-size: 13px;
	letter-spacing: .08em;
	color: var(--rt-gris-clair);
}

.rt-cites {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 14px;
	max-width: 1100px;
	margin: 64px auto 0;
	text-align: left;
}

.rt-cite {
	margin: 0;
	background: rgba(246, 243, 236, .07);
	border-radius: var(--rt-rayon-tuile);
	padding: 26px 24px;
}

.rt-cite p {
	margin: 0 0 16px;
	font-family: var(--rt-titre);
	font-size: 20px;
	line-height: 1.35;
}

.rt-cite footer {
	font-size: 13px;
	color: #a9b5af;
}

.rt-cite--clair {
	background: var(--rt-blanc);
	border-radius: var(--rt-rayon-media);
	padding: 26px 24px;
	box-shadow: 0 18px 40px -34px rgba(23, 33, 29, .5);
}

.rt-cite--clair footer {
	color: var(--rt-gris);
}

/* ==========================================================================
   13. Équipements (fiche chambre)
   ========================================================================== */

.rt-equipements {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 28px 32px;
	margin-bottom: 44px;
}

.rt-equipement {
	background: var(--rt-blanc);
	border-radius: var(--rt-rayon-media);
	padding: 26px 24px;
	box-shadow: 0 18px 40px -36px rgba(23, 33, 29, .5);
}

.rt-equipement__icone {
	width: 40px;
	height: 40px;
	border-radius: var(--rt-rayon-pilule);
	background: var(--rt-vert-clair);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}

.rt-equipement__titre {
	margin: 0 0 12px;
	font-size: 11px;
	letter-spacing: .18em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--rt-vert);
}

.rt-liste-puces {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 8px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--rt-texte);
}

.rt-liste-puces li {
	display: grid;
	grid-template-columns: 14px 1fr;
	gap: 10px;
	align-items: start;
}

.rt-liste-puces li::before {
	content: "·";
	color: var(--rt-vert);
}

.rt-liste-puces--signes li {
	grid-template-columns: 16px 1fr;
	gap: 10px;
}

.rt-liste-puces--plus li::before {
	content: "+";
	color: var(--rt-vert);
}

.rt-liste-puces--moins li::before {
	content: "–";
	color: var(--rt-gris);
}

.rt-triptyque {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 32px 40px;
	margin-bottom: 60px;
}

.rt-triptyque__titre {
	margin: 0 0 14px;
	font-size: 11px;
	letter-spacing: .2em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--rt-vert);
}

.rt-triptyque__titre--gris {
	color: var(--rt-gris);
}

/* Encart « conseil de la maison » */
.rt-conseil {
	background: var(--rt-vert-clair);
	border-radius: 20px;
	padding: 28px 26px;
	margin-bottom: 60px;
	max-width: 820px;
}

.rt-conseil p:last-child {
	margin: 0;
	font-size: 17px;
	line-height: 1.7;
	color: var(--rt-texte);
}

/* Déroulé horaire d'une expérience */
.rt-etapes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 20px;
	margin-bottom: 60px;
}

.rt-etape {
	background: var(--rt-blanc);
	border-radius: 20px;
	padding: 26px 24px;
	box-shadow: 0 18px 40px -36px rgba(23, 33, 29, .5);
}

.rt-etape__heure {
	margin: 0 0 12px;
	font-family: var(--rt-titre);
	font-size: 32px;
	line-height: 1;
	color: var(--rt-vert);
}

.rt-etape__titre {
	margin: 0 0 8px;
	font-family: var(--rt-titre);
	font-size: 22px;
	line-height: 1.15;
}

.rt-etape__texte {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--rt-texte);
}

/* ==========================================================================
   14. La table — la carte des plats
   ========================================================================== */

.rt-menu-bloc {
	margin-bottom: 34px;
}

.rt-menu-bloc__titre {
	margin: 0 0 18px;
	font-size: 11px;
	letter-spacing: .2em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--rt-vert);
}

.rt-plat {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px 24px;
	align-items: baseline;
	padding: 14px 0;
	border-bottom: 1px solid #eeebe1;
}

.rt-plat__nom {
	margin: 0 0 4px;
	font-family: var(--rt-titre);
	font-size: 22px;
	line-height: 1.2;
}

.rt-plat__desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--rt-gris);
}

.rt-plat__tag {
	margin: 0;
	font-size: 13px;
	letter-spacing: .06em;
	color: var(--rt-vert);
	white-space: nowrap;
}

.rt-menu-note {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--rt-gris);
}

.rt-repas-entete {
	padding: 0 var(--rt-marge) 30px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px 6vw;
	align-items: end;
	max-width: 1200px;
}

.rt-repas-entete .rt-eyebrow {
	margin-bottom: 14px;
}

.rt-repas-entete .rt-lede {
	max-width: none;
	font-size: 17px;
	line-height: 1.75;
}

/* ==========================================================================
   15. Galerie filtrable
   ========================================================================== */

.rt-galerie {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 14px;
	padding: 0 var(--rt-marge) 120px;
}

.rt-galerie__item {
	margin: 0;
	position: relative;
	border-radius: var(--rt-rayon-media);
	overflow: hidden;
	background: var(--rt-vert-clair);
}

.rt-galerie__item img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	display: block;
	transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}

.rt-galerie__item:hover img,
.rt-galerie__item:focus-within img {
	transform: scale(1.04);
}

.rt-galerie__legende {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 44px 18px 16px;
	background: linear-gradient(180deg, rgba(10, 18, 15, 0), rgba(10, 18, 15, .75));
	color: var(--rt-blanc);
	font-size: 14px;
	line-height: 1.4;
}

.rt-galerie__declencheur {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
}

/* Visionneuse */
.rt-visionneuse {
	position: fixed;
	inset: 0;
	z-index: 900;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 4vw;
	background: rgba(10, 18, 15, .93);
}

.rt-visionneuse[open],
.rt-visionneuse.rt-ouverte {
	display: flex;
}

.rt-visionneuse__image {
	max-width: 100%;
	max-height: 82vh;
	border-radius: var(--rt-rayon-media);
	display: block;
}

.rt-visionneuse__legende {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 26px;
	text-align: center;
	color: var(--rt-creme);
	font-size: 15px;
	padding: 0 6vw;
}

.rt-visionneuse__fermer,
.rt-visionneuse__nav {
	position: absolute;
	border: 1px solid rgba(246, 243, 236, .4);
	background: rgba(10, 18, 15, .5);
	color: var(--rt-creme);
	border-radius: var(--rt-rayon-pilule);
	width: 46px;
	height: 46px;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.rt-visionneuse__fermer {
	top: 20px;
	right: 20px;
}

.rt-visionneuse__nav--prec {
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
}

.rt-visionneuse__nav--suiv {
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
}

/* ==========================================================================
   16. Contact
   ========================================================================== */

.rt-contact {
	padding: 0 var(--rt-marge) 100px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 48px 5vw;
	align-items: start;
}

.rt-contact__colonne {
	display: grid;
	gap: 14px;
	align-content: start;
}

.rt-contact__bloc {
	display: block;
	background: var(--rt-blanc);
	border-radius: 20px;
	padding: 26px 24px;
	box-shadow: 0 18px 40px -36px rgba(23, 33, 29, .5);
}

.rt-contact__valeur {
	margin: 0 0 6px;
	font-family: var(--rt-titre);
	font-size: 28px;
	line-height: 1.1;
	word-break: break-word;
}

.rt-contact__valeur--email {
	font-size: 26px;
}

.rt-contact__note {
	margin: 0;
	font-size: 14px;
	color: var(--rt-gris);
}

.rt-contact__adresse {
	margin: 0 0 10px;
	font-size: 17px;
	line-height: 1.6;
}

/* Formulaire */
.rt-form {
	background: var(--rt-blanc);
	border-radius: 24px;
	padding: 32px clamp(22px, 3vw, 38px) 34px;
	box-shadow: var(--rt-ombre-panneau);
}

.rt-form__titre {
	margin: 0 0 22px;
	font-family: var(--rt-titre);
	font-size: 28px;
	line-height: 1.1;
}

.rt-form__corps {
	display: grid;
	gap: 14px;
}

.rt-form__duo {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 14px;
}

.rt-champ {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--rt-gris);
}

.rt-champ input,
.rt-champ select,
.rt-champ textarea {
	border: 1px solid var(--rt-bord-champ);
	border-radius: 14px;
	padding: 13px 16px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--rt-encre);
	background: var(--rt-creme);
	outline: none;
	transition: border-color .2s ease;
}

.rt-champ input:focus,
.rt-champ select:focus,
.rt-champ textarea:focus {
	border-color: var(--rt-vert);
}

.rt-champ textarea {
	resize: vertical;
}

.rt-form__note {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--rt-gris);
}

.rt-form__envoi {
	justify-self: stretch;
	padding: 15px 26px;
}

/* Messages du formulaire */
.rt-message {
	margin: 0 0 18px;
	padding: 14px 18px;
	border-radius: 14px;
	font-size: 15px;
	line-height: 1.55;
}

.rt-message--succes {
	background: var(--rt-vert-clair);
	color: var(--rt-vert-fonce);
}

.rt-message--erreur {
	background: #f7e8e0;
	color: #8d3d19;
}

.rt-champ--erreur input,
.rt-champ--erreur select,
.rt-champ--erreur textarea {
	border-color: var(--rt-terre);
}

/* Piège à robots : invisible mais pas display:none, pour rester rempli par les robots */
.rt-pot-de-miel {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ==========================================================================
   17. Carte interactive
   --------------------------------------------------------------------------
   L'habillage complet de la carte vit dans assets/css/carte.css, chargé
   seulement sur les pages qui l'affichent. Ici, uniquement la réserve
   d'espace, pour éviter un saut de mise en page avant le chargement de
   Leaflet.
   ========================================================================== */

.rt-carte-vive {
	position: relative;
	/* La carte forme son propre contexte d'empilement : les z-index élevés
	   de Leaflet restent à l'intérieur et ne passent plus devant la barre
	   de navigation. */
	isolation: isolate;
	z-index: 0;
	height: min(75vh, 620px);
	min-height: 520px;
	border-radius: 24px;
	overflow: hidden;
	background: var(--rt-vert-clair);
}

/* ==========================================================================
   18. Pages légales
   ========================================================================== */

.rt-legal-nav {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	padding: 0 var(--rt-marge) 40px;
	margin: 0;
	list-style: none;
	font-size: 14px;
}

.rt-legal-nav a {
	display: inline-block;
	border: 1px solid var(--rt-ligne);
	border-radius: var(--rt-rayon-pilule);
	padding: 10px 20px;
	color: var(--rt-encre);
}

.rt-legal-nav a:hover,
.rt-legal-nav a:focus {
	border-color: var(--rt-encre);
	color: var(--rt-encre);
}

.rt-legal-nav .rt-actif a,
.rt-legal-nav .current-menu-item a,
.rt-legal-nav .current_page_item a {
	background: var(--rt-encre);
	border-color: var(--rt-encre);
	color: var(--rt-blanc);
}

.rt-legal {
	padding: 0 var(--rt-marge) 120px;
	max-width: 820px;
	font-size: 17px;
	line-height: 1.75;
	color: var(--rt-texte);
}

.rt-legal h2 {
	margin: 40px 0 14px;
	font-family: var(--rt-titre);
	font-weight: 400;
	font-size: 30px;
	line-height: 1.15;
	color: var(--rt-encre);
}

.rt-legal h2:first-child {
	margin-top: 0;
}

.rt-legal h3 {
	margin: 28px 0 10px;
	font-family: var(--rt-titre);
	font-weight: 400;
	font-size: 23px;
	line-height: 1.2;
	color: var(--rt-encre);
}

.rt-legal p {
	margin: 0 0 14px;
}

.rt-legal ul,
.rt-legal ol {
	margin: 0 0 20px;
	padding-left: 22px;
}

.rt-legal li {
	margin-bottom: 8px;
}

.rt-legal a {
	color: var(--rt-vert);
	border-bottom: 1px solid currentColor;
}

.rt-legal dl {
	margin: 0 0 40px;
	border-top: 1px solid var(--rt-ligne);
}

.rt-legal dl > div {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 4px 24px;
	padding: 14px 0;
	border-bottom: 1px solid var(--rt-ligne);
}

.rt-legal dt {
	font-size: 15px;
	color: var(--rt-gris);
}

.rt-legal dd {
	margin: 0;
	font-size: 16px;
}

.rt-legal table,
.rt-legal .wp-block-table table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	border: 0;
	font-size: 15px;
}

.rt-legal .wp-block-table {
	margin: 0 0 32px;
}

.rt-legal th,
.rt-legal td,
.rt-legal .wp-block-table th,
.rt-legal .wp-block-table td {
	padding: 14px 24px 14px 0;
	border: 0;
	border-bottom: 1px solid var(--rt-ligne);
	text-align: left;
	vertical-align: top;
	word-break: normal;
}

/* La première colonne reprend l'allure des intitulés de la maquette. */
.rt-legal td:first-child {
	width: 34%;
	color: var(--rt-gris);
}

.rt-legal tr:first-child td {
	border-top: 1px solid var(--rt-ligne);
}

.rt-legal th {
	font-weight: 500;
	color: var(--rt-encre);
}

/* ==========================================================================
   19. Contenu libre de l'éditeur
   ========================================================================== */

.rt-contenu {
	font-size: 17px;
	line-height: 1.75;
	color: var(--rt-texte);
}

.rt-contenu > *:first-child {
	margin-top: 0;
}

.rt-contenu h2 {
	margin: 44px 0 16px;
	font-family: var(--rt-titre);
	font-weight: 400;
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1.1;
	letter-spacing: -.015em;
	color: var(--rt-encre);
}

.rt-contenu h3 {
	margin: 32px 0 12px;
	font-family: var(--rt-titre);
	font-weight: 400;
	font-size: 26px;
	line-height: 1.15;
	color: var(--rt-encre);
}

.rt-contenu h4 {
	margin: 26px 0 10px;
	font-size: 12px;
	letter-spacing: .2em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--rt-vert);
}

.rt-contenu p {
	margin: 0 0 18px;
}

.rt-contenu a {
	color: var(--rt-vert);
	border-bottom: 1px solid currentColor;
}

.rt-contenu ul,
.rt-contenu ol {
	margin: 0 0 22px;
	padding-left: 22px;
}

.rt-contenu li {
	margin-bottom: 8px;
}

.rt-contenu blockquote {
	margin: 32px 0;
	padding: 26px 28px;
	background: var(--rt-vert-clair);
	border-radius: 20px;
	font-family: var(--rt-titre);
	font-size: 22px;
	line-height: 1.4;
	color: var(--rt-encre);
}

.rt-contenu blockquote p:last-child {
	margin: 0;
}

.rt-contenu img,
.rt-contenu .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--rt-rayon-media);
}

/* Les images du contenu respirent autant que les sections du thème. */
.rt-contenu .wp-block-image {
	margin: 40px 0;
}

.rt-contenu .wp-block-image.alignwide img {
	border-radius: var(--rt-rayon-carte);
	aspect-ratio: 21 / 9;
	object-fit: cover;
}

.rt-contenu .wp-block-columns {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
	margin: 40px 0;
}

.rt-contenu .wp-block-column {
	min-width: 0;
}

.rt-contenu .wp-block-column .wp-block-image {
	margin: 0;
}

.rt-contenu .wp-block-columns img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.rt-contenu .wp-block-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 14px;
	margin: 44px 0;
}

.rt-contenu .wp-block-gallery .wp-block-image {
	margin: 0;
}

.rt-contenu .wp-block-gallery img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.rt-contenu .wp-block-gallery figcaption {
	display: none;
}

.rt-contenu figure {
	margin: 32px 0;
}

.rt-contenu figcaption {
	margin-top: 10px;
	font-size: 14px;
	color: var(--rt-gris);
}

.rt-contenu table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 28px;
	font-size: 15px;
}

.rt-contenu th,
.rt-contenu td {
	padding: 14px 24px 14px 0;
	border: 0;
	border-bottom: 1px solid var(--rt-ligne);
	text-align: left;
	vertical-align: top;
}

.rt-contenu .wp-block-table table {
	border: 0;
}

.rt-contenu td:first-child {
	width: 34%;
	color: var(--rt-gris);
}

.rt-contenu hr,
.rt-contenu .wp-block-separator {
	margin: 44px 0;
	border: 0;
	border-top: 1px solid var(--rt-ligne);
}

/* Largeurs des blocs Gutenberg */
/* Un bloc large déborde jusqu'aux marges de la page, pas au-delà : sans
   cette borne, une fenêtre étroite gagnait une barre de défilement
   horizontale. */
.rt-contenu .alignwide,
.rt-contenu .alignfull {
	margin-left: calc(-1 * var(--rt-marge));
	margin-right: calc(-1 * var(--rt-marge));
	width: auto;
	max-width: calc(100% + 2 * var(--rt-marge));
}

.rt-contenu .alignleft {
	float: left;
	margin: 6px 28px 20px 0;
}

.rt-contenu .alignright {
	float: right;
	margin: 6px 0 20px 28px;
}

.rt-contenu .aligncenter {
	margin-left: auto;
	margin-right: auto;
}

.rt-contenu .wp-caption-text {
	font-size: 14px;
	color: var(--rt-gris);
}

/* ==========================================================================
   20. Fil d'Ariane
   ========================================================================== */

.rt-ariane {
	padding: 20px var(--rt-marge) 0;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
	font-size: 13px;
	color: var(--rt-gris);
}

.rt-ariane a {
	color: var(--rt-gris);
}

.rt-ariane a:hover,
.rt-ariane a:focus {
	color: var(--rt-vert);
}

.rt-ariane__actuel {
	color: var(--rt-encre);
}

/* ==========================================================================
   21. Pied de page
   ========================================================================== */

.rt-pied {
	background: var(--rt-encre);
	color: var(--rt-gris-clair);
	padding: 90px var(--rt-marge) 34px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 44px 5vw;
	font-size: 15px;
	line-height: 1.7;
}

.rt-pied a {
	color: var(--rt-creme);
}

.rt-pied a:hover,
.rt-pied a:focus {
	color: var(--rt-vert-pale);
}

.rt-pied__signature {
	grid-column: 1 / -1;
}

.rt-pied__signature p {
	margin: 0;
	font-family: var(--rt-titre);
	font-weight: 300;
	font-style: italic;
	font-size: clamp(40px, 7vw, 118px);
	line-height: .95;
	letter-spacing: -.03em;
	color: var(--rt-creme);
}

.rt-pied__titre {
	margin: 0 0 8px;
	font-size: 11px;
	letter-spacing: .18em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--rt-vert-pale);
}

.rt-pied__lien-souligne {
	border-bottom: 1px solid currentColor;
}

.rt-pied__bas {
	grid-column: 1 / -1;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-top: 26px;
	border-top: 1px solid rgba(201, 210, 205, .2);
	font-size: 12px;
}

.rt-pied__bas ul {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rt-pied__bas li:not(:last-child)::after {
	content: " ·";
}

.rt-pied__bas a {
	color: inherit;
}

/* Widgets dans le pied */
.rt-pied .widget {
	margin-bottom: 24px;
}

.rt-pied .widget-title {
	margin: 0 0 8px;
	font-size: 11px;
	letter-spacing: .18em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--rt-vert-pale);
}

.rt-pied ul.menu,
.rt-pied .widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* ==========================================================================
   20 bis. Questions fréquentes
   ========================================================================== */

.rt-questions {
	display: grid;
	gap: 0;
	max-width: 900px;
	border-top: 1px solid var(--rt-ligne);
}

.rt-question {
	border-bottom: 1px solid var(--rt-ligne);
}

.rt-question__titre {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 0;
	font-family: var(--rt-titre);
	font-size: clamp(19px, 2.2vw, 24px);
	line-height: 1.3;
	color: var(--rt-encre);
	cursor: pointer;
	list-style: none;
	transition: color .2s ease;
}

.rt-question__titre::-webkit-details-marker {
	display: none;
}

.rt-question__titre::after {
	flex: 0 0 auto;
	font-family: var(--rt-texte-police);
	font-size: 22px;
	line-height: 1;
	color: var(--rt-vert);
	content: "+";
	transition: transform .3s ease;
}

.rt-question[open] .rt-question__titre::after {
	transform: rotate(45deg);
}

.rt-question__titre:hover,
.rt-question__titre:focus-visible {
	color: var(--rt-vert);
}

.rt-question__reponse {
	padding: 0 0 24px;
	max-width: 70ch;
	font-size: 17px;
	line-height: 1.75;
	color: var(--rt-texte);
}

.rt-question__reponse p {
	margin: 0 0 14px;
}

.rt-question__reponse p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   21 bis. Retour en haut de page
   ========================================================================== */

.rt-haut {
	position: fixed;
	right: clamp(16px, 3vw, 34px);
	bottom: clamp(16px, 3vw, 34px);
	z-index: 55;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 1px solid var(--rt-ligne);
	border-radius: var(--rt-rayon-pilule);
	background: var(--rt-creme);
	color: var(--rt-encre);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 18px 40px -26px rgba(23, 33, 29, .9);
	opacity: 0;
	transform: translateY(12px);
	transition: opacity .3s ease, transform .3s ease, background .25s ease, color .25s ease;
}

.rt-haut[hidden] {
	display: none;
}

body.rt-menu-ouvert .rt-haut {
	display: none;
}

.rt-haut--visible {
	opacity: 1;
	transform: translateY(0);
}

.rt-haut:hover,
.rt-haut:focus {
	background: var(--rt-vert);
	border-color: var(--rt-vert);
	color: var(--rt-blanc);
}

@media print {
	.rt-haut {
		display: none !important;
	}
}

/* ==========================================================================
   22. Pagination, 404, recherche
   ========================================================================== */

.rt-pagination {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	padding: 0 var(--rt-marge) 120px;
}

.rt-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--rt-ligne);
	border-radius: var(--rt-rayon-pilule);
	font-size: 14px;
	font-weight: 500;
}

.rt-pagination .page-numbers.current {
	background: var(--rt-encre);
	border-color: var(--rt-encre);
	color: var(--rt-blanc);
}

.rt-recherche {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	max-width: 520px;
}

.rt-recherche input[type="search"] {
	flex: 1 1 220px;
	border: 1px solid var(--rt-bord-champ);
	border-radius: var(--rt-rayon-pilule);
	padding: 13px 20px;
	font-size: 16px;
	background: var(--rt-blanc);
	color: var(--rt-encre);
	outline: none;
}

.rt-liste-resultats {
	padding: 0 var(--rt-marge) 120px;
	display: grid;
	gap: 28px;
	max-width: 820px;
}

.rt-resultat {
	padding-bottom: 26px;
	border-bottom: 1px solid var(--rt-ligne);
}

.rt-resultat h2 {
	margin: 0 0 8px;
	font-family: var(--rt-titre);
	font-weight: 400;
	font-size: 28px;
	line-height: 1.15;
}

.rt-resultat p {
	margin: 0;
	font-size: 16px;
	line-height: 1.65;
	color: var(--rt-texte);
}

.rt-vide {
	padding: 0 var(--rt-marge) 130px;
	font-size: 17px;
	line-height: 1.7;
	color: var(--rt-texte);
}

/* ==========================================================================
   23. Adaptation aux petits écrans
   ========================================================================== */

@media (max-width: 900px) {
	.rt-section {
		padding: 90px var(--rt-marge);
	}

	.rt-section--serre {
		padding: 0 var(--rt-marge) 90px;
	}

	.rt-entete {
		padding: 60px var(--rt-marge) 44px;
	}

	.rt-duo,
	.rt-duo--large {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
		max-width: none;
	}

	.rt-duo--large .rt-titre-2 {
		max-width: none;
	}

	.rt-resa--accueil {
		margin-bottom: -40px;
	}

	/* La grande photo passe au-dessus, les vignettes en bande sous elle. */
	.rt-galerie-fiche__grille {
		grid-template-columns: minmax(0, 1fr);
	}

	.rt-galerie-fiche__suite--3,
	.rt-galerie-fiche__suite--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		grid-template-rows: auto;
		aspect-ratio: auto;
	}

	.rt-galerie-fiche__suite--3 .rt-galerie-fiche__vignette:first-child {
		grid-row: auto;
	}

	.rt-galerie-fiche__vignette,
	.rt-galerie-fiche__grille--bande .rt-galerie-fiche__vignette {
		height: auto;
		aspect-ratio: 4 / 3;
	}
}

@media (max-width: 860px) {
	.rt-burger {
		display: inline-flex;
	}

	/* ------------------------------------------------------------------
	 * La barre tient sur une seule ligne : le nom de la maison, la langue,
	 * le bouton d'ouverture. Sans nowrap, le nom pousse les actions à la
	 * ligne et l'en-tête double de hauteur.
	 * ------------------------------------------------------------------ */
	.rt-nav {
		flex-wrap: nowrap;
		gap: 12px;
		padding-top: 14px;
		padding-bottom: 14px;
	}

	/* Le nom se resserre pour laisser passer les actions — jusqu'à 15px sur
	   les écrans de 320px, où « Riad Tamarrakecht » tient tout juste.
	   L'ellipse n'est qu'un filet de sécurité, pour un nom très long. */
	.rt-nav__marque {
		min-width: 0;
		font-size: clamp(15px, 4.6vw, 22px);
		overflow: hidden;
		text-overflow: ellipsis;
	}

	/* Quelques pixels repris aux actions, au profit du nom. */
	.rt-langues__actuelle {
		padding: 8px 10px 8px 8px;
		gap: 6px;
	}

	.rt-nav__marque img {
		max-height: 38px;
	}

	/* Le bouton « Réserver » a rejoint le panneau : il quitte la barre. */
	.rt-nav__actions > .rt-btn {
		display: none;
	}

	/* ------------------------------------------------------------------
	 * Le menu occupe tout l'écran. Fermé, il reste dans le document mais
	 * hors de portée du clavier ; ouvert, il se déploie comme un rideau et
	 * les entrées arrivent l'une après l'autre.
	 * ------------------------------------------------------------------ */
	.rt-nav__menu {
		position: fixed;
		inset: 0;
		z-index: 55;
		display: flex;
		flex-direction: column;
		/* Sans nowrap, le flex-wrap de la barre renverrait les dernières
		   entrées dans une seconde colonne. */
		flex-wrap: nowrap;
		/* Aligné en haut : la place gagnée sous les entrées accueille le pied
		   du panneau (réseaux sociaux). */
		justify-content: flex-start;
		gap: 0;
		width: 100%;
		margin: 0;
		padding: calc(var(--rt-bas-nav, 92px) + 28px) var(--rt-marge) 40px;
		background: var(--rt-vert);
		border: 0;
		overflow-y: auto;
		overscroll-behavior: contain;
		visibility: hidden;
		opacity: 0;
		clip-path: inset(0 0 100% 0);
		transition:
			clip-path .5s cubic-bezier(.2, .7, .2, 1),
			opacity .3s ease,
			visibility 0s linear .5s;
	}

	.rt-nav__menu.rt-ouvert {
		visibility: visible;
		opacity: 1;
		clip-path: inset(0 0 0 0);
		transition:
			clip-path .5s cubic-bezier(.2, .7, .2, 1),
			opacity .25s ease,
			visibility 0s linear 0s;
	}

	.rt-nav__accueil,
	.rt-nav__social,
	.rt-nav__resa {
		display: block;
	}

	.rt-nav__menu > li {
		border-bottom: 1px solid rgba(246, 243, 236, .12);
	}

	.rt-nav__menu > li:last-child {
		border-bottom: 0;
	}

	.rt-nav__menu > li > a,
	.rt-nav--flottante .rt-nav__menu > li > a {
		display: block;
		padding: clamp(10px, 1.6vh, 15px) 0;
		font-family: var(--rt-titre);
		font-weight: 400;
		font-size: clamp(21px, 5.2vw, 28px);
		line-height: 1.2;
		letter-spacing: -.01em;
		color: var(--rt-creme);
		opacity: 0;
		transform: translateY(18px);
		transition: opacity .45s ease, transform .45s cubic-bezier(.2, .7, .2, 1), color .2s ease;
	}

	.rt-nav__menu.rt-ouvert > li > a {
		opacity: 1;
		transform: translateY(0);
	}

	/* Les entrées entrent en cascade, une fois le rideau descendu. */
	.rt-nav__menu.rt-ouvert > li:nth-child(1) > a { transition-delay: .16s; }
	.rt-nav__menu.rt-ouvert > li:nth-child(2) > a { transition-delay: .22s; }
	.rt-nav__menu.rt-ouvert > li:nth-child(3) > a { transition-delay: .28s; }
	.rt-nav__menu.rt-ouvert > li:nth-child(4) > a { transition-delay: .34s; }
	.rt-nav__menu.rt-ouvert > li:nth-child(5) > a { transition-delay: .40s; }
	.rt-nav__menu.rt-ouvert > li:nth-child(6) > a { transition-delay: .46s; }
	.rt-nav__menu.rt-ouvert > li:nth-child(7) > a { transition-delay: .52s; }
	.rt-nav__menu.rt-ouvert > li:nth-child(8) > a { transition-delay: .58s; }
	.rt-nav__menu.rt-ouvert > li:nth-child(9) > a { transition-delay: .64s; }

	.rt-nav__menu > li > a:hover,
	.rt-nav__menu > li > a:focus,
	.rt-nav__menu .current-menu-item > a,
	.rt-nav__menu .current_page_item > a {
		color: var(--rt-vert-pale);
	}

	/* Le grand format se passe du filet : la couleur suffit à repérer
	   l'entrée en cours. */
	.rt-nav__menu .current-menu-item > a::after,
	.rt-nav__menu .current_page_item > a::after,
	.rt-nav__menu .current-menu-parent > a::after,
	.rt-nav__menu .current-menu-ancestor > a::after,
	.rt-nav__menu .rt-actif > a::after {
		display: none;
	}

	/* Le bouton de réservation reste une pastille au milieu des grandes
	   entrées : il échappe au format des liens du panneau. */
	.rt-nav__resa {
		padding-top: 26px;
		border-bottom: 0 !important;
	}

	.rt-nav__menu > .rt-nav__resa > a,
	.rt-nav--flottante .rt-nav__menu > .rt-nav__resa > a {
		display: inline-block;
		padding: 15px 34px;
		font-family: inherit;
		font-size: 15px;
		font-weight: 500;
		letter-spacing: normal;
		line-height: 1.2;
		border-radius: var(--rt-rayon-pilule);
		background: var(--rt-creme);
		color: var(--rt-encre);
	}

	.rt-nav__menu > .rt-nav__resa > a:hover,
	.rt-nav__menu > .rt-nav__resa > a:focus {
		background: var(--rt-vert-pale);
		color: var(--rt-encre);
	}

	/* Le pied du panneau est repoussé en bas de l'écran. Le sélecteur passe
	   par le parent : sans cela, le « margin: 0 » des entrées de menu, plus
	   spécifique, l'emporterait et le pied resterait collé au bouton. */
	.rt-nav__menu > .rt-nav__social {
		margin-top: auto;
		padding-top: 28px;
		border-bottom: 0 !important;
	}

	.rt-nav__social-liens {
		display: flex;
		gap: 14px;
		flex-wrap: wrap;
	}

	.rt-nav__social-liens a {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 46px;
		height: 46px;
		border: 1px solid rgba(246, 243, 236, .3);
		border-radius: var(--rt-rayon-pilule);
		color: var(--rt-creme);
		opacity: 0;
		transform: translateY(14px);
		transition:
			opacity .45s ease,
			transform .45s cubic-bezier(.2, .7, .2, 1),
			background .2s ease,
			border-color .2s ease,
			color .2s ease;
	}

	.rt-nav__menu.rt-ouvert .rt-nav__social-liens a {
		opacity: 1;
		transform: translateY(0);
		transition-delay: .62s;
	}

	.rt-nav__social-liens a:hover,
	.rt-nav__social-liens a:focus {
		background: var(--rt-vert-pale);
		border-color: var(--rt-vert-pale);
		color: var(--rt-encre);
	}

	.rt-nav__menu .sub-menu {
		position: static;
		display: block;
		padding: 0 0 14px;
		background: transparent;
		box-shadow: none;
	}

	.rt-nav__menu .sub-menu a,
	.rt-nav--flottante .rt-nav__menu .sub-menu a {
		padding: 8px 0;
		font-family: var(--rt-texte-police);
		font-size: 16px;
		color: var(--rt-gris-clair);
	}

	/* Le panneau est un enfant de la barre : marque et actions doivent
	   repasser au-dessus de lui pour rester cliquables. */
	.rt-nav__marque,
	.rt-nav__actions {
		position: relative;
		z-index: 56;
	}

	/* Pendant l'ouverture, la barre reste lisible par-dessus le rideau.

	   Le « backdrop-filter » doit partir, et pas seulement pour la couleur :
	   un élément qui en porte un devient le bloc conteneur de ses enfants en
	   position fixe. Sur l'accueil, une fois la page défilée, la barre en
	   portait un — le panneau, pourtant en « inset: 0 », se repliait alors
	   sur la hauteur de la barre au lieu de couvrir l'écran. */
	.rt-nav--menu-ouvert,
	.rt-nav--menu-ouvert.rt-nav--defilee,
	.rt-nav--flottante.rt-nav--menu-ouvert.rt-nav--defilee {
		background: transparent;
		border-bottom-color: transparent;
		box-shadow: none;
		backdrop-filter: none;
		color: var(--rt-creme);
	}

	.rt-nav--menu-ouvert a,
	.rt-nav--menu-ouvert.rt-nav--defilee a {
		color: var(--rt-creme);
	}

	.rt-nav--menu-ouvert .rt-btn--blanc,
	.rt-nav--menu-ouvert.rt-nav--defilee .rt-btn--blanc,
	.rt-nav--menu-ouvert .rt-btn--encre,
	.rt-nav--menu-ouvert.rt-nav--defilee .rt-btn--encre {
		background: var(--rt-creme);
		color: var(--rt-encre);
	}

	.rt-nav__actions {
		gap: 10px;
		flex: 0 0 auto;
	}

	.rt-hero {
		height: auto;
		min-height: min(88vh, 760px);
	}

	/* Le module est plus haut sur petit écran : il descend d'autant plus
	   pour rester centré sur la ligne du bandeau. */
	.rt-resa--accueil {
		top: 30px;
		margin-bottom: -48px;
	}

	.rt-diptyque {
		gap: 12px;
	}

	.rt-media--decale {
		margin-bottom: 0;
	}
}

@media (max-width: 700px) {
	:root {
		--rt-marge: 6vw;
	}

	.rt-haut {
		width: 46px;
		height: 46px;
		font-size: 18px;
	}

	.rt-section {
		padding: 72px var(--rt-marge);
	}

	.rt-section--serre {
		padding: 0 var(--rt-marge) 72px;
	}

	.rt-pied {
		padding: 64px var(--rt-marge) 28px;
	}

	.rt-pied__bas {
		flex-direction: column;
		gap: 10px;
	}

	.rt-galerie {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 10px;
	}

	/* Deux vignettes par rang : quatre de front deviendraient des timbres. */
	.rt-galerie-fiche__grille,
	.rt-galerie-fiche__suite {
		gap: 8px;
	}

	.rt-galerie-fiche__suite--3,
	.rt-galerie-fiche__suite--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rt-caracs {
		grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
		gap: 18px 20px;
	}

	.rt-dl__ligne {
		flex-direction: column;
		gap: 4px;
	}

	.rt-dl__ligne dd {
		text-align: left;
	}

	.rt-plat {
		grid-template-columns: 1fr;
	}

	.rt-plat__tag {
		white-space: normal;
	}

	.rt-visionneuse__nav {
		bottom: 20px;
		top: auto;
		transform: none;
	}

	.rt-visionneuse__nav--prec {
		left: calc(50% - 56px);
	}

	.rt-visionneuse__nav--suiv {
		right: calc(50% - 56px);
	}

	.rt-visionneuse__legende {
		bottom: 80px;
	}
}

/* ==========================================================================
   24. Impression et préférences d'accessibilité
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

@media print {
	.rt-hero__media,
	.rt-hero__voile,
	.rt-resa,
	.rt-filtres,
	.rt-burger,
	.rt-carte-vive,
	.rt-visionneuse {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}

	.rt-section,
	.rt-section--serre {
		padding: 20px 0;
	}
}
