/* =========================================================
   Astragale — feuille de style principale
   ---------------------------------------------------------
   Pour adapter le site à la charte graphique définitive, il
   suffit en principe de modifier les DEUX couleurs de marque
   ci-dessous (--color-blue et --color-orange) : toutes les
   autres teintes (bleu foncé, marine, fonds pastel...) en
   sont dérivées automatiquement.
   Pensez à reporter les mêmes codes dans assets/css/admin.css
   pour que l'administration reste assortie.
   ========================================================= */

/* ---------------------------------------------------------
   1. Jetons de design (couleurs, typo, espacements)
   --------------------------------------------------------- */
:root {
	/* --- Charte : les 2 seules couleurs à modifier --- */
	--color-blue: #1a4fce;
	--color-orange: #f5811f;

	/* --- Teintes dérivées (valeurs de secours) --- */
	--color-blue-dark: #123a91;
	--color-blue-darker: #0d2a6b;
	--color-navy: #0a1f52;
	--color-navy-deep: #061436;
	--color-blue-soft: #eef2fd;
	--color-orange-soft: #fff1e3;
	--color-orange-dark: #cc6a12;

	/* --- Neutres --- */
	--color-bg: #ffffff;
	--color-bg-alt: #f5f7fb;
	--color-border: #e2e7f2;
	--color-border-strong: #cbd4e8;
	--color-text: #10192e;
	--color-text-muted: #5a6480;
	--color-white: #ffffff;

	/* --- Rayons & ombres --- */
	--radius-sm: 8px;
	--radius-md: 14px;
	--radius-lg: 22px;
	--radius-pill: 999px;
	--shadow-sm: 0 1px 2px rgba(10, 31, 82, .06), 0 2px 8px rgba(10, 31, 82, .05);
	--shadow-md: 0 4px 12px rgba(10, 31, 82, .07), 0 12px 28px rgba(10, 31, 82, .08);
	--shadow-lg: 0 8px 20px rgba(10, 31, 82, .10), 0 28px 60px rgba(10, 31, 82, .14);

	/* --- Typographie --- */
	--font-display: 'Archivo', 'Poppins', 'Segoe UI', sans-serif;
	--font-body: 'Inter', 'Segoe UI', sans-serif;

	--step--1: clamp(.82rem, .8rem + .1vw, .875rem);
	--step-0: clamp(1rem, .97rem + .14vw, 1.075rem);
	--step-1: clamp(1.12rem, 1.06rem + .3vw, 1.3rem);
	--step-2: clamp(1.35rem, 1.22rem + .6vw, 1.75rem);
	--step-3: clamp(1.6rem, 1.36rem + 1.1vw, 2.35rem);
	--step-4: clamp(2rem, 1.5rem + 2.2vw, 3.4rem);

	/* --- Rythme --- */
	--space-section: clamp(3.5rem, 6vw, 6rem);
	--container-width: 1240px;
	--container-narrow: 860px;
	/* Hauteur de la bande bleue qui descend SOUS les 3 cartes du bandeau
	   d'accueil. C'est le seul reglage a toucher pour l'agrandir. */
	--hero-cards-gap: clamp(3.5rem, 5vw, 4.5rem);
}

/* Teintes dérivées automatiquement des 2 couleurs de charte
   (navigateurs récents — sinon les valeurs de secours ci-dessus). */
