/* ==========================================================================
   HL CONCEPT — feuille de style principale
   --------------------------------------------------------------------------
   Direction : dessin technique. Trait fin, trame de plan, rouge RAL 3000
   (la teinte normalisée des tuyauteries sprinkler) en accent unique.
   Aucun arrondi décoratif, aucune ombre portée : les surfaces sont
   délimitées par des filets, comme sur un plan d'exécution.

   Sommaire
   1.  Variables
   2.  Réinitialisation et base
   3.  Typographie
   4.  Structure et sections
   5.  Boutons et liens
   6.  En-tête et navigation
   7.  Hero
   8.  Référentiels
   9.  Bloc vidéo
   10. Prestations
   11. Atouts
   12. Méthode
   13. Chantiers et carrousel
   14. Bandeau d'appel
   15. Questions
   16. Contact et formulaire
   17. Pied de page
   18. Surcouches (visionneuse, cookies, retour haut)
   19. Impression
   ========================================================================== */

/* ==========================================================================
   1. VARIABLES
   ========================================================================== */
:root {
	/* Couleurs pilotées par le Customizer (surchargées dans <head>). */
	--fire: #ee242c;
	--fire-d: #c4141b;
	--fire-wash: rgba(238, 36, 44, .08);
	--sky: #12b3f0;
	--sky-wash: rgba(18, 179, 240, .10);
	--ink: #0d0e16;
	--ink-2: #1b1c28;
	--paper: #f2f4f5;

	/* Couleurs fixes. */
	--white: #fff;
	--steel: #6b767e;
	--steel-l: #9aa4ab;
	--line: rgba(27, 33, 39, .14);
	--line-strong: rgba(27, 33, 39, .28);
	--line-inv: rgba(255, 255, 255, .16);

	/* Typographie. Pour utiliser une police maison, déposez les fichiers
	   dans /assets/fonts/, décommentez le bloc @font-face plus bas et
	   remplacez la valeur de --font-display. */
	--font-text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-display: var(--font-text);
	--font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;

	/* Rythme. */
	--shell: 1240px;
	--shell-narrow: 880px;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--band-y: clamp(4rem, 8vw, 7rem);
	--nav-h: 68px;

	/* Divers. */
	--radius: 3px;
	--ease: cubic-bezier(.32, .72, 0, 1);
}

/*
@font-face {
	font-family: "HLC Display";
	src: url("../fonts/display.woff2") format("woff2");
	font-weight: 400 800;
	font-display: swap;
}
*/

/* ==========================================================================
   2. RÉINITIALISATION ET BASE
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--nav-h) + 1.5rem);
}

body {
	font-family: var(--font-text);
	font-size: 1.0625rem;
	line-height: 1.62;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img,
svg,
video,
iframe { display: block; max-width: 100%; }

img,
video { height: auto; }

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button { cursor: pointer; }

ul,
ol { list-style: none; padding: 0; }

a { color: inherit; }

abbr[title] { text-decoration: none; }

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

.skip-link {
	position: absolute;
	left: -9999px;
	z-index: 1000;
	padding: .75rem 1.25rem;
	background: var(--ink);
	color: var(--white);
}
.skip-link:focus {
	left: 1rem;
	top: 1rem;
}

.icon { flex: 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;
	}
}

/* ==========================================================================
   3. TYPOGRAPHIE
   ========================================================================== */
h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.14;
	letter-spacing: -.02em;
	text-wrap: balance;
}

.h-xl {
	font-size: clamp(2.15rem, 5vw, 3.9rem);
	line-height: 1.04;
	letter-spacing: -.032em;
}

.h-lg {
	font-size: clamp(1.7rem, 3.2vw, 2.5rem);
	letter-spacing: -.025em;
}

.h-md {
	font-size: clamp(1.35rem, 2.4vw, 1.85rem);
	letter-spacing: -.02em;
}

.prose > * + * { margin-top: 1em; }
.prose { max-width: 68ch; }
.prose a { color: var(--fire); text-underline-offset: .18em; }
.prose--sm { font-size: .975rem; line-height: 1.6; }
.prose--invert a { color: var(--white); }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose ol { list-style: decimal; padding-left: 1.2em; }
.prose li + li { margin-top: .35em; }

