/* ==========================================================================
   Resotravo — feuille de style principale
   Charte reprise du site de référence : bleu #014478, orange #F76F28,
   Montserrat en titrage et courant, Poppins en secondaire.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */

:root {
	--rt-blue: #014478;
	--rt-blue-dark: #01345c;
	--rt-blue-light: #e6eef5;
	--rt-orange: #f76f28;
	--rt-orange-dark: #e05e1a;
	--rt-black: #101010;
	--rt-gray-900: #2e2e2e;
	--rt-gray-600: #69727d;
	--rt-gray-400: #b3b3b3;
	--rt-gray-100: #f4f6f8;
	--rt-white: #ffffff;

	--rt-font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
	--rt-font-alt: "Poppins", var(--rt-font-body);

	--rt-step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
	--rt-step-0: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
	--rt-step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
	--rt-step-2: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
	--rt-step-3: clamp(1.9rem, 1.5rem + 2vw, 3rem);

	--rt-gap: 1.5rem;
	--rt-radius: 8px;
	--rt-radius-lg: 16px;
	--rt-shadow: 0 2px 12px rgb(16 16 16 / 8%);
	--rt-shadow-lg: 0 8px 32px rgb(16 16 16 / 12%);
	--rt-container: 1200px;
	--rt-header-h: 80px;
	--rt-transition: 180ms ease;
}

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

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--rt-font-body);
	font-size: var(--rt-step-0);
	line-height: 1.65;
	color: var(--rt-gray-900);
	background: var(--rt-white);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	font-family: var(--rt-font-body);
	color: var(--rt-blue);
	line-height: 1.2;
	margin: 0 0 0.5em;
	font-weight: 700;
}

h1 { font-size: var(--rt-step-3); }
h2 { font-size: var(--rt-step-2); }
h3 { font-size: var(--rt-step-1); }

p { margin: 0 0 1em; }

a {
	color: var(--rt-blue);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	transition: color var(--rt-transition);
}

a:hover { color: var(--rt-orange); }

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

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

/* --- Utilitaires -------------------------------------------------------- */

.rt-container {
	width: min(100% - 2.5rem, var(--rt-container));
	margin-inline: auto;
}

.rt-section {
	padding-block: clamp(3rem, 6vw, 5.5rem);
}

/* --- Fil d'Ariane -------------------------------------------------------- */

.rt-breadcrumbs {
	background: var(--rt-gray-100);
	box-shadow: 0 1px 0 rgb(16 16 16 / 8%);
}

.rt-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding-block: 0.85rem;
}

.rt-breadcrumbs li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.rt-breadcrumbs li:not(:last-child)::after {
	content: "\203A";
	color: var(--rt-orange);
	font-size: 0.9em;
}

.rt-breadcrumbs a {
	font-size: var(--rt-step--1);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--rt-gray-600);
	text-decoration: none;
}

.rt-breadcrumbs a:hover {
	color: var(--rt-orange);
}

.rt-breadcrumbs [aria-current="page"] {
	font-size: var(--rt-step--1);
	font-weight: 600;
	color: var(--rt-blue);
}

.rt-section--tint {
	background: var(--rt-gray-100);
}

.rt-section--blue {
	background: var(--rt-blue);
	color: var(--rt-white);
}

.rt-section--blue h2,
.rt-section--blue h3 {
	color: var(--rt-white);
}

/* Variante du bandeau bleu utilisée pour l'appel à l'action final de l'accueil :
   motif de points + halo orange, pour rompre l'aplat de couleur. */
.rt-section--cta-home {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(34rem 24rem at 85% 120%, rgb(247 111 40 / 35%), transparent 60%),
		radial-gradient(1px 1px at center, rgb(255 255 255 / 18%) 1px, transparent 1.5px) 0 0 / 22px 22px,
		linear-gradient(135deg, var(--rt-blue) 0%, var(--rt-blue-dark) 100%);
}

.rt-section--cta-home .rt-container {
	position: relative;
	z-index: 1;
}

.rt-section__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	max-width: 46rem;
	margin: 0 auto clamp(2rem, 4vw, 3rem);
}

/* Petit label au-dessus des titres de section (« kicker »). */
.rt-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.75rem;
	font-family: var(--rt-font-alt);
	font-size: var(--rt-step--1);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--rt-orange);
}

.rt-kicker::before {
	content: "";
	width: 1.5rem;
	height: 2px;
	background: var(--rt-orange);
	border-radius: 1px;
}

.rt-section--blue .rt-kicker,
.rt-hero .rt-kicker {
	color: var(--rt-white);
}

.rt-section--blue .rt-kicker::before,
.rt-hero .rt-kicker::before {
	background: rgb(255 255 255 / 70%);
}

.rt-section__head p {
	color: var(--rt-gray-600);
	font-size: var(--rt-step-1);
}

.rt-section--blue .rt-section__head p {
	color: rgb(255 255 255 / 85%);
}

.rt-grid {
	display: grid;
	gap: var(--rt-gap);
}

.rt-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.rt-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.rt-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

.rt-grid--fixed3 { grid-template-columns: repeat(3, 1fr); }
.rt-grid--fixed4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
	.rt-grid--fixed4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
	.rt-grid--fixed3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
	.rt-grid--fixed3,
	.rt-grid--fixed4 { grid-template-columns: 1fr; }
}

.rt-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.rt-skip-link {
	position: absolute;
	top: -100%;
	left: 0.5rem;
	z-index: 999;
	padding: 0.75rem 1rem;
	background: var(--rt-orange);
	color: var(--rt-white);
	border-radius: 0 0 var(--rt-radius) var(--rt-radius);
}

.rt-skip-link:focus {
	top: 0;
	color: var(--rt-white);
}

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

.rt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.8em 1.6em;
	font-family: var(--rt-font-body);
	font-size: var(--rt-step--1);
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	border: 1.5px solid transparent;
	border-radius: 999px;
	cursor: pointer;
	transition: background var(--rt-transition), color var(--rt-transition), border-color var(--rt-transition), box-shadow var(--rt-transition), transform var(--rt-transition);
}