@supports (color: color-mix(in srgb, red 50%, blue)) {
	:root {
		--color-blue-dark: color-mix(in srgb, var(--color-blue) 74%, #03102e);
		--color-blue-darker: color-mix(in srgb, var(--color-blue) 54%, #03102e);
		--color-navy: color-mix(in srgb, var(--color-blue) 32%, #03102e);
		--color-navy-deep: color-mix(in srgb, var(--color-blue) 16%, #03102e);
		--color-blue-soft: color-mix(in srgb, var(--color-blue) 7%, #fff);
		--color-orange-soft: color-mix(in srgb, var(--color-orange) 13%, #fff);
		--color-orange-dark: color-mix(in srgb, var(--color-orange) 84%, #2e1000);
	}
}

/* ---------------------------------------------------------
   2. Base
   --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--step-0);
	color: var(--color-text);
	background: var(--color-bg);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
svg { flex-shrink: 0; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--color-navy);
	margin: 0 0 .4em;
	line-height: 1.12;
	letter-spacing: -.015em;
	text-wrap: balance;
}
h1 { font-size: var(--step-4); font-stretch: 112%; }
h2 { font-size: var(--step-3); font-stretch: 108%; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

::selection { background: var(--color-blue); color: #fff; }

:focus-visible {
	outline: 3px solid var(--color-orange);
	outline-offset: 3px;
	border-radius: 4px;
}

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

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--color-navy);
	color: #fff;
	padding: 12px 20px;
	z-index: 999;
	font-weight: 600;
}
.skip-link:focus { left: 8px; top: 8px; border-radius: var(--radius-sm); }

/* ---------------------------------------------------------
   3. Mise en page
   --------------------------------------------------------- */
.container {
	width: 100%;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 clamp(20px, 4vw, 40px);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding: var(--space-section) 0; }
.section--alt { background: var(--color-bg-alt); }
.section--tight { padding-block: clamp(2.5rem, 4vw, 3.5rem); }
.section--after-hero { padding-top: var(--space-section); }

/* En-tête de section : libellé « ligne de touche » + titre */
.section-head {
	max-width: 780px;
	margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}
.section-head__title { margin-bottom: .25em; }
.section-head__lead {
	color: var(--color-text-muted);
	font-size: var(--step-1);
	margin-bottom: 0;
}

.eyebrow {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: .8rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--color-blue);
	margin: 0 0 .9em;
}
/* Le trait reste aligné sur la 1re ligne même si le libellé passe à la ligne. */
.eyebrow::before {
	content: '';
	width: 28px;
	height: 3px;
	margin-top: .62em;
	background: var(--color-orange);
	flex-shrink: 0;
}
.eyebrow--on-blue { color: rgba(255, 255, 255, .82); }
.eyebrow--on-blue::before { background: var(--color-orange); }

/* Pictogrammes */
.icon { width: 22px; height: 22px; }
.icon--small { width: 16px; height: 16px; }
.icon--lg { width: 28px; height: 28px; }
.icon--xl { width: 34px; height: 34px; }
.icon--placeholder { width: 38px; height: 38px; opacity: .4; }
.icon--social { width: 20px; height: 20px; }

/* La « fiche technique » : chiffres clés en typo étendue tabulaire */
.spec { display: flex; flex-direction: column; gap: 2px; }
.spec__label {
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--color-text-muted);
}
.spec__value {
	font-family: var(--font-display);
	font-weight: 700;
	font-stretch: 112%;
	font-size: var(--step-1);
	font-variant-numeric: tabular-nums lining-nums;
	color: var(--color-navy);
	line-height: 1.15;
}

.empty-state {
	color: var(--color-text-muted);
	background: var(--color-bg-alt);
	border: 1px dashed var(--color-border-strong);
	border-radius: var(--radius-md);
	padding: 28px;
	margin: 0;
	text-align: center;
}

/* ---------------------------------------------------------
   4. Boutons
   --------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: .875rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 15px 30px;
	border: 2px solid transparent;
	border-radius: var(--radius-pill);
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; }

.btn--primary {
	background: var(--color-blue);
	color: #fff;
	box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--color-blue-dark); box-shadow: var(--shadow-md); }

/* Orange = fond, texte marine : le blanc sur orange ne passe pas
   le contraste minimum (2,6:1). Marine sur orange = 6:1. */
.btn--accent {
	background: var(--color-orange);
	color: var(--color-navy);
}
.btn--accent:hover { background: var(--color-orange-dark); color: #fff; }

.btn--ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, .45);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.btn--block { display: flex; width: 100%; }

/* ---------------------------------------------------------
   5. En-tête
   --------------------------------------------------------- */
.site-header {
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--color-border);
	position: sticky;
	top: 0;
	z-index: 50;
	transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); border-bottom-color: transparent; }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 76px;
	padding-block: 10px;
}
.site-branding { display: flex; align-items: center; }
.site-branding img {
	max-height: 54px;
	width: auto;
	transition: max-height .2s ease;
}
.is-scrolled .site-branding img { max-height: 46px; }
.site-title {
	font-family: var(--font-display);
	font-weight: 800;
	font-stretch: 110%;
	font-size: 1.3rem;
	letter-spacing: -.02em;
	color: var(--color-navy);
}

.site-nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav-menu a {
	position: relative;
	display: inline-block;
	font-weight: 500;
	font-size: .95rem;
	color: var(--color-text);
	padding: 6px 0;
	transition: color .15s ease;
}
.nav-menu a::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--color-orange);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .22s ease;
}
.nav-menu a:hover { color: var(--color-blue); }
.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after,
.nav-menu .current_page_item > a::after { transform: scaleX(1); }
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a { color: var(--color-blue); font-weight: 600; }