.linkish {
	border: 0;
	background: none;
	padding: 0;
	text-decoration: underline;
	text-underline-offset: .2em;
}

/* ==========================================================================
   4. STRUCTURE ET SECTIONS
   ========================================================================== */
.shell {
	width: 100%;
	max-width: var(--shell);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.shell--narrow { max-width: var(--shell-narrow); }

.band {
	position: relative;
	padding-block: var(--band-y);
}

/* Le motif signature : un filet en haut de chaque bloc, dont le premier
   segment est rouge. Rappel du tracé d'un réseau sur un plan. */
.band::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 2px;
	background:
		linear-gradient(to right, var(--fire) 0 72px, transparent 72px),
		linear-gradient(to right, var(--line) 0 100%);
	background-size: 100% 2px, 100% 1px;
	background-position: left top, left top;
	background-repeat: no-repeat;
}

.band--paper { background: var(--paper); }

/* La teinte d'alerte suit le fond réellement sous le texte : plus sombre
   sur le gris des sections, et ramenée à sa valeur « fond blanc » dans le
   formulaire, qui pose son propre fond blanc par-dessus. */
.band--paper { --err: var(--err-paper); }
.band--paper .form { --err: var(--err-white); }

.band--ink {
	background: var(--ink);
	color: var(--white);
}
.band--ink::before {
	background:
		linear-gradient(to right, var(--fire) 0 72px, transparent 72px),
		linear-gradient(to right, var(--line-inv) 0 100%);
	background-size: 100% 2px, 100% 1px;
	background-position: left top, left top;
	background-repeat: no-repeat;
}

.band__head { margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.band__intro {
	margin-top: 1rem;
	max-width: 62ch;
	color: var(--steel);
	font-size: 1.06rem;
}
.band--ink .band__intro { color: var(--steel-l); }

.band__head--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}

.empty {
	padding: 2rem;
	border: 1px dashed var(--line-strong);
	color: var(--steel);
	text-align: center;
}

/* ==========================================================================
   5. BOUTONS ET LIENS
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	padding: .9rem 1.6rem;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-weight: 600;
	font-size: .975rem;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.btn--solid {
	background: var(--fire);
	color: var(--white);
	border-color: var(--fire);
}
.btn--solid:hover { background: var(--fire-d); border-color: var(--fire-d); }

.btn--line {
	border-color: var(--line-strong);
	color: inherit;
	background: transparent;
}
.btn--line:hover { border-color: currentColor; background: var(--fire-wash); }

.btn--light {
	border-color: rgba(255, 255, 255, .45);
	color: var(--white);
}
.btn--light:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }

.btn--sm { padding: .62rem 1.1rem; font-size: .9rem; }
.btn--block { width: 100%; }

.btn__loading {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
}
.btn__label { display: inline-flex; align-items: center; gap: .55rem; }

.spin {
	width: 15px;
	height: 15px;
	border: 2px solid rgba(255, 255, 255, .35);
	border-top-color: var(--white);
	border-radius: 50%;
	animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.round {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	background: transparent;
	transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.round:hover {
	background: var(--fire);
	border-color: var(--fire);
	color: var(--white);
}
.round[disabled] { opacity: .3; pointer-events: none; }

/* ==========================================================================
   6. EN-TÊTE ET NAVIGATION
   ========================================================================== */
.announce {
	background: var(--fire);
	color: var(--white);
	font-size: .9rem;
}
.announce__inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-block: .6rem;
}
.announce__text { flex: 1; }
.announce__link {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	font-weight: 600;
	white-space: nowrap;
}
.announce__close {
	border: 0;
	background: none;
	color: inherit;
	padding: .25rem;
	opacity: .8;
}
.announce__close:hover { opacity: 1; }

.masthead {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--white);
}

.topbar {
	background: var(--ink);
	color: var(--steel-l);
	font-size: .84rem;
}
.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: .5rem;
}
.topbar__zone,
.topbar__links a {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
}
.topbar__links {
	display: flex;
	gap: 1.5rem;
}
.topbar__links a {
	text-decoration: none;
	transition: color .18s var(--ease);
}
.topbar__links a:hover { color: var(--white); }