.rt-btn:hover {
	transform: translateY(-1px);
}

/*
 * Hiérarchie des appels à l'action :
 * - primaire   : prise de contact / devis (« J'ai un projet ») ;
 * - secondaire : accès aux rubriques (« Toutes nos réalisations »), contour ;
 * - tertiaire  : navigation interne, voir .rt-link plus bas.
 * --ghost est conservé comme alias de --secondary.
 */
.rt-btn--primary {
	background: var(--rt-orange);
	color: var(--rt-white);
}

.rt-btn--primary:hover {
	background: var(--rt-orange-dark);
	color: var(--rt-white);
	box-shadow: 0 6px 18px rgb(247 111 40 / 30%);
}

.rt-btn--secondary,
.rt-btn--ghost {
	background: transparent;
	border-color: var(--rt-blue);
	color: var(--rt-blue);
}

.rt-btn--secondary:hover,
.rt-btn--ghost:hover {
	background: var(--rt-blue);
	border-color: var(--rt-blue);
	color: var(--rt-white);
}

.rt-section--blue .rt-btn--secondary,
.rt-section--blue .rt-btn--ghost,
.rt-hero .rt-btn--secondary,
.rt-hero .rt-btn--ghost {
	color: var(--rt-white);
	border-color: var(--rt-white);
}

.rt-section--blue .rt-btn--secondary:hover,
.rt-section--blue .rt-btn--ghost:hover,
.rt-hero .rt-btn--secondary:hover,
.rt-hero .rt-btn--ghost:hover {
	background: var(--rt-white);
	border-color: var(--rt-white);
	color: var(--rt-blue);
}

.rt-btn .rt-icon {
	transition: transform var(--rt-transition);
}

.rt-btn:hover .rt-icon {
	transform: translateX(4px);
}

/* Lien tertiaire : texte + flèche qui glisse au survol. */
.rt-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: var(--rt-step--1);
	font-weight: 700;
	color: var(--rt-blue);
	text-decoration: none;
}

.rt-link:hover {
	color: var(--rt-orange);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.rt-link .rt-icon {
	transition: transform var(--rt-transition);
}

.rt-link:hover .rt-icon {
	transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
	.rt-btn:hover,
	.rt-btn:hover .rt-icon,
	.rt-link:hover .rt-icon {
		transform: none;
	}
}

/* --- Barre professionnels (au-dessus de l'en-tête, non collante) -------- */

.rt-topbar {
	color: var(--rt-white);
	background: var(--rt-blue-dark);
	font-size: var(--rt-step--1);
	line-height: 1.3;
}

.rt-topbar .rt-container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.4rem 1.25rem;
	padding-block: 0.4rem;
}

.rt-topbar__intro {
	opacity: 0.85;
}

.rt-topbar a {
	color: var(--rt-white);
	font-weight: 600;
	text-decoration: none;
	text-underline-offset: 3px;
}

.rt-topbar a:hover {
	text-decoration: underline;
}

.rt-topbar a:focus-visible {
	outline: 2px solid var(--rt-white);
	outline-offset: 2px;
	border-radius: 4px;
}

.rt-topbar .rt-topbar__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.3rem 0.9rem;
	font-weight: 700;
	background: var(--rt-orange);
	border-radius: 999px;
	transition: background var(--rt-transition);
}

.rt-topbar .rt-topbar__cta:hover {
	text-decoration: none;
	background: var(--rt-orange-dark);
}

.rt-topbar__cta svg {
	width: 1em;
	height: 1em;
}

.rt-topbar__short { display: none; }

/* Mobile : une seule ligne, l'artisan en avant, le prescripteur en version courte. */
@media (max-width: 600px) {
	.rt-topbar { font-size: 0.75rem; }
	.rt-topbar .rt-container { gap: 0.4rem 0.75rem; }
	.rt-topbar .rt-topbar__cta { padding-inline: 0.75rem; }
	.rt-topbar__intro,
	.rt-topbar__courtier,
	.rt-topbar__long { display: none; }
	.rt-topbar__short { display: inline; }
}

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

.rt-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--rt-white);
	border-bottom: 1px solid transparent;
	transition: background var(--rt-transition), border-color var(--rt-transition), box-shadow var(--rt-transition);
}

/*
 * Après défilement (classe posée par main.js) : fond translucide flouté.
 * Le flou est porté par un pseudo-élément : un backdrop-filter sur l'en-tête
 * lui-même ferait de lui le bloc conteneur du menu mobile en position fixe.
 */
.rt-header--scrolled {
	background: transparent;
	border-bottom-color: rgb(0 0 0 / 5%);
	box-shadow: 0 4px 20px rgb(16 16 16 / 4%);
}

.rt-header--scrolled::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgb(255 255 255 / 85%);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.rt-header--scrolled::before { background: var(--rt-white); }
}

.rt-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--rt-gap);
	min-height: var(--rt-header-h);
}

.rt-logo {
	font-family: var(--rt-font-body);
	font-size: var(--rt-step-1);
	font-weight: 800;
	color: var(--rt-blue);
	text-decoration: none;
	flex-shrink: 0;
}

.rt-logo img,
.custom-logo {
	max-height: 48px;
	width: auto;
}

@media (max-width: 960px) {
	.rt-logo img,
	.custom-logo { max-height: 40px; }
}

.rt-nav {
	margin-inline-start: auto;
}

.rt-nav ul {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rt-nav a {
	font-size: var(--rt-step--1);
	font-weight: 600;
	color: var(--rt-black);
	text-decoration: none;
	white-space: nowrap;
}

.rt-nav a:hover,
.rt-nav .current-menu-item > a {
	color: var(--rt-orange);
}

.rt-header__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
}

.rt-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0;
	background: none;
	border: 0;
	cursor: pointer;
}