.nav-toggle {
	display: none;
	background: none;
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-sm);
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0;
}
.nav-toggle__bar {
	width: 20px;
	height: 2px;
	background: var(--color-navy);
	border-radius: 2px;
	transition: transform .22s ease, opacity .18s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------
   6. Hero (page d'accueil)
   --------------------------------------------------------- */
.hero {
	position: relative;
	isolation: isolate;
	background: var(--color-navy);
	color: #fff;
	padding: clamp(3.5rem, 7vw, 6rem) 0 var(--hero-cards-gap);
}
.hero__bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
	z-index: -1;
	background:
		radial-gradient(120% 130% at 82% 8%, var(--color-blue) 0%, transparent 58%),
		linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-deep) 100%);
}
/* Tracés de terrain : rond central + ligne médiane, très discrets */
.hero__bg::before {
	content: '';
	position: absolute;
	right: -8%;
	bottom: -46%;
	width: min(720px, 78vw);
	aspect-ratio: 1;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px transparent, 0 0 0 clamp(40px, 7vw, 90px) rgba(255, 255, 255, .035);
}
.hero__bg::after {
	content: '';
	position: absolute;
	right: 22%;
	top: -20%;
	width: 1px;
	height: 140%;
	background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .18) 30%, rgba(255, 255, 255, .18) 70%, transparent);
}

.hero__inner { max-width: 760px; }
.hero__title { color: #fff; margin-bottom: .35em; }
.hero__text {
	font-size: var(--step-1);
	color: rgba(255, 255, 255, .84);
	margin-bottom: 0;
}
.hero__text p:last-child { margin-bottom: 0; }
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.hero__cards {
	display: grid;
	/* auto-fit : le nombre de cartes suit le nombre de types d'espaces,
	   qui est désormais libre (3 par défaut, mais 2 ou 5 fonctionnent). */
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: clamp(14px, 1.6vw, 20px);
	margin-top: clamp(2.5rem, 5vw, 4rem);
	position: relative;
	z-index: 3;
}
.hero-card {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #fff;
	color: var(--color-navy);
	border-radius: var(--radius-md);
	padding: 22px 24px;
	box-shadow: var(--shadow-lg);
	transition: transform .2s ease, box-shadow .2s ease;
}
.hero-card:hover { transform: translateY(-4px); }
.hero-card__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	border-radius: 12px;
	background: var(--color-blue-soft);
	color: var(--color-blue);
	transition: background-color .2s ease, color .2s ease;
}
.hero-card:hover .hero-card__icon { background: var(--color-orange-soft); color: var(--color-orange-dark); }
.hero-card__label {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.25;
	letter-spacing: -.01em;
	text-wrap: balance;
	min-width: 0;
}
.hero-card__arrow { margin-left: auto; color: var(--color-blue); transition: transform .2s ease; }
.hero-card:hover .hero-card__arrow { transform: translateX(4px); }

/* ---------------------------------------------------------
   7. Bandeau de page (pages intérieures)
   --------------------------------------------------------- */
.page-banner {
	position: relative;
	isolation: isolate;
	background: var(--color-navy);
	color: #fff;
	padding: clamp(2.75rem, 5vw, 4.25rem) 0;
	overflow: hidden;
}
.page-banner::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(120% 160% at 88% 0%, var(--color-blue) 0%, transparent 60%),
		linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-deep) 100%);
}
.page-banner::after {
	content: '';
	position: absolute;
	right: -6%;
	bottom: -140%;
	width: min(560px, 70vw);
	aspect-ratio: 1;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 50%;
	z-index: -1;
}
.page-banner__title { color: #fff; max-width: 20ch; }
.page-banner__text,
.page-banner__lead {
	max-width: 68ch;
	color: rgba(255, 255, 255, .84);
	font-size: var(--step-1);
}
.page-banner__text p:last-child,
.page-banner__lead:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------
   8. Carrousel « prestations »
   --------------------------------------------------------- */
.carousel { position: relative; }
.carousel__track {
	display: flex;
	gap: clamp(14px, 1.6vw, 22px);
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-bottom: 4px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide {
	flex: 0 0 clamp(190px, 24vw, 268px);
	scroll-snap-align: start;
}
.carousel__media {
	position: relative;
	border-radius: var(--radius-md);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--color-blue-soft);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-blue);
}
.carousel__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
.carousel__slide--link:hover .carousel__media img { transform: scale(1.05); }
.carousel__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	border: 1px dashed var(--color-border-strong);
	border-radius: inherit;
}
.carousel__label {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 14px 0 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1rem;
	color: var(--color-navy);
}