.navbar {
	border-bottom: 1px solid var(--line);
	transition: box-shadow .2s var(--ease);
}
.is-stuck .navbar { box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(27, 33, 39, .07); }
.is-stuck .topbar {
	display: none;
}

.navbar__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: var(--nav-h);
}

.navbar__brand {
	display: flex;
	align-items: center;
	margin-right: auto;
	text-decoration: none;
}
.navbar__brand { color: var(--ink); }
.navbar__brand img,
.navbar__brand svg {
	max-height: 26px;
	max-width: 200px;
	width: auto;
	transition: max-height .2s var(--ease);
}
.is-stuck .navbar__brand svg,
.is-stuck .navbar__brand img { max-height: 22px; }
.logo-text {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.25rem;
	letter-spacing: -.03em;
}
.footer-logo + .footer__baseline { margin-top: .85rem; }

.navbar__menu {
	display: flex;
	gap: 1.75rem;
}
.navbar__menu a {
	position: relative;
	display: block;
	padding-block: .4rem;
	font-size: .95rem;
	font-weight: 500;
	text-decoration: none;
	color: var(--steel);
	transition: color .18s var(--ease);
}
.navbar__menu a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 100%;
	height: 2px;
	background: var(--fire);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .22s var(--ease);
}
.navbar__menu a:hover,
.navbar__menu a.is-current { color: var(--ink); }
.navbar__menu a.is-current::after { transform: scaleX(1); }

.burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: none;
	padding: 0 11px;
}
.burger span {
	display: block;
	height: 2px;
	background: var(--ink);
	transition: transform .22s var(--ease), opacity .18s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
	position: fixed;
	inset: 0;
	z-index: 200;
}
.drawer__scrim {
	position: absolute;
	inset: 0;
	background: rgba(27, 33, 39, .55);
	animation: fade .2s var(--ease);
}
.drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	width: min(360px, 86vw);
	padding: 1.5rem var(--gutter) 2rem;
	background: var(--white);
	overflow-y: auto;
	animation: slide-in .28s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
@keyframes slide-in { from { transform: translateX(100%); } }

.drawer__close {
	display: block;
	margin-left: auto;
	border: 0;
	background: none;
	padding: .5rem;
}
.drawer__menu { margin: 1rem 0 2rem; }
.drawer__menu a {
	display: block;
	padding: .95rem 0;
	border-bottom: 1px solid var(--line);
	font-size: 1.1rem;
	font-weight: 600;
	text-decoration: none;
}
.drawer__phone {
	display: flex;
	align-items: center;
	gap: .55rem;
	margin-bottom: 1rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--fire);
}

/* ==========================================================================
   7. HERO
   ========================================================================== */
.hero {
	position: relative;
	background: var(--ink);
	color: var(--white);
	overflow: hidden;
}

/* Trame de plan technique. */
.hero__plan {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px),
		linear-gradient(to right, rgba(255, 255, 255, .08) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, .08) 1px, transparent 1px);
	background-size: 34px 34px, 34px 34px, 170px 170px, 170px 170px;
	opacity: .9;
	mask-image: radial-gradient(120% 90% at 22% 30%, #000 0%, transparent 72%);
	-webkit-mask-image: radial-gradient(120% 90% at 22% 30%, #000 0%, transparent 72%);
	pointer-events: none;
}

.hero__shell {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 4.5rem);
	padding-block: clamp(3.5rem, 7vw, 6rem);
}

.hero__title {
	font-size: clamp(2.15rem, 4.6vw, 3.7rem);
	line-height: 1.05;
	letter-spacing: -.032em;
	max-width: 17ch;
}

.hero__lead {
	margin-top: 1.6rem;
	max-width: 54ch;
	color: rgba(255, 255, 255, .78);
	font-size: 1.075rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .85rem;
	margin-top: 2.25rem;
}

.hero__text { min-width: 0; }
.hero__visual { position: relative; min-width: 0; }
.hero__img {
	width: 100%;
	border-radius: var(--radius);
	border: 1px solid var(--line-inv);
}

/* Photo détourée : elle se pose au bas du bloc, sans cadre, et vient
   toucher la ligne des chiffres clés. */