.rt-burger span {
	display: block;
	height: 2px;
	background: var(--rt-blue);
	border-radius: 2px;
	transition: transform var(--rt-transition), opacity var(--rt-transition);
}

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

	.rt-nav {
		position: fixed;
		inset: var(--rt-header-h) 0 auto;
		background: var(--rt-white);
		box-shadow: var(--rt-shadow-lg);
		transform: translateY(-150%);
		transition: transform 240ms ease;
		max-height: calc(100dvh - var(--rt-header-h));
		overflow-y: auto;
	}

	.rt-nav[data-open="true"] {
		transform: translateY(0);
	}

	.rt-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 1rem 1.25rem 2rem;
	}

	.rt-nav li + li {
		border-top: 1px solid var(--rt-gray-100);
	}

	.rt-nav a {
		display: block;
		padding: 1rem 0;
		font-size: var(--rt-step-0);
	}

	.rt-header__actions .rt-btn--secondary,
	.rt-header__actions .rt-btn--ghost { display: none; }
}

/* --- Hero --------------------------------------------------------------- */

.rt-hero {
	position: relative;
	display: grid;
	place-items: center;
	padding-block: clamp(3.5rem, 9vw, 7rem);
	/* Dégradé un cran plus clair que la marque (#014478 → #01345c). */
	background: linear-gradient(135deg, #0a5a96 0%, var(--rt-blue) 100%);
	color: var(--rt-white);
	text-align: center;
	overflow: hidden;
}

.rt-hero__media {
	position: absolute;
	inset: 0;
	object-fit: cover;
	width: 100%;
	height: 100%;
	opacity: 0.25;
}

.rt-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 50rem;
}

.rt-hero h1 {
	color: var(--rt-white);
	margin-bottom: 0.4em;
}

.rt-hero__sub {
	font-size: var(--rt-step-1);
	color: rgb(255 255 255 / 90%);
	margin-bottom: 2rem;
}

/* --- Hero de la page d'accueil : dégradés décoratifs + transition ------- */

.rt-hero--home {
	padding-bottom: clamp(4.5rem, 10vw, 8rem);
}

.rt-hero--home::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(42rem 32rem at 90% -15%, rgb(247 111 40 / 40%), transparent 60%),
		radial-gradient(30rem 26rem at -10% 115%, rgb(255 255 255 / 14%), transparent 55%);
	pointer-events: none;
}

/* Bande diagonale en pied de hero, coloriée comme la section suivante,
   pour éviter une coupure nette entre le bleu du hero et le contenu. */
.rt-hero--home::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: clamp(2.5rem, 6vw, 4.5rem);
	background: var(--rt-gray-100);
	clip-path: polygon(0 100%, 100% 45%, 100% 100%, 0 100%);
	pointer-events: none;
}

.rt-hero__kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 1.25rem;
	padding: 0.5em 1.1em;
	font-family: var(--rt-font-alt);
	font-size: var(--rt-step--1);
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--rt-white);
	background: rgb(255 255 255 / 12%);
	border: 1px solid rgb(255 255 255 / 25%);
	border-radius: 999px;
	backdrop-filter: blur(6px);
}

.rt-hero__kicker .rt-dot {
	width: 6px;
	height: 6px;
	background: var(--rt-orange);
	border-radius: 50%;
	flex-shrink: 0;
}

.rt-hero--home h1 {
	letter-spacing: -0.01em;
}

.rt-hero__chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6rem;
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
}

.rt-hero__chips li {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.4em 0.9em;
	font-size: var(--rt-step--1);
	font-weight: 600;
	color: rgb(255 255 255 / 92%);
	background: rgb(255 255 255 / 10%);
	border: 1px solid rgb(255 255 255 / 20%);
	border-radius: 999px;
}

.rt-hero__chips li::before {
	content: "\2713";
	color: var(--rt-orange);
	font-weight: 800;
}

/* --- Recherche par localité --------------------------------------------- */

.rt-search {
	display: flex;
	gap: 0.5rem;
	max-width: 41rem;
	margin-inline: auto;
	padding: 0.5rem;
	background: var(--rt-white);
	border-radius: var(--rt-radius-lg);
	box-shadow: var(--rt-shadow-lg);
}

.rt-search__field {
	position: relative;
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
}

.rt-search__icon {
	position: absolute;
	left: 1rem;
	width: 1.15rem;
	height: 1.15rem;
	color: var(--rt-gray-400);
	pointer-events: none;
}

.rt-search input {
	flex: 1;
	min-width: 0;
	padding: 0.85rem 1rem 0.85rem 2.75rem;
	font-family: inherit;
	font-size: var(--rt-step-0);
	color: var(--rt-black);
	background: transparent;
	border: 0;
	border-radius: var(--rt-radius);
}

.rt-search input:focus {
	outline: none;
	background: var(--rt-gray-100);
}

@media (max-width: 560px) {
	.rt-search { flex-direction: column; }
}

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

.rt-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--rt-white);
	border: 1px solid var(--rt-gray-100);
	border-radius: var(--rt-radius-lg);
	overflow: hidden;
	transition: box-shadow var(--rt-transition), transform var(--rt-transition);
}

.rt-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	background: linear-gradient(90deg, var(--rt-orange), var(--rt-blue));
	transform: scaleX(0);
	transform-origin: 0 50%;
	transition: transform var(--rt-transition);
}

.rt-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--rt-shadow-lg);
}

.rt-card:hover::before {
	transform: scaleX(1);
}

/* display: block, car le visuel est parfois un <a>, sur lequel aspect-ratio est sans effet. */
.rt-card__media {
	display: block;
	aspect-ratio: 3 / 2;
	background: var(--rt-blue-light);
	overflow: hidden;
}

.rt-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 320ms ease;
}

.rt-card:hover .rt-card__media img {
	transform: scale(1.04);
}

.rt-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 0.5rem;
	padding: 1.25rem;
}

.rt-card__title {
	margin: 0;
	font-size: var(--rt-step-1);
}

.rt-card__title a {
	text-decoration: none;
}

.rt-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--rt-step--1);
	color: var(--rt-gray-600);
}

.rt-card__meta li {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}

.rt-card__meta li + li::before {
	content: "•";
	color: var(--rt-gray-400);
	margin-inline-end: 0.3rem;
}