/* Slide cliquable : elle renvoie vers la fiche d'un espace. */
.carousel__slide--link { display: block; }
.carousel__slide--link .carousel__media {
	transition: box-shadow .2s ease;
}
.carousel__slide--link:hover .carousel__media { box-shadow: var(--shadow-md); }
.carousel__slide--link:hover .carousel__label { color: var(--color-blue); }
.carousel__label-arrow {
	display: inline-flex;
	color: var(--color-orange);
	transition: transform .2s ease;
}
.carousel__slide--link:hover .carousel__label-arrow { transform: translateX(3px); }

.carousel__nav { display: flex; gap: 10px; margin-top: 20px; }
.carousel__arrow {
	background: #fff;
	border: 1px solid var(--color-border-strong);
	border-radius: 50%;
	width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	color: var(--color-navy);
	transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.carousel__arrow:hover {
	background: var(--color-navy);
	border-color: var(--color-navy);
	color: #fff;
}
.carousel__arrow[disabled] { opacity: .35; cursor: default; }
.carousel__arrow[disabled]:hover { background: #fff; color: var(--color-navy); border-color: var(--color-border-strong); }
.carousel--static .carousel__nav { display: none; }

/* ---------------------------------------------------------
   9. Cartes « espace »
   --------------------------------------------------------- */
.espace-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: clamp(18px, 2vw, 28px);
}

.espace-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	color: var(--color-text);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.espace-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
	border-color: transparent;
}
.espace-card::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: var(--color-orange);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .28s ease;
}
.espace-card:hover::after { transform: scaleX(1); }

.espace-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--color-navy);
}
.espace-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
.espace-card:hover .espace-card__img { transform: scale(1.05); }
.espace-card__placeholder {
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	color: rgba(255, 255, 255, .5);
	background:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 22px, transparent 22px 44px),
		linear-gradient(160deg, var(--color-navy), var(--color-navy-deep));
}

.espace-card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px 22px 22px;
	flex: 1;
}
.espace-card__title {
	font-size: var(--step-1);
	margin: 0;
	color: var(--color-navy);
}
.espace-card__specs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
}
.espace-card__spec {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--color-navy);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: .97rem;
	font-variant-numeric: tabular-nums lining-nums;
}
.espace-card__spec .icon { color: var(--color-blue); }
.espace-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--color-border);
}
.espace-card__link-label {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: .78rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--color-blue);
}
.espace-card__cta {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--color-blue-soft);
	color: var(--color-blue);
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.espace-card:hover .espace-card__cta {
	background: var(--color-orange);
	color: var(--color-navy);
	transform: translateX(4px);
}

/* ---------------------------------------------------------
   10. Fiche espace
   --------------------------------------------------------- */
/* Galerie asymétrique : 1 grande photo + 2 secondaires */
.espace-gallery {
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-auto-rows: 1fr;
	gap: 14px;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}
.espace-gallery__item {
	border-radius: var(--radius-md);
	overflow: hidden;
	background: var(--color-bg-alt);
	aspect-ratio: 4 / 3;
}
.espace-gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.espace-gallery__item:first-child {
	grid-row: span 2;
	aspect-ratio: auto;
	min-height: 100%;
}
.espace-gallery__item:first-child:only-child { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.espace-gallery--single { grid-template-columns: 1fr; }
.espace-gallery--duo { grid-template-columns: 1fr 1fr; }
.espace-gallery--duo .espace-gallery__item:first-child { grid-row: auto; aspect-ratio: 4 / 3; }
.espace-gallery__item--placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: var(--color-text-muted);
	border: 1px dashed var(--color-border-strong);
	grid-column: 1 / -1;
	grid-row: auto;
	aspect-ratio: 21 / 7;
}
.espace-gallery__item--placeholder p { margin: 0; }