.hero--cutout .hero__shell {
	align-items: end;
	padding-bottom: 0;
}
.hero__img--cutout {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 68vh;
	margin-inline: auto;
	margin-bottom: -1px;
	border: 0;
	border-radius: 0;
	filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .45));
}
.hero__img--empty {
	display: grid;
	place-items: center;
	gap: 1rem;
	aspect-ratio: 4 / 5;
	color: var(--steel-l);
	text-align: center;
	font-size: .9rem;
	border-style: dashed;
}

/* Bande de chiffres. */
.figures {
	position: relative;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	border-top: 1px solid var(--line-inv);
}
.figures__item {
	padding: 1.75rem 0 2rem;
	padding-inline-end: 1.5rem;
}
.figures__item + .figures__item {
	padding-inline-start: 1.75rem;
	border-left: 1px solid var(--line-inv);
}
.figures__num {
	font-family: var(--font-display);
	font-size: clamp(1.9rem, 3.6vw, 2.9rem);
	font-weight: 700;
	letter-spacing: -.035em;
	line-height: 1;
}
.figures__label {
	margin-top: .5rem;
	color: var(--steel-l);
	font-size: .92rem;
	max-width: 22ch;
}

/* Entrée orchestrée, une seule fois, au chargement. */
.js .hero__title,
.js .hero__lead,
.js .hero__actions,
.js .hero__visual,
.js .figures {
	opacity: 0;
	transform: translateY(14px);
	animation: rise .7s var(--ease) forwards;
}
.js .hero__lead { animation-delay: .08s; }
.js .hero__actions { animation-delay: .16s; }
.js .hero__visual { animation-delay: .1s; }
.js .figures { animation-delay: .24s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	.js .hero__title,
	.js .hero__lead,
	.js .hero__actions,
	.js .hero__visual,
	.js .figures { opacity: 1; transform: none; animation: none; }
}

/* ==========================================================================
   8. RÉFÉRENTIELS
   ========================================================================== */
.refs {
	border-bottom: 1px solid var(--line);
	background: var(--white);
}
.refs__list {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem 2.5rem;
	padding-block: 1.15rem;
}
.refs__item {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: .92rem;
	font-weight: 600;
	color: var(--steel);
}
.refs__icon { color: var(--sky); }

/* ==========================================================================
   9. BLOC VIDÉO
   ========================================================================== */
.metier {
	position: relative;
	padding-block: var(--band-y);
}
.metier__shell {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 4rem);
}
.metier__text,
.metier__media { min-width: 0; }
.metier__text .prose { margin-top: 1.4rem; color: var(--steel); }

.checklist {
	margin-top: 1.85rem;
	display: grid;
	gap: .85rem;
}
.checklist li {
	display: flex;
	gap: .7rem;
	align-items: flex-start;
	padding-bottom: .85rem;
	border-bottom: 1px solid var(--line);
	font-size: .975rem;
}
.checklist li:last-child { border-bottom: 0; padding-bottom: 0; }
.checklist__icon { color: var(--sky); margin-top: .15rem; }

.metier__video,
.metier__still,
.facade {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--ink);
	object-fit: cover;
}