.rt-card__footer {
	margin-top: auto;
	padding-top: 0.75rem;
}

/* Carte réalisation : ratio unique, budget en pastille sur l'image, tags en puces. */
.rt-card--realisation {
	border: 0;
	box-shadow: 0 10px 30px -10px rgb(16 16 16 / 8%);
}

.rt-card--realisation:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px -15px rgb(16 16 16 / 12%);
}

.rt-card--realisation .rt-card__media {
	aspect-ratio: 16 / 10;
}

.rt-card--realisation .rt-card__media img {
	transition-duration: 500ms;
}

/*
 * Budget : étiquette orange à cheval sur le bas de la photo, premier repère
 * lu sur la carte. Libellé discret au-dessus, montant en grand.
 */
.rt-card__price {
	position: relative;
	z-index: 1;
	align-self: flex-start;
	display: flex;
	flex-direction: column;
	margin: -1.9rem 0 0 1.25rem;
	padding: 0.5rem 0.95rem 0.55rem;
	line-height: 1.1;
	color: var(--rt-white);
	background: linear-gradient(135deg, var(--rt-orange) 0%, var(--rt-orange-dark) 100%);
	border-radius: 12px;
	box-shadow: 0 0 0 4px var(--rt-white), 0 8px 18px -6px rgb(247 111 40 / 55%);
	pointer-events: none;
}

.rt-card__price-label {
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	opacity: 0.9;
}

.rt-card__price-value {
	font-family: var(--rt-font-alt);
	font-size: 1.25rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.rt-card__price + .rt-card__body {
	padding-top: 0.9rem;
}

/*
 * Repères d'une fiche réalisation (hero) : bandeau vitré, budget en
 * pastille orange, puis type, ville et durée séparés par des filets.
 */
.rt-facts {
	display: flex;
	width: fit-content;
	max-width: 100%;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: center;
	margin: 1.25rem auto 0;
	padding: 0.4rem;
	background: rgb(255 255 255 / 10%);
	border: 1px solid rgb(255 255 255 / 22%);
	border-radius: 18px;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.rt-facts__item {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0.55rem 1.25rem;
	text-align: center;
}

.rt-facts__item + .rt-facts__item:not(.rt-facts__item--budget + .rt-facts__item) {
	border-left: 1px solid rgb(255 255 255 / 22%);
}

.rt-facts dt {
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgb(255 255 255 / 75%);
}

.rt-facts dd {
	margin: 0.15rem 0 0;
	font-weight: 700;
	color: var(--rt-white);
}

.rt-facts__item--budget {
	padding-inline: 1.5rem;
	background: linear-gradient(135deg, var(--rt-orange) 0%, var(--rt-orange-dark) 100%);
	border-radius: 14px;
	box-shadow: 0 8px 22px -8px rgb(247 111 40 / 70%);
}

.rt-facts__item--budget dt {
	color: rgb(255 255 255 / 90%);
}

.rt-facts__item--budget dd {
	font-family: var(--rt-font-alt);
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.05;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* Mobile : budget sur toute la largeur, les trois repères dessous. */
@media (max-width: 600px) {
	.rt-facts {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		width: 100%;
	}

	.rt-facts__item {
		padding-inline: 0.5rem;
	}

	.rt-facts__item--budget {
		grid-column: 1 / -1;
		margin-bottom: 0.3rem;
	}

	.rt-facts__item + .rt-facts__item:not(.rt-facts__item--budget + .rt-facts__item) {
		border-left: 1px solid rgb(255 255 255 / 22%);
	}
}

.rt-card--realisation .rt-card__title {
	text-wrap: balance;
}

/*
 * Les repères et le lien sont calés en bas de la carte : quelle que soit la
 * longueur du titre, ils restent alignés d'une carte à l'autre sur une rangée.
 */
.rt-card--realisation .rt-card__meta {
	gap: 0.4rem;
	margin-top: auto;
	padding-top: 0.5rem;
}

.rt-card--realisation .rt-card__meta + .rt-card__footer {
	margin-top: 0;
}

.rt-card--realisation .rt-card__meta li {
	padding: 0.25em 0.75em;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--rt-gray-900);
	background: var(--rt-gray-100);
	border-radius: 999px;
}

.rt-card--realisation .rt-card__meta li + li::before {
	content: none;
}

.rt-badge {
	display: inline-block;
	padding: 0.25em 0.7em;
	font-size: var(--rt-step--1);
	font-weight: 700;
	color: var(--rt-white);
	background: var(--rt-orange);
	border-radius: 999px;
}

/* --- Étapes du processus ------------------------------------------------ */

.rt-step {
	position: relative;
	padding: 2rem 1.5rem 1.5rem;
	background: var(--rt-white);
	border-radius: var(--rt-radius-lg);
	box-shadow: var(--rt-shadow);
	transition: transform var(--rt-transition), box-shadow var(--rt-transition);
}

.rt-step:hover {
	transform: translateY(-4px);
	box-shadow: var(--rt-shadow-lg);
}

.rt-step__num {
	position: absolute;
	top: -1.1rem;
	left: 1.5rem;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	font-size: var(--rt-step-1);
	font-weight: 800;
	color: var(--rt-white);
	background: var(--rt-orange);
	border-radius: 50%;
}

.rt-step h3 {
	margin-top: 0.5rem;
}

/* Statistique / chiffre clé (ex. « 75 € par mois »). */
.rt-stat {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 2rem 1.5rem;
	text-align: center;
	background: var(--rt-white);
	border-radius: var(--rt-radius-lg);
	box-shadow: var(--rt-shadow);
}

.rt-stat__val {
	font-family: var(--rt-font-alt);
	font-size: var(--rt-step-3);
	font-weight: 800;
	line-height: 1;
	color: var(--rt-orange);
}

.rt-stat__txt {
	font-size: var(--rt-step--1);
	color: var(--rt-gray-600);
}

.rt-step p {
	margin: 0;
	color: var(--rt-gray-600);
	font-size: var(--rt-step--1);
}

/* --- Liste à puces (avantages / implications) ---------------------------- */

.rt-checklist {
	display: grid;
	gap: 1rem;
	max-width: 46rem;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.rt-checklist li {
	position: relative;
	padding-left: 2.25rem;
	color: var(--rt-gray-600);
}

.rt-checklist li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: -0.1em;
	display: grid;
	place-items: center;
	width: 1.5rem;
	height: 1.5rem;
	font-size: 0.8rem;
	font-weight: 800;
	color: var(--rt-white);
	background: var(--rt-orange);
	border-radius: 50%;
}

/* --- Carte conseiller --------------------------------------------------- */

/* Grille : 2 cartes par rangée comme sur le site historique, 1 sur mobile. */
.rt-conseillers {
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

/* Résultat unique : carte centrée, à la largeur d'une colonne. */
.rt-conseillers > :only-child {
	grid-column: 1 / -1;
	justify-self: center;
	width: calc((100% - clamp(1.25rem, 2.5vw, 1.75rem)) / 2);
}

@media (max-width: 900px) {
	.rt-conseillers { grid-template-columns: 1fr; }
	.rt-conseillers > :only-child { width: 100%; }
}

/*
 * L'admin alterne femmes / hommes (menu_order) : sur 2 colonnes, chaque
 * colonne ne contiendrait qu'un seul genre. Une rangée sur deux est donc
 * inversée (damier) : la 3e carte passe à droite et la 4e comble la gauche
 * grâce au placement « dense ». Sur une colonne, l'ordre d'origine suffit.
 * :not(:last-child) évite une dernière carte seule à droite.
 */
@media (min-width: 901px) {
	.rt-conseillers { grid-auto-flow: row dense; }
	.rt-conseillers > :nth-child(4n+3):not(:last-child) { grid-column: 2; }
}

/*
 * Carte horizontale : bandeau bleu en biais à gauche, photo ronde à cheval
 * sur le biais. Le diamètre de la photo pilote toute la géométrie.
 */
.rt-conseiller {
	--rt-photo: clamp(5.5rem, 22vw, 9.375rem); /* 150px sur grand écran */
	flex-direction: row;
	align-items: center;
	gap: clamp(1.25rem, 3vw, 2.5rem);
	padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 2vw, 1.5rem);
	border: 0;
	border-radius: 15px;
	box-shadow: 0 0 10px rgb(0 0 0 / 18%);
	transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Pas de liseré de survol de .rt-card : il couperait le bandeau. */
.rt-conseiller::before {
	display: none;
}

/* Bandeau bleu en biais, motif discret en croisillons. */
.rt-conseiller::after {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: calc(var(--rt-photo) + clamp(1rem, 2vw, 1.5rem) + 0.75rem);
	background:
		repeating-linear-gradient(45deg, rgb(255 255 255 / 5%) 0 1px, transparent 1px 18px),
		repeating-linear-gradient(-45deg, rgb(255 255 255 / 5%) 0 1px, transparent 1px 18px),
		var(--rt-blue);
	clip-path: polygon(0 0, 45% 0, 100% 100%, 0 100%);
	pointer-events: none;
}

.rt-conseiller:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px -12px rgb(1 68 120 / 30%);
}

.rt-conseiller__media {
	position: relative;
	z-index: 1;
	flex: none;
	width: var(--rt-photo);
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 50%;
	background: var(--rt-gray-100);
}

.rt-conseiller__photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Portrait recadré en carré : on garde le visage. */
	object-position: 50% 20%;
}

/* Avatar à initiales quand le conseiller n'a pas de photo. */
.rt-conseiller__initials {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-family: var(--rt-font-alt);
	font-size: calc(var(--rt-photo) * 0.32);
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--rt-blue);
	background: var(--rt-blue-light);
}