.espace-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: clamp(24px, 4vw, 56px);
	align-items: start;
}
.espace-content { min-width: 0; }

/* Panneau latéral « fiche technique » collant */
.espace-panel {
	position: sticky;
	top: 100px;
	background: var(--color-bg-alt);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 26px;
}
.espace-panel__title {
	font-size: .78rem;
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--color-navy);
	margin: 0 0 18px;
	padding-bottom: 14px;
	border-bottom: 2px solid var(--color-orange);
}
.espace-panel__specs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 16px;
	margin-bottom: 22px;
}
.espace-panel__specs .spec__value { font-size: 1.12rem; }
.espace-panel__section + .espace-panel__section { margin-top: 22px; }
.espace-panel__label {
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--color-text-muted);
	margin: 0 0 12px;
}
.espace-panel__cta { margin-top: 24px; }

.equip-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.equip-list__item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: .92rem;
	color: var(--color-text);
}
.equip-list__item .icon {
	width: 20px;
	height: 20px;
	color: var(--color-orange-dark);
}

/* Configurations possibles */
.espace-configs { margin-top: clamp(2.5rem, 5vw, 4rem); }
.espace-configs .section-head { margin-bottom: 1.25rem; }
.config-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 12px;
	margin: 0 0 clamp(2rem, 4vw, 3rem);
}
.config-tile {
	background: var(--color-orange-soft);
	color: var(--color-navy);
	border-radius: var(--radius-md);
	padding: 20px 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: .85rem;
	text-align: center;
	transition: transform .18s ease;
}
.config-tile:hover { transform: translateY(-3px); }
.config-tile .icon { color: var(--color-orange-dark); }

.espace-cta {
	margin-top: clamp(2.5rem, 5vw, 4rem);
	text-align: center;
	background: var(--color-blue-soft);
	border-radius: var(--radius-lg);
	padding: clamp(2rem, 4vw, 3rem);
}
.espace-cta__title { margin-bottom: .5em; }
.espace-cta__text { color: var(--color-text-muted); max-width: 52ch; margin: 0 auto 1.5em; }

/* ---------------------------------------------------------
   11. Avis clients
   --------------------------------------------------------- */
.temoignage-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: clamp(14px, 1.6vw, 22px);
}
.temoignage-logo {
	position: relative;
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	aspect-ratio: 4 / 3;
	display: grid;
	place-items: center;
	padding: 28px;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.temoignage-logo:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	border-color: var(--color-orange);
}
.temoignage-logo img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	object-fit: contain;
	filter: grayscale(1);
	opacity: .78;
	transition: filter .25s ease, opacity .25s ease;
}
.temoignage-logo:hover img { filter: grayscale(0); opacity: 1; }
.temoignage-logo__placeholder {
	font-family: var(--font-display);
	font-weight: 700;
	text-align: center;
	color: var(--color-navy);
	line-height: 1.3;
}

/* Fiche témoignage */
.testimonial-card {
	position: relative;
	background: var(--color-bg-alt);
	border-radius: var(--radius-lg);
	padding: clamp(28px, 5vw, 56px);
}
.testimonial-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	padding-bottom: 22px;
	margin-bottom: 26px;
	border-bottom: 1px solid var(--color-border);
}
.testimonial-card__title { font-size: var(--step-2); margin: 0; }
.testimonial-card__logo { max-height: 56px; width: auto; }
.testimonial-card__body {
	position: relative;
	font-size: var(--step-1);
	line-height: 1.7;
	color: var(--color-text);
}
.testimonial-card__body::before {
	content: '\201C';
	display: block;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 4.5rem;
	line-height: .8;
	color: var(--color-orange);
	margin-bottom: .1em;
}
.testimonial-card__photos {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin: 28px 0 0;
}
.testimonial-card__photos img {
	border-radius: var(--radius-md);
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
}
.testimonial-card__cta { margin-top: 28px; }

.back-link { margin-top: 28px; }
.back-link a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--color-blue);
	font-weight: 600;
}
.back-link a:hover { text-decoration: underline; }