.facade {
	position: relative;
	display: grid;
	place-items: center;
	overflow: hidden;
}
.facade img,
.facade__blank {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.facade__blank {
	background:
		linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 34px 34px,
		var(--ink);
}
.facade__play {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	padding: .95rem 1.5rem;
	border: 0;
	border-radius: var(--radius);
	background: var(--fire);
	color: var(--white);
	font-weight: 600;
	transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.facade__play:hover { background: var(--fire-d); transform: scale(1.03); }
.facade__note {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: .55rem .9rem;
	background: rgba(27, 33, 39, .78);
	color: rgba(255, 255, 255, .8);
	font-size: .78rem;
	text-align: center;
}
.facade iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.facade--empty {
	place-content: center;
	gap: .9rem;
	color: var(--steel-l);
	text-align: center;
	font-size: .9rem;
	border-style: dashed;
}

/* ==========================================================================
   10. PRESTATIONS
   ========================================================================== */
.grid-svc {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}
.svc {
	display: flex;
	flex-direction: column;
	gap: .85rem;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background: var(--white);
	transition: background-color .2s var(--ease);
}
.svc:hover { background: var(--fire-wash); }
.svc__icon { color: var(--fire); }
.svc__title {
	font-size: 1.18rem;
	letter-spacing: -.015em;
}
.svc__body {
	color: var(--steel);
	flex: 1;
}
.svc__link {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	margin-top: .35rem;
	font-size: .9rem;
	font-weight: 600;
	color: var(--fire);
	text-decoration: none;
}
.svc__link .icon { transition: transform .2s var(--ease); }
.svc__link:hover .icon { transform: translateX(3px); }

/* ==========================================================================
   11. ATOUTS
   ========================================================================== */
.atouts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 0 clamp(2rem, 5vw, 4rem);
}
.atout {
	display: flex;
	gap: 1.1rem;
	padding-block: 1.6rem;
	border-top: 1px solid var(--line-inv);
}
.atout__icon { color: var(--fire); margin-top: .2rem; }
.atout__title { font-size: 1.1rem; margin-bottom: .5rem; }
.atout__body { color: var(--steel-l); }

/* ==========================================================================
   12. MÉTHODE
   ========================================================================== */
.steps {
	position: relative;
	display: grid;
	gap: 0;
	counter-reset: step;
}
.step {
	position: relative;
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: clamp(1rem, 3vw, 2.5rem);
	padding-block: clamp(1.75rem, 3vw, 2.5rem);
	border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
	font-family: var(--font-mono);
	font-size: clamp(1.6rem, 3vw, 2.3rem);
	font-weight: 400;
	line-height: 1;
	color: var(--line-strong);
	letter-spacing: -.04em;
}
.step__title {
	display: flex;
	align-items: center;
	gap: .6rem;
	font-size: 1.2rem;
	margin-bottom: .6rem;
}
.step__icon { color: var(--fire); }
.step__content .prose { color: var(--steel); }

/* ==========================================================================
   13. CHANTIERS ET CARROUSEL
   ========================================================================== */
.carousel__controls {
	display: flex;
	align-items: center;
	gap: .85rem;
}
.carousel__count {
	font-family: var(--font-mono);
	font-size: .9rem;
	color: var(--steel);
	min-width: 4.5ch;
	text-align: center;
}

/* Défilement natif : l'accroche, l'inertie tactile et le glisser-déposer
   sont gérés par le navigateur. Le JavaScript ne fait que piloter les
   flèches et le compteur. */
.carousel {
	position: relative;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-padding-inline-start: var(--gutter);
	padding-inline-start: var(--gutter);
	scrollbar-width: none;
	-ms-overflow-style: none;
	overscroll-behavior-x: contain;
}
.carousel::-webkit-scrollbar { display: none; }

.carousel__track {
	display: flex;
	gap: 1.25rem;
}

.slide {
	flex: 0 0 min(760px, 82vw);
	max-width: 760px;
	scroll-snap-align: start;
}
.slide:last-child { padding-right: var(--gutter); box-sizing: content-box; }
.slide__media {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--ink);
	overflow: hidden;
	cursor: zoom-in;
}
.slide__media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform .5s var(--ease), opacity .3s var(--ease);
}
.slide__media:hover img { transform: scale(1.02); }
.slide__zoom {
	position: absolute;
	right: .75rem;
	bottom: .75rem;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: var(--radius);
	background: rgba(27, 33, 39, .72);
	color: var(--white);
	opacity: 0;
	transition: opacity .2s var(--ease);
}
.slide__media:hover .slide__zoom,
.slide__media:focus-visible .slide__zoom { opacity: 1; }

.slide__caption { padding-top: 1.1rem; }
.slide__title { font-size: 1.15rem; }
.slide__meta {
	margin-top: .35rem;
	font-family: var(--font-mono);
	font-size: .84rem;
	color: var(--sky);
	letter-spacing: -.01em;
}
.slide__text { margin-top: .7rem; color: var(--steel); }

/* Les diapositives hors champ restent lisibles mais discrètes. */
.slide:not(.is-active) .slide__media img { opacity: .55; }

/* ==========================================================================
   14. BANDEAU D'APPEL
   ========================================================================== */