.rt-conseiller__body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
}

.rt-conseiller__name {
	margin: 0;
	font-size: clamp(1.15rem, 1rem + 0.5vw, 1.375rem);
	font-weight: 700;
	line-height: 1.25;
	color: var(--rt-blue);
}

.rt-conseiller__ville {
	margin: 0.5rem 0 0;
	font-size: var(--rt-step-0);
	font-weight: 500;
	color: var(--rt-blue);
}

.rt-conseiller__tel {
	margin-top: 0.5rem;
	font-size: clamp(1.05rem, 1rem + 0.25vw, 1.125rem);
	font-weight: 700;
	white-space: nowrap;
	color: var(--rt-blue);
	text-decoration: none;
	transition: color var(--rt-transition);
}

.rt-conseiller__tel:hover { color: var(--rt-orange); }

.rt-conseiller__cta {
	margin-top: clamp(1rem, 2.5vw, 1.75rem);
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

@media (prefers-reduced-motion: reduce) {
	.rt-conseiller:hover { transform: none; }
}

/* Loupe de la recherche de l'annuaire, rendue via resotravo_icon(). */
.rt-search__field .rt-icon.rt-search__icon {
	width: 1.15rem;
	height: 1.15rem;
}

/* Bandeau de résultats de l'annuaire. */
.rt-results {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.rt-results__title {
	margin: 0;
	font-size: var(--rt-step-1);
	font-weight: 600;
	color: var(--rt-gray-900);
}

.rt-results__title strong {
	color: var(--rt-orange);
	font-weight: 800;
}

/* État vide (recherche sans résultat). */
.rt-empty {
	max-width: 40rem;
	margin-inline: auto;
	padding: clamp(2rem, 5vw, 3rem);
	text-align: center;
	background: var(--rt-white);
	border-radius: var(--rt-radius-lg);
	box-shadow: var(--rt-shadow);
}

.rt-empty__icon {
	display: inline-grid;
	place-items: center;
	width: 4rem;
	height: 4rem;
	margin-bottom: 1rem;
	font-size: 1.5rem;
	color: var(--rt-orange);
	background: rgb(247 111 40 / 12%);
	border-radius: 50%;
}

.rt-empty h2 {
	font-size: var(--rt-step-2);
}

.rt-empty p {
	color: var(--rt-gray-600);
}

.rt-empty__actions,
.rt-cta-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin: 1.5rem 0 0;
}

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

.rt-prose {
	max-width: 46rem;
	margin-inline: auto;
}

.rt-prose > * + * { margin-top: 1em; }

.rt-prose img,
.rt-prose figure {
	border-radius: var(--rt-radius);
}

.rt-prose blockquote {
	margin: 1.5em 0;
	padding: 0.5em 0 0.5em 1.25em;
	border-left: 4px solid var(--rt-orange);
	color: var(--rt-gray-600);
	font-style: italic;
}

/* --- FAQ ------------------------------------------------------------------ */

.rt-faq__item {
	padding: 1.1rem 0;
	border-bottom: 1px solid var(--rt-gray-100);
}

.rt-faq__item:first-child {
	border-top: 1px solid var(--rt-gray-100);
}

.rt-faq__question {
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	font-weight: 600;
	color: var(--rt-blue-dark);
}

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

.rt-faq__question::after {
	content: '+';
	flex-shrink: 0;
	font-weight: 400;
	font-size: 1.4em;
	color: var(--rt-blue);
	transition: transform var(--rt-transition);
}

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

.rt-faq__answer {
	margin-top: 0.75rem;
	color: var(--rt-gray-600);
}

/* --- Pagination --------------------------------------------------------- */

.rt-pagination {
	display: flex;
	justify-content: center;
	margin-top: 3rem;
}

.rt-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding-inline: 0.6rem;
	margin: 0 0.2rem;
	font-weight: 600;
	color: var(--rt-blue);
	text-decoration: none;
	border: 1px solid var(--rt-gray-100);
	border-radius: var(--rt-radius);
}