/* ---------------------------------------------------------
   12. Contact
   --------------------------------------------------------- */
.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: clamp(24px, 4vw, 48px);
	align-items: start;
}

.contact-form-wrap {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	padding: clamp(24px, 4vw, 44px);
}
.contact-form-wrap .wpcf7-form p { margin-bottom: 18px; }
.contact-form-wrap .wpcf7-form label {
	display: block;
	font-weight: 600;
	font-size: .9rem;
	color: var(--color-navy);
	margin-bottom: 7px;
}
.contact-form-wrap input[type=text],
.contact-form-wrap input[type=email],
.contact-form-wrap input[type=tel],
.contact-form-wrap input[type=number],
.contact-form-wrap input[type=date],
.contact-form-wrap select,
.contact-form-wrap textarea {
	width: 100%;
	padding: 13px 15px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--color-border-strong);
	background: var(--color-bg-alt);
	color: var(--color-text);
	font-family: inherit;
	font-size: .97rem;
	transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.contact-form-wrap textarea { min-height: 150px; resize: vertical; }
.contact-form-wrap input:focus,
.contact-form-wrap select:focus,
.contact-form-wrap textarea:focus {
	outline: none;
	background: #fff;
	border-color: var(--color-blue);
	box-shadow: 0 0 0 3px rgba(26, 79, 206, .16);
}
.contact-form-wrap .row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 20px;
}
.contact-form-wrap .wpcf7-submit {
	font-family: var(--font-display);
	background: var(--color-blue);
	color: #fff;
	border: none;
	padding: 15px 36px;
	border-radius: var(--radius-pill);
	font-weight: 700;
	font-size: .875rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	display: block;
	margin: 24px auto 0;
	transition: background-color .18s ease, transform .18s ease;
}
.contact-form-wrap .wpcf7-submit:hover { background: var(--color-blue-dark); transform: translateY(-2px); }
/* Groupe de cases a cocher : fieldset sans habillage par defaut, la
   legende se presente comme les autres libelles du formulaire. */
.contact-form-wrap fieldset {
	border: 0;
	margin: 0 0 18px;
	padding: 0;
	min-width: 0;
}
.contact-form-wrap legend {
	display: block;
	padding: 0;
	font-weight: 600;
	font-size: .9rem;
	color: var(--color-navy);
	margin-bottom: 7px;
}

/* Cases a cocher et boutons radio du formulaire */
.contact-form-wrap .wpcf7-checkbox,
.contact-form-wrap .wpcf7-radio,
.contact-form-wrap .wpcf7-acceptance {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin-top: 4px;
}
.contact-form-wrap .wpcf7-list-item { margin: 0; }
.contact-form-wrap .wpcf7-list-item label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-weight: 400;
	color: var(--color-text);
	cursor: pointer;
}
.contact-form-wrap input[type=checkbox],
.contact-form-wrap input[type=radio] {
	width: 18px;
	height: 18px;
	accent-color: var(--color-blue);
	flex-shrink: 0;
}
/* L'asterisque des champs obligatoires */
.contact-form-wrap .wpcf7-form label abbr {
	color: var(--color-orange-dark);
	text-decoration: none;
	border: 0;
}

.contact-form-wrap .wpcf7-not-valid-tip { color: #c0392b; font-size: .85rem; }
.contact-form-wrap .wpcf7-response-output {
	border-radius: var(--radius-sm);
	border-width: 1px;
	margin: 20px 0 0;
	padding: 12px 16px;
	font-size: .92rem;
}

/* Coordonnées en colonne latérale */
.contact-aside {
	position: sticky;
	top: 100px;
	background: var(--color-navy);
	color: #fff;
	border-radius: var(--radius-lg);
	padding: clamp(24px, 3vw, 32px);
}
.contact-aside__title { color: #fff; font-size: var(--step-1); margin-bottom: 1.2em; }
.contact-info__item + .contact-info__item {
	margin-top: 22px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, .16);
}
.contact-info__item h3 {
	display: flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, .68);
	font-size: .74rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .12em;
	margin-bottom: .5em;
}
.contact-info__item h3 .icon { color: var(--color-orange); width: 16px; height: 16px; }
.contact-info__item p { margin: 0; color: rgba(255, 255, 255, .92); }
.contact-info__item a {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: var(--step-1);
	color: #fff;
	font-variant-numeric: tabular-nums;
	word-break: break-word;
}
.contact-info__item a:hover { color: var(--color-orange); }