.appel {
	position: relative;
	padding-block: clamp(3rem, 6vw, 4.75rem);
	background: var(--ink);
	color: var(--white);
	background-size: cover;
	background-position: center;
}
.appel--photo::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(27, 33, 39, .93) 0%, rgba(27, 33, 39, .72) 100%);
}
.appel__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}
.appel__text p {
	margin-top: .85rem;
	max-width: 52ch;
	color: rgba(255, 255, 255, .78);
}
.appel__actions {
	display: flex;
	gap: .85rem;
	flex-wrap: wrap;
}

/* ==========================================================================
   15. QUESTIONS
   ========================================================================== */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-block: 1.25rem;
	font-family: var(--font-display);
	font-size: 1.08rem;
	font-weight: 600;
	letter-spacing: -.012em;
	cursor: pointer;
	list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--fire); }
.faq__sign {
	color: var(--fire);
	transition: transform .25s var(--ease);
}
.faq__item[open] .faq__sign { transform: rotate(45deg); }
.faq__a {
	padding-bottom: 1.5rem;
	color: var(--steel);
	max-width: 70ch;
}

/* ==========================================================================
   16. CONTACT ET FORMULAIRE
   ========================================================================== */
.contact {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: start;
}

.contact__col { min-width: 0; }

.form__lead {
	margin-bottom: 1.25rem;
	padding: .9rem 1.1rem;
	border-left: 3px solid var(--sky);
	background: var(--sky-wash);
	font-size: .95rem;
}

.form {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}
.field { margin-bottom: 1.15rem; }
.field label {
	display: block;
	margin-bottom: .4rem;
	font-size: .88rem;
	font-weight: 600;
}
.field abbr { color: var(--fire); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
	width: 100%;
	padding: .75rem .85rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--white);
	transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--fire);
	box-shadow: 0 0 0 3px var(--fire-wash);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--fire); }

.field__err {
	display: none;
	margin-top: .35rem;
	padding-left: .6rem;
	border-left: 3px solid var(--err);
	font-size: .86rem;
	font-weight: 500;
	color: var(--err);
}
.field.has-error .field__err { display: block; }

/* L'erreur ne repose jamais sur la seule couleur (WCAG 1.4.1) : le texte
   du message, le filet à gauche et l'épaississement de la bordure du champ
   la signalent de trois façons indépendantes. */
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
	border-color: var(--err);
	border-width: 2px;
}

.field__hint {
	display: block;
	margin-top: .35rem;
	font-size: .84rem;
	color: var(--steel);
}

.field__optional {
	display: block;
	margin-top: .15rem;
	font-size: .82rem;
	color: var(--steel);
}

.req { color: var(--err); font-weight: 700; }

.form__title {
	margin-bottom: .35rem;
	font-size: 1.15rem;
}

.form__hint {
	margin-bottom: 1.35rem;
	font-size: .86rem;
	color: var(--steel);
}

/* Résumé des erreurs, en tête de formulaire. */
.form__errors {
	margin-bottom: 1.35rem;
	padding: 1rem 1.15rem;
	border: 2px solid var(--err);
	border-radius: var(--radius);
	background: var(--fire-wash);
}
.form__errors:focus-visible { outline: 2px solid var(--err); outline-offset: 2px; }
.form__errors-title {
	font-weight: 700;
	color: var(--err);
	margin-bottom: .5rem;
}
.form__errors-list {
	list-style: disc;
	padding-left: 1.2em;
	font-size: .9rem;
}
.form__errors-list li + li { margin-top: .3rem; }
.form__errors-list a {
	color: var(--err);
	text-underline-offset: .18em;
}

/* Mentions d'information RGPD. */
.form__privacy {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--line);
	font-size: .84rem;
	color: var(--steel);
}
.form__privacy-head {
	display: flex;
	align-items: center;
	gap: .45rem;
	margin-bottom: .6rem;
	font-weight: 600;
	color: var(--ink);
}
.form__privacy ul {
	display: grid;
	gap: .4rem;
	padding-left: 1.1em;
	list-style: disc;
}
.form__privacy a { color: var(--fire-d); }
.form__privacy strong { color: var(--ink); }

.field--check label {
	display: flex;
	align-items: flex-start;
	gap: .6rem;
	font-weight: 400;
	font-size: .9rem;
	line-height: 1.5;
	color: var(--steel);
}
.field--check input { margin-top: .2rem; accent-color: var(--fire); }
.field--check a { color: var(--fire); }