.rt-pagination .page-numbers:hover,
.rt-pagination .page-numbers.current {
	color: var(--rt-white);
	background: var(--rt-blue);
	border-color: var(--rt-blue);
}

/* Variante « Précédent / Suivant » sans numéros, boutons secondaires. */
.rt-pagination--simple {
	justify-content: space-between;
	gap: 1rem;
}

.rt-pagination__next {
	margin-inline-start: auto;
}

.rt-pagination--simple a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.8em 1.6em;
	font-size: var(--rt-step--1);
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--rt-blue);
	border: 1.5px solid var(--rt-blue);
	border-radius: 999px;
	transition: background var(--rt-transition), color var(--rt-transition), transform var(--rt-transition);
}

.rt-pagination--simple a:hover {
	color: var(--rt-white);
	background: var(--rt-blue);
}

.rt-pagination--simple .rt-icon {
	transition: transform var(--rt-transition);
}

.rt-pagination__flip {
	display: inline-flex;
	transform: scaleX(-1);
}

.rt-pagination__next a:hover .rt-icon { transform: translateX(4px); }
.rt-pagination__prev a:hover .rt-icon { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
	.rt-pagination--simple a:hover .rt-icon { transform: none; }
}

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

.rt-footer {
	padding-block: clamp(2.5rem, 5vw, 4rem) 0;
	background: var(--rt-black);
	color: var(--rt-gray-400);
	font-size: var(--rt-step--1);
}

.rt-footer__cols {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}

.rt-footer h2 {
	margin-bottom: 0.75rem;
	font-size: var(--rt-step-0);
	color: var(--rt-white);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

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

.rt-footer li + li { margin-top: 0.5rem; }

.rt-footer a {
	color: var(--rt-gray-400);
	text-decoration: none;
}

.rt-footer a:hover {
	color: var(--rt-orange);
}

.rt-footer__bottom {
	margin-top: 2.5rem;
	padding-block: 1.25rem;
	border-top: 1px solid rgb(255 255 255 / 10%);
	text-align: center;
}

.rt-footer__bottom p { margin: 0; }

/* --- Liens vers les pages départements ---------------------------------- */

.rt-departements {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rt-departements a {
	display: inline-block;
	padding: 0.35rem 0.85rem;
	border: 1px solid var(--rt-gray-100);
	border-radius: 999px;
	font-size: var(--rt-step--1);
	color: var(--rt-blue-dark);
	text-decoration: none;
	transition: border-color var(--rt-transition), color var(--rt-transition);
}

.rt-departements a:hover {
	border-color: var(--rt-orange);
	color: var(--rt-orange);
}

.rt-footer__departements {
	margin: 2.5rem 0 0;
	padding-top: 2rem;
	border-top: 1px solid rgb(255 255 255 / 10%);
}

.rt-footer__departements a,
.rt-hero__link a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 600;
}

.rt-footer__departements .rt-icon,
.rt-hero__link .rt-icon {
	width: 1em;
	height: 1em;
}

/* Lien vers la page hub des départements, sous le hero de l'annuaire. */
.rt-hero__link {
	margin: 1.25rem 0 0;
}

.rt-hero__link a {
	color: var(--rt-white);
	text-underline-offset: 0.2em;
}

.rt-hero__link a:hover { color: var(--rt-orange); }

/* Page hub /courtier-travaux/ : grille de départements avec nombre de conseillers. */
.rt-departements--hub {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
	gap: 0.75rem;
}

.rt-departements--hub a {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	height: 100%;
	padding: 0.85rem 1.1rem;
	border-radius: var(--rt-radius-lg);
	background: var(--rt-white);
	font-size: var(--rt-step-0);
}

.rt-departements__name { font-weight: 600; }

.rt-departements__count {
	font-size: var(--rt-step--1);
	color: var(--rt-gray-400);
}

.rt-conseiller__name a {
	color: inherit;
	text-decoration: none;
}

.rt-conseiller__name a:hover { color: var(--rt-orange); }

/* --- Icônes, mises en page éditoriales (page « Comment ça marche ») ------ */

.rt-icon {
	flex-shrink: 0;
	width: 1.25em;
	height: 1.25em;
}

.rt-hero--page {
	padding-block: clamp(3rem, 7vw, 5.5rem);
}

.rt-hero--page::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(36rem 28rem at 95% -20%, rgb(247 111 40 / 35%), transparent 60%),
		radial-gradient(26rem 22rem at -10% 120%, rgb(255 255 255 / 12%), transparent 55%);
	pointer-events: none;
}