/* Confirmation (mail envoyé) */
.confirmation-box {
	max-width: 640px;
	margin: 0 auto;
	background: var(--color-bg-alt);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 48px);
	text-align: center;
}
.confirmation-box__icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	margin: 0 auto 24px;
	border-radius: 50%;
	background: var(--color-blue);
	color: #fff;
}
.confirmation-box__actions { margin-top: 28px; }

/* ---------------------------------------------------------
   13. Vidéo
   --------------------------------------------------------- */
.video-block {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: linear-gradient(160deg, var(--color-navy), var(--color-navy-deep));
	color: #fff;
}
.video-block__placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: clamp(220px, 34vw, 420px);
	text-align: center;
	padding: 32px;
	background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 24px, transparent 24px 48px);
}
.video-block__placeholder p {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--step-1);
	letter-spacing: .02em;
}
.video-block__hint { color: rgba(255, 255, 255, .6); font-size: var(--step--1); }
.video-block__embed { width: 100%; display: block; }
.video-block__embed iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
	display: block;
}

/* ---------------------------------------------------------
   14. Bandeau d'appel à l'action (avant le pied de page)
   --------------------------------------------------------- */
.cta-band {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--color-blue);
	color: #fff;
	padding: clamp(2.75rem, 5vw, 4.5rem) 0;
}
.cta-band::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(100% 140% at 12% 100%, var(--color-blue-dark) 0%, transparent 60%),
		linear-gradient(120deg, var(--color-blue) 0%, var(--color-blue-dark) 100%);
}
.cta-band__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(20px, 4vw, 48px);
	flex-wrap: wrap;
}
.cta-band__title { color: #fff; margin-bottom: .25em; max-width: 18ch; }
.cta-band__text { color: rgba(255, 255, 255, .84); max-width: 46ch; margin: 0; }

/* ---------------------------------------------------------
   15. Pied de page
   --------------------------------------------------------- */
.site-footer { background: var(--color-navy); color: rgba(255, 255, 255, .8); }
.site-footer__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
	padding-block: clamp(2.5rem, 4vw, 3.5rem);
}
/* Le logo s'affiche tel quel, sans cadre : ni fond blanc, ni arrondi.
   Si votre logo est sombre et ressort mal sur le marine du pied de page,
   retirez les barres de commentaire des 3 lignes ci-dessous pour lui
   redonner une pastille claire (angles arrondis, et non ovale). */
.site-footer__logo img {
	max-height: 84px;
	width: auto;
	/* background: #fff; */
	/* padding: 10px 14px; */
	/* border-radius: var(--radius-md); */
}
.site-footer__heading {
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .55);
	margin-bottom: 1em;
}
.site-footer__links { display: grid; gap: 10px; }
.site-footer__links a { transition: color .15s ease; }
.site-footer__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__contact a {
	font-family: var(--font-display);
	font-weight: 600;
	color: #fff;
	word-break: break-word;
}
.site-footer__contact a:hover { color: var(--color-orange); }
.site-footer__contact p { margin-bottom: .5em; }

.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .14); }
.site-footer__bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-block: 18px;
	flex-wrap: wrap;
	gap: 14px;
}
.social-icons { display: flex; gap: 10px; }
.social-icons a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .22);
	color: #fff;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.social-icons a:hover { background: var(--color-orange); border-color: var(--color-orange); color: var(--color-navy); }