/* Champ leurre : invisible pour l'humain, atteignable par un robot. */
.hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form__note {
	display: flex;
	align-items: flex-start;
	gap: .5rem;
	margin-top: 1rem;
	font-size: .84rem;
	color: var(--steel);
}
.form__note .icon { margin-top: .12rem; flex: none; }

.alert {
	margin-top: 1rem;
	padding: .85rem 1rem;
	border-radius: var(--radius);
	font-size: .93rem;
}
.alert--ok {
	background: #edf7f0;
	border: 1px solid #b7dcc3;
	color: #1d6b39;
}
.alert--ko {
	background: var(--fire-wash);
	border: 1px solid var(--fire);
	color: var(--fire-d);
}

.coords { min-width: 0; }

.coords__list {
	display: grid;
	gap: 0;
	border-top: 1px solid var(--line);
}
.coords__list li {
	display: flex;
	gap: .85rem;
	padding-block: 1.05rem;
	border-bottom: 1px solid var(--line);
}
.coords__icon { color: var(--fire); margin-top: .15rem; }
.coords__label {
	display: block;
	font-size: .78rem;
	text-transform: none;
	color: var(--steel);
	margin-bottom: .1rem;
}
.coords__list a {
	font-weight: 600;
	text-decoration: none;
}
.coords__list a:hover { color: var(--fire); }

.mapfacade {
	position: relative;
	margin-top: 1.5rem;
	display: grid;
	place-items: center;
	gap: .75rem;
	aspect-ratio: 4 / 3;
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius);
	background:
		linear-gradient(to right, rgba(27, 33, 39, .04) 1px, transparent 1px) 0 0 / 26px 26px,
		linear-gradient(to bottom, rgba(27, 33, 39, .04) 1px, transparent 1px) 0 0 / 26px 26px;
	text-align: center;
	padding: 1rem;
}
.mapfacade__btn {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: .5rem;
	border: 0;
	background: none;
	font-weight: 600;
	color: var(--fire);
}
.mapfacade__note { font-size: .78rem; color: var(--steel); max-width: 30ch; }
.mapfacade iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: var(--radius);
}

/* ==========================================================================
   17. PIED DE PAGE
   ========================================================================== */
.footer {
	background: var(--ink);
	color: var(--steel-l);
	padding-top: clamp(3rem, 6vw, 4.5rem);
	font-size: .95rem;
}
.footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
	gap: clamp(2rem, 4vw, 3.5rem);
	padding-bottom: 3rem;
}
.footer__brand { color: var(--white); }
.footer__brand img,
.footer__brand svg { max-height: 34px; max-width: 240px; width: auto; }
.footer__brand .logo-text { color: var(--white); }
.footer__baseline { margin-top: .85rem; max-width: 38ch; }
.footer__social {
	display: flex;
	gap: .6rem;
	margin-top: 1.35rem;
}
.footer__social a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--line-inv);
	border-radius: var(--radius);
	transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.footer__social a:hover {
	background: var(--fire);
	border-color: var(--fire);
	color: var(--white);
}

.footer__title {
	font-size: .95rem;
	color: var(--white);
	margin-bottom: 1rem;
}
.footer__col ul { display: grid; gap: .6rem; }
.footer__col a { text-decoration: none; transition: color .18s var(--ease); }
.footer__col a:hover { color: var(--white); }

.footer__contact li {
	display: flex;
	gap: .6rem;
	align-items: flex-start;
}
.footer__contact .icon { color: var(--fire); margin-top: .18rem; }
.footer__urgence a { color: var(--white); font-weight: 600; }

.footer__legal {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	padding-block: 1.5rem;
	border-top: 1px solid var(--line-inv);
	font-size: .85rem;
}
.footer__links {
	display: flex;
	gap: 1.25rem;
	flex-wrap: wrap;
}
.footer__links a,
.footer__links button { text-decoration: none; }
.footer__links a:hover,
.footer__links button:hover { color: var(--white); }
.footer__siret { margin-left: .5rem; }

/* ==========================================================================
   18. SURCOUCHES
   ========================================================================== */