/* Deux colonnes texte / visuel, empilées sur mobile. */
.rt-split {
	display: grid;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
	grid-template-columns: 1.15fr 1fr;
}

.rt-split--media {
	grid-template-columns: 1fr 1.15fr;
}

@media (max-width: 900px) {
	.rt-split,
	.rt-split--media {
		grid-template-columns: 1fr;
	}
}

.rt-split__text > p {
	color: var(--rt-gray-600);
}

.rt-split__text > p strong {
	color: var(--rt-blue);
}

.rt-split__text > h3 {
	margin: 2rem 0 1rem;
}

.rt-split__outro {
	margin: 1.75rem 0 0;
	padding-left: 1rem;
	border-left: 3px solid var(--rt-orange);
	font-style: italic;
}

.rt-split__media {
	position: relative;
	isolation: isolate;
	margin: 0 0 2rem;
}

.rt-split__media img {
	display: block;
	width: 100%;
	max-height: 38rem;
	object-fit: cover;
	border-radius: var(--rt-radius-lg);
	box-shadow: var(--rt-shadow-lg);
}

/* Carré orange décalé derrière la photo. */
.rt-split__media::before {
	content: "";
	position: absolute;
	inset: 1.5rem -1.5rem -1.5rem 1.5rem;
	z-index: -1;
	border: 3px solid var(--rt-orange);
	border-radius: var(--rt-radius-lg);
}

.rt-split__badge {
	position: absolute;
	right: -1rem;
	bottom: -2rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	max-width: 17rem;
	padding: 1rem 1.25rem;
	font-size: var(--rt-step--1);
	font-weight: 600;
	color: var(--rt-gray-900);
	background: var(--rt-white);
	border-radius: var(--rt-radius-lg);
	box-shadow: var(--rt-shadow-lg);
}

@media (max-width: 600px) {
	.rt-split__media::before { display: none; }
	.rt-split__badge { right: 1rem; left: 1rem; max-width: none; }
}

.rt-split__badge-icon,
.rt-feature__icon,
.rt-callout__icon,
.rt-iconlist__icon,
.rt-step__icon {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	border-radius: 50%;
}

.rt-split__badge-icon {
	width: 2.75rem;
	height: 2.75rem;
	color: var(--rt-white);
	background: var(--rt-orange);
}

/* Encadré mis en avant (ex. accompagnement AMO). */
.rt-callout {
	display: flex;
	gap: 1rem;
	margin-top: 1.75rem;
	padding: 1.25rem 1.5rem;
	background: var(--rt-blue-light);
	border-left: 4px solid var(--rt-blue);
	border-radius: var(--rt-radius);
}

.rt-callout p {
	margin: 0;
	color: var(--rt-gray-900);
}

/* Mots en gras en bleu de marque (encart de la page « Comment ça marche »). */
.rt-callout--accent strong {
	color: var(--rt-blue);
}

.rt-callout__icon {
	width: 2.5rem;
	height: 2.5rem;
	color: var(--rt-white);
	background: var(--rt-blue);
}

/* Piliers avec icône. */
.rt-features {
	display: grid;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rt-feature {
	display: flex;
	align-items: flex-start;
	gap: 1.25rem;
	padding: 1.5rem;
	background: var(--rt-white);
	border: 1px solid var(--rt-blue-light);
	border-radius: var(--rt-radius-lg);
	box-shadow: var(--rt-shadow);
	transition: transform var(--rt-transition), box-shadow var(--rt-transition);
}

.rt-feature:hover {
	transform: translateX(4px);
	box-shadow: var(--rt-shadow-lg);
}

.rt-feature h3 {
	margin: 0 0 0.25rem;
	font-size: var(--rt-step-0);
}

.rt-feature p {
	margin: 0;
	font-size: var(--rt-step--1);
	color: var(--rt-gray-600);
}

.rt-feature__icon {
	width: 3.25rem;
	height: 3.25rem;
	font-size: 1.25rem;
	color: var(--rt-orange);
	background: rgb(247 111 40 / 12%);
}

/* Parcours en étapes reliées par une ligne pointillée. */
.rt-timeline {
	position: relative;
	display: grid;
	gap: var(--rt-gap);
	grid-template-columns: repeat(3, 1fr);
	margin: 0;
	padding: 0;
	list-style: none;
}

.rt-timeline::before {
	content: "";
	position: absolute;
	top: 3.25rem;
	left: 16%;
	right: 16%;
	border-top: 2px dashed var(--rt-gray-400);
}

@media (max-width: 900px) {
	.rt-timeline { grid-template-columns: 1fr; }
	.rt-timeline::before { display: none; }
}

.rt-step--icon {
	text-align: center;
	padding-top: 2rem;
}

.rt-step__icon {
	position: relative;
	width: 4.5rem;
	height: 4.5rem;
	margin: 0 auto 1rem;
	font-size: 1.6rem;
	color: var(--rt-white);
	background: linear-gradient(135deg, var(--rt-orange) 0%, var(--rt-orange-dark) 100%);
	box-shadow: 0 0 0 8px var(--rt-white), 0 6px 18px rgb(247 111 40 / 35%);
}

.rt-step__label {
	margin: 0 0 0.25rem;
	font-family: var(--rt-font-alt);
	font-size: var(--rt-step--1);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--rt-orange);
}

.rt-step--icon h3 {
	margin: 0 0 0.75rem;
	text-wrap: balance;
}

/*
 * Texte des étapes : colonne de lecture bornée et centrée, retours à la
 * ligne équilibrés, pour que les trois cartes aient le même gris visuel.
 */
.rt-step--icon p:last-child {
	max-width: 30ch;
	margin-inline: auto;
	text-wrap: pretty;
}