.site-footer__legal {
	display: flex;
	gap: 22px;
	font-size: var(--step--1);
	flex-wrap: wrap;
}
.site-footer__legal a:hover { color: #fff; text-decoration: underline; }

/* ---------------------------------------------------------
   16. Contenu libre WordPress (.entry-content)
   --------------------------------------------------------- */
.entry-content { max-width: 72ch; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 { font-size: var(--step-2); margin-top: 1.6em; }
.entry-content h3 { font-size: var(--step-1); margin-top: 1.4em; }
.entry-content a:not(.btn) {
	color: var(--color-blue);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.entry-content a:not(.btn):hover { color: var(--color-blue-dark); }
.entry-content ul,
.entry-content ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.entry-content ul { list-style: none; padding-left: 0; }
.entry-content ul li {
	position: relative;
	padding-left: 26px;
	margin-bottom: .5em;
}
.entry-content ul li::before {
	content: '';
	position: absolute;
	left: 4px;
	top: .62em;
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: var(--color-orange);
}
.entry-content ol { list-style: decimal; }
.entry-content ol li { margin-bottom: .5em; }
.entry-content blockquote {
	margin: 1.6em 0;
	padding: 4px 0 4px 22px;
	border-left: 3px solid var(--color-orange);
	font-size: var(--step-1);
	color: var(--color-navy);
}
.entry-content img { border-radius: var(--radius-md); margin: 1.2em 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
.entry-content th,
.entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--color-border); text-align: left; }
.entry-content th { font-family: var(--font-display); color: var(--color-navy); }
.entry-content hr { border: 0; border-top: 1px solid var(--color-border); margin: 2.2em 0; }

.page-banner .entry-content,
.page-banner__text { max-width: 68ch; }
.page-banner .entry-content a:not(.btn) { color: #fff; }

/* ---------------------------------------------------------
   17. Animations (respectent prefers-reduced-motion)
   --------------------------------------------------------- */
.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .3, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
	.reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------
   18. Adaptatif
   --------------------------------------------------------- */
@media (max-width: 1080px) {
	.espace-layout { grid-template-columns: minmax(0, 1fr) 320px; }
	.contact-layout { grid-template-columns: minmax(0, 1fr) 300px; }
}

@media (max-width: 960px) {
	.hero__cards { grid-template-columns: 1fr; gap: 12px; }
	.hero-card { padding: 18px 20px; }
	.espace-layout,
	.contact-layout { grid-template-columns: 1fr; }
	.espace-panel { position: static; }
	.espace-gallery { grid-template-columns: 1fr 1fr; }
	.espace-gallery__item:first-child { grid-row: auto; aspect-ratio: 4 / 3; min-height: 0; }
	.espace-gallery__item:first-child:only-child { aspect-ratio: 16 / 9; }
	.site-footer__inner { grid-template-columns: auto minmax(0, 1fr); }
	.site-footer__contact { grid-column: 1 / -1; }
}

@media (max-width: 782px) {
	/* Barre d'admin WordPress : elle passe en position fixe sous 782px */
	.site-header { top: 0; }
}

@media (max-width: 760px) {
	.nav-toggle { display: flex; }
	.site-header__inner { position: relative; }
	.site-nav {
		display: none;
		position: absolute;
		top: calc(100% + 10px);
		left: 0;
		right: 0;
		background: #fff;
		border: 1px solid var(--color-border);
		border-radius: var(--radius-md);
		box-shadow: var(--shadow-lg);
		padding: 10px;
	}
	.site-nav.is-open { display: block; }
	.nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-menu li + li { border-top: 1px solid var(--color-border); }
	.nav-menu a { display: block; padding: 13px 12px; }
	.nav-menu a::after { display: none; }

	/* La marge de .hero__cards s'applique aussi sur mobile : pas d'exception. */
	/* La "ligne médiane" traverse le hero de façon trop marquée sur mobile. */
	.hero__bg::after { display: none; }
	.contact-aside { position: static; }

	.espace-grid { grid-template-columns: 1fr; }
	.temoignage-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
	.espace-gallery { grid-template-columns: 1fr; }
	.testimonial-card__photos { grid-template-columns: 1fr; }
	.contact-form-wrap .row { grid-template-columns: 1fr; }
	.cta-band__inner { flex-direction: column; align-items: flex-start; }
	.site-footer__inner { grid-template-columns: 1fr; }
	.site-footer__bottom-inner { justify-content: center; text-align: center; }
	.btn { width: 100%; }
	.hero__actions .btn { width: auto; flex: 1 1 auto; }
}

@media (max-width: 420px) {
	.hero__actions { flex-direction: column; align-items: stretch; }
	.hero__actions .btn { width: 100%; }
}

/* ---------------------------------------------------------
   19. Impression
   --------------------------------------------------------- */
@media print {
	.site-header, .site-footer, .cta-band, .nav-toggle, .espace-panel__cta { display: none !important; }
	body { color: #000; }
	.hero, .page-banner { background: none; color: #000; }
	.hero__title, .page-banner__title { color: #000; }
}