.to-top {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 90;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: var(--radius);
	background: var(--ink);
	color: var(--white);
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: none;
}
.to-top:hover { background: var(--fire); }

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding: clamp(1rem, 4vw, 3rem);
	background: rgba(15, 18, 21, .94);
	animation: fade .2s var(--ease);
}
.lightbox__figure {
	max-width: min(1200px, 100%);
	max-height: 100%;
	text-align: center;
}
.lightbox__figure img {
	max-width: 100%;
	max-height: 78vh;
	width: auto;
	margin-inline: auto;
	border-radius: var(--radius);
}
.lightbox__figure figcaption {
	margin-top: 1rem;
	color: rgba(255, 255, 255, .75);
	font-size: .92rem;
}
.lightbox__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	border: 0;
	background: none;
	color: var(--white);
	padding: .5rem;
}
.lightbox__nav {
	flex: none;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 50%;
	background: none;
	color: var(--white);
	transition: background-color .18s var(--ease);
}
.lightbox__nav:hover { background: rgba(255, 255, 255, .14); }

.consent {
	position: fixed;
	left: 1rem;
	bottom: 1rem;
	z-index: 250;
	max-width: min(420px, calc(100vw - 2rem));
}
.consent__box {
	padding: 1.35rem;
	background: var(--white);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	box-shadow: 0 12px 36px rgba(27, 33, 39, .16);
}
.consent__title { font-size: 1.05rem; margin-bottom: .5rem; }
.consent__text { font-size: .89rem; color: var(--steel); }
.consent__text a { color: var(--fire); }
.consent__actions {
	display: flex;
	gap: .6rem;
	margin-top: 1.1rem;
}

.page-article { padding-block: 1rem; }
.page-article .prose { margin-top: 1.5rem; }

/* ==========================================================================
   19. ADAPTATIONS
   ========================================================================== */
@media (max-width: 1024px) {
	.hero__shell { grid-template-columns: 1fr; }
	.hero__visual { order: -1; max-width: 520px; }
	.hero--cutout .hero__shell { padding-bottom: clamp(1rem, 3vw, 2rem); }
	.hero__img--cutout { max-height: 46vh; margin-bottom: 0; }
	.hero__title { max-width: 22ch; }
	.metier__shell { grid-template-columns: 1fr; }
	.contact { grid-template-columns: 1fr; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
	.navbar__menu,
	.navbar__cta { display: none; }
	.burger { display: flex; }
	.topbar__links a:nth-child(2) { display: none; }
}

@media (max-width: 700px) {
	body { font-size: 1rem; }
	.figures { grid-template-columns: 1fr; }
	.figures__item {
		padding-block: 1.25rem;
		padding-inline: 0;
	}
	.figures__item + .figures__item {
		padding-inline-start: 0;
		border-left: 0;
		border-top: 1px solid var(--line-inv);
	}
	.figures__label { max-width: none; }
	.form__row { grid-template-columns: 1fr; gap: 0; }
	.step { grid-template-columns: 1fr; gap: .5rem; }
	.step__num { font-size: 1.15rem; }
	.appel__inner { flex-direction: column; align-items: flex-start; }
	.appel__actions { width: 100%; }
	.appel__actions .btn { flex: 1; }
	.footer__grid { grid-template-columns: 1fr; }
	.footer__legal { flex-direction: column; }
	.lightbox__nav { position: absolute; bottom: 1.25rem; }
	.lightbox__nav--prev { left: 1.25rem; }
	.lightbox__nav--next { right: 1.25rem; }
	.slide { flex-basis: 88vw; }
	.consent { left: .75rem; right: .75rem; bottom: .75rem; max-width: none; }
	.to-top { right: .85rem; bottom: .85rem; }
}

@media (max-width: 480px) {
	.topbar__zone { display: none; }
	.topbar__inner { justify-content: center; }
	.hero__actions .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   20. IMPRESSION
   ========================================================================== */
@media print {
	.masthead,
	.drawer,
	.to-top,
	.consent,
	.lightbox,
	.carousel__controls,
	.form,
	.announce { display: none !important; }

	body { color: #000; font-size: 11pt; }
	.band--ink,
	.hero,
	.appel,
	.footer {
		background: #fff !important;
		color: #000 !important;
	}
	.band { padding-block: 1.5rem; break-inside: avoid; }
}