/* Liste à icônes. */
.rt-iconlist {
	display: grid;
	gap: 0.85rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rt-iconlist li {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	color: var(--rt-gray-900);
}

.rt-iconlist__icon {
	width: 2.5rem;
	height: 2.5rem;
	color: var(--rt-blue);
	background: var(--rt-blue-light);
}

/* --- Page « À propos du groupe » ----------------------------------------- */

.rt-features--compact {
	margin-top: 1.75rem;
}

.rt-features--compact .rt-feature {
	padding: 1.1rem 1.25rem;
}

/* Visuel détouré posé sur un panneau de la couleur de son fond. */
.rt-split__media--panel img {
	background: var(--rt-blue-light);
	box-shadow: none;
	object-fit: contain;
}

.rt-cards-reset {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Chiffre clé mis en avant. */
.rt-highlight {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.75rem;
	min-height: 18rem;
	padding: clamp(2rem, 5vw, 3.5rem);
	color: var(--rt-white);
	background:
		radial-gradient(22rem 16rem at 100% 0%, rgb(247 111 40 / 45%), transparent 60%),
		linear-gradient(135deg, var(--rt-blue) 0%, var(--rt-blue-dark) 100%);
	border-radius: var(--rt-radius-lg);
	box-shadow: var(--rt-shadow-lg);
}

.rt-highlight__val {
	font-family: var(--rt-font-alt);
	font-size: clamp(3.5rem, 2.5rem + 5vw, 6rem);
	font-weight: 800;
	line-height: 1;
	color: var(--rt-orange);
}

.rt-highlight__txt {
	max-width: 22rem;
	font-size: var(--rt-step-1);
	font-weight: 600;
}

/* Encadré « Notre mission ». */
.rt-mission {
	position: relative;
	max-width: 52rem;
	margin: 0 auto;
	padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 4rem);
	text-align: center;
	background: var(--rt-white);
	border: 1px solid var(--rt-blue-light);
	border-top: 4px solid var(--rt-orange);
	border-radius: var(--rt-radius-lg);
	box-shadow: var(--rt-shadow-lg);
}

.rt-mission__icon {
	display: grid;
	place-items: center;
	width: 4rem;
	height: 4rem;
	margin: 0 auto 1.25rem;
	font-size: 1.5rem;
	color: var(--rt-orange);
	background: rgb(247 111 40 / 12%);
	border-radius: 50%;
}

.rt-mission p {
	margin: 0;
	font-size: var(--rt-step-1);
	color: var(--rt-gray-600);
}

/* --- Apparition au défilement -------------------------------------------- */

/*
 * Visible par défaut : main.js ne masque (--pending) que les blocs situés
 * sous la ligne de flottaison au chargement, puis les révèle (--visible).
 * Pas de page blanche avant l'exécution du script, ni sans JS.
 * --visible est retiré après l'animation pour rendre la main aux
 * transitions de survol des cartes.
 */
.rt-reveal--pending {
	opacity: 0;
	transform: translateY(18px);
}

.rt-reveal--visible {
	transition: opacity 520ms ease, transform 520ms ease;
	transition-delay: var(--rt-reveal-delay, 0ms);
}

/* --- Accessibilité : mouvement réduit ----------------------------------- */

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

	.rt-reveal--pending {
		opacity: 1;
		transform: none;
	}

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

/* --- Formulaires (devis, candidature) ----------------------------------- */

/* Panneau blanc pour poser un formulaire sur fond coloré (ex. section bleue),
   afin de garantir le contraste des libellés. */
.rt-form-panel {
	max-width: 640px;
	margin-inline: auto;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	background: var(--rt-white);
	color: var(--rt-gray-900);
	border-radius: var(--rt-radius-lg);
	box-shadow: var(--rt-shadow-lg);
}

.rt-form p { margin: 0 0 1.25rem; }

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

.rt-form label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: var(--rt-step--1);
	font-weight: 600;
	color: var(--rt-blue);
}

.rt-form input[type="text"],
.rt-form input[type="tel"],
.rt-form input[type="email"],
.rt-form select,
.rt-form textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	font-family: inherit;
	font-size: var(--rt-step-0);
	color: var(--rt-black);
	background: var(--rt-white);
	border: 1px solid var(--rt-gray-400);
	border-radius: var(--rt-radius);
	transition: border-color var(--rt-transition), box-shadow var(--rt-transition);
}

.rt-form textarea { resize: vertical; }

.rt-form input:focus,
.rt-form select:focus,
.rt-form textarea:focus {
	outline: none;
	border-color: var(--rt-blue);
	box-shadow: 0 0 0 3px var(--rt-blue-light);
}

/* Cases à cocher : libellé en ligne, poids normal. */
.rt-form input[type="checkbox"] {
	width: auto;
	margin-right: 0.5rem;
}

.rt-form label:has(input[type="checkbox"]) {
	display: flex;
	align-items: flex-start;
	gap: 0.25rem;
	font-weight: 400;
	color: var(--rt-gray-900);
}

/* Photo ronde du conseiller dans le hero de sa fiche. */
.rt-conseiller-hero__photo {
	display: block;
	width: 9.375rem;
	height: 9.375rem;
	margin: 0 auto 1.25rem;
	object-fit: cover;
	object-position: 50% 20%;
	border: 4px solid var(--rt-white);
	border-radius: 50%;
	box-shadow: 0 8px 24px rgb(0 0 0 / 25%);
}

/* Bloc « Rejoindre le réseau » : courtier / prescripteur / artisan. */
.rt-profils {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rt-profil {
	display: flex;
	flex-direction: column;
	align-items: center;
}

/*
 * Bouton calé en bas de carte. Sélecteur renforcé : « .rt-step p { margin: 0 } »
 * annulerait la marge auto, et « .rt-step--icon p:last-child » borne la largeur
 * à 30ch, ce qui ferait passer le libellé le plus long sur deux lignes.
 */
.rt-profil .rt-profil__cta {
	max-width: none;
	margin-top: auto;
	padding-top: 1.5rem;
}

/* Deux profils seulement (page de recrutement) : cartes resserrées au centre. */
.rt-profils:has(> :last-child:nth-child(2)) {
	max-width: 48rem;
	margin-inline: auto;
}
